HNHacker News
TopNewBestAskShowJobs

Leherenn

1,266 karma · joined December 27, 2017

submissionscomments
Leherenn··on Portugal brings back tax breaks for foreigners in bid to woo digital nomads
There's a difference though between importing talent to work for the local economy and having people who work for foreign companies. Maybe some digital nomads transition from the latter to the former, but given local wages it must be rare.

Then it's a tradeoff between whether the extra tax revenue/spending is worth the potential social issues those rich foreigners can bring.

Leherenn··on FDA warns top U.S. bakery not to claim foods contain allergens when they don't
I checked the couple of bread products (from Migros) I have at home, and they all say "may contain sesame"? Maybe that's not a representative sample though.

I'm not sure what the difference is, except the US goes one step further and asks "please don't say it may have an allergen if you don't have to". It results in products definitely having the allergen, but is "may contain" any better than "definitely contains"?

Leherenn··on Tesla Releases Results of 2024 Annual Meeting of Stockholders
If you believe a significant amount of the stock value is due to Elon himself, and he's likely to leave the company if the stocks were not awarded it can make sense. So basically if current value - stock award > value without Elon.
Leherenn··on Uganda's surveillance state is built on national ID cards
In Switzerland it's mostly about taxes, the tax rates change based on the canton and town, often widely so. It's also about voting rights, but it's much less a concern.

I think in countries where the majority of tax receipts come from income tax, they care a lot more about where you live than in countries like the US (and Australia apparently?) where they rely more in property taxes.

Leherenn··on We went solar and here are the real numbers (2021)
Not to say they don't use a lot of AC/energy, but Singapore's per capita numbers are a bit biased by the 300k+ daily commuters from Malaysia.
Leherenn··on Uganda's surveillance state is built on national ID cards
Not the EU, but in Switzerland, you need to be registered in the place you live primarily. If you move to a different town, you have two weeks to deregister at the old one and re-register at the new.

To prove you live, you would do it the same way as in the US/UK if I understand correctly, with whatever evidence you have. Rental contract in your name, utility bill, property deed, ... If you live with your parents and don't have anything in your name, they need to write a signed attestation you live there. And so on. It's not uncommon for the police to knock on your door and check if you actually live where you claim to if they have a doubt.

Leherenn··on Don't DRY Your Code Prematurely
Isn't leftpad the natural conclusion of DRY? Everything is a unique, small, contained and tested library that other code can depend on instead of reimplementing it? The ultimate one source of truth, where if it breaks half the internet breaks.
Leherenn··on Swipos-GIS/GEO, nationwide GNSS RTK correction for centimeter accurate location
It's been running since 2016 at least in Switzerland, I was using it back then. And well, nothing is cheap in Switzerland. :)
Leherenn··on Swipos-GIS/GEO, nationwide GNSS RTK correction for centimeter accurate location
The traditional use case was for surveyors to use it. In that regard it's pretty cheap.
Leherenn··on I'm puzzled how anyone trusts ChatGPT for code
Copilot likes to swallow my } in C++ for some reasons. E.g. if you generate a new function at the end of a namespace block, it will usually use the bracket of the namespace block at the terminator of the function, leaving you one short.
Leherenn··on The C++ Iceberg
It certainly got better, but it's still not trivial. With the sanitizers, you need to have code that actually triggers the UB, coverage is not enough. If your UTF-8 parsing code UB only on some very specific input, then unless your tests or own environment happen to have this input, you'll be none the wiser.

Fuzz testing helps, but it's not commonly used in my experience.

Leherenn··on Can turning office towers into apartments save downtowns?
It feels hard to avoid. You need scale to make the project viable: a single small redevelopment in a run down area is unappealing, but if you do the whole block, that's a different story.

There are probably more opportunities after the initial redevelopment for smaller scale additions.

Leherenn··on Cardio fitness is a strong, consistent predictor of morbidity and mortality
I think the oft missed bit about zone 2 is that the goal is to increase volume. If you simply reduce intensity without increasing volume, you'll get worse, not better.

If you only run 30 minutes once a week, you won't see as many gains if you do it in zone 2 than zone 3/4. But you also can't run 10h/w zone 4/5, so that's where the zone 2 comes into play. It allows to increase volume without increasing fatigue/risk of injury too much.

Leherenn··on Woodworking as an escape from the absurdity of software
I miss working in robotics, in part due to this. Also implenting a complex path algorithm is so much more rewarding than moving data around. The field testing trips were the cherry on top.
Leherenn··on The only two log levels you need are INFO and ERROR
Sadly, my experience has been that this is way too expensive, so you have to decide.

These days, something like 90% of the issues I to have to deal with observability are cost related. "You can't have that amount of cardinalities.", "Do you really need this metric?", "We've decided to turn off all logs in dev envs, they are too expensive.", ...

Leherenn··on Amazon owes $525M in cloud-storage patent fight, US jury says
I was mostly thinking in the case of overlapping research as mentioned in the parent comment, not independent research years after the publication (where indeed it sounds impossible to prove you didn't read it).

Basically, if you could show that you had already made significant progress before the publication date, then you might be granted the patent as well.

Leherenn··on Amazon owes $525M in cloud-storage patent fight, US jury says
It feels like you could overcome this by awarding a patent to both, if they can prove the research was independent?
Leherenn··on C++ Safety, in Context
I am not sure. C++ is a tool. I use what my company and companies in my domain use. I wouldn't mind using Rust, but there's just very little momentum. So meanwhile I do my best with what we have.

Personally, I care more about what I do than which tool I am using.

Leherenn··on Via ferratas are finally catching on in the United States
It's also very hard/impossible to climb back up depending on where you fall. It often requires an helicopter to get you out.
Leherenn··on High Interest Savings Leaderboard
Switzerland has lower inflation, a lower reference rate (1.75%) and an appreciating currency. Over the past year, you would have still been better off putting your CHF in a 1% account than to transfer to USD, put in a 5.5% account and transfer back, even ignoring fees.

There are also a couple of places offering around 1.5% fwiw.

Leherenn··on Hi everyone yes, I left OpenAI yesterday
If only something like that was available on Android. I cannot dictate messages as my phone is in English, but most of my messages are in German or French. Or it's almost impossible to search for a non-English song when driving.

Multi languages would be so useful for me.

Leherenn··on Japan will no longer require floppy disks for submitting some official documents
Thanks. It looks like a trade-off between bureaucracy/monitoring and ease of fraud. I guess that's why the US seems to rely a lot more on property taxes than other countries, harder to evade.
Leherenn··on Japan will no longer require floppy disks for submitting some official documents
How does it work with taxation? As far as I know, states and cities have various tax rates, so how do they know who is supposed to tax you?

It's often one of the main reasons why they ask you to register in other countries.

Leherenn··on Why Zig When There Is Already C++, D, and Rust?
You allocate a big enough buffer, and copy the strings in the buffer, same as in C.
Leherenn··on Thousands of small businesses are struggling because of R&D amortization
You have a mandatory deduction on your salary (2.2%, a bit less effectively if you make over 150k). You need to have contributed for at least a year in the past 2 years before you're eligible.

You get 70% of your salary (or 80% if you have children under 25) for two years, capped at 70% (or 80%) of 150k.

There are a lot more exceptions, special cases and so on, but that's the gist of it.

Leherenn··on Japan's airport control towers stop using 'No.1' instruction for plane takeoffs
That's not true, you can use the local language as well. What is required is to answer in English if prompted in English.

Though nowadays most major airports probably are English only, it wasn't so long ago that pilots were complaining that most of the traffic at CDG was in French for instance.

For what it's worth, I believe Japan is very strict in the English only however.

Leherenn··on Google lays off hundreds working on its voice-activated assistant
I think you have a bit of a rosy view here. It works, but there are serious downsides.

Salaries are low, unemployment was high for a long time (and still is, especially for the youth), companies make massive use of contractors (via big consulting companies) and getting a permanent contract is very difficult (without which getting a mortgage is pretty much impossible).

Once you have your permanent contract, it's fine, but for newcomers to the job market, it's hell.

Leherenn··on How Gyms Make Money (2015)
What's the trap exactly? Some upsell I presume?

The gym I go to (part of a national chain where I live) also do it, but it sounds well meant. There's only one subscription anyway (a yearly one) and no extra (unless you want to buy a towel or something).

Leherenn··on How Japan Airlines crew led 367 passengers to safety from a burning plane
Could it be that a significant portion of the passengers were evacuated quickly, but the last few might have taken a while? I assume someone with reduced mobility/requiring a wheelchair will take a while to evacuate. And if there are more of them than flight attendants, I wouldn't be surprised if it takes that long.
Leherenn··on How Africans are changing French, one joke, rap and book at a time
Well, maybe he was an asshole, but in his defence articles are much less optional in French than in English, thus you don't expect it standalone. It basically becomes one word in your consciousness. A bit like if someone asks you for "ater". And when you finally understand, you feel really stupid, because yes ultimately it was just missing a useless article, but it just didn't click.
← PreviousPage 4 of 26Next →