MurphyA/hacker-news huggingface dataset:
by squigz | 2025-07-28 11:21:32+00:00
> Imagine 10-100 tests that take <1ms to run, being rerun with every keystroke, and the result being shown in a non-intrusive way.

Even if this were possible, this seems like an absolutely colossal waste of energy - both the computer's, and my own. Why would I want incomplete tests generated after every keystroke? Why would I test an incomplete if statement or some such?
by mizmar | 2025-07-28 11:21:53+00:00
Something similar is used in swiss tables - metadata bucket entries are 1 bit occupancy marker and 7 MSB bits of hash (don't remember how tombstones are represented). Metadata table is scanned first, the upper part of hash should discard filter out most colliding entries and the "false positives" lead to probe in entry table and key comparison (possibly optimized with full-hash comparison).

Buckets use 16 bytes because sse2 and arm neon SIMD are basically guaranteed.

I was shocked to read on how swiss tables - proclaiming to be the fastest hash tables - work. It's just open-addressing linear probe with no technique to deal with collisions and clustering. Plus the initial version rounded hashes%capacity to bucket size, thus using 4 less bits of hash, leading to even more collisions and clustering. Yet the super fast probe with apparently made it not an issue? Mind-boggling. (Later version allowed to scan from arbitrary position by mirroring first bucket as last.)
by mapt | 2025-07-28 11:22:39+00:00
This is such an off-base critique that it seems like deliberate trolling. The biofuel renewable carbon cycle takes carbon from the air, and burns the carbon once it's in the form of ethanol. It stops taking carbon from the ground and putting it into the sky.

The problem in corn's case, the reason none of this works, is you need to burn lots of fuel to produce corn. LOTS of fuel. Enough that you could barely (in some studies) or not even (in others) produce more fuel than you burned.

If you electrify your farming you don't have this problem. A far-future use-case is that we have eliminated 95% of fossil fuel use, and use solar-battery-powered tractors, trucks, and combines to harvest biofuels in order to fuel long-haul aviation and certain other legacy hardware that proved difficult to electrify.
by irthomasthomas | 2025-07-28 11:23:16+00:00
import openai, math, os, textwrap, json, sys query = 'Paris is the capital of' # short demo input os.environ['OPENAI_API_KEY'] # check key early client = openai.OpenAI() resp = client.chat.completions.create( model='gpt-3.5-turbo', messages=[{'role': 'user', 'content': query}], max_tokens=12, logprobs=True, top_logprobs=1 ) logprobs = [t.logprob for t in resp.choices[0].logprobs.content] perplexity = math.exp(-sum(logprobs) / len(logprobs)) print('Prompt: "', query, '"', sep='') print('\nCompletion:', resp.choices[0].message.content) print('\nToken count:', len(logprobs)) print('Perplexity:', round(perplexity, 2))

Output:

Prompt: "Paris is the capital of" Completion: France. Token count: 2 Perplexity: 1.17

Meta: Out of three models: k2, qwen3-coder and opus4, only opus one-shot the correct formatting for this comment.
by zelphirkalt | 2025-07-28 11:23:26+00:00
But it is not merely the best humans. Any good developer is able to write better code, because by definition LLMs tend towards the mean, which is mediocre code, mostly from GitHub, they were force-fed as training data.

They may excel at solving very narrow problems with decent results, like in that programming competition recently. But those are indeed very narrowly defined problems, and while they may solve it decently in limited time, that is roughly their overall limit, while a human, given more time, can excel to a much higher level.

It becomes a question of whether we want mediocre things, that are not very extensible and maintainable, relying on the very thing that produced these mediocre codes to maintain and extend them, or do we want high quality work.

For the latter one would want to hire qualified people. Too bad though, that hiring is broken at many companies and they don't recognize qualifications, when right in front of them.
by 1dom | 2025-07-28 11:23:27+00:00
I feel personally attacked. I love it.

Here's some more:

- People only visit your personal website knowing they can personally read, understand, audit and approve every single line of code that ever went into it. This means you don't really have a personal website unless you meticulously wrote every single line and every single change is clearly described and accessible on github (and sourcehut, and forgejo, and the rest. What sort of monster uses only Github nowadays?)

- Remember to explain every single self-doubting existential thought that went into producing (or not producing) your website: people aren't there for objective, intellectual, educational tech content, they're probably more interested in self-deprecating metacognition.
Show HN: I made a tool to generate photomosaics with your pictures
by jakemanger | 2025-07-28 11:23:50+00:00
Hi HN!

I wanted to make some photomosaics for an anniversary gift, but I ended up building this tool and turning it into a website that anyone can use.

For those who don’t know, a photomosaic is an image made up of many smaller tile images, arranged in a way that forms a larger, recognisable picture.

The best part? Everything runs directly in your browser. No files are uploaded, and there’s no sign-up required.
by account01011100 | 2025-07-28 11:23:59+00:00
Adding cpu instructions is something that you can't physically do, however unlocking the bootloader is something you can do via software, and if a vendor chooses to lock it down they're basically taking away your ability to do anything you would want to do with a device. Sadly this is has been the case for a while and it's probably going to continue being the case.
by rubyAce | 2025-07-28 11:24:49+00:00
> You are simply over indexing for your own circle. Your circle (by virtue of being a nerd) is deeply biased towards people heavily influenced by U.S. attitudes towards freedom. I’m an internet nerd too, I know how easy it is to get caught up in this idea that what you see online is representative of the people, but it isn’t.

False. Most of the people I engage with in real life are not nerds. You keep on stating things that you know nothing about as truisms. How about instead of trying to gaslight people about what is real and what isn't, you actually engage in the points being made by your interlocutor?

> Go out and talk to real people. Go and stand in the street and ask every passer by whether they feel the U.K. is “draconian” or not.

I would imagine if someone thought about it, I would get a statement something about all the cameras everywhere or how buying some with a bank transfer is difficult (if you buy something cash like a vehicle it sets off anti-fraud detection in your bank and transactions can be blocked).

They won't talk about it in terms you are familiar with. They will point to stuff like cameras, unfair charges etc and how difficult some of this makes their lives.

All of this normal people have experienced.

> You’ll be shocked to discover that almost nobody cares about anything that doesn’t directly impact their day to day life. Look at the rise of Reform, Farage’s embrace of trumpism. That’s authoritarianism, and the people love it. You’re completely out of touch with the common person if you think any of this matters.

You mentioned all of those. I didn't mention them. You are projecting onto me what your experience is. The irony here is astounding.
by Igrom | 2025-07-28 11:25:26+00:00
There is photo scanning/camera software out there on phones that detects edges of documents/regions, then crops and deskews the image. My Xiaomi Redmi Turbo 3's camera app has a "document" mode that does that. I also know of other software (for example, Paperless Mobile — though it is not its primary feature) that does that.

I think this would be an improvement to the OP's process: Print a thick black rectangle sized such that the contour's inner edge is slightly larger than the CD. Use the phone to take a picture and deskew it - the scanner should "catch" on the inner contour. Repeat with all other CDs. Finally, load the images onto the computer and run batch processing on them using your raster image editor to trim whitespace. This way, you'd keep manual labour to a minimum.
by harringdev | 2025-07-28 11:26:40+00:00
You make a good point, and I will clarify what I mean.

A small disclaimer, I am not a AI-booster. I think LLMs do have issues, and one should be careful with them.

I've found that there's a large group of people who dislike LLMs strongly and claim they are totally useless or even pernicious. I think this is grounded in truth -- they are trained on copyright work, they are used for spreading misinformation, they can produce sh^t code. Although some folks take a radical/extremist approach and totally dismiss them as useless -- often without actually using LLM-powered tools in any meaningful way.

They are useless for many applications, but programming is not one of them. I think a blanket ban on LLMs has to be somewhat unfounded/radical because they do have practical applications in writing code. The tab-completion models are extremely useful for example.

For this more niche project I would think LLMs might not be as useful as they are for other projects. This said, I still think there would be a variety of use-cases where they could be helpful.
by jemmyw | 2025-07-28 11:26:41+00:00
I've got a Samsung dryer and when it had a fault with the door sensor they got it fixed pretty quickly. I had better service from them than Bosch or Miele - I replaced a Bosch dryer when I was totally fed up of trying to organise Bosch to fix it and being told it was at least a 6 week wait - Samsung half the price, and surprised us that it is a better dryer (faster, easier to use etc).

I don't love their phones, though my wife has one. However, again on the service front, when my samsung S7 had a problem they fixed it pretty quickly. When my iPhone 5 came with the wifi not working it took weeks to convince Apple that it was actually broken and get a replacement.

All anecdotal of course, and probably varies a lot by location and over time.
by mytailorisrich | 2025-07-28 11:27:20+00:00
"in the US sense" being the key word. Hence my previous comment about people not reading...

None of the replies I got address the point. They are at best beside it, at worst they are misrepresentations and bare insults (guidelines, indeed!) for no apparent reason. Is it because "EU good, Trump bad"? I have no idea.

The restrictions on "free speech" that European countries implement, and which are increasing, would be unthinkable in the US because of their understanding of "free speech" and the legal protections in place.
by 1dom | 2025-07-28 11:27:43+00:00
You're clearly a better person than the author then.

They said at the start they were going on personal experience. I relate deeply to what they're saying: it's most definitely not a rant/beef against another project/client, it's most definitely the learnings of someone who's been producing personal websites for decades, has kicked themselves a few times in the process and can sarcastically poke fun at their journey in front of others.
by k__ | 2025-07-28 11:27:47+00:00
Awesome, thanks!

If I understand this correctly, there are three major problems with LLMs right now.

1. LLMs reduce a very high-dimensional vector space into a very low-dimensional vector space. Since we don't know what the dimensions in the low-dimensional vector space mean, we can only check that the outputs are correct most of the time.

What research is happening to resolve this?

2. LLMs use written texts to facilitate this reduction. So, they don't learn from reality, but from what humans written down about reality.

It seems like Keen Technologies tries to avoid this issue, by using (simple) robots with sensors for training, instead of human text. Which seems a much slower process, but could yield more accurate models in the long run.

3. LLMs holds internal state as a vector that reflects the meaning and context of the "conversation". Which explains, why the quality of responses deteriorates with longer conversations, if one vector is "stamped over" again and again, the meaning of the first "stamps" will get blurred.

Are there alternative ways of holding state or is the only way around this to back up that state vector at every point an revert if things go awry?
by constantcrying | 2025-07-28 11:28:27+00:00
In my city the maintenance is done by the fire department, not in the US though.

Also fire truck repair is much more amenable to competition (the article points out how fragmented and competitive the market for the trucks themselves already is), this is just truck maintenance there are small to large shops for this around the entire US. Especially since the trucks themselves likely are generic and not fire specific.

This is entirely on the city, blaming some other boogeyman for this is absurd. Sure, you hate private equity, but they aren't some menacing ghost causing everything bad in the world.
by thunderbong | 2025-07-28 11:28:28+00:00
From the article -

> Windows might not be trendy among developers, but it’s where accessibility works best. I don’t have to worry about whether I can get audio working reliably. The NVDA screen reader works on Windows and is free and open source, actively maintained, and designed by people who are screen reader users themselves.

> That said, I’m not actually developing on Windows in the traditional sense. WSL2 gives me a full Linux environment where I can run Docker containers, use familiar command-line tools, and run the same scripts and tools that my colleagues use. Windows is just the accessibility layer on top of my real development environment.

> I use VS Code. Microsoft has made accessibility a core engineering priority, treating accessibility bugs with the same urgency as bugs affecting visual rendering. The VS Code team regularly engages with screen reader users, and it shows in the experience.
by RpFLCL | 2025-07-28 11:28:36+00:00
Well that's kind of exactly my point, really.

Ostensibly these laws are to protect kids from porn, but that isn't really the case. They instantly expand to everything else "adult", and it's very easy to argue that talking about politics, or discussing evidence of war crimes or genocide, or apparently showing a real and current protest, are "adult" conversations.

And with laws like this, people, adults, everyone, lose the ability to participate in those conversations without doxxing themselves. Some of these things are difficult to discuss when you fear retribution.

It's not about the porn. It was never actually about the porn. The porn is just the difficult-to-defend-without-looking-like-a-pervert smokescreen. It's designed to curtail the free flow of information and expression in far more areas. The people behind these laws are liars.
by arman08 | 2025-07-28 11:28:40+00:00
Lately, I’ve seen many people in the Crossplane community struggle to convince their teams that Crossplane is a good fit for managing infrastructure and application stacks. Changing minds is hard — especially when it means stepping out of a familiar workflow. I find this challenge fascinating, so I decided to write this blog post to explore the common hurdles people face when introducing Crossplane to their teams.
by krapp | 2025-07-28 11:28:59+00:00
>They were a special interest that used violence to keep less skilled people out of their industry, so they could keep making more money than the hoi pollo.

So apart from the use of violence, the Luddites were essentially equivalent to modern tech culture. It's weird that they don't get more sympathy on HN.

Regardless, the complaints of the Luddites resonate because they would eventually apply to everyone, including the working class. It just happens that they came for the textile workers first.
by jcgl | 2025-07-28 11:30:10+00:00
Due to its (afaik) unrivaled privacy-preserving architecture, the Signal servers have systematically less info on you than, e.g. a Matrix server. The risks of an attack should therefore be much lower.

Oversimplifying a little bit here, but I believe the most likely outcome of a Signal hack would be downtime, rather than a data leak. Contrast that with e.g. matrix.org (where the majority of Matrix users are).
by rickdeckard | 2025-07-28 11:30:41+00:00
Unlikely, bootloader unlock is a controlled process and state of the OS for many years now.

The procedure explicitly hands over the responsibility of OS-integrity to the end-user, it's not Samsung's responsibility after that and the user needs to confirm that.

It's much more likely that the cost/benefit profile to develop/maintain/support that feature and its related unlock-process is simply not sufficient, all while several of the biggest customers explicitly require unlock to NOT be supported.
by cardanome | 2025-07-28 11:31:43+00:00
I have seen companies that had ten times as many microservices than devs, our industry is full of cargo culting, ignorance and resume driven development.

While there is sometimes good reason to use TS, often you might be better served using JSDoc so you have type safety without the compilation step.

I currently see the direct comparison as my company has one project that uses old-school php backed rendering with a bit of vanilla js sprinkled it and one with modern React and TS. The React team is significantly less productive and the code is much harder to maintain, has more bugs, is less performant and harder ton onboard people to. But when I suggest that a new project does not not need to be a SPA, I always get booed.
by aleph_minus_one | 2025-07-28 11:32:23+00:00
Interesting:

"How fast do you want to learn?": in my experience many companies in my opinion don't want employees that learn fast, because otherwise these employees would immediately see and call out a lot of bullshit.

"Would you feel ownership on day one?": in my experience many software companies don't want employees to really feel ownership about their code, since "ownership" means that the respective employee will be willing to fight hard that his vision of this "owned" code is retained and this code won't be "tainted" by "unworthy" ideas of other colleagues.
by lithos | 2025-07-28 11:33:01+00:00
There are some loose numbers tosed around like agricultural ethanol being 2x the carbon emissions of big oil.

While not circled around to properly destroying a wetland for farming, is also destroying a far more permanent carbon sink than a farm.

-----

IMO the article is tripping over itself to tell a story and cares about that story far more than factual information.

It could even help for some types of people, even if it's likely painful for the people reading from here.
by lelanthran | 2025-07-28 11:33:04+00:00
> I host my blog using plain HTML and I have a compile step - a Python script that converts markdown to HTML, which minimizes the energy I spend on... wrapping everything in HTML tags?

Same, except I skipped Python and went with bash (https://gist.github.com/lelanthran/2634fc2508c93a437ba5ca511... if you're curious).

If I had to do it again, I'd go with Python, but because it started off as a small 5 line shell script I thought "Why bother with Python?".
by pjmlp | 2025-07-28 11:33:44+00:00
Not surprising, all embeded IDEs used to look like Eclipse CDT, nowadays they all look like VSCode forks, at least they aren't shipping yet another Chrome Platform Runtime based IDE.

And Flutter was initially based in React before adopting Dart, while Compose was Android's team response to the internal turf wars at Google.

It is to be expected that when forced to not use Android any longer due to politics, they would make a platform that eases the effort of developers with Android skills to transition to a new platform free of US politics.
by subscribed | 2025-07-28 11:35:32+00:00
> How do you expect to push a technical solution for an authorization platform without leveraging the systems that people use?

Hardware attestation is an Open standard in the Android world, and it doesn't require Google buttplug in the phone to function.

Details here: https://grapheneos.org/articles/attestation-compatibility-gu...

(I'm not discussing with your other points because at this point they're null and void)
Show HN: Coegil – Ship enterprise-grade, full-stack AI apps with Claude Code
by guadman | 2025-07-28 11:35:45+00:00
Hi HN,

We built Coegil - dev tools + frontend/backend infra for vibe coders.

You can vibe code a frontend in minutes — but you hit the wall when you need a real backend.

So we built the OS we wanted - cloud-grade infra, minus the DevOps:

- Self-serve access control, data storage, and versioning - Scalable compute sessions for your favorite vibe coder + libraries - Multi-step job pipelines with logs + monitoring - GenAI agent & endpoint hosting with logic + memory - Build dashboards + traditional ML models - Ready-made auth + payments - Multi-cloud + on-prem connectivity - 99.999% uptime

No config setup. No stitching tools. Just build full-stack apps fast.

We used a version of this at Bridgewater Associates — and realized the rest of the world needed it too.

* Signup: https://coegil.com/signup-hn

* Check us out: https://coegil.com

Would love feedback from vibe coders trying to go from prototype to prod.
by criley2 | 2025-07-28 11:36:15+00:00
I had ChatGPT o3 judge the paper, interesting results https://chatgpt.com/s/t_68876055374c81918960920665a4c87b

"The Big Vitamin D Mistake is a concise advocacy editorial, not a definitive study. Its central thesis—that we all need ~10× more vitamin D than current RDAs—is not supported by subsequent large randomized trials or by regulatory reviews. Use it, if at all, as a conversation starter about DRI methodology, not as a basis for clinical dosing."
by scrumper | 2025-07-28 11:38:20+00:00
I watched this, it's a fun video. Turns out an isomorphic piano is one where the gap between every key of the same type (white and black on a regular piano, but here "raised" and "lower", or "fat" and "skinny" or pick your own names) is a tone. There's a skinny raised key between every lower fat key. Chords are always the same shape in every key, but I'm not convinced that's much of an advantage. It looks hard to play, but the video host makes a good go of it.
by nvln | 2025-07-28 11:39:05+00:00
One of the downsides(!?) of the AI aided coding wave is the huge benefit for entrenched frameworks that the models are pre-trained on making it harder for newer frameworks to gain acceptance.

To tilt the balance slightly, I've added documentation on how to work with Claude when building with Duct UI.

I think such documentation will become essential for all new libraries and helpful even for older libraries trying to direct generated code towards certain standards or guidelines.

AI shouldn't mean end of experimentation and such efforts will make experimentation worthwhile.
by kasey_junk | 2025-07-28 11:39:19+00:00
There are lots and lots of us who have gone down the road of generalizing code and have decided the outcomes, for the business that pays for the software, are worse. Frequently it devolves into code that is hard to reason about, architecture that is overblown for purpose or that does something just about, but not exactly, what you want it to do.

But more importantly, by dismissing the comment that way, you’ve made an implicit claim. You are claiming to be able to judge a persons capability or the challenges they are working on off of a couple hn comments. Thats bad engineering and anti-social behavior.

Imagine telling someone that learning to touch type was the sign of a bad software engineer because you don’t type that much because your libraries are all named with single letters. Thats what these arguments sound like to me.