blossoms | 8 years ago | on: AMD Ryzen Threadripper 1950X 16 Core, 32 Thread CPU at 3.4 GHz
blossoms's comments
blossoms | 11 years ago | on: Diagnostic page for Google.com
blossoms | 11 years ago | on: The Pirate Bay is online, waving a pirate flag
blossoms | 11 years ago | on: Anti-Patterns in Python Programming
blossoms | 11 years ago | on: Anti-Patterns in Python Programming
(That sentence I wrote about using hashable types need not apply, sorry!)
If you ran that code, you would get this error:
TypeError: list indices must be integers, not listblossoms | 11 years ago | on: Anti-Patterns in Python Programming
alist = [foo(word) for word in words if word.startswith('a')]
alist = map(foo, filter(lambda word: word.startswith('a'), words))
Which reads better?blossoms | 11 years ago | on: Tor Project Sued
Not to mention Apple sells region-specialized units just like every other major computer retailer.
blossoms | 11 years ago | on: Tor Project Sued
blossoms | 11 years ago | on: Tor Project Sued
blossoms | 12 years ago | on: Copying stdin to stdout in Java
Could you elaborate? I want to understand how to fix it.
EDIT: I really want to know what is wrong with my code. It works. Is it a stylistic concern?
$ dd bs=1m count=10 if=/dev/random of=randomdata
10+0 records in
10+0 records out
10485760 bytes transferred in 0.878533 secs (11935535 bytes/sec)
$ python stdin_to_stdout.py < randomdata | cmp - randomdata
$ echo $?
0
EDIT2: I think I know how you came to the conclusion my code is wrong. Perhaps next time you should read the __entire__ post. Thank you.blossoms | 12 years ago | on: Copying stdin to stdout in Java
$ printf 'binarydata'|awk '{ print }'|hexdump -C
00000000 62 69 6e 61 72 79 64 61 74 61 0a |binarydata.|
0000000bblossoms | 12 years ago | on: Copying stdin to stdout in Java
blossoms | 12 years ago | on: Google's robots.txt
blossoms | 12 years ago | on: Google's robots.txt
Is this a common mistake?
blossoms | 12 years ago | on: Show HN: Anyone with kids? Plan their summer schedule
Why you might ask? Well ask any kid who has been forced off to Bible Camp or some other humiliating childhood summer activity.
Keep up the great work!
blossoms | 12 years ago | on: ClojureScript Koans: Learn ClojureScript from inside your browser
blossoms | 12 years ago | on: Why Putting SSH On Another Port is a Good Idea
blossoms | 12 years ago | on: A negative captcha