MurphyA/hacker-news huggingface dataset:
by estebanrfp | 2025-08-01 22:05:39+00:00
GenosDB vs Holepunch

GenosDB is a distributed graph database built for the modern web—runs entirely in the browser, uses OPFS for storage, WebAuthn for authentication, and offers a minified production-ready P2P client. The client is the source of truth.

Holepunch, on the other hand, is a decentralized app platform built on the Hypercore Protocol—great for building custom peer-to-peer apps like Keet, but it doesn’t include a database layer or client-side persistence by default.

Feature GenosDB Holepunch Type Distributed graph DB Decentralized app platform Storage Browser (OPFS, IndexedDB) App-defined (Hypercore, etc.) Auth WebAuthn + RBAC Not included P2P Sync WebRTC (via Trystero) DHT + Hypercore Codebase Minified client lib (genosdb) Fully open (various repos) Use Case Structured data & relationships Custom P2P protocols & messaging

GenosDB is ideal if you need a client-side graph DB with real-time P2P sync. Holepunch is great for building from scratch with total flexibility, but higher complexity.

More at: https://genosdb.com | https://holepunch.to
by jillesvangurp | 2025-08-01 22:05:40+00:00
Yes you can create unsigned JWTs. Don't do that and don't accept any such tokens as valid (which would be the even bigger facepalm worthy mistake).

Just do it right (and at this point it is widely documented what the pitfalls are here), comply with the widely used and commonly supported standards, and follow the principle of the least amount of surprise. Which is kind of important in a world where things need to be cross integrated with each other and where JWTs, JOSE, and associated standards like OpenID connect are basically used by world+dog in a way that is perfectly secure and 100% free of these issues.

Honestly, it's not that hard.

The paradox with Paseto is that if you are smart enough to know what problem it fixes, you shouldn't be having that problem and also be smart enough to know that using "none" as an algorithm is a spectacularly bad idea. You shouldn't need Paseto to fix it if you somehow did anyway. And of course you shouldn't be dealing with the security layer in your product at all if that is at all confusing to you.
by rdtsc | 2025-08-01 22:05:50+00:00
> I doubt it was a cost-driven decision on the basis of running the servers. My guess would be that it was a security and maintenance burden that nobody wanted.

Yeah I can't imagine it being a huge cost saver? But guessing that the people who developed it long moved on, and it stopped being a cool project. And depending on the culture inside Google it just doesn't pay career-wise to maintain someone else's project.
by JumpCrisscross | 2025-08-01 22:06:02+00:00
> guessing that dissolving your LLC as a punishment would include the forfeiture of all the associated assets, not distributing them to shareholders

This is just expropriation. Which is legally complicated. And raises questions around what the government should do with a bunch of seized assets and liabilities that may or may not be in a going condition, and whether some stakeholders should be reimbursed for their losses, for example employees owed pay, also do pensions count, and if so executive pensions as well, and look at that the discussion got technical and boring and nobody is listening anymore.

On the other hand, a massive fine punts that problem to the company. If it can pay it, great. It pays. If it can’t, we have bankruptcy processes already in place. And the government winds up with cash, not a Tesla plant in China.

Corporate death penalties are stupid. They’re good marketing. But they’re stupid. If you want to hold large companies unaccountable, bring it up any time someone serious threatens a fine.
by debug-desperado | 2025-08-01 22:06:09+00:00
"Vehicle will not break when accelerator pedal is applied" is displayed on the screen in AutoPilot mode. The system warns you this every time you have foot on the pedal in AutoPilot mode. I wonder if it did that back in 2019 as well or if accidents like this spurred that as a UI change.

Also, how the heck is Mr. McGee supposed to come up with the other 67% of this judgment?
by jiehong | 2025-08-01 22:06:13+00:00
Looks like a cool kind of keyboard.

I tried the ergodox, but eventually resold it (came from a typematrix). But I like most my Kinesis Advantage 360.

Strangely, I find myself using dictation more and more while working. With a headset on, people don’t notice much since it looks and sound like being in a virtual meeting.

Coding is still best with a keyboard.
by rhelz | 2025-08-01 22:06:32+00:00
// how can you claim this is fixable w/o ... //

Recall, her job wasn't to predict how many jobs would be created. Her job was to measure how many jobs were created.

Yeah, I'm sorry, but a plus-or-minus 250,000 margin of error is just too high. We have every right to expect more accurate measurements than that.
by jamesblonde | 2025-08-01 22:07:25+00:00
I see elements of the bitter lesson in arguments about context window size and RAG. The argument is about retrieval being the equivalent of compute/search. Just improve them, to hell with all else.

However, retrieval is not just google search. Primary key lookups in my db are also retrieval. As are vector index queries or BM25 free text search queries. It's not a general purpose area like compute/search. In summary, i don't think that RAG is dead. Context engineering is just like feature engineering - transform the swamp of data into a structured signal that is easy for in-context learning to learn.

The corollory of all this is it's not just about scaling up agents - giving them more LLMs and more data via MCP. The bitter lesson doesn't apply to agents yet.
by bestorworse | 2025-08-01 22:08:07+00:00
I want that as well, but I don't think it's practical to do that on the Linux desktop ecosystem. Too slow, too much politics. The gist of it is done by Android though, but that required extensive re-engineering of the user space.

Risking getting down voted but I don't want to repeat myself: https://news.ycombinator.com/item?id=43255985
by eduardofcgo | 2025-08-01 22:08:27+00:00
Usually with OOP several builders are composed together to express the creation of some data. These builders have functions with types, which define the rules for the creation of the objects.

My point is that the CarBuilder is not a real type that relates to the business, but something that we had to create to encode some behaviour/rules.

Some function that validates that a dict is a valid car is much more explicit that lots of different builder classes in my opinion.
by dgl | 2025-08-01 22:08:30+00:00
> […] isn't any particular risk in a world of letsencrypt where an attacker (who gained access to that box) could simply request a new SSL certificate

You can use CAA records with validationmethods and accounturi to limit issuance, so simply access to the machine isn’t enough. (E.g. using dns and an account stored on a different machine.)
by sshine | 2025-08-01 22:08:32+00:00
I should have said

my ($x, $y, $z) = @$_[0];

but I was making a joke.

If $_[0] is an array reference, @$_[0] becomes a list.

The joke was a reference to most wrong Perl programs being valid for something.

Hence the meme: "93% of Paint Splatters are Valid Perl Programs"

https://www.mcmillen.dev/sigbovik/
by porridgeraisin | 2025-08-01 22:08:33+00:00
> mix randomisation into hash tables.

I believe you don't understand.

In go, they literally randomly permute the iteration order of the map each time you iterate over it.

e.g

for x in map { } for x in map { // different order }

Now, the fact that they randomize means people use it as a cheap "select random item from map" function :D, which is hyrums law all over again.

var randomUser User for userId, user in usersMap { randomUser = user break }

Funny isn't it.
by lou1306 | 2025-08-01 22:08:54+00:00
> "You might not need tmux"

First step, reimplementing the (arguably) one essential thing tmux provides, i.e., persistence: all tools have "varying degrees of success" and "are buggy". Scrollback? In tmux you "have to learn the tmux way", with the alternatives you might have it if you're lucky.

I went into the post with an open mind but I don't think I will be ditching tmux anytime soon...
by dkarl | 2025-08-01 22:09:18+00:00
> It’s a pity that the idea of design patterns ended up (after the pattern language craze faded) being almost exclusively associated with the specific patterns named and described in the GoF book

That book is the closest we came to establishing a common language. I remember brushing up on the names of design patterns whenever I had an interview. Ultimately, though, it didn't yield any benefit that the industry is missing now.

Like you said, the fundamental idea behind the book was that consciously naming, cataloging, and studying design patterns would improve communication among programmers. There was also an idea that studying design patterns would give beginning programmers a richer repertoire of programming techniques faster than if they had to figure them out themselves.

Looking back with decades of hindsight, my belief is that awareness and intentional use of design patterns made no difference whatsoever. Some names stuck, and would have anyway. Others didn't, and years of status as official "design patterns" in a book widely studied across the industry couldn't make them. The younger programmers I work with who had no exposure to the GoF book, and for whom "design patterns" is something that dusty old farts used to talk about, use patterns like Flyweight, Proxy, Command, Facade, Strategy, Chain of Responsibility, Decorator, etc. without knowing or needing a name for them, and they communicate amongst themselves just as efficiently as my generation did at the height of the design pattern craze.

In the final analysis, I have never looked at the less experienced programmers around me and thought, "This situation would go faster and smoother if they had studied design patterns." The generation that learned to program after design patterns had faded as an idea learned just as quickly and communicates just as well as the generation that studied them assiduously as junior programmers like I did.
by tom_ | 2025-08-01 22:09:33+00:00
I've been pretty happy with this as a MS 4000 replacement: https://eu.perixx.com/products/periboard-535 - general tent/reverse tilt/split angle feels about the same. Like the MS 4000, it's a full size keyboard, with symmetrical sets of meta keys, unintrusive level of F-lock nonsense, easily accessible keyboard volume controls, and a generally standard layout that will probably require only minimal retraining. Also connects to your computer using a cable... none of that wireless nonsense. The UK layout version is under £100 on Amazon.

It feels a bit less solid than the MS 4000, but it's nicer to type on.

(The MS 4000 was always a huge pain to repair (endless screws to get inside, many annoyingly inaccessible; never anything obviously wrong once in there; time-consuming cleaning/drying-out process; endless screws to put it back together again), but this looks like it might be a bit better. Not many screws on the bottom. It isn't thick enough for there to be any hiding inside. The keyswitches will probably be individually replaceable. Ask me again in 10 years though!)
by rahimnathwani | 2025-08-01 22:09:36+00:00
This is because the gate universities keep is based on merit, not ideology.

Many US universities have required prospective employees to demonstrate their adherence to preferred ideological stances, during processes for hiring and promotion.

This is widely documented:

https://www.thefire.org/research-learn/fire-statement-use-di...

I have read information about these mandatory statements on official web sites of universities themselves, so I know the issue isn't a fabrication.

Separately, SCOTUS found in both SFFA vs. Harvard and SFFA vs. UNC, that these universities did not admit students based solely on merit, but also discriminated against some individual students due to their race.

Amongst them frequently are conservatives and white men.

Funny you should say that. A few days ago, a conservative white man filed a complaint against Cornell. He alleges (supported by written evidence) that Cornell deliberately set out to hire a non-white person for a particular role, and did so by making a shortlist of candidates without even advertising the role. More details here:

https://www.wsj.com/opinion/cornell-university-discriminated...
by ajmurmann | 2025-08-01 22:09:48+00:00
The BIG downside to the business is that you have little to no control over who you'll lose. I'd even go a step further and argue that you are more likely to lose the most competent employee since they have more options. I suspect, however, that the people enacting these policies are unable to see that dynamic and equate eagerness to come to an office with seriousness and commitment to the business.
by com2kid | 2025-08-01 22:10:00+00:00
> In reality, outside of their major (and sometimes inside it too), students usually pick the absolute easiest classes that satisfy the requirements.

In reality, no one eats healthy food, everyone eats fast food hamburgers all day. Just look at the sales numbers of fast food / junk food VS organic lunch salad bars!

Except, that isn't true. Some people eat junk food all day, and some people choose to eat healthy. Obviously in America we have a bit of a bias, but just looking at averages doesn't give a complete picture.

> The ones that are known that the teacher doesn't take attendance are heavily desired.

Almost none of my university classes took attendance. Why would they? We were paying to be there, if we wanted to waste our money, it wasn't the university's problem.

> So most departments offer enormous 1 level classes with 200 students taught with minimal rigor

Reading books and writing essay's doesn't require rigor, the learning is in the doing. I put in honest work to learn and I got honest feedback from my 100 and 200 level professors, which was all I expected.

> And on top of that the frats all keep collections of graded tests from every class for years past

Almost none of my GE classes used multiple choice tests. They were typically essay tests, written in class.

I should note I did my GE requirements at a local community college, where class sizes averaged ~20-30 students, professors had office hours, and I think I only saw a TA once.

> This isn't education. This isn't worth six figures.

The price is too high yes, but a university is place to go where you can dedicate yourself fully to learning, hopefully w/o other outside worries (sky high tuition ruins that...). What a person chooses to do with that time is up to them.

Now one can argue that the worth of a degree is lessened by students who didn't actually learn all that much also being in possession of one. That is a closely related, but separate topic.

That said, the poster I was originally replying to was indirectly advocating for not caring about one's GE classes, and I was replying that one should indeed care, because those classes are incredibly important!
by Wearlinq | 2025-08-01 22:10:37+00:00
Wearlinq | San Francisco, REMOTE (US) | Lead AI Engineer

Wearlinq is making cardiovascular disease prevention personal and intelligent through hardware, AI, and services - we're looking for a top engineer to lead our AI efforts after closing out our latest round (not yet announced).

Reach out at careers@wearlinq.com or apply at https://wearlinq.breezy.hr/p/1b9f2f7fa60d
by losteric | 2025-08-01 22:10:50+00:00
> However what will actually happen is society will use these people to brick lay for houses, care for the elderly or something else. That's honestly a good thing for society as we have massive shortages there, and not a bad thing for the individuals as a whole.

Labor "shortages" for those jobs exist because they are not financially attractive. Why is it a "good thing" to eliminate more attractive roles? How does this materially reduce the cost of living, or increase for the roles you point to?
by mananaysiempre | 2025-08-01 22:10:53+00:00
Now that I’m looking at this again, I remember that the wl-copy (or xcopy or pbcopy) thing is a workaround for GNOME’s VTE terminal widget refusing to support the OSC 52 escape sequence for setting the clipboard. If your terminal emulator does speak that one, then you should be able to use the set-clipboard option[1] instead, which also has the advantage of working over a remote connection (because it’s in-band).

[1] https://github.com/tmux/tmux/wiki/Clipboard#the-set-clipboar...
by geysersam | 2025-08-01 22:11:12+00:00
If you read the blog posts of at least one of the women it's very clear that in her story sex was involved. And I doubt he's contesting that part of the story.

Point I was trying to make is it's not actually that hard to be outside of the risk zone for being cancelled.

If you're mentoring a young woman, don't suggest to share Airbnb together, don't drink alone and then initiate sex. Not doing those things makes it extremely unlikely to ever be accused of taking advantage of someone.
by donio | 2025-08-01 22:11:24+00:00
I am a longtime (25+ years) Datahand user. I have converted my units to a USB capable controller long ago and I have some extra ones as spares/parts but it might be difficult to get another 25 years out of them.

Haven't tried the Svalboard yet but it's the only obvious way forward that I know of so happy to see any new information about it. I'd be especially interested in the opinion of other Datahand users regarding the Svalboard, specifically the hardware, the switches and overall feel.
by stephenlf | 2025-08-01 22:11:56+00:00
This is great. I see immediate use in better Async/Await ergonomics. Zig was making rounds recently for their new async semantics [1], in which functions with an element of concurrency request a reference to a concurrent executor (the IO interface). The advantage is that you can drop the red/blue syntax. Plus, you can load your IO interface as a global const and reference it from anywhere without passing around a variable everywhere.

I see context variables as a step up from that. You can specify a dependency on some concurrent runtime environment (?async) and run with that.

[1] https://kristoff.it/blog/zig-new-async-io/
by sorenjan | 2025-08-01 22:12:10+00:00
The last time I was reminded of the bitter lesson was when I read about Guidance & Control Networks, after seeing them used in an autonomous drone that beat the best human FPV pilots [0]. Basically it's using a small MLP (Multi Layer Perceptron) on the order of 200 parameters, and using the drone's state as input and controlling the motors directly with the output. We have all kinds of fancy control theory like MCP (Model Predictive Control), but it turns out that the best solution might be to train a relatively tiny NN using a mix of simulation and collected sensor data instead. It's not better because of huge computation resources, it's actually more computationally efficient than some classic alternatives, but it is more general.

[0] https://www.tudelft.nl/en/2025/lr/autonomous-drone-from-tu-d...

https://www.nature.com/articles/s41586-023-06419-4

https://arxiv.org/abs/2305.13078

https://arxiv.org/abs/2305.02705
by singleshot_ | 2025-08-01 22:12:20+00:00
> I'm not necessarily sure the victim(s) should get all of the punitive damages.

I have some great news for you, then: the attorney probably took a third (more if they win an appeal).

> But is there an even better possible place to disburse the funds from these types of fines?

Oh, my mistake: I thought you meant way worse.
by netruk44 | 2025-08-01 22:12:21+00:00
Since the article didn’t have much concrete information, these are apparently the price changes[0]:

Switch – OLED Model – $399.99 (previously $349.99)

Switch – $339.99 (previously $299.99)

Switch Lite – $229.99 (previously $199.99)

Nintendo Sound Clock: Alarmo – $109.99 (previously $99.99)

Joy-Con 2 controllers – $99.99 (previously $94.99)

[0]: https://www.gematsu.com/2025/08/switch-price-increase-announ...
by com2kid | 2025-08-01 22:13:43+00:00
Information in an LLM exists in two places:

1. Embedded in the parameters

2. Within the context window

We all talk a lot about #2, but until we get a really good grip on #1, I think we as a field are going to hit a progress wall.

The problem is we have not been able to separate out knowledge embedded in parameters with model capability, famously even if you don't want a model to write code, throwing a bunch of code at a model makes it a better model. (Also famously, even if someone never grows up to work with math day to day, learning math makes them better at all sorts of related logical thinking tasks.)

Also there is plenty of research showing performance degrades as we stuff more and more into context. This is why even the best models have limits on tool call performance when naively throwing 15+ JSON schemas at it. (The technique to use RAG to determine which tool call schema to feed into the context window is super cool!)
by freedomben | 2025-08-01 22:14:12+00:00
Indeed, I've been making bullet point lists like that since college when I had a communications professor drive it into our heads. Yes AI loves the bullet point list, but just including one does not make it AI. This is yet another step on the overall reduction in quality of writing. Now we have to avoid bullet point lists, and inject typos and other things into our writing to make it seem more "human." It's a road to sadness and the dumbing down of society IMHO.
by Twey | 2025-08-01 22:14:25+00:00
I don't think there's _fundamentally_ anything hard about voice coding, but our current systems are terribly designed for it. We need programming languages that are much more keyword- rather than symbol-heavy, or more efficient systems of pronouncing symbols, or higher-level editing primitives, or maybe all of the above. There's some overlap with both stenography (which I know some people use for code, but I've never got around to setting up a theory for) and also structured editing projects like Hazel. Reckon we might see more of it in the future, if we're to make the ubiquitous and malleable computing dreams a reality.
by M4v3R | 2025-08-01 22:15:00+00:00
2000 tokens per second is absolutely insane for a model that's on par with GPT 4.1. However throughoutput is only one part of the equation, the other being latency. As of right now it looks like the latency for every API call is quite high, it takes few seconds to receive first token for every API call. This means it's not as exciting for agentic use where many API calls are being made in quick succession. I wish providers focused more on this part.
by deathanatos | 2025-08-01 22:15:27+00:00
Well … it seems like you're right. (A playground — https://go.dev/play/p/OHQTIuDWicd — if anyone is curious.)

That's … pretty surprising, since that would seem to imply that iteration would require a O(n) sized chunk of memory somewhere to reify the order into. (And probably O(n) time to do the shuffle, or at least, a copy of the ordering; we should shuffle as we go, I suppose, but we'd need to track what we've emitted & what we've not, hence O(n) time & space to populate that scratch…) That seems undesirable.
by logicchains | 2025-08-01 22:18:24+00:00
>It's not better because of huge computation resources, it's actually more computationally efficient than some classic alternatives

It's similar with options pricing. The most sophisticated models like multivariate stochastic volatility are computationally expensive to approximate with classical approaches (and have no closed form solution), so just training a small NN on the output of a vast number of simulations of the underlying processes ends up producing a more efficient model than traditional approaches. Same with stuff like trinomial trees.