MurphyA/hacker-news huggingface dataset:
by mschuster91 | 2025-08-01 10:36:04+00:00
> There is an element of truth, but the reality is when one has overwhelming military over other, they also tend to use it and cause wars. See USA / Irak.

I actually don't have an issue with the idea of the Iraq war per se. Deposing dictators is always a good thing, dictators have no right to exist.

The problem I have with the Iraq war was the completely botched execution, from start to finish. The start was based on the infamous WMD lies, the plans didn't include any concept on how the country should be run after the war, how to prevent warlords fighting over scraps, how to make sure democracy comes in and stays afterwards, and while the departure wasn't as bad as Afghanistan it wasn't clean either.
by benterix | 2025-08-01 10:36:32+00:00
> I mean think about it if there was only 1 country on the whole world. Then we would be safe.

This is the logic behind the old-style Jihad. Also the Chinese emperors used the same argument when conquering smaller kingdoms.

Unfortunately, what happens in practice is that even in one Islamic country Sunni vs Shia terrorists attacks happen. And in the case of China, the price you pay for superficial peace are Uighur concentration camps, Tibetan self-immolations and so on.
by beligum | 2025-08-01 10:36:49+00:00
Since long, I've wanted to invent a general-purpose binary encoder with the following properties:

- bidirectional client/server: encoder and decoder in both Java and Javascript (and others?) - schemaless: no protobuf or avro, just plug-and-play - streaming: no analysis, single pass only - pure alphanumeric: [0-9][a-z][A-Z] and nothing else, so resulting strings are 'pretty' and double-click/long-tap selection works as expected - balanced implementation complexity, size and compression ratio - no padding/trailing characters - support for UTF-16 - no dependencies!

This project started out as a study of Pieroxy's lz-string compressor. LZ-string is quite good, but doesn't meet my goals. I needed something better, especially for JSON payloads. I ended up implementing my own encoder as a combination of CBOR + LZW + base62.

BBOR62 is efficient, portable and URL-safe.
by andrenotgiant | 2025-08-01 10:37:15+00:00
I think it's revealing that a group that historically values making decisions based on verifiable and accurate information is now jumping to discredit "Vibe Coding" based on rumors that are easily disproven.

1. Tea App wasn't vibe coding - It was built before vibe coding and the leak was incorrectly secured Firebase https://simonwillison.net/2025/Jul/26/official-statement-fro...

2. Replit "AI Deleted my Database" drama was caused by guy getting inaccurate AI support. All he needed to do was click a "Rollback Here" button to instantly recover all code and data. https://x.com/jasonlk/status/1946240562736365809

What does this eagerness to discredit vibe coding say about us?
by mbeavitt | 2025-08-01 10:37:15+00:00
Is it though? The algorithm you reference is meant to be a joke:

1) Write down the problem.

2) Think real hard.

3) Write down the solution.

This is not a useful algorithm in any sense, apart from that it might be thought provoking.

What's the "universal nike algorithm"? I didn't find anything on google.
by 3036e4 | 2025-08-01 10:37:22+00:00
That is something I have strived for recently, to use all the great window management features of my window manager of choice instead of browser tabs or lots of terminal tabs running tmux. If that didn't work well I guess it would have been a good sign that I need a better window manager. Even went back to use bookmarks instead of leaving hundreds of tabs open and having a bookmark bar instead of a tab bar is not bad at all.
by KronisLV | 2025-08-01 10:37:53+00:00
I feel like sooner or later the standard for these types of discussions should become:

> "Here's a link to the commits in my GitHub repo, here's the exact prompts and models that were used that generated bad output. This exact example proves my point beyond a doubt."

I've used Claude Sonnet 4 and Google Gemini 2.5 Pro to pretty good results otherwise, with RooCode - telling it what to look for in a codebase, to come up with an implementation plan, chatting with it about the details until it fills out a proper plan (sometimes it catches edge cases that I haven't thought of), around 100-200k tokens in usually it can knock out a decent implementation for whatever I have in mind, throw in another 100-200k tokens and it has made the tests pass and also written new ones as needed.

Another 200k-400k for reading the codebase more in depth and doing refactoring (e.g. when writing Go it has a habit of doing a lot of stuff inline instead of looking at the utils package I have, less of an issue with Spring Boot Java apps for example cause there the service pattern is pretty common in the code it's been trained on I'd reckon) although adding something like AI.md or a gradually updated CODEBASE.md or indexing the whole codebase with an embedding model and storing it in Qdrant or something can help to save tokens there somewhat.

Sometimes a particular model does keep messing up, switching over to another and explaining what the first one was doing wrong can help get rid of that spiraling, other times I just have to write all the code myself anyways because I have something different in mind, sometimes stopping it in the middle of editing a file and providing additional instructions. On average, still faster than doing everything manually and sometimes overlooks obvious things, but other times finds edge cases or knows syntax I might not.

Obviously I use a far simpler workflow for one off data transformations or knocking out Bash scripts etc. Probably could save a bunch of tokens if not for RooCode system prompt, that thing was pretty long last I checked. Especially good as a second set of eyes without human pleasantries and quick turnaround (before actual human code review, when working in a team), not really nice for my wallet but oh well.
by augmnt | 2025-08-01 10:38:32+00:00
Hey HN! I've just built subagents.sh to help people discover and share their sub-agents for Claude Code.

I was creating all these specialized agents for different coding tasks (testing, frontend work, etc.) and figured others must be doing the same thing. Seemed silly that we're all writing similar agents in isolation.

So I made a simple site where you can: - Browse and copy agents without signing up - Sign in with GitHub to submit your own agents - Import agents directly from your GitHub repos - See ratings from people who've actually used them

Got about 25 agents up there now, everything from project planning to test generation. You can grab any agent without an account - only need to sign in if you want to share your own.

Would love to know: - What would make finding the right agent easier? - What info do you want to see for each agent? - How to keep quality high as more people contribute?

Check it out: https://subagents.sh/
by v3ss0n | 2025-08-01 10:38:44+00:00
Because it is one of the most ambitious project in opensource world and very little is known about that. It is neglected by Python Contributor community for unknown reasons ( something political it seems) . It was developed as PHD Research project by really good researchers. PyPy had written python in Pure python and surpassed performance of Python written in C by 4-20x . They delivered Python with JIT and also Static RPython : which is subset of python which compiles directly to binary. I had also personally worked together with some of the lead PyPy developers on commercial projects and they are the best developers to work together with.
by DoneWithAllThat | 2025-08-01 10:39:22+00:00
“Tipping is a thing of the past” is just a completely false statement, given it’s the norm in the most economically powerful country in the world and not at all u heard of elsewhere (food delivery in many countries, high end restaurants in the UK and elsewhere, etc.) If we’re being generous we can call the claim is vs. ought distinction, except the phrasing doesn’t even leave room for the ought interpretation. It’s just a falsehood (were it was true).
by tezza | 2025-08-01 10:40:20+00:00
MS Windows has excellent multi window management with Alt Tab Win Tab etc. Far superior to others.

I have all my terminals with distinct icons and background colours to tell them apart. The operating system (Windows) does the heavy lifting.

i tried Mac for about five years but missed MS Windows “every window can be alt tabbed to”. Mac has “every app can be command tabbed to and therein each app has its own subwindow management”
by JdeBP | 2025-08-01 10:41:27+00:00
> if you do not set TERM with tmux properly, your colors will render incorrectly

This is of course true of every other terminal emulator as well, and indeed it's not only colours that are incorrect. Function and editing keys get recognized incorrectly; REP can get used where it does not work; and even simple relative cursor motions can be done wrongly.

TERM and the ideas incorporated into terminfo/termcap are inherent in the way that terminal devices work on Unices and Linux-based operating systems. That there are different terminals and terminal emulators not all speaking exactly the same protocol is also an unavoidable reality.

Setting TERM properly isn't some tmux-specific problem.
by usrusr | 2025-08-01 10:41:57+00:00
Clearly shows that he does not understand the concept of cooperation, not outside of how a mob cooperates. He probably considers the Marshall Plan a failure.

Yes, strength isn't unimportant. But if that's your only approach you're part of the problem, not part of the solution. May he reap what he saws, preferably with as little collateral as possible.
by wand3r | 2025-08-01 10:42:21+00:00
It's just human nature. Technology advances exponentially and huge leaps forward are increasingly being compressed into very short amounts of time. Just like how sages were worried about memory after the invention of writing or luddites were worried about job displacement with the industrial revolution; it is natural. What would the Italian Renaissance artists think of Photoshop? People whose livelihood and identity are inherently tied to this discipline can't help but be dismissive. "Vibe Coding" will be "coding" or "programming" in the near future, likely in just a few years as tools evolve. Just like we use text editors and GUIs now to do computing instead of punch cards and a single CLI.
by d4rkp4ttern | 2025-08-01 10:42:28+00:00
I learned about Tmux just a few weeks ago and found out that one of the nifty features is that it is scriptable, I.e allows programmatically sending keystrokes to a specific pane. Then, inspired by some Japanese forums I asked myself if I can leverage this to have Claude Code actually interact with an interactive CLI script — we know CC can launch a script via bash but if said script waits for user input then CC can’t (easily) interact with it. Turns out yes we can leverage Tmux for this!

So I used Claude Code to build a little el tool called Tmux-cli, which gives a convenient way to have CC (or any CLI coding agent for that matter) spawn a Tmux Pane, launch a script there, and actually interact with it.

So it’s like Playwright/Puppeteer for the terminal.

You can get it via

uv tool install claude-code-tools

https://github.com/pchalasani/claude-code-tools

There are some interesting possibilities this enables:

Let CC autonomously test interactive CLI scripts, without me having to intervene and point out errors.

Have the CLI coding agent launch UI from another pane and then use Puppeteer MCP to test from a browser.

Let CC launch a cli script with a debugger enabled (e.g. Pdb) and set breakpoints etc — for token-efficient code understanding, debugging and explaining.

Let the CLI coding agent spawn and drive another instance of the same or other CLI coding agent, AND interact with it. Note this is way better than CC sub-agents which are “spawn and let go” black-boxes.

I wonder if the discussed Tmux alternatives enable building this type of tool.
by AnthonyMouse | 2025-08-01 10:42:33+00:00
> It’s more than just extra fixtures and interior walls but bathrooms, kitchens, plumbing, and HVAC - some of the most expensive parts of a build.

That isn't necessarily saving anything. A 4000 square foot unit could very plausibly have four baths and HVAC zones, especially if it's a luxury unit.

Meanwhile not doing that is exactly the sort of thing the existing rules nefariously prohibit. Suppose you want to turn that 4000 square feet into eight studio units with a dorm-style shared kitchen and bathrooms. Now you've significantly lowered your construction costs while increasing the total you can sell for because you're offering eight units, so that becomes the most profitable thing as long as there are enough people who want lower rents more than space, except that hardly anywhere allows you to do it that way.
by lynx97 | 2025-08-01 10:42:47+00:00
Thats interesting. I was using Lynx. A quick test with <q>hello</q> gives "hello" as expected. So whatever it is, you must be doing something else. Please dont use CSS to insert characters into normal text, that will fall down if CSS is not supported. I know, in this day and age, that sounds unusual. But abusing CSS to do something it wasnt ment to be doing is still no good idea IMO.
by rowanG077 | 2025-08-01 10:42:59+00:00
Yes I can confirm that's approx what I paid. My first time using claude 4 opus and I used aider. It seems the estimation aider gives is very wrong as it was telling me I used approx 15$. I only noticed because my credit ran out. The $/performance tells me I should check what grok4 can do. I didn't use it seriously yet.
by tonnydourado | 2025-08-01 10:43:16+00:00
Looking half the way there to fulfill my wishlist for a perfect kubernetes tool. Showing resources as a graph is a big plus but I'd like to also see:

1. Minimizing nodes into just a name, to get a view of just relationships between resources 2. Auto-organizing the graph. You're already warning about overlapping nodes, might as well give me a way to automatically fix it. 3. Reading existing resources from a cluster

3, in particular, is kind of a whole other type of tool, to view/debug existing infra, instead of creating it, but the UI has the right shape to do that extremely well, too.

I agree with other comments that adding a default example to the demo would be nice. I imported this manifest, and it worked pretty well: https://github.com/kubernetes/examples/blob/master/guestbook...
by TuxSH | 2025-08-01 10:43:30+00:00
> Making destructors implicitly virtual in polymorphic classes

Not sure what to think of this one. Either one introduces a new keyword to opt out (not great), or all public destructors of an abstract base class are implicitly marked virtual (not great and another "hidden" language feature like threadsafe-statics).

After all, an abstract base class does not need its destructor to be public.
by chii | 2025-08-01 10:43:49+00:00
But that filter is at best inaccurate then isnt it? Surely there exists a driver which would accept a tipless delivery, but you cannot find them because all you can do is decline to do business.

Americans need to remove the idea of tipping. It's archaic, because it was originally there for an aristocratic/wealthy patron to show off their status to the lowly servants of an establishment.

Just charge a price, and have it include the full service fee required for providing the service.
by bootsmann | 2025-08-01 10:44:29+00:00
> How much of a percentage is those decades of peace out of the 200k year entire existence of the human race that has been defined only by war?

This makes the peace they enjoy even more impressive, no?

> And secondly, EU countries have allied together not out of fondness for one another (which doesn't exist even today), but out out necessity of survival, since that was the only way they could stand up to bullying from US, Russia and China.

This is so inaccurate it would take an article long comment to refute. Maybe you should avoid explaining the history of places to others online if you clearly do not live in them.

> Thirdly, conquest is at the core of EU too, except it's bureaucratic, political and economical, not military.

This is why sovereign countries join the EU by their own volition, clearly!
by scottydelta | 2025-08-01 10:45:03+00:00
A lot of it is also sudden adoption of new web publishing platforms as well.

For example, recently Framer has been a popular platform used by startups to build their websites so now suddenly you see a lot of lookalike/feelalike websites. They must have a deal with funded startups or something, they are popular among funded startups because they are expensive.

So you must be seeing a lot of websites developed using a certain platform ui that you dislike. I wouldn't be surprised if Framer is actually what you hate. Funny thing is now I have started recognizing framer sites easily.
by CMay | 2025-08-01 10:45:42+00:00
I've been collecting videos for years that make me shed tears. I don't easily shed tears if it feels a little too manufactured. Usually what works best for me is just seeing actual genuine unprompted emotion, though sad scenarios without any emotion can do it if the sentimentality is balanced well.

Tried maybe 5-6 videos on the site and none of them worked. :/ Just watched one of my old videos, boom, instant tears.

Don't know about the health implications of crying once a week or anything, but sometimes if I'm feeling a little out of touch with life, watching something sad does help.
by squigz | 2025-08-01 10:45:43+00:00
> There are also times I find that exchanging money is more honest. I want you to serve me, I'm paying you, I don't have to keep at the back of my mind a question whether I'm asking something beyond what your boss expects/pays you. I like that about the US - it's brutal but that's reality.

But isn't this describing tipping? You're having to ask yourself, "Is this service good enough for a tip? How much of a tip?" instead of just exchanging money for the service and that's it.
by DemocracyFTW2 | 2025-08-01 10:45:53+00:00
At this point I'd like to make the case that, shall we say, 'selfish' actors are indeed a problem on the oceans, for example in the form of fishing vessels that invade the fishing grounds of other peoples and foreign nations and are not held accountable by anyone to any kind of standard in terms of ecosystem impact, overfishing and so on.

It's a genuinely international problem that can hardly be solved by throwing up one's hands and sighing that the oceans are free for everyone and ergo there's nothing that can be done. I believe one could convince a lot of people that there should be limits, I just have to scale up bad behaviors: fishing a species to extinction? pouring toxic waste into the waters? using dynamite for fishing? scraping ocean floors for minerals and turning thriving ecosystems into vast lifeless deserts? huge dragnets that catch and kill everything? Some of these things may not resonate with all people but almost everyone will answer Yes, that should not be allowed, at some point.
by benjiro | 2025-08-01 10:46:04+00:00
> It added 2,300+ satellites in the one year period ending Jun 2025.

Take in account, that a lot of those are replacement sats for the first generations that they are deorbiting already. Do not quote me on this, but its a insane amount (i though it was around 2k) of the first generation that they are deorbiting. If there is a issue, its not the amount of sats in space, but more the insane amount of deorbiting StarLink is doing.

Starlink wanted to put up insane numbers, but a lot of their fights contain a large percentage of replacement sats.

And they are getting bigger ... v1.5 is like 300kg, the v2.0 mini (ironic as its far from mini compared to its predecessors) are 800kg.

So before StarLink launched 60x v1.5's but now they are doing 21x v2.0 Mini's per launch.

The technology has been improving a lot, allowing for a lot more capacity per satellite. Not sure when they start launching v3's but those have like 3x the capacity for inner connects/ground stations and can go up to 1Gbit speeds (compared to the v2's who are again much more capable then multiple v1.5s).

So what we are seeing is less satellites per launch but more capacity per sat. This year is the last year that they are doing mass 1.5 launches, its all now going to the v2.0 "mini" (so 3x less sats).
by FirmwareBurner | 2025-08-01 10:46:21+00:00
>This makes the peace they enjoy even more impressive, no?

No. "One bloomed flower does not mean it's spring" - saying from my country.

>This is why sovereign countries join the EU by their own volition, clearly!

Willingness or necessity? If I'm a small weak country and I want to sell something to make money, and the only way is to succumb to the rules of the largest trading block in the world, do I really have a choice? You know the saying, "if you can't beat them, join them". Even Norway and Switzerland still succumb to most EU rules even if they're not members and they might not like all those rules but they have no choice but to play ball if they want to maintain trade and prosperity.

>Maybe you should avoid explaining the history of places to others online if you clearly do not live in them.

OK, I'll stop it here and never answer you again since you're being needlessly petty and not wailing to argue in good faith.
by spectaclepiece | 2025-08-01 10:46:35+00:00
On a plane from Sydney to Tokyo. Just "vibe coded" a tool we've needed for years in a matter of hours. Web workers, OPFS file management, e2e tests via playwright, Effect service encapsulation and mocking etc.

If you know the domain it's a 3-6X efficiency improvement.

Amazing how well LLMs work on airplane wifi. Just text after all.
by simonw | 2025-08-01 10:48:02+00:00
I just don't think that's true.

The LLM vendors are all competing on how well their models can write code, and the way they're doing that is to refine their training data - they constantly find new ways to remove poor quality code from the training data and increase the volume of high quality code.

One way they do this is by using code that passes automated tests. That's a unique characteristic of code - you can't do that for regular prose, or legal analysis or whatever.

"Even if you describe your problem (prompt) to a high standard, there is no way it can deliver a solution of the same standard."

My own experience doesn't match that. I can describe my problems to a good LLM and get back code that I would have been proud to have written myself.
by belter | 2025-08-01 10:48:11+00:00
A proper random-number generator needs stationary entropy...current US tariffs policy delivers non-stationary pandemonium.

"...That said, this is unlikely to be the final word, as it still seems likely that some other countries will reach their own deals with the US, while there is a chance that the US courts will eventually strike down these tariffs..."

https://www.cnbc.com/2025/08/01/trumps-tariffs-rekindle-glob...
by ctm92 | 2025-08-01 10:48:44+00:00
I am so happy to learn that I'm not the only one experiencing these issues! For me it was so bad at some times that the MacBook woke up in my backpack and somehow did some really CPU intense tasks, leading to the fan going full speed. When taking it out it was almost too hot to touch, I was scared at times that it would break or set the bag on fire.
by scencan | 2025-08-01 10:49:17+00:00
So I had an issue, i needed to create some FAQ page content for a site and i turned to AI to help, which was great but then the gears got working in my head and i though what about if i can just scan the page and it tells me what I should have on the page for not just SEO but also AEO for LLMs. So i built aeoadvice.com that scans your page, gives it a score on how an LLM sees it and then generates content that you can copy and paste straight into the page, in text or HTML - MASSIVE TIME SAVER! especially with e-commerce. The browser extensions are on Chrome and Firefox.

Would appreciate any feedback on it and here is code to get the first month 75% off - THANKS75