Live data from Hacker News

Writing toy software is a joy

blog.jsbarretto.com

201–210 of 318 posts

Re: Writing toy software is a joy

#201
post #181

love the spirit of the article, the time frames listed are quite unrealistic however

I’d triple the estimates, really. For example a game boy emulator is not trivial; there are far too many edge cases with a zilog. Chip8 would better fit for that time frame.

Re: Writing toy software is a joy

#202
post #39

> Perhaps you’re a user of LLMs. I get it, they’re neat tools. They’re useful for certain kinds of learning. But I might suggest resisting the temptation to use them for projects like this. Knowledge is not supposed to be fed to you on a plate Am I the only one using LLMs as if they were a search engine? So before LLMs I was searching on Google things like "pros cons mysql mongodb". I would read the official document…

I use perplexity when I want sources for my info, chatgpt if I want a quick overview.

Re: Writing toy software is a joy

#203
post #39

> Perhaps you’re a user of LLMs. I get it, they’re neat tools. They’re useful for certain kinds of learning. But I might suggest resisting the temptation to use them for projects like this. Knowledge is not supposed to be fed to you on a plate Am I the only one using LLMs as if they were a search engine? So before LLMs I was searching on Google things like "pros cons mysql mongodb". I would read the official document…

Even when using them to code, I use them as a search engine. Rather than telling them to implement feature X, I clone a repo which has a similar feature and say:

"explore the repo I've cloned at /src/foo and explain how it achieves barFeature. Now look a the project at /src/baz and tell me why it would be difficult to use foo's approach in baz"

I rarely have it do anything novel, just translate ideas from existing projects into mine. Novel work is for me to enjoy coding directly.

Re: Writing toy software is a joy

#204
I really like the idea purposed here but none of these projects are even remotely interesting to me. It's moments like this when I start to question whether or not I'm losing my love of programming.

Re: Writing toy software is a joy

#205

Earlier quoted context omitted.

This was already a problem in a world without LLMs. Reputation is the only human mechanism that mitigates this.

It's seriously exacerbated by smug LLMs.

I'd say LLMs have helped a lot with this problem actually, by somehow circumventing a lot of the decades of SEO that has now built up. But, I fear it will be short-lived until people figure out LLM optimisation.

Re: Writing toy software is a joy

#206

Earlier quoted context omitted.

> Now with LLMs, I simply prompt the same with a little bit more of context "pros and cons of using mysql vs mongodb when storing photos. Link references". In near future, companies will probably be able to pay lots of money to have their products come up better in the comparison. LLMs are smart enough to make the result seem "organic" -- all verifiable information will be true and supported by references, it will on…

I'm very grateful that we have a lot of players training LLM's, including several that are published as open models and open weights. I fully expect LLM results to start including ads, but because of the competition I hope/believe the incentives are much better than they are for, say Google's search monopoly. It could potentially be more insidious though. We'll probably start sending prompts to multiple models and co…

I really hope that they don't include ads in paid tiers. But I'm not sure how much you would actually have to pay to cover the potential lost ad revenue... it might be too much.

Re: Writing toy software is a joy

#207
post #204

I really like the idea purposed here but none of these projects are even remotely interesting to me. It's moments like this when I start to question whether or not I'm losing my love of programming.

Perhaps. I scanned the list and most of them sound like interesting projects that I would like to tackle at some point (or that I have tackled in the past for "fun").

Honestly, I think I was in your same position until recently, then I had some time off work thanks to the newborn and decided to start a "simple" coding project. Since it was purely for fun and to challenge myself, I decided to try and avoid bringing in any dependencies and wrote everything from scratch. This made it much larger and more complex than I had initially anticipated, but despite that (or, maybe, because of that?) I longed for those few hours when I could tinker on my project. Coding suddenly became fun again.

Maybe you're just a bit burnt out?

Re: Writing toy software is a joy

#208
post #39

> Perhaps you’re a user of LLMs. I get it, they’re neat tools. They’re useful for certain kinds of learning. But I might suggest resisting the temptation to use them for projects like this. Knowledge is not supposed to be fed to you on a plate Am I the only one using LLMs as if they were a search engine? So before LLMs I was searching on Google things like "pros cons mysql mongodb". I would read the official document…

I do this. But the killer usecase for me is writing all boilerplate and implementing some half-working stuff keeps my attention on the issue which makes me able to complete more complex things. A recent example is when I implemented a (Kubernetes) CSI driver that makes /nix available in a container so you can run an empty image and skip a lot of infra to manage. I talked to it a bit and eventually it wrote a Nix deri…

I hear a lot of people talk about LLMs writing the "boilerplate" and wonder why they haven't abstracted that away in the first place.

Maybe my brain has been permanently altered by hacking Lisp.

Re: Writing toy software is a joy

#209
post #39

> Perhaps you’re a user of LLMs. I get it, they’re neat tools. They’re useful for certain kinds of learning. But I might suggest resisting the temptation to use them for projects like this. Knowledge is not supposed to be fed to you on a plate Am I the only one using LLMs as if they were a search engine? So before LLMs I was searching on Google things like "pros cons mysql mongodb". I would read the official document…

Well now the search engines have LLMs too, which are often useful, even if only to avoid cookie popups.

Re: Writing toy software is a joy

#210

Earlier quoted context omitted.

I dunno. Working on a bike you want to use to ride to work could be stressful if it is your only bike, you need it to get to work, and your manager will be really mad if you don’t show up to work one day. If there was any slip available it wouldn’t be so bad. Actually, I really like this analogy because 1) We can’t really work on non-trivial fixes for our cars because they are too complex 2) We’ve totally structured…

As someone who's stuck to owning a single bike for over a decade (tho I will probably change this in the coming year) for both athletic rides and commuting, I'll say the "it is seen as a serious adult thing to have a car" can sometimes make having a single bike worse. If my bike flats and I'm out of tubes and I have a busy day planned, I have to take it to a local bike shop but those generally close pretty early. If…

You've just identified the next unicorn: AAA for bikes.
Post reply on HN