Recent submissions

Comment · 1 year ago
For me it is difficult to give good code comments just when code is written. The problem is solved, the tricky parts if any are internalized. I dont mind reading code so just documenting what the code is doing does seldom bring value. The important thing is to document why the code does things in an non obvious way and unintuitive scenarios and edge cases etc.

When revisiting code is the best time to add comments because then you will find out what is tricky and what is obvious.

Code reviews are also good for adding code comments. If the people reviewing are doing their job and are actually trying to understand the code then it is a good time to get feedback where to add comments.

Comment · 3 years ago
Or is the past endlessly rehashed with AI generated content?
Comment · 5 years ago
Please don't. It will just become the usual Americanized trope filled insult to the original story. Stick with Marvel to produce your generic entertainment.
Comment · 5 years ago
Minimalist as in the README does not specify that it refers to the UI though.. If I read minimalist software I would assume a more holistic interpretation unless otherwise specified.

Maybe replace minimalist with modern for a more correct description of software with 100s of dependencies? (Joke!)

Nitpicking aside, The app looks good and I do like this TUI trend!

Comment · 5 years ago
This is a rather pretentious take. Not sure I agree that a lowest-common-denominator i.e. violence and sex TV-drama counts as common culture. The setting could be whatever, it would still sell using the same tropes. I guess it is in a way similar to how McDonald is European "common food culture"..
Comment · 5 years ago
What is an IC? I don't recognize the acronym in this context
Comment · 5 years ago
I have been day dreaming about a program taking a factorio blueprint and running it through a genetic algorithm to produce a compressed but still functional version. I can imagine it could produce some interesting spaghetti layout! One way to ensure that the end result still works the same would be to only let the algorithm work with a selection of predefined refactoring steps that guarantee that the factory does not break. Another maybe more interesting approach would be to include some actual simulation that could test the factory. With the simulation the algorithm could work more freely with possibly destructive changes and apply them until the factory works as expected. This I figure would produce even more interesting spaghetti..
Comment · 5 years ago
A more natural way would be to arrange for people to work together in smaller groups on tasks as part of the normal work. If you provide this then I agree with the parent poster if there is a social interaction to be had it will come. If not that's OK as long as we can work together in reasonable harmony. I value professionalism, if I can make a friend through work that is great but it should not be the norm that we all have to be friends to get along.
Comment · 5 years ago
Thanks for the response, very informative, I feel it explains a lot of what I was confused about.

So maybe a simplified view for me is: massive adoption of JS + frameworks, cookie cutter development, no point learning anything else when you have the golden hammer.

I actually thought you still did learn HTML and stuff before the digging into the frameworks. But maybe it is analogous to learning assembler before python, i.e out of fashion and not needed to get the job done.

In this context what seems like the simpler and more suitable solution to me (static HTML+some minimal JS) might not be on the map for most modern web developers. What they do is overkill but it is what they know and it gets the job done.

Comment · 5 years ago
Yes the ads/trackers/etc is most likely a reason that a webpage cannot be completely without javascript.

Two other possible reasons from the top of my head:

If a web developer is hired to make a site they can probably charge more if it is a fancy javascript site. In some cases it might be in their self interest to up-sell this to a client that does not know better.

If a web developer makes a site for themselves I am sure many want to take the opportunity to get some experience in the latest web-tech while they are at it. Just as I will use an obscure programming language for my next side project..

Comment · 5 years ago
I am not a front-end developer but looking at it from a distance I really don't get modern web design. Sure some sites might need fancy javascript single page features, like if your webpage is an interactive map or realtime game, but most sites are just text and some pictures. Whats with all the javascript? Your site looks just like the next one anyway! It feels like an "Emperor's New Clothes" situation or maybe more likely I just don't understand the allure as an clueless user.. I am almost tempted to make a webpage to see what the big fuss is about!
Comment · 5 years ago
I see this as a part of the trend towards a bleak future of auto generated low quality generic content flooding the web. It already feels like it has been going on for a long time even though it has not been fully AI-driven before. This is a natural evolution of the direction things are going towards. I believe that non-algorithmic curation and aggregation will become even more important services that people will be willing to pay for.
Comment · 5 years ago
I had the exact same experience! I found that copying things by hand it keeps the backlog in check and avoids long running tasks.
Comment · 6 years ago
Its not new. Its called a covey chart and is used in "The 7 Habits of Highly Effective People" from 1989, a highly popular self help book. (not sure if it was used in any prior work)
Comment · 6 years ago
Another way to do it is to fix bugs and refactor old not so good code. Force yourself to understand the actual underlying logic and the problems it solve. Use your frustration to figure out a better design that code so it wont punish future programmers.. After doing this for years you will hopefully have built a good habit of simple and clean design.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton