Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petdog
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
petdog
7y ago
I contribute to https://www.coolearth.org/ which seems to be one of the best options following this approach
2.
▲
by
petdog
15y ago
This is a really great tool. If it could take the first .csearchindex going up the tree as the current index (somewhat like git does with .git dirs), it could easily top rgrep/ack for searching into projects. (just add line numbers and some
3.
▲
by
petdog
15y ago
I found all of them very easy except "question 6", at which I'm still failing hard to visualize the difference, and is the only one I got wrong. (I had to choose a random one)
4.
▲
by
petdog
15y ago
Well, I can tell you that eating beans (pretty much required for a vegan?) and cabbage hurts like hell. In fact anything that is a little too gassy. Eating a lot less tomatoes helps too. Milk is annoying, but not cheese, and especially not
5.
▲
by
petdog
15y ago
~ # cat over.c main () { int i = 0x00ffffff; while (i > 0) i--; } ~ # tcc over.c -o out ~ # time ./out real 0m 13.58s user 0m 13.57s sys 0m 0.01s I love this stuff.
6.
▲
by
petdog
15y ago
M-x ansi-term does colors, too
7.
▲
by
petdog
16y ago
He should do a reddit AMA
8.
▲
by
petdog
16y ago
My experience with siege is that it actually measures siege's terrible performance.
9.
▲
by
petdog
16y ago
jpegoptim --strip-all, also optimizes for size without degrading quality.
10.
▲
by
petdog
16y ago
Now, maybe I'm to blame here, using the nightly build of chromium, but webkit is a walking memory leak. Just for a comparison, I have the same amount of tabs on firefox and chromium and firefox is using 500mb of ram, while chromium is using
11.
▲
by
petdog
16y ago
Awww, I had the same idea last year, while taking the daily train, but I never really believed in it. Actually I was also hoping to have iphones regularly advertise the owner's page on which to anonymously comment.
12.
▲
by
petdog
16y ago
It looks like you forgot to call the function in 'simple_catch'. Interestingly, if you do, manual_with_catch will actually be faster in the failing case. (A try:fn() finally: return True beats everything else in the failing case)
13.
▲
by
petdog
16y ago
>For what? I don't know. Full text indexing of your history: press C-h and search.
14.
▲
by
petdog
16y ago
Except that I find myself adding tons of parens to my haskell to be able to read it. Lisp may have spoiled me.
15.
▲
by
petdog
16y ago
Poor man's skype: sender arecord -f cd -c 2 | lame -b128 - - | netcat -u your-ip 6881 | mpg123 - receiver arecord -f cd -c 2 | lame -b128 - - | netcat -u -l 6881 | mpg123 -
16.
▲
by
petdog
16y ago
Actually, map is still faster: In [24]: timeit ''.join(map(chr, ll)) 100000 loops, best of 3: 3.91 us per loop In [25]: timeit ''.join([chr(i) for i in ll]) 100000 loops, best of 3: 5.85 us per loop In [26]: timeit '
17.
▲
by
petdog
16y ago
Other than ssh tunneling, I tried http://vyprvpn.com when it was offered together with giganews, and it was pretty fast, if a bit costly.
18.
▲
by
petdog
16y ago
Could you expand on the tuning of tcp slow start? Are you referring to net.ipv4.tcp_slow_start_after_idle?
19.
▲
by
petdog
16y ago
Anything. The The The This all change contents desk. fridge. loose makes me my my of on over page. something. sort strewn this to want words
20.
▲
by
petdog
16y ago
>That said, if you're indexing EVERYTHING I browse to, I think this is actually a really killer app. Google chrome has full text search over your history. And yes, I love it.
21.
▲
by
petdog
16y ago
So by "hidden features" they mean "can be found in the first pages of any tutorial" (Ok, I didn't know about re.DEBUG) EDIT: I'm not claiming this link is worthless. But I'd call it "great features of python" or simply "features of python"
22.
▲
by
petdog
16y ago
Seriously? You must enjoy your O(n^2).
23.
▲
by
petdog
16y ago
> there was an interesting test that was run many years ago Source? I'd really like to read about it.
24.
▲
by
petdog
16y ago
> /r/pics? /r/askreddit? /r/iama? What? /r/iama is one of the best things that happened to reddit. Sure, most of the submissions are shit, but some are golden. > What does reddit offer me that I can't get elsewhere The community. Mo
25.
▲
by
petdog
16y ago
I like how this is a mantra that is repeated half a dozen times every two submissions.
26.
▲
by
petdog
16y ago
Yeah. In other news, thinkpads are the best laptops ever. (not sarcasm. There's a need for some lenovo fanboys, too.)
27.
▲
by
petdog
16y ago
It's not broken at all, and not in any way peculiar to javascript. >>> map(apply, [lambda:i for i in range(5)]) [4, 4, 4, 4, 4] * (mapcar 'funcall (loop for i from 0 to 5 collect (lambda () i))) (6 6 6 6
28.
▲
by
petdog
16y ago
Some funded sbcl work would be good.
29.
▲
by
petdog
16y ago
import does just that, if you drop the "-window root" argument
30.
▲
by
petdog
16y ago
> However, electrophoresis can only sort them by weight. > To check for allergy to a specific allergen, [...] Repeat for every allergen. Hah! If only we could run a binary search.
More ›