HNHacker News
TopNewBestAskShowJobs

johnyzee

3,250 karma · joined March 5, 2008

submissionscomments
johnyzee··on Agents don't need memory, they need documentation
What's wrong with README.md? A general one at the top level, a specific one for each subfolder (/package) that contains a specific subsystem. Next to it, a CLAUDE.md that only has "See @README.md" (repeat for other harnesses). Claude code knows how to use this: it only loads it into context if it has to work with any files in that directory. With properly structured source, a given prompt will only load a small subset of your documentation - the right one - and this doubles as good documentation for humans, too.
johnyzee··on Starbase, LA
"Watch Now" just shows a black screen with an audio track for me.
johnyzee··on A week of using Codex more than Claude
I do use a second Claude (both Opus) to review the first one's output - it almost always finds worthwhile (often critical) observations. They have different 'perspectives', one wants the job done, one wants to find problems, is how I had it explained.

Claude chat itself called it 'Claude-on-Claude action', which I found cute.

johnyzee··on What is happening to jobs? Separating AI hype from reality
You heard it from someone with no experience developing software. A lot of AI hype comes from that, even (or especially) from people in the actual business of developing software - a surprising amount of managers and adjacent or supporting roles in the field actually have very little clue about software development.

It's cool that 'regular' people can now create solutions to many small problems, and automate stuff - genuinely a step forward. Like Excel, only vastly better. But for bigger projects, real software engineers know that what LLMs do today is only a tiny part of development. And it solves it in a way that might well make the rest of the lifecycle a lot harder. It's like that saying about tools that make easy things easier and hard things impossible.

johnyzee··on Amiga 1000: Ten years ahead of its time
Spot on. The Amiga broke my teenage heart (name checks out). I was disgusted with computers after Commodore had run themselves into the ground, and left the whole thing for a few years. I just couldn't work with clunky PCs. In the end I had to budge and here we are, though it will never be quite the same.
johnyzee··on Meta confirms 1000s of Instagram accounts were hacked by abusing its AI chatbot
"Meta notified at least 20,225 people that their accounts had been compromised. [...]

The compromises allowed the hackers to take over the person's entire Instagram and any linked accounts, including obtaining contact information, dates of birth, and profile information, as well as the ability to access the person's posts, direct messages, and account activity [...]

the hacks began around April 17 and lasted until this week [...]"

This is staggering.

johnyzee··on Gradle Is Javamaxxing
I always hated Maven, until I started using Gradle.
johnyzee··on Meta deletes popular 1M follower account after Kuwaiti request
This is ridiculous. The only ones afraid of the Muslim Brotherhood are Middle Eastern dictatorships, who would rather not see a political movement take popular hold.
johnyzee··on Mythical Man Month
It's mostly slop. And sometimes slop is good enough. But Fred Brooks was talking about actual software systems, not a shop front for an amateur wine importer.
johnyzee··on Rack-mount hydroponics
I know this was about the journey, but for anyone interested in home hydroponics (without the journey of building it), I have had a Gardyn[1] for 6-7 years. It works well. It has a 6 gallon (20 liter) tank and a couple of strong vertical growth lights, in a sleek package that looks good in the home. Plants are fitted into pods, in standard-size rockwool blocks that you can get from any grower shop.

The fact that it works at all after a number of years, is surprising to me, given everything that goes on with it: You've got a moist environment with water pumped through it multiple times a day, fertilizer in the water crusting up in places, living plants with their roots growing into the pipes, algae growth, and a lot of parts that are shuffled around often.

There might well be other systems around these days that are the same or better, I wouldn't know, the Gardyn is just what I ended up with when I researched it years ago and I'm happy with it. For downsides, seeds are expensive from Gardyn, but you can plant your own. I do buy some from Gardyn because they have a big selection, and they usually come out good, which regular seeds often don't for whatever reason. They try to push their subscription service but I don't need it, so don't use it.

Hope this doesn't come off as advertisement, as I said there may well be better options (would like to hear about them), but this one works for me for a pretty hassle-free experience.

[1] https://mygardyn.com/product/gardyn-home-kit/

johnyzee··on Launch HN: Spine Swarm (YC S23) – AI agents that collaborate on a visual canvas
Calling it a 'canvas' makes me think that this tool is about AI agents doing some kind of collaborative drawing. Looking at the vid though, it seems more like an environment for visually organizing and managing agentic work (which seems very cool, and quite a bit more than just a canvas).
johnyzee··on The chess bot on Delta Air Lines will destroy you (2024) [video]
The only winning move is not to play.
johnyzee··on Ozempic is changing the foods Americans buy
Calories isn't everything, there is a lot more focus these days on how different foods affect metabolic hormones affecting satiety, blood sugar, etc. On those metrics, fat alone (which account for most of the calories in peanuts) is very satiating and does not trigger a later blood sugar drop (which causes cravings). That's why people on a diet drink 'bulletproof coffee' (coffee with butter in it), because it is extremely filling while not making you hungry later.
johnyzee··on Floppy disks turn out to be the greatest TV remote for kids
I loved the tactile feel of 3.5" floppies (especially coming from the - actually floppy - 5.25"s). Great choice. In particular, the spring-loaded metal shield was very satisfying to play with, unfortunately those are missing on the disks in the picture (apart from one, which seems to not have the closing spring)! Possibly a casualty to the three year old user.
johnyzee··on I canceled my book deal
That's how I read this too. The publisher invested a non-trivial amount of work and was left with nothing, for no better reason than the author changed their mind. From the tone of the post, the author seems to not realize or care.
johnyzee··on Microsoft has a problem: lack of demand for its AI products
MS Bob -> Clippy -> Copilot -> ?
johnyzee··on The Penicillin Myth
That was a lot of words to get to the point that Fleming probably misremembered the sequence of events when he retold the story 15 years later. He even mentioned this possibility at the time. Interesting article but not much of a mystery.
johnyzee··on Kafka is Fast – I'll use Postgres
Seems like you would at the very least need a fairly thick application layer on top of Postgres to make it look and act like a messaging system. At that point, seems like you have just built another messaging system.

Unless you're a five man shop where everybody just agrees to use that one table, make sure to manage transactions right, cron job retention, YOLO clustering, etc. etc.

Performance is probably last on the list of reasons to choose Kafka over Postgres.

johnyzee··on A years-long Turkish alphabet bug in the Kotlin compiler
Ugh, I've had the exact same problem in a Java project, which meant I had to go through thousands and thousands of lines of code and make sure that all 'toLowerCase()' on enum names included Locale.ENGLISH as parameter.

As the article demonstrates, the error manifests in a completely inscrutable way. But once I saw the bug from a couple of users with Turkish sounding names, I zeroed in on it. And cursed a few times under my breath whoever messed up that character table so bad.

johnyzee··on LLMs are mortally terrified of exceptions
Unchecked exceptions are more like a shutdown event, which can be intercepted at any point along the call stack, which is useful and not like a return type.
johnyzee··on Java 25 officially released
Your neighbor's dog barks at Swing.
johnyzee··on Java 25 officially released
Those are not Java paradigms per se - they're just practices of mediocre enterprise developers, of which Java has many, owing to being such a mainstream platform.

As for the language itself, a lot of verbosity has been culled in later language versions, with diamond operators, lambda expressions, local variable type inference, etc.

In either case, code is read more than it is written, so if a bit of verbosity makes code easier to read, I'm okay with it.

johnyzee··on Dietary omega-3 polyunsaturated fatty acids as a protective factor of myopia
Sorry, that's what I meant (misread the OP). Better to just eat fish.
johnyzee··on Dietary omega-3 polyunsaturated fatty acids as a protective factor of myopia
Yes. A real, raw source is almost certainly better than a processed and treated source. Packaged fish oil is sometimes rancid, unnoticeable to you, and those oxidation products are harmful. It is also heavily loaded with antioxidants, without which fresh fish oil goes rancid within hours, and which have their own detrimental effects when in excess.
johnyzee··on Lunar soil machine developed to build bricks using sunlight
Yeah, just drop a bunch of brick generation bots and let them run wild. Come back later and harvest bricks. Seems useful for stuff like landing sites.
johnyzee··on Self-driving cars begin testing on NYC streets
For Tesla to even be in the conversation with Waymo is very promising for the concept of low-tech solutions to autonomous vehicles, which in turn is very promising for how scalable this technology can be.

As far as I know, a self-driving Tesla, such as what they are operating in Texas, is almost the same hardware as an off-the-shelf Tesla, whereas each Waymo is a custom built vehicle, with added manufacturing costs (on top of the base vehicle) in the hundreds of thousands of dollars. The significance of the Tesla service being comparable to Waymos cannot be overstated IMHO.

johnyzee··on I bought a £16 smartwatch just because it used USB-C
It has LTE but apparently does not support phone calls or SMS, without being paired to a phone. Close, but not quite there.
johnyzee··on I bought a £16 smartwatch just because it used USB-C
I really want a smartwatch with proper always on screen (so memory LCD, like those COROS ones), but I also need LTE so I don't have to bring my phone on short errands. Unfortunately no such product currently exists for some reason.

The Apples, Galaxies and Pixels offer always-on, but they dim down a lot in order to not drain the power, which kind of defeats the purpose. A memory LCD screen on one of these watches would be perfect for me.

johnyzee··on Personal care products disrupt the human oxidation field
The rock alum works better, and I don't think you can get it into a different form. The stuff in deodorant is a different aluminium compound.
johnyzee··on Amelia Earhart's Reckless Final Flights
WTF is with the "coördinated" umlaut... Seriously the New Yorker works hard to earn their monocled caricature.
Page 1 of 25Next →