skysight-inc/HackerNews huggingface dataset:
Oof okay a gender change is s bigger thing than I thought about when I wrote this — although the evidence points to these generally making people happier in the long run.

It still applies perfectly tho.

These point of no return decisions can also turn out to be mistakes (from with we can learn), but if skateboarding thought me anything it is that there is a class of situations where you either need to do it or you don't — as soon as you try to do it "a bit" without following through you will get hurt.

Of course the art is to recognize when each one applies, e.g. if your goal is to live healthier that doesn't mean you need to run marathons right away or you are a failure, here committing means persistence and incremental improvement.

In another class of problems the outcome depends mostly on luck, without being in the know I could imagine that non-monogamy-thing could have gone differently depending on where the people involved are with their lives.
> On the other hand, whenever a Black person is successful, it's okay to mention that in the headline.

But I agree it's a bit off. For example it's OK for the NYT to mention that SBF is a genius and that he's an effective altruist in headlines as long as his ponzi is not exposed, but as soon as it's exposed, suddenly no mention of "effective altruism" (despite several people from that movement personally and illegally benefiting from "donations" from SBF [1]) nor any mention of "genius" anymore.

We're kind of used to headlines working that way.

[1] even years and maybe even decades later there's hope some of these funds shall be clawed back from these people though (people who suddenly now have a very low profile)
What is a good, concise resource for all this stuff for the interested layman? I am not familiar with anything but the very basic "RGB" and know basically nothing about how video screens really work.
Yep, there was; they even wrote so in their commit message before removing it: https://old.reddit.com/r/adventofcode/comments/1h3w7mc/2024_...
I agree. And I view it as intellectual imposture. Instead of saying something really simple which can give good results, you obfuscate it a lot to make it sound more intelligent. Reviewers shouldn't accept these kind of papers and I'm thinking that we need a Sokal moment in AI research.
The thing is, good documentation captures the difference between what you expect and what something is. LLMs, as they exist now, are mass-producers of cliché. You can sense it even in their prose or those inverted puzzle evaluations [0] , they are simply statistical models picking the most likely options without enough depth to subvert the average. When you ask them to describe a piece of code, you'll only get the rephrasing of what the code already says.

- [0] https://github.com/cpldcpu/MisguidedAttention
https://gs.statcounter.com/os-market-share/desktop/worldwide...

There's a clear but slow trend on desktop.

Jan 2009: 95.4% Windows

Jan 2016: 85.2% Windows

Jan 2024: 73.0% Windows

In e.g. US it's going down faster, desktop market share now at 62%:

https://gs.statcounter.com/os-market-share/desktop/united-st...
It matters because Python tooling is terrible enough that you need to resort to Docker, and Docker is only a viable solution in some circumstances - deploying on Linux servers.

Think about deploying this in a desktop application. You aren't going to ship a Docker container there.
And a follow up question: would the current best way to handle this be to "mark records as deletable" and then do the batched deletion operations when convenient?
https://en.wikipedia.org/wiki/Mars_Express_(film)

> The inspiration for the organic machines and weapons in the film leads back to the director hearing that Google was working on technology for skin cells. This led to the idea that ultimately tech would complete a full circle back to organics, something "close to us, but at the same time, they are monsters." He also tied the replacement of the robots with organics to planned obsolescence, which he wanted to lampoon.

That looks pretty cool! The art on the poster reminds me of Mœbius aka Jean Giraud, which makes sense as they’re both French, and Mœbius is world-famous, besides. It’s a shame it’s only a film, though I won’t be too picky!

https://en.wikipedia.org/wiki/Jean_Giraud

Sort of reminds me of Metallic Rouge?

https://en.wikipedia.org/wiki/Metallic_Rouge
Personally, I like to be explicit and in control. In the application layer, I may be far away (at least mentally speaking) from the constraints in the database, and if I update/delete something, I don't want it to "magically" cascade through the database. For those reasons, I always prefer RESTRICT, both for ON DELETE and ON UPDATE. This forces me to clean up before I make the actual change I'm interested in, and anyone reading the code later, can uncover that behaviour quickly.

That being said, I can see the arguments for ON DELETE CASCADE, particularly in a codebase, where there is a lot of functionality in the database itself (in the formed of stored procedures, and what have you), since you are always mentally closer to the action. But ON UPDATE CASCADE feels weird, because why are you updating the primary key (which is usually what foreign keys references) of your rows? That feels like something that needs a good explanation.

Though, I do recognise, you need to jump through a lot of hoops to modify your primary key values with ON UPDATE RESTRICT, because you basically need to cover all your bases in a large convoluted common table expression (depending on the number of foreign keys, of course), when an ON UPDATE CASCADE would do that for you. But I'd also rather be blocked from updating primary row values entirely, since it feels like the wrong thing to do. (Yes, I know that foreign keys doesn't have to reference other primary keys, and there may be niche cases for this, but personally, I'd just avoid it altogether.)
> would you rather eat ramen in a flophouse or make proper money in an investment bank

Not a real choice. Ramen-stage start-ups don’t need CFOs. And investment banks don’t hire CFO types.

The real choice is between a growth-stage company and private-equity sponsored company. In summary, do you want to be compensated for your risk in cash or ownership?
Dive into Prepared Statements
Murder requires premeditation, so that precludes self defense. The two parts are: The killing of someone without legal justification (such as self defense), and the premeditated plan to accomplish it. There is something called "mens rea," the guilty mindset, that informs the court of guilt or innocence.

This will get you into manslaughter and other shades or degrees of killing, too.

The rest of what you said, I generally agree with. If you believe someone with a mental condition can sometimes "come around," then you'd also have to believe that someone who killed because of a DSM-5 defined condition that lists it as a symptom or hallmark can be cured of the triggers that made them do it. But I'm sure in most cases that privilege has to be long fought for.

I always thought the Biblical command should have been "Thou shalt not murder" since it is absolutely possible to kill without even a trace of mens rea. Auto accidents are a good example. And war killing in the Bible, as in modern life, isn't considered murder either (Geneva Convention subjects aside). There is legal justification.
Unfortunate. Reolink even has wireless cameras, but they will require a DC input, so you'd need an outdoor electrical outlet if you can't drill any holes and sneak either a power or UTP Ethernet cable.

Given the strict physical requirements, you might be looking at battery-backed wireless cameras of the type often found on Amazon, but afaik they will never offer the local storage or control you want.

I will say that surprising things can be accomplished with small drilled holes and a fishtape. Your risk tolerance and how nice the rental are obviously very important factors.
If this was true we’d have Ruby everywhere.
Yeah I can see how that could help for some. I guess it is just a difficult example for someone not in the USA.
Right. This is the nonsense I’m referring to.

Silicon Valley VC convinced technical folk that we are better than those MBAs and don’t need no suits or whatever. That leads to stupid financial decision making on an operating level, e.g. companies keeping hundreds of millions in a checking account, which is great if that account is your liability. It also keeps the VCs the smartest financial minds in the room. (I don’t have an MBA.)
Yup, another name it refuses to say is Jonathan Zittrain who is a Young Global Leader of the World Economic Forum.

Add Jonathan Turley to the list too.
Do you know, that some of the most used features of SASS/SCSS are now in vanilla CSS?
They should check that LLMs can't solve the problems in 9 seconds and come up with appropriate problems. Or just allow AI assistants, they are now as much part of the programmer's toolkit as syntax highlighting or autocomplete or Stack Overflow, and pretending otherwise is not useful.
Is there a way to override the CSS (on Chromium)? The body font and weight, Source Code Pro is far too thin and far too wide and gives me a headache (and has regularly turned me off AoC). I'd like to change it to `sans-serif`.
Transactional consistency / ACID guarantees.

Before you execute the query, you should be able to query any of the data, and after you execute the query, none of the data should be available. The mechanisms to make a transactional database is tricky.

Some databases, like CockroachDB, provides some built-in TTL capabilities.

But also- if you are having to delete huge ranges of data and do not care about consistency, you are probably looking at an analytical workload, and there would be better databases suited for that, like Clickhouse.
Smaller Satellite Images
Even before AI I was never fast enough for a respectable global rank, but it's still fun to compare solutions with friends.
Even if it does have phone-home functions, why does the camera itself need internet access?

IMO, audit the hardware for wireless radios (PoE cameras shouldn't have them), and put them on a camera-only VLAN that can only talk to the video server.

Maybe not suitable for super secure TS locations, but in general should be fine for 99% of situations.
It's not that bad. I'm sure there are more LLM'ers in there than the one, but you can tell that the majority of the day 1 leaderboard is made up of people who have historically performed well, even before LLMs were a thing.

Compare https://adventofcode.com/2024/leaderboard/day/1 to e.g. https://fuglede.github.io/aoc-full-leaderboard/

There was also at least one instance of people working together where you would have 15 people from the same company submit solutions at the same time, which can be a bit frustrating but again, not a huge issue.
> they're just laundering the money, by definition

By definition, no. You need "money obtained from illicit activities" [1].

[1] https://en.wikipedia.org/wiki/Money_laundering
How does knowing the issuer of the certificate tell you anything if any CA can make certificates for your bank domain? If the answer was „sure, we use GlobalSign“, is that good or bad? If the Brazilian CA is malicious, they can still MITM you, right?

(Assuming certificate pinning doesn’t exist, which was the case 10 years ago and is true now, too)
One reason I can think of is that the database needs to maintain atomicity and isolate effects of any given operation (the A and I in ACID).

By manually batching the deletes, you are telling the database that the whole operation does not need to be atomic and other operations can see partial updates of it as they run. The database wouldn't be able to do that for every large delete without breaking its guarantees.
Sigh, time is a flat circle: https://news.ycombinator.com/item?id=38934013#38936279
Because they mean different things. Deleting all records in a SINGLE transaction means something different than many smaller transactions. Even if for most use cases, you want the latter, it may be the case that you need to lock the DB down to perform the deletions in a single step.
Making extraordinary claims without a way to replicate it. And then running to the press, which will swallow anything. Because "AI designs AI... umm... I mean chips" sounds futuristic to a liberal-arts majors (and apparently programmers too, which I'd expect to know better and question everything "AI")

The whole publication process seems dishonest, starting from publishing in Nature (why not ISCCC or something similar?)
> Alot of VCs actually admit to this indirectly

Did they say this at a secret VC party? Or did you hear someone praising chutzpah and hear that as fraud?
The bigger deal is the lack of an open source BL2/BL31, but that’s me with my tin foil hat.

Sent from my iPhone
I was keen to see the outcome of that, but looking at the most recent updates it looks like the developer has been pulled away by burnout or some other external cause and progress has dried up.
> I find the concept of "pivoting" pretty ridiculous

I find special relativity ridiculous, that doesn’t mean it doesn’t work.
This is very interesting. I was surprised by how minimal the quickstart (https://modelcontextprotocol.io/quickstart) was, but a lot of details are hidden in this python package: https://github.com/modelcontextprotocol/servers/tree/main/sr...
The problem described by antris is that, if a developer were to naively tear down and rebuild the entire DOM tree on each state change, the browser would discard some important state which belongs to the old DOM nodes. This state includes the text selection, keyboard focus, mouse capture, scroll position, and the progress of CSS transitions and animations.

React solves this problem by building a virtual DOM, and then conservatively updating the actual DOM (sometimes just mutating individual HTML attributes!) so that this state is preserved.
Philosophically, everyone.

But, practically speaking, philosophy is the antonym of reality.

Practical answers will depend on the stakes. Are we talking firmware for pacemakers? Or how many words of Lorem Ipsum are in the Default Product Description for a low-end web store plugin?
The loading spinner is specifically for people with shitty internet connections when loading dynamic data after the initial page load. And you're completely misunderstanding practically everything I wrote and replacing what I wrote with your assumptions. Go ahead, it's the internet, bash away all you want. But I know what I did, I know it works, and I know it's not janky at all - it's your assumptions that are wrong. The advice is good, your understanding of it is not. You don't need to reply, I won't be trying to explain any of this any further just so you can misunderstand everything I wrote, again.
What you describe would be shipped physically but disabled, and that certainly happens a lot. For exactly those reasons. What GP described was shipped not only physically present but also not even disabled, because politics. That would be a very different thing.
"Endless errors"? Are you talking about disk errors? Or are you referring to that one time long ago that it had a bug wrt a specific uncommon RAID setup?

APFS and ZFS aren't very interesting to me honestly, because neither are, or can be, in the Linux kernel. I also don't understand why APFS is in the same conversation as ZFS and BTRFS.
How is video streamed to the apps? Push notification services are not meant for real time video streaming.
And everything that uses the OS trust store, when run on Windows, I assume.
Nice to see that traditions are upheld, such as the unreadable font and colors.
And the timeless tradition of HN commentators cynicism
Yes, Qt and C++.
I used a Reolink Argus with a battery and Wi-Fi connection. The one I used is probably EOL now, but a quick look at the site shows even solar chargeable options. So, it is possible.
The first few days are supposed to be beginner-accessible, it's practically impossible to have something beginner accessible but GPT-inaccessible.
It's always the same problem: The work generated by doing documentation, including the possible need for specialized talent, is quite directly perceivable. The work generated by the absence of documentation is more under the radar and disguised as “cost of doing business”, which makes it harder to convince the anti-documentation crowd. Not to mention the “job security” aspect of everything being in the heads of the ICs.
Should also mention that I am very experienced at cross-platform development.
Huge +1 to this. Managed switching with hardware offload is the only thing standing between me and a fully open source* homelab.

I'm vaguely aware of some enterprise options. I want something quieter and reasonably power efficient. Price is no object within reason. I would pay low 4 figures for something equivalent to a Mikrotik CRS326, but with upstream kernel drivers and an X86 CPU.

* I don't run libreboot or anything, I'm sure there's a fair bit of closed blobs in my lab, but almost all my devices can boot any standard Linux boot image.
People scroll pages to skim. This also sounds like it might break CTRL-F.

If I can't skim your page instantly I will more than likely churn my visit.

Doesn't matter that I have a good computer on a 1Gbps connection, you ruined my experience. I'd rather wait 1 sec for the full page to load, than wait a series of 100msecs on what should've been a fully loaded page to actually load at an arbitrary point in time.
> And without DNS pointing google.com to that IP address, it's pretty useless.

On the internet itself maybe, but you can still MITM people on some network, right?
CSS-zero: An opinionated CSS starter kit for your "nobuild" application
this content reminds me of this post where we can get an idea of how to build complex and efficient queries. https://chat-to.dev/post?id=724
React isn’t that special. You can do a react-like design in many frameworks, and in fact you can even do it with vanilla web components. The code ends up a bit more verbose and ugly, but it still has that o(n) core design. To give an idea, here’s a video I made where I port react’s tic tac toe example to vanilla web code.

https://youtu.be/bhvNvQA2oqA?si=bJYZYAU8uueb-6ST

And here’s a more advanced example that preserves input field focus and uses a context: https://github.com/jsebrech/vanilla-context-and-reducer
Do you have a link for the „lost sourcecode so we won’t patch“ claim? The link you gave just gives me a long list of patches.
Data checksums in particular is 90% of the reason I want to use a newer filesystem than XFS or Ext4. This is useful for almost any usage.

Snapshots a bit less so, but even for my laptop this would be useful, mostly for backups (that is: create snapshot, backup that, and then delete the snapshot – this is how I did things on FreeBSD back in the day). A second use case would be safer system updates and easier rollbacks – not useful that often, but when you need it, it's pretty handy.
I did, and I truly do not understand why some people do this.
As shown in the reddit comments on this article [1], the initial intrinsics version was quite suboptimal and clearly worse than portable code [2].

When not busy unnecessarily rewriting everything for each ISA, it is easier to see and have time for vital optimizations such as unrolling :)

[1]: https://www.reddit.com/r/cpp/comments/1gzob1g/understanding_...
[2]: https://github.com/google/highway/blob/master/hwy/contrib/do...
Writing API Clients in Go
My understanding is this is how USPS packages with tracking can seem to teleport around the country. They accidentally get scanned for the outbound to somewhere, it gets caught while never leaving the tray, and they scan it back in.
This is a complete misunderstanding. People take MIT code and put it in the kernel all the time. The issue is that the CDDL is not GPL-compatible because it has restrictions which the GPL doesn't have.
I relate to this a lot due to personal experiences in seeking discomfort for its own sake. I used to get anxious in social situations, to treat that I intentionally went into random social situations that would make me anxious. Over time, it does make you feel less anxious. But if you stop doing it, your anxiety creeps back.

I then realized that change has to be deeper on an identity and lifestyle level. "What is the kind of person you want to become, and what is the kind of lifestyle you want to live" - rather than doing one-off anxiety provoking tasks. In living up to your desired identity and lifestyle, if you face discomfort - THAT is a good discomfort to face.
Exactly. Any proper ledger is a transaction log. Balances and turnovers are calculated, not stored. I've seen a lot of attempts to 'cache balances', and this was always the point where anything could go wrong.
> but this surprises me

Unfortunately, it's true. People used to relying on Microsoft understandably don't want it to be so, so they're in for a rough time trying to figure out actually workable alternatives. :(

This has been an ongoing problem for years, and every time some new problem is found Microsoft just trots out the PR promises that they'll do better. Without then doing any better.

• https://arstechnica.com/information-technology/2022/10/how-a... (2022)

• https://arstechnica.com/security/2023/08/microsoft-cloud-sec... (2023)

• https://arstechnica.com/information-technology/2024/04/micro... (2024)

For the US government's official perspective on Microsoft's security competence, there's the federal Cyber Safety Review Board report released in April this year:

• https://www.cisa.gov/sites/default/files/2024-04/CSRB_Review... (2024)

"Throughout this review, the board identified a series of
Microsoft operational and strategic decisions that collectively
points to a corporate culture that deprioritized both enterprise
security investments and rigorous risk management," the report
reads.

And so on.

Note that the problems didn't start in 2022, that's just the earliest I could be bothered looking with minimal effort. ;)
He's literally saying the front end technology doesn't matter at all in this.

Are you just going to defend React to the bitter end? Or do you just enjoy imaginary binary choices?
It wouldn't have been a candidate for "the standard UNIX filesystem" even if it was in macOS because SUN made an intentionally GPL-incompatible license for it.
There was a time that a simple purple diamond image on an iPhone was enough. It is akin to the duct tape banana art that recently sold.

What amuses the wealthy people you'd like to target?
We already have heterogeneous cores these days, with E and P, and we have a ton of them as they take little space on the die relative to cache. The solution, it seems to me, is to have most cores go brrrrrr and a few that are secure.

Given that we have effectively two browser platforms (Chromium and Firefox) and two operating systems to contend with (Linux and Windows), it seems entirely tractable to get the security sensitive threads scheduled to the "S cores".
- time

- patience

- good experiences/happy memories.
Not gonna happen. AoC always starts with beginner level problems. That's why it's so commonly used for learning the basics of new languages.

A problem that wouldn't be immediately solvable by LLMs would either be too advanced or simply too large to be fun.

This is probably where programming as a whole is going. Many of the things that make programming fun for me, like deeply understanding a small but non-trivial problem and finding a good solution, are gonna be performed much faster by LLMs. After all most of what we do has been done before, just in a slightly different content or a different language.

Either LLMs will peak out at the current level and be often useful but very error prone and not-quite-there. Or they'll get better and we'll be just checking their output and designing the general architecture.
I would never use a DKMS filesystem for / though.