MurphyA/hacker-news huggingface dataset:
by ForOldHack | 2025-08-05 07:12:06+00:00
"Japan was ready to surrender." It was not. The military, was ready to fight to the last man,and that was the resistance that Hirohito had to over come. And why there were 4 cabinets that the Emperor had to go though. A thuough understanding about what was actually occuring would help you understand. Read Hirohito's book.

Hirohito surendered, and insisted on doing so, that he would spare the lives and culture of the japanese people, and TO SPARE LIVES IN GENERAL.

The generals went scorched earth and they plan would have killed 20~22 million japanese people, that is what it means to fight to the last man.

Clearly, you need to read Hirohito's book.

Hirohito surendered his divinity, and instead of his people calling him a coward, they continued to worship him, in a way very few non-japanese can understand. Two of my best friends in school were japanese, and when I got to Jr high, my counselor had the internment order on his wall. I hated that the US dropped the bomb for decades, until I read Hirohito's book. Then it mostly fell into place, and I had to check with a bunch of historians, and with the senior members of the peace organization. I belonged to for decades.
by jackpeterfletch | 2025-08-05 07:12:36+00:00
I’ve been loving zellij.

I don’t know what it is about how my brain works, but I have absolutely no memory for keybinds (and envy those that do), so I love that it just lays them out in the UI.

Only customisation I make is to turn off the borders.

Would love if built a similar, visually guided, experience for nvim.
by dust42 | 2025-08-05 07:12:37+00:00
Looking in their github, it says that it uses openCV and Tensorflow. The motion detection is done with openCV and will be immune against any attack unless you move so slow that you are under the detection threshold.

Tensorflow for the object detection doesn't do any OCR thus written instructions dont work. However, according to the website the system has a limited list of objects it detects. So maybe disguising yourself as a walking tree might prevent detection.
by bradley13 | 2025-08-05 07:13:25+00:00
That's pretty much how I teach my programming classes. Assignments are worth zero, or sometimes very little.

The difference I notice with AI is that the bell curve is nearly inverted. You have the good students, who use AI to support their learning. You have the students who let AI do their assignments, and then fail miserably on the exam. And there is hardly anyone left in the middle.
by fragmede | 2025-08-05 07:13:33+00:00
Sounds like they reached out to you because they remembered your kindness. Maybe they were hoping for a bit of grounding. You noticed something about why they struggle. Something they clearly don’t see. That insight, offered with care, might actually help them.

It’s not your job to fix anyone, but since you’ve seen the pattern, you’re in a position to say something. You might be the only one who can break through.
by alexey-salmin | 2025-08-05 07:14:12+00:00
Stocks, deposits and currencies can all crash to zero while your primary residence never goes below the value of housing your spouse and kids (which is pretty damn high as far as I'm concerned). Some rental market will exist almost always but that's not necessarily true for your job and your savings.

My parents lived through times like this and so will my descendants eventually. The probability of this happening to my generation is low but non-negligeable so I find it necessary to hedge against.
by socalgal2 | 2025-08-05 07:14:51+00:00
how do you arrive at 2hrs a day? AFAICT 1hr a day gives you 90-95% benefit of 2hrs.

To put it another way, comparing to 2hrs

15mins = 50% benefit 30mins = 75% benefit 60mins = 90-95% benefit 120mins = 100%

Everyone has their own thresholds but paying double for 5-10% more doesn't seem worth it to me personally.
by exasperaited | 2025-08-05 07:15:06+00:00
Those are (trivial) software project management. It's a tiny part of the picture.

Software engineering goes a lot deeper than that; look at any serious accredited syllabus.

But almost nobody practises it these days, you are right. The web kind of blurred the line between software and document for a while and a lot of stuff got lost.

That's not a reason to practise even less.
by zastai0day | 2025-08-05 07:16:53+00:00
I completely agree with you. AI programming often generates code with complex logic and rules that developers don't fully understand, creating "black box" systems that can lead to unexpected behaviors and make debugging extremely challenging. More concerning is the security risk - AI-generated code may appear correct but contain hidden vulnerabilities like SQL injection or XSS attacks, as AI lacks deep understanding of security best practices. This creates a vicious cycle where companies save money on initial development but end up spending a fortune on technical debt, security audits, and vulnerability fixes. The maintenance costs skyrocket as teams struggle to understand and modify AI-generated code, while the need for additional security testing and code reviews becomes essential. It's a classic case of "penny wise, pound foolish" where businesses underestimate the long-term maintenance and security risks of AI programming while pursuing short-term development efficiency gains.
by qwertox | 2025-08-05 07:16:53+00:00
I don't see how this is hard to reason about, assuming this is the resulting code when using variables:

$tags = ...array_column($arr, 'tags'); $merged_tags = array_merge($tags); $unique_tags = array_unique($merged_tags); $tag_values = array_values($unique_tags);

It also makes it easier to inspect the values after each step.
by darkwater | 2025-08-05 07:17:17+00:00
If you have very important data for you, and you don't pay very high bills to AWS, you should really have at least a cold backup somewhere else (even on your own hardware). If you have a big cloud account, paying big money every month, at least with AWS you are in a pretty safe spot, even if people will say a different thing here.

And if you have a similar horror story with a tens/hundred of thousands of dollars (or more) monthly AWS invoice, please speak, I'm very curious to learn what happened.
by PeterStuer | 2025-08-05 07:17:36+00:00
The major ERP vendors do not price based on product or services delivered, but they will just make a price based on your revenue.

The reasoning is that a company in a certain vertical with a certain size will spend x% of revenue on IT, and they want all of that.

ERP platforms are ridiculously hard to customise, and maintainance of customisations across version upgrades is even worse. So they will rightfully advise business operations adapt to the ERP template, rather than the other way around. They know full well in advance you will end up not following that advice as the changes would be enormous and lost functionality as compared to the previous system beyond tolerable from a business point of view, but they also know you will only discover the scale of this after the project has been committed.

Speaking about committing: they will leave no room, basically execution a denial of service to the whole of not just your IT departments but also all your business analyst interactions. Any non ERP transformation project will grind to an absolute halt.

Many of not most of these huge ERP migrations fail. The ERP vendor has been covering there ass from before the contract was even signed, and you will find their real expertise was building an airtight very well documented case showing you, not them, were at fault. These cases are nearly always settled and kept out of the press because neither party wants to lose face.

And you are right about the mother of all lockins if the project should succeed and actualy move into production (which they will try to force long before it is ready). They will leave you no room to ever go back. You'll have to commit even a lott more to leave than you needed to get in.

And as for all those business and IT people now trained on the ERP, wich is part of the project from day 1, good luck holding on to them. Their poaching will be not overtly but discreetly facilitated by the ERP's channel.

First day of first 'course' by the ERP vendor for the ERP transformation team, the opening sentence of the instructor litterally was: "I congratulate you all for being here. Next week after completing this course, walk into your manager's office and demand a 20% pay rise, as you are now worth that".

I myself have turned down very lucrative monetary offers, as the downside of working in those projects, whether at vendor or client side, is that the amount of unhappiness you create and are perpetually surounded by in those positions is just to mindnumbing that at least for me the money does not buy you out of that daily misery. But if you thrive on conflict, you can make some great money there.
by vaylian | 2025-08-05 07:17:53+00:00
Yes. That's one of the primary use cases of a YubiKey (or other FIDO 2 hardware keys).

Please note that there are 2 types of passkeys:

- resident keys: Actually stored on the hardware key

- non-resident keys: Keys that are recalculated on the fly based on a secret seed value, the domain that the service is for and the username. The advantage is that these don't take up any storage space

Resident keys have the advantage that they remember the username. But there is only a limited number of keys (about 100 on new YubiKeys but there are still a lot of older hardware tokens being used) that you can store on a hardware token. Non-resident keys have the advantage that you can "store" an infinite number of them on your hardware token.

See https://fy.blackhats.net.au/blog/2024-04-26-passkeys-a-shatt...
by aitchnyu | 2025-08-05 07:19:03+00:00
I took too long to accept rebasing and squash merging ie faking/rewriting history. In 2012, I was a fan of Git and Lucene (underlying DB of Elasticsearch and its predecessor Apache Solr) storing immutable data stuctures to disk and Scala which does gymnastics to avoid mutable data structures so I kept that dogma.
by AceJohnny2 | 2025-08-05 07:19:53+00:00
use iTerm2. (if you're on a Mac)

It's free https://iterm2.com/

As someone who lives in terminals, iTerm2 may be the Killer App for Macbooks.

You see, it has Tmux Integration [1], which makes tmux windows and panes become native tabs and panes in iTerm, which means I don't need to use weird chords to manipulate tmux, but most importantly, most UX-ily, it has native scrollback. No need to escape into a weird secondary mode just to do the most basic thing that all graphical terminals are good for.

If you work with terminals on remote machines, you owe yourself to use tmux. If your client is a Mac(book), you owe yourself to use iTerm2.

The weird thing is that iTerm2 is the only Terminal Emulator to leverage Tmux's Control Channel mode, for the integration. For all the breadth of copycat terminal emulators on Linux, none of them perform this one killer feature.

[1] https://iterm2.com/documentation-tmux-integration.html
by dns_snek | 2025-08-05 07:20:04+00:00
> That way Amazon can honestly say it has no operational control to violate EU law because there's no American employee they can command.

> Amazon is intentionally setting it up in a way that it won't be able to do anything about that.

They can say whatever they want but when the NSA knocks on the door, they'll covertly implant a backdoor anywhere they ask and ship the update to the "sovereign" EU cloud. This is nothing but a ruse.
by socalgal2 | 2025-08-05 07:20:50+00:00
2 anecdotes

* Met a guy who bought a place in Manhattan Beach LA. He said it was the best investment of his life. It was more than he and his wife could afford be she insisted. Of course maybe they just got lucky that nothing bad happened the would have forced them to sell.

* Have a friend that looked for over 20 years. He go out looking 2 or 3 times a month. Everything was always beyond what he was willing to spent, people out bid him etc. Finally he just came to the realization that if he didn't buy he'd never live in a house (one of his goals). So, he bought, higher than he would have. He seems pretty happy to have a house. He's been in it 6-7 years now and at least according to RedFin it's worth less than he bought it for but I don't think he cares. He's happy to be living in his own house and not an apartment.

PS: I'm not suggesting the alternative is worse.
by refurb | 2025-08-05 07:21:30+00:00
Presumably your friend wants a particular brand of insulin, not the insulins that Medicaid covers because they are the most cost effective?

Medicaid negotiates with manufacturers to get the best price. When they are successful in securing a low price, they preferentially cover them.

Usually if the doctor can show why those brands aren’t good enough, Medicaid will cover alternatives that aren’t covered, but it can be a lot of work for the doctor.
by arabello | 2025-08-05 07:21:52+00:00
Location: Italy Remote: Yes Willing to relocate: Yes Technologies: Python, Typescript, Node, React, Docker, Postgres, Kubernetes Résumé/CV: https://www.matteopellegrino.dev/cv Email: matteo.pelle.pellegrino@gmail.com

I’m a Product-minded Software Engineer specialized in Fullstack Development; currently focusing on Generative AI / LLM integrations. ~5 YoE in designing and implementing web applications from requirements gathering to deploy, from bootstrap to production. I am a generalist who loves building digital products, looking for startups or medium-tech to expand my area of impact through more meaningful projects.
by chisomekwuribe | 2025-08-05 07:21:58+00:00
Location: Lagos, Nigeria

Remote: Yes

Willing to relocate: Yes

Technologies: JavaScript, TypeScript, React, NestJS, NextJS, PostgresQL, MongoDB, Flutter, React Native, Go, OpenAI, Anthropic

Résumé/CV: https://drive.google.com/file/d/1nLCuMJFRz4Hw8T2AeUNQ79_ij3G...

Email: chisomekwuribe@gmail.com

Hello, I’m a Full-Stack Engineer with 6+ years of experience building robust and scalable applications for web and mobile platforms. I'm also a quick study and can pick up new things as needed. I enjoy working in collaborative environments, solving problems, and driving projects from ideation to deployment
by pjmlp | 2025-08-05 07:22:00+00:00
> - put each class into its own header/source file pair (a great way to explode your build times!)

Only if you fail to use binary libraries in the process.

Apparently folks like to explode build times with header only libraries nowadays, as if C and C++ were scripting languages.

> - generally replace all raw pointers with shared_ptr or unique_ptr

Some folks care about safety.

I have written C applications with handles, doing two way conversions between pointers and handles, and I am not talking about Windows 16 memory model.

> - general software patterns like model-view-controller, a great way to turn a handful lines of code into dozens of files with hundreds of lines each

I am old enough to have used Yourdon Structured Method in C applications

> - use exceptions for error handling (although these days this is widely considered a bad idea, but it wasn't always)

Forced return code checks with automatic stack unwinding are still exceptions, even if they look differently.

Also what about setjmp()/longjmp() all over the place?

> - always prefer the C++ stdlib over self-rolled solutions

Overconfidence that everyone knows better than people paid to write compilers usually turns out bad, unless they are actually top developers.

There are plenty of modern best practices for C as well, that is how we try to avoid making a mess out of people think being a portable assembler, and industries rely on MISRA, ISO 26262, and similar for that matter.
by dwb | 2025-08-05 07:22:38+00:00
The less the government meddles the better – except for at least two very deep classes of meddling? I mean I definitely agree that society should protect what you mention - so maybe the “free market” frame isn’t really useful enough.

I’m mainly against the term because it’s a banner idea of the neoliberal revolutionaries that got us into a lot of these messes, by crushing collective action and giving so much power to capital. Actually existing “free markets” are a big part of the positive feedback system of capital accumulation.
by Freak_NL | 2025-08-05 07:22:50+00:00
> […] it's proof that they're doing this, which would be quite damaging to them.

Is it? It's damning, but is it damaging at all?

I'm not getting the impression that anyone's data being available for training if some bot can get to it is just how things are now, rather than an unsettled point of contention. There's too much money invested in this thing for any other outcome, and with the present decline of the rule of law…
by t0lo | 2025-08-05 07:22:54+00:00
There is and always will be sizeable work on it. Current work has been termed "greenhushing" by the economist due to the need to be discreet in America due to a pretty intellectually lacking voterbase. Over a billion will likely starve and that is a moral failure that we will all carry for the rest of our lives but 3 people dying in a car crash is better than 4 people dying in a car crash.

You’ve been given free access to this article from The Economist as a gift. You can open the link five times within seven days. After that it will expire.

The remarkable rise of “greenhushing” https://www.economist.com/business/2025/07/29/the-remarkable...
by toast0 | 2025-08-05 07:23:09+00:00
> When the production of a product is close to zero AND the utility to the consumer is also zero, there is no way for anyone in this network to make money anymore, because the new entrants will be so overloaded with choices (millions of different courses to choose from) that they may never enter the network at all.

Just because it doesn't work, doesn't mean we won't see it everywhere because the cost is still zero.

It's like catalytic converter thefts... Most places cracked down on sales of stolen converters, so there's no money in it anymore, but people still steal them cause they heard you could make money.
by ExoticOnix | 2025-08-05 07:23:22+00:00
Hi HN, I’d like to share a project I’ve been working on called Onix Enviro, a cloud development platform that runs full dev environments entirely in the browser. I’m 15 and spend a lot of time coding on different computers. One thing that kept slowing me down was setting up development environments. Whether it was installing tools, dealing with compatibility problems, or switching between devices, it always felt like unnecessary overhead. I wanted something that let me start working right away, without having to install or configure anything. So I built Onix Enviro. It gives you container-based workspaces that you access in the browser. You get a full Linux environment with a Visual Studio Code interface, the ability to install packages and tools, and support for Docker containers. The goal is to make development environments portable, fast to start, and consistent across any device. Some features: - Launch development environments in your browser using a full-featured VS Code interface - Install packages and tools using Linux package managers - Run services and containers with Docker support - Expose running applications with built-in port forwarding - Use templates for Python with Flask, Node.js with Express, C, JupyterLab, RStudio, and more - No local installation needed. Just open a browser Who it's for: - Developers working across multiple machines - Students or classrooms that need consistent setups Everything runs in the cloud, but you get full control inside the workspace. You can set it up exactly how you like and get to work right away. I would love to hear what you think. Any feedback or ideas are welcome. Thanks for taking the time to check it out. Links: Website: https://onixtech.org/ Github: https://github.com/ExoOnix/enviro ProductHunt: https://www.producthunt.com/products/onix-enviro?launch=onix...
by burnt-resistor | 2025-08-05 07:23:56+00:00
There are no utopias, any time. The primary thing too many people have their consent wrongly manufactured currently is the enemy of most all people and organized multicellular life is a small cabal of extremely rich people and their helpers. That's it. (Well, and the very quiet accelerationist domestic terrorists who are dangerous and totally crazy.) Not the very rich, the middling rich, middle class, the poor, brown people, the red team, or the blue team.

A functional society needs stable, sensible, countervailing factions that do not gain too much power unilaterally or permanently. Like the 5 House seats to be stolen through unscheduled gerrymandering in Texas.

National work stoppages and unionizing need to happen. Also, worker-owned co-ops too.

There's one-size-fits-all quick fix panacea, but a multitude of efforts that must be undertaken to achieve a more desirable, comfortable objective rather than giving all of the treasure to a greedy, corrupt few while the masses lack healthcare and housing.
by com2kid | 2025-08-05 07:24:03+00:00
> Node/V8 isn't well suited to backend

Node was literally designed to be good for one thing - backend web service development.

It is exceptionally good at it. The runtime overhead is tiny compared to the JVM, the async model is simple as hell to wrap your head around and has a fraction of the complexity of what other languages are doing in this space, and Node running on a potato of a CPU can handle thousands of requests per second w/o breaking a sweat using the most naively written code.

Also the compactness of the language is incredible, you can get a full ExpressJS service up and running, including auth, in less than a dozen lines of code. The amount of magic that happens is almost zero, especially compared to other languages and frameworks. I know some people like their magic BS (and some of the stuff FastAPI does is nifty), but Express is "what you see is what you get" by default.

> The Typescript team switched to Go, because it's similar enough to TS/JS to do part of the translation automatically.

The TS team switched to go because JS is horrible at anything that isn't strings or doubles. The lack of an int type hinders the language, so runtimes do a lot of work to try and determine when a number can be treated like an int.

JS's type system is both absurdly flexible and also limiting. Because JS basically allows you to do anything with types, Typescript ends up being one of the most powerful type systems that has seen mass adoption. (Yes other languages have more powerful type systems, but none of them have the wide spread adoption TS does).

If I need to model a problem domain, TS is an excellent tool for doing so. If I need to respond to thousands of small requests, Node is an excellent tool for doing so. If I need to do some actual computation on those incoming requests, eh, maybe pick another tech stack.

But for the majority of service endpoints that consist of "get message from user, query DB, reformat DB response, send to user"? Node is incredible at solving that problem.
by WhyIsItAlwaysHN | 2025-08-05 07:24:07+00:00
They will not choose to write it. Would you work on something consistently if nobody cared about it?

There needs to be a reward for doing essays. That reward can be emotional eg. "the teacher I respect liked my essay" or "my essay was read in class" or "the teacher gives feedback that makes me feel a sense of growth". In that case, maybe kids will do it.

However, I think it's hard for a teacher to inspire respect to a classroom and the difficulty scales with the number of people in the class, so grades are used as a hack.
by pjmlp | 2025-08-05 07:24:16+00:00
Not at all, you can write in the C subset that C++ supports and anti-C++ folks will still complain.

Meanwhile the C builds done in UNIX workstations (Aix, Solaris, HP-UX) for our applications back in 2000, were taking about 1 hour per deployment target, hardly blazing fast.