MurphyA/hacker-news huggingface dataset:
by sam-cop-vimes | 2025-06-04 09:57:19+00:00
Not OP, but the way self-checkouts are built does make one feel like they are being treated as a potential thief. There are cameras in each till recording you as you are scanning your items. The moment you scan your item, the thing keeps nagging you to put it in the basket because it wants to weigh it to make sure you are not placing anything extra. If for whatever reason you don't want to put it in the basket, it doesn't allow you to scan anything else. The list goes on.

Yes I know all about "shrinkage" but self-checkouts just feel like some smart arse built a machine which barely replaces the person at the till and sold it to supermarkets as a feature.
by wltr | 2025-06-04 09:57:23+00:00
Half of Ukraine — the one closer to Russia — does not speak Ukrainian, mostly Russian. All of Belarus knows only Russian, mostly not knowing Belarusian. Latvia and Estonia have huge parts of their population who don’t speak local national languages, but speak only Russian.

I’m telling you to back off, I don’t like you and your attempts to diminish me and westplain me something you don’t know personally, basically spreading Russian propaganda how wonderful it was under Russian occupation during the Holodomor timeline. I wish you to get blocked on here sooner than later.
by throwup238 | 2025-06-04 09:57:50+00:00
How are you going to download the top 100k? The only reasonable way to download that many books from AA or Libgen is to use the torrents, which are sorted sequentially by upload date.

I tried to automate downloading just a thousand books and it was unbearably slow, from IPFS or the mirrors both. I ended up picking the individual files out of the torrents. Even just identifying or deduping the top 100k would be a significant task.
by thih9 | 2025-06-04 09:58:19+00:00
For context, the original joke is:

> There are 10 kinds of people in this world — those who understand binary and those who don’t.

There are other versions too[1][2][3].

[1]: https://news.ycombinator.com/item?id=7036594

[2]: https://news.ycombinator.com/item?id=7040175

[3]: https://news.ycombinator.com/item?id=25854900
by _elephant | 2025-06-04 09:58:26+00:00
I completely agree that genetics play a crucial role in shaping our personalities. Classic studies, like those involving twins, have shown that genetic factors can account for a significant portion of our personality and preferences—often estimated around 40% to 50%.

I’d like to add that genetics provide the “base layer” of our personality—traits like innate boldness or social tendencies. But it’s the life experiences, environment, and emotional journeys that layer on top like specific colors and textures on a canvas. For example, even two people with identical genetics can end up with very different behavioral patterns, values, or worldviews if they grow up in different environments (such as variations in upbringing, cultural context, or major life events). In other words, genetics and experience together shape who we are.
by m2fkxy | 2025-06-04 10:00:16+00:00
That's true. I have a bias of having part of my formal education quite focused on geospatial topics. Seeing non-geospatial folks reinventing wheels taught in GIS 101 both makes me smile and grimace thinking that we have have been doing something wrong with basic tools and aspects of the trade not being wider known.

You can look into TopoJSON here: https://github.com/topojson/topojson And a good general introduction to topology in GIS setting is nicely found in QGIS documentation: https://docs.qgis.org/3.40/en/docs/gentle_gis_introduction/t...
by permo-w | 2025-06-04 10:00:17+00:00
my pedantry made me write this, and this is by no means a criticism of the overall art of the article, but of the examples given in the first animation, "Batman" does not need 4 jumps to "inspect" (e.g. Batman -> detective -> inspect), and "emerald" doesn't really connect with "foliage" enough for me: I'd suggest it needing a "green" in between for it to really make sense
by the_mitsuhiko | 2025-06-04 10:00:21+00:00
Overly verbose codebases are not great for agents in my experience because they confuse them greatly and make refactoring hard. However codebases that I find to work really well with agents are quite lite on abstractions and I always felt that this is the right way to build software for humans too.

I have a lot of functions, I pass a lot of data, I embrace a lot of thread local state and this works really well for both humans and AI to understand what is going on.

I gave a talk on this recently (not the agentic view), but I found this to work exceptionally well for agents: https://www.youtube.com/watch?v=ej5RsTtVvQE

But here is where agents and humans both agree: quick and easy tooling. Make it easy to iterate on a test, make it easy to manage resources, make the iteration cycle as quick as possible. I'm writing this as my partner's job forces iteration cycles of minutes on her. No agent can do better in that space than a human.
by jbarrow | 2025-06-04 10:00:59+00:00
I’m personally a huge fan of Modal, and have been using their serverless scale-to-zero GPUs for a while. We’ve seen some nice cost reductions from using them, while also being able to scale WAY UP when needed. All with minimal development effort.

Interesting to see a big provider entering this space. Originally swapped to Modal because big providers weren’t offering this (e.g. AWS lambdas can’t run on GPU instances). Assuming all providers are going to start moving towards offering this?
by Theodores | 2025-06-04 10:01:02+00:00
I would like to see a version of the app that assigns names, as in 'Fred', 'Bertha', 'Kevin' to given birds, algorithmically. I get the same birds in my garden and I already know what species they are, but, I wouldn't mind knowing if my favourite birds have got new mates, or, if I am down the road, some way from home, to confirm that it is 'Kevin' that I see, as in the same 'Kevin' that frequents my bird bath.

Consistently assigning names to different blackbirds might be tricky, but, for other birds, I am sure that some AI algorithm could do this.
by mort96 | 2025-06-04 10:02:18+00:00
If your threat model is such that it's perfectly fine for the server to know everything that's coming from and going to the client, there's no problem at all. That's probably your situation, it's okay that the server knows what notifications it's sending to your app.

If your threat model is such that you'd rather not have the server know what's sent to and from the client, it's not enough to just encrypt the data in flight, which is what HTTPS does. With encrypted chat, we typically want what we refer to as end-to-end encryption, where the server can't see the content of messages sent between users.
by absinnovation | 2025-06-04 10:03:50+00:00
What's Hot in Tech & Innovation!

* Data Science & AI: Master Python for efficiency, use smart feature engineering for better AI, and see how MIT is building global data talent. * DevOps & Development: Streamline deployments with CI/CD for Django via GitHub Actions and learn how industry giants achieve hyper-efficient CI. * Cloud Data Power: Discover boring-catalog for simple Apache Iceberg use and explore seamless data integration between Oracle and Databricks via Delta Sharing.

Ready to dive deeper into these game-changing insights? Click to learn more!
by petesergeant | 2025-06-04 10:03:56+00:00
I (op) restarted guitar recently, and Justin Guitar definitely seemed to be the internet's recommendation. I found it to be OK! The content is good but the app was a bit janky. I switched to online Zoom classes. Two people I know have used Simply Piano (and there's a guitar version of the same app) and swear by it, so probably also worth a look.
by lrvick | 2025-06-04 10:04:09+00:00
I spend plenty of time on streets of lots of cities, with no cell phone at all, so I hardly see a slow-access phone as limiting either.

I could get a camera maybe, or one of the tiny emergency 911 keychain phones that do not require a cell phone plan... but a smartphone? Why is that needed?

I use planes, trains, taxis, rideshare, hotels all over the world and shop all over the world and never been denied anything for not having a phone.
Ask HN: Is learnig just pattern matching and project known patterns to find new
by celurian92 | 2025-06-04 10:04:46+00:00
I am trying to study ML/AI and the more I dive into it to teach these models to recognize stuff and generate stuff, this question came to my mind like is the process of learning and synthesizing information to knowledge and wisdom is just pattern matching? We use other patterns to find new pattern and try to fit novel stuff into those known patterns? or extend those pattern?

just some rumbling thoughts if someone willing to think and answer.

if this true then wont it be possible to create AGI like the machine from person of interest?
by JdeBP | 2025-06-04 10:05:11+00:00
Don't be too envious. Linux kernel virtual terminals have "vcsa" devices that one can read for this sort of thing. And it's right there in the manual page how one does this.

* https://man7.org/linux/man-pages/man4/vcsa.4.html

They suffer from being straight copies of CGA, which has historically had a lot of conflation of boldness and brightness, as well as a very limited colour gamut that will make you weep at what your 256-colour TUI programs are reduced to. The NetBSD ioctl supposedly has a bold attribute in a separate field of the structure to a bright colour. Which in the backwards-thinking world of terminals where some people still have the CGA Think that bold=bright, is almost heresy. Still. In 2025. (-:

If you are looking for this sort of thing in a GUI/TUI terminal emulator that is a user application program, rather than the terminal emulators that are built into the NetBSD kernel or into Linux, then that's a different kettle of fish entirely. I know of one that provides a direct vcsa workalike. I wrote it.

* http://jdebp.info./Softwares/nosh/guide/commands/user-vt.xml

GNU screen works by having a server maintaining a buffer, and a client that attaches to the server and then renders that buffer's contents onto the client's own terminal. So in theory one might be able to access the display of GNU screen in a similar manner by making something that pretends to be a client. But how much of this mechanism even operates when GNU screen is in serial terminal mode, I don't know off the top of my head.

The same goes for tmux, of course. And indeed mosh. Although the documentation of the actual protocol was a not-done to-do item, promised in the early publicity for mosh but never delivered, for years. I kept checking back for quite a while to see whether they'd documented it as promised.

There's at least one GUI terminal emulator that stores its scrollback area to file, but only the scrollback area. GUI terminal emulators generally do not expose this sort of thing, though. It's some complex private data structure in the emulator process's memory, usually.

All that said, wscons is a fairly good-looking API. Certainly better than the undocumented mess that is fbio.
Show HN: Chonkify – updated 1kB chunker, now grapheme-aware
by Beardier | 2025-06-04 10:05:12+00:00
Hey all!

Thanks again for the thoughtful feedback on my original post — much appreciated.

I’ve made a few updates to chonkify, my tiny (~1kB) utility for chunking anything (arrays, strings, buffers, async iterables, etc.):

- Full source now included (no more minified-only dist)

- Clarified string behavior:

-- chonk() uses UTF-16 code points (like JS)

-- new chonkGraphemes() splits by grapheme clusters (so emoji stay intact)

- Updated README with clear examples and tradeoffs

I still think grapheme support is cool — just not the default anymore.

JS strings are based on UTF-16, but real-world text (emojis, Hindi, Thai, etc.) often needs grapheme-aware handling. Now you can choose between "what JS does" and "what users expect".

This is still very much a pet project — I built it primarily for myself and don’t claim any production-grade seriousness. That said, I’d be thrilled if it turns out useful to anyone else.

Would love more feedback!
by jacobtomlinson | 2025-06-04 10:05:20+00:00
Author of the post here, happy to chat in the comments!

The TLDR is that it's a tweak to SemVer style versioning, where instead of trying to cut things up into bug fixes, enhanecements and breaking changes you use the segments to communicate how much effort is required to adopt the new version.

This version scheme has been growing in popularity in the Python community recently, partly because it's effectively what many projects already do today. So thought I'd share it more widely again.

This has been discussed on HN before: - https://news.ycombinator.com/item?id=39039414 - https://news.ycombinator.com/item?id=39400576
by looofooo0 | 2025-06-04 10:05:26+00:00
"Mathematical breakthroughs: Most notably, it discovered an algorithm for multiplying 4x4 complex-valued matrices using just 48 scalar multiplications, surpassing Strassen’s 1969 algorithm"

Again despite all the AI no one found the paper which gives the best bound to this (46):

https://ieeexplore.ieee.org/document/1671519
by bastinrobin | 2025-06-04 10:05:34+00:00
Thanks for checking out PhotoMonk! A few quick notes to address questions I’m seeing:

*Batch Export & WASM Plans*

Batch export is in progress: I’m prototyping a WebAssembly + LibRAW build. Expect a beta version in the next 2 weeks that can queue up multiple RAWs for export.

If you have a particular format you’d like prioritized (e.g., XMP sidecar, TIFF, etc.), reply here and I’ll bump it up the roadmap.

Common Gotchas

If your browser hangs at the “Uploading” phase, check for ad blockers—some aggressive extensions can interfere with file reading.

On slower machines, try reducing the preview resolution via the “” icon in the toolbar to speed up rendering.

Feature Requests & Feedback

Missing a pro feature? Reply below—I’m tracking every request.

Found a bug? Please reach us: https://form.jotform.com/251534910672052

Want to share a custom preset or workflow tip? I’d love to feature community-made presets on the site.

Next Steps

- Adding full LibRAW support (more exotic RAW formats) by end of June. - Publishing a short blog post next week on “Building a Zero-Server RAW Pipeline in React + Canvas.” - Planning a PWA release so PhotoMonk can work fully offline.

Thanks again for taking a look—happy to dive into any questions you have!
by nemanja_codes | 2025-06-04 10:06:01+00:00
SEEKING WORK | REMOTE | WORLDWIDE

Location: Serbia, GMT +2

Remote: Yes

Technologies: React, Next.js, JavaScript/TypeScript, Node.js, Astro, TailwindCSS, Jest, Cypress, Prisma, PostrgreSQL, MongoDB, Docker, C#/.NET

Resume/CV: Available on request

GitHub: https://github.com/nemanjam

Website: https://nemanjamitic.com

LinkedIn: https://www.linkedin.com/in/nemanja-mitic

Email: nemanja.mitic.elfak [at] hotmail.com

I am a full stack developer with a Master's degree in Computer Science and 4.5 years of professional experience with JavaScript. My top skills are React/Next.js and I am also good with Node.js backends. I have decent experience with C# and .NET but currently it is not my main focus. I have a decent understanding of DevOps technologies (Linux, containers, IaC, automation) for a developer. I also have interest an in Python and FastAPI. Here are some of my projects:

1. Comprehensive project: full stack Next.js, Prisma, unit, integration, e2e tests, CI/CD.

https://github.com/nemanjam/nextjs-prisma-boilerplate

2. Latest project: HN job ads aggregator, Next.js, SQLite (GitHub and demo links are in the first post).

https://news.ycombinator.com/item?id=42373936

I have experience working remotely for startups within globally distributed multicultural teams.

I have detailed resume available upon request. You can check out my other projects at https://github.com/nemanjam . You can tell me about your project via email: nemanja.mitic.elfak [at] hotmail.com or connect with me on LinkedIn: https://www.linkedin.com/in/nemanja-mitic .
by account42 | 2025-06-04 10:07:53+00:00
> - encoding - even if your file is not utf-8, why would that matter? You would still run the patch algorithm the same way. It doesn't really matter if the characters are valid utf-8

Yeah I don't see a use-case for a patch encoding either - just treat the patch data as ascii-delimited binary mistery goo. Patch files need to be able to deal with mixed encoding text (e.g. to fix it) so you can't really just have one encoding anyway.
by Merovius | 2025-06-04 10:08:03+00:00
Except if your traits are not dyn-compatible. Which I believe a lot of Rust's traits are not. That restriction is specifically why Go does not allow methods to have extra type parameters: To make it possible for the language implementation to choose its own tradeoff between monomorphization and boxing.

So I don't think you can say that this has nothing to do with the type system. Here is a restriction in the Go type system that was specifically introduced to allow a broad range of implementation choices. To avoid being forced to choose slow compilers or slow code: https://research.swtch.com/generic

The Go type system and the way it does generics is directly designed to allow fast compile times.
Show HN: Anything API – JSON response for any request
by gyanl | 2025-06-04 10:08:51+00:00
Anything API infers what you want from the request structure and gives you a JSON response for any request. You can optionally specify exact return fields.

Try something like:

https://api.gyanl.com/ominous-8ball

https://api.gyanl.com/protein-calculator/1-boiled-egg?fields...

https://api.gyanl.com/color-generator?fields=hex%2Cname%2Cde...

I built this because it was an amusing idea, but it might actually be useful for some types of prototyping. Happy to hear thoughts and feedback!
by hulitu | 2025-06-04 10:09:16+00:00
> It's hard to believe that the OneDrive File Picker still doesn't have fine grained OAuth scopes in 2025

We are talking about Microsoft here. Me gets a new laptop, company allows SW instalation only from an internal portal, i don't find Teams there, i ask a colleague how does one one install Teams: IT said to download it from microsoft.com. ROTFL. Of course it does not need "elevated priviledges" to install. Of course it is installed for every account on the computer and has access to all user files. But some people still _believe_ the (first appeared in Win95) "most secure Windows ever" lie.
by skapi_api | 2025-06-04 10:10:31+00:00
What started as an experiment in prompt engineering turned into a working web app.

I wanted to see how far I could go using ChatGPT + Skapi (a zero-setup backend) to build a functional, Instagram-style application — no backend code, no server setup, no frameworks. Just prompts.

Turns out: you can do it in 2 prompts, if you give the AI the right documentation.

Most LLMs only read the first page of a URL, so we created a minimal, AI-optimized doc page that teaches ChatGPT how to use Skapi’s backend features: auth, database, real-time logic, etc.

The result: ChatGPT generated a working frontend + backend logic, with no manual intervention.

Curious if anyone else has tried similar workflows or tools.
by penteract | 2025-06-04 10:10:35+00:00
If we assume that the stars of one galaxy (A) are distributed uniformly at random within a circular area in the galactic plane, and the other galaxy (B) is moving perpendicular to the plane of A and passes entirely through the circle containing stars, and assume that stars in galaxy B are point-like, then:

Expected Number of collisions = Number of stars in galaxy B * cross sectional area of star in A / average area of galactic circle per star in A.

https://www.wolframalpha.com/input?i=%28number+of+stars+in+m...

says it comes to 0.5 - 1.0 (the uncertainty comes from number of stars in the milky way)

My assumptions are bad enough that it could be off by a factor of 100 one way or the other (there should be a few factors of 4/pi, it looks like Andromeda is about twice the size of the Milky Way, the average star is smaller than the sun, no stars are point like, gravity probably does something, stars are much more densely packed towards the galactic center, I'm calculating the result one galaxy passing through another, not a merger in which they might partially intersect more than once).
by protocolture | 2025-06-04 10:11:23+00:00
Yeah see you fall into the usual trap.

Elon sells a 2-3 phase project, and then delivers phase 1. Thats the entire man.

Tesla: Was meant to revolutionise car making and green the planet. He delivered a pretty ok set of electric cars and got completely outflanked by traditional car makers. He also used it to rescue his brothers failing business.

Starlink: Its billed as an uninterruptible censorship ignoring super internet in space where government cant get it. But what he delivered is just landline fiber extended by 1 - 2 satellite hops. Its great for rural areas but the business complies with all legal censorship requirements where it operates. My back of the napkin math tells me its ultimate goals are completely unachievable, and MEO internet providers IMHO are catching up.

SpaceX: SpaceX is really good, they have brought in everyone from JPL and other places and absolutely nailed low cost orbital payload. In fact I read speculation they will take boeings contracts for Artemis prep. However what he sold is the relocation of humanity to mars which is no closer to being achieved, and as far as I can tell, he has literally no one but concept artists working on.

Hyperloop etc: Basically kickstarted the boring company which IIRC is one of his better long term prospects. He wont be creating super fast mass transit systems but he can shave months off of boring projects.

Xitter: Billed as an uncensored town square, the place has just engaged in the other teams censorship and is generally a cess pit.

Neuralink: Apparently almost as good as stuff displayed on Beyond 2000 25+ years ago.

tl;dr guy is a salesman. The fact that he can sell you a dream and then pretend like he delivered it without delivering it is a testament to his business strengths. But dont drink the koolaid.
by m4r1k | 2025-06-04 10:11:25+00:00
I wrote about cloud run and inference w/ ollama on cloud run -> https://medium.com/google-cloud/ollama-on-cloud-run-with-gpu...

performance is okay, ada lovelace has cuda 8_9 support which brings native fp8 support. imo the best aspect is the speed of spinning up new containers and the overall easiness of this service. the live demo at google next 25 was quite something https://www.youtube.com/watch?v=PWPvX25R6dM&t=2140s
by mort96 | 2025-06-04 10:11:28+00:00
In a typical server-backed web app architecture, TLS is the protection against MITM. You're gonna have a really really hard time making something which protects against MITM better than TLS.

There are things you can do to make it more difficult to hack your TLS connection though, for example you could use key pinning to make sure that your app will only accept a server with the certificate you expect. This would protect against an IT admin installing root certs on their users' devices, or against certificate authorities issuing fake certificates for your domain.