Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TimonKnigge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
TimonKnigge
7y ago
`all(x + y) = all(x) and all(y)` even when `x, y` can be the empty list.
32.
▲
by
TimonKnigge
7y ago
Your 'approximation' is doing a lot of the work here.. Since you have a binomial distribution why not just use it directly? (1 - 2e-6)^(3e6) ≈ 0.002 So about 0.2%. Still highly unlikely but orders of magnitude more likely than wha
33.
▲
by
TimonKnigge
7y ago
see https://twitter.com/trvrb/status/1223337991168380928
34.
▲
by
TimonKnigge
7y ago
Someone didn't read the article :-) > While I was working on this story, journalists at BBC News Russia confirmed the first known case of a murder being ordered on the dark web and successfully carried out by hired assassins.
35.
▲
by
TimonKnigge
8y ago
Do you mean 'approaches infinity'? Because at n=0 the expression is maximal :-) But the point is not to drop small terms at the extremes - it is still an infinite sum. The point is to approximate sections of the function by rectan
36.
▲
by
TimonKnigge
8y ago
According to this [0] calculator, $150K in 1965 is nearly exactly $12M in todays dollars (not sure how to inflation-adjust euros back into the sixties :-) ). [0] https://www.usinflationcalculator.com/
37.
▲
by
TimonKnigge
8y ago
Tangentially, the author now prefers applied mathematics to economics [0]. [0] https://twitter.com/Noahpinion/status/1015988356184866817
38.
▲
What poisons are in your body?
(nytimes.com)
2 points
by
TimonKnigge
9y ago
|
1 comments
39.
▲
by
TimonKnigge
9y ago
> surround yourself with as much building as you can (the middle floor of a high rise, or a basement three stories deep, etc.) Why would the middle floor of a high rise be better than its ground floor?
40.
▲
by
TimonKnigge
9y ago
> as the point of dragnet surveillance is using competitor nations' secrets for economic advantage, not for fighting terrorism. Source / examples? Seems like a rather extraordinary claim.
41.
▲
by
TimonKnigge
9y ago
I get no results following your link.
42.
▲
by
TimonKnigge
9y ago
Do they? These black holes would have masses of some multiple of ten times the mass of the sun, which doesn't seem terribly heavy (relatively). How does this explain the Fermi paradox?
43.
▲
by
TimonKnigge
9y ago
Not to stoke the fire but she's on this [1] page with Flores as advisor. [1] http://arthistory.rutgers.edu/menu-iii/current-students/curr...
44.
▲
by
TimonKnigge
9y ago
Also preference falsification. https://en.wikipedia.org/wiki/Preference_falsification
45.
▲
by
TimonKnigge
9y ago
Or the nocturnal bird.
46.
▲
by
TimonKnigge
9y ago
> Fines are paid into the Community budget and therefore help to finance the European Union and reduce the tax burden on individuals. https://twitter.com/EU_Commission/status/879647936686305281
47.
▲
Profits without prosperity (2014)
(hbr.org)
2 points
by
TimonKnigge
10y ago
|
0 comments
48.
▲
by
TimonKnigge
10y ago
Nothing better than a bit of internet drama :)
49.
▲
by
TimonKnigge
10y ago
Because then 'least' is on the left, and you work from left to right, in the same way that you read from left to right.
50.
▲
by
TimonKnigge
10y ago
Not OP, but I guess it's easier because you work from left to right. At least, I find subtraction/addition easier to do from least to most significant digit, since the results of the less significant digits affect the more signifi
51.
▲
by
TimonKnigge
10y ago
> First, the axiom of voice requires that you have a countable number of sets that you are choosing elements from, but there are undoubtably many of the equivalence classes that he described [0]. No it does not? The axiom of countable ch
52.
▲
by
TimonKnigge
10y ago
Article 5 paragraph 2 in your link more explicitely says this as well.
53.
▲
by
TimonKnigge
10y ago
Sorry, but do you have a source for this? The EU only sets a maximum level (50 mg/l apparently [1]), but member states are free to set lower maximums. [1] http://www.eea.europa.eu/data-and-maps/indicators/nitr
54.
▲
by
TimonKnigge
10y ago
The pseudocode + example given for the initial implementation of 'insert' doesn't seem right, no 'below' connection is made between the two '13' nodes. The way to fix this would be to let 'insert'
55.
▲
by
TimonKnigge
10y ago
Shouldn't they raise their prices by 25% to compensate for that though?
56.
▲
by
TimonKnigge
10y ago
Depending on how the pivot is picked, Quicksort can actually be implemented in O(n lg n) worst-case time. EDIT: I was going to link a proof for this but it's surprisingly hard to find. IIRC, the idea is to use the median of medians alg
57.
▲
by
TimonKnigge
10y ago
As someone living in the Netherlands, let me place a few sidenotes next to the section about it: - The 88% poll appears to be conducted amongst (online) Telegraaf readers (here is an online version: http://www.telegraaf.nl/w
58.
▲
by
TimonKnigge
10y ago
Yes there is! Right here: It's actually really simple. We'll write a and b in binary notation, for example: a = 1001101 b = 0100111 Now what happens when you add two numbers in binary? We essentially add the numbers in ea
59.
▲
by
TimonKnigge
10y ago
I like this one better: (min&max) + ((min^max) >> 1) #include <iostream> using namespace std; int avg(int a, int b) { return (a&b) + ((a^b)>>1); } int main() { cout << avg(int(2e9), int(