Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quchen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
331.
▲
by
quchen
13y ago
For the interested, the easieat way of generating random points on a circle is drawing (x,y) component-wise from a normal distribution and then normalizing the vector. (And two independent Gaussian variables can be easily sampled using the
332.
▲
by
quchen
13y ago
Funny, 3-13 are missing here. > cal sep 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Edit: Oh, colour me surprised. https://en.wikipedia
333.
▲
by
quchen
13y ago
Not very friendly (well - that's relative), but it's pretty clear and provides a code reference that any developer can understand and check.
334.
▲
Torvalds' response to whether RdRand could be compromised in the Linux kernel
(change.org)
75 points
by
quchen
13y ago
|
106 comments
335.
▲
by
quchen
13y ago
"Nine women can't make a baby in one month." https://en.wikipedia.org/wiki/Brooks%27s_law
336.
▲
by
quchen
13y ago
Here is a website with videos of straight line linkages: http://web.mat.bham.ac.uk/C.J.Sangwin/howroundcom/straightli...
337.
▲
How to draw a straight line
(kmoddl.library.cornell.edu)
4 points
by
quchen
13y ago
|
1 comments
338.
▲
by
quchen
13y ago
Why concatenate the strings at all instead of printing them piece by piece? Don't flush in between and it'll land in the same buffer. (Even if you flushed after every string, if output is "lightning fast", that shouldn&#
339.
▲
by
quchen
13y ago
While I agree with the author's ideals, I think the comparison between the personal computer with a personal home is not a very good one: computers are not local anymore, they are (very) connected to a global network most of the time;
340.
▲
by
quchen
13y ago
A 60 kg cargo bike is as much "sort of" of a bicycle as a truck is "sort of" a car.
341.
▲
by
quchen
13y ago
6000 Euros is on the very high end of bicycles, but I wouldn't say absurdly high. While upper-end mountainbikes cost around 3000, high-end gets you to the 6000 price range. Also consider the price of a decent pedelec, which is already
342.
▲
by
quchen
13y ago
At a weight of 49 kg, this is way too heavy to be considered "sort of a bicycle". Pedelecs assist the rider, whereas here it's necessary to have a charged battery, or you'll feel like there's another person riding
343.
▲
by
quchen
13y ago
I like how the Paypal link actually works.
344.
▲
by
quchen
13y ago
It's the standard change-background-while-scrolling website that seems to become fashionable. Am I missing something about this post?
345.
▲
by
quchen
13y ago
Half of them look like C with one additional keyword!
346.
▲
by
quchen
13y ago
"I just quit my job at AwesomeCompany"
347.
▲
by
quchen
13y ago
Before this thread starts to become a rant about Gnome developers again, I'd like to mention that I find middle-mouse pasting annoying and I would appreciate an option to disable it in X. What the Gnome devs did was just inverting th
348.
▲
by
quchen
13y ago
The only sort of data you can trust is the data itself. Providing the mean of data is providing a sum value a person thinks is useful to convey the shape of the data, and the mean in particular is unsuitable at conveying shape on its own. W
349.
▲
by
quchen
13y ago
What are the distributions of the salaries among one language? Mean values alone are completely useless, give us some information about how you found the salaries out, what their standard deviations are etc. I don't want to imply malic
350.
▲
by
quchen
13y ago
Here are some links to recordings of the winners: PC 4k: Wishful Twisting by Fnuque + Loonies + TBC http://youtu.be/bPYWIAu24XQ PC 64k: 905509 by stroboholics http://youtu.be/tpOQ72ZzKXA PC demo: Calcifer b
351.
▲
Evoke 2013 is over and delivered some pretty impressive demos
(evoke.eu)
1 points
by
quchen
13y ago
|
1 comments
352.
▲
by
quchen
13y ago
Note how he didn't get the bug bounty: after attempting to tell Facebook twice and got "nobug, wontfix" answers, his third (and successful) notice got answered with "We are unfortunately not able to pay you for this vuln
353.
▲
Bug report on Zuckerberg's timeline, or: how to make one heard properly
(khalil-sh.blogspot.de)
1 points
by
quchen
13y ago
|
1 comments
354.
▲
by
quchen
13y ago
The most important question: can you, the provider, see/decrypt any data?
355.
▲
by
quchen
13y ago
I find it good practice to comment code for that other guy that is me-in-two-months. I just rediscovered some semi-old code and boy am I happy about the comments.
356.
▲
by
quchen
13y ago
I was about to ask "why", but the Readme on the Github page explains it. Spoiler: 1. saving bytes in the Vim highlighting file, 2. because
357.
▲
by
quchen
13y ago
Well, laziness has especially nasty pitfalls sometimes.
358.
▲
by
quchen
13y ago
Installing GHC manually is not hard, the website even provides pre-compiled binaries. I started doing it for different reasons, but was surprised how painless the process was. After doing it multiple times, I wrote together a file that guid
359.
▲
by
quchen
13y ago
The file also states that "Mio will be released as part of GHC 7.8.1", which is scheduled around October if I recall correctly. Neat
360.
▲
by
quchen
13y ago
> The type of the parameter is IO String. No, the type of the parameter is String. IO String is the type of the expression that gets that parameter when executed. There's a popular quote by shachaf, "getLine :: IO String contai
More ›