MurphyA/hacker-news huggingface dataset:
by ithkuil | 2025-04-17 05:46:14+00:00
The way I understood this article, the problem Fibonacci hashing seems to solve is that it turns a hashing strategy that would require a prime modulo into something that can use a power of two modulo.

I think there are some hashing functions around that are already designed to solve that problem at "step 1".

So the question just boils down to which is faster
by delusional | 2025-04-17 05:46:27+00:00
From that thread:

> The semi translucent spectres causing VGA reads were very bad on that machine, causing <5FPS if there were multiple on screen. I learned to shoot them on sight and from a distance.

I absolutely love that. The implementation of the game and the specifics of his hardware colluded to make a new enemy type, and he adapted.

What a cool story.
by dspillett | 2025-04-17 05:48:47+00:00
> Usually the attacker, on their own computer, or some other server they have root on, will open a port and expose it to the internet and listen. The exploit payload will then make an outbound connection to that port. Once it's connected, the exploit will give the attacker's computer shell access. Search terms include 'reverse shell'.

Also "reverse tunnel" as a more general term, it can open any service not just those giving shell access. There have been similar hacks where the implanted tunnel have access to databases that weren't properly secured (anyone remember back when SQL Server defaulted to having a blank password for "sa" and many didn't change that thinking their firewall, which was really little more than a simple NAT setup, was sufficient protection?).

This is why there is the mantra "NAT is not a firewall": if something internal has no business making outgoing connections it should be blocked as well as incoming connections being difficult (also because there are various other NAT busting attacks too).
by Root_Denied | 2025-04-17 05:49:25+00:00
>The hardest to kick for me now is YouTube Premium.. And in AU it's like $33/month AUD, but I just can't stand ads.

Any reason you're not just running network level AdGuard and Firefox with Ublock Origin to block all ads on your home network? Even just FF+UBO would block YouTube ads.

The selfhosted subreddit is also a really good resource to use for interesting things to run.
by michalsustr | 2025-04-17 05:51:40+00:00
I’m not familiar with Haskell concurrency. The combination of green threads and large memory allocations due to immutable data structures sounds like it would be hard to implement a web server handling 10k+ concurrent requests on commodity hardware?

Btw. too bad author talks about microsecond guarantees usage but does not provide a link, that would be interesting reading.
by kbelder | 2025-04-17 05:53:10+00:00
Not maliciousness. Incompetence.

Bot traffic is notoriously stupid, reloading the same pages over and over, surging one hour and then gone the next, getting stuck in loops, not understand html response codes... It's only gotten worse with all the AI scrapers. Somehow, they seem even more poorly written than the search engine bots.
by tetha | 2025-04-17 05:54:19+00:00
At the end of the day, we were worried about exactly these issues - if an application has to reload certs once every 2 years, it will always end up a mess.

And the conventional wisdom for application management and deployments is - if it's painful, do it more. Like this, applications in the container infrastructure are forced to get certificate deployment and reloading right on day 1.

And yes, some older application that were migrated to the infrastructure went ahead and loaded their credentials and certificates for other dependencies into their database or something like that and then ended up confused when this didn't work at all. Now it's fixed.
by yorwba | 2025-04-17 05:56:05+00:00
The 2B4T model was literally released yesterday, and it's both smaller and better than what they had a year ago. Presumably the next step is that they get more funding for a larger model trained on even more data to see whether performance keeps improving. Of course the extreme quantization is always going to impact scores a bit, but if it lets you run models that otherwise wouldn't even fit into RAM, it's still worth it.
by reed1234 | 2025-04-17 05:56:34+00:00
There is definitely cause to sound the alarm, but I didn’t think it’s a full blown constitutional crisis. It’s one district judge against one action by the administration. That doesn’t mean ignore court orders is acceptable and there should be backlash. However, I view a constitutional crisis in this case as more of universal contempt of court. Maybe that is just a semantic argument but this seems to be a discussion about semantics.
by theturtle32 | 2025-04-17 05:57:27+00:00
And the discount was never even big enough for me to even consider taking that risk for a moment! $395 new, but then returned and restocked with that sticker and only marked down to $390? Nah. I always wondered who was actually dumb enough to fall for that.

Only time I ever considered it was when the returned one was the only one left.
by garrettgarcia | 2025-04-17 05:57:32+00:00
I just checked the statute and the 2019 ruling and was surprised to discover that you are correct.

2019 Ruling: https://www.courtlistener.com/docket/69777799/1/1/abrego-gar... Referenced statute: https://www.justice.gov/sites/default/files/eoir/legacy/2014... Statutes on where an alien may be deported to: https://uscode.house.gov/view.xhtml?req=granuleid:USC-prelim...
by chrismorgan | 2025-04-17 06:02:04+00:00
> Financially, a proper gTLD also can't raise prices unilaterally and weirdly, while if you pick a ccTLD, the country has free reign to arbitrarily change prices, delete your domain, take over your domain, etc etc.

Look into what’s happened with pricing on domains like .org and .info. They’re increasingly absurd, with the restrictions on price increases that once were there largely being removed, at the pushing of the sharks that bought the registrar. Why are these prices increasing well above inflation rate, when if anything the costs should go down over time? Why is .info now almost twice as expensive as .com?
by gnabgib | 2025-04-17 06:02:56+00:00
Discussion (133 points, 6 hours ago, 100 comments) https://news.ycombinator.com/item?id=43711376

Related:

2023 Webb Discovers Methane, Carbon Dioxide in Atmosphere of K2-18B (235 points, 135 comments) https://news.ycombinator.com/item?id=37468342

2019 Water found on a potentially life-friendly alien planet (606 points, 384 comments) https://news.ycombinator.com/item?id=20944005
by yawaramin | 2025-04-17 06:02:57+00:00
From the final code, this is called for every rendered post:

const post = await getPost(postId);

But...we should basically never be doing this. This is totally inefficient. Suppose this is making a network call to your Postgres database to get the post data. It will make the network call N number of times. You are right back at the N+1 query problem.

Of course if you're using SQLite on a local disk then you're good. If you have some data loader middleware that batches and combines all these requests then you're good. But if you're just naively making these requests directly...then you're setting up your app for massive performance problems in the near future.

The known solution to the N+1 query problem is to bulk load all the data you need. So you need to render a list of posts, you bulk load all their data with a single query. Now you can just pass the data in directly to the rendering components. They don't load their own data. And the need for RSC is gone.

I'm sure RSC is good for some narrow set of cases where the data loading efficiency problems are already taken care of, but that's definitely not most cases.
by yalok | 2025-04-17 06:03:07+00:00
Around 8 years ago I saw an AT&T truck on our street, and the guys installing some fiber into our street conduits. I was ecstatic & started checking AT&T website periodically to see when the service will be enabled.

Guess what? It's still not enabled. AT&T only did it because there was a risk that Google Fiber will do it in our city. Unfortunately, IIUC, Google never could overcome local regulations and abandoned the project. So, AT&T didn't care to light up their fiber (that was already in the ground & ready to go!!!).

Comcast doesn't offer any cable in my location neither.

I've been seriously tempted to do it myself too, but doubt I'll ever have time for that - mostly to overcome the local bureaucracy to get all the permits...

Huge respect to Jared!
by motorest | 2025-04-17 06:03:27+00:00
> I've used AI with "niche" programming questions and it's always a total let down.

That's perfectly fine. It just means you tried without putting in any effort and failed to get results that were aligned with your expectations.

I'm also disappointed when I can't dunk or hit >50% of my 3pt shots, but then again I never played basketball competitively

> I truly don't understand this "vibe coding" movement unless everyone is building todo apps.

Yeah, I also don't understand the NBA. Every single one of those players show themselves dunking and jumping over cars and having almost perfect percentages in 3pt shots during practice, whereas I can barely get off my chair. The problem is certainly basketball.
A Scalable Standard for Clean ECommerce Data in LLMs (Fork of Llms.txt)
by nicola_alessi | 2025-04-17 06:03:28+00:00
The Problem: LLMs are terrible at understanding eCommerce sites. They: Hallucinate prices/specs from messy HTML Waste tokens on UI boilerplate (headers, popups, ads) Struggle with real-time inventory/pricing updates

Our solution: A fork of Answer.AI’s llms.txt that introduces site-llms.xml, an XML sitemap protocol for product data.

Stores expose: /site-llms.xml: Index of all product URLs /product/123/llms.txt: Clean Markdown with specs/pricing (example in repo)

Benefits: AI gets structured data instead of scraping Stores control what’s exposed (like robots.txt) Scales to millions of products (sitemap indexes supported)

We’re open-sourcing this under CC BY-SA (same as sitemap protocol). Would love HN’s thoughts:

Is this the right abstraction? Could it work for non-eCommerce sites?

Repo: github.com/Lumigo-AI/site-llms (stars welcome!)
by hakfoo | 2025-04-17 06:04:14+00:00
Part of the reason for a crash was that the deluge of low-quality games hit a wall of limited retail space.

The retailer had to be much more of a curator. I'd be unsurprised if plenty of them lacked the knowledge and foresight to pick winners, so they ended up with racks full of lemons (like the famously bad 2600 Pac-Man) that eventually had to be flogged off at clearance prices. This also made it hard to have a breakout hit-- even if you did everything technically right, was it going to be in the right stores in the right quantity when lightning struck?

Part of it was also, of course, that the 2600 was running out of gas as a platform, it was going to be harder and harder to keep interest up, but that could have been more of a gradual fizzle (like how 8-track tapes or pre-revivial vinyl faded from the market) instead of a dramatic pop.

With digital distribution and a "pay on purchase" selling model, Valve can stock 170,000 titles without any real risk on their part. At worst, the search tools get a bit clumsier, but it's easy enough to put "trending/popular/liked by friends" features in place, and "Lamia Princess Dating Sim XVI" is still there waiting for the 6 people who want it... until it goes viral and sells six hundred thousand copies.
by 085744858 | 2025-04-17 06:04:53+00:00
Except that technology is on the side of anonymity this time. LLMs can provide a pretty solid defense against such attacks — just ask ChatGPT to rewrite your message in a random writer's style. The issue is that you'll end up sounding like an LLM, but hey, tradeoffs.

Using throwaways whenever possible mitigates a lot of the risk, too.
by M4v3R | 2025-04-17 06:06:20+00:00
Btw Ive also asked this question using Deep Research mode in ChatGPT and got the correct answer: https://chatgpt.com/share/68009a09-2778-8004-af40-4a8e7e812b...

So maybe this is just too hard for a “non-research” mode. I’m still disappointed it lied to me instead of saying it couldn’t find an answer.
by ars | 2025-04-17 06:06:22+00:00
That's a wild comment? I find the reverse to be wild. It would never even occur to me to care what comment the attendant would give me about the ticket. You would actually pay attention to what he said?

I would care about just one thing: Will he reduce my ticket or not. The rest of his words are empty and meaningless.

And for the record ads don't work on me, mostly because I almost never hear an ad for something I might actually buy, the few times they are relevant the product is too expensive so instead I buy the same thing but without a brand name. (So I guess thanks for giving me the idea of a new product I might like?)
by sandreas | 2025-04-17 06:07:36+00:00
I personally use Jellyfin ONLY for Video stuff.

AudioBookShelf[1] is for audiobooks and podcasts.

For music I use

navidrome [2]

The smart playlist feature[5] is awesome. Having 3 services instead of one seems overkill, but specialized apps instead of one generic one feels different. One interesting aspect of navidrome is, that it has implemented the Subsonic API, which MANY Apps make use of. My personal favorite is

Substreamer [3]

but you could also go with DSub[4] or others.

1: https://www.audiobookshelf.org/

2: https://www.navidrome.org/

3: https://substreamerapp.com/

4: https://f-droid.org/en/packages/github.daneren2005.dsub/

5: https://www.navidrome.org/docs/usage/smartplaylists/
by garrettgarcia | 2025-04-17 06:07:58+00:00
Yes, first there will be two weeks of discovery and depositions, which the DOJ will try to appeal. Then there will be a contempt hearing for some bureaucrat, probably Neom or one of her subordinates. Then that will be appealed to the 4th circuit court of appeals. Then it will be appealed to the Supreme Court if the DOJ loses there.
by goku12 | 2025-04-17 06:08:20+00:00
Big corporations are not monoliths, despite them having an overall singular personality. I believe that vscode was a sincere attempt, at least in the beginning. While based on electron which was originally developed for Atom, vscode was always much more performant than atom.

But when it did gain a lot of developer attention, MS's true nature took hold and gradually converted it into the walled garden we see today. It was more subtle in the beginning - a few useful extensions were proprietary and wouldn't work on non-MS builds of vscode for some unspecified reason. It was like a gentle nudge to the developers to migrate to their opaque proprietary builds. Of course, we have seen that before, haven't we?

As an aside, if you like vscode but hate the manipulation, you should give the Eclipse Theia editor [1] a try. It's an almost complete reimplementation of vscode and is compatible with the extensions from OpenVSX. I believe that they have fairer alternatives for collaborative editing, etc. At least, they will spare you the manipulation.

[1] https://theia-ide.org/
by ianpenney | 2025-04-17 06:09:43+00:00
The detection of dimethyl sulfide on an exoplanet is an exciting development, ok. And DMS on Earth is almost entirely biologically sourced, but that doesn’t make it an exclusive biosignature. There are plausible abiotic pathways for DMS formation, such as in geochemistry we can’t know entirely about because we live on earth.

I’m not sure a journalist for this exalted American newspaper here knows anything about this and frankly the excited language of this article is dumb af. Probably because excited people keep paying for subscriptions to this trash.

It took my amateur self nearly 10 mins to ask around to qualified friends and research some counter ideas.
by YetAnotherNick | 2025-04-17 06:10:23+00:00
I wish there are benchmarks for these scenarios. Anyone who has used LLMs know that they are very different from human. And after certain context, it become irritating to talk to these LLMs.

I don't want my LLM to excel in IMO or codeforces. I want it to understand my significantly easier but complex to state problem, think of solutions, understand its own issues and resolve it, rather than be passive agressive.
by int_19h | 2025-04-17 06:10:49+00:00
TANSTAAFL. With flat pricing, companies have incentives to downgrade you to cheaper models - which currently strongly correlates with worse quality of output - or, more likely, to trim context significantly and hope you won't notice.

But yes, there should absolutely be ways to track usage, ideally before the prompt is even submitted for processing (maybe for >N tokens per query, where N can be specified in settings but has a reasonable default).
by eru | 2025-04-17 06:11:28+00:00
> [...] large memory allocations due to immutable data structures sounds [...]

Why would there be large memory allocations because of immutable data structures? Btw, you can also use immutable data structure in eg Rust fairly easily. And Haskell also supports mutation and mutable data structures.

However, Haskell can use a lot of memory, but that's more to do with pervasive 'boxing' by default, and perhaps laziness.
by imtringued | 2025-04-17 06:12:03+00:00
I don't know how it happened, but Intel completely dropped out of the AI accelerator market.

There are really only three competitors in this market with one also-ran company.

Obviously it's Nvidia, Google and tenstorrent.

The also ran company is AMD, whose products are only bought as a hedge against Nvidia. Even though the hardware is better on paper, the software is so bad that you get worse performance than Nvidia. Hence "also ran".

Tenstorrent isn't there yet, but it's just a matter of time. They are improving with every generation of hardware and their software stack is 100% open source.
by Galanwe | 2025-04-17 06:12:44+00:00
The question is what do you do to prevent it?

Complaining on social media is fine, but that won't solve the problem.

As a European, I'm shocked at how complacent the public has been. I've lived in France and people do global strikes and widespread civil unrest for a change of retirement law. Yet in the US a dictatorship emerges and you have small demonstrations here and there and spicy comments on social media. That won't change things.
by stevan | 2025-04-17 06:12:53+00:00
> Warp is a high-performance HTTP server library written in Haskell, a purely functional programming language. Both Yesod, a web application framework, and mighty, an HTTP server, are implemented over Warp. According to our throughput benchmark, mighty provides performance on a par with nginx.

Source: https://aosabook.org/en/posa/warp.html
by _1tem | 2025-04-17 06:13:30+00:00
Any law has only been as good as the people enforcing it, and this has always been the case in every country and every time period. You are delusional if you think that a piece of paper (i.e the “Law”) has any power whatsoever. When has “your status as citizen” ever protected you? Only when the people in power like you. Remember when the Obama administration ordered a extrajudicial killing of an American citizen by drone strike?
by DarkmSparks | 2025-04-17 06:14:24+00:00
The government is giving them money, the letter is informing them they will stop funding them if those committing crimes (racism is the crime here) are not removed from offices of power within the institution.

So Harvards response is to vigorously defend their right to hire racist criminals. They of course have that right.

But the US Government is also well within their rights to no longer fund them anymore in that situation. Which I'm pretty sure will be the only hard outcome from Harvards response.

They absolutely have the right to not cooperate, the US govt has no obligation to fund racist crayon munching idiots.
by christianqchung | 2025-04-17 06:14:24+00:00
"Kennedy also claimed most autism cases are severe before citing a statistic from the report that said 25 percent of children with autism are nonverbal. HHS did not respond to a question as to whether the 25 percent statistic accounts for all severe cases."

The tricky thing about a (probably misleading) statistic like that is 0% of the autistic people I know are nonverbal, but I suppose if I know them in any real capacity, they have to be verbal. Anyway, this freakout about autism seems overblown to me. Can any RFK championers explain this one to me?
by friendzis | 2025-04-17 06:14:26+00:00
> suddenly it's all the same music you've already been listening to, very little new music.

However, if you expose the gods of the algorithm to a new artist, suddenly all the auto-generated feeds will try to include that band regardless of fit. Weird how these "social graph" systems tend to form and perpetuate bubbles.

On top of that, there are some weird shenanigans with meta-data. Listening to "foreign" bands may very easily taint the weekly mix with songs in a language you don't even understand and probably don't care about. An anecdata of course, I just looked at my "daily mix x", which appears to be in my local language, but with styles all over the place. Another mix contains mostly correctly turn of the century romantic pop.

I suspect the algorithm biases heavily on metadata so that it could be easily fed "albums/artists that publisher x paid to promote".
by agumonkey | 2025-04-17 06:15:08+00:00
Even as a young kid I noticed that split. The NES included some posters and flyers listing all the original line up of games, with the same visual design (even cartridges stickers) and they were all simple arcade-like games. It already felt vintage even though this wasn't my generation, and rapidly the feel of games changed radically, it also merged with the current culture, with tv shows and movies of the 80s.
by jszymborski | 2025-04-17 06:15:36+00:00
Leaving music streaming services has been a great excuse for me to rediscover music blogs like Gorilla vs. Bear and Stereogum, or even local culture magazines.

Another great way for discovering music I've found is just perusing Bandcamp, which is where I buy most of my music anyway. Love finding local artists, so I just put in some genre filters and the location filter. Found multiple great bands this way.

As for keeping abreast of new releases, Bandcamp is pretty good for that too. You can just follow artists and you get emails when new releases or merch or tours come around.