Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pherq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
pherq
10y ago
That's well within what they were making in donations per month prior to using Patreon, though. They already had the support, they just added another interface.
32.
▲
by
pherq
10y ago
No, it's just a property of ASCII that (ctrl [) = (0x9f & 0x5b) = 0x1b = esc.
33.
▲
by
pherq
10y ago
When asked to choose between immigration control and single market access, more people wanted to retain single market at the cost of immigration controls than the converse. Source: http://www.independent.co.uk/news/uk&#
34.
▲
by
pherq
10y ago
Scheme fits the common definition of a functional language, even if it's not pure in the same way as Haskell. Especially since idiomatic Scheme uses pure functions and recursion (as opposed to idiomatic CL which is a lot more imperativ
35.
▲
by
pherq
10y ago
A mile is no longer anything resembling 1000 paces, given that a standard imperial pace is 5 feet, rather than 5'3" and some change. Besides, it takes about 10 minutes of walking to go a kilometer. You don't count paces, do
36.
▲
by
pherq
10y ago
It's slightly more confusing for young people over here -- we mostly deal in metric, but we still do have pints of beer (from the tap -- the bottles are 330 or 500 ml), miles, and we measure ourselves in feet, inches, and stone (althou
37.
▲
by
pherq
10y ago
It's part of an old joke (crops up in Yes Minister, may go back further): in Germany, everything is prohibited except that which is allowed; in the UK, everything is allowed except that which is prohibited; in Russia, everything is pr
38.
▲
by
pherq
10y ago
This entire (sub)thread was started about how companies shouldn't be the ones blamed because legislators make it sweet for them to do so, why should the legislators bought by the companies foot all of the blame?
39.
▲
by
pherq
10y ago
HN works fine without javascript. The only change is that voting requires a page load. Most sites (especially ones that are basically just a bunch of text with junk around it) work fine without javascript, and it's easy to turn on fo
40.
▲
by
pherq
10y ago
My fairly current ASUS notebook has that keyboard design, and I think it's fairly standard for their current 13" keyboards, at least.
41.
▲
by
pherq
10y ago
Assuming you consider the dimensions/axes/whatever of the 2d space to be indexed by reals (which is conventional), then yes one can construct a bijection: - normalise x and y coordinates in the shape into the interval (0, 1)
42.
▲
by
pherq
10y ago
The existence of a bijection between two sets is what "same size" means in set theory. Yes, there are non-prime integers, but you can establish a bijection between the two, so their cardinalities are equal (both have a cardinalit
43.
▲
by
pherq
11y ago
It also usually seems to be slower to start (at least in my experience) -- I tend to not like to use it except for resolving broken packages (since it's the nicest way to do that).
44.
▲
by
pherq
11y ago
apt-get source works fine without super-user privileges, so it isn't just that some have to be run as root.
45.
▲
by
pherq
11y ago
On Debian these days, they provide an executable named apt that does all the common stuff in one place (install, search, list (mimicks dpkg), remove, show, etc.).
46.
▲
by
pherq
11y ago
Speaking as one, I don't avoid meat because I oppose in all cases the killing of animals for human consumption. I'm a pescetarian because I think the environmental impact of industrial agriculture, both in emissions and in land a
47.
▲
by
pherq
11y ago
With a decent compiler (I think GHC is up to the job, but I've not checked), stream fusion should ensure that the intermediate list never actually exists.
48.
▲
by
pherq
11y ago
They're covered early on in Bad Science, the short answer is that they do nothing except put you at risk of burns from wax, etc. You can test this fairly easily by putting one above a dusty surface and noting that it wont disturbe the
49.
▲
by
pherq
11y ago
Even without networking, you can usually break anonymity of electronic voting machines through Van Eck phreaking. This probably wont allow you to alter the votes, though.
50.
▲
by
pherq
11y ago
That has nothing to do with the bitrate -- the fact that you're getting a different unit on your 192 should be in an indication (bits or bits/frame, as opposed to kilobits/second). CDs store audio as 16 bit samples, with 4410
51.
▲
by
pherq
11y ago
Better off in every way except for the whole choking in smog because you've essentially abolished emission regulations.
52.
▲
by
pherq
11y ago
The link is http://www.gizmodo.co.uk/2015/09/ashley-madison-code-shows-m... (which doesn't exactly paint Ashley Madison in glowing terms, despite the number of bots being lower than originally thought). While
53.
▲
by
pherq
11y ago
Just because you mention testosterone doesn't make your explanation scientific. Given that the article in question brings up that men not crying is a relatively recent thing, and seems to be largely cultural, assuming that it must be
54.
▲
by
pherq
11y ago
The similarities between Ruby and Smalltalk basically consist of them sharing the notion that everything is an object, every operation is (or, in the case of Ruby, can be) a message sent to an object. Ruby has some control structures like
55.
▲
by
pherq
11y ago
Assuming the sword attributed to him is actually a war sword (not a ceremonial one), and noting that he was apparently superhumanly strong and large... As for the disappearance, I think it had more to do with improving firearms making heavy
56.
▲
by
pherq
11y ago
Zweihanders/montantes/whatever you wish to call them were extremely effective and not nearly as heavy as you might think. In general, even the largest swords didn't weigh much more than about three kilograms (and thus were l
57.
▲
by
pherq
11y ago
null IS a type which means "undefined/error to use this." It causes runtime errors, rather than compile time ones. It also can move the place an error is detected to elsewhere (since passing null around and sticking it pla
58.
▲
by
pherq
11y ago
There's nothing stopping a compiler from implementing Option<T> as a possibly-null reference when T is a pointer type, which would give you the same efficiency as having nulls in the language while making unchecked usage easy to
59.
▲
by
pherq
11y ago
Assuming basic knowledge of Haskell, there's not much between them (one function definition that takes all of two lines). Both of them clearly show what the function is doing in an operational sense, but neither give any high-level ind
60.
▲
by
pherq
11y ago
pairwise . reverse . map (+1) . flatten . replicate 2 . map (*3) $ input With all the functions being pretty standard (pairwise is my own name for subdivideListEtc, but it seems like a terse name that still explains wha
More ›