Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
a1k0n
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
211.
▲
by
a1k0n
15y ago
Right here: http://pastebin.com/UM0R6U4u xdaliclock-2.18/X11/digital.c starting at line 1260. He just uses mktime() with a year of 100.
212.
▲
by
a1k0n
15y ago
The fate of all those strange and magical personalities hangs in limbo whether you stop reading close to the end or at the actual end. The last scene reveals one piece of the puzzle but it doesn't really conclude the story.
213.
▲
by
a1k0n
15y ago
ISPs often also have abusive DNSes that redirect unresolved domains to ad-ridden landing pages, which is why I switched.
214.
▲
by
a1k0n
15y ago
Hm, that's possible. A comprehensive search over 4 million pairs would be O(16 trillion) operations, so perhaps they gain something by reusing intermediate steps of the gcd, or something? Good point, I'm not sure. The brute-force solutio
215.
▲
by
a1k0n
15y ago
It was mentioned in the nytimes article, and in retrospect it's fairly obvious: you use the Euclidean algorithm. If you have n1 = p q1 and n2 = p q2 , so that the prime p is shared between them, then gcd( n1 , n2 ) = p . That only ta
216.
▲
by
a1k0n
15y ago
> The fact that it's a whole book makes me nervous. At least 3/4ths of the book beats you over the head with countless examples of the corruption, how it came to be, and why it's not technically illegal. The very last part covers potent
217.
▲
by
a1k0n
15y ago
Beautiful indeed, but one gripe: The mouse roll-over colors aren't sufficiently different from the button-pressed colors.
218.
▲
by
a1k0n
15y ago
These limits are chiefly imposed by the BIOS (int 10h) calls available to a boot sector program (the 512 bytes of machine code you get inside the master boot record of a disk), and require a lot of cleverness to escape from.
219.
▲
by
a1k0n
15y ago
Well, that's mind-bending. I couldn't figure out how/where the actual exploitation of su happened since it seemed to require some careful synchronization, until it hit me: His exploit essentially starts up a process which, when it writes t
220.
▲
by
a1k0n
15y ago
Same with a free Google Apps account -- the domain administrator has to explicitly enable Google+ for your domain, along with a bunch of other dependent services like Picasa, and sees a bunch of warnings in the process. And then, every use
221.
▲
by
a1k0n
15y ago
He isn't necessarily saying that the yellow ones are the ones to target, just that they're easiest to boycott. I am boycotting all of them right now, for instance, purely coincidentally, since I don't buy makeup or watch sports on TV.
222.
▲
by
a1k0n
15y ago
Ah yes, ruby 1.8.7.
223.
▲
by
a1k0n
15y ago
That helps, but it still totally doesn't work for me in iTerm, and I'm not sure why. I basically get sometimes nearly-correct but mostly just messed up rendering.
224.
▲
by
a1k0n
15y ago
Scott Adams had a take on that recently: http://dilbert.com/strips/comic/2011-12-19/
225.
▲
by
a1k0n
15y ago
My Google interview wasn't anything like that. If anything, those could be questions they ask non -engineers, but I don't actually know.
226.
▲
by
a1k0n
15y ago
Sure, but as he concludes at the end, I didn't want to spend too much time on it. My bot was fairly unique in that it used Monte Carlo methods rather than deterministic minimax, and it got the job done without too much effort. I wrote a fo
227.
▲
by
a1k0n
15y ago
I definitely had no intention of starting a tradition there. Haha.
228.
▲
by
a1k0n
15y ago
Isn't it kind of odd that that isn't the default, given that diff=python is already built in?
229.
▲
by
a1k0n
15y ago
I really enjoyed this. I had a project once where I had to pre-render a font to be displayed at various (low) resolutions, and the Microsoft foundry fonts stood out as working exceptionally well at very small sizes. Almost nothing else wa
230.
▲
by
a1k0n
15y ago
They have also finally released the 2006 winning entries for the first time, so be sure to check those out.
231.
▲
by
a1k0n
15y ago
When reddit first launched publicly, there was a new Steve Pavlina article every week on the #1 spot -- polyphasic sleep, passive sources of income, etc. I can't be the only one who remembers this.
232.
▲
by
a1k0n
15y ago
Someone over on reddit.com/r/coding put together a version that graphs the output: http://langtons.atspace.com/audio/waveform.html Enter something like t^(t%127) and the similarities are even more striking. :)
233.
▲
by
a1k0n
15y ago
Some of the really compact formulae are trial-and-error stuff, but it doesn't have to be. You can make an arbitrarily complicated software synthesizer with this thing, and if you just want to compose algorithmic music in a "constructivist"
234.
▲
by
a1k0n
15y ago
Cool. But yours outputs 16-bit signed audio whereas by default /dev/dsp outputs 8kHz 8-bit unsigned audio, so it sounds a little bit different. Also, http://www.bemmu.com/music/index.html beat you to it and http://wurstcaptures.untergr
235.
▲
by
a1k0n
15y ago
I think you'd have to write some kind of CoreAudio stub. But if you just want to play with this stuff, see the Javascript version here: http://wurstcaptures.untergrund.net/music/
236.
▲
Algorithmic symphonies from one line of code
(countercomplex.blogspot.com)
204 points
by
a1k0n
15y ago
|
36 comments
237.
▲
by
a1k0n
15y ago
Yes, but you didn't create the street number 65 with the intention of catching mail from 85 either.
238.
▲
by
a1k0n
15y ago
ironically, Yahoo Mail is now rewriting chunks of their C++ backend in Java, because thats what new grads are taught these days instead of C++. Back in 2003 pretty much all of ymail was in C++ with this crazy templating language that genera
239.
▲
by
a1k0n
15y ago
Oops, didn't see page 2.
240.
▲
by
a1k0n
15y ago
The author of this paper seems to have a reputation for irresponsible disclosure (just google his name) and was called out on it by, you guessed it, Sophos: http://nakedsecurity.sophos.com/2010/06/15/tavis-ormandy-ple...
More ›