Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nemetroid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
104 ms
·
1111.
▲
by
nemetroid
14y ago
Both selectors have the same specificity, so the last one is applied. Add another class and the order won't matter.
1112.
▲
by
nemetroid
14y ago
Here's some of the specificity code from Webkit (right at the top of the file): http://trac.webkit.org/browser/trunk/Source/WebCore/css/CSSS... Basically, selectors are summed together with class selectors given a weight of 0x100, and id
1113.
▲
by
nemetroid
14y ago
The algorithm looks like that "in a number system with a large base". It is arguably not what the spec intended but probably acceptable in exchange for performance.
1114.
▲
by
nemetroid
14y ago
Read the spec instead. It says "in a number system with a large base". I suspect the unspecific wording is on purpose (to allow optimisation for sane conditions), but it should be fairly clear that the intent is that classes cannot override
1115.
▲
by
nemetroid
14y ago
The worst offenders to me are those that begin with a direct greeting ("Hi Jakob,") and are written by a specific person (in a personal tone and signed off by name). Am I supposed to believe that this was genuine (and not autogenerated)? Th
1116.
▲
by
nemetroid
14y ago
It's doing some text parsing on the "pretty text" returned by the Google Maps API instead of using the provided distance in meters, and it's probably failing due to some localisation issue. It strips "," from the text, maybe your locale use
1117.
▲
by
nemetroid
14y ago
Safely refers to the well-being of the person rather than the battery. Puncturing lithium-polymer batteries can be dangerous.
1118.
▲
by
nemetroid
14y ago
A case from the Swedish supreme court, deciding that a shop owner is not allowed to ban a repeat shoplifter from entering his store. [Swedish]: https://lagen.nu/dom/nja/1995s84 An answer from a Swedish "ask a lawyer" site, regarding wheth
1119.
▲
by
nemetroid
15y ago
I think the implementation leakage is the fact that mv is used for renaming files. Windows has "move" and "ren", where the latter works the way the author would like. > REN [drive:][path]filename1 filename2. > Note that you cannot s
1120.
▲
by
nemetroid
15y ago
Nitpick: you mean `if (!a) {r = a} else {r = b}` (or switched blocks).
1121.
▲
by
nemetroid
15y ago
The fact that the subtexts weren't intended doesn't mean they aren't there, though.
1122.
▲
by
nemetroid
15y ago
My Swedish etymological dictionary (Våra Ord) has this on skita (verb form): skita : old Swedish, Icelandic skíta ; common germanic word (Ger. scheissen , Eng. shit ), to an Indo-European root with meaning 'split, separate'
1123.
▲
by
nemetroid
15y ago
When I first learnt HTML in the late nineties, the book I used contained mailto actions on forms, which I remember worked just fine for me in IE (4 or 5). Some searching suggests that IE interfaced with Outlook Express to do this.
1124.
▲
by
nemetroid
15y ago
That is; the same way as before just without the X.
1125.
▲
by
nemetroid
15y ago
The Android "emergency call" button just brings up a dial pad. I can't imagine that causing many pocket dials.
1126.
▲
by
nemetroid
15y ago
> On the other hand, you could be myopic and under-corrected - and so suffer more when the pupils are relaxed (similar to the Night Myopia effect). Can you expand on this? Would myopic individuals be more likely to prefer dark text on l
1127.
▲
by
nemetroid
15y ago
Be aware that those are four separate examples made to showcase features of the language, the simplest of which being just `words`. split.hs: main = interact (show . words) $ echo hello world | runhaskell split.hs
1128.
▲
by
nemetroid
15y ago
You'd still need to have a pretty low voice for anything under 100 Hz, though.
1129.
▲
by
nemetroid
15y ago
It so happens that x is not continuous in 0 - the result is different if you approach 0 from the right, i.e. 0 <-- x
1130.
▲
by
nemetroid
15y ago
Haskell actually goes all the way up to zip7. A generalised zipn function is quite complicated to write in Haskell, due to the type system. Here's a blog post about it: http://paczesiowa.blogspot.com/2010/03/generalized-zipwithn....
1131.
▲
by
nemetroid
15y ago
It's not on their list, but they're not treating it the same way as OmniWeb either (at least they didn't when I signed up in July).
1132.
▲
by
nemetroid
15y ago
Windows BSOD's have "always" (as long as I can remember) been localised. I would guess your assumption is correct, since it's entirely possible to install Windows without English support (I don't use OSX, but a quick search gave the impress
1133.
▲
by
nemetroid
15y ago
Sure, but it's unlikely a thief would.
1134.
▲
by
nemetroid
15y ago
Right, I can agree with you on that. Your example is very fitting though since at least for the WoW expansions, probably every single one of those queuing already had the game preloaded and just needed a product key to upgrade their account
1135.
▲
by
nemetroid
15y ago
I don't think "taking off" is the best way to describe Steam's current position. I don't think there's been any major game in the last few years that required a disc for playing. Perhaps a couple required it for installing, but not many the
1136.
▲
by
nemetroid
16y ago
2:30am here. Equally bad during winter. I've thought about making a contraption that opens the blinds when it's time to wake up, since neither waking up in darkness nor going to sleep in daylight is desirable.