MurphyA/hacker-news huggingface dataset:
by masklinn | 2025-07-12 15:43:28+00:00
> The |= does exactly what it says on the tin. How could it not mutate the left side of the assignment?

The normal way? If the LHS is an integer. |= updates the binding but does not mutate the object.

Nothing requires that |= mutate the LHS let alone do so unconditionally (e.g. it could update the LHS in place as an optimisation iff the refcount indicated that was the only reference, which would optimise the case where you create a local then update it in multiple steps, but would avoid unwittingly updating a parameter in-place).

edit: you might not be understanding what dict.__ior__ is doing:

>>> a = b = {} >>> c = {1: 2} >>> b |= c >>> a {1: 2}

That is, `a |= b` does not merely desugar to `a = a | b`, dict.__ior__ does a `self.update(other)` internally before updating the binding to its existing value. Which also leads to this fun bit of trivial (most known from list.__iadd__ but "working" just as well here):

>>> t = ({},) >>> t[0] |= {1: 2} Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'tuple' object does not support item assignment >>> t ({1: 2},)
by hardwaresofton | 2025-07-12 15:43:56+00:00
https://linuxcontainers.org/incus/docs/main/explanation/clus...

https://linuxcontainers.org/incus/docs/main/explanation/clus...

You may have a point there that k8s is not meant for single machines but that’s not a hard rule, more like a “why would you want to” you can absolutely run single node Kubernetes.

Also strictly speaking incus is not a container nor vm runtime, it’s an orchestrator of those things.
by WalterBright | 2025-07-12 15:44:05+00:00
> Those switches cannot be accidentally flipped

Yes, unbelievable things can happen. There are crashes where the pilot got discombobulated and a crash resulted.

For another example, there are at least two crashes I recall (and I am sure there are many more) where the pilot pulled back to recover from a stall despite being trained endlessly to push forward to recover. (And they killed everyone on board.) Pilots get confused by what an alarm means, and do the wrong thing. Pilots assume the autopilot is on but they had accidentally turned it off. Sometimes people get crazy urges to do the wrong thing (there's a word for that: cacoethes).

These things are rare, but when there are millions of flights, rare things happen.
by barrell | 2025-07-12 15:44:31+00:00
Not OP, but how much of the modern computing landscape bullshit that it cut was introduced in the last 5-10 years?

I think if one were to graph the progress of technology on a graph, the trend line would look pretty linear — except for a massive dip around 2014-2022.

Google searches got better and better until they suddenly started getting worse and worse. Websites started getting better and better until they suddenly got worse. Same goes for content, connection, services, developer experience, prices, etc.

I struggle to see LLMs as a major revolution, or any sort of step function change, but very easily see them as a (temporary) (partial) reset to trendline.
by somehnguy | 2025-07-12 15:45:49+00:00
That seems awfully high no? I've been running a 5 disk raidz2 pool (3TB disks) and haven't replaced a single drive in the last 6ish years. It's composed of only used/decommissioned drives from ebay. The manufactured date stamp on most of them says 2014.

I did have a period where I thought drives were failing but further investigation revealed that ZFS just didn't like the drives spinning down for power save and would mark them as failed. I don't remember the parameter but essentially just forced the drives to spin 24/7 instead of spinning down when idle and it's been fine ever since. My health monitoring script scrubs the array weekly.
by capyba | 2025-07-12 15:46:00+00:00
I’m a mechanical engineer, not a software person, but I write a lot of (hopefully close to professional quality) code for my work. writing tests while in the beginning/middle of my development cycle has been the best change I’ve made in how I do things in quite a long time. Since I’m a self-taught amateur often working solo, its invaluable for helping me gain confidence that everything I’m doing is working correctly as I learn the language/libraries necessary for me to build each new program.

I’m not saying that you yourself have this attitude - but the “tests are for suckers, I just ship” crowd really grinds my gears because to me it says “ha! Why do you care about getting things right?”

Totally get where you’re coming from though, sometimes the expected behavior is trivial to verify or (in the case of GUIs) can be very difficult and not worth the effort to implement.
by TrackerFF | 2025-07-12 15:46:14+00:00
Eh, it is more like an extended/better UI. Plenty of people are willing to pay for just that.

There are lots of people that only use LLMs in whatever UI the model companies are providing. I have colleagues that will never venture outside the ChatGPT website, even though with some effort they could make their tooling richer by using the API and building some wrapper or UI for it.
by d_sc | 2025-07-12 15:47:04+00:00
There’s a lot of talk about Claude Code in here, and I agree it’s a great agentic coding tool. One of the benefits of Cursor & Windsurf is/was the ease for smaller companies to setup Team accounts and have control over spend.

Claude Code I think misses this. You can get an enterprise account if you commit to over, what.. 70 seats annually?

If you’re an individual you can get Max 5x/20x ..

But for smaller companies, I don’t think they are addressing that space. Am I wrong? Are there any Agentic tools like Claude Code that can provide a fixed cost per user?
by lelanthran | 2025-07-12 15:48:31+00:00
You're missing the point: as an addict the substance is the "higher power" because it literally has power over the addict.

Switching out the addiction for a different "higher power" is the point.

Just because you don't know how how things work doesn't mean you should quote the dictionary inaccurately at people. What you are doing is lower-cognitive effort than a stochastic parrot.

FWIW, I've been atheist all my life, mentioned it multiple times on HN, and am constantly annoyed by militant atheists like you making the rest of us in this group of logical people look bad.

At the very least, at least pretend to have put some thought into your worldview. Or at least pretend that there is some logic behind this argument you want to have on the internet for worthless internet points.

I'm simply telling you what the reality is. Your complaint that reality is wrong and you are right is a common but frankly stupid PoV.
by dmoy | 2025-07-12 15:49:19+00:00
Yea haha the chinese-to-english gets confusing, because it's not a 1:1, it's an N:1 thing, for the number different Chinese languages, different tones, and semi-malicious US immigration agents who botched the shit out of people's names in the late 19th and early 20th century.

Wu and Ng in Mandarin and Cantonese may be the same character. But Wu the common surname and Wu for some other thing (e.g. that mountain) may be different characters entirely.

It gets even more confusing when you throw a third Chinese language in, say Taishanese:

Wu = Ng (typically) for Mandarin and Cantonese et al. But if it's someone who went to America earlier, suddenly it's Woo. But even though they're both yue Chinese languages, Woo != Woo in Cantonese and Taishanese. For that name, it's Hu (Mandarin) = Wu / Wuh (Cantonese) = Woo (Taishanese, in America). Sometimes. Lol. Sometimes not.

Similarly, Mei = Mai = Moy
by jeswin | 2025-07-12 15:49:30+00:00
Here's another point of view: https://x.com/BDUTT/status/1944012769323626682

The four Indian pilots on her show are clearly not convinced that the pilots are to blame.

As they mention, it's important to know what else was spoken in the cockpit. Quite possible that there's more, and that might have implicated the pilots. However, if that's not the case, this is a very poorly worded report.
by dekhn | 2025-07-12 15:50:47+00:00
SQL was designed and created to elegantly express queries that exploit relational algebra. It's hard to express that in other ways because general programming languages have properties that get in the way of the query engine.

You are also confusing SQL the language and relational databases versus non-relational databases (some of which are called nosql). This issue is mainly due to some odd naming choices when "nosql" was created.

SQL doesn't have ACID- you are conflating properties of relational databases with the standard language used to interact with relational databases.

If you want to use nosql document store, go ahead, but you don't need to complain about SQL when you do.
by techpineapple | 2025-07-12 15:51:37+00:00
It’s interesting to think about the intersection of cultural, technology and aesthetic.

Gaming embraces most of its historical aesthetics while say movies do not. There aren’t serious attempts to replicate the aesthetic of 50’s tv (which are tied in heavily with the culture of the time) similarly, jn the eighties and I imagine prior, I’ve been watching Miami vice and you can tell lots of the rooms are cheap sets with pretty minimal props. This is on the one hand definetly not full formed, but on the other hand I’ve grown to appreciate that aesthetic, And again other art forms like painting and video games seem to appreciate all eras of aesthetics in their modern versions in a Way tv and movies don’t. (Maybe just due to expense?)
by lelanthran | 2025-07-12 15:52:08+00:00
> There's lot's of places around the world that do evidence based addiction counseling

As I pointed out in a previous comment, those places have successfully rated worse than random chance. Placebos beat them on succes rates.

The highest succes rates is with AA and the 12 step. Plenty of peer reviewed articles going back 30 years back this up.

Therapy has worse rates than anything else, including placebos.
by cpncrunch | 2025-07-12 15:52:10+00:00
>since they can't continue as pilots if they seek treatment)

You have your facts wrong. Pilots can and do fly if they have mental health diagnoses, as long as they are well managed and there is no history of psychosis or suidical ideation. This is how it should be.

https://www.faa.gov/ame_guide/app_process/exam_tech/item47/a...
by ninkendo | 2025-07-12 15:53:23+00:00
I think the aircraft being familiar makes it worse: if you're used to going through a certain motion to do a thing, it may be one of things your brain can do without really thinking about it much, which is where the danger comes in.

I've engaged my wipers when meaning to shift gears before, in my truck which has a steering column shifter. After driving the truck for years. I have ADHD and I very often let my brain go on autopilot for things I do every day, and sometimes it just does the wrong thing. It doesn't matter how complicated or "intentional" the task has to be: my brain will memorize it to the point that it can execute it on its own without me consciously thinking about it.

I think it's totally plausible it was a muscle memory thing, if the at-fault pilot's brain works anything like mine.

(Side note: I actually took some flying lessons, including going through all of ground school, and realized that my brain is just not cut out for flying. I am the type of person to "cowboy" things if I feel like they're not worth doing, and flying is an activity where the tiniest missed checklist item can result in death, so I realized I have a statistically high likelihood of crashing due to some boneheaded mistake, and stopped taking lessons.)
by zdragnar | 2025-07-12 15:53:26+00:00
> My parents still leave the door unlocked when they are home

Growing up, we never locked our doors, ever. My parents only started after a serial burglar a few towns over (a half hour / 45 minute drive away) made the news.

I've never locked the doors at my current house, but I always lock my car doors when I go somewhere... I guess there's only just so much I'm willing to tempt fate.
by nikolayasdf123 | 2025-07-12 15:53:36+00:00
not a single word about overwhelming replacement of humans with AI. nothing about countless jobs lost. nothing about ever increasing competition and rat-race. (speaking of software, but applies to all industries). his rose-glasses view is somewhere in between optimism-in-denial to straight-up lunacy. if this is the leader(s) we have been following, this should be a wake up call.
by senkora | 2025-07-12 15:53:37+00:00
I appreciate the Fediverse integration of threads. I follow a couple threads accounts through Mastodon and it works well (at least for passive reading, I don't know the current state of how replies/boosts/favorites federate back to threads).

For example, here is author John Green's threads account viewed through mastodon.social: https://mastodon.social/@johngreenwritesbooks@threads.net
by giantrobot | 2025-07-12 15:54:34+00:00
> Does anyone even remember why Netscape 4 was bad?

Netscape 4 is a broad set of releases over several years. It also wasn't necessarily "bad". It was just largely not mindblowingly better than Netscape 3 (for normal users) while using more CPU and RAM.

I also imagine in this context it's incomplete CSS support is problematic. Netscape 3 will ignore properly commented out CSS (mostly) while 4 will try to interpret what it can and choke on the rest. It's box model doesn't conform to where the CSS spec landed so even if you can give it CSS it can handle, your page is broken in every other browser.
by macrolime | 2025-07-12 15:55:22+00:00
I like using Claude Code through Roo Code (vscode extension). I find it easier to work with text using a mouse, vscode diff viewer etc. I guess if you're very good at vim shortcuts etc you can use that in Claude Code instead of selecting text with a mouse. Claude Code has a vscode extension too so I feel that using Claude Code through vscode just adds a better UI.
by mojomark | 2025-07-12 15:55:27+00:00
I'm inclined to concur with onlypassingthrough. If the resulting wake is similar to fish locomotion (e.g. thunniform or similar) vortices will shed off in a Karmen Vortex Street that spreads laterally with distance behind the swimmer (potentially into other lanes, and propulsive efficiency of propulsors are generally less efficient in turbulant vice laminar open-water flow... but not always, it can depend on the 'structure' [how chaotic] the flow is).

The magnitude of the energy in that turbulent wake will depend on how efficiently the oscillating fin interacts with water over time to produce forward thrust. The cool thing about oscillating foils as opposed to rotating thrusters, is that when the fin 'swoops' once it creates Vortex 'A' spinning clockwise, and when it 'swoops' back the result would be a Vortex 'B' spinning counterclockwise, and the two vortices will partially cancel out. That cancellation serves to recover energy from Vortex 'A' and the energy is transferred back into forward thrust.

In other words, fish tails create trails of contrarotating vortices and continually push off of them. It's like walking up a springy staircase, where each step you make, a little energy is recovered to bounce you up to the next step.

In theory, if you had a swimmer in front of you, generating a Karmen Vortex Street and not effectively canceling out those vortices, but instead just shedding vortices, you can use the energy from the swimmer in front of you to 'spring' yourself forward - barely using any energy yourself. Those complex hyrdodynamic relationships could be why some swimmers/flyers tend to fly in specific formations with other animals in their school/flock.

Bottom line, I would bet that any residual vortices that spread into adjacent swimming lanes will tend to interact chaotically and result in unstructured turbulance, which should yield less optimal swimming conditions for swimmers in those lanes.
by sabujp | 2025-07-12 15:55:54+00:00
If you work in a job where the lives of hundreds could be ended in seconds due to an error or intentional action then there is no excuse to not have critical control surfaces recorded at all times. Non-commercial/private flights/flight instructors and trainees have cameras, trains have camera, stores have cameras, casinos have cameras, buses have cameras, workers who work for ride hailing services have cameras as do millions of other people who just drive.

Hopefully other countries will start deploying recording systems or start forcing manufacturers of planes to have these integrated into cockpits.
by LightBug1 | 2025-07-12 15:56:08+00:00
OpenAI’s Windsurf deal is off, and Windsurf’s CEO is going to Google (theverge.com) 819 points by rcchen 18 hours ago | flag | hide | 530 comments

Has been at number 2 spot for ages.

Sorry, no offense, and you're probably right somewhere along the line, but ... I'm calling horse shit on the HN algorithm. If there is one.

By your logic, or reasoning, this should have dropped off the map by now.
by giraffe_lady | 2025-07-12 15:56:57+00:00
Western classical music had a strong tradition of taking advantage of cutting edge technological advances, especially in metallurgy but also advanced woodworking techniques like lamination making large soundboards possible and pushing the bounds of acoustic amplification.

It wasn't until I think around the advent of recorded music and electric amplification that it settled into a fairly stable set of instruments & sounds produced by them.
by hombre_fatal | 2025-07-12 15:57:37+00:00
Then again, I don’t think you pass user input directly into a date constructor in any language, in practice.

You decide on the format that makes sense for the user, you validate the input against that format, and then you map it into a native date.

If the date constructor supports the format you want, it’s only coincidence that makes that final mapping step simpler.

So, the native date constructor having weird behavior on invalid strings doesn’t really change real world code.
by throwawaymaths | 2025-07-12 15:58:08+00:00
for the second transformation the molecule loses aromaticity, so if it was conductive there would be a local conductivity defect. aromatic hexagons are flat and pentagons and heptagons are not, so there would likely be a "desired" curvature difference.

in the specific case of graphene, a heptagon/pentagon stone wales transformation would almost certainly snap back to all hexagons due to the strain.
by taylodl | 2025-07-12 16:00:37+00:00
Like many people my age (ahem!) the Commodore 64 was my first computer and I loved it and it's responsible for my long software development career.

But I don't want that Commodore 64 today.

I want the Commodore 64 of 2025. A machine where middle schoolers can learn the basics of programming while having fun with graphics and sound. Maybe even have a simple 2D gaming engine built-in. I don't know. I want the spirit of the Commodore 64, not the actual machine itself.
by metadat | 2025-07-12 16:00:47+00:00
100% agreed.

You've reminded me of when I first watched Idiocracy in 2006. At the time, I delighted in the comedic, sophomoreish, and seemingly ridiculous take on a possible trajectory of humanity. But now much of it is actually coming to pass. It's sad.

P.s. As a sidenote, apparently I love all of Mike Judge's productions, which also includes Office Space, and Beavis and Butthead.
by SAI_Peregrinus | 2025-07-12 16:01:53+00:00
There are many cases where "anonymous" data can be de-anonymized, mostly if the stats contain outliers or multiple small groups that can be combined to uniquely identify an individual. "Any information that relates to an identified or identifiable living individual" (emphasis mine) implies that if there exists a way to de-anonymize any individual in the dataset then the dataset is PII.
by rectang | 2025-07-12 16:03:27+00:00
Switched-on Bach is a revelation in part because the synth bass tones are more focused, distinct, and identifiable than when the same notes are played on acoustic instruments — allowing you to hear harmonic interplay which I believe is closer to what Bach heard in his head.

But here are lots of Bach synth albums and only Wendy Carlos’ work has the taste and obsessive fidelity to the original compositions to allow those ideas to come through. Most synth Bach falls into the trap of being idiomatic synth rather than idiomatic Bach, akin to playing Bach on the piano without considering how it would have sounded on the harpsichord.
by bane | 2025-07-12 16:03:31+00:00
I was also considering the effect of how silent computing used to be. It created a tension and expectation when waiting for an image to appear like waiting for a curtain to open on a play. So when the artwork appeared, the artists worked to make it beautiful. It was almost pushing the edge of what these systems could do, and so as a viewer placed you in an engaging experience right at the state of the art.
by svrtknst | 2025-07-12 16:05:14+00:00
Aren't you the one building on suppositions? We know that they don't have flight hours. We cannot conclude what condition they were in aside from that.

to jump from "they could be tired or hungover" to "yeah or aliens" is very dishonest. Especially for a very fresh matter where we know very little, all our assumptions are just that, and nothing we writes has any bearing on anything.
by conartist6 | 2025-07-12 16:05:41+00:00
If it were rocket science it would be less surprising to me that they would want to be spending their time on it.

It's clear that they envy Google's position of owning a web browser (that everyone uses). But a play like this that involves entering a highly competitive market with openly vicious level of scrutiny... Like, what would you say if Facebook announced that they were announcing that they would be starting their first hospital? That's a hypothetical, but IRL Amazon tried to convince people that they wanted to be operating a chain of hair salons. My point is that it was easy to tell from the outside that this was corporate whim and they weren't going to be very willing to put up with it for long if it turned out to be genuinely hard, because there just wasn't enough alignment with the mission.

So yeah, I've no trouble understanding why they want to own a browser in theory. And since they can print money and want to hoover up talent anyway, why not just hire some engs. It looks good for the company's future growth prospects if people do believe you're serious. But it just seems to me that thus far they've shown no real hard commitment, no philosophical alignment, and no appreciation for the reasons what they're doing is difficult: it's a social problem not just a hiring one
by jameshart | 2025-07-12 16:06:14+00:00
In the Boston suburbs, commuter belt communities just outside 128, it is common for police to send out reminders to people to lock their cars when they’re parked on their driveways whenever there’s a spate of thefts of valuables from parked cars. I assume it’s not restricted to this particular stretch of suburbia.

Examples: https://patch.com/massachusetts/weston/weston-pd-remind-resi... https://www.cbsnews.com/boston/news/wellesley-police-urge-re...

This always surprises me because for one thing most modern cars auto-lock, and who even keeps valuables in their car? But apparently there are enough high trust people in the suburbs of a major metro area who leave their cars unlocked that it’s worthwhile for people to walk down leafy streets trying car doors.

“Last week, 10 unlocked cars were hit by thieves along Bristol Road, Sagamore Road, and Tanglewood Road. Surveillance cameras captured a man stealing a 2020 Porsche Cayenne. The crook had his face and hands covered as he entered the SUV, only to find the key fob sitting in the unlocked vehicle.”

And this is in Massachusetts where wealthy people definitely have garages (you are not wasting time clearing snow off your Porsche Cayenne before the school run in February - you keep that car in a garage and let a plow service handle the driveway)

One theory: it’s a UX issue. People have cars with keyless entry and they do not actually know how to lock the car.