HNHacker News
TopNewBestAskShowJobs

heluser

57 karma · joined March 8, 2020

submissionscomments
heluser··on Mermaid: Generation of diagrams like flowcharts or sequence diagrams from text
Re what other developers use. I tried mermaid and other text to diagram tools for work, but, as mentioned above, found them lacking. Most companies / teams I know of use something like excalidraw or miro. Definitely matches your simplicity requirements, but, obviously, no git blame
heluser··on One year after switching from Java to Go
Java 8+ is basically a declarative language. They even officially started departing from Object Oriented Programming towards Data Oriented Programming ( article by their chief architect https://www.infoq.com/articles/data-oriented-programming-jav... ). Unfortunately, most of the comparison articles come from people who still code POJOs with setters, use for loops and overall rely on mutable and unsafe code.

And using Pike’s own words “go is unapologetically imperative”.

heluser··on One year after switching from Java to Go
I long for a deep article about the same topic. The real, core difference between Java and Go for backend is declarative vs imperative coding styles.

This one, as typical for such articles, repeats typical secondary talking points and even makes similar mistakes. For example it conflates the concept of DI with specifics of implementation in some frameworks.

Yes there are older Java frameworks that do runtime magic. But both new Java apps and well designed Go services use compile time dependency injection as a way of achieving dependency inversion.

heluser··on Ask HN: If you are starting in 2024, what is the most productive solo dev stack?
It looks like the answers are heavily biased towards “my favorite tool”. And don’t take into account what’s actually asked. For a person who doesn’t want to become an swe (e.g. working on a specialized area at a big company) and who is a newcomer the answer is simple: JS, period. Take Next.js and try writing something using SO, chatGPT, articles and books. Treat html , css as “will learn on the go when I need something”. Next.js is the closest that the JS has to the standardized, pawed path. It covers all you need front-end, back-end, static sites. Batteries included.

Note: I am mostly a back-end / SWE and mostly avoid JS, but I also have to admit that IMO that’s the best match with the authors goals.

heluser··on Ask HN: Compiler speed-up or Build Caching tool. Hard to find?
Look at https://earthly.dev/ But ideally we need more info - language, env and etc. for example both CircleCI and Gradle match your current ask but something tells me you need something else
heluser··on Is ORM still an anti-pattern?
Big +1 to this. I’ve been using JDBI lately and could not be happier. It is not an ORM, only a lightweight mapper. And it supports all modern libraries and paradigms (Vavr, Immutables, immutable “value classes” …)
heluser··on LastPass user vaults stolen in recent hack
I used to have a local only manager but then, obviously, syncing becomes a problem. And then it becomes a choice between syncing an encrypted blob using your own solution (potentially not very secure) vs using a provider who still treats your data as an encrypted blob with no access to the data and tries to do it securely. I think the provider is still more secure (again assuming the 1password access model not talking about LastPass-like providers) plus much more convenient. So if not 1password what would be a recommendation assuming syncing is required?
heluser··on LastPass user vaults stolen in recent hack
Not surprising to see another LastPass incident but I wonder why nowadays anyone would choose LastPass over 1password
heluser··on How the weak can win – A primer on protracted war
You know if you are talking about lies would be great to provide some credible references Otherwise the comment is pretty bleak and matches well Putin’s propaganda. Context: I have relatives in that area
heluser··on Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
To resolve such issues the central maven repo, for example, makes artifacts immutable when you publish them
heluser··on When WhatsApp went down, Brazilian workers’ jobs went with it
Telegram? It also allows you to share your username instead of the number
heluser··on Ask HN: What is the best programming book you've read?
- Low level: Code Complete 2 (yes it’s old but still very relevant) - Hight level: Designing data intensive applications
heluser··on The KDL Document Language
Refenrecing the site “What about HOCON?”
heluser··on TypeScript at Google (2018)
Love “x at y” stories. Would be cool to hear about graphQL at Google too
heluser··on Java for Everything (2014)
I guess “Static vs dynamic/gradual typing” would’ve been a better title. If the author had used Go/OCaml/.net/etc the result would’ve been the same : better performance and easier maintenance in long term
heluser··on Save the USPS
Here is a good explanation why there were profitable and now they are not (tldr regulations) https://youtu.be/IoL8g0W9gAQ