HNHacker News
TopNewBestAskShowJobs

Leherenn

1,266 karma · joined December 27, 2017

submissionscomments
Leherenn··on Layoffs push down scores on Glassdoor – how companies respond
Would it? My understanding is that it's illegal to discriminate against people older than 40, not age in general. Maximum age would be illegal, but minimum sounds fine as long as it is below 40.

Various political offices have an age requirement, like 35 for the president. Not sure how relevant it is though.

Leherenn··on JavaScript import maps are now supported cross-browser
Also, you would need as many roundtrips as your dependency depth, no? No matter how parallel it is.
Leherenn··on U.S. regulator set to take over First Republic
I'm not even American mate. I was just interested in the statistics and looked it up online (maybe poorly) and posted it here since I assumed others would be. I didn't even comment whether this was good or bad! Do you have the numbers you talk about?
Leherenn··on U.S. regulator set to take over First Republic
"In 2020, the bottom half of taxpayers earned 10.2 percent of total AGI and paid 2.3 percent of all federal individual income taxes. The top 1 percent earned 22.2 percent of total AGI and paid 42.3 percent of all federal income taxes." According to https://taxfoundation.org/publications/latest-federal-income....
Leherenn··on UK Blocks Microsoft’s $69B Activision Deal
What would they have to do if they were to decide that the deal is more important than the UK?

- merge everywhere else but the UK (presumably that would mean spinning off/closing one of Microsoft or Activision UK branch). I guess that wouldn't be enough?

- both companies have to pull off of the UK?

Leherenn··on Career advice no one gave me: Give a lot of notice when you quit
Does that mean that any contracted work is indentured servitude? That sounds really broad. If I hire you to build a website, and you bail out halfway through and the liquidated damage clause kicks in, I don't think that makes you my indentured servant.

I was most likely confusing with "financial penalties", mostly it means not paying you after you stop working, and in some specific circumstances you can sue for damages. They can't fine you.

Leherenn··on Career advice no one gave me: Give a lot of notice when you quit
It's only 3 months if you've worked for over 10 years at the same place (or you have a different contractual agreement of course). Otherwise it's a week during the probation period (usually 3 to 6 months), 1 month the first year and 2 months between 2 and 10 years.

Also it's symmetrical. Switzerland is "at will" (in the sense that they can lay you off at any time for any reason), but they have to follow the same notice period. In essence this is mandatory minimum severance.

Leherenn··on Career advice no one gave me: Give a lot of notice when you quit
I have never understood this "slavery" argument. It's not enslavement, it's fulfilling a contract. They won't put you in jail if you don't show up, you're simply in breach of contract.

It's like if you're a freelance and you accept a project. They can't force you to work on the project until completed, but they can certainly levy financial penalties against you if you don't.

Leherenn··on He who submits a resume has already lost
Isn't there some healthy middle ground? I find some domains more interesting than others, I prefer some technical aspects over others. Some projects make more sense to me, or at least make me feel better.

Not enough to start my own company, but enough that the options leaning towards those will have the nod. You can be engaged without dedicating your life to it.

Leherenn··on Disambiguating Arm, Arm ARM, ARMv9, ARM9, ARM64, AArch64, A64, A78, ...
Most modern OSes (recent MacOs excluded) are 64-bit, but can run both 32 and 64-bit programs.

When such OSes run a 64-bit program, they are in 64-bit execution state and when they run a 32-bit program, in 32-bit execution state. Basically, the processor switches execution state depending on what is being run, and in a way "emulates" a 32-bit processor by restricting registers and so on to be compatible with the 32-bit arch.

Leherenn··on A spellchecker used to be a major feat of software engineering (2008)
It's still pretty bad in some fairly common languages like French. For instance "'" really trips spellchecker, as well as some tense (subjunctive). For instance "que je n'embête".
Leherenn··on A runner who leads every pack and then vanishes
It might also be about recovery. Running a full is tiring and they might be expected to run another race soon.
Leherenn··on Prisma laying off 28% staff
Job security might be a good thing at the individual level, but imo it's pretty awful at the system level. It promotes inefficiencies. It's much better to have a liquid employment market with a solid social net instead.

Switzerland does it pretty well. Employment is at will (in that employers can fire anyone without a justification), but health insurance is mostly not tied to employment, and you get 70% of your salary for up to two years. Compare to say France, where short term contracts are very common and other shitty employment practices abounds because employers are scared to commit.

Leherenn··on Idris: A language for type-driven development
While the concept is neat, I struggle a bit to see how it can be useful in practice. Do you have an example for the sufficiently constrained case? That sounds like the most interesting case by far.
Leherenn··on Ask HN: We found a cracked version of our software on the web, now what?
2 of the companies I have worked for were pirating software, a 100+ employees one and a <10 one. All in a rich European country. One got even caught for it.

Usually, the "main" users had a valid license, but there were cracks floating around for the people that used the software a couple times a year. We're talking a about stuff costing thousands here. This was, if not approved, certainly turned a blind eye by management.

Leherenn··on The UK is wasting a lot of wind power
Usually the problem with this kind of thing, is that the initial capex requirements are high, and it's just not profitable given how rarely it happens.
Leherenn··on Reverse engineering yet another eBook format
You can however still download and use an older version of the kindle program (at least on windows), which download the files with the old DRM scheme.

It's one by one though.

Leherenn··on Are super-rich people just better at making money?
Well, you asked how it worked, not whether it was effective at fighting inequality.

My understanding is that it's not very effective, because any foreign-held asset is pretty much hidden from Switzerland, unless there's an agreement with the country for this kind of information.

Leherenn··on Are super-rich people just better at making money?
You declare all the assets you own* in your tax declaration (bank accounts, properties, art, cars, equity, ...), even if abroad. You also declare your debts. I don't know how they enforce/check that, especially for foreign-based assets though.

* except for household and personal common usage goods

Leherenn··on What's New in Bazel 6.0
We use Bazel at work for C++, and while defining targets and dependency is easy, I've really struggled with some stuff I would consider basic, like conditionally changing build flags, especially to external dependencies.

Basically, I wanted to conditionally use sanitizers for a specific target and propagate the sanitizers compiler/linker flags to the whole dependency tree. For code you own, from what I could find, you need to duplicate each target and each dependency (and their own dependencies) for each possible sanitizer and then select the right one. And for external dependencies, you need to use "Aspects", if I understood correctly, to modify the build dependency graph and inject your flags. There's a question on stackoverflow about it, but the answer is very high level (presumably by a Bazel dev), and unfortunately I didn't have time to dig it further and just abandoned.

I also had a lot of issues on an ARM Mac, including the linker issue that is apparently fixed (hooray) and recurrent crashes.

Given we do not use any of best features of Bazel (remote/distributed compilation, multiple languages, and caching (because we basically spawn a new docker container for each build)), I think CMake would have made more sense.

Leherenn··on Plaid Layoffs
Plaid doesn't pay dividends and his salary is most likely peanuts compared to his shares in the company, whose valuation just tanked.
Leherenn··on Human Chess is a chess variant where playing the top engine move is forbidden
It's called a stalemate, and results in a draw.
Leherenn··on Always use [closed, open) intervals
Both forms are valid according to ISO 31-11. Your form is often called the "French notation" and I assume used more commonly in France and countries with French influences.
Leherenn··on Is it time to retire the .gb top level domain?
The reasoning is that UK is still not actually correct (though more correct) because the Olympic committee also oversees places like the Isle of Man, the Channel Islands and so on which are not technically part of the UK. Then it seems they keep it because of tradition and because the country code is GBR.
Leherenn··on Is it time to retire the .gb top level domain?
They don't at the Olympics.
Leherenn··on Improving code review time
Reviewing the sed isn't going to help you spot the instance that shouldn't have been replaced or the missing substitution.
Leherenn··on Musk’s first email to Twitter staff ends remote work
Are there any restrictions on timing your quitting so that it damages your employer as much as possible? Like, I don't know, a senior sale person quitting 2 minutes into a meeting to sign a massive contract, the company lawyer quitting 5 minutes before representing the company in a trial, or somesuch.
Leherenn··on Swarm – Low cost, global satellite connectivity for IoT
I don't think the general use case is once per minute though, more like once per hour unless something goes wrong. Something like ensure pipeline pressure is still nominal for remote parts of the pipeline.
Leherenn··on The pool of talented C++ developers is running dry
In embedded you sell hardware, with web you sell software. Software scales a lot more than hardware, thus more revenues per employee.
Leherenn··on Protobuf-ES: Protocol Buffers TypeScript/JavaScript runtime
I guess it depends in which domain you work? In system programming, "clock_gettime" gives you nanoseconds. If you work with GPS timestamps, you have nanoseconds.

Could it be that JS's Date doesn't support nanoseconds because it cannot represent them, which is the issue we are talking about here?

Don't get me wrong, I understand this is not something that everyone uses every day, but to me it's a pretty straightforward example that can happen in a wide range of situations. It certainly happened to me/colleagues several times in several companies.

← PreviousPage 6 of 26Next →