skysight-inc/HackerNews huggingface dataset:
Sensible change. But I wonder if it will encourage retailers to treat the secondary now more food safety related "use by" date as the real "best if used by" date.

If you're like me and slightly paranoid about food expiration dates and sometimes checks things in corner stores, you might notice they like to sell items that can be razor thin on the "sell by" date.
The same place you buy Adderall or Fentanyl, which are also schedule II.
Ah, I misunderstood the scope of the tool.

I thought this was a tool that users specifically install in order to browse any content.

But instead it seems this is simply a feature so that users that browse gov.uk websites specifically can exit.
A proper language would just compile that in; aka when something doesn't fit the struct, it dies. That's what zod does because typescript cannot; you can have lovely and complex types until you see blue in the face, but if they are runtime, they pass because it's js. That doesn't happen in other languages. Try some Rust or Haskell and try to stuff in via REST something that doesn't fit in the struct you defined. With typescript it happily continues unless you use all kinds of crap , like Zod, to validate again.

Why not make it so typescript has options to compile to zod etc with a flag for runtime?

I seriously don't understand why I spend time on writing this as the fanbois who never tried anything nice that doesn't need this think it's the best thing. You all loved left pad and this is no different.
Britain's most debated rock [video]
When Go eventually lets all this horrible syntax sugar into the standard library, we will meet again in the Zig community.
> I have to do it when I get home and realise that yet again one in each pack of 3 onions is rotted.

I have always been under the impression that the entire point of pre-packaging produce like avocados, apples, and garlic is to mix items that are bad which no one would buy in with some good items so you can still sell the bad ones.

This seems to have always been the case in California - where you can generally get good produce.
> HT dxs

I'm unfamiliar with this abbreviation but did my best with Google. Does it mean 'hypertension diagnoses'?
Big Dreams Built on Higher Education Sour Worldwide for Jobless Graduates
This looks to be a cryptoless ledger usage that represents a better path for the technology

Wish I could learn more about the underlying technology to know for sure...
The UK hasn't banned them, though some supermarkets did voluntarily remove them. Brexit's a relatively likely culprit for imported stuff; the extra paperwork really disincentivises JIT delivery (and in particular _really_ disincentivises mixed contents containers).

Though it'll get worse. The regime for imported fruit and veg is still in transition, with a lot of stuff that the UK was supposed to bring in in 2021 recently delayed til 2025.
The Do Nothing Scripting [1] is an approach that I feel recognizes the difficulty of automation by starting out with a script that just tells you what to do like a checklist. Once you've used it to fully document all the exceptions, etc. you can then start building the automation.

An approach like this seems to give more weight to the fact that just figuring out a way to document exactly what needs to be done is often the hardest part and if you get that right before you start writing automation code, it might make make the automation much more efficient.

[1] https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-...
in Europe it's forbidden to sell washed eggs, so you're literally buying eggs covered in chicken shit, it's an interesting regulatory divergence.
Using the Escape key to close dialogs is the standard for almost all desktop applications since the 90s, though.
No, because once those people take the drug then cash flow disappears, because they're cured. It's ideal to stretch out the adoption of the drug as much as possible in that situation.

It's the same reason SAAS took off so much. If you sell the product and consumers are (relatively) happy, now what? They might come back and buy another version in 5-10 years, but how do you generate enough cash flow between now and then to stay afloat?
> saying that freebase cocaine isn't "cocaine, the drug", but chlorides and sulfates are

Yes. So does the DEA. We had separate charges for “cocaine” and “crack” for decades, with the former referring to the powdered salt and the latter to the base. The fact that the active compound is identical is irrelevant.

> They're just wrong, because being wrong is a thing that people do a lot, especially when they're talking about things they don't know about, like chemistry

We’re talking about language. Not chemistry per se.

Someone saying someone doing crack is doing cocaine is simply incorrect in a colloquial context. Sort of like how tomatoes are culinarily a vegetable even if botanically they are fruits.
That's not what being Vegetarian means.
To be fair, it is a pretty cool feature.
For example it's implicit in the capital requirements for banks under Basel III.
I didn't ask any question.
Fun and educational video!
Same in Germany. Definitely at the end here.
I really can't stress how unpleasant working in the world you describes sounds to me, as a developer. Through my career, so much work could have been avoided or improved if developers were in more discovery meetings, messing around in Figma, etc.

Senior people should be expected to bring an engineer's perspective to these tasks, and mentor junior engineers in the process to bring them up to that level.
If they make sense yes, but clearly people don't understand this.

When safety is on the line, the goal can't only be "as few words as possible"
Ten Years of Linux Gaming
Probably not a great idea to link to a bunch of pirated streams. Some of those are official but a lot of them are not.
Making MediaWiki survive non-trivial amounts of traffic is much harder than simply setting it up. It's not an impossible task for sure but there's no one click performance setting.
I'm presuming it because it's very likely, we don't need a double blind randomized controlled study to declare certain things are true.

Like that the idea "equality before the law" doesn't exist in this country, unfortunately.
Shenzhen I/O: A great game to learn electronics and programming
Even knowing no asian languages, I can just feel something missing, especially in the first sentence there
Game Programming in Prolog
Because that's an incredibly euphemistic read of what it stood for, akin to taking a police department press release at face value. Soviets reading between the lines - as American warhawks certainly intended it to be read - would have recognized it as a declaration of America's intent to isolate the USSR, cutting it off from potential global allies (i.e., threats to Western capitalist hegemony, e.g., any country that threatened to nationalize its resources in opposition to Western corporate interests). It turned what could have been a negotiation for power-sharing (through which soft power and widespread welfare might influence more robust observation of human rights) into a (second) confirmation that the two superpowers were entering a period of conflict (the nature of which actually encouraged means-to-an-end thinking that caused suffering in both the 1st and 2nd worlds).

Later developments would also prove the doctrine's stated intentions to be a farce, as much of its execution involved toppling democracies in favor of US-backed autocrats.
evidently a user named wasteduniverse is shadow-banned or something, I saw his question but it was marked dead and I couldn't reply. Looking at his comments page all his other comments were also grayed out and dead.

I don't know what he did but since his question seems unproblematic enough I'll answer here - I didn't finish all the book, my Tom Wolfe phase was done, it seemed ok but not as cool as I thought Bonfire of the Vanities was, I remember some snide reviews of it at the time all about how Wolfe was still trying to be his idea of a great writer which was hopelessly out of date (opinion of reviewers).

My understanding it the Netflix adaptation has gotten a lot of complaints.
At this point I have to assume that this is willful. You are continuing to ignore things that have been addressed by both myself in my last comment and the article. I invite you to read the article more deeply and look into the actual research backing these UI patterns if you are genuinely struggling to understand.
YMMV. In benchmarks like cached queries, it already outputs a solid 5.5x faster than Rails, and it is worth remembering that the Rails app is way too stripped compared to what folks are actually running in prod (which was one of my original criticisms).
> that does not mean that 5 minutes of your eyesight is now worth something

It literally means exactly that, because you're deriving some real value (money) from 5 minutes of your eyesight. So therefore it has value.
I guess if Caesar was borrowing from the Pontifex Maximus, that title must pre-date those based on his name.
I Didn't Believe That AI Is the Future of Coding. I Was Right [video]
That’s so awesome! My girlfriend read all her books and told me how beautifully she writes in Korean.

Definitely well-deserved!
Yes. You'd have to use

int volatile *x

as the parameter to get the changes from a different thread.
WARNING: This product contains chemicals known to the State of California to cause cancer and birth defects or other reproductive harm.

Meanwhile in Maine, you're questioning the sanity of Californians.
You will always hurt sometimes. Either it's the pain of disconnection, or it's the pain of loss. The former is subtle and easy to ignore, but it's always there. At least it certainly was for me.

I've now simply decided to look pain in the eye and embrace it. It is inevitable and important in forming relationships. At least you have mostly fond memories to look back on at the end of it.
You need to learn Haskell in a non trivial way. Code in it. And then you need to completely internalize why the IO monad exists and why it encourages the programmer to code in ways that stay away from using it.

I had a friend (who’s in general a good programmer) learn Haskell and then get completely annoyed by the IO monad so that he quit learning Haskell. So yeah, it’s not easy to “get it” You only get it with reading and practice. Really you just need to completely internalize and grasp the purpose of the IO monad in Haskell.
And micro-morts to compare risk across various activities
A while ago the C++ committee tried to standardize function argument evaluation order. It actually made it to the draft standard, but it had to be reverted when it was presented with real world performance regressions.

If we can't even get that, I doubt strict aliasing will ever be voted out.
So you're telling me Encino Man wasn't fiction
FBI Infringing MIT License
My ex was like this two, but was fairly binary about it. The day before the "sell by date" = totally good, not in any way ruined. The day after = clearly dangerously unsafe food.
Relative level of wealth available for importing…
When people drink coffee, they don't say "I'm taking caffeine."

When people eat poppyseed bagels they don't say they're doing codeine or morphine.

It's generally understood that "smoking weed" is likely to be a different experience than "taking THC"
This isn't true outside the theoretical best case. Definitely not true in most interpreted languages. Consider the performance difference of .reverse() (in-place or copy) vs using a descending for loop. Generally with interpreter chaining there are more "hidden" allocations/operations.
Yes, the goal is to generate business value. But Scrum requires to do this in small increments, and these increments have to be exposed to stakeholders. As per the Scrum guide (https://scrumguides.org/scrum-guide.html#increment):

"In order to provide value, the Increment must be usable."

So this conflicts with the fact that business value can be generated (or protected, in the case of maintenance/upgrade of a system) without generating immediately "usable" changes. Or said otherwise, a high value change may requires a succession of non-usable changes over many "sprints", and Scrum doesn't account for that.
> And Esc is the only keyboard key that doesn’t count as user interaction for the purposes of transient activation.

It’s pretty weird that pressing the Shift key is considered more of a user interaction than pressing Escape.
The techempower repo is literally a gift to the world. I've seen and learned many ways of optimizing code ...almost none of which should ever be used in production or would ever make it past a PR at most companies. Still, it's amazing in the amount of non-realistic approaches used. It really is a work of art.
Ok sure I might have misunderstood you. I agree that Fandom is most likely not writing checks or paying directly in other means to Google for increased search rank.
i have, and use goggles when going dual, also have left hand devices,ejecting to left, ive developed ambidexterity, but ultra fine motor tasks are left handed.
One thing I find interesting about playing video games in modern day is that with the proliferation of Wikis, there is assumed to be some kind of third party guide for every game. Especially in smaller/newer games it seems like developers sometimes don't bother putting necessary information in the game at all because they don't have the person-hours for it.

For instance, back when I first played Minecraft in Alpha the only ways to find the crafting recipes was through a wiki, or trial and error.

It's nice that it makes development easier, but I wonder if this trend is making it harder for new people to get into video games, since it's hardly obvious if you're not used to it.
Here's something to blow your mind: Most Americans are not literate.

Yes, I'm serious and I say that as a fellow American. We are not literate.

So use as few words as possible and a date. Honestly we could probably do without the words, just the date.
Ok I think we’ve come to the root of the problem. You don’t realize how much software development people who use engines still have to do! Just because there are things like GameObjects and Components does not mean you don’t have to think about the game logic or structure. There are tons of ways to approach things, those are still just a relatively low level framework.

And just so you don’t think I’m making stuff up, I wrote a framework for Unity that acts much like XNA or some other 2D scene graph. It’s 100% code based and essentially doesn’t use Unity at all except as a publishing tool. It’s called Futile and it was used in popular games like Rain World and Mini Metro, as well as many of my own games.

However, I also have made games “the Unity way”, with GameObjects and Components etc. These two different approaches to making games are not nearly as different as you claim. I still have to think a lot about game architecture and system design even when using all of Unity’s built-in foundational stuff.
> Does that mean that every Californian is wasting a pound of food every day? That seems suspiciously high to me.

That seems plausible. Figures vary a bit, but generally you're looking at 20-30% of food in supermarkets ultimately being wasted. An average person eats something like 1.5kg a day, so a pound seems about right. (Of course it's not as simple as that, because there's also wastage at home, and that's very hard to measure.)

That said, there's also a lot of wastage by restaurants and other catering operations, and this won't really help there, so the impact may not be as great as people hope.
All the statues I’ve seen of him make his hair look not so curly, and they don’t show him having a beard. This open up the possibility that many royal titles are ultimately named after some Italian guy’s magnificent chest hair (which would be hard to capture in a statue).
for TC?
Is "falls to" the correct interpretation here?

It's higher-than-expected.
Found the theoretical informatician... Nope, not in real world software engineering. Especially not in JIT runtimes like V8. Try it!

I tried it, code: https://pastebin.com/cA8YkE8R

Result:

process1: 2s 251.327833ms
process2: 1s 537.721625ms
How does washing eggs extend shelf life?

Let's say I have unwashed eggs and washed eggs, and I put both in the refrigerator. Won't the unwashed ones last longer, because they haven't had the natural protective coating removed?
The only thing that defines portability is everyone adhering to the same standards.

You say that the web is portable, but really, only Google's vision for the web is relevant, seeing how they have the final say in how the standards are implemented and evolved.

So it's basically another walled garden, only much bigger and not constrained to the CPU architecture and OS kernel.

Chromium IS a platform. And indeed many applications that do work on Chrome don't work on Firefox. So we're pretty much back where we started, but the problem is harder to see because Chrome has such a monopoly over browsers that for most intents and purposes, and for most devs, it's the only platform that exists.

Everyone is good at multiplat when there's only one plat.
I understand, but this is very much like promises in JS. You can pass promises around without awaiting their return values too but async and/or promise code inevitably infects the rest of the codebase. I've never really seen anyone just have promises walled off in one specific module where the rest of the codebase sticks to callbacks.

Passing Effects around will similarly infect the entire codebase, resulting in the entire dev team who interacts with it needing to buy in. Limiting the output of Effects to a single module owned by one zealot dev undermines having it around in the first place and it'll get removed and replaced as soon as that person leaves or gives up the fight.
I think static type inference can be a big win, considering that the typescript type is already a contract and defining the contract again for validation libraries (joi / zod) feels like an overkill.
There have been several competitors formed in response to or predating Wikia/Fandom over the years, particularly Gamepedia/Curse Media (which Fandom acquired). Fandom also acquired other game-focused community knowledge resources, like GameFAQs and Giant Bomb.

There's also now wiki.gg, which focuses on official wikis run by game developers and was launched after the Gamepedia acquisition by Gamepedia's founder and a former Fandom president. Several wikis are on independent MediaWiki farms like Miraheze or ShoutWiki, and numerous others self-host entirely independently.

This Weird Gloop effort seems to be more like wiki.gg, but for community-run wikis rather than gamedev-run wikis — bespoke relationships with communities that want to migrate or relaunch, rather than open sign-ups to a platform like Miraheze or ShoutWiki.
> very strongly implies that they're completely interchangeable

Not completely but they are interchangeable. C# at its inception was as much inspired by C++ as it was by Java. Since then, it only further evolved to accommodate far more low-level scenarios and improve their performance.

It provides the kind of capabilities you'd usually expect from C++, so this statement holds true. Calling C exports is one `static extern ...` method away, you can define explicit layout for structs (that satisfy 'unmanaged' constraint), you have fixed arrays in structs, stack buffers, pointers and ability to do raw or abstracted away manual memory management, etc. You can mmap device-shared memory and push data into GPU. You can accept pointers from C or C++ and wrap them into Span<T>s and pass those to most standard library methods.
Speaking as a user of wordpress (hosted on my own infrastructure, not theirs), this is an entertaining - if pathetic - fight between two entities that doesn’t really involve me.

What would change that, and make me more likely to abandon Wordpress (taking the money my business spends in that ecosystem with it), is if things start to happen, such as a login checkbox with potential legal implications, that gets in my way of using the thing that Wordpress wants me to use.

Whether or not that sentiment is shared across a larger subset of wordpress users I do not know, but I have a pretty strong spidey sense that this crusade is burning down the countryside it’s supposedly trying to save.
Right but differences in values for a business is definitely reason enough to give up your patronage.
Imagine believing inflation is 25%.
Fun fact: in the UK, Encino Man was titled California Man
Amending the Constitution does seem like a fairly remote possibility, but then there's also this:

https://en.wikipedia.org/wiki/National_Popular_Vote_Intersta...
> Programmers should not be empowered to perform roles for which they are an ill fit. In general, programmers are detailists who speak the language of the computer

“Programmers” are not, software developers/software engineers, who are more like systems analysts than programmers in scope of job role at the full working level, though generally employed in organizations that do not also employ separate programmers, however, are and should be.

The kind of organization with wide organization/and interaction distance between users and people working on code with large numbers of over-the-wall handoffs in between is obsolete in many areas of software development because of advances in tooling, because of recognition of the quality costs imposed by that structure given the dynamics of many application domains where whiteboard analysis without real active use is not effective in getting accurate requirements, and because of the costs of that organization style which has long cycle times and high coordination overhead.
I’ve been vegetarian all my life because I’ve eaten plants with almost all my meals. One time I was a pure carnivore and eat a meat platter but most of the time I’ll manage at least one olive or something.
I don't really know how exploratory most games are compared to old Minecraft. Some games like Stardew Valley have certain things that are much easier to do because of third party wikis but I don't think the same is true of a lot of games in the same way it was for Minecraft.
That video turned out way more interesting than I first thought. I never really considered why the 380 makes that noise, i assumed it was a maintenance issue.
>Today the extract of the coca leaves, a de-cocainized version, is manufactured in the United States and used in the flavoring for Coca-Cola."

Interesting, I had always heard that they had to "de-cocainize" the extract outside the US and import the resulting product.
Kinda wonder if/how we could/should turn having (and caring for!) children into its own serious career. As in: Have 8 well-tended children and you're top 10% of disposable income (someone needs to work out the math on this).
Elite colleges accused of price-fixing to make divorced parents pay more
It's called nuance and context.
If every layer of abstraction and emulation is set up to allow it to pass through. It still seems really impressive to me, like lining up a bunch of targets and shooting an arrow through to get multiple bullseyes or something, haha.
>"Equality before the law" is unfortunately a farce in this country, if you didn't already know.

This specific case seems like it's more about the law grandfathering in an existing product vs whatever conspiracy theory you have in mind.
I've definitely triggered sticky-keys with my shift before, but I can't remember a time it was while typing - potentially while shift + arrow to highlight, though.

But it is one of those features that I turn off the second it annoys me 1 too many times.
There was a study on it that made a big splash a while back. The interpreted version is that policy is made for the wealthy and special interest groups. If it happens to coincide with was the public wants, it's merely coincidence.

https://www.vox.com/2014/4/18/5624310/martin-gilens-testing-...

Sorry for the Vox link, that's what came up.