HNHacker News
TopNewBestAskShowJobs

fgeiger

222 karma · joined February 6, 2018

submissionscomments
fgeiger··on The Up-Goer Five Text Editor
I stumbled upon a very similar editor hosted on xkcd.com when searching for the list of most common words, which Randall used for Up Goer Five and Thing Explainer:

https://xkcd.com/simplewriter/

fgeiger··on React PDF Viewer
Thanks for the explanation.
fgeiger··on React PDF Viewer
Yes, I understand the general use of dev dependencies. However, in this case, 'pdfjs-dist' must be in the build output anyway. So, what is the benefit of including it indirectly?
fgeiger··on React PDF Viewer
What is the benefit of importing a dependency only as devDependency and including it like this in the build? Why not just declare a normal dependency?
fgeiger··on I built a vector map from scratch
Whoa, zooming and panning too fast crashed the entirety of Firefox. All windows just gone in an instant. How is that even possible nowadays?
fgeiger··on Tutors / tips to change your English accent
Maybe better enjoyed when someone reads it to you:

https://www.youtube.com/watch?v=1edPxKqiptw

fgeiger··on Tutors / tips to change your English accent
Is that the list you are looking for? ;-)

https://en.wikipedia.org/wiki/The_Chaos

fgeiger··on Future trains could provide carbon capture
Who's water? Planting trees usually helps to prevent droughts because they keep water in the local climate with effects like shading the ground and containing rainwater (instead of the rain just washing down the next river). I'm that sense watering them is a good investment.
fgeiger··on Ask HN: Can you both take climate change seriously and against nuclear energy?
The thing about greenhouse gases is: if we stop emitting them today they will still cause problems for decades.

With nuclear waste the time scale is vastly different. For that we need to be able to plan for milennia.

fgeiger··on Ask HN: Can you both take climate change seriously and against nuclear energy?
Why are they not used yet? Are they safe to operate? Are they commercially viable?

There are many promises for technical solutions. Yet, none of them are actually used today for a myriad of reasons.

fgeiger··on Ask HN: Can you both take climate change seriously and against nuclear energy?
Yes, you can certainly be both.

Climate change is an immediate existential threat as you say yourself. Seeing nuclear as the solution to that threat is very shortsighted IMHO.

Many commenters mention the threat of accidents like Chernobyl or Fukushima. That is one aspect, yes. However, on the grand scale it seems as if humanity has limited the risk for these kind of accidents.

The much bigger problem with nuclear energy is that humanity has not yet figured out how to handle the waste on the short term. Let alone on a time scale that is beyond human comprehension.

I was quite impressed by the thorough analysis in this article:

https://bostonreview.net/articles/is-nuclear-power-our-best-...

Piling more nuclear waste on to the already unmanageable heap is irresponsible. That is why being against nuclear energy as the stop gap solution for climate change is not only reasonable but also responsible.

fgeiger··on Ask HN: Should I move to California or Germany as a SWE with 2 small kids?
I did not recently consider moving to the US but I can relate my story about having moved from the Netherlands to Germany last year. My wife and I made the move from Amsterdam to Berlin. Both of us are working full-time and we have a daughter in kindergarten. We were both born and raised in different parts of Bavaria with our parents still living there. Being closer to family is also a recurrent topic for the same reasons you mention. To some extent this matches one of your possible scenarios quite closely.

From my perspective I can list a few things to consider in random order:

There are are definitely good opportunities for tech jobs in some regions of Bavaria. This is especially true for the metropolitan areas in and around Munich, Nuremberg, etc. You probably know better about the market in the exact region you are considering to move to. Some of the rural areas unfortunately don't have many jobs though. The pay is also lower in rural areas — on the bright side: so are the costs of living.

Working remotely is a way to earn more and you say that you are considering remote work already. When applying to remote positions the the pay which you can expect from a German employer might not matter so much. You could potentially also apply to remote positions elsewhere, e.g. even in the US (some companies don't have strict timezone requirements). I personally stayed with my Dutch employer through a payrolling service.

In any case, when living in Germany you will need to pay income tax and social security payments in Germany. Consequently, net salary is lower in Germany compared to the Netherlands (for the exact same gross income in my case). Especially health insurance costs significantly more. In turn, you also get more government benefits.

One of these benefits is the "Elterngeld" which seems to be relevant for you and you probably know of. This parental allowance is paid for up to 14 months during parental leave for one or both parents. The amount is based on your net income during the 12 month prior to the birth of the child. Income in other EU countries also counts AFAIK. You receive about 2/3 of your previous net income. It is capped at 1800 EUR/month and you don't receive any if your net income is higher than a certain limit (which I vaguely remember to be 250k/annual net per parent).

Since you are considering moving to rural Bavaria: Mind that childcare is far less pervasive than in the Netherlands. Creches might not exist close to you and daycare usually has shorter hours than the ones in the Netherlands. Even in primary school you might need to find someone to take care of your children in the afternoon. This seems to be possible in your case with family potentially being close by.

Regarding your fear of not building enough wealth: There is definitely more state mandated welfare in Germany than in California. That includes pension. The general notion however is that it is still required to build up your own funds for retirement. Many people do so by buying a house or investing in ETFs, etc. Buying real estate for a family of four in small towns and villages should be doable on a tech salary. In cities you will likely need to make compromises.

One thing to also keep in mind: broadband internet is not pervasive in rural Bavaria. In most cases it is good enough and many communities also have proper fiber deployed but I know plenty of people who struggle to get acceptable internet access — not great when working remotely.

Germany and the Netherlands have a treaty to avoid double taxation when you move between the countries. A tax adviser is helpful in this scenario. I cannot tell you much about my experience yet because I am only in the process of filing taxes for the year of our move.

Your question about quality of life can only be answered subjectively. I personally value the safety net that is the German welfare state. For instance I never in my life worried that I would get bankrupted by a medical bill. The same is true for job safety: yes, it is possible to fire employees and temporary contracts are a thing to some extent. However, employment contracts are regulated and I feel job security is balanced more in favor of the employee than in the US. Also the parental allowance which I mentioned above is great for families.

Quality of life depends on your immediate surroundings as well. For instance, with the Covid pandemic I've found it relatively hard to meet people in Berlin. This affected quality of my life. In a small village you might struggle meeting like-minded people.

fgeiger··on Pedal Me bans staff riders from wearing helmets for safety reasons
I don't think helmets are worn for aerodynamics. IIRC professional race cyclists only started wearing helmets after in 2003 when they became mandatory. If there had been any advantage in aerodynamics the athletes would have voluntarily picked up helmets before.

Also, anecdotally, I am occasionally road cycling for sports and do wear a helmet at all times. However, I am certainly not doing that because of aerodynamics.

Edit for clarity.

fgeiger··on Patients keep getting charged for crying
I think you read the chart wrong. At least you write "around the same or more" when it is much more. The amount the source lists for "government/compulsory" spending is $9054. That is a quarter more than the _total_ of the next biggest spender (Switzerland at $7138).
fgeiger··on Git ignores .gitignore with .gitignore in .gitignore
For new files I use `git add -N` (if memory serves right; I am on mobile) to mark them as "I want this file to be included in `git add -p`"

Edit: The flag is -N or --intent-to-add

fgeiger··on You Should Compile Your Python and Here’s Why
Frankly, I would find it much easier to write the naive C version than this "moderately" optimized Python version in the article although I am much more familiar with Python than with C.
fgeiger··on You Should Compile Your Python and Here’s Why
The obvious catch is that the compiled binary is not portable. You need to compile and deploy for each platform separately. You don't need to worry about platforms at all when deploying/sharing pure Python modules.
fgeiger··on Testing Without Mocks: A Pattern Language (2018)
> Which I assume means that you test the "null implementations"/"infrastructure mocks" by making sure they are always aligned with the real interactions. This avoids the danger of "normal mocks" to diverge from the real interactions.

When using a typed language (TS, Java, etc) this is also the case for mocks, isn't it? I don't see a reason why the implementation of the `createNull()` factory should be less prone to go out of sync with the implementation than mocks (as long as the type signatures are checked).

fgeiger··on Show HN: I made a little math game named Summle
> It needs a lot of backtracking planning. I has to guess which will be the last expression and try to reach the numbers that it used.

I ended up creating a mental factorization table of the target number with only the available numbers as factors. That pretty "quickly" lead to a solution in only three steps.

I put the "quickly" in scare quotes because I essentially brute forced the problem.

fgeiger··on The Miseducation of Maria Montessori
That is yet another difference, indeed: Primary school is only until grade 4 in most states, i.e. from around 6 to 10 years old.

To be honest, I don't know if and how much homework is assigned in primary school. I imagine that this also differs between states and even schools.

fgeiger··on The Miseducation of Maria Montessori
Don't forget that primary school starts later in Germany than in the Netherlands where children go to primary school from the day of their fourth birthday. In contrast, German primary school starts around the age of 6 (not exactly because all children regardless of birth date start in summer).

That means that the two to three years of primary school without homework mostly equate with the last two years of kindergarten in Germany (which obviously also do not assign any homework)

fgeiger··on MDN Redesign
I fully agree that the browser compatibility information used to be better. That shortened compatibility table is next to useless right now. It even shows a checkmark for features that are only going to be supported by a future (!) version of a browser. For instance, the dialog element [1] is only going to be supported in the upcoming Firefox 98 but already shows a checkmark.

[1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di...

fgeiger··on Show HN: CSS Speedrun – A small game to test and improve your CSS knowledge
Wow, nice. I like this even better then the OP. In particular how the levels naturally progress and how the game actively teaches concepts.
fgeiger··on Ambiguous PNG Packer: Craft PNG files that appear different in Apple software
> if someone searches for "fi" they should get results for "fi"; try it out in your browser's search field right now if you like

In fact, I just did try it out: searching for the ligature "fi" in Firefox (on Linux) does not find "fi". Neither does it work the other way around.

fgeiger··on THW: Germany′s army of volunteers for disaster relief
The same was true for volunteer firefighters (although I vaguely remember that it was less than 10 years).
fgeiger··on Linux with “memory folios”: a 7% performance boost when compiling the kernel
As I read it, the point was not about the wrong pronoun but about the fact that the suite is developed by one person and not a large team and that the burden of benchmarking Linux performance should maybe not rest on one person alone.
fgeiger··on Linux with “memory folios”: a 7% performance boost when compiling the kernel
Linaro is also doing a lot in that space (at least for ARM): https://www.linaro.org/os-build-and-test/
fgeiger··on The Fairphone 3+ is a repairable dream that takes beautiful photos
Yup, I totally agree with you. There are many issues — especially in firmware — which we are not able to address. We do backport linux security patches but that gets harder with each release.

We did indeed talk to other interested parties and attempted forward ports of the Qualcomm specific kernel features to LTS versions. I am not directly involved in that team anymore and sadly cannot tell you the exact reasons, but this failed to yield a usable kernel.

I do like your suggestion of long-term support from Qualcomm which was unfortunately not possible for the Snapdragon 801. For Fairphone 3, this is hopefully on the table again (especially, if — as you are saying — other customers also show interest in LTS support).

In summary, you make many great suggestions most of which we also attempted at some point. Unfortunately, the devil is often in the details.

fgeiger··on The Fairphone 3+ is a repairable dream that takes beautiful photos
Oh yes, indeed. I still feel the pain as I was working on that ...

For subsequent devices (FP2 and FP3) the situation has improved a bit but frankly, long term support from Qualcomm is also non-existent. We are still struggling to bring updates to the old platform of FP2.

fgeiger··on The Fairphone 3+ is a repairable dream that takes beautiful photos
There are two aspects to software updates on Android devices:

* Major version upgrades ("cookie upgrades") and * Security updates

Fairphone 2 still receives security updates for Android 7 and Android 9 for Fairphone 2 is in beta.

← PreviousPage 2 of 3Next →