Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adobriyan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
adobriyan
13y ago
> mempcpy For chain copying? Why not.
62.
▲
by
adobriyan
13y ago
this lgbt rubbish would be the least of your problems in russia
63.
▲
by
adobriyan
13y ago
> What's next, .lawnmower and .leafblower? .foo and .bar would be nice.
64.
▲
by
adobriyan
13y ago
How DARE they do what they want with the code they wrote! this hip young whatever rubbish can not even handle load generated from HN front page, maybe they should not ditch Nginx for now and use it to survive slashdot effect, but then of co
65.
▲
by
adobriyan
13y ago
If professional scientists do genuine and not so genuine mistakes, imagine what programmers (who are generally clueless about statistics and theory of experiment) do with benchmark numbers!
66.
▲
by
adobriyan
13y ago
If 16-year old can mount 300 Gbps DDoS imagine what adult could do!
67.
▲
by
adobriyan
13y ago
Allocation fails with ENOMEM.
68.
▲
by
adobriyan
13y ago
> The current OOM algorithm in Linux sums up the memory usage of a process and all its children. It used to sum until Linux 2.6.36.
69.
▲
by
adobriyan
13y ago
Search for small enough fixed strings works (no runtime assembly though, script just generates C code and compile it with gcc).
70.
▲
by
adobriyan
13y ago
Even the dumbest SSE2 based code will kick the living shit out of any byte-at-a-time super-optimized grep. > we shall make a one gigabyte file with one thousand x's per line, and time grep searching for "yy" (a two charact
71.
▲
by
adobriyan
13y ago
I'm writing the _exactly_ same thing except SSE 4.2 is not mandatory. Called the project 'jitre'. Damn it! P.S. I suggest to add libpcre with and without JIT to the set of benchmarks. RE2 is not exactly the speediest library.
72.
▲
by
adobriyan
13y ago
624 values are enough.
73.
▲
by
adobriyan
13y ago
Week ago, criminal case against vkontakte.ru's founder Pavel Durov was closed stating that he didn't intent to hit road police officer by a car after traffic jam halted his fleeing. He did or he didn't, the rumor now is that
74.
▲
by
adobriyan
14y ago
Non-trivial sexually reproducible organisms could generate unique keys from parents keys! My understanding is that current detection of unauthorized usage of copying enzymes is limited to "if fits or it doesn't fit".
75.
▲
by
adobriyan
14y ago
It'd be thrilling to watch if evolution invents cryptographically signed DNA to prevent malicious viruses, plasmids and what not from using cell's reproduction machinery.
76.
▲
by
adobriyan
14y ago
"After 40 Terabytes, your fingers start to hurt." --David S. Miller
77.
▲
by
adobriyan
14y ago
Lisp reader alone is Turing-complete.
78.
▲
by
adobriyan
14y ago
It is called "special form". http://www.lispworks.com/documentation/HyperSpec/Body/03_aba... IF can't be implemented as a function because of evaluation rules.
79.
▲
by
adobriyan
14y ago
Higgs stuff is not the only event happening at LHC.
80.
▲
by
adobriyan
14y ago
I've personally seen 3 coredumps of one of the SETI executables, so...
81.
▲
by
adobriyan
14y ago
This reminds me of kids buying surrogate books with short description of "Peace and War" and other lengthy literature pieces because they don't want or don't have time to read the original. I personally think the first and the only mandator
82.
▲
by
adobriyan
14y ago
> Plus the above wont even work as is, since $(date) contains spaces. This would be "more direct" part.
83.
▲
by
adobriyan
14y ago
The myth is "Time always moves equally forward everywhere".
84.
▲
by
adobriyan
14y ago
The point is to show that Go is superior to C (which obviously is true but not for the reasons mentioned in the article). Anything counts. Go code is obviously formatted with gofmt. C code is obviously not formatted with "indent -kr". Liber
85.
▲
by
adobriyan
14y ago
It lets you measure a number of cache hits, not the latency.
86.
▲
by
adobriyan
14y ago
Somewhat more systematic document: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6...
87.
▲
by
adobriyan
14y ago
C nested functions were explicitly banned from Linux. What are the others?
88.
▲
by
adobriyan
14y ago
Unicode-compatible cat(1) would strip BOM from all but the first file. Applying non-Unicode compatible utility to Unicode files of course doesn't work.
89.
▲
by
adobriyan
14y ago
This doesn't work well with handling ill-formed sequences. The length is of course known upfront if not of the whole string but at least of the individual small substring.
90.
▲
by
adobriyan
15y ago
[slowly] off_t is wrong for maintaining length because off_t is signed and lengths are fundamentally unsigned. Signed offset is OK for seeking.
More ›