HNHacker News
TopNewBestAskShowJobs

salex89

951 karma · joined September 26, 2014

submissionscomments
salex89··on Serbia surveillance law urgently withdrawn
You're never sure, it's always a drama and thriller with any kind of political decision with the current dictatorship, no matter how minute the decision is. Even though the government has backed off with the law, the explanation mentions "foreign powers preparing a blood bath in Belgrade using the law just as a reason for it, just because they don't want Serbia to prosper". The minister of internal affairs says that people give much more data when "they go to an embassy and squeal for a visa". It's always some mystical powers working against our benefit, good thing we have such a protective government...
salex89··on Women are nearly half of new gun buyers, study finds
From what you are saying, it looks like you also practice drills, at least semi-regularly. I think that is key, no matter the caliber. Hell, even using pepper spray should be exercised once or twice a year.
salex89··on GoDaddy terminates hosting of Texas anti-abortion tip website
I don't get it. GoDaddy has nothing to do with the content. They're not even a messager. One step further and it could be a a supermarket denying food to anti-abortion activists, because there are people not wanting to buy groceries at the same place.

I would go as far as saying that people concerned about GoDaddy providing services to anti-abortion groups don't even deserve a website. I work for for a SaaS, on the shop floor (luckily) and I'm offended that someone is intrested if someone wants to know who else is our client any more than the testimonials show.

And I'm pro-choice.

salex89··on High blood pressure cases double in 30 years
Well, I have an MD in the household. But I get anxious when measuring blood pressure because I'm scared it will be to high. My dad has it, and I'm always afraid I'll get it too. When she ambushes me and measures it when I don't have the time to panic, it is usually fine.

On the other hand, I had a regular blood test several weeks ago, and my blood sugar was borderline high for a fasting period. I just went out and bought a glucometer and tracked it for days later, it was much lower. It just happened on that one reading at the lab. The only explanation is that I was fasting for too long (close to 16 hours) and the lab was not the first thing I went in the morning, I had one more place to visit before. So my body was already fully woken up and/or my liver started doing its thing and produced glucose from fat or whatever.

salex89··on High blood pressure cases double in 30 years
I don't know if this analysis also included changes in what is considered hypertension. They've changed multiple times, every time decreasing the limit. Sure, it would be great to have 110/70 every time, but even for a healthy and young person I find myself borderline.
salex89··on Ask HN: Where can I live off 1k USD per month?
I'm sorry, but as a Serb from Serbia, I cannot agree with the first part of your answer. Belgrade is not a pedestrian friendly city by no means, and you are dependent on cars more then in an average European city. I've spent some time in multiple, smaller and bigger, and those are not features I would associate with Belgrade.
salex89··on Oregon Trail Generation
Sure, technology didn't come to all parts of the world at the same time and/or was not affordable. I was born late 80s in Europe and can relate.
salex89··on Americans Are Keeping Their Cars Longer, as Vehicle Age Hits 12 Years
Not surprising. Compare a car from 1996 and 2008 and today. The 2008. one will have bells and whistles closer to one from today, while the 1996 will look much older comparing to 2008. Also the one from 2008 will have enough electronics and power supply integrated so it can be easily upgraded with a camera or additional sensors. Maybe not lane assist, but a nice infotainment for sure and a multifunction steering wheel just with a YouTube tutorial. Ride comfort is also comparable to 2021.
salex89··on Google Workspace for everyone
Revolutionary.
salex89··on New discovery shows human cells can write RNA sequences into DNA
I'm no molecular biologist and I really don't want to attack the this Dr. Doug guy ad hominem, but he must have taken a hell of a bad career turn to end up selling essential oils over Facebook with such a resume.
salex89··on Baltic airlines reroute flights to avoid Belarus airspace
It has been a joke outside of Russia, also... I share your hope.
salex89··on Ask HN: Are you satisfied with Elixir or do you regret choosing Elixir?
Nice question, I'm just starting with Elixir for a side project. Has anyone else find it to have a steep learning curve? Coming from Java/Scala and Python, I find it harder to wrap around then Scala was years ago. Shortcuts with mix like mix phx actually make it a bit more complicated for me because I'm used to understanding what is exactly happening under the hood.
salex89··on An interview with the man who keeps uploading my feet to WikiFeet
I meant "seem" or "feel". Lost in translation.
salex89··on An interview with the man who keeps uploading my feet to WikiFeet
Haha, not what I expected to find on HN this morning, but I'm glad I did.

Some human quirks are fun. Maybe because this guy doesn't look intimidating.

salex89··on Reflections on IDEA vs VS Code
I've seen this being mentioned in other comments, and besides WSL2, I've used PyCharm (a close relative to IDEA) connected to containers, Vagrant and plain VMs for years. I suppose the rest of the IntelliJ products have the same support, and WSL2 being rolled out, obviously?
salex89··on Before buying a NYT subscription, here's what it'll take to cancel it
General advice when subscribing to NYT is to do it through PayPal. Once you cut them loose from their funding from PayPal, they let you go without hesitation.
salex89··on 'Sexual favours were the norm in music industry'
I actually think this is the most amusing comment I've read on HN. Thanks. Workplaces seem so sterile these days.
salex89··on AirPods Causing Tinnitus (600+ reports since 2019?)
Same here. I think I have it as long as I can remember. At a few points in my life it was slightly "noisier" but I think it was some kind of ear infection (once confirmed) or debris. In a very quiet room I would hear it, and if I investigate online I only get very anxious. It might be related to sinus issues I also have.

But what helped me with those other issues (like itchy ears) is to listen to my doctor (no pun intended) to "forget" I have ears. Only wash the outer most part of the ear and leave it to do it's part. Wax, although unappealing, is nothing bad and is actually protective. I cleanse it with a hydrogen and olive oil spray mixture from the pharmacy every few months.

salex89··on The “Nonplussed” Problem (2011)
Yet decades after it got a new meaning, we can't use "master" as a branch name because it had a different meaning in 1800.
salex89··on Boeing charged with 737 Max fraud conspiracy and agrees to pay over $2.5B
True, but the Neo program was a bargain for Airbus in some ways. The platform lends itself to such improvements.
salex89··on Boeing charged with 737 Max fraud conspiracy and agrees to pay over $2.5B
Considering this isn't a very high percentage of their revenue, it looks unfair. But this is almost the price of the MAX program as a whole (according to Wikipedia). That's not too far of a completely new plane, the Bombardier CS being $7B.
salex89··on How WhatsApp works with other Facebook products
Same in mine, but instead of WhatsApp it is Rakuten Viber, which is massively popular in Eastern Europe. Beats me why, I don't like it that much and don't have a slightest idea about what are they doing with our data. But it became an issue trying to communicate without it. I'm a WhatsApp user from the early days, and I'm still dreaming about a day WhatsApp will be "independent" again.
salex89··on Slack Running Slow / Hanging?
- 1m ago, completely halted. Can't load desktop application, Android app is unresponsive.
salex89··on Things I Didn't Learn in 2020
This is exactly my thoughts. I'm still without children, and over the years I made my own little "cave" from where I can work, although my flat isn't exactly huge.

Some colleagues are not so lucky. Multiple young children, small flats, day-to-day logistics complications, significant others that are essential workers (as my wife, who is working extra shifts since this pandemonium started, and I don't have an idea what would I do if we had a child) or could not work from home... And same goes for business partners or clients. I don't even dare scrutinize them about what they are going through these days. Some of their loved ones may be impacted, or they are having a hard time by themselves, the least they need is me judging them because they have a needy kid.

I remember a couple of years ago I had an interview with a job candidate, online because some other circumstances (FYI he was hired and is a great chap). He was pretty anxious, I can hear and see that, and in the middle of the interview his six-month baby started crying. We could hear the wife trying to calm the baby down and seen him sweating peas. My senior colleague did the best thing at that moment, basically aborting the interview discussion altogether and started talking about children and parenting and so on. We offered the guy to take a break, but the baby calmed down soon enough, so we continued. I remember the relief I've seen when he realized we understand him and that we're on the same page. He became much more relaxed in the rest of the interview.

salex89··on Things I Didn't Learn in 2020
While I don't necessarily disagree, I just don't know any child "developed" enough to comprehend what you are talking about. That's usually between 11-13 months. Try explaining the notion of "working from home" and "zoom conference" and daddy talking to a man in the box to a one year old.
salex89··on Google Maps' Moat Is Evaporating
I'm not sure "much worse", maybe worse, but yet comparable and still useful. Apple Maps, on the other hand... sheesh.
salex89··on Boeing 737 Max Is Cleared by FAA to Resume Flights
MCAS is not there to prevent stalls, it's there to make the MAX fly like the NG.
salex89··on Guido van Rossum joins Microsoft
Hi, nice conversation going here :) . Let me just reiterate on a few points.

3. Correct, I'm referring to azure-storage-blob and azure-mgmt-storage. I'm not concerned with the unmanaged disks so much, which utilize the storage accounts (thank god, we're over that :D ), more with working with regular blobs. From the initialization of the BlobClient to the operations which are sometimes weird in their input parameters, it's not up to par with lets say azure-mgmt-compute.

4. This point is not related to point 3. I'm completely referring to managed data disks, which are first class* entity (like NIC, for example, not a Page Blob any more). Attaching them to an existing VM is a nightmare, and because of some features we do that often. Also they lack basic things like per-disk disaster recovery (but this is way out of the scope of the SDK).

5. Correct, we're doing it by ourself. The LROPoller is also there in other parts of the SDK, we also use (if it's the same poller), but I think we were not able to utilize it. Ny clunky, I meant the response itself sometimes has headers with redundant values, we're not sure which one to use so we just take from experience (if there are two similar) etc. I haven't looked at the docs recently, but the "raw" requests are not documented that well.

* - I did say that managed disks are a first class entity, but we found out the hard way that the managed disks and managed snapshots are actually just in some storage accounts on the backplane, and when something goes South, storage-level errors leak out to our logic :) . Also throttling, thresholds and quotas apply as if it were just another storage account, but even worse, we don't control how the disks are distributed between those backplane storage accounts, so we get funky issues from time to time. We solve them by being extra careful and conservative with some operations, but heh, talking about leaky abstractions. This is not an SDK thing, just wanted to point that out for someone reading.

salex89··on Guido van Rossum joins Microsoft
Hi, didn't expect such an offer, and the original comment is made in a more ranty tone than it should have, but let's try.

Disclaimer: some (or maybe all?) of the things I'm mentioning here might be caused by the API itself, rather than the SDK. The order is in which it comes to mind, rather than importance.

1. Some kind of strongly typed errors. I've turned the SDK upside down, and the only error that seems to pop up 90% of the time is CloudError with CloudError data. So our SaaS application (which utilizes Azure IaaS heavily) has a bunch of regexes that parse the messages contained in CloudError and throw something from our domain. Wrapping SDK errors by the implementing clients is a smart thing to do, but not this way :). Some messages change from time to time, so we try to make our regexes more tolerant, but you get the picture. In general the error handling is very strange, a lot of low-level errors sometimes flowing into high-level calls.

2. Documentation with more examples. The easiest thing to do is sometimes looking at the API or CLI documentation, and try replicating it with the SDK. Parameters named differently etc.

3. For some reason the Storage API/SDK keeps changing and it's like it's from another world than compute and network, which look pretty similar. The storage portion is... wild.

4. Improved working with data disks. Updating the VM with an array of disks has shown bad performance (and Azure support helped us and said that it can't be improved because it's a cross-RM event) but also poor reliability. A separate set of methods to attach/detach disks to VMs would be great.

5. Because we heavily rely on asynchronous operations, what we usually do is make a raw HTTP request for an operation (like VM deployment), serialize it and store it, then after some time deserialize it and check if the operation is done. We do the same with hundreds of requests at the same time, being able to process a lot of cloud operations with not much resources on our side :) . It works, but I found the raw request and serialization is a bit clunky. We're also stuck with a couple of older SDK libraries because we've noticed the raw responses changed in the newer ones, so now we need efforts to find all of the differences and consolidate the serialization. For example, the headers have had multiple urls to check the deployment status, sometimes it's `async-url`, sometimes `location-url` etc. This probably isn't something the SDK is to blame, and this is a niche case, but serializable async responses would be nice :D .

I have to commend the effort to break up the libraries from the original SDK into independent units. The versioning and dependency management became easier than with than one monolithic "4.0.0" schema.

Maybe some of the things are out of scope and our use-case is disproportionately affected by some stuff, it's just my two cents. I'm less satisfied with Azure as a service, with its unreliability, sub-par support, idiosyncrasies and poor "hypervisor" performance, than the SDK, but it's the SDK that gets all the blame because it's the one we're interfacing with.

salex89··on Guido van Rossum joins Microsoft
Start with rewriting the Azure Python SDK.
← PreviousPage 2 of 10Next →