HNHacker News
TopNewBestAskShowJobs

furstenheim

263 karma · joined August 1, 2019

https://github.com/furstenheim

https://twitter.com/furstenheim

submissionscomments
furstenheim··on Things I’ve learned in my 20 years as a software engineer
I once asked hr from a position advertising "unlimited PTO" what was the average of PTO days in the team. She panicked a little bit
furstenheim··on Sqlfluff the SQL Linter for Humans
I haven't used sqlfluff, but they support jinja templating and in those cases they ignore spacing problems. So maybe your use case can be supported?
furstenheim··on Ask HN: What is the best programming book you've read?
Effective Java by Joshua Bloch is really good. Some of the learnings only apply to Java, but most apply to any language.

All the tips are very focused on how the code, APIs and even the languages evolve, trying to understand how your changes could confuse other developers. Compared to clean code, it's clear that it's written by someone who has done a lot of coding and seen the evolution, with a very pragmatic approach. Not just theoretical like Clean Code

furstenheim··on Go’ing Insane: Endless Error Handling
When dealing with go errors I like to give them proper names. barErr, fooErr. In the case of the article it fixes reordering (not that you do that a lot in real code). In real code it makes unhandled errors a compile error, because the variable is not used.
furstenheim··on RNA breakthrough creates crops that can grow 50 percent more potatoes, rice
> There's an evolutionary reason why plants do not naturally grow this big.

That could be said of current crops. They are the result of years of artificial selection

furstenheim··on Write an SQL query builder in 150 lines of Python
The main problem with in memory databases is that they are not the same database. I've had several issues which I had to find a fix that worked on one database and was legal syntax on the other. Say maybe one database allows force index but in memory does not.

I've even seen one database layer for in memory and a completely different one for real database. That means that your unit tests are not really testing your production code

furstenheim··on PlsExplain: A small dynamic programming language where every value is explained
Not as extreme as PlsExplain. But in JavaScript you can also describe what you log using babel https://github.com/furstenheim/babel-plugin-meaningful-logs
furstenheim··on How do vaccinated people spread Delta? What the science says
The article is way more nuanced than the title.

That said, if the virus spreaded the same with the vaccine, the advantaged would be that the virus wouldn't have as much evolutionary pressure to change and become resistant. For example, it could make it harder for lambda variant, which might be symptomatic, to become prevalent

furstenheim··on America is plummeting down the global vaccination league table
This looks a lot like evolution in real time.
furstenheim··on Life before smartphones (2020)
Until you have an emergency and you need to call the helicopter, been there
furstenheim··on Ask HN: Why haven't we heard of data centers being affected by ransomware?
Related to the topic https://threatpost.com/100k-google-cloud-shell-root-compromi...

Data centers execute code and that could be hacked

furstenheim··on Ask HN: Do you self-host your database?
For postgres if you self host then you can create ad hoc native extension. Most of the time it's not needed, but I've seen 2-4x speed ups in critical queries
furstenheim··on JavaScript Is Weird
Yes, it's a pity that java applets have disappeared. Great UX, great development cycle, programming purity... </s>
furstenheim··on JavaScript Is Weird
Eslint is the default linter. Standard is a curated list of rules with good quality.

https://github.com/standard/eslint-config-standard

I would start with that and tweak what you don't like

furstenheim··on Postgres to TypeScript Interfaces and Enums
It looks interesting, but how does it behave with dynamically created queries?
furstenheim··on DenoDB
Not really, Electron would be the tool but not the end goal. Here an ORM is the end goal and that's what the parent complains about.
furstenheim··on Complexity is a source of income in open source ecosystems (2019)
This is kind of what happens with Postgres. Postgres in itself is great and simple to use. However, managing replication, maintenance, sharding... Is often quoted as very complex in the conference themselves. And that's precisely what most of the companies around Postgres live on
furstenheim··on Asynchronous API with DynamoDB Streams
Something that work for me, have a websocket open to the client and notify him that it's done. Additionally register this notifications in the database, so that if the user had closed the browser he'll see the notification next time that he logs in
furstenheim··on Show HN: Inflation-adjusted Hacker News
I've always thought something similar should apply to stackoverflow. Points from newer questions should be worth increasingly more, as more and more questions (specially the easy ones) are already answered
furstenheim··on Vue 3 drops IE11 support plan
We got a huge company using IE11, they could not update to Chrome because "it was not secure" according to their IT department
furstenheim··on Java Is Underhyped
Specially since it can only done in Eclipse xd
furstenheim··on Prototype Pollution (2020)
This article is not very good in convincing that prototype pollution is a problem.

There was a write up about the kibana rce that really shows it's a problem:

https://research.securitum.com/prototype-pollution-rce-kiban...

furstenheim··on Java Is Underhyped
I don't mean lombok as a library, which works. I mean developing lombok itself
furstenheim··on Java Is Underhyped
100% lombok can only be developed on eclipse. They have an open issue to make it compile on intellij...
furstenheim··on The Ponzi Career
I'm surprised it didn't mention the more extreme case of Mike Merrill https://www.wired.com/2013/03/ipo-man/
furstenheim··on Yank: Yank Terminal Output to Clipboard
This looks really useful.

Paradoxically, I find that the terminal is the place where I end up using the mouse the most.

furstenheim··on Accidentally destroyed production database on first day of a job
Lots of red flags there:

- Dev installation guides with credentials to prod.

- Tests that delete everything, not just what they create.

- The obvious of giving access to delete production on the first day.

- Where they lacking backups?

furstenheim··on Ask HN: Do you think Agile/Scrum is beneficial for software delivery?
I find value in part of it. Dailies I find very beneficial. You get to hear what other people are having problems with, and maybe you already faced something similar. Or the other way around, when you face it you remember that someone solved a similar issue.
furstenheim··on Modern software controls dependencies because it helps software authors
Totally, and if you mix it with yarns plug and play you should get best of both worlds
furstenheim··on Modern software controls dependencies because it helps software authors
Yeah, maybe "deal breaker" is to strong. But I've had consumers of a library not being able to use it because a critical dependency (html parser) was not the same version as they had
← PreviousPage 3 of 5Next →