For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more nalgeon's commentsregister

I never said anything like that in the post. And I never said that writing simple code is stupid.


I thought it was a superb and very important essay. I really liked it and I have shared it widely.

I find it very sad that so many people, including the majority of the comments here, did not understand what you were saying, and either totally misinterpret the whole thing, or pick on minor unimportant details and misunderstand them.

Thank you for writing it.


What am I supposed to take away from this then?

> I haven't been diagnosed with any specific medical condition, but my mental capacity is very limited. … So what do I do about it? I use the simplest mainstream language available (Go) and very basic Python.


I think and I don't speak for him, but he's saying he writes simple code because he's stupid, which is different from saying simple code is stupid, because smart people can also choose to write simple code.

Op may be too harsh on himself but it's an open possibility that he may also be honest and accurate in his own self assessment.


If that’s what he is saying this is probably the worst possible way he could have done it


Definitely not "simple code is stupid".


Ok well you should work on your writing then because it sucks and doesn’t communicate your points well.

If I said “The sky is blue today. So, I went outside.” You would probably be surprised to learn that I hate clear weather and prefer the rain. Because, that would violate the most implicit, obvious assumption in my statement…

Likewise you saying “I’m mentally deficient. So I have to use Go” makes it seem pretty fucking obvious to me what you think about Go programmers and programming in general


It's good to know I'm not the only one who has trouble with basic logical reasoning!


Shit, maybe I should have taken your post literally, you do seem like an idiot.


You've totally failed to understand what the essay is about, and you are angrily trying to argue your incorrect understanding with the author when it is not what he said.


The most healthy approach is probably to compare yourself to yourself N years ago, not to others. Comparing yourself to others will always leave you disappointed.

But it's easier said than done. Especially if you read HN :)


> The most healthy approach is probably to compare yourself to yourself N years ago

Absolutely.

It wasn't him, but this is often attributed to Mark Twain:

“When I was a boy of 14, my father was so ignorant I could hardly stand to have the old man around. But when I got to be 21, I was astonished at how much the old man had learned in seven years.”


I didn't mean it like in - compare to others. It was more like an observation - hey, I feel stupid but I see I'm definitely not alone.

And yeah, comparing myself to N years ago - I can't image how stupid I was ! (And it does actually feel good !)


Working like this typically creates additional cognitive load because you have to constantly convince yourself that it's okay, you can handle it, it's just a job, etc. It also increases the risk of burnout.

So yeah, it's a pretty tough deal.


Fitting PostgreSQL into a 12MB binary with a simple API is amazing!

I was so excited to try it out it that I just released an in-browser PostgreSQL playground on top of PGlite.

It's also open source and easy to integrate:

https://codapi.org/postgres-pglite


Awesome! Will check it out


Sam's visual tutorials are as good as ever (doggos are very important, by the way).

And if you want to try some code, I've prepared three toy Bloom filter implementations to accompany the article:

JavaScript: https://codapi.org/embed/?engine=browser&sandbox=javascript&...

Python: https://codapi.org/embed/?sandbox=python&src=gist:e7bde93f98...

Go: https://codapi.org/embed/?sandbox=go&src=gist:e7bde93f98c5e4...


And if you want a simpler tool for creating interactive docs, maybe try Codapi:

https://codapi.org/


If you find the official release notes a bit dry, I've made an interactive version: https://antonz.org/go-1-22


Cool, that does help. It wasn't immediately obvious what the problem with the for loop sharing thing meant, but seeing it run and give unexpected results helped. :)


Thank you this is awesome. I find it so much quicker to read and understand things like this with examples.. and these are runnable / editable! Sick.


The Compact and Replace examples leave me puzzled, are they correct?


They are correct.

> Functions that shrink the size of a slice (Delete, DeleteFunc, Compact, CompactFunc, and Replace) now zero the elements between the new length and the old length.


Oh, it's great.


really cool


You can also embed SQLite shell into your blog or product documentation: https://codapi.org/sqlite-wasi


If you find the official release notes a bit dry, I've made an interactive version:

https://antonz.org/sqlite-3-45


I guess you can prepare the necessary packages and mount them in the WASI file system for the Python binary (WASI allows this). Then you can import these packages in your Python code.

I haven't tried this though :)


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You