MurphyA/hacker-news huggingface dataset:
by jbaiter | 2025-11-20 07:55:53+00:00
I tried implementing a Matrix bot a few months back, and it was an absolutely miserable experience, since Device Verification/E2EE was not working with any of the available open source Python implementations I found.

I then stumbled upon their internal Rust SDK[1] that they use for Element X, which is actually quite nice, and even has FFI bindings for Python and Kotlin[2]. Unfortunately the documentation was really lacking at the time. I managed to put something together with the help of an LLM and the source code and examples to find my way around the various APIs, and it actually works with emoji verification and E2EE (although there are weird bugs around synchronization, but that's probably just an API misuse on my end).

It seems they've improved the documentation since and even provide a reference client[3] to see how things work.

[1] https://github.com/matrix-org/matrix-rust-sdk

[2] https://github.com/matrix-org/matrix-rust-sdk/tree/main/bind...

[3] https://github.com/matrix-org/matrix-rust-sdk/tree/main/labs...
by kaon_2 | 2025-11-20 07:55:57+00:00
Here's a story about how the mere perception of "regulations exist and are strict" is dragging down my european AI start-up:

Our product makes it easy to capture and share knowledge on the factory floor, which is very important when many of your workers about to retire. Interest is enormous. It is a simple SaaS. You'd think selling would be easy. And it is: In the USA. In Europe the mere existence of the regulations (not what's in them) delays us by 6 months at least per deal.

No european executive really understands what is in the GDPR, and eventhough we are 100% compliant, there is nothing we can do to take away this fear. This means that when we talk to European companies, IT and Legal departments always have to be closely involved, leading to all sorts of political games; each department conjures up non-existing risk by talking vaguely about data privacy, just so they appear important. Half a year later when the dust has settled, the executive buys the product, or their mind has moved to other things.

My point is this: What is in the laws is not important to me. What is important is that current perception of laws turn companies into slugs. I want us to mentally move back to 2018 where we could "just buy SaaS" without worrying endlessly about data privacy. I understand hesitency when it comes to cyber security, but that is not what is slowing us down.

One of our workarounds currently is simply never to mention we use AI.
by colinstrickland | 2025-11-20 07:56:06+00:00
Debian had binary packages with dependencies via dpkg from maybe 1994. Automatic recursive downloads, with apt (apt-get) were much later, around 1998. Rpm was launched in 1997.

It's hard to remember really, but automatic downloads would have been considered quite a misfeature by lots of user sites, in an era of intermittent, metered internet connections.
by ZeroGravitas | 2025-11-20 07:57:39+00:00
Are we talking about Donald Trump the convicted rapist with many credible accusations of sexual assault raised against him?

Donald Trump the child beauty pageant organiser that used to publicly boast about walking in on naked contestants?

Long term friend of Jeffrey Epstien, who organised parties for him with young models and sent cryptic birthday notes about secrets written on a drawing of the naked but undeveloped chest of a girl?

Who said his friend was a "great guy" who

> likes beautiful women… many of them on the younger side.
by toast0 | 2025-11-20 07:57:42+00:00
DDR5 has built in ECC too. Unfortunately, AFAIK there's no error reporting mechanism, so while it should reduce error rates, it likely increases error severity. Assuming no bitflips between the ram module and the cpu, ECC on the ram corrects any single bitflips, but multiple flips are uncorrectable and must pass through, so any incorrect value the cpu gets has multiple bitflips.
by gsf_emergency_6 | 2025-11-20 07:57:45+00:00
Ah right, here's the Schloss Habsburg page for those interested

https://www.museumaargau.ch/en/habsburg-castle

(Winter hours apply?)

There's a middle German word hap (ford) which could make the NYT correct in 1100 :)

It's on par with spelling Koeln Cologne imho pity those guys
by irshadnilam | 2025-11-20 07:57:55+00:00
While I am not familiar with OPs project,

I can somewhat answer this to best of my knowledge.

Right now, businesses communicate with REST Apis.

That is why we have API gateways like AWS Gateway, Apigee, WSO2 (company i used to work in), Kong, etc so businesses can securly deploy and expose APIS.

As LLMS gets better, the idea is we will evenutally move to a world where ai agents do most of business tasks. And businesses will want to expose ai agents instead of APIS.

This is where protocols like a2a comes in. Google partnering with some other giants introduced a2a protocol a while ago, it is now under linux foundation.

It is a standard for one agent to talk to another agent regardless of the framework (langchain, crewai etc) that is used to build the agent.
Ask HN: How can you search your personal data?
by escapecharacter | 2025-11-20 07:58:23+00:00
I have personal notes, correspondence, code and documentation from nearly 20 years of work. These are spread across multiple (cloud) services, and searching across these fiefdoms has been impractical.

The problem goes like: "Ah, I remember having a conversation with someone about [algorithm], then recording an important insight. Let's find that."

This isn't a problem solved by an LLM. The blocker is that there isn't a way to run search code on all this plain text.

Services:

* Email (gmail, synced to my macOS disk with Apple Mail)

* Dropbox

* Notion

* Google Drive

* Obsidian

* Github

* Apple Notes

* Discord chats

* Trello

* My own blog

If I had everything synced to my mac's disk, maybe I could do a plaintext search there. However Spotlight's indexing is always incomplete and misses obvious files. My Dropbox is so large I don't sync it all locally.

Some services I no longer use, like Evernote. When I archived this service, I exported everything and moved it into my Dropbox. So, if I search Dropbox, it also searches old notes from Evernote. There's no way I could be doing this for all services I actively use.

The way I search now is I guess the service the result is most likely in, and search there. When finding no results, I search the next most likely service, ad nauseum For my own blog, I used to use Google's site search, but I recently discovered this was incomplete: https://bsky.app/profile/dustinfreeman.bsky.social/post/3m5l5tto6pk27

I could imagine a solution where there's some 3rd party service that has access keys to all my services. But, let's be real, that's a huge amount of trust. Also, my access to all these services is 2FA'd with expiry, and so I'd be continually re-upping auth to this third party service. At that point, it makes sense to just do search how I do it now.
by egor83 | 2025-11-20 07:58:50+00:00
> how to get Chrome to use autoscroll on mouse middle click

I'm using an extension for that: https://chromewebstore.google.com/detail/middle-button-scrol...

There used to be a more popular one, but it got dumped by Chrome recently, guess it wasn't up-to-date.

This one isn't perfect (eg sometimes it pastes clipboard on middle-click), but still it mostly works.
by bostik | 2025-11-20 07:59:51+00:00
Right now I see "use AI" to be in the same phase as "add Radium" was shortly after Curie's discovery. A vial of magic pixie dust to sprinkle on things, laden with hidden dangers very few yet understand. But I also keep in mind that radioactivity truly transformed some very unexpected fields.[ß]

AI and LLMs are tools. The best tools tend to be highly focused in their application. I expect AI to eventually find its way to various specific tool uses, but I have no crystal ball to predict what those tools might be or where they will surface. Although I have to say that I have seen, earlier this week, the first genuinely interesting use-case for AI-powered code generation.

A very senior engineer (think: ~40 years of hands-on experience) had joined a company and was frustrated by lack of integration tests. Unit tests, yes. E2E test suite, yes. Nothing in between. So he wrote a piece of machinery to automatically test integration between a selected number of interacting components, and eventually was happy with the result. But since that was only a small portion of the stack, he would have had to then replicate that body of work for a whole lot of other pieces - and thought "I could make AI repeat this chore".

The end result is a set of very specific prompts, constraints, requirements, instructions, and sequences of logical steps that tell one advanced model what to do. One of the instructions is along the lines of "use this body of work I wrote $OVER_THERE as a reference". That the model is building iteratively a set of tests that self-validate the progress certainly helps. The curious insight in the workflow is that once the model has finished, he then points the generated body of work to another advanced model from a different vendor, and has that do an automated code review, again using his original work as a reference material. And then feeds that back to the first model to fix things.

That means that he still has to do the final review of the results, and tweak/polish parts where the two-headed AI went off the rails. But overall the approach saves quite a lot of time and actually scales pretty much linearly to the size of the codebase and stack depth. To quote his presentation note, "this way AI works as a highly productive junior that can follow good instructions, not as a misguided oracle that comes up with inventive reinterpretations."

He made modern AI repeat his effort, but crucially he had had to do the work at least once to know precisely what constraints would apply. I suspect that eventually we'll be seeing more of these increasingly sophisticated but very narrowly tailored tooling use cases to pop up. The best tools are after all focused, even surgical.

ß: Who could have predicted in 1900 that radioactive compounds would change fields ranging from medicine to food storage?
by Dylan16807 | 2025-11-20 08:00:18+00:00
My motherboard does not support more memory. Closer to hundreds of dollars than $4. And no I will not justify my memory use to you.

And price is a pathetic excuse for bad work. RAM gets 50x cheaper and some devs think it's fine to use 50x as much of it making their app work? That's awful. That's why computers are still unresponsive half the time despite miracles of chipmaking.

Devs getting good computers compounds this problem too, when they get it to "fast enough" on their machine and stop touching it.

And memory being cheap is an especially bad justification when a program is used by many people. If you make 50 million people use $4 of RAM, that's a lot. Except half the time the OEM they bought the computer from charges $20 for that much extra RAM. Now the bloat's wasting a billion dollars.

And please remember that a lot of people have 4GB or 8GB and no way to replace it. Their apps move to electron and they can't run them all at once anymore? Awful.
Show HN: Open-source Japanese learning Platform inspired by Monkeytype
by aladybug | 2025-11-20 08:01:09+00:00
As a long time Japanese learner, I've always wanted there to be a simple, free online trainer for learning and grinding Japanese kanji and vocabulary - like Monkeytype in the typing community (fun fact: we actually have 2 Monkeytype devs on our team now!).

I'm doing this because I grew tired of all the subscriptions and paywalls, which are unfortunately very common in the Japanese learning apps market. That's why I want to make the most fun, user-friendly and customizable platform for learning Japanese currently available, and the first one that is (and will be, forever) completely free, ad-free and open-source - driven not by profit, but made by the community, for the community. We already managed to get around 600 stars on GitHub and about 7k monthly users for the app. That being said, I recognize that the app is still in its very early alpha stages and is, objectively speaking, behind paid Japanese learning solutions (at least for now) - which is why I want to change that and make it the first entirely free and open-source platform for learning Japanese to provide a real, high-quality alternative to all the current paid Japanese learning resources, which I believe we can achieve with the open-source community's help. Why am I doing this? Because weebs deserve to have a free, open-source learning platform too (I'm one of them, don't judge...)

どうもありがとうございます!
by nebula8804 | 2025-11-20 08:01:11+00:00
Ok lets ignore competing with them. When will AI just spit out a "home cooked" version of Office for me so I can toss the real thing in the trash where it belongs? One without the stuff I don't want? When will it be able to give me Word 95 running on my M4 Chip by just asking? If im going to lose my career I might as well get something that can give me any software that I could possibly want by just asking.

I can go to Wendys or I can make my own version of Wendys at home pretty easily with just a bit more time expended.

The cliff is still too high for software. I could go and write office from scratch or customize the shivers FOSS software out there but its not worth the time effort.
by toastal | 2025-11-20 08:01:12+00:00
This will become increasingly important as Google has boiled the frog too fast while trying to force its new store policies + banning sideloading; however, all of the pieces are now in place for them to try again in a year or 2, which history shows us they will. It’s certainly time to start toying with Linux phones if you haven’t already. This year I picked up an Xperia 10 to flash Sailfish OS on—which has rough edges (many of the hardware issues should be fixed in the next release), but Android App support bridges some of the gaps in application support.
by adityaathalye | 2025-11-20 08:01:23+00:00
Nice... I made "Bulk Git Ops" Bash functions to source into shell and tab-complete to invoke. (nb. I organise my sources like this: ~/src/{github,gitlab,bitbucket}/{usernames..}/{reponames..}).

ref: bulk-git-ops.sh in my repo https://github.com/adityaathalye/bash-toolkit/

This way:

Examples assume that repos you contribute to are spread across remote hosts, and (hopefully) namespaced sanely. I organise my sources as follows. ~/src/{github,gitlab,bitbucket}/{usernames..}/{reponames..} QUERY: Count repos that are stale: ls_git_projects ~/src/ | take_stale | count_repos_by_remote QUERY: Count repos that are active (within 12 hours by default): ls_git_projects ~/src/ | take_active | count_repos_by_remote EXECUTE! Use 'xgit' to apply simple git commands to the given repos, with logs to STDERR/stty ls_git_projects ~/src/bitbucket | xgit fetch # bitbucket-hosted repos EXECUTE! Use 'proc_repos' to apply custom functions to, with logs to STDERR/stty ls_git_projects ~/src/bitbucket | proc_repos git_fetch # all repos ls_git_projects ~/src/bitbucket | take_stale | proc_repos git_fetch # only stale repos ls_git_projects ~/src/bitbucket | take_active | proc_repos git_fetch # only active repos EXECUTE! What's the current branch? Logs to STDERR/stty ls_git_projects ~/src/bitbucket | proc_repos git_branch_current # all repos EXECUTE! With logs redirected to hidden dir for logging (you must create it by hand first) mkdir -p "${logdir}" ls_git_projects ~/src/bitbucket | proc_repos git_branch_current 2>> "${logdir}/bulkops.log" tail "${logdir}/bulkops.log"
by bilekas | 2025-11-20 08:02:23+00:00
> They can just release a Windows native anti-cheat-anti-piracy feature.

Unless it's a competitive game and it's a significant improvement on current anticheat systems I don't see why game developers would implement it. It's only going to reduce access to an already increasing non-windows player base, only to appease Microsoft?

Also in order to circumvent a Windows native version wouldn't that be extremely excessive and a security risk? To be mostly effective they would need to be right down the 0 ring level.. just to spite people playing games outside of Windows?
by frumplestlatz | 2025-11-20 08:02:24+00:00
> Programs WILL be written incorrectly - you will deploy to production something that can’t possibly work. What should you do with a program that can’t work? Pretend this can’t happen? Or let you know so you can fix it?

Type systems provide compile time guarantees of correctness such that systems cannot fail in ways covered by the type system.

In this case, they used an unsound hole in the type system to do something that unnecessarily abandoned those compile-time invariants and in the process caused a world-wide outage.

The answer is not to embrace poking unsound holes in your type system in the first place.
by frm88 | 2025-11-20 08:02:35+00:00
I agree with your observation re. what people say/do. However, you know just as well as I do, that there's never studies/data of people avoiding stuff. How would you even go about proving a negative? So, let's turn this around: can you show me data that confirms people are enthusiastic to buy AI enhanced things? Data that confirm people's widespread acceptance and/or even preference of AI enhanced commodities?
by kelsolaar | 2025-11-20 08:02:51+00:00
ACES 1.x was quite old and released at a time where HDR displays were pretty much non-existent. ACES 2.x is not perfect but trying to provide display rendering transforms that hit contradictory requirements is really hard, e.g., need to have a really nice rolloff and desaturation towards white whilst being able to reach corners of the gamut.
by Arch-TK | 2025-11-20 08:02:56+00:00
/bin is the "standard" location for bash on a subset of Linux distributions and basically no other Unix...

So it's not really a standard.

/bin/sh is a much more common convention but once again, not a standard.

There really isn't a truly portable shebang, but the same can be said about executables themselves. As part of the build or install step of whatever thing you're making, you should really be looking these up and changing them.

What's more, bash isn't a standard shell.
by raverbashing | 2025-11-20 08:03:07+00:00
I agree

People bemoan bureaucracy (which is a totally fair criticism) without understanding its deeper meaning:

Bureaucracy is how it works

That's it. Digital government is also bureaucracy. Applying to YC is also bureaucracy.

Of course the meaning drifted with the times, but it still means that

First definition here https://dictionary.cambridge.org/dictionary/english/bureaucr...
by yetihehe | 2025-11-20 08:03:19+00:00
> * Disconnecting from my Bluetooth AirPods somehow does not stop my music. I'm not sure if this is an AirPods limitation or a Linux limitation (since I've never used AirPods with Windows), but it annoyed me endlessly.

I think this is by design, not limitation. On android, changing sound device stops music playback. On windows and linux, changing sound device doesn't stop sound. I tried it with wired headphones, maybe expectations for BT are different, but I think that comes from smartphones.
by Peteragain | 2025-11-20 08:03:29+00:00
The BBC gets to say what history is because it documents the now. Farage does not have the popular support tha Corbyn had (has?) but you'd never believe it counting the number of interviews Farage gets with the BeeB. The game, as with Wikipedia, is to convince everyone you're unbiased and truthful and then sell us something. The question really is the relationship between the people's will (assuming you think democracy is a good idea) and the BBC's agenda setting.
by kilpikaarna | 2025-11-20 08:03:31+00:00
Reproductions of the product of thought, more like it.

I assume pretty much everyone here knows the gist of how LLMs work? "Based on these previous tokens, predict the next token, then recurse." The result is fascinating and often useful. I'm even willing to admit the possibility that human verbal output is the result of a somewhat similar process, though I doubt it.

But somehow, even highly educated/accomplished people in the field start talking about consciousness and get all spun up about how the model output some text supposedly telling you about its feelings or how it's going to kill everyone or whatever. Even though some basic undergraduate-level[0] philosophy of mind, or just common human experience, feels like it should be enough to poke holes in this.

[0] Not that I care that much for academic philosophy, but it does feel like it gives you some basic shit-from-shinola filters useful here...
by grumbelbart2 | 2025-11-20 08:04:00+00:00
This is a "classic" machine vision task that has traditionally been solved with non-learning algorithms. (That in part enabled the large volume, zero defect productions in electronics we have today.) There are several off-the-shelf commercial MV tools for that.

Deep Learning-based methods will absolutely have a place in this in the future, but today's machines are usually classic methods. Advantages are that the hardware is much cheaper and requires less electric and thermal management. This changes these days with cheaper NPUs, but with machine lifetimes measured in decades, it will take a while.
by escapecharacter | 2025-11-20 08:04:11+00:00
This is an odd take that might seem privileged, but: sales or coupons. Digital or physical.

If a company is offering a discount, sale, coupon, etc., they've done the math and determined the reduction in revenue to them is offset by your increased likelihood to purchase, or share in your mind. (Algorithmic) discounts are a technology in the sense that they're part of modern data science-driven consumerism. Just like going to a casino, the house is always going to win. So, I offer no mind share to these. I've bought many games from Steam sales I don't play, for an innocuous example.

I'm not going to throw out a coupon if it's thrust into my hand (e.g. Wonderville, a gaming bar I love in Brooklyn hands out wooden drink tickets and one is in my wallet.)
by pfix | 2025-11-20 08:05:07+00:00
See uses here: https://en.wikipedia.org/wiki/Basalt_fiber I am no material scientist, so cannot comment on actual facts why it might be better in specific cases than Kevlar, Dyneema or Carbon. But from experience there's a lot I don't know and especially in engineering there's a lot to consider when putting materials under stressful conditions that might put this in in a specific spot superior to those mentioned above.
by lauri_jo | 2025-11-20 08:06:08+00:00
It seems somewhat obvious that more democratic Russia would be in the interests of the rest of the Europe. Similarly self evidently, the former KGB is against it. Freedom of press is rather important part of democracy, and the state controlled media is an important part of an authoritarian play book.

The lack of democracy in Russia has now ended up costing millions of lives and trillions in damages, so maybe we should have actually invested more?
by jack_tripper | 2025-11-20 08:06:10+00:00
>Deregulated gambling has had a horrible impact on individuals.

Yes, but gambling and all vices for that matter, are a centuries old issue that's well studied and well understood by everyone, while AI(hate that term in this case) LLMs are only an issue since November 2022, while most influential politicians are dumbass boomers who don't understand how a PC or the internet works let alone how LLMs work but yet are expected to make critical decisions on these topics.

So then it's safe to assume that the politicians will either fudge up the regulations due to sheer cluelessness, or they will just make decisions based on what their most influential corporate lobbyists will tell them. Either way it's bad.
by pfix | 2025-11-20 08:06:53+00:00
Wikipedia says yes: https://en.wikipedia.org/wiki/Basalt_fiber

> The basalt fibers typically have a filament diameter of between 10 and 20 μm which is far enough above the respiratory limit of 5 μm to make basalt fiber a suitable replacement for asbestos.

The source mentioned is a basalt fiber brand website, so not sure if that's enough for confidence.