MurphyA/hacker-news huggingface dataset:
by bookofcooks | 2025-08-04 11:18:33+00:00
Hey, author here! Ask me anything!

I want to make the intent of this blog post extremely clear (which tragically got lost when I got deep into the writing).

I love HTMX, and I've built entire sites around it. But all over the internet, I've seen HTMX praised as this pristine perfect one-stop-solution that makes all problems simple & easy (or at least... easier than any framework could ever do).

This is a sentiment I have not found to be true in my work, and even one where the author of HTMX spoke out against (although I can't find the link :(

It's not a bad solution (it's actually a very good solution), but in real production sites, you will find yourself scratching your head sometimes. For most applications, I believe it will make ALMOST everything simpler (and lighter) than traditional SPA frameworks.

But for some "parts" of it, it is a little tricker, do read "When Should You Use Hypermedia?" [1];

In the next blog post (where we'll be implementing the "REAL" killer features), I hope to demonstrate that "yes, HTMX can do this, but it's not all sunshine & rainbows."

---

On a completely separate note, one may ask, then, "why use HTMX?" Personally, for me, it's not even about the features of HTMX. It's actually all about rendering HTML in the backend with something like Templ [2] (or any type-safe html templating language).

With Templ (or any type-safe templating language), I get to render UI from the server in a type-safe language (Golang) accessing properties that I KNOW exist in my data model. As in, the application literally won't compile & run if I reference a property in the UI that doesn't exist or is of the incorrect type.

You don't get that with a middle-man API communication layer maintained between frontend and backend.

All I need now is reactivity, and htmx was the answer. Hope you understand!

[1] https://htmx.org/essays/when-to-use-hypermedia/#if-your-ui-h...

[2] https://templ.guide/
by IanCal | 2025-08-04 11:18:53+00:00
I feel like nobody cares really and none of the companies care, but are all worried because of the massive stranglehold 2 players have (and realistically each has almost entire control).

Mastercard don't care you want porn, or games, or whatever. Neither does VISA. They like money. They want money and want people to move their money so they can siphon off some of it for their own pockets. Almost nobody is going to avoid using a bank because their card provider let some other people buy rude games on steam.

The payment processors don't care. They want you to send money through them so they can take their cut.

Steam doesn't care. The people making the games don't care. They all just want to sell stuff.

The only thing that impacts this really is chargebacks, which iiuc are much more common with adult stuff.

But payment processors can't guarantee what mastercard or visa will do, and players like steam (and they're huge, this is not about tiny store issues) can't guarantee what payment processors will do and given the potential downside - blocking all sales - people need to be careful.

While I can see how these situations come up, it's also absolutely insane as an end result because I just want to give *my money* to someone else. I've ended up using crypto before for buying things, not for ideological reasons, but purely because I could buy them and then give them to someone else for the "flagged as risky" goods/services because I couldn't pay for things using my money and my card.
by berkes | 2025-08-04 11:19:23+00:00
Entirely.

The argument often heard though is 'but windows'. Though if windows lacks env (or Cron, or chroot, etc) the solution would be to either move to an env that does support it, or introduce some tooling only for the windows users.

Not build a complex, hierarchical directory scanner that finds and merges all sorts of .env .env.local and whatnots.

On dev I often do use .ENV files, but use zenv or a loadenv tool or script outside of the projects codebase to then load these files into the env.
by recsv-heredoc | 2025-08-04 11:20:58+00:00
Of course - but all things being equal, your odds will certainly be better if you give it your best shot!

I'd intended my message to be one of actual hope and optimism - that those in the position to do so may affect a small positive change in the world at the individual level. This might be myopic by ivory-tower standards, but the intention was to empower and encourage people not to give up, and that their actions do have a measurable effect on their destiny.

We might not be able to change the circumstances easily (We certainly should be trying to do so), but parallel to this we can support and encourage those going through the tough times.

Many Gen-Zs are demonstrating remarkable resilience - this post was intended as a celebration of that, not to downplay the severity of the society-wide issues at play.

Thanks for the fair critique.
by Hoodedcrow | 2025-08-04 11:21:10+00:00
A few corrections: - Matrix does not require you to host a server, even if I'd prefer it - there are multiple public ones in various jurisdictions. - There is XMPP - like Matrix, but older, jankier, much lighter and kind of freer. - Weird to call Simplex "centralized" if you did acknowledge that it's selfhostable... But it's indeed weird that last I've seen, there's not some directory with the public servers like there is for Matrix/XMPP. They seem to be going with adding other servers to defaults instead, like they did with Flux recently.
by nudgeOrnurture | 2025-08-04 11:21:11+00:00
> I gave up on social media years ago.

You didn't give up. You got cancelled, via recursion. But they made you believe you had agency in the matter. you are exactly in that segment of people that could cause overflow and bring the sentiment beyond a tipping point.

It's not just the words the media use, that's just the tip of the iceberg.

What's worse is that they made people feel good for supporting factually conflicting causes. "I'm helping refugees." Not "I'm helping refugees who caused a war in their country and then ran without any regard whatsoever about what will happen to the people they left behind. They are not telling the truth but I take their word for things anyway because I get to feel good."

Genocides then become almost irrelevant because if you support conflicting causes, there is no need or reason to oppose conflicting causes.

It's what I noticed in Germany in the past 11 years since the Syrian war. Everybody should get to live their lives was the perspective only as long as those same people abide by the same pattern, which was supporting conflicting causes in conflicting ways, making opposition to the conflicting part an absolute negative and supporting the overall thing a positive.

This way people got cancelled without actually getting cancelled. And those people then believed "they gave up", "their energy wasn't worth it", "they can't do anything on these public channels", which is true of course.

Short attention span platforms are the wrong way. Not enough space and time for brands and labels. Twitch, YT, lots of fuss and pomp. Twitter and reddit then for the scandalous meta talk about you or about how you were treated or how someone reacted and so on rather then the message itself. And when I say "you", I mean anyone who wants to play that game.
by reedf1 | 2025-08-04 11:21:19+00:00
It's funny actually, I totally get that Office Space and Dilbert are pisstakes of office culture, but it has never really worked on me because I'm actively envious of their work arrangements. I work in an open plan office where, everyone can see everyone's screen, you can see who is at their desk. I would die for a cubicle. Every job I've had my line manager sits next to me, and their boss sits nearby, etc. Work seems to end when they clock off. They seem to have time for sit down out of office lunches. Their work hours seem shorter.
by lionkor | 2025-08-04 11:21:41+00:00
Countries with a (still capitalist) social support system manage this with parents' time off; the mother and father can request a significant amount of paid time off, which is separate to the government mandated 20 or so days per year of paid vacation, and it essentially can't be denied.

Before you say it'll be exploited; the largest economy in Europe does this and it works wonderfully, and so do many others.
by bookofcooks | 2025-08-04 11:22:03+00:00
Exactly my idea.

This Github demo was pulled straight out of some work I was doing for the Admin of Prayershub (https://prayershub.com).

Working on this specific feature (the soundtrack uploader) though, I reguarly asked myself "what if I just used Svelte or SolidJS"?

Note, Prayershub uses a regular mix of HTMX and SolidJS, so I can pop-in SolidJS whenever I find convenient.
by pbronez | 2025-08-04 11:22:06+00:00
That is a really interesting idea. Did some napkin math:

Consumer printers can reliably handle 300 Dots Per Inch (DPI). Standard letter paper is 8.5” x 11” and we need a 0.5” margins on all sides to be safe. This gives you a 7.5” x 10” printable area, which is 2250 x 3000 Dots. Assume 1 Dot = 1 QR Code module (cell) and we can pack 432 Version 26 QR codes onto the page (121 modules per side; 4 modules quiet space buffer between them).

A version 26 QR code can store 864 to 1,990 alphanumeric characters depending on error correction level. That’s 373,248 to 859,680 characters per page! Probably need maximum error correction to have any chance of this working.

If we use 4 dots per module, we drop down to 48 Version 18 QR codes (6 x 8). Those can hold 452-1046 alphanumeric characters each, for 20,000 - 50,208 characters per page.

Compare that at around 5000 characters per page of typed English. You can conservatively get 4x the information density with QR codes.

Conclusion: you can add a machine-readable appendix to your text-only PDF file at a cost of increasing page count by about 25%.
by simion314 | 2025-08-04 11:22:50+00:00
>The only thing that impacts this really is chargebacks, which iiuc are much more common with adult stuff.

I think this makes no sense, like "we makes less profits from adult stuff because of charge back, so let\s give up on this profits". Anyway this companies did not use this excuse so why do this old excuse is resufecing now if they did not use it.
by liam-gray | 2025-08-04 11:23:02+00:00
I know it's a meme at this point, every six months someone comes along with a new fastest hasher, and this is yet another (sorry!).

Rapidhash is a non-cryptographic, general purpose hash function that:

- Passes SMHasher3's full hash quality benchmark suite

- Provides minimal DoS resistance in the same manner as foldhash and ahash

- Has stable/portable hashing and streaming variants

- Is incredibly fast without requiring any hardware acceleration on both x86 and ARM

I've heavily optimised the rapidhash rust crate's RapidHasher to make it competitive with other non-cryptographic hash functions on common use cases. Other hashers may still outperform for specific workloads (gxhash is blazing fast for hashing long strings on targets with AES instructions for example), but rapidhash performs incredibly well across the foldhash benchmark suite on all platforms without any special compiler flags.

This upgrade seems to make rapidhash a go-to general-purpose hash function when a cryptographic function isn't required.

Benchmarks have been provided for various platforms. All feedback and critique welcome!

Edit: list formatting
by defraudbah | 2025-08-04 11:23:44+00:00
not surprised, lenovo has tons of models like L13, X13, N13, how on earth as a regular human am I supposed to make sense of it? Now I have a rollable screen, what does it even mean..

there are so many things I don't understand, same with foldable phones. I am also super happy companies like framework exist, give me a few choices, I don't need much, I want to forget times of tetrising my PC when I was a kid.
by threatofrain | 2025-08-04 11:24:17+00:00
You only use the popular React form libraries when you want utmost control over your forms. Like as you type into a registration form you check off boxes for password requirements, and you only show errors after they’ve touched it once.

Otherwise vanilla forms are great in React. If you did this by hand in Vue or vanilla it would also be hell.

Also in terms of maintenance burden the top libraries in this space are massively popular. Most here would likely be making a great maintenance burden decision in offloading to well reputed teams and processes rather than in housing your own form and validation library.
by ddtaylor | 2025-08-04 11:24:31+00:00
I mean they kind of do. Most of the time I would hand wave away any company offering gift cards or credits, but Steam has created an economy / structure that I think warrants mentioning here.

I have sold a few items on Steam because I don't care about cosmetics in games. I'm also lazy and because of that "sat" on items for a while that appreciated. I mention this because Steam credit is very fungible: it can be easily converted.

Steam also makes it very easy to redeem credit, gift, etc.

I believe you can buy Steam cards at most places Xbox cards and similar are sold as well.

Also in the early days of Bitcoin buying and selling of digital Steam assets was one of the most popular things.
by throw0101d | 2025-08-04 11:24:39+00:00
> Pure ipv6 will never happen because the weak link breaks the chain.

Define "pure". Jen Linkova has been running IPv6-only networks on Google's corporate networks for several years now:

* https://www.youtube.com/watch?v=UTRsi6mbAWM

She is a chair of the 6man WG (and involved in the v6ops WG), and has authored ten RFCs:

* https://datatracker.ietf.org/person/furry13@gmail.com

Microsoft also is IPv6-only on corporate networks (so more of their IPv4 addresses can be moved to Azure to produce revenue):

* https://www.arin.net/blog/2019/04/03/microsoft-works-toward-...

The author of that article, Veronika McKillop, is head of the UK IPv6 Council:

* https://www.youtube.com/@ukipv6council468/videos

where you'll find lots of videos on ISPs and other institutions doing IPv6-only or IPv6-mostly (especially nowadays with DHCPv4 Option 108, RFC 8925).
by idebasispaul | 2025-08-04 11:25:13+00:00
Hey friends, I'm super excited to share something game-changing for developers, tech lovers, and digital creators. AI-2027.com is not just a website — it's a future-forward ecosystem redefining how we interact with Artificial Intelligence. Whether you're into AI tools, automation, prompt engineering, or simply curious about the next big thing in tech, this is your new go-to hub. Dive into cutting-edge innovations Learn how AI is shaping tomorrow’s world Explore powerful tools built to elevate your workflow As a Software Architect, I find this platform incredibly inspiring — it's where tech meets imagination! Let me know your thoughts, or drop your favorite AI tools in the comments. Let’s build smarter, together. Check it out now: https://ai-2027.com #AI2027 #FutureOfAI #AITools #DebasisPaul #ArtificialIntelligence #TechTrends #AIForDevelopers #MachineLearning #PromptEngineering #AIRevolution #Innovation #Automation #SoftwareArchitect #AITools2025 #NextGenAI #TechCommunity #DigitalTransformation #ExploreAI #BangladeshTech #DotNetDev #CodeLife
by morpheos137 | 2025-08-04 11:25:36+00:00
Works good. I found it a couple weeks ago. Not an advertisement or promotion. I am just sharing because it took me a decent bit of time to find a web app that could efficiently draw rectangular rooms and other common architectural features such as windows and doors. Canva sucks at this by comparison and I didn't want to buy an offline cad program that had gratuitous complexity and resource requirements to just do a simple task.

It would be cool if someone could duplicate this functionality as an offline tool that was also scriptable / had a command line interface. I woukd base it on a database where each element (eg wall), room, etc was its own record with various parameters as fields in the record. Output for external sharing would be as SVG or PDF.
by Havoc | 2025-08-04 11:26:17+00:00
There is no viable alternative

But that doesn’t mean confidence in the dollar can’t die anyway before an alternative is found. Straight up chaos and collapse is a hopefully remote but real possibility.

Remember how the 2008 crisis was stopped? Strong messages from reserve banks that they’ll backstop and people believing them. That trick doesn’t work in the world author it’s describing.
by simion314 | 2025-08-04 11:26:28+00:00
>Bewildering to see the outrage over this. Get real, cleaning up the smut is not an attack on free speech or democracy.

Sure, religious fascists enjoy this now, next they will remove GTA and shooter games, metal music and Hip HOp and when some Rust fanboy extremist will complain C++ and PHP content will be removed for safety reasons.

We need to complain so religious fascist content is removed too
by bookofcooks | 2025-08-04 11:26:40+00:00
Yes, this was what I wanted to get across with the article (although I utterly failed to do so). I think I would stick to HTMX for other reasons (which I've made clear in my top-level comment on this thread), but I now I see it an occasional tool to use for something simple and not long-term.

> The two biggest problems with HTMX is that being fully server side controlled you need to put the whole app state in the URL and that quickly becomes a nightmare.

Or you can create a large session object (which stores all the state) on the server, and have a sessionId in the URL (although I'd prefer a cookie) to associate the user with that large session object.
by freddex | 2025-08-04 11:27:08+00:00
Many of the newer standards added to the web platform boil down to supporting development of web apps, not only web pages. For example, the current iteration of the File System API in Chrome (https://developer.mozilla.org/en-US/docs/Web/API/File_System...) allows web apps to request permission to read and write to the user's file system. This is great for many tools.

Of course, this can be fairly controversial: More app-like capabilities lead to more complex standards and harder-to-secure browsers. There's also overengineering where people use web app techniques to develop web pages. You don't need (much) JS or even any of the new standards for HN, but for something like Google Docs or Figma, it's a different story.
by MOARDONGZPLZ | 2025-08-04 11:27:54+00:00
I love that the employee’s (CEO’s?) response to a “there’s no pricing on your website” comment is a link to a review on another kinda random website of a testimonial that getting pricing from them sucks and was marginally above the baseline of “the customer didn’t get scammed.” Ringing endorsement, along with the implied “we’ve been doing this ten years and still haven’t been able to implement self service sign up or even an html pricing page on the site.”
by namenotrequired | 2025-08-04 11:27:59+00:00
I agree with you, but a few slight caveats to your point that I think are worth noting.

> Not just because of the countless counterexamples of anthropology to everything you can think of in human affairs

A lot of anthropological research is done on non-agrarian societies. The author limited himself to peasants here, so that limits some (far from all) of the variation.

> I found far more even-aged or women-older marriages than I'd expected

The author also limits himself to age at _first_ marriage; I’d expect a lot more variation in age at remarriage. And even if divorce was rare compared to today, death of a spouse was much more common. So you’d expect to see quite some remarriages in the family tree
by justacrow | 2025-08-04 11:28:18+00:00
We go through maybe 10k CPU hours in our nightly pipeline. Doing that for every PR in a team of 70 people is unsustainable from a cost standpoint.

The existing tests aren't optimal, but it's not going to be possible to cut it by 1-2 orders of magnitude by "fixing the tests"

We obviously have smaller pre-merge tests as well.
by persolb | 2025-08-04 11:28:55+00:00
It is doable but highly location based and still really tight. I’m in a tier 2 US city. Our interns wage would equate to $58k annually. A car isn’t needed if in the city. Most people have a roommate, which works out to just over $1k a person.

58 (pay) - 21 (tax) - 13 (rent) -13 (transit) leaves $900/month or $30/day.

Full time grads are around $20k higher….so roughly triple the amount left over.

Or you commute further. I’m mid career and commuted more than hour most of my career because it let me get a better/cheaper apartment while affording a used car.
by berkes | 2025-08-04 11:29:04+00:00
Wouldn't "simplifying" or even awareness of the existence of such OS features be a much better solution than re-building it in a runtime?

If an existing feature is used too little, then I'm not sure if rebuilding it elsewhere is the proper solution. Unless the existing feature is in a fundamentally wrong place. Which this isn't: the OS is probably the only right place for access permissions.

An obvious solution would be education. Teach people how to use docker mounts right. How to use chroot. How Linux' chmod and chown work. Or provide modern and usable alternatives to those.
by perihelions | 2025-08-04 11:29:36+00:00
> "The US has some clear laws against government controlling speech and, in the abstract, that makes it pretty much impossible to censor games."

For background,

https://en.wikipedia.org/wiki/Brown_v._Entertainment_Merchan... ("Brown v. Entertainment Merchants Association" (2011) ("ruling that video games were protected speech under the First Amendment as other forms of media"))
by uep | 2025-08-04 11:31:01+00:00
I think you missed an important point in the parent comment. You can override the allocation for C++ coroutines. You do have control over details like allocation.

C++ coroutines are so lightweight and customizable (for good and ill), that in 2018 Gor Nishanov did a presentation where he scheduled binary searches around cache prefetching using coroutines. And yes, he modified the allocation behavior, though he said it only resulted in a modest improvement on performance.
by Yizahi | 2025-08-04 11:31:41+00:00
I'm in EU and I aim to show up around 2.5 hours before the departure. At least 30-40 minutes minimum is required to drop off the checked-in bags, because there are usually only 2 operators per whole flight, so unless you are the first in a queue (meaning you got 3-4h in advance, nullifying the advantage). Then hopefully it's around 10-20 minuted for carry-on luggage, and then between 0 to 1 hour for passport control by the second slowest public servants in the country (first ones are the customs on land borders, those often just stop working at all for hours). Of course in about half of cases I end up passing all that in half the time and sit at the gate afterwards, but the other half of the cases I'm glad that I've budgeted the extra time. And being early at the gate also means that I get to board early, meaning less standing and a more or less guarantee that my backpack will fit in the overhead bins. I was once late to board and had to keep backpack on the floor between my legs, which wasn't comfortable.

So unless its an intra-EU flight, it's still 3 hours affair just to depart.

The most infuriating is flying to EU with my non-EU biometric passport. It has all my data and photo encoded in the chip, my remaining visa days count is in the system - let me just scan it at the automatic gates and speed up control! But no, fuck me I guess, go to the slowass line to the customs, where a sleepy officer will do the same thing as I would have done myself and simply swipe the passport through the machine and proceed with that info. And maybe try to bullshit me with some inane questions. "Oh, you don't remember an arbitrary number of letters and digits written in your ticket, and which one can read any time if needed? That's suspicious!".