HNHacker News
TopNewBestAskShowJobs

glun

176 karma · joined September 23, 2018

submissionscomments
glun··on Ask HN: What do people think of FIRE (Financial Independence, Retire Early)?
I think its stupid. Retirement is boring, youll end working anyway just to have something to do. Id rather have an enjoyable job and lots of sparetime now that im young rather than slave away my youth so that I can retire early.
glun··on Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
Java will get lightweight threads soon. You can google "java fibers".
glun··on Notepad++ 3rd Most *Loved* Dev Environment
It says nothing about loved, only popular. The percentages dont add up to 100, so I suppose the question asked which enironments you use regulary. Then it makes sense that NPP scores highly even though its unlikely to be used for serious work.
glun··on You Can't Solve the Gender Gap in Tech If You Don't Understand Why It Exists
Lots of opinions, but no data to back it up.
glun··on Whitespace killed an enterprise app
While they might not know what they need, they definitely know what won't help them.
glun··on AlphaStar: Mastering the Real-Time Strategy Game StarCraft II
Dota is a much harder game strategically, in Starcraft it's easier to compensate with mechanical skill. You can see this in the results. The Dota ai played a very dumbed down version of the game and still got trashed by the pros.
glun··on AlphaStar: Mastering the Real-Time Strategy Game StarCraft II
Starcraft is generally balanced by adjusting the map pool rather than the races.
glun··on Ask HN: Famous anonymous inventions other than Bitcoin?
The invention of the bow predates mans immigration from Africa so isolated tribates having access to it doesnt mean that they invented it independently. And fire is even older.
glun··on Ask HN: If all events are random or deterministic is there free will
Determinism is compatible with a free will. Determinism simply mean that the future can be accurately predicted from the present. Its only implication on the subject of free will is that the same person in the same situation always will make the same choice, i.e. theres nothing inherently random about our decision making processes.
glun··on Ask HN: Older textbooks/papers you consider classics still worth studying today?
When I was an undergrad (enrolled in 2011) I decided to screw my professors book recommendations and lookup what the internet seemed to think was the best book in each subject and read that instead. Most of them were fairly old. Some examples that I remember off the top of my head:

Intro to CS: SICP (1979)

Algorithms/data structures: CLRS (1989)

Theory of computation: Sipser (1996)

Compilers: Dragon book (1986)

Calculus: Spivak (1967)

Linear Algebra: Dover's by Shilov (1971)

The given year is for the first publication, some of them are still being updated and I probably read a newer edition.

glun··on Long-Awaited Study Results on Vitamin D and Fish Oil Supplements
And even when it does shine the critical UVB spectrum may not pierce the athmosphere at a strong enough intensity for the body to produce vitamin D.
glun··on Java’s Checked Exceptions Are Evil? (2015)
This article is far too focused on the domain of web programming where you almost always propagate the error to the main loop. However, in a large amount of programs you actually are able to handle the error at the call site.

Furthermore, whether an error can be handled or not is a property of the caller, not the callee. If you're writing a public api and don't know your caller then checked exceptions are safer, and callers who just want to propagate the error can still write an api wrapper that rethrows them unchecked.

I do agree that checked exceptions are poorly implemented in Java though. In my dream world checked exceptions would be replaced by Either types which wrap a value or an error and there would be macro-methods for both propagating them and throwing them unchecked. There would also be union types for representing a set of possible named exceptions. Rust is probably the language closest to this.

Finally, if you're writing internal code for something like a web api, then of course you should stay far away from checked exceptions and rethrow them unchecked as early as possible when calling external code.

← PreviousPage 2 of 2