News for hackers. Stuff that matters.

johnrob

I’ve done this in pure Python for a long time. Single file prototype that can mostly function from the command line. The process helps me understand all the sub problems and how they relate to each other. Best example is when you realize behaviors X, Y, and Z have so much in common that it makes sense to have a single component that takes a parameter to specify which behavior to perform. It’s possible that already practicing this is why I feel slightly “meh” compared to others regarding GenAI.
Re:Anthropic Economic Index economic primitives on Thursday January 22, 2026 @06:54PM (#46726668)
Until AI is used to generate new revenue streams (i.e. acquire new customers), I don’t think the economic impact is going to impress. My two cents.
Re:Useful patterns for building HTML tools on Saturday December 13, 2025 @06:23PM (#46259219)
Next evolution: UX should allow end users to build the prompt, and then the tool is generated and deployed at a random URL. Tool also keeps original prompt, so any user can customize into a new (random URL) tool page.
Cheap depends on how we define the cost. In relative terms, food is more expensive than ever:

https://en.wikipedia.org/wiki/Baumol_effect

Invest in making food/shelter cheaper?
Re:Ticker: Don't Die of Heart Disease on Saturday November 08, 2025 @12:14PM (#45858243)
If you start exercising in your 20s, and never stop, it will be so much easier to maintain fitness in 40s 50s etc. The challenge is that the benefits are not yet visible in your 20s (when you’ll probably be healthy and at a proper weight regardless). Gotta lay that foundation for older age though!

EDIT - I misread the comment. It’s never too late to start, just be careful for injuries as that will block your ability to exercise.

Re:Optimism associated with exceptional longevity on Wednesday November 05, 2025 @10:35AM (#45823986)
Research focuses on trends. You are a sample of 1, however, so anything is possible. Create your own path!
Re:How I Use Every Claude Code Feature on Saturday November 01, 2025 @11:08PM (#45787578)
As fascinating as these tools can be - are we (the industry) once again finding something other than our “customer” to focus our brains on (see Paul Graham’s “Top idea in your mind” essay)?
This definitely has that “toy” feel to it that a lot of eventually mainstream ideas have. It can’t work! But… could it?
If I am understanding things correctly, OpenAI could leave in the future - but CA can’t retroactively block the conversion in that case.
Re:Simplify Your Code: Functional Core, Imperative Shell on Monday October 27, 2025 @06:34PM (#45727121)
Functions can have complexity or side effects, but not both.
Re:How America got hooked on ultraprocessed foods on Thursday October 16, 2025 @12:01PM (#45607055)
If you don’t have one, try an Instant Pot which can pressure cook (in addition to rice cooker features). Dry beans can be ready to eat in an hour.
Re:Tau² Benchmark: How a Prompt Rewrite Boosted GPT-5-Mini by 22% on Wednesday September 17, 2025 @01:28PM (#45278800)
Isn’t programming the clearest form of writing? Perhaps it’s the non programmers that need to “catch up”.
Re:Generative AI is hollowing out entry-level jobs, study finds on Tuesday September 16, 2025 @11:01AM (#45263258)
LLMs are good at creating single use documents, like a pitch deck used for one prospective customer (never to be used again). But for long lived documents, on which future work builds atop, the bar is higher and the value of LLMs is more grey.
Businesses fall into 2 categories:

B2C (sell to people)

B2B (sell to B2C companies)

If the “C” is broke, it seems like there won’t by any rich people. In other words, if the masses are poor and jobless, who is sending money to the rich?

Re:Tao on "blue team" vs. "red team" LLMs on Monday July 28, 2025 @11:59AM (#44712132)
Humans are good at sifting valid feedback from bad feedback. But we are bad at spotting subtle bugs in PRs.
Re:Show HN: Ten years of running every day, visualized on Monday July 14, 2025 @10:36AM (#44560798)
Have you tried non-running (indoor) cardio as a regular replacement? Jumping jacks, squats, jump squats, mountain climbers, even jogging in place. I do cardio everyday but running is only every 4th day. Of course, if you have access to equipment there’s always stationary bike and other machines like an elliptical.
I see 100x used quite a bit related to LLM productivity. It seems extreme because it implies one could generate a year’s worth of value in a few days. I would think delivering features involves too much non coding work for this to be possible.
Well, the most likely single random sample would be a “representative” one :)
Re:Being fat is a trap on Friday June 06, 2025 @10:26AM (#44201268)
Societal norms are the problem. We’ve normalized unhealthy food. Big business has figured hit that if they make processed/refined foods easily accessible, you will buy them. Nobody wins here except shareholders, and only those shareholders in good health who don’t have to compete to get access from doctors who are overbooked with patients who have manifested a chronic illness that is statistically correlated with the aforementioned food.
Re:Working with Git Patches in Apple Mail (2023) on Sunday May 18, 2025 @11:30AM (#44022093)
You’ll also want to familiarize with “git apply -3 <file name>”, for when a diff can’t be applied cleanly. It will try “harder” to merge (three way method) and if it still fails it invokes the conflict merge “UX”:

<<<<<<<<<

=========

>>>>>>>>>

Re:Working with Git Patches in Apple Mail (2023) on Sunday May 18, 2025 @11:07AM (#44021935)
Once I discovered how git apply can take diff files (or patch files) as input, I stopped using git stash in favor of plain old files. Easier to list and browse the contents of prior edits, also you can grep the files as method of search. I’ve even found myself copying and editing the diffs before applying.
Great article from The New Yorker about this, also from 2015: https://www.newyorker.com/magazine/2015/07/20/the-really-big...
I’m not sure it’s possible to have the full reasoning in your head without authoring the code yourself - or, spending a comparable amount of effort to mentally rewrite it.
Re:It's not a crime if we do it with an app on Sunday January 26, 2025 @12:53PM (#42832074)
Interesting that if people took their health more seriously, the food companies mentioned here would struggle to survive regardless of pricing power. Total addressable market would plummet. I suppose one way to accept the status quo is that these companies are self levying a vice tax.
Re:Things we learned about LLMs in 2024 on Tuesday December 31, 2024 @06:35PM (#42562677)
It would be quite useful if that were the only phone available.
Re:Introducing S2 on Saturday December 21, 2024 @01:49PM (#42481405)
This is a very interesting abstraction (and service). I can’t help but feature creep and ask for something like Athena, which runs PrestoDB (map reduce) over S3 files. It could be superior in theory because anyone using that pattern must shoehorn their data stream (almost everything is really a stream) into an S3 file system. Fragmentation and file packing become requirements that degrade transactional qualities.
Re:Amazon S3 Adds Put-If-Match (Compare-and-Swap) on Monday November 25, 2024 @07:28PM (#42241505)
Yes, definitely. Good point (I was knee jerk assuming the A is always chosen and the real “choice” is between C and P).
Re:Amazon S3 Adds Put-If-Match (Compare-and-Swap) on Monday November 25, 2024 @06:57PM (#42241338)
I’d wager that the algorithm is slightly eager to throw a consistency error if it’s unable to verify across partitions. Since the caller is naturally ready for this error, it’s likely not a problem. So in short it’s the P :)
Re:AWS Lambda PR/FAQ After 10 Years on Wednesday November 20, 2024 @12:54PM (#42196485)
Glaring grammatical error in the PR headline? :)

Amazon Web Services Launches AWS Lambda

Easily run any code as an AWS-operated scalable, secure, and reliable cloud services

Older »