MurphyA/hacker-news huggingface dataset:
by MrJohz | 2025-08-30 13:58:39+00:00
It's very often easier to trigger edge cases when just testing a smaller part of a system then when testing the whole system. Moreover, you'll probably write more useful tests if you write them knowing what's going on in the code. In these cases, colocating the tests with the thing they're meant to be testing is really useful.

I find the problem with trying to move the tests up a level of abstraction is that eventually the code you're writing is probably going to change, and the tests that were useful for development the first time round will probably continue to be useful the second time round as well. So keeping them in place, even if they're really implementation-specific, is useful for as long as that implementation exists. (Of course, if the implementation changes for one with different edge cases, then you should probably get rid of the tests that were only useful for the old implementation.)

Importantly, this only works if the boundaries of the unit are fairly well-defined. If you're implementing a whole new sort algorithm, that's probably the case. But if I was just writing a function that compares two operands, that could be passed to a built-in sort function, I might look to see if there's a better level of abstraction to test at, because I can imagine the use of that compare function being something that changes a lot during refactorings.
by sim7c00 | 2025-08-30 13:59:02+00:00
perfect answer tbh just scrap server logs. sites that offer blogging capabilities as service should do that for their users and provide 'local analytics'. its really trivial to do :/ u get tons of info. if u need more a lot of webservers can also dish out additional logs for you. applications can also be trivially configured to track such things themselves at near 0 cost and effort.

hell, theres ready to use log collectors that will give u even nice dashboarding capabilities if you want to provide more fancy offerings in analytics. if ppl like that so much isnt it an easy sell? non invasive analytics?

(should be noted some platforms do this ofc.. :) )
by WhitneyLand | 2025-08-30 13:59:08+00:00
Not sure what you’re disagreeing with? Context window size limits are not artificial. It takes real time/money/resources to increase them.

There are a few ways to approach the problem. Pre-training on longer context lengths I’ve already mentioned. Fine-tuning techniques (like LongRoPE) I’ve already mentioned.

Inference time context extension tricks I didn’t mention because the papers I’ve seen seem to suggest there’s often problems with quality or unfavorable tradeoffs.

There’s no magic way around these limits, it’s a real engineering problem.
by akoboldfrying | 2025-08-30 13:59:08+00:00
> You can’t.

I like the digital signature approach in general, and have argued for it before, but this is the weak link. For photos and video, this might be OK if there's a way to reliably distinguish "photos of real things" from "photos of AI images"; for plain text, you basically need a keystroke-authenticating keyboard on a computer with both internet access and copy and paste functionality securely disabled -- and then you still need an authenticating camera on the user the whole time to make sure they aren't just asking Gemini on their phone and typing its answer in.
by ksec | 2025-08-30 13:59:11+00:00
The upcoming Zen6c will have 256 Core per socket, and dual socket gets you 512 Core. Since the Zen 6c support SMT while E-Core doesn't, the Zen6c would support 1024 vCPU in a single server!

I am looking forward to Zen6C vs Xeon 7-Ecore. Wondering about the cost / pref.
by snowe2010 | 2025-08-30 14:00:20+00:00
We literally did start with that… that’s the current situation, everyone has parental toggles and yet millions of people get scammed for billions of dollars a year. You’re acting like we (and these massive corporations) haven’t been trying for decades at this point. And you’re saying we shouldn’t be trying more stuff, we should just stop and give up and let innocent people get scammed because you want to be able to run whatever on your phone.
by nwallin | 2025-08-30 14:00:24+00:00
> The universe [...] doesn't require infinite precision,

Doesn't it though?

What happens when three bodies in a gravitationally bound system orbit each other? Our computers can't precisely compute their interaction because our computers have limited precision and discrete timesteps. Even when we discard such complicated things as relativity, what with its Lorentz factors and whatnot.

Nature can perfectly compute their interactions because it has smooth time and infinite precision.
by giancarlostoro | 2025-08-30 14:00:48+00:00
I'm basically sold on Zed, it has everything I have wanted from an editor for years, and that's without the amazing other things that they added that I wasn't even envisioning. For years I've prototyped a few different editors because of frustration with the status quo. There's a lot of work that goes into a good editor, and Zed has definitely done the legwork.

I welcome them openly collaborating.
by rossdavidh | 2025-08-30 14:01:33+00:00
I have worked at places where, for a website that would require one server (or at most two or three, for redundancy), Kubernetes and React and all the trappings of a humongous website were implemented. It took me a bit to figure out why we were doing all this for a website which would basically just publish some static html: it was for resume building. The lead dev, and the project manager, were not working on that project (a website which would never get all that big), they were working on a resume for FAANG.

Once you see this, you see it everywhere. 90% of the places using "modern" web technology, are built as if they were anticipating FAANG scale, not because they are, but because the people building them hoped to be working at FAANG soon.
by no_wizard | 2025-08-30 14:01:45+00:00
I did PHP development for awhile, at 2 different places. One was a Laravel shop, the other was Symfony.

My biggest takeaway is Laravel is fast to get up and going with and ship something, while Symfony actually scales and is far more easily maintainable

If I were to choose building an app I expect to last I’d choose Symfony every time
by username332211 | 2025-08-30 14:01:56+00:00
A ruling party having a catastrophic electoral position only for it to rapidly improve as election approaches is a fairly common phenomenon in modern democracies. Most recently, Canada was in that situation. Before that, Britain several times. There are plenty of historical examples as well, Reagan and Thatcher in their first re-elections for one.

The latter would have undoubtedly faced a revolution if Britain had no elections. Later, she'd go on to become an invincible electoral juggernaut.
by loredanacirstea | 2025-08-30 14:02:56+00:00
I have created a new email protocol for user-triggered email forwarding that proves email authenticity. Forwarded between different accounts of different users.

It is heavily influenced by the ARC protocol for automatic forwarding of emails between different accounts of the same user.

The protocol has options to prove the authenticity of an entire chain of forwarded emails between different users and also manage user consent.

I linked the docs here, with the protocol description. You can also find a technical demo video there.

I will announce when the Golang implementation is ready to be open-sourced: upvote if you are interested in this.
by mg | 2025-08-30 14:02:57+00:00
I'm fine with treating AI like a human developer:

I ask AI to write a feature (or fix a bug, or do a refactoring) and then I read the commit. If the commit is not to my liking, I "git reset --hard", improve my prompt and ask the AI to do the task again.

I call this "prompt coding":

https://www.gibney.org/prompt_coding

This way, there is no interaction between my coding environment and the AI at all. Just like working with a human developer does not involve them doing anything in my editor.
by causeway | 2025-08-30 14:03:08+00:00
> justice ... misunderstood as entailing equality

How about the view that inequality is fundamentally unfair and unjust because

(1) It is unfair and unjust if some have more goods than others due to factors that they are not fundamentally responsible for

(2) If determinism is true then no one is fundamentally responsible for anything

(3) Determinism is true
by anarticle | 2025-08-30 14:03:25+00:00
Start your archiving engines! There is the possibility all of these laws go against the consumer. When the economy gets bad, companies invent new fun ways to make number go up. After the last few years I stopped caring about streaming media due to all the pricing tiers, coming and going of shows, and ads(!). There’s too many platforms all with their own dumb rules and tiers. Download once, your brain knows you have it. Drives are cheap, data is expensive.
by justin66 | 2025-08-30 14:03:34+00:00
> In the military, pistols are carried by people who don't expect to use them.

On the other hand, the units that issue something other than the M17 (special operations groups use Glock 19s, can use suppressed HKs, or presumably even some of the old P226s or 1911s that are still in the inventory) expect to fight with them.

> They hoped to do better with the Beretta. The main criteria was that it should reliably fire when wanted, and reliably not fire when not wanted.

That design was rather a failure in that regard. Great pistols in a lot of ways, it's not difficult to be accurate with them, but there's a slide-mounted safety on it that is easy to accidentally actuate in the heat of the moment when racking the slide. (it's less user friendly than the much older 1911's safety, and weirdly, Beretta will sell you one today with a 1911-style frame mounted safety. I'm not sure when they created that.) When that happens the gun does not fire when the trigger is pulled. Perhaps someone somewhere has estimated how many people died that way over the gun's lifetime.

A modern, striker-fired pistol like a Glock or the M17 is undeniably more reliable when it's dirty, so there's also that.

That Beretta safety was always a bit of a misfeature and the civilian versions of the pistol are available with a simple de-cocker in its place. The safety feature of the Beretta (and of the P226, the pistol the military should have chosen for its standard over the Beretta if we're being honest) which is useful for avoiding accidental discharges is the heavy double-action trigger pull on the first shot.
by coldtea | 2025-08-30 14:03:41+00:00
>One even if funds go bust care of old people is basically done by young people chipping in and helping and that can go on.

If you mean "young people" in general, the fertility rate ensures they'll be less and less, and thus a heavier and heavier burdern to chip in for older people.

If you mean young people that are family, an increased (over 30%) number of old people won't have children or will have estranged children, and no help.

As for "AI and robots" don't bet on those either. It takes people to maintain an economy and an infrastructure that makes and deploys robots at any significant scale, and those will be scarce, and the demographic hit will make both productivity and consumption contract too. Societies increasingly can't even fix potholes and basic public services.
by cmontella | 2025-08-30 14:05:30+00:00
Glad someone found it useful! It's at least represents a more fleshed out working example, and it's in a little module so it's pretty self-contained and easy to read through.

> I'm assuming this isn't your first go at writing a compiler?

Not quite, the first real language I worked on was called Eve: https://witheve.com
by taurusnoises | 2025-08-30 14:05:57+00:00
> "I'm happy to be told that I'm wrong"

Been using shift+option+hyphen to make and use em-dashes (sans spaces) since at least 2005, when I got my first publishing job and also started blogging (so writing a ton more). I also use option+hyphen (en-dash) for date and number ranges. In my experience, ChatGPT consistently adds spaces around both.
by ath3nd | 2025-08-30 14:06:21+00:00
We are talking about Meta, the company that:

-was rhe main party in the Cambridge analytica saya misuse scandal https://en.wikipedia.org/wiki/Facebook%E2%80%93Cambridge_Ana...

- Was responsible for the genocide in Myanmar https://time.com/6217730/myanmar-meta-rohingya-facebook/

- Actually pirated books to train their trash llama AI and lied about it https://arstechnica.com/tech-policy/2025/02/meta-torrented-o...

- Had a sniffer backdoor on Android to track you even through VPN and incognitomodes, an approach shared with Yandex

https://localmess.github.io/

- The CEO repeatedly lied to congress https://www.independent.co.uk/news/world/americas/us-politic...

- They spent billions on the metaverse which shows how stipid and out of touch they are

And now we are surprised that they are sniffing your photos. Please, I won't be surprised if they sniff your photos even if you don't consent. At this moment it's absolutely clear that they are an adversarial actor which can't be trusted with absolutely anything.
by mdhb | 2025-08-30 14:06:26+00:00
I mean honestly, you and I are coming from very different places mentally. There’s just no scenario where I would be walking the streets in the US doing my normal day to day shit with a weapon to begin with.

I understand that’s become a very normalised thing to do there but is something that would get you laughed out of the bar in pretty much the rest of the English speaking world.

Again, I don’t know what to tell you other than I think there is a paranoid culture problem here where everyone is just terrified of everything all the time and nobody seems to know how to step back from the edge and deescalate or again like I keep saying learning how to ACTUALLY judge and manage risk. It’s an actual skillset that will serve you much much better than a weapon ever will.

The same thing goes for just learning how to not panic if you find yourself in a sketchy situation. The ability to remain calm is hands down the most impressive and helpful thing I’ve ever seen from the actually dangerous people I know and have spent time with in some capacity or another.
by housecarpenter | 2025-08-30 14:07:08+00:00
My first thought on reading your comment was to disagree and say no, we can have the exact value of 1, because we can choose our system of units and so we can make the square a unit square by fiat.

A better way to dispute the unit square diagonal argument for the existence of sqrt(2) would be to argue that squares themselves are unphysical, since all measurements are imprecise and so we can't be sure that any two physical lengths or angles are exactly the same.

But actually, this argument can also be applied to 1 and other discrete quantities. Sure, if I choose the length of some specific ruler as my unit length, then I can be sure that ruler has length 1. But if I look at any other object in the world, I can never say that other object has length exactly 1, due to the imprecision of measurements. Which makes this concept of "length exactly 1" rather limited in usefulness---in that sense, it would be fair to say the exact value of 1 doesn't exist.

Overall I think 1, and the other integers, and even rational numbers via the argument of AIPendant about egg cartons, are straightforwardly physically real as measurements of discrete quantities, but for measurements of continuous quantities I think the argument about the unit square diagonal works to show that rational numbers are no more and no less physically real than sqrt(2).
by sleepyguy | 2025-08-30 14:07:26+00:00
Anyone taking an ACE inhibitor for hypertension/protect the heart, or an SGLT2 inhibitor for diabetes, risks hyperkalemia (high potassium), irregular heartbeat, and muscle weakness. It's not as simple as starting a high-potassium diet.

These articles do not take into account that there are 10's of millions taking these types of drugs, where Potassium levels must be monitored carefully to prevent a slew of other problems.
by sigseg1v | 2025-08-30 14:07:59+00:00
Well said.

An example I encountered was someone taking the "KISS" approach to enterprise reporting and ETL requirements. No need to make a layer between their data model and what data is given to the customers, and no need to make a separate replica of the server or db to serve these requests, as those would be complex.

This failed in so many ways I can't count. The system instantly became deeply ingrained in all customer workflows, but they connected via PowerBI via hundreds of non-technical users with bespoke reports. If an internal column name changed or structure of the data model changed so that devs can evolve the platform, users just get a generic error about Query Failed and lit up the support team. Technical explanations about needing to modify their query were totally not understood by the end users and they just want the dev team to fix it. Also no concern in any way for pagination, request complexity limiting, indexes, request rate limiting, etc was considered because those were not considered simple. But those can not be added without breaking changes because a non-tech user will not understand what to do when their report in Excel gets a rate limit on 29 of the 70 queries they launch per second. No concerns about taking prod OLTP databases down with OLAP workflows overloading them.

All in all that system was simple and took about 2 weeks to build, and was rapidly adopted into critical processes, and the team responsible left. It took the remaining team members a bit over 2 years to fix it by redesigning it and hand holding non-technical users all the way down to fixing their own Excel sheets. It was a total nightmare caused by wanting to keep things simple when really this needed: heavy abstraction models, database replicas, infrastructure scaling, caching, rewriting lots of application logic to make data presentable where needed, index tuning, automated generation of large datasets for testing, building automated tests for load testing, release process management, versioning strategies, documentation and communication processes, depreciation policies. They thought that we could avoid months of work and keep it simple and instead caused years of mess because making breaking changes is extremely difficult once you have wide adoption.
by AnonC | 2025-08-30 14:08:46+00:00
This (targeted deminimis removal for China alone) is a difficult problem to solve reliably and complex. As seen with Nvidia chips or other products with export controls, in this case sellers will find a way to buy from China and route it through other countries to benefit from the exemption. In the end, sales by China may not be dented as much as one may believe it to be.

I understand your point that removing it for all is a blunt instrument and causes different problems and harms. Hopefully some policy adjustments are made with some trade offs.
by MegaDeKay | 2025-08-30 14:08:48+00:00
I've never had a Prusa but when I was doing my research before buying the printer a couple years ago, the bang for the buck wasn't even close. The Prusa's in my price range were all bed slingers, so slower and not great candidates for enclosed printing needed for filaments like ABS and ASA.

On the flip side, a Prusa is basically plug in and go whereas the Voron needs a lot of setup and calibration to get good prints out of it. That's all part of the experience, so that if something goes south with print quality down the road, you know where to start looking.

Perhaps the newest Prusa has closed the gap. IDK. Haven't followed the new designs since buying mine. But I have never regretted my purchase.
by DonHopkins | 2025-08-30 14:09:02+00:00
Another more constructive way to frame "de-professionalization" is "prosumerization", focusing more on the gain to consumers than the loss to professionals.

I was lucky to work on a AAA game called The Sims from 1997-2000, at the end of the era when a small team could make a product like that (the teams for The Sims 2-4 were enormous in comparison).

We didn't have the resources to ship a demo, so instead we focused on creating tools for user created content, releasing "SimShow" before the game was released to enable users to create and preview skins, so after it was released there was already a big collection of skins available (many that we could not have published ourselves like the Star Trek skins). So the fans were already producing content and sharing them on web sites themselves, before the release.

https://tcrf.net/Proto:The_Sims_(Windows)/SimShow

https://archive.org/details/sim-show

Then we released "Transmogrifier" to make custom objects, which was widely accessible because it only required inexpensive easy to use tools like Microsoft Paint or Photoshop, instead of requiring expensive and enormously difficult to use 3D editor tools like 3D Studio Max (Blender wasn't an option at the time).

https://sims.fandom.com/wiki/Transmogrifier

https://www.thesimstransmogrifier.com/TransmogrifierDocument...

Yahoo Groups were instrumental in enabling fans (kids, adults, even elderly) to make objects, share them, and help each other learn how to use the tools.

The great thing is that Sims mods gave people a purpose and motivation to learn powerful tools that would serve them well in many other aspects of life. I knew a grandmother who learned to use Photoshop just to make furniture for her grandchildren to play with.

Will Wright talks about the interrelationships of tool builders, content artists, web masters, story creators, collectors, browsers, and casual players, and organizes them into an ecological pyramid with many casual players at the base, then fewer collectors/browsers, storytellers, content artists, webmasters, and finally a few toolmakers at the apex.

SimFreak and SimSlice are a couple of prolific successful webmasters and toolmakers who met through the Sims community and got married, and are still producing some of the most amazing collections of integrated Sims objects like ZombieSims, and also working on projects with Will Wright's Gallium Studios:

https://simfreaks.com/

https://simslice.com/

https://zombiesims.com/

https://thealveys.us/

Will Wright on designing user interfaces to simulation games (1996) (donhopkins.medium.com)

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

https://donhopkins.medium.com/designing-user-interfaces-to-s...

Will Wright - Maxis - Interfacing to Microworlds - 1996-4-26

https://www.youtube.com/watch?v=nsxoZXaYJSk

Will Wright's Design Plunder (With Slides)

https://www.youtube.com/watch?v=c91IWh4agzU
Show HN: Scribe – LLM repo packer with MMR/PageRank, token-budgeting, HTML view
by CuriouslyC | 2025-08-30 14:09:07+00:00
Hi HN,

I made this tool because I was tired of babysitting repomix to get the code I wanted to provide LLMs packed in large repositories. Scribe uses token budgeting and a variety of IR algorithms to "just work" on any repo with no configuration.

Acknowledgements to repomix for a feature compatibility rubric and rendergit for the original HTML layout code.
by lmeyerov | 2025-08-30 14:09:44+00:00
I like growth-oriented startups in that it is more of a team sport here. The promotion is pretty directly tied to:

* Doing your part to make the revenue grow. For management, going from say $1M annual revenue in seed to $3M in A means the company can support 3X the staff. Joining a startup is basically a bet that you can outperform when unleashed.

* Surf that wave. Show it makes sense to put new hires below you vs above, or give you increasingly big responsibilities, etc, bc you managed the past ones well. Startups run to their limit so can feel like pressure cookers, and they're relatively small, so your demonstrated ability should be pretty apparent to hands-on leadership.

* Compensation comes out of that. Stock becomes worth more, you get bigger refreshers, more experience, new title, etc