skysight-inc/HackerNews huggingface dataset:
References to UnsafeCell<> should still be safe, because the only thing you can do with an &UnsafeCell<T> is extract a possibly-mutating raw pointer to T. (UnsafeCell<> is also special in that, like Cell<>, you can mutate through it without incurring UB.)
The thing is, telling doesn't do shit. How many communities will say value a good virtue, while their actions are literally the opposite of what their story has been for the past centuries?

Words are cheap, judge their actions. Are they more charitable? How do they treat the weak or their enemies? Etc.
You can't attack other users like that here, regardless of how wrong they are or you feel they are. Worse, you've been doing this repeatedly in other places:

https://news.ycombinator.com/item?id=42953461

https://news.ycombinator.com/item?id=42950095

https://news.ycombinator.com/item?id=42923346

I don't want to ban you because your commenting history before that looks (mostly) fine. But if you keep breaking the site rules, we won't have much choice, so if you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site to heart, we'd be grateful.
The newer VR headsets with eye tracking are a lot more forgiving graphics card wise. My 4060 handles VR just fine. Most games I play are sitting down as well. I'm not a huge fan of walking around blindfolded!
While the tooling isn't perfect, it has improved considerably over the last years, I remember when IntelliJ couldn't deal with Scala 3 but now, it rarely complains.

Related to Python 2->3, I don't see how Scala 2->3 compares, there are clear migration guides + tools to help re-writing to switch between the new/old syntax, I have done many migrations and I have used these tools since the time when Scala 3 was launched (I admit that I reverted a migration at that time).
Oh cmon, you should can the negative comments and be ashamed of your negativity.
Nothing wrong with a laugh
Ah, you're right, that makes sense. When I read "assign issues" I didn't connect it with GitHub's "assign issue/PR to user" feature – I don't use it very much since I'm the only one with write access on my projects. Thanks for pointing that out.
yeah i have no interest in having an AI control anything on my computer, i would just make a script for that
The thing is, Lagrangian mechanics makes exactly the same predictions as Newtownian, and it starts from a foundation of just one principle (least action) instead of three laws, so it's arguably a sparser theory. It just makes calculations easier, especially for more complex systems, that's its raison d'être. So in a world where we don't know about relativity yet, both make the best predictions we know (and they always agree), but Newton's laws were discovered earlier. Do they suddenly stop being natural laws once Lagrangian mechanics is discovered? Standard physics curricula would not agree with you btw, they practically always teach Newtownian mechanics first and Lagrangian later, also because the latter is mathematically more involved.
We detached this subthread from https://news.ycombinator.com/item?id=42949725.
Why LLMs still have problems with OCR
Document ingestion and the launch of Gemini 2.0 caused a lot of buzz this week. As a team building in this space, this is something we researched thoroughly. Here’s our take: ingestion is a multistep pipeline, and maintaining confidence from LLM nondeterministic outputs over millions of pages is a problem.
Document ingestion and the launch of Gemini 2.0 caused a lot of buzz this week. As a team building in this space, this is something we researched thoroughly. Here’s our take: ingestion is a multistep pipeline, and maintaining confidence from LLM nondeterministic outputs over millions of pages is a problem.
Their whole schtick is based up "tell a lie often enough and most people will start thinking it's the truth". The vast majority of what they're doing has been unconstitutional and/or breaking laws laid out by Congress. There are also repeated lies over and over, "facts" made up on the spot, quoting tweets from psychos as if they're the gold standard for truth.
It was for work so I can't share it, but it's read-only and assumes an immutable database which puts it into the realm of a weekend project. I generate the database files in a batch process with regular SQLite, then upload it to S3 and query it using the S3 VFS. If you pull up the S3 API and the SQLite VFS API it's pretty straightforward to see how to glue them together for a simple read-only VFS. I do byte range requests to pull out the pages that SQLite requests, and a readahead cache helps reduce the number of requests.

There are some open source codebases that do similar things, but take it all the way with write support: https://github.com/uktrade/sqlite-s3vfs
Transgender girls and women are girls and women, and something tells me you would have zero problem with transgender boys and men competing against cisgender boys and men.
I don't understand the question.

We created software and we wanted it to be secure (by ourselves). When it came to FIPS compliance, we had to pay for certification, but we were already compliant anyway, so it was only procedure.

It's definitely not as strict as the latest developments in crypto would demand, but it does cover the product in its entirety. Like, oh, you have encryption, but you have a backdoor here: not FIPS-2 compliant.

So, yes, plenty of software and products are FIPS compliant. And if it's mandated, then the provider is not chosen.
Got it, so the other party may some day eventually do something similar to what is happening today, and at that point, the two would be equal and symmetrical.
Memorai – Anki Clone
Maybe with --no-remote
Personal attacks will get you banned here. Moreover, we've had to warn you more than once before about breaking the site guidelines. I don't want to ban you but if you keep doing this, we'll end up having to.

If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here, we'd appreciate it.

p.s. Also, please don't use HN primarily for political or ideological battle. That's another line at which we ban accounts (https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...).
Boo, don’t be evil google! Stop it!
Form is the major thing. I have to get used to the exercise, remember good form, get used to the good form, before ramping up to heavier weights. I don't want to go heavy quick and have problems if I have more fatigue on a particular day or I am not concentrating. Honestly, I have never not ramped up, so I don't even know if I could do that, but I am not about to try either lol.
"This is why it's an illegal coup."

Vs ? what? a legal coup? or the other varietys like these agencies under scruteny fund worldwide?
Political editorials are not the reason anyone is coming to this site. I want to read about tech. Go to Reddit.
I didn't expect much going into the video but damn that was good. The "Expressive" robot was just so... cute? I love the idea of robots have a little bit of personality. Also the nod to Pixar was both "of course" and "I'm so glad they did that". I 100% thought the light might try to jump at the start of the video.
I guess potatoes would eventually disintegrate completely and just make the soup/stew a bit thicker. But yeah, soggy noodles sound unpleasant - but when the perpetual stew was actually in use hundreds of years ago (in Europe), noodles weren't really a thing yet...
Yeah, in 40 column mode, each row was separate by 320 bytes. In 80 column mode, each even character on a line was in main memory and each odd column was in the second 64K block in extended memory.
It's the traditional appreciative answer to a terrible pun, and it's a great tradition!
Simple: Don't look at the logs.

Bots are a fact of life. Secure your site properly, follow good practices, set up notifications for important things, log stuff, but don't look at the logs unless you have a reason to look at the logs.

Having run web servers forever, this is simply normal. What's not normal is blindly trusting a megacorporation to make my logs quiet. What're they doing? Who are they blocking? What guidelines do they use? Nobody, except them, knows.

It's why I self-host email. Sure, you might feel safe because most people use Gmail or Outlook, and therefore if there are problems, you can point the finger at them, but what if you want to discuss spam? Or have technical discussions about Trojans and viruses? Or you need to be 100% absolutely certain that email related to specific events is delivered, with no exceptions? You can't do that with Gmail / Outlook, because they have filters that you can't see and you can't control.
Seems like Norway has also many constituencies which can favor dominant parties. However unlike US you have also leveling seats which balances it a bit.
That's the kind of pun the guillotine was invented for.
Hi HN,
I’ve been experimenting with Cursor IDE, an AI-driven coding layer on VS Code. In this video (or article), I test how well it can generate and refactor a Node.js/Express CRUD app, convert it to TypeScript, and even debug a few errors along the way.

Some highlights:
• Quick boilerplate generation (Docker Compose + migrations)
• Automated refactoring to TypeScript with decent type coverage
• AI-suggested clean-code architecture (still needed human tweaks)
• Basic debugging support (it caught a typo-based bug)

I’m curious if anyone here has used AI coding tools like Copilot, CodeWhisperer, or Cursor IDE in production. Did you see real productivity gains, or do they introduce more subtle bugs?

Feedback and thoughts appreciated!
the_donald was very hateful but I wouldn't call them violent. They were a cultish meme sub like /r/Conservative is. They got banned was for brigading not for being violent and hateful.
Revised and Extended: What's Happening Inside the NIH and NSF
Stonelake vs. Meta
Reminds me of Greenspun's tenth rule of programming (also counts for Java, but this most probably predates it):

Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.

https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
https://www.seriouseats.com/the-food-lab-complete-guide-to-s...

Anything that's been held at 136°F or higher for an hour or so is essentially sterile from a food safety standpoint.
One reason to consider them equivalent to registers is that the cycle time for zero page and register-based instructions is the same (2-3 cycles). The full 16-bit instructions ("absolute") take at least 1 extra cycle and often 2 if crossing a page.

Of course there is the Atari 2600 where you only have 128 of those bytes with RAM (80-FF) and the stack is set to page 0 instead of 1 (not that you'll use the stack a lot in an Atari 2600 program).
It does not appear that this aims to use an API, but rather to train/finetune their own model using insights from R1 ([mostly] pure RL approach towards bootstrapping reasoning in an LLM)
If you are writing services for a platform like kubernetes, the inner-loop development cycle is unmatched. You just connect your editor to the lisp image running in k8s, and with a couple of keystrokes, your code changes are shipped to the target container, replacing what's running live -- as native machine code. You can debug in a repl, handle conditions (exceptions) interactively with restarts, etc etc.
Wow, I'm "one of today's ten thousand" learning about this, thanks!

I always treated the "best before" on bags of frozen veggies as "avoid after" and am very happy to discover now that frozen vegetables apparently remain safe indefinitely. This will save me a bit of money.

And now I'm more open to trying this perpetual stew thing too.
Hrm. I didn't realize. I unset `init.defaultbranch` and it uses `master` and prints a block of hints.

> hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 'development'. The just-created branch can be renamed via this command:

That's going to make it more "interesting" to write the fix, that's for sure.

Thanks!
https://archive.ph/gZvrj
Very interesting read, very impressive. With GitHub’s new feature of custom repository properties it can be so easy to implement a confirmation mechanism between a repository and an npm package, but I guess it could have implemented with other means long time ago.
Is this considered draining, or is it technically refilling the swamp?
On virtual routers there is no content in /rom. What you can easily do is install another copy of the same image on another VM or container and run it through firstboot. Make a backup and compare it with a backup from your running system. Even better is to make a backup just after firstboot, then use the system and compare your current backup with the first one.

Do keep in mind that the OpenWRT backup does not contain information about which extra packages were installed after firstboot. I solved this adding a cron job which runs opkg list-installed > /etc/opkg_installed.txt and adding that last filepath to /etc/sysupgrade.conf so it gets added to backups.
> "My youngest told me what oobleck is the other day. It is something which can behave like a solid or a liquid. I couldn't believe my seven year old taught me that."

That sounds exactly like the kind of thing that you might learn from a seven-year-old.

> Laura often shares her views on TikTok and says she has people who don't agree with her own parenting habits, but the mum-of-two is undeterred about what strangers think of her choices. "They are my kids. I can parent them how I want," she adds.

I do appreciate that they're not embarrassed to say that they do what all parents, everywhere, already do. It's sort of silly that legions of doctors, psychologists, and researchers still find it necessary to turn up in articles like this to browbeat parents about this topic when their advice is clearly not being heeded by any segment of the public and hasn't been for decades. It's as if these experts have zero awareness of how their advice is received.
It happens with toxins, which is the reason why cooking spoiled food isn't a magical solution to everything.

Examples are on-living molecules whether inorganic simple elements or complex thermo resistant proteins leftover from other forms of life like fungi.

That said, there's nothing special in a forever stew that makes it particularly more susceptible to this risk. The toxins don't reproduce (unless there's some fucky crystallization phenomenon, but that's sci fi speculation), and if there is some thermoresistant toxin introduced, then it will probably be dilluted quickly.
They might have plummeted but it’s worth mentioning that in the UK vehicle taxes have changed this year for electric vehicles. Most EVs are still leased through employer linked things that incur an income tax saving, but that got less generous since a ‘benefit in kind’ charge now applies to EVs, and the road tax is no longer free for EVs from this year. Those things together make people much more price sensitive than they were a year ago.
This was such a fun read.

The photo of Douglas Adams laying face down is just perfect.
Would recommend using SeleniumBase's CDP mode to search for those substrings, click accept on those cookie banners and then take screenshot.
Indeed I missed it.
You don't even need a full compiler, you can just use a macro assembler if you insist on doing purely "assembly" programming.
I think that unfortunately what's been proven with recent developments is that in some way racism is very American.
Nice explanation. I like the viscosity part, I implemented something similar a couple of years ago in an open source RTS game engine (test video at: https://www.youtube.com/watch?v=cQW8WXNpYXk), and without viscosity water was spreading thin and due to floating point, at some point it was spreading on flat surfaces and "evaporating".

Also, the grid resolution required to obtain nice waves was a bit too much for the effort I put 5 years ago (probably needed another thread, etc.)
Gift link from kottke.org: https://www.theatlantic.com/ideas/archive/2025/02/hitler-oli...
There’s BYD garages popping up all over the place though. Not seen many on the road yet…
You missed the most important part ;). How was it? Was it any good? Randomly bad/good?
As a start, I want to see if the agent can figure out how I play a clicker style game such as adventure capitalist on the computer. I am thinking I have a certain style of playing. I still don't understand how an agent can somehow figure out valid gameplay (earth, moon, mars, events) AND figure out a valid gameplay much less play the game in my own style.

I think we should start with something simple, repeatable, and does little to no harm if/when things go wrong.

Edit: repetitive -> repeatable
> House Republicans say they have reason to believe the IRS and Department of Justice are monitoring millions of Americans' private transactions, bank accounts and financial information without legal process using an AI-powered system.

It's worth reading the actual letter that is linked. While the IRS themselves have announced in press releases that they are using AI (and/or machine learning), the citation for the concerns seems to be a Project Veritas sting video featuring one guy verbally claiming these things, presumably without knowing he is on the record.

I dunno that it's a particularly high bar as far as sourcing going but anything is possible of course.
There was something like this on Macs in the mid 1990s, that would watch you work and suggest timed automations - there was a bit of a developer panic the first time it told someone "I see you launch <popular desktop game> around 4:30pm every Friday, would you like to do that automatically?"
This is iOS 6 and not iPhone 6, btw.
> When you read the job ads, what they are actually looking for is a unicorn engineer who can build the entire product including Backend, FrontEnd and DevOps while also being an AI domain expert and any number of other demands.

Tangent, but is there a descriptor for that in a traditional corporate setting?
I just wanted to say that we've adopted many of your projects at $DAYJOB, and it has been one of the best technical decisions we've made. So far I've used the Go crypto package, age, and more recently xwing. It all works flawlessly, and at every turn we have happy surprises (smooth cross-compilation, the Age plugin framework, typage, fast xwing revisions, your blog posts).

If we ever meet in person, I own you a beer!
Yup, unfortunately the only way to know how good an AI is at anything is to do the same way you'd do with a human: build a test that you know the answers to already. That's also why the accuracy evaluation was by far the most time intensive part of the development pipeline as we had to manually build a "ground-truth" dataset that we could evaluate the AI again.
If they are in libraries it doesn't matter, because you can use Scala 2.13 code in Scala 3.
The first(?) voice controlled AI agent that executes your commands on APIs
Something tells me that if you asked the store owner that the poster tried to give money to, they'd be furious at cloudflare for stopping the transaction.
https://archive.is/rx7Ha
I see your point, but talking about risks after a de-facto heist could easily lead to misunderstandings. This intelligence operation is a done deal.

If concerned people debate future risks instead, the other team has scored an A+.

If you want to mitigate what had happened, you need to bring your own extremely resourced criminals. I really feel sorry for all affected.
A friend of mine made a perpetual stew about a year ago. It lasted for three months, until he put some kind of smelly fish in and then couldn't get rid of the taste. He eventually had to throw away the whole stew.
Rumor has it that photo is of one of JWZ's actual testicles, which he had removed and photographed just to spite HN, long before AI image generation was a thing. He's such a dedicated troll!
Government agencies have been behind in ML/AI for a long time now and they are still playing catch up, yes. But they do fund academia in the ML space, which is very important since industry goes nowhere without the ML PhDs who did their research with DoD funding. And they are ahead of industry in other areas, sensors being one of them.
Not sure why you were downvoted. What you say is true. You could count the cycles of the instructions to figure out exactly how long a loop would take at a given clock frequency. The entities manipulated by the program literally existed. If the ISA said there are 8 registers, you could find 8 areas of the silicon die corresponding to those. The ISA features on a modern processor are a fiction. Especially if it something riddled with 50 years of backwards compatibility, like Intel.
I'm not the person you're replying to, but HKDF and PBKDF2
* you can always choose to self a small model, although it probably doesn't work as well

* it's not a "random third party". You know to whom the data is being sent, and at least according to service agreements, most services don't use your data for training. If you don't trust Claude, you could trust AWS hosted version, or GPT/Deepseek hosted on Azure. Well, if you think Amazon/Microsoft is not trustworthy and they may misuse your data in these cloud services (not some random consumer facing service where you are the product), you might as well give up your digital life.
Revaluing Time and Attention (2008)
I'm honestly annoyed by the whole "anti-digital" thing. Like sure, it's good to take a break, but what's wrong with technology? It being more efficient is a good thing. It's like saying glass windows are bad because you can look outside without having to open them.
Migrated a Scala 2.8(!) era codebase to Scala 3.

As OP explains, macros and abstract type projections tend to be the biggest pain points in complex applications; otherwise, with Scala Rewrite tool it's pretty straightforward.

I think it's more inertia than anything else that more Scala 2 companies don't migrate.

Unpopular opinion, but setting a Scala 2 sunset time would spur companies into action :)

As it stands Akka (previously Lightbend, previously TypeSafe) is the maintainer of Scala 2, and derives part of its revenue from Scala 2 support contracts so there's even less incentive to migrate when there's no EOL date as Python 2 (eventually) had.
Reading this on a website like X is like finding a children's book in a blasted nuclear wasteland. Are we still fighting for silly software, anymore?
Wouldn't declaring the "replace" directive in go.mod once take effect for all the dependencies?
Mind elaborating ?
Stroustrup said "There's two kinds of PLs, ones that people complain about and ones that nobody uses."

Odersky made Scala3 become a language that nobody uses and people complain about!
Federal judge tightens DOGE leash over critical Treasury payment system access
FIPS and "be secure" aren't necessarily a full overlap: there's plenty of ways to be secure that isn't even allowed in FIPS, so you need to actively disable that set if you run FIPS mode (depending on libraries used, this may e.g. disqualify hardware intrinsics because it was not covered by CMVP, creating potentially material performance consequences).

If you're already compliant (implying you are using FIPS compliant crypto in all situations), the matter is tautological.
While there are guidelines in the form of an unclassified, gov't-hosted desk reference [1] ultimate discretion seems to be left to adjudicators. There are public archives [2] that talk about such decisions made in tricky cases of criminal activity, financial malfeasance, potential blackmail, etc. I've seen at least one where somebody admitted to doing hard drugs while having a clearance and actually got upgraded to a TS (though this was ~10 years ago and I can't find it via search engine).

[1] https://www.dhra.mil/portals/52/documents/perserec/adr_versi...

[2] https://doha.ogc.osd.mil/Industrial-Security-Program/Industr...