114 karma · joined February 20, 2007
~ # 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.Full text indexing of your history: press C-h and search.
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 - 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 ''.join(chr(i) for i in ll)
100000 loops, best of 3: 7.79 us per loopGoogle chrome has full text search over your history. And yes, I love it.
(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"
Source? I'd really like to read about it.
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. Most of the value is in the comments.
---
About usenet, you could try http://www.astraweb.com/
I bought the once-off 180gb plan. Text isn't even counted. It's going to last me years.
(not sarcasm. There's a need for some lenovo fanboys, too.)
>>> 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 6 6)
It's just that the looping constructs don't introduce a new binding, but modify the existing one. >>> map(apply, [lambda j=i:j for i in range(5)])
[0, 1, 2, 3, 4]
* (mapcar 'funcall (loop for i from 0 to 5 collect (let ((j i)) (lambda () j))))
(0 1 2 3 4 5)> To check for allergy to a specific allergen, [...] Repeat for every allergen.
Hah! If only we could run a binary search.