skysight-inc/HackerNews huggingface dataset:
In summary, they pulled the classic gig economy move: Telling your employees that they now have the "opportunity" to "set their own hours" and "maximize their income". Meaning "Your benefits are gone" and "Your labor protections are history". Complete with the most thinly veiled threat possible: That "refusal would make it difficult to renew your contract".

After the Twitter backlash, they came back with a blog post (https://www.e-food.gr/blog/efood-riders-announcement/). It's six paragraphs of generic corporate speak, and the only meaningful part in it is that "They regret the miscommunication, the announcement was in no way threatening or meant to create an atmosphere of unease among our delivery drivers, it was only an option for a new way of collaborating with us". This only intensified the backlash, since the threatening tone of their initial announcement is crystal clear to any speakers of the Greek language without mental deficiencies.
> What value is Windows adding here?

Windows is mostly the default; if you buy a computer it comes with Windows, if your employer gives you a computer it comes with Windows and with some employers you aren't even allowed to replace the OS, so having compatibility with Linux (and Android?) is a plus for devs.

Another advantage is that the drivers for Linux might not yet exist or be stable, while the proprietary Windows drivers probably exist and work.
>The challenge with exceptions is there is zero indication at the call site that a function can throw.

Swift has that. Calling a potentially throwing function requires that you put "try" in front of it.

The downside is that you don't know what it throws (similar to Rust functions returning dyn Error)
Do you mean RAII and rust’s ownership model? It still has very similar tradeoffs to manual memory management, they are just much less error prone.

But the fundamental thing is that you still have to think about memory, memory layout will have to be considered during refactors, etc.
Powershell has the same functionality in Convert-FromString
In an ideal world where everyone got vaccinated it wouldn't really matter, since universal vaccination at any of these rates would have stopped the virus from reproducing. Especially at the beginning, when vaccines were scarce and it was hoped that everyone would get one it made sense to get whichever one you could get your hands on. Now that it's clear that ~40% of the population never will and they can't even pay people to get them, yes it makes no sense to get the worse one.
I’m very excited too and look forward to the launch, but given its history I’d be careful about using the present tense to describe it.

They’re not even past the pirates yet!
Hrm, not the OP but, personally, it depends.

If you’re using a language without algebraic data types, you’d have to ask whether it’s perfectly normal for a record not to be found by ID at that point.

If it’s unusual, you should probably just throw the exception at that point because:

1. You check null and throw anyway, which gives you a stack trace just a little off the mark. That isn’t too bad but it’s more code for little gain.

2. There’s every chance you could forget to handle the null (It’s not the nil, it’s my discipline, I know, but it happens, we’ve all been there) and then you get a null pointer exception at some point later on in the flow, which is like the above but even worse.

If you’re using algebraic data types, you wouldn’t use an optional. There are a number of ways a DB look up can fail so Optional isn’t really ideal at all. Your suggestion of Either/Result is probably the ideal there.

Chances that you expect an explicit DB look up by ID to return nothing is pretty rare. Where has the program or client code got that ID from in the first place? Either you want to know about the error in your own code or you want the client code to know the error so you probably want some form of exception or Either.

In the rare case it is intended behaviour, yeah you could use null and push the responsibility for handling it to the calling code. Still, at that point, 2 kicks in - might be fine now but that assumption could easily change as the code evolves, which it can and often does.

You could argue you can implement something like Optional in, say, Java w/o algebraic data types but they are simply not ergonomic when the language does not help you use them.

But I don’t think you can hold up a single approach and say that’s the ideal. I doubt it was your intention but it’s rather dogmatic and doesn’t really play out nicely in real world code, especially legacy projects (not everything is written in Haskell|Rust).
GraphQL vs. Rest yet Another Comparison
Who gives Fahrenheit in the UK!?
Ask HN: Is it possible to be an early investor in asteroid mining yet?
I would really love to invest in that, and I feel spaceX might be the company. And to invest in it, only way is to invest in Google/Alphabet.

But are there other options?
Show HN: Random links − Sharing bookmarks instead of keeping them for myself
So you admit it was a small agency, in other words, next time stick with a Hertz, Avis, National, Alamo, etc. In any case you got a car after 2 hours. I'm not denying it sucks, especially with a family, but it happens. Ever had a flight delayed for 2 hours? Happens all the time.
History. Human nature. The state as leviathan. Sometimes causation is correlated.

When nukes came into play, the consequences of violating the peace became too much for any sane state to countenance. The US used nuclear superiority to take on the role of global leviathan.

Despite missteps, it used its monopoly on violence as a very big stick that's allowed for a very lengthy peace. If certain idiot regimes keep playing stupid games, we're going to see what happens when the nuclear stick gets used, unfortunately. That might ensure a century or so of peace, if everything doesn't die.
Haha yes, "a modern zombocom" may have been a bit click-baity upon reflection. I mostly thought it would be funny to make those creepy pitch-shifted voices say something as silly as "tickle tockle" over and over :-)
Jesus Christ. This is one of those articles that just repeats the same piece of information no less than 4 times! Plus I’ve already read the headline here on HN
It was always like that since the Windows days, Office drove the next UI improvements which would later appear as Windows common controls.

The current UI chaos is because the Windows team has become mostly the Cloud team, while the UI frameworks seem to keep rotating new people every couple of years.

They had to literally restaff WinForms and WPF teams from scratch, and then merged them with WinUI/UWP!
This is the story you mention, I believe...

https://www.rnz.co.nz/national/programmes/afternoons/audio/2...
Is there so much demand in the US that it will impact global wages? I'm not sure.

As a foreigner is not in my interest but I do wonder if, just for the sake of coherence, shouldn't the import of labor be taxated in the same way goods are taxated.
Sounds to me more like a failure of upper management. The CEO at least should have realized that such a change needed buy-in from everyone and creating that "digital business unit" was going to achieve the opposite.
LXSS is actually the name used in one of the kernel drivers and various other components. WSL is just the user-facing name.
Online food delivery platforms in Greece will follow the same course as their global counterparts (Uber eats, Grubhub, Doordash). Slow death. Now they try to reduce their labor costs by stretching the limits of the law, so that they survive a little longer.

This was never a profitable business model. I don't understand how so many VC's fell for a supply chain concept that a first year Operations Research student would had figured out that is so inefficient that is not worth pursuing.

Edit: Except if their goal was to become a monopoly and then charge whatever they want for deliveries.
The founder organized capital more productively than it sitting earning 3% is thus able to command a large ownership level.
Slackware 2.0 major milestone was having ELF instead of classical a.out.
Another interesting thing I learned was beer cocktails. For example in the mid-west there is a cocktail called Red Beer, which is beer mixed with tomato juice. I understand that it is basically a bloody mary made with beer instead of vodka. I read that many people drink it as a breakfast meal before work.

When you mix small amounts of alcohol in a high ball glass with other ingredients, it becomes even more healthier. You get the slight relaxation plus nutriants and taste.
My Western Digital IDE CD-ROM and Trident graphics card weren't so happy with Slackware 2.0.
And if the array is heap allocated.
They do, but for small scale projects like satellites we tend to push con-coat until we have a good confidence the unit is working. Removing conformal coating to replace a failed component or change a resistor can be quite tricky, especially for epoxy based coatings. So there is a long time without any coating (up to spacecraft assembly).
Is a fictional lie really a lie? After all, it’s not intended to be taken as true in the first place.
Pyan: Static call graph generator. The official Python 3 version
Prime Minister Zoom Bombs Opposition Video Call to Warn Them Spies Are Watching
does C# support sum types? GP was talking about C# specifically.

Agree with your analysis though: it's essentially a partial function, so the range (codomain) of the function includes "no defined output for the specified input". It's therefore not a bug to return "not found". An algebraic datatype like Either/Optional/Result allows that to be encoded in the type system, and so provides explicit support syntactically and semantically for handling the situation.

I don't think C# supports sum types (though may well be wrong there, not so close to the language). Assuming not, the question is how to achieve the desired outcomes. Those might reasonably be one or more of:

* minimise the risk of null de-reference

* maintain performance

* be idiomatic

* be understandable

* be explicit

If (and it's a big if) the only language options are nulls and exceptions, there's not a clear winner there. So exploring the tradeoffs does seem like a reasonable discussion.
The catch is that unmedicated ADHD outcomes aren't good.

I worked with the same group of students for a 2.5 year period of pre-K and kindergarten. Low self esteem, anxiety and depression and to a less extent conduct disorder were plain to see in the majority of the low executive function students by the end of Kindergarten. I saw these negative outcomes develop as a direct consequence of difficulty managing behavior in class and keeping up with peers.

Particularly for kids with combined inattentive hyperactive ADHD symptoms it's nearly impossible for them to get through the day while keeping up academically AND keeping their behavior inside the realm of "acceptable classroom behavior". Lacking a robust support system for students with extra needs (think an additional teacher or teaching assistant in classroom at all times) there is a very finite limit to how much you can assist without creating issues for the progress of the class as a whole.

The reason that I am careful to use low executive function (EF) as the label at this age is that even for experts in this area it's incredibly difficult to predict who will "grow out" of their lower than average EF issues and who plateaus with maturity.

I think the current consensus that diagnosis and especially medication for ADHD is too difficult prior to 6 or 7 is correct. I've seen too many students have seeming miraculous gains in EF and catch up with peers in a matter of weeks to think that preschool is the appropriate time to diagnose and treat ADHD.

The students who continue to lag behind in EF are substantially behind in basic grade level knowledge when they set foot in primary school. The amount of catch up they have to do is substantial even for neurotypical students by time that a formal diagnosis and medication is an option.

Now add in the fact that a large portion of the parents of ADHD kids have a parent with ADHD or less than average EF skills. They are less able than most to give their children the extra out of classroom help they need.

Getting kids on medication ASAP once a diagnosis is confirmed and a well tolerated treatment is found is a no brainer. By the time that this comes into play you are already in educational triage. We're talking about 1st graders that can't read simple consonant vowel consonant words in some cases.

The obvious solution is putting in a low EF safety net in pre-k and kindergarten. Extra teachers in classrooms, extra help with literacy. Making sure all parents are aware that their child is has an elevated risk for ADHD diagnosis later down the road, so they can familiarize themself with the diagnosis and treatment options-- and more importantly so that people are assessing and testing to see if they catch up in EF function.
I've not heard of that film before, but as a sailor the plot reads like my worst nightmares.
Older people when it’s too hot e.g “it’s gonna be 80 degrees outside today”

Newspapers do it too apparently:

https://www.theguardian.com/media/greenslade/2014/dec/29/new...
I also see some locking positions which probably would require active rotation of the supporting gears in their brackets.
Erlang is a good example of a per “thread” GC (erlangs unit of concurrency is the process). When one GC triggers, it doesn’t pause the rest of the program.

Not sure if you can disable the GC entirely, but you can set the initial heap high enough that it won’t trigger for the lifetime of the process.
Headscale dev here.

Companies looking into this will pay Tailscale.com service. You really need commercial support if you plan a large enterprise deployment. Tailscale even now offers a self-hosted version of their service - for those with concerns about using the public SaaS.
They were given 10 billion to design/build 30 ships. They spent 30-40 billion and got 3 ship that can barely float. Only in the US.
Except Kant doesn't use "Verbal Fog".
There's the old saying "absence of evidence is not evidence of absence".
I've been wondering about this ever since I read the article - does coming from a different cultural background that doesn't use SI make it harder or more complicated for scientists and researchers to do their work, having to often deal with units of measurement they don't see in their regular lives?

I always find it difficult to follow cooking recipes from the US or tutorials DIY projects (where even screws are completely different!).

But it's not something I do on the regular so I just can't imagine.
Ideally the language (or atleast the sound format produced) should be runnable in javascript in the browser. Or maybe it has no intermediary sound format?
> The gist is that NixOS has some weird dependency management that overrides Home Assistant's

In other words, NixOS does what every other distro do and package every dependency required to run the application beforehand. HA devs appear to be claiming in almost every single one of the linked discussions that the Nix package is broken, but I can't find them pointing to any concrete evidence or specifics. I doubt they have any, because they can't have tried it out in a matter of few hours.

> And NixOS is not done repackaging HA

HA devs appears to be making a whole point out of this too, but it's quite overblown considering that the example being listed is a dependency that was introduced only days prior [1].

> HA doesn't want to support that and was pretty clear about it.

Did you see the Nix devs' proposal early on about requiring users to set the option `config.ambee.acceptThatThisPackageIsNotSupportedByUpstreamDevelopersAndIWillGoToNixpkgsToReportAnyIssues = true` [2] in order to be able to use the package? That was met with immediate hostility from HA devs.

> Then this Jorg person got all up in arms and threw a hiss fit all over the internet and everybody got tense.

That's likely not the impression people get from looking at any of the mentioned links, which is presumably why the prior HN thread mentioned in GP seems to have blown up. If anything, it makes me think twice about using HA myself because I fear this is the standard response I'd get from HA devs if I ever dare file an issue.

[1]: https://github.com/NixOS/nixpkgs/pull/126319#issuecomment-86...

[2]: https://github.com/NixOS/nixpkgs/pull/126326#issuecomment-86...
I wonder if they left out a few words. The Windows subsystem for using audio. The Windows subsystem for using graphics. The Windows subsystem for using modems. (I made those up…I think)
I have been waiting for the audio equivalent to svg for pictures for an eternity now, why has nobody made a synth sound addition to midi?
They are free to quit and find other jobs aren’t they?
It's probably a nice read. Sadly the UI is unusable for me. It keeps jumping around between pages as I try to pan around to read :(

edit: there is download pdf option
On Building Glue Systems
> USSR has collapsed when I was 7, but I was still brainwashed enough that I remember asking my parents about the English Premier League - how come they have soccer in England?

Uhuh. So in 1991 you asked about an institution that wasn't created until 1992, because you believed it couldn't exist under capitalism even though it's actually explicitly a capitalist endeavour to make the richest clubs in English soccer even richer?

I would say that most likely you should watch less Tucker Carlson, or at least be mindful of the fact that Tucker gets paid millions of dollars per year to make you "genuinely afraid of cultural garbage".

However maybe this is a good time to explain the Football Pyramid for both imaginary Russian seven year olds and HN readers instead.

In the US system major sports leagues are purely business, no matter how terrible the Yankees are they will continue to play every year so long as it makes economic sense. The outcome of games isn't rigged (usually) but no matter how terrible you are at whichever sport, your "punishment" is typically just better chance to win next year.

In England football teams are arranged into a Pyramid of leagues. In principle over years of failure/ success, Liverpool FC, an internationally renowned team could swap places with Kingsley United, a bunch of amateurs from the Liverpool area. Each year, up to three worst performing Premier League team can be "relegated" to the league below, the Championship, and up to three of the best Championship teams are "promoted" to the Premier League, while the same happens in the Championship, League One, League Two, then the National League, and after that there are regional leagues, with promotions or relegations being regional right down until we reach the likes of Kingsley United.

The creation of the Premier League all those years ago, and a more recent attempt to do the same at a European level, is because very wealthy clubs envy the US system. In England you're only ever one bad season away from relegation, and relegation means much less money coming into your club from fans (local "true" fans may stay, but who supports an obscure Division Two team from across the globe the way people support Manchester United?) and from TV rights (the Premier League rights sell for a lot of money, the Championship is much cheaper, and most other games are not televised). More tiers means fewer slices of the cake, more money for the very top clubs which they can spend ensuring they stay there (e.g. buying star players for eye-watering sums of money). The relatively recently abandoned "European Super League" was intended to be even more like the US system by not having relegation. So some of its clubs might have been awful but too bad, they're staying, and gathering the resulting cash, forever. Blergh.
They bring additional stress.

These people are in the business of making money, which means growth at all costs and at a huge ROI, especially since insane valuations and going public is creating crazy returns for investors.
Beer fasts. I'd love to try it.

https://www.yahoo.com/lifestyle/man-commits-beer-fast-lent-l...

I couldn't find any controlled studies offhand.
It is indeed difficult/impossible to define precisely, but GDP and GDP per capita is a good start
As an European taxpayer, I'm certainly concerned that resources are wasted. OTOH, Putin has time and again proved that he's a belligerent crook entirely willing to expand his territory any time his neighbors show weakness. Much as I wish it were different, Europe must be able to mount a credible defense, with or without the USA.
The ships float fine. There's a sort of internet forum meme about them having poor seakeeping due to the unusual tumblehome hull. That's 100% imagined by forum warriors. The boats have remarkable stability and superior seakeeping. That's not the problem with them at all. The problem with them is they they were designed for a mission that was boneheaded from the beginning, and that costs ballooned tremendously to build them.

The Navy's plan for them now is to convert them into missile boats for the new hypersonic missiles, if/when those are ready, so they main end up being somewhat useful eventually. But again, you'd not want to spend money the way we had to get to this result if you had some way to rewind the errors.
> Now they try to reduce their labor costs by stretching the limits of the law

Why would you say they are stretching the limits of the law? My understanding is that they had no obligation to renew those 3-month contracts.

> Except if their goal was to become a monopoly and then charge whatever they want for deliveries.

Even if that's the case (highly probable), it would still be a huge improvement compared to the pre-efood era when lots of delivery riders would not be paid on time, work (illegally) with no insurance/pension, sometimes even get humiliated by terrible bosses.
Indeed, however for me personally being a merc is much more enjoyable, specially because each project is a different stack, so it easier to change than being labeled "X Developer".

Plus thanks to those political games there are lots of soft skills to learn as well.
not ballistic, but:

In 2015 the United States planned to procure 7,474 rounds with a FY2015 total program cost of US$1.9341 billion at an average cost of US$258,777 per unit.[6] By 2016, unit costs were reduced to US$68,000 per round

https://en.m.wikipedia.org/wiki/M982_Excalibur
This is why the average person should have choice what to eventually believe (if anything). Mandating a belief, like what we generally see today, is harmful.
> That’s called cruise missiles

There's also the class of "Loitering munition", which was used to great effect in the 2020 Nagorno-Karabakh war.

https://www.brookings.edu/techstream/loitering-munitions-pre...
I am very happy to see this, although it has many other characteristics that must be considered as a building material (such as durability, I don’t want to paint the wall once a week)
If you work for the oil industry, by all means give up.
Two UK energy suppliers collapse amid record surge in prices
this is something I'd pay to be addressed in most companies / institutions.

Every tool they buy (physical or digital) is always 60% fit, but adding a few bits on top would propel it above 80% and make everybody's days a bliss.

Most applications I've seen are designed for generic tasks, except that workers have a very regular set of tasks, if software could be tailored a bit to this (prefill stuff, save clicks) you cut fatigue and errors buy a huge figure.

This can have a serious social impact, last gig there were thousands of lawsuits waiting in a hall because nobody wants to type them in since the software requires to rewrite everything from scratch even if 80% of the data is identical.
Resonates. I typically say that my programming language should just suck less than others for intended use cases.
BoneDiscovery Suggests Humans Were Already Manufacturing Clothes 120000Years Ago