Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaway283719
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
throwaway283719
12y ago
There's an undercurrent of meaning over at Nanex that says that when these unusual-looking patterns appear, they are because some bad actor is doing something naughty, like manipulating the market. The reality is that most of these pat
32.
▲
by
throwaway283719
12y ago
Can you explain how this makes every function total? For example, take the `head` function which is not total head :: [a] -> a head (x:xs) = x head [] = undefined How can you make this total using `Partial`? I can ge
33.
▲
by
throwaway283719
12y ago
I think you might have a bug -- return :: a -> State a get :: State Int set :: Int -> State Int -- should be Int -> State () surely?
34.
▲
by
throwaway283719
12y ago
This ignores second order effects - increasing the minimum wage increases the amount of disposable income people have superlinearly, which leads to more trade, which creates more employment opportunities.
35.
▲
by
throwaway283719
12y ago
Interestingly, within the top 100 there is a weak positive correlation between the total karma, and the average karma per comment, implying that the people at the top of the leaderboard are actually posting quality content, and not just mak
36.
▲
by
throwaway283719
12y ago
There were around 480,000 ticks in my sample - who do you believe? ;) The difference is probably in what is defined as a "tick" for the purposes of computing the stats. If you are using traded prices as opposed to quotes, for exam
37.
▲
by
throwaway283719
12y ago
I should point out that it's not at all surprising that the "top 4" rats performed very well. If you got a couple of hundred people, animals, or random number generators to trade using any set of rules you like, and then look
38.
▲
by
throwaway283719
12y ago
It's actually the other way around. For most stocks, if the last tick was upwards, the next tick is more likely to be downwards (where a "tick" is any time the best bid or ask moves, and "price movement" means the
39.
▲
by
throwaway283719
12y ago
The logistic map x[n] = r * x[n-1] * (1 - x[n-1]) has chaotic behaviour for most values of `r` above 3.56995 so the author just needed to choose any value 3.56995 < r < 4. The "most" in that sentence is interesting. F
40.
▲
by
throwaway283719
12y ago
That's a good point, and I've now corrected for that, but it makes very little difference to the top line result (that the polls underestimated the support for "no" by a large margin). The proportion of undecided voters
41.
▲
by
throwaway283719
12y ago
I think it's interesting to talk about the failure of polls to predict the magnitude of the result. Here are the results of the final polls from six major polling organizations, taken 1-3 days before the vote Organization Yes
42.
▲
by
throwaway283719
12y ago
Yeah, I should have written "computational context" not "effects".
43.
▲
by
throwaway283719
12y ago
The whole point about monads is that they provide a uniform interface for working with values that carry some extra context. The genericity of the interface is nice, in that it allows you to write generic monad combinators, but they are onl
44.
▲
by
throwaway283719
12y ago
I think the majority opinion is that there is exactly one unfabricated religion.
45.
▲
by
throwaway283719
12y ago
Yes, if that's revenue rather than profits.
46.
▲
by
throwaway283719
12y ago
To be clear for non-Londoners, route 29 has one of the highest crime rates amongst all London bus routes, especially late at night. I'm not sure if it's particularly bad around Camden, although there is probably a higher than aver
47.
▲
by
throwaway283719
12y ago
You might get the impression that the author studied engineering (" I studied engineering, not English... ") or perhaps computer science (" ...graduated at the top of my class in computer science... ") whereas a quick lo
48.
▲
by
throwaway283719
12y ago
Yes, that is why the sentence begins with the word "if".
49.
▲
by
throwaway283719
12y ago
It's actually not that hard. I very rarely see advertising, and I didn't even make a conscious effort to do it. I don't have a TV, I don't listen to the radio, I don't read magazines or newspapers, I pay a subscript
50.
▲
by
throwaway283719
12y ago
I didn't mention anything about the stock market. I said if you can invest somewhere with a return greater than 3.5% after tax . Implicit in that was that the investment is risk-free i.e. it's a government bond or something. But
51.
▲
by
throwaway283719
12y ago
Yeah, I broadly agree that all of these are valid things to consider, particularly if you are quite risk averse. I take issue with (4) because if you have a mortgage you are already perfectly hedged against future housing costs. If you have
52.
▲
by
throwaway283719
12y ago
There can be totally valid reasons for not getting rid of your mortgage even if you have the opportunity - if you have something better to do with the money. If you are paying 3.5% on your mortgage but you can invest somewhere with a return
53.
▲
by
throwaway283719
12y ago
> All speculatively, knowing that their type of oil production is not profitable at all if oil once again goes below $70 a barrel, which could happen overnight (see Sept-Nov 2008)? Is there an obvious reason they couldn't sell their
54.
▲
by
throwaway283719
12y ago
Not true. It might be a reason but it's not the only reason, and certainly not the primary reason. At the moment Burger King pays tax at a rate of 35% or thereabouts, on all of its income, no matter where it is generated. About hal
55.
▲
by
throwaway283719
12y ago
Expressing Maxwell's equations using the six-component electromagnetic tensor F, they become dF = μJ d*F = 0 where μ is the magnetic permeability of the vacuum and J is the electromagnetic 4-current. The operator 'd'
56.
▲
by
throwaway283719
12y ago
Why guess, when you could get some data? In the UK, the per-capita spend on healthcare is $3480, of which $2919 is paid by the government (and so raised via taxes) and $561 is private (via health insurance or direct payment). In the US, the
57.
▲
by
throwaway283719
12y ago
It is, however, more than $0 (and presumably somewhat galling when you are already paying for health insurance.)
58.
▲
by
throwaway283719
12y ago
I knew it was by Conal before I got to the end, as soon as I saw the phrase "denotational semantics" ;) I should really learn what that means one day...
59.
▲
by
throwaway283719
12y ago
Sounds excellent.
60.
▲
by
throwaway283719
12y ago
Not true. Consider the following snippet - a = 10 b = function() { return expensive_computation(a) } Now, even if you can call b without parens, it still has to redo the expensive calculation every time you access it (because a
More ›