Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mollerhoj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
mollerhoj
2y ago
In Scandinavia languages, xmas is still called Yule. Not sure if having the same name is enough to prove that its a continuation?
32.
▲
by
mollerhoj
2y ago
How are these two scenarios comparable?
33.
▲
by
mollerhoj
2y ago
Have you ever worked on a project that used Rails, Laravel, Django or Spring? Without being a SPA? For many (most) websites, I find that these are far superior to client side heavy SPAs with json apis (react, vue etc).
34.
▲
by
mollerhoj
2y ago
Growing x100 times the amount of food needed isn’t ‘slack’, its production for export (or feeding pigs to export). We could cut out farmland by 50% and still have more than enough to feed our own population. This food security argument woul
35.
▲
by
mollerhoj
2y ago
Sounds like you’ve fallen for some farmer rhetoric.. How is growning crops to feed 28 million pigs to 6 million people? We’d have to eat 5 pigs each.. If it was really about food security, we’d surely plant crops to eat ourselves, which is
36.
▲
by
mollerhoj
2y ago
It isn’t necessary usagligt to argue that the new policy will be ineffectual, and that its just political posturing. However, its not position that either side here in DK holds. Both sides agrees thats its a major reform. You're making
37.
▲
by
mollerhoj
2y ago
We’ve been debating this “green new deal” in Denmark for months. While we have our share of disinformation and bad arguments from political interest groups and confused individuals, it’s pretty eye opening to see how “usaglig”[0] the debate
38.
▲
by
mollerhoj
2y ago
Everything has tradeoffs. This is legislation to try and reduce emissions from co2 and methane. It was suggested by a group of expects in the relevant fields, and our politicians went with it. Growing vegetables obviously has less negative
39.
▲
by
mollerhoj
2y ago
I find this a strange claim. 1: Are people living on milk? Never heard of that diet except for infants. 2: Many things are both cheaper and more nutritious, see https://efficiencyiseverything.com/calorie-per-dollar-list/
40.
▲
by
mollerhoj
2y ago
Same, did not expect this from HN. Even the farmers interest group here in Denmark don’t spew this much misinformation..
41.
▲
Ask HN: Best OSS SQL Query Builder in Any Language
2 points
by
mollerhoj
3y ago
|
1 comments
42.
▲
by
mollerhoj
3y ago
Pet theory: Could it be some bio hacking/disease construction thing they have discovered? I know nothing of the subject (which is probably why it seem a possibility to me) but what if they have discovered something to that makes engine
43.
▲
by
mollerhoj
3y ago
I made superslimesoccer.io with game maker back in the day, still going strong with 1000s of daily visitors
44.
▲
by
mollerhoj
3y ago
In most species, males are more colorful than females - since they are the ones during the attraction. Our culture seem to have flipped this logic somehow
45.
▲
by
mollerhoj
3y ago
Same path for me here. In particular, I found unpolys codebase to be of higher quality.
46.
▲
by
mollerhoj
3y ago
I should have mentioned this, but the noise canceling part is the sole reason for me actually wearing headphones. I wear earplugs+headphones in an attempt to focus in an open office.
47.
▲
Ask HN: Where do I get a headset for my big head
7 points
by
mollerhoj
3y ago
|
8 comments
48.
▲
by
mollerhoj
3y ago
I really wish Bob would write a “Crafting Type Checkers” sequel.
49.
▲
by
mollerhoj
3y ago
No, thats incorrect. The connections are automatically deduced from the training data (which is just vast amounts of raw text).
50.
▲
Umarell
(en.wikipedia.org)
3 points
by
mollerhoj
4y ago
|
0 comments
51.
▲
by
mollerhoj
4y ago
Interesting, how are you drawing graphics? Skia?
52.
▲
by
mollerhoj
4y ago
Off topic, but do you happen to use kiba etl? I've also done a lot of etl for rails apps, and kiba is just great
53.
▲
by
mollerhoj
4y ago
rspec or minitest? ;-) Could rspecs 'expect change' idiom be the difference? I find that reducing assertions per spec where I can a good guideline. E.g. combining expect(foo['a']).to eq(1) and expect(foo['b']).
54.
▲
by
mollerhoj
4y ago
Heh yeah but it can be used to write tests that check your assumptions about a 3 party api. Granted, It'll only fail once the test are rerun without the cache, but it can still be a valuable technique. It can be valuable to have a test
55.
▲
by
mollerhoj
4y ago
Yes, you got us rubyists there. :-( Its the unfortunate result of trying to avoid premature optimization and strive for clarity instead. Something thats usually sound advice. Enginnering decisions have tradeoffs. When the testsuite become
56.
▲
by
mollerhoj
4y ago
When you say I 'forgot' an assertion, are you implying that test should include all possible assertions on the code? That would perhaps cover more surface, but my goal (read zealot ideology) here is to have the tests help documen
57.
▲
by
mollerhoj
4y ago
Please correct me if I'm wrong, but would a precondtion not just be the postcondition of the setup? Invariants would either have to be publically available and thus easily testable with similar methods, or, one would have to use assert
58.
▲
by
mollerhoj
4y ago
There are usually different ways to design a system. Its often the case that designing the system such that it is easy to test (with little setup/teardown) has other benefits too. E.g. It often indicates low coupling and a more simple
59.
▲
by
mollerhoj
4y ago
OP asked how any state change would be tested with a single 'assertion' and I provided an answer. Absolute rules are stupid, but our codebase has just short of 10k tests, and very few have more than one assertion. The only reason
60.
▲
by
mollerhoj
4y ago
I believe theres a rubocop that checks for it: https://docs.rubocop.org/rubocop-minitest/cops_minitest.html...
More ›