Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
olavk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
olavk
8y ago
Sorry if I misunderstood.
62.
▲
by
olavk
8y ago
Sure, don't fix it if it ain't broken. Today there is no reason to use tables for presentation, but that was probably not the case when HN was initially designed many years ago.
63.
▲
by
olavk
8y ago
Well using divs would at least make you able to group the elements semantically so you could remove a single node rather than having a for loop which removes exactly three nodes. This would be significantly simpler in my opinion. And it wou
64.
▲
by
olavk
8y ago
There are some polarized opinions in this thread. Someone wrote That might be one of the most readable pieces of code that I've ever read. Apparently it improves readability immensely to rename 'forEach' to 'aeach'
65.
▲
by
olavk
8y ago
Someone else points out that older versions of IE didn't support array methods like forEach on nodelists. So it is basically a thin compatibility layer.
66.
▲
by
olavk
8y ago
So you would like to work a place with no code review? You will be happy to hear that many many workplaces have no code review at all.
67.
▲
by
olavk
8y ago
I'm sure the code works very well for its intended purpose, but I'm kind of wary of the idea that using obscure abbreviations like 'posf', 'arem', 'vis', 'ind' etc. makes you "expert ha
68.
▲
by
olavk
8y ago
> there is enough information to infer the function's semantics without being excessively specific You mean you can just read the function definition to see what it does?
69.
▲
by
olavk
8y ago
It seems some of the one-liners are simply renaming JavaScript built-ins like forEach to aeach and slice to acut. Maybe this is to make it look more like the Lisp backend? But taken on its own it does not really improve readability.
70.
▲
by
olavk
8y ago
There is a big difference between "he is right" and "You can't prove he is wrong". Is there any evidence he is right?
71.
▲
by
olavk
8y ago
How do you know?
72.
▲
by
olavk
8y ago
I think it is really muddying the issue to conflate hash with "drugs". And I do think it was part of the original vision of Christiania that people should be allowed to smoke hash if they were so inclined. It was conceived as a
73.
▲
by
olavk
8y ago
Oh and they were the ones who told you there was an "exclusively muslim criminal element"? Because the police claims the hash trade is largely controlled by the biker gang Hells Angels - but maybe your investigations have uncovere
74.
▲
by
olavk
8y ago
It is really muddying the issue to call hash "drugs".
75.
▲
by
olavk
8y ago
I assume those guys in the know was talking about the side streets outside Christiania? While drug trade can happen everywhere it is actually pretty controlled in Christiania because it is a tight-knit community which is self-policing. If
76.
▲
by
olavk
8y ago
Sorry I meant to say that the Christiania hash trade is controlled by Hells Angels. I don't think Hells Angels are particularly Christian despite the biblical name! It is just to point out that the guy saying the trade is "exclu
77.
▲
by
olavk
8y ago
The Christianity drug trade is to a large extent controlled by the Hells Angels biker gang.
78.
▲
by
olavk
8y ago
There is not actually a lot of crime in Christiana, except for the hash trade. For harder drugs, prostitution etc. you will have to go to other parts of Copenhagen. And you can take pictures everywhere in Christiania except for the short st
79.
▲
by
olavk
8y ago
Think of it another way: All matter in the universe is getting smaller. But the universe have the same size, so distances between everything increase.
80.
▲
by
olavk
8y ago
It is not possible to copyright a word.
81.
▲
by
olavk
8y ago
A good reason to avoid i.e. and e.g. is that many people doesn't know the difference.
82.
▲
by
olavk
8y ago
I was ready to become enraged, but the article mostly mentions a range of failed attempts by businesses to trademark common phrases. Then it does say Paris Hilton owns the words “that’s hot” - but googling a bit it seems like she succ
83.
▲
by
olavk
8y ago
"Remember that everything in this guide is a guideline, not a draconian rule." The context makes it clear that it is future tense which should be avoided when describing system behavior.
84.
▲
by
olavk
8y ago
> Should I just go and basically say that this person did a bad job? You have no idea of the conditions and constraints this person was working under. You don't know if you would be able to do a better job given the same conditions
85.
▲
by
olavk
8y ago
But if the experiment was flawed we might learn the wrong things from it.
86.
▲
by
olavk
8y ago
The experiment attempted to show what mechanisms cause abuse like Abu Ghraib to happen. The theory was that the power disparity in a prison in itself lead to abuse and not individual personality traits of the abusers. This apparently have
87.
▲
by
olavk
8y ago
So...where do you have your information from?
88.
▲
by
olavk
8y ago
It is a bit unfair to blame Disney for stealing "the Lion Sleeps Tonight". I it really Peter Seeger who is the guilty party (or at least his record company). He made the song famous in the US in the 1950's but he thought it w
89.
▲
by
olavk
8y ago
Honestly I think you are just making shit up at this point. Can you point to any legitimate historical source which can corroborate your claims? Just see Wikipedia for a start: Slaves were considered property under Roman law and had no l
90.
▲
by
olavk
8y ago
Roman slaves were still slaves in that they could be raped freely by their masters (regardless of age, gender and martial status) and ones spouse and kids could be sold at will by the owner. If this made you angry and you tried to kill your
More ›