MurphyA/hacker-news huggingface dataset:
by mullingitover | 2025-05-17 17:29:07+00:00
Here's an example of how the government invests: the government uses the revenue from bonds to build a bridge. That bridge delivers returns on the investment in the form of tolls. These pay back the bonds with interest and continue to pay dividends to the government.

Another: the government uses bonds to build core infrastructure for a city. That infrastructure allows businesses to set up shop in the city. The business activity yields tax revenues, which pay back the bonds with interest and continue to pay dividends long term.

Multiply that by hundreds of thousands to millions of investments in infrastructure, people, services, etc.
by demarq | 2025-05-17 17:29:49+00:00
Not sure I agree or maybe we do.

I think JavaScript should remain simple. If we really need this functionality we can bring in defer. But as a 1:1 with what is in golang. This in between of python and golang is too much for what JavaScript is supposed to be.

I definitely think that the web needs a second language with types, resource management and all sorts of structural guard rails. But continuing to hack into JavaScript is not it.
by cb321 | 2025-05-17 17:30:42+00:00
BTW, there's some analysis of some of the hash functions you mentioned (pjw, FNV1A, or djb) over here https://github.com/nim-lang/Nim/issues/23678 - just in-page search for "pjw" to find a table. Really only 1 cpu & 1 C compiler (though there was some solicitation of more breadth).

Those byte-at-a-time hashers really are pretty slow unless your strings are very short (like under 3..6 bytes - which, hey, they might be!). Further down there are some plots/graphs with a little more compiler/cpu variety but fewer hash functions. Kind of a long thread, but maybe informative. Anyway, pictures are worth thousands of words and all that.

EDIT: and FWIW, there's even some preliminary analysis of this new rapid hash TFA is about towards the bottom, but it may be an older, slower version.
by echelon | 2025-05-17 17:30:52+00:00
The amount of indie N64 development happening right now is wild. The platform is flourishing.

The system has seen a dozen of its most popular games decompiled [1] into readable source files, which enables easy porting to PC without an emulator. It also enables a ton of mods to be written, many of which will run on the original hardware.

There are numerous Zelda fan remakes [2]. Complete games with new dungeons and storylines.

The Mario 64 scene is on fire. Kaze has deeply optimized the game [3], and is building his own engine and sequels. If you like technical deep dives into retro tech, his channel is literally golden.

Folks are making crazy demos for the platform, such as Portal [4], which unfortunately brought Valve's lawyers' attention.

Lost games, such as Rare's Dinosaur Planet [5], have leaked, been brought up to near production ready status, been decompiled, and have seen their own indie resurgence.

[1] https://wiki.deco.mp/index.php/N64

[2] https://m.youtube.com/watch?v=bZl8xKDUryI

[3] https://m.youtube.com/channel/UCuvSqzfO_LV_QzHdmEj84SQ

The whole channel is gold. He has dozens of deep dives like this: https://m.youtube.com/watch?v=DdXLpoNLywg

And his game and engine are beautiful: https://youtu.be/Drame-4ufso

[4] https://m.youtube.com/watch?v=yXzoZ2AfWwg

[5] https://m.youtube.com/watch?v=s0QSiPRmWaI
by morsecodist | 2025-05-17 17:31:36+00:00
I feel it doesn't make sense to conflate resource management with garbage collection. The cleanup actions here are more like releasing a lock, deleting temporary files, or closing a connection. This doesn't lead to a lack of safety. These resources already need to deal with these uninitialised states. For example, consider a lock management object. You shouldn't assume you have the lock just because you have a reference to the manager resource. It's totally normal to have objects that require some sort of initialization.
Show HN: AlphaFold 3 runs on Tenstorrent Wormhole now
by molli | 2025-05-17 17:34:50+00:00
Boltz-1 is an improved version of AlphaFold 3 that is fully open-source. TT-Boltz is my Boltz-1 fork that runs on a single Tenstorrent Wormhole card.

The goal is to free biotech from complex hardware, proprietary software and dependence on a monopoly.

Current runtime:

- AMD Ryzen 5 8600G: ~45 minutes - Tenstorrent Wormhole n300: ~10 minutes - Nvidia T4: ~9 minutes - Nvidia RTX 4090: ~2 minutes

We didn't even start writing low-level code yet and Tenstorrent Blackhole was just released. I'm confident we'll get to 2 minutes.

I build in public on X: https://x.com/moritzthuening
by bluejekyll | 2025-05-17 17:35:04+00:00
I really like this advice, but aren’t these two examples the same, but yet different advice?

// Good? for walrus in walruses { walrus.frobnicate() }

Is essentially equivalent to

// BAD for walrus in walruses { frobnicate(walrus) }

And this is good,

// GOOD frobnicate_batch(walruses)

So should the first one really be something more like

// impl FrobicateAll for &[Walrus] walruses.frobicate_all()
by soruly | 2025-05-17 17:35:45+00:00
Japan has lots of IC cards in various regions, and they have spent a lot of effort integrating their system. Unfortunately some IC cards like Kumamon decided to opt-out due to high maintenance fees.

AFAIK, you can go through up to 4 different company networks once you enter paid-area. Beyond that, you'll need to do the override settlement (乗り越し精算) with the help of station staff.

https://en.wikipedia.org/wiki/Nationwide_Mutual_Usage_Servic...
by s1artibartfast | 2025-05-17 17:36:19+00:00
I see. I think there is a lot of baggage with the insurance analogy, like probability and conditional payout which are absent.

The money isnt held in a dedicated account with your name on it. However, how much you pay in is rigorously tracked and used to directly to determine how much you get.

The closest thing is a pension. Like a pension, SS pays out X% of your taxable salary. X is progressive with high earners heavily subsidizing low earners.

SS starts by paying out 90% of taxable salary in the lowest bracket. As income goes up, this reduces to paying out 15% in the top bracket. The brackets are referred to SS bend points.
by pshirshov | 2025-05-17 17:37:31+00:00
> Wikipedia shares my assessment

Everything is wrong with this statement but no, please educate yourself.

> An operating system isn't a binary executable

In many cases it exactly is a binary executable, but in some cases one may say that it's just a binary blob containing a filesystem image. If you can build with any level of reproducibility, you are doing great.
by KronisLV | 2025-05-17 17:37:38+00:00
> Moreso than nearly any other language backwards compatibility has been key to java.

The Java 8 and 8+ divide very much works against this. It was a needed change (much like Python 2 vs 3) but nowhere near pleasant, especially if some of your dependencies used the old Java packages that were removed in, say, OpenJDK 11.

Furthermore, whenever you get the likes of Lombok or something that has any dynamic compilation (I recall Jaspersoft having issues after version upgrade, even 7 to 8 I think), or sometimes issues with DB drivers (Oracle in particular across JDK versions) or with connection pooling solutions (c3p0 in particular), there's less smooth sailing.

Not to say that the state of the ecosystem damns the language itself and overall the language itself is pretty okay when it comes to backwards compatibility, though it's certainly not ideal for most non-trivial software.
by bobsh | 2025-05-17 17:37:56+00:00
Wow! I have been in a potentially unhealthy love relationship with Oberon (especially the -07 version, once it appeared) since the mid 1990s. It has no basis in reality, my obsession, that I am aware of. But, so, on the one hand, I "get it" about Oberon. And, also, Forth - very long time Forth fan here! But, but, why, for DUSK, are you doing this? I hope you have the coolest frickin' reasons ever! :-)
Ask HN: AI Product Bootcamp / Accelerators – Worth it or a new scam?
by sherdil2022 | 2025-05-17 17:38:44+00:00
I keep seeing ads for these in my IG feed now. Anyone here went through these programs? Are they like the coding bootcamps - minting money for themselves while providing little to no use programs? Or any genuine omes out there you found useful in helping you launch?
by salamanderman | 2025-05-17 17:40:19+00:00
Moving preconditions up depends what the definition of precondition is. There's some open source code I've done a deep dive in (Open cascade) and at some point they had an algorithm that assumed the precondition that the input was sorted, and that precondition was pushed up. Later they swapped out the algorithm for one that performs significantly better on randomized input and can perform very poorly on certain sorted input. Since the precondition was pushed up, though, it seems they didn't know how the input was transformed between the initial entrance function and the final inner function. Edit - if the precondition is something that can be translated into a Type then absolutely move the precondition up and let the compiler can enforce.
by paleotrope | 2025-05-17 17:40:41+00:00
Seems there are two things going on here that is being conflated.

1. The amount of "culture" being created has to be like a magnitude of order greater than 25 years ago. Of course you can't watch all those shows and movies't now. There are too many and it's too much.

2. The algorithms were developed to help with this problem. They are just a poor match for the problem.
by adsharma | 2025-05-17 17:41:54+00:00
> Not only is Pyrefly written in a new language (Rust instead of OCaml), but its design deviates in a major way from Pyre.

I'm sure you had reasons to do it this way. But given sufficient time to market, implementing the algorithm in pyre and then tooling/llm assisted conversion to pyrefly would've been preferable.

May be you'd have had some humans in the loop initially. But that tech is getting better and aligned with the direction Meta and the rest of the industry are taking.

Yes, I'm biased :)
by bigyabai | 2025-05-17 17:42:30+00:00
Unfortunately, this means the mantle of security is passed onto the user. If you're alarmed by what's happening in America, you want to self-host your stuff. Pray fascism never comes to your doorstep, but be prepared to fight if it does.

Indeed both security and privacy are basically derelict in the first world. The seeds of authoritarian rule are sown in many places.
by whatwhaaaaat | 2025-05-17 17:42:30+00:00
Politics isn’t a line. Center in most countries is “fine with whatever the government tells me” from forced medical experimentation to genocide.

You’re right tho in that it does seem like people who reject the lies their government tells them may be slightly more likely to say things that upset you on the internet (since I’m guessing that’s what you mean by persicution)
by mrweasel | 2025-05-17 17:42:41+00:00
Having worked in the hosting and colo business in Scandinavia, it's normally not cheap. It's been a few years, but you're starting around €500 per month (in 2016 I think we could get you started at €350) and frequently you'll need to take at least a quarter of a rack.

Most hosting companies doesn't even really want colocation anymore, it's sort a niche product.
by jcmontx | 2025-05-17 17:42:59+00:00
What a great read. I've lived all of my professional life (2014-) shipping productive code by just pushing to repos or specific branches. I avoid getting into mobile app development due to what a pain it is to get to the stores and stay compliant with ever-changing policies. I can't even imagine what was like delivering software in a cartridge or CD without a chance to update afterwards. It feels like such a titanic endeavor
by kennu | 2025-05-17 17:44:20+00:00
My main issue in the EU is that cloud platform services are not very mature compared to AWS, Azure, GCP. They have some of the basic stuff like VMs and storage, but almost nobody has FaaS and the smaller services like SQS, SNS, scalable pay-per-request database like DynamoDB, etc. I hope these things become available so that it becomes possible to build scalable serverless apps here. Ultimately these services should be standardized like S3 did for storage.
by MrJohz | 2025-05-17 17:45:46+00:00
That's also possible, and it's common when using this pattern, but the specific syntax in the original question was I believe property access, and not part of a property literal. I didn't bring that up because I thought my comment was long enough and I wanted to explain that specific syntax. But yeah, you also have this syntax to set properties in object literals, and a similar syntax in classes.
by SparkyMcUnicorn | 2025-05-17 17:46:12+00:00
One-click updates work from the dashboard? I don't think they would.

Of course you don't have to go the proxmox route, but it is an easy route.

I have a proxmox cluster, so moving things between machines, high availability, and backups are a breeze. Had an SSD go bad a few months ago, and I just moved everything on that machine to another node until the new drive showed up. It was a pleasant experience.

There's plenty of other ways to achieve this, but this is what I chose and I'm happy with it. It's simple, and I can manage everything from my phone if needed.
by lapcat | 2025-05-17 17:46:33+00:00
It felt like the first 3 (or 2.5) paragraphs, which were arguing that Bjork needed an official website, were a bit of a tangent from the main argument of the article, which was that we need more professional critics, but social media has essentially defunded and dethroned them.

I'm personally ambivalent about the argument. I'm old enough to have lived in a time before the rise of the web and social media. However, my youthful tastes were much more mainstream than my current tastes. Thus, I never really needed to find obscure content without the web. Nowadays I'm not a big fan of popular culture, but on the other hand my taste doesn't seem to match well with professional critics either. So how do I find stuff? My "process" is very hit-and-miss. I sample a bunch of stuff that sounds interesting to me, and if I don't actually find it interesting, I bail out ASAP. Streaming media sites are good for this kind of scattershot approach. I also go the public library, browse the shelves, and just randomly check out several books that I might like. Perhaps the majority turn out to be duds, but I've found a number of diamonds in the rough that way, books that I never would have read otherwise. (Incidentally, the library also provides access to sites such as https://www.kanopy.com/)

I don't feel the need to stay current on culture. The books, films, and TV shows that I find might be recent, or they might be quite old. There's plenty of good stuff from the past that for whatever reason I never encountered until now. If you're following the professional critics, you'll likely only be learning about new content; it's not that the critics didn't talk about old stuff before, but it's just as difficult to find old critical discussions about old content as it is to find the old content itself. How else but randomly will you find reviews of obscure stuff from 20 years ago?

[EDIT:] Thinking back to my preteen years, the public library was also crucial for me then. I remember discovering influential works such as Frank Herbert's Dune and Plato's Apology there, just browsing the shelves.
by AStonesThrow | 2025-05-17 17:46:58+00:00
I stopped reading when they accused Nature of being "mindless" and "random". The sheer hubris involved in scientists sniffing their own farts and declaring one another to be the king of knowledge. Disgusting arrogance.

I can conceive of more than a few mindless and random pursuits within Science that would save us a lot of money and heartache, if they were abandoned.
by miki123211 | 2025-05-17 17:47:09+00:00
I wonder whether it is possible to make a fake card that generates a new key / ID / whatever on each use.

If so, this would completely break the offline part of the system. You couldn't rely on hotlists of known-hacked cards any more, you'd need to check each (new) card with a central system to see if its key was ever actually issued to anybody.

This is assuming there's an actual list of currently issued keys anywhere, if such a list doesn't exist, the whole system would be done for.

The fact that some smartphones can emulate NFC-F doesn't help either. If a hacking technique is ever discovered, we can get from the system being fully secure, to anybody being able to issue themselves undetectable cards for any amount, in the matter of days.

With counterfeit physical cards, you can at least try to shut down manufacturers and issue long prison sentences to the dealers selling them on the black market. The criminal activity has to happen in the country where the cards are used by definition, so that country can bring its law enforcement to bear. If all you have is an Android apk and some source code released by three guys in Russia, there's very little you can do.

If such a system were designed in the 2020s, you could establish a CA-like system, where each card's key must be signed by a chain of certificates. This way, thoroughly hacking just one card wouldn't help, as its key could easily be revoked, and you couldn't issue new ones without hacking the (presumably airgapped) card manufacturing systems that contain the signing keys. I don't think a system from the late '80s does this, though.
by nayuki | 2025-05-17 17:47:09+00:00
This proposal reeks of "What color is your function?" https://journal.stuffwithstuff.com/2015/02/01/what-color-is-... . The distinction between sync functions and async functions keeps intruding into every feature. As we can see here, there are Symbol.dispose and Symbol.asyncDispose, and DisposableStack and AsyncDisposableStack.

I am so glad that Java decided to go down the path of virtual threads (JEP 444, JDK 21, Sep 2023). They decided to put some complexity into the JVM in order to spare application developers, library writers, and human debuggers from even more complexity.
by vladms | 2025-05-17 17:47:29+00:00
I honestly think we have more tools and they are more powerful than "before".

I would give an example: find a weekend hike.

Before (20-30 years ago): you need to have a book (for profit, curated) or a map (for profit, less info). You needed to rely on other people or on previous experience. Hard to know what changed since the info was collected.

Now: multiple websites both hike focused and more generic that give you reviews, photos, comments. Generic websites (openstreetmap, google maps) that allow you to check further details if you wish so, some with open data.

I think people should take more responsibility and stop blaming so much "the algorithm" and "the profit". It's the same as with smoking. Even if most people agree it is bad for health, 1 in 5 people still smoke.
by rbanffy | 2025-05-17 17:47:44+00:00
MercuryOS reminds me of the Apple Lisa - The way it managed applications invisibly was a step in the direction of selecting tools based on intentions. It was a document-centric system, which MercuryOS isn't, but a step in the same direction.

For some time, Windows 95 (IIRC) had a Templates folder. You'd put documents in it and you could right-click a folder and select New->Invoice or something similar based on what you had in the Templates folder. It was similar to Lisa's Stationery metaphor.
by guerby | 2025-05-17 17:48:08+00:00
Ways to present LDL-C and statins benefits vary widely, the graph in the article present statins and reduction of LDL-C as a god send.

However some very large study show a seemingly different story, eg:

https://pmc.ncbi.nlm.nih.gov/articles/PMC9798292/

"Association between low-density lipoprotein cholesterol and cardiovascular mortality in statin non-users: a prospective cohort study in 14.9 million Korean adults"

Figure 1 shows a hazard ratio higher for both lower LDL-C and higher LDL-C level, with a large flat part of the curve in between.

Curious if someone has an explanation
by dejobaan | 2025-05-17 17:48:23+00:00
While I'm really happy we have faster systems now, there was something fun about about having to subvert constraints in games, and so satisfying and lovely when you did it right.

HN folks are probably familiar with raster interrupts (https://en.wikipedia.org/wiki/Raster_interrupt) and "racing the beam." I always associated this with the Atari 800. You weren't "supposed" to be able to do stuff like https://youtu.be/GuHqw_3A-vo?t=33, but Display List Interrupts made that possible.

What I didn't know until recently was how much Atari 2600's games owed to this kinda of craziness: https://www.youtube.com/watch?v=sJFnWZH5FXc

It's stuff like this that makes me think that if hardware stopped advancing, we'd still be able to figure out more and more interesting stuff for decades!
by WarOnPrivacy | 2025-05-17 17:49:25+00:00
Here are some discussions about OTC'ng statins from NIH.

https://pubmed.ncbi.nlm.nih.gov/16516588/ https://pmc.ncbi.nlm.nih.gov/articles/PMC8109468/ https://pmc.ncbi.nlm.nih.gov/articles/PMC8109854/

While reading them, feel free to wonder if budgetarily carpet-bombing NIH is in our national interest.
by corysama | 2025-05-17 17:49:38+00:00
Around the end of the PS2’s lifetime, some engine dev friends of mine figure out to do palletized spherical harmonic lighting on the PS2. That was pretty straightforward.

What was tricky was a separate technique to get real cubemaps working on the PS2.

Unfortunately, these came too late to actually ship in any PS2 games. The SH trick might have been used in the GameCube game “The Conduit”. Same team.
by keybored | 2025-05-17 17:50:01+00:00
It’s the same argument we see again and again. Someone might say that we need “human cultural artifacts”. Then someone says, “but what is human cultural artifacts”? Then they follow up with how rubbing neurons together in response to stimuli is in principle as mechanistic as whatever language models do. From there they lean on incredulity: well I don’t know anything about human beings other than reductionist tropes, but I sure see no reason to make any distinctions between silicon and carbon.
by noduerme | 2025-05-17 17:50:06+00:00
And now that no one trusts any kind of expert, we've ended up with millions of various conspiracy peddlers believed by billions too uneducated to even begin to parse fact from fiction. Sort of like taking the centralized religion/opinion/censorship problem and smashing it into tiny shards that get on everything.

At least when there were 2, 3, or 10 curated sides to a story, with sources and expertise to draw on, a somewhat literate person could draw some conclusions on which parts of each were valid.
by calcifer | 2025-05-17 17:50:14+00:00
> Taxes fully depend on the current mood of the government. The fee does a bit of indirection limiting the direct influence.

Yes. In fact, that was the whole point of various "arms length" bodies - publicly owned, but largely shielded from political influence. Of course, this government took a gleeful sledgehammer to that principle by abolishing NHS England and assuming direct control via the Ministry of Health. We'll see how many institutions will be similarly butchered in the remaining 4 years.
by emorning3 | 2025-05-17 17:50:17+00:00
This decision only makes sense it saves more lives than the number of lives that will be lost because of it.

It seems to me like it should totally be possible to do the math here and figure it out. Compute the lives saved and compute as many of the lives that will be lost. For instance, statins are a risk to pre-diabetics, and to children, and to etc...

There better be a very large difference. That's the bottom-line argument that I would have attempted to make.