MurphyA/hacker-news huggingface dataset:
by David-Guillot | 2025-10-10 09:18:07+00:00
Thanks to Chris to continue challenging his comfort zone (and mine!) and sharing his impressions and learnings with us!

I may be a little biased because I've been writing webapps with htmx for 4 years now, but here are my first thoughts:

- The examples given in this blogpost show what seems to be the main architectural difference between htmx and Datastar: htmx is HTML-driven, Datastar is server-driven. So yes, the API on client-side is simpler, but that's because the other side has to be more complex: on the first example, if the HTML element doesn't hold the information about where to inject the HTML fragment returned by the server, the server has to know it, so you have to write it somewhere on that side. I guess it's a matter of personal preference then, but from an architecture point-of-view both approaches stand still

- The argument of "less attributes" seems unfair when the htmx examples use optional attributes with their default value (yes you can remove the hx-trigger="click" on the first example, that's 20% less attributes, and the argument is now 20% less strong)

- Minor but still: the blogpost would gain credibility and its arguments would be stronger if HTML was used more properly: who wants to click on <span> elements? <button> exists just for that, please use it, it's accessible ;-)

- In the end I feel that the main Datastar selling point is its integration of client-side features, as if Alpine or Stimulus features were natively included in htmx. And that's a great point!
by alias_neo | 2025-10-10 09:18:51+00:00
Is it accurate these days? I recall there was some point where Amazon locked them out of deal prices etc, and I guess it also doesn't account for vouchers that apply at checkout?

I was looking at one of the GMKTek Ryzen AI Max boxes and it's overpriced by ~£1000 with a ~£1000 voucher to apply at checkout; or is this part of some other "scheme"?
by maelito | 2025-10-10 09:18:53+00:00
> Since then, teams everywhere have discovered the same thing: turning a single-page app into a multi-page hypermedia app often slashes lines of code by 60% or more while improving both developer and user experience.

Well, not at all. The only compelling reason for me to use server-side rendering for apps (not blogs obviously,they should be HTML) is for metadata tags. That's why I switched from pure React and everything has been harder, slower for the user and more difficult to debug than client-side rendering.
by lelanthran | 2025-10-10 09:18:55+00:00
> Good C code will try to avoid allocations as much as possible in the first place.

I've upvoted you, but I'm not so sure I agree though.

Sure, each allocation imposes a new obligation to track that allocation, but on the downside, passing around already-allocated blocks imposes a new burden for each call to ensure that the callees have the correct permissions (modify it, reallocate it, free it, etc).

If you're doing any sort of concurrency this can be hard to track - sometimes it's easier to simply allocate a new block and give it to the callee, and then the caller can forget all about it (callee then has the obligation to free it).
by somenameforme | 2025-10-10 09:19:20+00:00
LLMs have no desire for anything. They're algorithms and this anthropomorphicization is nonsense.

And no, the best tokens to predict are not "consistent", based on what the algorithm would perceive, with the previous tokens. The goal is for them to be able to generate novel information self-expand their 'understanding'. All you're describing is a glorified search/remix engine, which indeed is precisely what LLMs are, but not what the hype is selling them as.

In other words, the concept of the hype is that you train them on the data just before relativity and they should be able to derive relativity. But of course that is in no way whatsoever consistent with the past tokens because it's an entirely novel concept. You can't simply carry out token prediction, but actually have have some degree of logic, understanding, and so on - things which are entirely absent, probably irreconcilably so, from LLMs.
by jychang | 2025-10-10 09:20:10+00:00
This isn't illegal but feels like it should be illegal. You don't see corporate officers trade their stocks right before a big announcement, because there are laws on it.

Other than the fact that polymarket is legally not a stock market, what really is the difference between insider trading on a stock market vs insider trading on polymarket? Does anyone have a good argument for why one should be illegal while the other is legal?
by lelanthran | 2025-10-10 09:21:00+00:00
> Why does "good" C have to be zero alloc?

GP didn't say "zero-alloc", but "minimal alloc"

> Why should "nice" javaesque make little sense in C?

There's little to no indirection in idiomatic C compared with idiomatic Java.

Of course, in both languages you can write unidiomatically, but that is a great way to ensure that bugs get in and never get out.
by unsupp0rted | 2025-10-10 09:21:15+00:00
Is the Nobel Peace Prize given to people who accomplished a lot as individuals (like Maria Corina Machado) or people who accomplished a lot at scale without doing much beyond a few phone calls and document-signings, like Trump?

Because a few phone calls and document-signings can bring about many orders of magnitude more "peace units" in the world, if backed by the world's largest economy and the world's most effective military at projecting power.
by jakubmazanec | 2025-10-10 09:21:25+00:00
I share your feelings. If you like React and its trade-offs, and you're comfortable using it (based on various HN discussion the easiest sign is that you're able to understand the concept of hooks and you don't have the need to wrongly yell everywhere how it's a bad abstraction :D), you can forget about Datastar or HTMAX.
by Lumoscore | 2025-10-10 09:21:28+00:00
This is a great tool, but the reality is that chasing fleeting incentives is how retail tokens are built. If you are a builder looking to create something with real, enduring value, that path is completely different.

The "HunterAirdrop" mentality is a distraction from the massive shift happening in institutional finance: the Real-World Asset (RWA) revolution. This means putting high-value assets (like a $10,000 piece of equipment or commercial real estate) on the blockchain.

If you are a builder, you need to ask: Do you want your asset to be a temporary bounty, or a permanent, globally tradable token?

Forget chasing fleeting incentives. Utility tokens—especially those tied to real-world assets—are the key to building lasting value in finance. Ready to stop hunting and start creating? Lumos Core is (https://lumoscore.com/) democratizing the RWA revolution. You can launch your own secure, high-utility token on our platform for an unbelievable $25, instantly crushing the old, expensive minting platforms.
by itake | 2025-10-10 09:21:41+00:00
Fraudsters (may) trick AI by holding up a photo copied version of the original tricking the AI to think its looking at the real thing.

Either the fraudster or the true human can request an appeal and the support staff could easily tell which one is tricking the AI and which one is not.

You can see all the videos of people trying to trick the Apple face lock. To a human, it was obvious they are wearing a mask. To the device, its the same person.
by alias_neo | 2025-10-10 09:21:57+00:00
I don't buy stuff on Amazon just because it's on sale, but I do have a few things in my Wish List that I want to buy but only when they're at a price I'm happy with; many of them have been there for years.

Whenever I see a price change, and I'm not ready to buy, I add a note in the wish list notes with the current price, essentially tracking every price I see it at "by hand".

During sales I check back, and for ~90% of items in my list, they're higher not just than the lowest price I've recorded, but also many of the previously higher prices.

At this point I'm not even bothered about really ever buying much of this stuff on there, but it's fun to track the data even at a small scale like this.
by Tade0 | 2025-10-10 09:22:13+00:00
A while ago a train line that's around a kilometre from my place reopened after 20 years and I wanted to use it, as it would outright teleport me to the city centre in 8 minutes having no stops in between(vs 20min by tram), but it appears to depart every 1,5h on average and isn't very compatible with commuting.
by TrackerFF | 2025-10-10 09:22:32+00:00
There has been some speculation that if Trump didn't win this one, he'll lose all motivation in making peace, at least in the near future. Like for example Gaza.

The man has the shortest attention span in history, and needs constant dopamine hits to continue on something.

But as I said in another thread, María Corina Machado is more than worthy - and well deserved. It is just such a shame that Trump will likely throw the biggest tantrum, and destroy stuff, for no other reason that he didn't get the big shiny thing he wanted.
by ncruces | 2025-10-10 09:23:01+00:00
In the past half century, “progressives” have pushed through huge societal advances (particularly) across Europe in areas of family rights, women's rights, gay rights, minority rights, worker's rights.

Things that were anathema in my very Catholic country just 20 years ago (divorce, abortion, gay marriage, assisted dying, but also maximum work hours, minimum wage policies, equal pay policies, women's quotas, tax funded subsidies/pensions for people who never contributed to social security, etc) are now so mainstream that even “conservatives” (never mind “centrists”) have co-opted most of them.

But for certain leftists, “ideological purity” apparently trumps all of those advancements.

Now, we're starting to find out what “ideological purity” looks like when that gets co-opted by the right side of the spectrum. And it's not pretty.
by nurettin | 2025-10-10 09:23:25+00:00
Yes, I have lots of opinions!

I guess the question at spotlight is: At what point would your custom server's buffer overflow when reading a header matter and would that bug even exist at that point?

Could a determined hacker get to your server without even knowing what weird software you cooked up and how to exploit your binary?

We have a lot of success stories born from bad code. I mean look at Micro$oft.

Look at all the big players like discord leaking user credentials. Why would you still call out the little fish?

Maybe I should create a form for all these ahah.
Easy Cloud Storage Solution for Individuals? – Try MeshDrive
by hardikprl94 | 2025-10-10 09:23:52+00:00
Hi Fellow Readers, As someone who's struggled to manage personal data in the cloud, I've tried many solutions. The existing cloud storage options are great, but they can be costly. And while on-premise solutions offer reliability and control, they require technical expertise that not everyone has.

I built Mesh Drive, a simple solution that lets you set up your own cloud storage without any management required! No more tedious tasks or worrying about infrastructure.

Give it a try: https://cloud.vistrix.in

Features:

Minimal features for now (but growing!)

Trial license available on First-In-First-Out basis

Cheap storage solution
by ACCount37 | 2025-10-10 09:25:03+00:00
If I had to fight Deep Blue and win? I'd pick a writing contest over a game of chess.

For AIs, having incredibly narrow capabilities is the norm rather than an exception. That doesn't make those narrow superhuman AIs any less superhuman. I could spend a lifetime doing nothing but learning chess and Deep Blue would still kick my shit in on the chessboard.
by defrost | 2025-10-10 09:25:08+00:00
> That's not really an argument against what I was suggesting, is it?

No, that's pretty much just a tangential straw interpretation of your own design as the signal quality in Kimberley, or lack thereof, has got three tenths of f'all to do with the issue being population distribution rather than size.

Both Europe and the US have low population regions with poor signal.

Upthread I suspect the anecdata about good quality signal in Europe came from somebody who had more exposure to the well trod higher population density parts of Europe and hadn't encounter less covered corners.
by Theofrastus | 2025-10-10 09:25:29+00:00
I tried an ergonomic keyboard with just 3x10 keys (or rather since it was a split keybaord, 2x3x5). I found that I am unwilling to spend the time to learn how to use it, type special characters, numbers, etc. Especially since most of my training time would need to take place during work, where I didn't want to take that huge initial efficiency hit. In the end, I chose a ZSA Moonlander and I'm super happy with it, even though it might have too many keys for enthusiasts ;)

That being said, I do have a soft spot for handheld hacker keyboards like this. It reminds me of the cyber future we all dreamed of when we were younger, when tech was still cool and exciting. Very cool project!
by brucehoult | 2025-10-10 09:25:30+00:00
Thumb2 was the most compact mainstream 32 bit ISA [1] when the competition was RV32IMAC, but recent RISC-V standard extensions -- such as those implemented in the Hazard3 core in RP2350 -- put RISC-V ahead.

I think long term failing to follow through with what they learned in Thumb2 in their 64 bit ISA will prove to be one of Ram's biggest (technical) mistakes. They thought they only competition they had to match was amd64.

[1] if you don't count Renesas RX as mainstream. It's a better-encoded variation on M68k/Coldfire with 1-8 byte instructions (and an actually good use of 1-byte for e.g. short conditional branches)
by bargainbin | 2025-10-10 09:26:35+00:00
I’ve not tried Datastar in anger but I have tried HTMX after all the hype and it quickly became unmaintainable.

My dream was having a Go server churning out all this hypermedia and I could swerve using a frontend framework, but I quickly found the Go code I was writing was rigid and convoluted. It just wasn’t nice. In fact it’s the only time I’ve had an evening coding session and forgotten what the code was doing on the same evening I started.

I’m having a completely opposite experience with Elixir and Phoenix. That feels like an end to end fluid experience without excessive cognitive load.
by toofy | 2025-10-10 09:27:34+00:00
ive said it before and at the risk of sounding repetitive:

ive almost entirely stopped shopping online. it was rough at first, particularly since i kind of fell out of the loop on which stores carry what, but once i mostly figured that out its honestly so much nicer.

almost all of my christmas gifts were done at actual stores. and just everyday shit like random car lights to clothes to picture frames to bookshelves to random little gifts to journal notebooks, etc... its been such an improvement.

i kept finding myself sending back ridiculous amounts of stuff because the pictures and descriptions were either outright misleading, outright lying, or i just wouldnt read close enough. its pretty rad to hold the item in your hand, know exactly the size, the weight, feeling, color, material, etc... and just know you're getting exactly what you want right now in the exact moment.

and the thing that surprised me the most? how much i actually enjoy people. i know it sounds entirely ridiculous but even just being helped by someone or checked out by a person felt right. ive never been an anti-social or anxious person, ive always had regular social life with friends and coworkers, but shopping with real people was working a social muscle that i hadn't realized was atrophying so badly.

and it gave me an excuse to get out of the house often for something other than work or partying.

anyway, of course amazon was going to go this way, we see it over and over and over again. none of us are shocked.
by goobatrooba | 2025-10-10 09:28:54+00:00
I use these for various European Amazon (often cheaper to buy from the Amazon next door - and shipping is still free) and it's astonishing how bad they are. It's the new Amazon systems of vouchers (in € or %), temporary offers etc that these sites can't keep up with. I saw some products before prime day with a 20% voucher that were more expensive on prime day (10% reduced but no more voucher) but the price trackers showed them as cheapest ever.

Honestly at this point I compare rather with bol, idealo, guenstiger and tweakers and am then usually better off not buying from amazon.
by seanthemon | 2025-10-10 09:29:42+00:00
Hi Mike! If you spent 9 months writing this book by hand, couldn't you do the courtesy of commissioning an artist to make you a cover image by hand as you clearly see the value of doing things by hand and not stealing the hard work of all the artists who have worked tirelessly to make art by hand only for AI to steal that work and for you to prompt it in seconds.

Put more effort into respecting other art forms and you might not get this reception next time.
by t43562 | 2025-10-10 09:29:59+00:00
For me the "criminal" thing is that Pypy exists on a shoestring and yet delivers the performance and multithreading that others gradually try to add to cpython.

It's problem is, IMO, compatibility. Long ago I wanted to run it on yocto but something or other didn't work. I think this problem is gradually disappearing but it could be solved far more rapidly with a bit of money and effort probably.
by hatsuseno | 2025-10-10 09:30:57+00:00
I'll be entirely honest here, this kind of game is generally up my alley but I clicked off when I came across the list of available cities to build in being exclusively in the US. Not even a fictional playground for messing around in the engine, just "US primacy or bust", doesn't inspire confidence for a full release down the line. Not that I don't understand why it's like this, pulling the required real-world data is hard enough as it is, but it will limit the market I think.
by fragmede | 2025-10-10 09:31:18+00:00
I won't be alive for the era when we're able to bio engineer beings that have eyes in their hands, but you just gave me a new idea to sit down with ChatGPT and have a nice chat about.

Also, now that I've typed that out, "sit down with ChatGPT and have a nice chat about." is a helluva thing to say.
by disgruntledphd2 | 2025-10-10 09:31:46+00:00
> Even if this is completely correct, you would be paid more in California, right?

Correct, at the time it was about a 50% increase. However, given my food & shelter costs it would have ended up being more expensive for me to live in California.

The post I replied to was about high levels of taxation, which exist in the US also (the treatment of capital gains would have been much more favourable to me).
by leg100 | 2025-10-10 09:31:53+00:00
I don't think the article does a good job of summarising the differences, so I'll have a go:

* Datastar sends all responses using SSE (Server Side Events). Usually SSE is employed to allow the server to push events to the client, and Datastar does this, but it also uses SSE encoding of events in response to client initiated actions like clicking a button (clicking the button sends a GET request and the server responds with zero or more SSE events over a time period of the server's choice).

* Whereas HTMX supports SSE as one of several extensions, and only for server-initiated events. It also supports Websockets for two-way interaction.

* Datastar has a concept of signals, which manages front-end state. HTMX doesn't do this and you'll need AlpineJS or something similar as well.

* HTMX supports something called OOB (out-of-band), where you can pick out fragments of the HTML response to be patched into various parts of the DOM, using the ID attribute. In Datastar this is the default behaviour.

* Datastar has a paid-for Pro edition, which is necesssary if you want certain behaviours. HTMX is completely free.

I think the other differences are pretty minor:

* Datastar has smaller library footprint but both are tiny to begin with (11kb vs 14kb), which is splitting hairs.

* Datastar needs fewer attributes to achieve the same behaviours. I'm not sure about this, you might need to customise the behaviour which requires more and more attributes, but again, it's not a big deal.
by jjcob | 2025-10-10 09:32:07+00:00
Rice syrup + corn syrup are used in pretty much every savory dish, subway stations often have a bakery that sells sweet pastries (filled with bean paste), Starbucks style coffee drinks are also popular, people snack dried octopus (loaded with salt + sugar)...

I loved the food, but it was not at all what anyone would consider healthy.

(Instant Ramen are also extremely popular, industrially produced fried noodles with way too much saturated fats + sodium)
by lycopodiopsida | 2025-10-10 09:32:14+00:00
I think, the "useful" part is more covered by libraries than everything else, and the stability and flexibility of the core language certainly helps with that. Common Lisp is just not very popular (as every lisp) and does not have a very big ecosystem, that's it.

Another point for stability is about how much a runtime can achieve if it is constantly improved over decades. Look where SBCL, a low-headcount project, is these days.

We should be very vigilant and ask for every "innovation" whether it is truly one. I think it is fair to assume for every person working in this industry for decades that the opinion would be that most innovations are just fads, hype and resume-driven development - the rest could be as well implemented as a library on top of something existing. The most progress we've had was in tooling (rust, go) which does not require language changes per se.

I think, the frustrating part about modern stacks is not the overwhelming amount of novelty, it is just that it feels like useless churn and the solutions are still as mediocre or even worse that what we've had before.
by eru | 2025-10-10 09:32:31+00:00
They managed to increase rail's share of overall transport. Reversing long running trends from before.

> Commuters end up using the train because they're more or less forced to [...]

Rail transport had been losing passenger share. Did the private companies somehow figure out how to 'more or less force' people to take the train? Why couldn't the government rail do that before?
by metalman | 2025-10-10 09:33:20+00:00
I keep meaning to lean into this and start offering doom prep services alongside the other stuff I do, working with metal and all other media, living off grid, and messing with the systems involved, but most of the supper rich are fucked up when it comes to anything practicle, and require more hand holding than I can put up with.still, I can smell all those yummy guilders and krugerand just down the road
by alias_neo | 2025-10-10 09:33:33+00:00
I've been on the lookout for a partial keyboard for my left hand for gaming;

Recently, I started trying to play Helldivers 2 online with some family members but find on my mechanical keyboard that I get hand cramp very quickly, most of the keys needed are in bottom-left of the keyboard and I have big hands, and my keys take a lot more pressure than is ideal for gaming.

I bought a Razer Tartarus Pro but found it was basically useless on Linux.

Does anyone here have any suggestions of something that I could use? I tried to use a controller to see if that would help, but no matter what I did I couldn't get any controller (PS5, XBox One S, Switch Pro) to actual provide input to the game under Proton despite working fine in other games.

I'm playing on Steam/Proton on CachyOS.