dzhar11
Joined 4 years ago
Joined 4 years ago
I've been seeing the same thing with models like GPT5.6 and Opus4.8 in GH Cop CLI. They still introduce magic numbers, and in Scala they often put an entire 10-line Spark expression inside an if condition instead of extracting it into a meaningfully named value to keep "if" readable. I wonder when common sense instructions will be baked into the models.
So I'd rather micromanage the process step by step. It takes more of my time, but the result is much, much closer to what I actually wanted.
a triple-LLM-filtered categorized list of the top resources from this HN topic. (My link-dump website is a trash pile of all the information I’ve ever paid attention to, maybe someday I will need it!)
Sentiment toward Clippy-as-software (approximate, opinionated comments only)
Clippy hostile |######################......| ~70 %
Clippy not hostile |########....................| ~30 %
Scale: 30 columns; '#' ≈ 2–3 % of clearly opinionated commentshttps://github.com/Nanonid/rison
Super old but still a very functional library for saving state as JSON in the URL, but without all the usual JSON clutter. I first saw it used in Elastic's Kibana. I used it on a fancy internal React dashboard project around 2016, and it worked like a charm.
Sample: http://example.com/service?query=q:'*',start:10,count:10
I've tried several to-do apps, but centralized systems didn't work for me. I now use multiple to-do lists across different media: some on paper, some on my phone, others in markdown files within project folders... sending email to myself. It may seem messy, but it works for me. One system doesn't fit everyone. And any customization and tweaks are encouraged.
Books that helped me:
Atomic Habits by James Clear emphasizes small, consistent changes. Over time, they build into significant improvement. It’s better to improve your system gradually than attempt a major overhaul.
The Now Habit by Neil Fiore offers tools to overcome procrastination and start tasks. It helped me understand my resistance and find ways to move forward.
Getting Things Done by David Allen focuses on reviews and planning. I struggle to make time for them regularly, but even occasional reviews help.
Marcus Aurelius' Meditations, especially annotated versions, provide a Stoic perspective. His reflections on virtue and responsibility inspire me. He seemed to dislike being emperor, preferring philosophy, but accepted his role out of duty. That example helps me do necessary tasks, even when I don't feel like it.
For my personal single-html projects, I prefer a straightforward coding style that avoids external dependencies. I implement what I need in a simple, quick, and efficient manner using only native browser APIs, supplemented with a few helpers like those in 'Hn.js' to make the rest of the code shorter.
These macro tricks (from the article) are not about recreating C++ in C. C is less opinionated (comp. to C++): it gives you fewer built-in abstractions; does not prescribe which DS dev. should use. It is bring-your-own-data-structures language. Bring whatever you choose. In C, newer language standard is not always better. Older lang standards support more platforms. There is a certain beauty in writing in an old language while still applying modern coding practices.
I like C. I don't hate other languages. I wouldn't use C for apps that should have been written in C# with WinForms...