Better HN
topnewbestaskshowjobs
Log inSign up

stillinbeta

12 karma · joined Dec 20, 2010 (15y ago) · 9 submissions

Submissions

comment 13y ago · link · parent

In most circumstances for (key, val) in data won't work, as the default dictionary iterable only contains the keys. You want for key, val in data.items():

comment 14y ago · link · parent

Some of the stuff in there is pretty spectacular, like this qt-brainfuck: https://github.com/sea-kg/seakgChrysocyonParser/compare/0988...

comment 14y ago · link · parent

Nine times out of ten I'd say you could probably just install from the AUR. If not I doubt you could do so programatically, because the names might not be the same.

comment 14y ago · link · parent

I can see the ship for a second, then it explodes and disappears. Firefox 12, Linux, Intel Mesa drivers

comment 14y ago · link · parent

It seems odd that it only returns a province/state when just the area code provides more information than that. Example: any (647) or (416) area code will always be from Toronto, but numbers for both just return ONTARIO.

comment 14y ago · link · parent

I have 5+ years experience with Erlang, a language I know literally not a single line of. It's from a repo (that I forked) that is half/half Erlang, Python.

comment 15y ago · link · parent

/dev/random will block while waiting to collect entropy from the system. /dev/urandom will be satisfied with pseudorandom numbers. That's fine for many applications (e.g. a file filled with garbage) but not acceptable for things like cryptography.

comment 15y ago · link · parent

The kernel is literally a day older than I am, and I use it every day. I wish I'd accomplished nearly as much as it had.

comment 15y ago · link · parent

Programming is fun! Why else would I be here?