MurphyA/hacker-news huggingface dataset:
by inanothertime | 2025-10-10 12:16:43+00:00
> They converted it from React to HTMX, cutting their codebase by almost 70% while significantly improving its capabilities.

Happy user of https://reflex.dev framework here.

I was tired of writing backend APIs with the only purpose that they get consumed by the same app's frontend (typically React). Leading to boilerplate code both backend side (provide APIs) and frontend side (consume APIs: fetch, cache, propagate, etc.).

Now I am running 3 different apps in productions for which I no longer write APIs. I only define states and state updates in Python. The frontend code is written in Python, too, and auto-transpiled into a React app. The latter keeping its states and views automagically in sync with the backend. I am only 6 months into Reflex so far, but so far it's been mostly a joy. Of course you've got to learn a few but important details such as state dependencies and proper state caching, but the upsides of Reflex are a big win for my team and me. We write less code and ship faster.
by bloak | 2025-10-10 12:16:52+00:00
I don't know about Russia but there seem to be loads of cases of people being arrested (or detained or harrassed by police) for holding up a blank piece of paper, including one case in Cornwall: https://netpol.org/2023/02/10/cornish-protester-assaulted-an...

In Singapore someone was charged for holding up a piece of cardboard with a smiley face drawn on it: https://www.economist.com/asia/2020/11/26/public-order-in-si...
by dangus | 2025-10-10 12:17:22+00:00
I think it’s questionable to trust the guy who founded Telegram this much.

The opinion given about Germany leaves out a lot of the nuance. I think that Germany is taking a unique approach that actually seems to make sense:

https://www.cbsnews.com/news/germany-online-hate-speech-pros...

I would argue that the American approach to a more absolute form of freedom of speech, plus the manipulative potential of the internet, plus psychological differences that exist when humans socialize online compared to in person has made a really negative cocktail of societal harm.

The USA is sliding into authoritarianism in part because it explicitly allows grifters to spread outright lies and slander via their corporate platforms and there’s no recourse because of the first amendment.

News outlets like Fox News don’t have to even attempts to be news in their concept, they can go to court and claim that their programming is an opinion entertainment show and spread information they know to be lies. They’ve only really been caught in this scam legally once in paying out the Dominion civil defamation suit settlement and they only had to do that because they were defaming a specific company.

The US elected a literal internet troll as president. And that’s not a good thing.

I think there is something admirable in the approach Germany is taking, and as long as it is implemented well it is absolutely possible to balance free expression with protecting society from vitriol.
by rcxdude | 2025-10-10 12:17:28+00:00
Debugging. It's one of the most useful tools for narrowing down where an error is coming from and by far the biggest negative of Rust's Result-type error handling in my experience (panics can of course give a callstack but because of the value-based error being most commonly used this often is far away from the actual error).

(it is in principle possible to construct such a stack, potentially with more context, with a Result type, but I don't know of any way to do so that doesn't sacrifice a lot of performance because you're doing all the book-keeping even on caught errors where you don't use that information)
by diyer22 | 2025-10-10 12:17:34+00:00
No, DDN and VQ-VAE are clearly different.

Similarities: - Both map data to a discrete latent space.

Differences: - VQ-VAE needs an external prior over code indices (e.g. PixelCNN or a hierarchical prior) to model distribution. DDN builds its own hierarchical discrete distribution and can even act as the prior for a VQ-VAE-like system. - DDN’s K outputs are features that change with the input; VQ-VAE’s codebook is a set of independent parameters (embeddings) that remain fixed regardless of the input. - VQ-VAE produces a 2-D grid of code indices; DDN yields a 1-D/tree-structured latent. - VQ-VAE needs Straight-Through Estimator. - DDN supports zero-shot conditional generation.

So I’d call them complementary rather than “80 % the same.” (See the paper’s “Connections to VQ-VAE.”)
by traceroute66 | 2025-10-10 12:18:59+00:00
> Could also just be lack of knowledge.

Huh ?

DNS tunneling is not exaclty something you do "by accident".

And if the person doing it on the flight "did not know" (which, given the text of the blog, I doubt) , then you can bet your botom dollar that the "roommate" that was summoned for remote assistance knew very well what was going on.
by redwood | 2025-10-10 12:19:51+00:00
Got it. I was going to say it sounds like less than a fiasco but I see this is in context of someone criticizing the Replit CEO for a specific action so now I get it. Apologies for being dense. It's a reminder that people leading companies are just people. And if we have a purity test on everyone we better be prepared to have a purity test on ourselves. And not just in our own eyes but in the eyes of everyone else. And that's where it quickly falls apart.
by troupo | 2025-10-10 12:20:20+00:00
Both Datastar and HTMX have the same issue: they want to pretend to be HTML. So they force themselves into writing several DSLs like this to pretend that this is still "just HTML".

Since they have a full "Datastar expression" language, I'd just expand that. Then you wouldn't need these weird constructs:

<button data-on-click__window__debounce.500ms.leading="$foo = ''"></button>
by jkaplowitz | 2025-10-10 12:20:23+00:00
> Oddly I liked new coke better.

Fun fact: so did most focus groups and (I think?) blind taste tests when it was just presented as a new drink, but they tended to be horrified by the idea of it actually replacing classic Coke. The problem with that switch was mostly psychological / cultural, not chemical.

Also, Diet Coke, which remains quite popular, is still based on the New Coke formula except with the sweetener swapped out. The no-calorie version of classic Coke is Coke Zero. The Coca-Cola Company has been working to increase Coke Zero's popularity, and it is now much more popular than it used to be, but I think Diet Coke continues to be more popular than Coke Zero even now.
by SMAAART | 2025-10-10 12:20:24+00:00
1) There are at least a couple YCcombinator startup that does collections: Domu and Respaid.

2) There was a time in a prior life when I did consulting, and of course I experienced the same issue. I re-wrote my contract to get paid in advance each and every week (seldom every month). If I had no payment in my bank, no work that week. Easy, simple, the client was always in control.

Must watch: https://www.youtube.com/watch?v=oEa6PdOG2ts
by Cheiree | 2025-10-10 12:21:01+00:00
You are attempting to solve the wrong problem, in my opinion.

Do not see clients who do not pay as clients, but as liabilities. The real solution isn't chasing them with smarter reminders, it is changing how you work.

Take partial or full payment upfront, use incremental milestones, and only extend credit to proven partners with a solid track record.

Chasing money after delivery just wastes time and energy. Protect your work, and time, and sanity, not your clients' excuses.
by CaptainOfCoit | 2025-10-10 12:21:16+00:00
Didn't claim so either, but a lack of knowledge about that it is in fact illegal, hence the parallel to at least my previous experience where I've most surely have committed crimes in the past, because I didn't know it was illegal in the first place.

I don't know the age of the author, but it almost doesn't matter, sometimes people don't know (lack of knowledge).
by rafaelquicdb | 2025-10-10 12:21:42+00:00
It's tricky because it depends on the operating system.

If you're on Linux, you can do it by:

1) get a disk volume (partition, attach one, etc.)

2) zpool that disk (note it will wipe it out)

3) move your database data directory to the volume

4) use zfs snapshot and zfs clone to create an isolated branch

5) run pg_ctl start pointing to the clone directory.

That's it!

I tried to achieve the same on MacOS but it lacks proper tooling. Not sure about Windows.
by troupo | 2025-10-10 12:22:03+00:00
> But again, the API design woes are subjective

They aren't. This is not good API design

<button data-on-click__window__debounce.500ms.leading="$foo = ''"></button>

> "Wrong" to me suggests a gap in the understanding of fundamentals or of how things work.

Snide vaguely dismissive remarks don't make such remarks true.

> If the ideas of Datastar are fine to all of us

Who's us? Are these "us" in the room with us right now?
by imiric | 2025-10-10 12:22:24+00:00
Like I said, it's crucial for the developer to be fair about it. Running a sustainable business built on open source is entrepreneurship on hard mode. Some companies do a better job at this than others, and, unfortunately, open source has been abused as a marketing strategy on many occasions.

No matter how you look at it, though, any business model that enables users to use open source software is a much better option for users than any proprietary software. There's no comparison. Given the choice, I'd much rather use OSS that is eventually rugpulled or enshittified than proprietary software, which carries those same risks, while also restricting my freedoms from the get-go, and having additional risks I might not be aware of at all (exploiting my data, security issues, etc.).
by vidarh | 2025-10-10 12:22:38+00:00
Absolutely true re: ton of linting rules. In Ruby for example, Claude has a tendency to do horrific stuff like using instance_variable_get("@somevar") to avoid lack of accessors, instead of figuring out why there isn't an accessor, or adding one... A lot can even be achieved with pretty ad hoc hooks that don't do full linting but greps for things that are suspicious, and inject "questions" about whether X is really the appropriate way to do it, given rule Y in [some ruleset].
by sillyfluke | 2025-10-10 12:22:48+00:00
OpenAI taking an interest wouldn't be so bad for Replit. Since YC boasts that being incestuous is an upside of YC, ie selling your product to other YC companies, it is possible that OpenAI does the decent thing an outright buys Replit. It is rather likely that Altman and Masad have some sort of relationship going back to their YC days.
by zelphirkalt | 2025-10-10 12:22:52+00:00
I think the actually interesting non-obvious part starts at "Redesigning Algorithms For Uniform Work Distribution". All the prior stuff done you basically get for free in a functional language that has some thread pool or futures built in, doing FP. The real question is how you write algorithms or parts of programs in a way that they lend themselves to be run in parallel as small units with results that easily merge again (parallel map reduce) or maybe don't even need to be merged again. That is the real difficult part, aside from transforming some mutating program into FP style and having appropriate data structures.

And then of course the heuristics start to become important. How much parallelism, before overhead eats the speedup?

Another question is energy efficiency. Is it more important to finish calculation as quickly as possible, or would it be OK to need some longer time, but in total calculate less, due to less overhead and no/less merging?
by krapp | 2025-10-10 12:23:31+00:00
I'm not saying everyone, everywhere, wants to fuck their robot maid, I'm saying thousands of years of patriarchy, hundreds of years of popular culture, fetishization of domestic labor roles and simple human nature will have an influence on the adoption of humanoid domestic robots that companies ignore at their peril.

Some people are Honda Civic people, only concerned with utility - that's fine, I'm the same way. But the money comes from cars designed to evoke eroticism or animal aggression. The humanoid robot in the article is, aesthetically speaking, horrifying to most people. It doesn't even have a face, it doesn't look pleasant, it doesn't invite an emotional bond, it isn't friend shaped, and that isn't what most people will want, or would spend money on, regardless of how efficient it is.

Humanoid robots will have a context within the same gender and cultural dynamics as human beings, by virtue of looking and acting human enough. People already have relationships with AI, and that will only become more normalized over time. Most people will personify and anthropomorphize humanoid robots just as much as they do AI, and this will be necessary for their popular acceptance and adoption. And yes, many people will want to fuck them, or at the very least, want them to look fuckable.
by WmWsjA6B29B4nfk | 2025-10-10 12:23:40+00:00
> Imagine one day we wake up after the usual yawn-inducing sham elections in Russia and Putin won as usual but a large chunk of the country, probably a plurality of it, is utterly convinced that it was completely fake and that Navalny won. Without anybody using violence to do it.

Exactly this happened in Belarus in 2020. Government wasn't shy of using its power though, many people got long prison sentences, many people had to run, nothing changed wrt to dictatorship. I don't see anything inspiring in this story honestly.
by CaptainOfCoit | 2025-10-10 12:24:05+00:00
No, ideally you'd understand under what basis the prize is handed out, and then draw your conclusions from that (or avoid thinking something specific will happen in the future based on the prize itself).

Nothing in the criteria for the handing out the prize has anything about the reception having any sort of specific character, good or bad. This is all of the conditions for the award:

> Fraternity between nations; abolition or reduction of standing armies; and the holding and promotion of peace congresses

So every year they look at candidates and what they've done within those things, then make an judgement.
by VALTIELENTINE | 2025-10-10 12:24:25+00:00
Fantastic read! I've alas been frightened of contributing to the Linux kernel in spite of my interests, this instills both confidence and inspiration while serving as a simple "guide" on how to even approach debugging a hardware issue. I particularly like how the author expresses his nervousness in submitting the patch as he recognizes the importance of the work of the maintainers
by reactordev | 2025-10-10 12:24:51+00:00
But that’s true of everything we use. Someone made that fork you use. That plate. The shoes you wear. Same for an app. You don’t deserve anything. If you make something, and release it into the world, you have a responsibility. Not a reward. A reward may come. People may pay you for your services or your novelty but in no way shape or form are you deserving of it. Deserving of something is a 3rd person observation. You can not demand that you deserve anything.
by rhubarbtree | 2025-10-10 12:25:22+00:00
I hope they’ve managed to convey this to the whitehouse.

It really didn’t help when they gave Obama the prize. Even he was embarrassed by it.

I think trump genuinely deserves the prize if peace in the Middle East achieved. However, I think it’s far more likely he’s being played for a fool by Israel as per Russia.

Trump does genuinely seem to want to avoid foreign wars, to his credit.

Norway is no doubt now bracing itself for tariffs or other retaliation. Hopefully they can dangle next year’s prize as worth waiting for.
by nchmy | 2025-10-10 12:26:26+00:00
Finally a good-faith reply!

I concede that my original comment here was somewhat hostile, but only really the first line. And it wasn't even all that hostile - especially when the rest of the comment was really just informative and positive about datastar.

And, moreover, is standing up to poor behaviour - even if done in a somewhat hostile/confrontational way - really such a bad thing? It seems quite clear to me that they were not communicating in good faith - they didnt come to discuss features, philosophy about open source sustainability, or actual reality of the messaging on the site and their discord server.

Instead THEY are explicitly saying that Datastar's devs are being dishonest in some way for having a pro license (which, again, they quite clearly say most people should not buy) as a way to bring a modicum of sustainability to something that theyve dedicated years to and given 99% of the value away for free.

They could have said "This looks interesting, but I noticed that there's a pro license if you want to get some features. Are these features necessary? Is this price reasonable? Should we be against there being a 501c3 behind this? etc..."

But they did none of that. I think that all that a reasonable person can really conclude is that they're either the disdainful sort of person who thinks all code should be free for everyone, or that they are just trolling, or perhaps even that they dont like how datastar is challenging the status quo of webdev.

Hence, "you do you" - you interpreted it exactly as I intended.
by csande17 | 2025-10-10 12:26:27+00:00
Basically, the HTMX code says: "when this span is clicked, fetch /rebuild/status-button, extract the #rebuild-bundle-status-button element from the returned HTML, and replace the existing #rebuild-bundle-status-button element with it".

The Datastar code instead says: "when this span is clicked, fetch /rebuild/status-button and do whatever it says". Then, it's /rebuild/status-button's responsibility to provide the "swap the existing #rebuild-bundle-status-button element with this new one" instruction.

If /rebuild/status-button returns a bunch of elements with IDs, Datastar implicitly interprets that as a bunch of "swap the existing element with this new one" instructions.

This makes the resulting code look a bit simpler since you don't need to explicitly specify the "target", "select", or "swap" parts. You just need to put IDs on the elements and Datastar's default behavior does what you want (in this case).
by esjeon | 2025-10-10 12:26:59+00:00
This pattern isn't new per-se. The industry already went through it when moving from DHTML to XHR, and it was (mostly) abandoned for good reasons. Modern DOM patching techniques gave rise to some newer variations, but they still make the same old trade-offs. They don't really solve engineering issues like tight coupling and brittleness, nor network issues like latency and larger payload volume.

So, to me, this feels more like an effort to offer a more affordable solution (in terms of engineering cost) for small-/mid-sized companies, rather than a push to expand the boundaries of the technology. Not a bad thing, but it's just a bit disappointing to see history kinda looping back on itself.
by jeden | 2025-10-10 12:27:34+00:00
Simple program in Polish language for labeling images for YOLO system.

AppImage version.

simple labels: etykiety.txt 0: person 1: bicycle 2: car 3: motorcycle 4: airplane 5: bus 6: train 7: truck 8: boat 9: traffic light 10: fire hydrant 11: stop sign 12: parking meter 13: bench 14: bird 15: cat
by cowsandmilk | 2025-10-10 12:28:11+00:00
As someone who “owns” a framework at work that has been unfunded for several years, the answer is definitively yes. I haven’t touched the build toolchain in all those years and the project continues to build a dozen different JavaScript libraries with no issues across multiple Node.js upgrades.

The current version of webpack was released 5 years ago. You can keep using eslint 8 which was released 4 years ago. This really isn’t the constantly changing space it was in the 2010’s
by bitmasher9 | 2025-10-10 12:29:04+00:00
I think there are significant differences between the two events, with the major similarity being “there is a large change in regulation regarding how ordinary people handle money.”

In 1933 the major goal was to force ordinary citizens to trade their gold for cash, and then inflate the cash. That is why it became legal to hold gold again in 1975, the dollar value became disconnected from gold.

In modern Europe I don’t see the same rug-pull and a digital euro will continue to be just as valuable as a physical one. There are other valid concerns for going digital-only with currency.
by reactordev | 2025-10-10 12:29:20+00:00
I was going to say this too.

I once merely mentioned the words “Heart Attack” on a plane and was kicked off by the flight attendants. No context, they just heard the words and forced me off.

There are things that trigger them because of laws and regulations like mentioning “bomb” (even if you’re describing something fantastic).

So messing with the gogo flight entertainment is up there with flirting with terrorism charges.
by Cthulhu_ | 2025-10-10 12:29:22+00:00
Chief O'Brien is the underappreciated hero of Star Trek making Picard's lifestyle possible. I'm happy to see his hard work, often crawling on all fours in awkward spaces, got highlighted more in DS9.

Or in other words, there were no automatic maintenance machines in the Star Trek universe at the time, it was all handwork still. Manufacturing and food prep was done by machines which solves some part of it I suppose.
by ajross | 2025-10-10 12:29:46+00:00
tl;dr: The firewall on the plane allows any traffic to pass on port 53 (to allow for DNS queries) but doesn't do any state inspection or rate limiting so you can do whatever you want on it.

> My roommate spent about an hour setting up a proxy server exposing port 53 using xray 1, and sent me the configuration via WeChat:

An hour!? As opposed to just spinning up an sshd on that port and coming in using ssh -D to establish a local socks proxy?
by lelanthran | 2025-10-10 12:30:29+00:00
> The running joke is that we assume that if you know something you can teach it which goes against everything academia believes in.

What does academia believe, then? I don't know what the negation of "If you know something you can teach it" is.

That if you don't know something, then you can't teach it?

That if you know something you can't teach it?

That if you don't know something you can teach it?
by MontyCarloHall | 2025-10-10 12:30:36+00:00
This post underscores how traditional imperative language syntax just isn't that well-suited to elegantly expressing parallelism. On the other hand, this is exactly where array languages like APL/J/etc. or array-based frameworks like NumPy/PyTorch/etc. really shine.

The list summation task in the post is just a list reduction, and a reduction can automatically be parallelized for any associative operator. The gory parallelization details in the post are only something the user needs to care about in a purely imperative language that lacks native array operations like reduction. In an array language, the `reduce` function can detect whether the reduction operator is associative and if so, automatically handle the parallelization logic behind-the-scenes. Thus `reduce(values, +)` and `reduce(values, *)` would execute seamlessly without the user needing to explicitly implement the exact subdivision of work. On the other hand, `reduce(values, /)` would run in serial, since division is not associative. Custom binary operators would just need to declare whether they're associative (and possibly commutative, depending on how the parallel scheduler works internally), and they'd be parallelized out-of-the-box.
by Cthulhu_ | 2025-10-10 12:31:12+00:00
I think if you look closely it was just hidden behind various structures, like e.g. hiring seasonal workers from abroad, housing them in your own (substandard) buildings, and cutting their wages by the amount of rent that you charge so their take-home is well below minimum wage. But they tolerate it because it's still better pay than they can get in their home country.