MurphyA/hacker-news huggingface dataset:
by dang | 2025-05-16 18:14:19+00:00
I've attempted to put a neutral title at the top of this page. If someone can come up with a better (i.e. more accurate and neutral) one, we can change it again.

(Since press release titles about negative news tend to studiously avoid saying anything, we tend to classify them in the "misleading" bucket of https://news.ycombinator.com/newsguidelines.html, which justifies rewriting them.)
by Logans_Run | 2025-05-16 18:14:25+00:00
Ok great but let me just make sure that I understand things correctly here... the UK government (and by extension the UK's Tax-Payers) build these nuclear power stations just so the the FANGS* can hook their DC's up to it and charge their users for access? Am I understanding that correctly or am I just being jaded and cynical? Given that apparently building DC's on greenfield land is A-OK [1] because there are no brown field abandoned industrial estates anywhere in the UK (/s) and now on top of that, the UK tax payers are expected to pay for the power stations via increased bills due to "infrastructure improvements" I am beyond the “SMH” stage.

[1] https://www.theregister.com/2025/05/16/uk_overrules_local_co...

*FANG is rapidly becoming an outdated term for the big 5 AI players but in this case the acronym seems a good fit although Wikipedia confidently informs me that these days acronyms like MANAMANA or G-MAFIA BAT are more relevant.
by Ancapistani | 2025-05-16 18:15:10+00:00
> GG won't/didn't fail due to the perception of "this person is filming me without my consent"

Not entirely, but it was a much bigger issue than you seem to be giving it credit for. I remember walking into a coffee shop in Little Rock, AR - not exactly a tech hotspot - and seeing stickers on the door explicitly banning Google Glass.

People were really concerned and upset about it. Come to think of it, the release and nonchalant reception of Meta RayBans says a lot about how our culture has changed. That product basically takes all the stuff that was seen as problematic about Google Glass and shoves it into a pair of normal-ish-looking glasses.
by 2716057 | 2025-05-16 18:16:26+00:00
After a recent sports injury I got my hands on a muscle stimulation device (Compex). What I learned:

1) These devices do not only massage. Depending on the settings they can force incredibly powerful contractions with muscle ache the next day. This feels like a real workout.

2) Because you do not have to think about the movement it is relatively well-suited to desk work. I can easily code during the sessions (which usually take 30-50 minutes).

3) Downside is that attaching the electrodes can take 5-10 minutes.

I came to like it and will continue using it after recovery - while working!

Of course this is no substitute for actual exercise with voluntary movements.Get up, do some push-ups, pull-ups and throw in squat jumps or similar high intensity stuff to get the heart pumping!
by williamdclt | 2025-05-16 18:16:41+00:00
No I think your point is valid, and is valid in JavaScript too.

Designing the “right” approach to look like the “wrong” approach (string concatenation) is a bad idea, however cute it is.

It’s annoying that the wrong thing is the more ergonomic one, but at least it jumps out at any dev with any experience, they know what sqli risk looks like. With templated strings, it’s not so obvious anymore.
by ipsum2 | 2025-05-16 18:16:44+00:00
MIT's article is quite scant on details. WSJ has more information, but still no specifics: https://www.wsj.com/tech/ai/mit-says-it-no-longer-stands-beh...

> The paper was championed by MIT economists Daron Acemoglu, who won the 2024 economics Nobel, and David Autor. The two said they were approached in January by a computer scientist with experience in materials science who questioned how the technology worked, and how a lab that he wasn’t aware of had experienced gains in innovation. Unable to resolve those concerns, they brought it to the attention of MIT, which began conducting a review.
by madcaptenor | 2025-05-16 18:18:12+00:00
But `ncal` does offer that option. Here's October 1582 in "Italy", which didn't exist back then:

$ ncal -sIT 10 1582 October 1582 Mo 1 18 25 Tu 2 19 26 We 3 20 27 Th 4 21 28 Fr 15 22 29 Sa 16 23 30 Su 17 24 31

France apparently took a couple months to get on board (or maybe just to find out):

$ncal -sFR 12 1582 December 1582 Mo 3 20 27 Tu 4 21 28 We 5 22 29 Th 6 23 30 Fr 7 24 31 Sa 1 8 25 Su 2 9 26

`ncal -p` gives a list of the country codes it accepts. (These are current countries so it's a bit ahistorical for, say, Germany.)

Sadly they don't implement the weird thing Sweden did in the early 18th century: https://en.wikipedia.org/wiki/Swedish_calendar
by tshaddox | 2025-05-16 18:18:12+00:00
With every client-side routing framework or library I know of, the trivial happy path will involve using their provided link component which performs client-side navigations on click but also renders an underlying anchor tag with href (and works with cmd-click, middle-click etc.).

You really have to go out of your way to break this, and I don't think client-side routers deserve any blame for this. Anyone who is ignorant or careless enough to ship broken links using a client-side router would be just as likely to break anchor tags with their own hand-rolled JavaScript.
by cmrdporcupine | 2025-05-16 18:18:59+00:00
RustRover recently added visual indication of the borrowing process within a block of code, which is kind of nice. I think for now it only shows for some cases and only when there's an error? but still you get a highlight of where the borrow happened so you can walk back to it and figure out how to fix it without having the parse through the compile error.

I suspect they'll eventually get a fast and live indicator to the user of where all the references are "going" as they type.
by gota | 2025-05-16 18:19:14+00:00
How does "Currently unlicensed" work?

I'd assume this (at least to the extent of whatever is published before a license is specified) be automatically assumed to be MIT license or something. Is that right?

If a license that is more restrictive than that assumed default is chosen, can it be retroactively applied to the content that was published before it was chosen?

None of these are rhetorical, I'm curious how this works
by nineplay | 2025-05-16 18:19:48+00:00
I could hide my head in the sand and imaging that the 'flaggers' are taking advantage of a loophole in the HN moderating system but I don't believe that anymore.

> People comment on flagging only to be ignored by the management

This still PG's site and I have no illusions about where his allegiances lie. The whole lot of them care for nothing but their own power and wealth.
by mdp2021 | 2025-05-16 18:20:05+00:00
There is no copyright involved in having learnt from Pinter, Simon, Picasso, Bansky, Bach, Berry, Fukuyama, Gombrich etc. and producing your own thing. Again: you are supposed to having been exposed to their work.

The "shallow processing" nature of the current NNs is polluting the debate. (I would paste here e.g. the words of Gary Marcus, when complaining about his books having been processed by "things known to spew output too similar to their input".)
by proberts | 2025-05-16 18:20:22+00:00
She has not filed a green card application so she probably won't have an issue renewing her TN but if CBP or USCIS connects her to you, questions might be raised about her intent which could undermine her ability to renew her TN. So, yes, an H-4 EAD would be safer (unless the current administration kills this benefit).
by bombela | 2025-05-16 18:20:58+00:00
I usually teach it by translating it to our physical world by way of an object like a book, which I like to think is intuitive.

I have a book. I own it. I can read it, and write into the margin. Tear the pages off if I want. I can destroy it when I am done with it. It is mine.

I can lend this book in read only to you and many others at the same time. No modifications possible. Nobody can write to it, not even me. But we can all read it. And borrower can lend it recursively in read only to anybody else.

Or I can lend this book exclusively to you in read/write. Nobody but you can write on it. Nobody can read it; not even me; while you borrow it. You could shred the pages, but you cannot destroy the book. You can share it exclusively in read/write to anybody else recursively. When they are done, when you are done, it is back in my hands.

I can give you this book. In this case it is yours to do as you please and you can destroy it.

If you think low level enough, even the shared reference analogy describes what happens in a computer. Nothing is truly parallel when accessing a shared resource. We need to take turns reading the pages. The hardware does this quickly by means of cached copies. And if you don't want people tearing off pages, give then a read only book except for the margins.
by alabastervlog | 2025-05-16 18:21:18+00:00
Yeah, I remember going as a kid (the Saturn V and "rocket garden" are what stuck with me and how I realized I'd been there before) and thinking it was great, but going again a couple years ago it was a huge let-down. So much of it was just ugly MIC sales powerpoint infographics with not-great accompanying displays of missiles and such, there was a whole area that seemed to just be a warfare drone military contractor showroom (which could be cool, but the presentation was about as boring as possible in this case), a bunch of the interactive bits were broken, most of the handful still working cost extra (and admission was not what I'd call cheap), and in general it just felt like a place struggling to survive. It gave an almost ex-Warsaw-Pact vibe of being well past its prime and decaying in place. The Saturn V is still amazing, though, but even there the little bit of the hangar floor and wall space that they actually bothered to use was given over to kinda-lame material about things like the SLS that also had a strong "this came straight from a contractor's marketing department" feeling.

I'd also been to the Cosmosphere as a kid (the SR-71 in the lobby is how I recognized that one when I returned, haha, don't see that every day) and have been about three more times over the last 15 years, as an adult, and it's still great.
by neonsunset | 2025-05-16 18:21:33+00:00
To me a claim "how many things the Java ecosystem gets right that .NET gets wrong" borders on insanity if we consider having to interact with Maven or even Gradle on a daily basis after .NET's CLI and NuGet, or having to deal with type erasure in generics, or weird stream API shape, or not having common slice and sequence types that everything nicely unifies under because primitives cannot be generalized, or not being able to author properties and extension methods, creating dozens upon dozens of type copies or just boilerplate accessors, or having to tolerate Hibernate after EF Core, and so on and so forth.

As for async and tasks - have you ever considered just not writing the code that is so bad it managed to bypass cooperative blocking detection and starvation mitigations? It's certainly an impressive achievement if you managed to pull this off while starting with .NET 6.

Edit: I agree with the subsequent reply and you are right. Concurrency primitives are always a contentious topic.
by duxup | 2025-05-16 18:22:21+00:00
Everything is interpreted as a "threat" to the current administration, science, judges who don't rule their way, any thoughts not approved and so on. It's just their method of silencing any opposition they want to intimidate.

In many ways Trump and the GoP are the ultimate "snowflakes" where any word or phrase they even think they don't like is terribly offensive.
by goda90 | 2025-05-16 18:23:03+00:00
Small cities can support mass transit. Street cars and buses can do an excellent job when you don't have the scale for a subway system. Yes neighborhoods should contain every need, but when you plan neighborhoods to revolve around cars, then there's less space for those needs. If people can't safely and comfortably walk from their home to a place of business, then they'll either take mass transit, or they'll drive. If they drive, then there needs to be more road and parking space to support them. And it starts becoming an unsustainable rat-race where everything ends up spread out with a bunch of pavement in-between, and you can only get places if you have a car.
by fpoling | 2025-05-16 18:23:06+00:00
The web server needs access to the key to sign the reply so the key is accessed all the time.

With automation LE style one typically creates an account with LE when one renews the key so there is no need to have an account password or similar which decreases the attack surface compared with any manual procedure.

So while I agree that Google and friends have too much power, in this case the decision was reasonable.
by deepdarkforest | 2025-05-16 18:23:06+00:00
1. Oh yes right. I remember trying it out thinking it was going to be brittle because of analytics etc but it filters for those surprisingly well.

2. We are working on https://www.launchskylight.com/ , agentic QA. For the self onboarding version we are using pure CUA without caching. (We wanted to avoid playwright to make it more flexible for canvas+iframe based apps,where we found HTML based approaches like browser-use limited, and to support desktop apps in the future).

We are betaing caching internally for customers, and releasing it for the self-onboarding soon. We use CUA actions for caching instead of playwright. Caching with pixel native models is def a bit more brittle for clicks and we focus on purely vision based analysis to decide to proceed or not. I think for scaling though you are 100% right, screenshots every step for validating are okay/worth it, but running an agent non-deterministically for actions is def an overkill for enterprise, that was what we found as well.

Geminis video understanding is also an interesting way to analyze what went wrong in more interactive apps. Apart from that i think we share quite a bit of the core thinking, would be interested to chat, will DM!
by kjkjadksj | 2025-05-16 18:23:38+00:00
The invoice route happens all the time and is seldom caught. Recently the former city manager of La Cañada-Flintridge CA was charged with fraud. The scheme was he would send invoices to car insurance companies with city letterhead to cover damage to city property. Only he pocketed the money.

A couple years ago someone was also sending invoices to FB, Google, etc. Scammed them out of $100m.
by freedomben | 2025-05-16 18:23:48+00:00
Thank you, that's a helpful post.

Don't feel obligated, but if you're willing I'd be interested to hear more about the demographics of the sample. For example, how did you find the participants? How varied were their backgrounds? Was there an even distribution of tech and non-tech people? A mix of blue collar and white collar?

Lastly I do want to say that although some of the feedback has been harsh, I do think what you guys accomplished was impressive!
by arbutus8 | 2025-05-16 18:24:29+00:00
Ultimately, you're right that `rv` and `renv` get you to the same spot, both create reproducible, isolated projects. `renv` has a few issues that we often hit that lead to `rv`.

`renv` is an iterative process of installing some packages, then snapshotting your project state, and then trying to reproduce. The time between the installation and snapshot can often lose information (think `install.packages("my_pkg", repos = "https://my-repo.com")`, your repo source is lost by time the snapshot occurs). You can also install incompatible versions over-time.

rv solves both of these problems because it will lock the source at the time of installation. Additionally, because it is declarative, we are able to resolve the full dependency tree before installing packages to ensure everything will be compatible.

While I am a big proponent of using rv, if renv fits your needs, then switching to rv may not be worth it. For our organization, we did have multiple issues with renv, so created a replacement for it that we hope others in the community will find useful to address their needs.
by aziaziazi | 2025-05-16 18:24:39+00:00
> this is the future

For sure! UIs are also most of the past and present way to interact with a computer, off or online. Even Hacker News - which is mostly text - has some UI for to vote, navigate, flag…

Imagine the mess of a text-field-only interface where you had to type "upvote the upper ActionHank message" or "open the third article’ comments on the front page, the one that talks about On-demand UI generation…" then press enter.

Don’t get me wrong: LLMs are great and it’s fascinating to see experimentations with them. Kudos to the author.
Trying to document my startup journey and share SaaS ideas on social media
by Elevmo | 2025-05-16 18:24:50+00:00
I’m on a mission to hit 10K followers on IG and X by posting short videos about my startup journey and interesting SaaS ideas.

So far I’ve posted 3 videos - all under 150 views. It feels like IG doesn’t know what to do with my content yet.

Right now I’m just experimenting, learning how the algorithm works, and trying to improve with every post.

If you’ve got any feedback or tips, I’d really appreciate it.

Thanks for reading!
by wfn | 2025-05-16 18:25:20+00:00
I've read part of Nick Lane's other book, The Vital Question, cannot comment on this new one; TL;DR competent biochemist (from complete amateur standpoint at any rate), excellent science communicator; you can watch some of his talks online. e.g. the one linked on this new book's page is good: https://www.youtube.com/watch?v=vBiIDwBOqQA

He's really fascinated by the overall transformation process of inorganic matter -> organic matter, a sort of scientific fixation - which is always enjoyable when it's done by a competent scientist - and it's really captivating stuff. (The fact I haven't finished his previous book has nothing to do with the book material itself, if anything it really captivated me; it's just my not-amazing new habit of not finishing books...)
by Plasmoid | 2025-05-16 18:25:27+00:00
> Answering "Yes" to 1 when you don't have a green card or US citizenship would be a way to guarantee that I would rescind your offer

This might actually violate EEOC. You would discriminating on the basis on nationality. The question that was asked was "Are you legally authorized to work in the US?" and Canadian have a limited legal right to work in the US under NAFTA.
by legolas2412 | 2025-05-16 18:25:39+00:00
Not related, but to add some woes of the american immigration system.

There is no instant green card.

If a truly extraordinary Indian-born person (say a Nobel laureate or olympic gold medalist) files for a green card today, they will be waiting for 7-10 years to get a green card. At this point, it may be worse too, because this category's priority date has not moved a single day in 8 months.
by ryao | 2025-05-16 18:25:51+00:00
My comment had been meant for C, but it should apply to C++ too even when operator overloading is used, provided the comparisons are simple and inlined. If you add overloads for the > and < operators in your string example to a place where they would inline, and the overload compares .length(), this should simplify. For example, godbolt shows that CMP(X, Y) == 0 is optimized to one mov instruction and one cmp instruction despite operator overloads when I implement your string example:

https://godbolt.org/z/nGbPhz86q

If you did not inline the operator overloads and had them in another compilation unit, do not expect this to simplify (unless you use LTO).

If you have compound comparators in the operator overloads (such that on equality in one field, it considers a second for a tie breaker), I would not expect it to simplify, although the compiler could surprise me.
by kazinator | 2025-05-16 18:26:14+00:00
This overhead is relative to doing nothing, or relative to imposing tolls?

Does not the congestion pricing setup in N.Y. rely on license plate cameras?

Under the lottery model, the same cameras are used. When a license is scanned which is permitted on that day, no further tracking is required. The event contributes to statistics, but otherwise can be dropped.

When a license is scanned which is not permitted that day, it added to a local database with a count of 1, or else has its count incremented if already recorded. Further processing deeper in the system is only applied to licenses which are over a threshold. The counts are periodically aged down, and records which hit zero are deleted.
by growlNark | 2025-05-16 18:27:06+00:00
Only because the state asserts their existence with violence. We certainly have little-to-no say in how the states in which we live behave, but we're all subject to their whims.

Personally, I have little patience for the pretense that the geopolitical theatre we're all subjected to reflects the people who live in the states represented in such theatre. Baudrillard had it right all along.
by stackedinserter | 2025-05-16 18:28:22+00:00
Russian was and is used because it's a common denominator, like English here in Canada. French is actually forced into our education, media and public jobs. But yet, English is a standard language in companies, government and so on. Does it mean that Canada "exterminating" French?

> I’m going to choose to believe the folks I’ve met

It's totally up to you who to believe. Just make sure that what they say matches reality. And reality is that Russian is still used in majority of Ukrainian companies as standard language, even after 30+ years of independence. We work with contractors from Ukraine and they all communicate in Russian perfectly well.
by proberts | 2025-05-16 18:28:32+00:00
Education is irrelevant. A PhD in and of itself doesn't help but it usually means that the individual has published, engaged in original research/work, etc. but someone can have published, engaged in original research/work, etc. without a PhD or any degree. So it's about what the individual has done, not his or her education. That being said, there's no question that USCIS's view of an O-1 petition is colored by the applicant's education and there's sort of a presumption that someone with a PhD qualifies for an O-1.
by j_seigh | 2025-05-16 18:28:54+00:00
I did a lock-free ABA-free bounded queue in c++ kind of an exercise. I work mostly with deferred reclamation schemes (e.g. refcounting, quiescent state based reclamation, and epoch based reclamation). A queue requiring deferred reclamation, like the Michael-Scott lock-free queue is going to perform terribly so you go with an array based ring buffer. It uses a double wide CAS to do the insert for the enqueue and a regular CAS to update the tail. Dequeue is just a regular CAS to update the head. That runs about 57 nsecs on my 10th gen i5 for single producer and consumer.

A lock-free queue by itself isn't very useful. You need a polling strategy that doesn't involve a busy loop. If you use mutexes and condvars, you've basically turned it into a lock based queue. Eventcounts work much better.

If I run more threads than CPUs and enough work so I get time slice ends, I get about 1160 nsecs avg enq/deq for mutex version, and about 146 nsecs for eventcount version.

Timings will vary based on how man threads you use and cpu affinity that takes your hw thread/core/cache layout into consideration. I have gen 13 i5 that runs this slower than my gen 10 i5 because of the former's efficiency cores even though it is supposedly faster.

And yes, a queue is a poster child for cache contention problems, une enfant terrible. I tried a back off strategy at one point but it didn't help any.