Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nix-zarathustra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
nix-zarathustra
3y ago
Yes, I was going off of memory and thought that it was memoising it, but I made a mistake and fixed it. fib = Hash.new do |k, v| next 1 if v == 0 || v == 1 k[v] = k[v-1] + k[v-2] end I like yours better though, it seems a l
32.
▲
by
nix-zarathustra
3y ago
I agree. When I am scripting, I want to have quick feed back loop. You can't really do that with Go because it doesn't have as good introspection and debugging capabilities as a scripting language like Ruby and doesn't have e
33.
▲
by
nix-zarathustra
3y ago
One of the most beautiful things in Ruby that I have ever seen is this fibonacci code. fib = Hash.new do |k, v| next 1 if v == 0 || v == 1 k[v-1] + k[v-2] end
34.
▲
by
nix-zarathustra
4y ago
Mozilla was named because the browser was going to be a "Mosaic killer". They made a bug tracker which they named bugzilla. Atlassian made their own bug tracker called Jira, in reference to the japanese transliteration for godzill
35.
▲
by
nix-zarathustra
5y ago
I'll bite. >China has around 1/5'th of the emissions per capita compared to western countries. It's western countries that are a threat to the environment. China is also the largest investor in green technology global
36.
▲
by
nix-zarathustra
6y ago
He actually has a talk about it: https://www.youtube.com/watch?v=JWD1Fpdd4Pc
37.
▲
by
nix-zarathustra
6y ago
I had never used Tailwind CSS, but on my side project I picked it up very quickly. The docs are good and it doesn't deviate too much from CSS frameworks like Bootstrap.
38.
▲
by
nix-zarathustra
6y ago
No, it doesn't do type deduction. Without specifying the type, it assumes a type of int. Everything in C revolves around ints.
39.
▲
by
nix-zarathustra
6y ago
>Scrum was created by one of the creators of the agile manifesto as a way to see consulting/training around the 'Agile' idea (timeframes may differ a bit, but they were linked). Scrum was actually created by two Japanese d
40.
▲
by
nix-zarathustra
6y ago
>It's a law that's either written by media lobbyists or people unfamiliar with technology. It's a law written mostly by the ACCC.
41.
▲
by
nix-zarathustra
6y ago
It was the ACCC who proposed the policy.