Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dzorz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
dzorz
18y ago
I've heard from some pretty reliable sources that a small black hole WAS created, but gravity pulled it towards the Earth core. It simply got away and now they are trying to ignore the incident. Who knows how long it will take it to eat Ear
62.
▲
by
dzorz
18y ago
Actually, I'm a foreigner and I find typing using T9 much faster, especially because there are not as many ambiguous words (when using numeric pad) as in English.
63.
▲
by
dzorz
18y ago
My 1990's Amiga 1200 had 14 MHz and 2-8 MB ram, so you're off by 20-30 years :-)
64.
▲
by
dzorz
18y ago
Are you sure that Python is faster than JavaScript? I'm not saying it isn't, but in a light of recent optimized JavaScript engines who knows?
65.
▲
by
dzorz
18y ago
Is there a recent comparison of cmake, scons and (boost) jam? I personally use cmake and it does its job well, but it has some flaws that aren't being fixed for some time...
66.
▲
by
dzorz
18y ago
+1. This would be the best time to visit Dubrovnik because there won't be as many tourists as in summer.
67.
▲
by
dzorz
18y ago
The benchmark is really crappy. If the language uses O(n+m) concatenation for strings of length n and m, then the total runtime would be O(n^2). That would happen if strings are immutable and no "stringbuilder" is being used. If that specia
68.
▲
by
dzorz
18y ago
OK, I'm not making this up. 7. On a Macbook Pro. Also having problems with greens. I think this is because our displays don't have true 24bit color; they use dithering.
69.
▲
by
dzorz
18y ago
Affero GPL to the rescue: http://www.affero.org/oagpl.html
70.
▲
by
dzorz
18y ago
It doesn't work correctly. Example: print parse_expr("1+2/3/4-5*6") Result: (+ 1 (/ 2 (/ 3 (- 4 (* 5 6)))))
71.
▲
by
dzorz
18y ago
Solution in python that parses infix expression from string and returns a list of tokens in prefix form. def parse(s): for operator in ["+-", "*/"]: depth = 0 for p in xrange(len(s) - 1, -1, -1):
72.
▲
by
dzorz
18y ago
Someone mentioned 2-7 kids per "overseer". Where I went to kindergarden, ratio was 20-30:1. Even later in elementary/high school, the ratio was 25-35 kids per teacher.
73.
▲
by
dzorz
18y ago
Mac users who actually want to be able to read the text: press ctrl+alt+command+8.
74.
▲
by
dzorz
19y ago
What happens when google starts editing wiki pages and filing new bug reports/tickets?
75.
▲
by
dzorz
19y ago
Could you offer a better solution? What would your solution offer that octets do not? Random character access? No, because not a single unicode encoding offers easy random character access (because they are made of possibly several codepoin
76.
▲
by
dzorz
19y ago
И цан’т белиеве ит!
77.
▲
by
dzorz
19y ago
Here is my contrived example: How would you, in your favorite language, implement a program that displays GDP information for every country for years from 1970-2007 using a nice graph. Countries should be selectable using a fancy popup menu
78.
▲
by
dzorz
19y ago
C++ version is a disaster. It is literally two orders of magnitude slower than it should be.
79.
▲
by
dzorz
19y ago
I really don't think that is the reason. Where I grew up 99% schools had two shifts, and sometimes even three shifts. Boys and girls were not separated, although my country is one of those where >80% peple are christian. Our school day
80.
▲
by
dzorz
19y ago
In most of the cases I've heard of it's more like 20% out of 120%. Some managers like it to be very formal, so you have to dedicate a whole day in the week to your 20% work, which is (almost) impossible to do if you are working on a product
81.
▲
by
dzorz
19y ago
You should take a look at http://videolectures.net which is a website dedicated to scientific content. More specifically, they go to different conferences (mostly machine learning related), bring their own camera crew, and later synchroni
82.
▲
by
dzorz
19y ago
Me too :-)
83.
▲
by
dzorz
19y ago
Little (useless) trivia: if we assume that a startup has 10% chance of succeeding (regardless of one's experience/whatever), then there is a 52% chance that your 7th (or maybe earlier) startup will succeed.
84.
▲
by
dzorz
19y ago
Because C is (mostly) portable, and assembler is not? Lately it became difficult to match C even using hand written assembly. Intel's C compiler will generate auto-vectorized auto-parallelized code (not as good as carefully written assemb
85.
▲
by
dzorz
19y ago
And if you don't need string constant, but just a string, then you can use the following (I'm not sure about portability though): #include <stdio.h> #define VERSION_INT 3209 #if VERSION_INT < 100 #error VERSI
86.
▲
by
dzorz
19y ago
> And, closer to something I've needed more than once, how do you give your program an int and string version number with only one thing to modify? This is not very elegant, and you have to split your version number to major and minor p
87.
▲
by
dzorz
19y ago
It still doesn't beat plain old com files in DOS/Windows. Take a look at site http://www.256b.com . There are a bunch of 256 bytes programs that do (visually) amazing stuff. My favourite is called lattice: http://www.256b.com/download/256