Live data from Hacker News

Programming Notes for Professionals books

books.goalkicker.com

61–65 of 65 posts

Re: Programming Notes for Professionals books

#63

You can grab all the PDFs with wget: wget --random-wait -R ".html,.png" -r goalkicker.com Or download the archive directly (Not PDF, data is in JSON format): https://archive.org/details/documentation-dump.7z

Alternatively you can download all from http://books.goalkicker.com/all.zip :)

Re: Programming Notes for Professionals books

#64

You can grab all the PDFs with wget: wget --random-wait -R ".html,.png" -r goalkicker.com Or download the archive directly (Not PDF, data is in JSON format): https://archive.org/details/documentation-dump.7z

You probably want a "--wait=?" or "-w ?" on there too, to set a non-zero wait time. The --random-wait flag just tells it to vary the wait time between 0.5 and 1.5 times the wait given by --wait.

Without --wait, the wait time is zero and either --random-wait is ignored or --random-wait is applied to 0 which has the same effect.

I was a little surprised by this, actually, when I tested it. I would have expected --random-wait with no --wait to either give a warning that you had included a useless option, or to have some useful non-zero default that it uses.

Re: Programming Notes for Professionals books

#65

Not impressed. I downloaded the python book, chose a section at random (chapter 15: dictionaries), and found an error on the first thing I looked at. The book says that: d=dict(**otherDict) only works if otherDict's keys are strings, but in reality it also works if the keys are integers: >>> dict(**{1:2,3:4}) {1: 2, 3: 4}

Somewhat unrelated, but hte first concern that popped into my head is how the information contained ties to specific version of its subject?

Like, the Python book looks awesome but I have to use Python 2.7 day-to-day (don't ask). Are Python 2/3 stuff clearly marked?

Post reply on HN