r/learnprogramming • • Sep 30 '16

O'Reilly Offering Programming eBooks for Free (Direct Links Included)

Started on this post on /r/Python wherein /u/sudoes posted a link to the Homepage. I then extracted all the direct links.

Direct Links:
Modern Java EE Design Patterns - Building Scalable Architecture for Sustainable Enterprise Development
epub
mobi
pdf

Object-Oriented vs. Functional Programming - Bridging the Divide Between Opposing Paradigms
epub
mobi
pdf

Java: The Legend - Past, Present, and Future
epub
mobi
pdf

Introducing Java 8 - A Quick-Start Guide to Lambdas and Streams
epub
mobi
pdf

A Whirlwind Tour of Python
epub
mobi
pdf

20 Python Libraries You Aren't Using (But Should)
epub
mobi
pdf

Hadoop with Python
epub
mobi
pdf

How to Make Mistakes in Python
epub
mobi
pdf

Functional Programming in Python
epub
mobi
pdf

Python in Education
epub
mobi
pdf

Picking a Python Version: A Manifesto
epub
mobi
pdf

Trends Shaping the London Tech Scene
epub
mobi
pdf

2016 European Software Development Salary Survey
pdf

2016 Software Development Salary Survey
pdf

Why Rust?
epub
mobi
pdf

C++ Today
epub
mobi
pdf

Analyzing and Visualizing Data with F#
epub
mobi
pdf

RxJava for Android App Development
epub
mobi
pdf

Swift Pocket Reference
epub
mobi
pdf

2.2k Upvotes

164 comments sorted by

244

u/ShPavel Sep 30 '16

all links from this thread:

wget http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.epub
wget http://www.oreilly.com/programming/free/files/object-oriented-vs-functional-programming.epub
wget http://www.oreilly.com/programming/free/files/java-the-legend.epub
wget http://www.oreilly.com/programming/free/files/introducing-java-8.epub
wget http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.epub
wget http://www.oreilly.com/programming/free/files/20-python-libraries-you-arent-using-but-should.epub
wget http://www.oreilly.com/programming/free/files/hadoop-with-python.epub
wget http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.epub
wget http://www.oreilly.com/programming/free/files/functional-programming-python.epub
wget http://www.oreilly.com/programming/free/files/python-in-education.epub
wget http://www.oreilly.com/programming/free/files/from-future-import-python.epub
wget http://www.oreilly.com/programming/free/files/trends-shaping-the-london-tech-scene.epub
wget http://www.oreilly.com/programming/free/files/why-rust.epub
wget http://www.oreilly.com/programming/free/files/c++-today.epub
wget http://www.oreilly.com/programming/free/files/analyzing-visualizing-data-f-sharp.epub
wget http://www.oreilly.com/programming/free/files/rxjava-for-android-app-development.epub
wget http://www.oreilly.com/programming/free/files/swift-pocket-reference.epub
wget http://www.oreilly.com/programming/free/files/ten-steps-to-linux-survival.epub
wget http://www.oreilly.com/programming/free/files/open-by-design.epub
wget http://www.oreilly.com/programming/free/files/getting-started-with-innersource.epub
wget http://www.oreilly.com/programming/free/files/microservices-antipatterns-and-pitfalls.epub
wget http://www.oreilly.com/programming/free/files/microservices-vs-service-oriented-architecture.epub
wget http://www.oreilly.com/programming/free/files/software-architecture-patterns.epub
wget http://www.oreilly.com/programming/free/files/migrating-cloud-native-application-architectures.epub
wget http://www.oreilly.com/programming/free/files/reactive-microservices-architecture-orm.epub
wget http://www.oreilly.com/programming/free/files/engineering-managers-guide-design-patterns.epub
wget http://www.oreilly.com/programming/free/files/azure-for-developers.epub

wget http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.mobi
wget http://www.oreilly.com/programming/free/files/object-oriented-vs-functional-programming.mobi
wget http://www.oreilly.com/programming/free/files/java-the-legend.mobi
wget http://www.oreilly.com/programming/free/files/introducing-java-8.mobi
wget http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.mobi
wget http://www.oreilly.com/programming/free/files/20-python-libraries-you-arent-using-but-should.mobi
wget http://www.oreilly.com/programming/free/files/hadoop-with-python.mobi
wget http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.mobi
wget http://www.oreilly.com/programming/free/files/functional-programming-python.mobi
wget http://www.oreilly.com/programming/free/files/python-in-education.mobi
wget http://www.oreilly.com/programming/free/files/from-future-import-python.mobi
wget http://www.oreilly.com/programming/free/files/trends-shaping-the-london-tech-scene.mobi
wget http://www.oreilly.com/programming/free/files/why-rust.mobi
wget http://www.oreilly.com/programming/free/files/c++-today.mobi
wget http://www.oreilly.com/programming/free/files/analyzing-visualizing-data-f-sharp.mobi
wget http://www.oreilly.com/programming/free/files/rxjava-for-android-app-development.mobi
wget http://www.oreilly.com/programming/free/files/swift-pocket-reference.mobi
wget http://www.oreilly.com/programming/free/files/ten-steps-to-linux-survival.mobi
wget http://www.oreilly.com/programming/free/files/open-by-design.mobi
wget http://www.oreilly.com/programming/free/files/getting-started-with-innersource.mobi
wget http://www.oreilly.com/programming/free/files/microservices-antipatterns-and-pitfalls.mobi
wget http://www.oreilly.com/programming/free/files/microservices-vs-service-oriented-architecture.mobi
wget http://www.oreilly.com/programming/free/files/software-architecture-patterns.mobi
wget http://www.oreilly.com/programming/free/files/migrating-cloud-native-application-architectures.mobi
wget http://www.oreilly.com/programming/free/files/reactive-microservices-architecture-orm.mobi
wget http://www.oreilly.com/programming/free/files/engineering-managers-guide-design-patterns.mobi
wget http://www.oreilly.com/programming/free/files/azure-for-developers.mobi

wget http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.pdf
wget http://www.oreilly.com/programming/free/files/object-oriented-vs-functional-programming.pdf
wget http://www.oreilly.com/programming/free/files/java-the-legend.pdf
wget http://www.oreilly.com/programming/free/files/introducing-java-8.pdf
wget http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.pdf
wget http://www.oreilly.com/programming/free/files/20-python-libraries-you-arent-using-but-should.pdf
wget http://www.oreilly.com/programming/free/files/hadoop-with-python.pdf
wget http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.pdf
wget http://www.oreilly.com/programming/free/files/functional-programming-python.pdf
wget http://www.oreilly.com/programming/free/files/python-in-education.pdf
wget http://www.oreilly.com/programming/free/files/from-future-import-python.pdf
wget http://www.oreilly.com/programming/free/files/trends-shaping-the-london-tech-scene.pdf
wget http://www.oreilly.com/programming/free/files/2016-european-software-development-salary-survey.pdf
wget http://www.oreilly.com/programming/free/files/2016-software-development-salary-survey-report.pdf
wget http://www.oreilly.com/programming/free/files/why-rust.pdf
wget http://www.oreilly.com/programming/free/files/c++-today.pdf
wget http://www.oreilly.com/programming/free/files/analyzing-visualizing-data-f-sharp.pdf
wget http://www.oreilly.com/programming/free/files/rxjava-for-android-app-development.pdf
wget http://www.oreilly.com/programming/free/files/swift-pocket-reference.pdf
wget http://www.oreilly.com/programming/free/files/ten-steps-to-linux-survival.pdf
wget http://www.oreilly.com/programming/free/files/open-by-design.pdf
wget http://www.oreilly.com/programming/free/files/getting-started-with-innersource.pdf
wget http://www.oreilly.com/programming/free/files/microservices-antipatterns-and-pitfalls.pdf
wget http://www.oreilly.com/programming/free/files/microservices-vs-service-oriented-architecture.pdf
wget http://www.oreilly.com/programming/free/files/software-architecture-patterns.pdf
wget http://www.oreilly.com/programming/free/files/migrating-cloud-native-application-architectures.pdf
wget http://www.oreilly.com/programming/free/files/reactive-microservices-architecture-orm.pdf
wget http://www.oreilly.com/programming/free/files/engineering-managers-guide-design-patterns.pdf
wget http://www.oreilly.com/programming/free/files/azure-for-developers.pdf

43

u/hitnekubo Sep 30 '16

You are my spirit animal

25

u/NominalCaboose Sep 30 '16

That's cultural appropriation. You need to say Patronus instead.

0

u/[deleted] Oct 01 '16

[deleted]

2

u/clearoutlines Sep 30 '16

I just pushed the turbo button on my mouse and the ctrl toggle and slowly rolled over them lol

5

u/superppk17 Sep 30 '16

you're doing the lord's work. thanks!

5

u/[deleted] Sep 30 '16 edited Nov 15 '16

[deleted]

4

u/link375 Oct 01 '16

Epub and pdf files can then be uploaded to your google play books account for safekeeping.

https://play.google.com/books/uploads

3

u/sudo-is-my-name Oct 01 '16

You are the wind beneath my wings. Thanks for the list.

5

u/Maricius Sep 30 '16

Thank you!

3

u/[deleted] Sep 30 '16

Huge thanks!

3

u/tilde_tilde_tilde Sep 30 '16 edited Apr 24 '24

i did not comment years ago for reddit to sell my knowledge to an LLM.

10

u/[deleted] Sep 30 '16

open up your terminal/command line and copy and paste the above comments and it'll download the books

23

u/TheOfficialCal Sep 30 '16

... And you have to be on Linux/MacOS. Seems obvious but I bet this will confuse some poor Windows user.

7

u/LeCyberDucky Sep 30 '16

Poor confused guy over here. Thanks =)

10

u/lichorat Sep 30 '16

Nah. Win 10 has Ubuntu subsystem

9

u/TheOfficialCal Sep 30 '16

Yes, it does but it's opt-in and isn't available by default.

1

u/reposter_ Sep 30 '16

How do I opt-in?

8

u/imadeofwaxdanny Sep 30 '16

Turn Windows Features On/Off -> Check Windows Subsystem for Linux

You can get to the features selection by just searching the start menu for "Windows Features". I'm not sure what exactly you have to do here. I think I remember checking for updates and having to do a reboot. You should be able to search something like ubuntu or bash from the start menu to get to it.

2

u/NominalCaboose Sep 30 '16

Are there any note worthy implications or side effects from doing this?

2

u/EpicWolverine Sep 30 '16

It's in beta. Other then that, it's an officially supported feature, so no.

→ More replies (0)

2

u/prometheusg Sep 30 '16

Okay, got 'em! Here's how for those having as much trouble as me.

  • Installed Windows Subsystem for Linux (required restart).

  • Enabled Developer Mode in Settings.

  • Installed bash in cmd.

  • Copied the list from here.

  • To paste in bash, right-click on the command prompt. Not sure how to paste using keyboard... Ctrl+V, Ctrl+Shift+V, Ctrl+Ins, etc... nothing I tried worked. The files were all downloaded... but where? I couldn't find them!

  • Turns out the default download location is (drive letter):\Users\(Windows_Username)\AppData\Local\lxss\home\(bash_Username)

1

u/[deleted] Oct 01 '16

you did all that just to download them? You could have just pasted the link in your browser or simply installed wget.

https://www.gnu.org/software/wget/

you could use curl and replace wget with curl. both are useful little utilities

https://curl.haxx.se/download.html

→ More replies (0)

1

u/EpicWolverine Sep 30 '16

Make sure you have the Windows 10 Anniversary update.

You need to turn on developer mode in Settings, then turn on what you said above, reboot (it will prompt you), then search "bash" and let that install.

2

u/lichorat Sep 30 '16

It's bash on Ubuntu on Windows

3

u/trimagnus Sep 30 '16

Thanks for pointing this out. Pretty neat stuff!

1

u/lichorat Sep 30 '16

It is! Wish they implemented it sooner though

4

u/spiral6 Sep 30 '16

PowerShell.

1

u/plasticsaint Oct 01 '16

PowerShell's wget alias does not function the same as wget. If you want to do it the powershell way make sure you run: Get-Help Invoke-WebRequest

To read the instructions. This is what "wget" in PowerShell is really calling.

-2

u/TheOfficialCal Sep 30 '16

Not the same as native wget, I'd much rather use the Windows 10 bash or Cygwin.

Point still stands, a user who doesn't know what wget is won't know how to use PowerShell lol.

7

u/k_rol Sep 30 '16

I didn't know wget but I've used powershell many times. They are not related at all. One can be a window power user only and not used linux very much.

1

u/plasticsaint Oct 01 '16

His point was, I believe, if you just copy and paste those wget lines into powershell it will not download anything. It will just return details about the url. Specifically because powershell's wget alias is not wget, it is calling Invoke-WebRequest (which does not function the same, and so cannot be used interchangeably).

2

u/stoph_link Oct 01 '16

This should work for Windows 7 and higher (copy into a .txt save and rename as a .bat and run):

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.pdf', '')"', 'modern-java-ee-design-patterns.pdf', '')"')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.pdf', 'modern-java-ee-design-patterns.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/object-oriented-vs-functional-programming.pdf', 'object-oriented-vs-functional-programming.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/java-the-legend.pdf', 'java-the-legend.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/introducing-java-8.pdf', 'introducing-java-8.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.pdf', 'a-whirlwind-tour-of-python.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/20-python-libraries-you-arent-using-but-should.pdf', '20-python-libraries-you-arent-using-but-should.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/hadoop-with-python.pdf', 'hadoop-with-python.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.pdf', 'how-to-make-mistakes-in-python.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/functional-programming-python.pdf', 'functional-programming-python.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/python-in-education.pdf', 'python-in-education.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/from-future-import-python.pdf', 'from-future-import-python.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/trends-shaping-the-london-tech-scene.pdf', 'trends-shaping-the-london-tech-scene.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/2016-european-software-development-salary-survey.pdf', '2016-european-software-development-salary-survey.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/2016-software-development-salary-survey-report.pdf', '2016-software-development-salary-survey-report.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/why-rust.pdf', 'why-rust.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/c++-today.pdf', 'c++-today.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/analyzing-visualizing-data-f-sharp.pdf', 'analyzing-visualizing-data-f-sharp.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/rxjava-for-android-app-development.pdf', 'rxjava-for-android-app-development.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/swift-pocket-reference.pdf', 'swift-pocket-reference.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/ten-steps-to-linux-survival.pdf', 'ten-steps-to-linux-survival.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/open-by-design.pdf', 'open-by-design.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/getting-started-with-innersource.pdf', 'getting-started-with-innersource.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/microservices-antipatterns-and-pitfalls.pdf', 'microservices-antipatterns-and-pitfalls.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/microservices-vs-service-oriented-architecture.pdf', 'microservices-vs-service-oriented-architecture.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/software-architecture-patterns.pdf', 'software-architecture-patterns.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/migrating-cloud-native-application-architectures.pdf', 'migrating-cloud-native-application-architectures.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/reactive-microservices-architecture-orm.pdf', 'reactive-microservices-architecture-orm.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/engineering-managers-guide-design-patterns.pdf', 'engineering-managers-guide-design-patterns.pdf')"

powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.oreilly.com/programming/free/files/azure-for-developers.pdf', 'azure-for-developers.pdf')"

1

u/moosic Oct 01 '16

Not true anymore... You can run bash in Windows 10 now. Get off your horse.

-7

u/srtor Sep 30 '16

What a time to live!

Window's users are 'poor' now!

Linux rules, windows drool! LMAO.

1

u/IsThisOneStillFree Sep 30 '16

... If you have wget installed which usually is only preinstalled on certain linux distributions

5

u/[deleted] Sep 30 '16 edited Sep 30 '16

On Debian-based systems:

apt-get update
apt-get install wget

On Fedora/RH-based systems:

yum update
yum install wget

On macOS, install Homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Then:

brew update
brew install wget

On Windows, go hog wild if you like command lines or just download one of the zillion download managers that accepts bulk lists.

4

u/[deleted] Sep 30 '16

Windows 8 and Windows Server 2012 and up in PowerShell have wget as an alias ... so you can just wget BLAH.

3

u/plasticsaint Oct 01 '16

No... wget BLAH will just return information about BLAH, it won't download it. Everyone in this thread recommending powershell's wget alias as a drop-in replacement for wget are either not actually using it, or aren't familiar with the real wget.

Using Powershell's 'wget' alias:

PS > _wget http://www.oreilly.com/iot/free/files/software-hardware-collide.mobi_


StatusCode        : 200
StatusDescription : OK
Content           : {83, 111, 102, 116...}
RawContent        : HTTP/1.1 200 OK
                    Content-Disposition: attachment; filename=software-hardware-collide.mobi
                    Connection: keep-alive
                    Accept-Ranges: bytes
                    Content-Length: 5790617
                    Cache-Control: max-age=13824
                    Date: Sa...
Headers           : {[Content-Disposition, attachment; filename=software-hardware-collide.mobi], [Connection,
                    keep-alive], [Accept-Ranges, bytes], [Content-Length, 5790617]...}
RawContentLength  : 5790617

Note: No files were actually downloaded

Which is calling Invoke-WebRequest, as you can see (they are the same results):

PS> _Invoke-WebRequest http://www.oreilly.com/iot/free/files/software-hardware-collide.mobi_


StatusCode        : 200
StatusDescription : OK
Content           : {83, 111, 102, 116...}
RawContent        : HTTP/1.1 200 OK
                    Content-Disposition: attachment; filename=software-hardware-collide.mobi
                    Connection: keep-alive
                    Accept-Ranges: bytes
                    Content-Length: 5790617
                    Cache-Control: max-age=13842
                    Date: Sa...
Headers           : {[Content-Disposition, attachment; filename=software-hardware-collide.mobi], [Connection,
                    keep-alive], [Accept-Ranges, bytes], [Content-Length, 5790617]...}
RawContentLength  : 5790617

Note: No files were actually downloaded

Now here is real wget's behavior:

Bash $ _wget http://www.oreilly.com/iot/free/files/software-hardware-collide.mobi_
--2016-10-01 04:52:33--  http://www.oreilly.com/iot/free/files/software-hardware-collide.mobi
Resolving www.oreilly.com (www.oreilly.com)... 23.67.233.71
Connecting to www.oreilly.com (www.oreilly.com)|23.67.233.71|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5790617 (5.5M)
Saving to: ‘software-hardware-collide.mobi.1’

100%[==================================================================================================================>] 5,790,617   2.91MB/s   in 1.9s

2016-10-01 04:52:35 (2.91 MB/s) - ‘software-hardware-collide.mobi.1’ saved [5790617/5790617]

Note: Not only was a file downloaded, it appended ".1" to the end of the file, since it already existed in that folder (I had already downloaded these)

2

u/[deleted] Oct 01 '16

You are correct, there's an -outfile command that you need to specify to download the file.

I don't actually use Invoke-WebRequest to download files like this. I don't use curl/wget like that either.

I honestly don't "download" a lot of files. I instead use these command to test microservices, so I have to use a lot of options.

1

u/legos_on_the_brain Oct 03 '16

Try Start-BitsTransfer -source

1

u/[deleted] Oct 03 '16

On windows when I need to actually download a file, that's the command I use. That's exceptionally rare for me. I also use a file server and have a shared home directory at work, so I tend to download files on my Mac and then run them on my Windows PC from my home drive.

4

u/jagosto Sep 30 '16

Alternatively (specially for Mac if you don't want to install wget), you can copy/paste the links to your favorite editor and replace wget with curl; it should look like this:

curl -O http://www.example.com

Better yet, create a file like download.sh, copy/paste links, then run:

source /path/to/file/download.sh

Enjoy downloading the files in batch :-)

1

u/LizardKahn Sep 30 '16

Thank you, i'm learning Linux (Fedora 19, system admin class) and this helped me

-2

u/IsThisOneStillFree Sep 30 '16

That's not the point, though. /u/chewingstaws statment ("just open a command line and paste that") only is true out of the box on approx 1% of all PCs..

6

u/[deleted] Sep 30 '16 edited Sep 30 '16

I bet that if you took a survey of everyone in /r/learnprogramming, though, you'd find a disproportionately high rate of command-line use and UNIX systems. Power users tend to work their way around to the terminal sooner or later. :)

2

u/PinkyThePig Sep 30 '16

Developers have a significantly higher proportion of Linux/Mac. I would assume the userbase here is pretty similar to stack overflow which would put Linux/Mac combined usage around 40-50%.

http://stackoverflow.com/research/developer-survey-2016#technology-desktop-operating-system

2

u/IsThisOneStillFree Sep 30 '16

Sure, but if you don't know how to "use" this list of wget's, then chances are that your're neither a command line user nor on Linux.

1

u/darkarmani Sep 30 '16

And if you just spun up a fresh vanilla install of the linux distributions and never got around to installing useful software on it.

1

u/legos_on_the_brain Oct 03 '16

wget is an alias in powershell. Better to use Start-BitsTransfer -source though

3

u/LordRRahl Sep 30 '16

I love you

1

u/herpington Oct 01 '16

My shell thanks you.

1

u/evoblade Oct 02 '16

Thank you for saving me from clicking all of those links like some kind of philistine.

0

u/[deleted] Sep 30 '16

[deleted]

17

u/zedwarth Sep 30 '16 edited Sep 30 '16

Here's the .mobi and .epub that's available

wget http://www.oreilly.com/iot/free/files/ambient-computing.epub
wget http://www.oreilly.com/iot/free/files/governing-the-iot.epub
wget http://www.oreilly.com/iot/free/files/iot-opportunities-challenges.epub
wget http://www.oreilly.com/iot/free/files/creating-functional-teams-for-iot.epub
wget http://www.oreilly.com/iot/free/files/building-a-hardware-business.epub
wget http://www.oreilly.com/iot/free/files/when-hardware-meets-software.epub
wget http://www.oreilly.com/iot/free/files/what-is-the-internet-of-things.epub
wget http://www.oreilly.com/iot/free/files/software-above-device.epub
wget http://www.oreilly.com/iot/free/files/hardware-by-the-numbers.epub
wget http://www.oreilly.com/iot/free/files/ambient-computing.mobi
wget http://www.oreilly.com/iot/free/files/governing-the-iot.mobi
wget http://www.oreilly.com/iot/free/files/iot-opportunities-challenges.mobi
wget http://www.oreilly.com/iot/free/files/creating-functional-teams-for-iot.mobi
wget http://www.oreilly.com/iot/free/files/when-hardware-meets-software.mobi
wget http://www.oreilly.com/iot/free/files/what-is-the-internet-of-things.mobi
wget http://www.oreilly.com/iot/free/files/software-above-device.mobi
wget http://www.oreilly.com/iot/free/files/hardware-by-the-numbers.mobi

7

u/AreYouThreateningMe Sep 30 '16

wget http://www.oreilly.com/iot/free/files/software-&-hardware-collide.pdf

I got a 404 for this one (after escaping the ampersand). These should work:

wget http://www.oreilly.com/iot/free/files/software-hardware-collide.epub
wget http://www.oreilly.com/iot/free/files/software-hardware-collide.pdf
wget http://www.oreilly.com/iot/free/files/software-hardware-collide.mobi

166

u/minusSeven Sep 30 '16

thanks downloaded some of them which I am probably never going to read.

33

u/Sir_Snores_A_lot Sep 30 '16

I just started learning this week and I've been downloading all sorts of resources. But I'm certain it'll end up like that time I tried to learn how to play guitar, I bought a cheap acoustic and saved lists of YouTube teachers, signed up for a Coursera class with a classical master and then work got crazy and to this day I'm still deleting things from my bookmarks.

19

u/ohpollux Sep 30 '16

Hey, I don't really know you, so don't know if this advice will be useful to you at all, but it might be easier to stick around with learning coding if instead of picking a single ginormous goal (learn a programming language) you come up with a small one.

Come up with an idea for a simple program you'd like to make. Plan out (on paper) what sort of knowledge you need in order to make that program (it might feel tempting to jump right into it, but trust me planning it out and splitting it into smaller problems will save you from frustration).

Once you've got the plan ready - skim the books to find: a) the right book; b) the right sections of the book. There's really no need to read the whole thing cover to cover, you're seeking general understanding.

After a) and b) are done - read the sections and try coding as you go along. When your project is finished - come up with a new one, rinse and repeat.

If you feel like other people might motivate you to learn - create your projects on public github repositories, write blog posts about what you learn as you learn it.

Hope that helps at all.

3

u/Sir_Snores_A_lot Oct 01 '16

Wow thank you! I do appreciate that very much. I'll definitely take that into consideration. I don't really have an idea or a project in mind but I'll definitely look at the things in my life that could use a new program or a way to streamline and see if I can find a way to build it myself.

My limited experience is in HTML and CSS only and not in building functional applications. Which is why I'm trying to dig into the development side of programming, I like building things and playing around in the code to see what they can do. Having a project or problem to solve could definitely help keep me track. I really do appreciate any advice people have. Thank you for taking the time to share that.

12

u/ibtokin Sep 30 '16

As long as you stick to a few, you'll be on the right track. Don't be afraid to switch gears and go off on a tangent. Anything that makes the learning process fun will help a great deal.

3

u/Sir_Snores_A_lot Sep 30 '16

I appreciate that advice.

2

u/vernisan Sep 30 '16

Same happened to me when I was trying to learn german.

1

u/BlackSpidy Sep 30 '16

Yah.

4

u/GeneralSham Oct 01 '16

Ja*

1

u/BlackSpidy Oct 01 '16

Eich bin... Caught. You caught me. I'm only just starting German in Duolinguo.

1

u/GeneralSham Oct 01 '16

It's ok, keep it up!

2

u/[deleted] Sep 30 '16

Also, at least for the Java books this stuff will probably be way over your head or just not very interesting. I'd find something super basic. One challenge is just not getting too overwhelmed by setting small achievable goals and not getting to caught up on chasing the end goal of mastery.

2

u/Sir_Snores_A_lot Sep 30 '16

Yeah I thought about that. I found The Odin Project the other day and I've been working through that for a base knowledge.

2

u/PM_Me_Ur_AyyLmao Sep 30 '16

All of them seem to be pretty short, would only take you one or two nights to read one.

2

u/jpflathead Sep 30 '16

I have a directory where I dump things like this, then I have a search engine index them for me. So I can query google, or I can query docfetcher/regain/... etc. It's also very nice if you have something like Calibre to help you maintain epub libraries.

81

u/empire539 Sep 30 '16

If anyone else is interested in the books not included in the original post (the Open Source and Software Architecture sections), here they are:

Ten Steps to Linux Survival : epub / mobi / pdf

Open By Design : epub / mobi / pdf

Getting Started with InnerSource : epub / mobi / pdf

Microservices AntiPatterns and Pitfalls : epub / mobi / pdf

Microservices vs. Service-Oriented Architecture : epub / mobi / pdf

Software Architecture Patterns : epub / mobi / pdf

Migrating to Cloud-Native Application Architectures : epub / mobi / pdf

Reactive Microservices Architecture : epub / mobi / pdf

An Engineering Manager's Guide to Design Patterns : epub / mobi / pdf

Azure for Developers : epub / mobi / pdf

2

u/maxstolfe Sep 30 '16

Question! If I am just starting out and looking to code for iOS, what among this whole post should I be downloading?

Also, if you have any advice for someone who has been struggling to conceptualize programming, hit me :)

2

u/Doctor-Quantum Sep 30 '16

I think the only one that'd be explicitly related to iOS programming in this list is the last one, the Swift one. I haven't used it, but a quick look at the opening chapters (and its title as a "pocket reference") makes me think it might not be the best place to start learning, but it might be a good one to have around.

28

u/Vance84 Sep 30 '16

I downloaded all the books (as of 9/30/2016) from the links on this page and zipped them up.

The link will expire in 30 days (end of October)

For those unsure, here is a scan report for the file: https://www.virustotal.com/en/url/f4ee59473fe5b83fcd1fab2e2f733107f9fc1cb78168d558c56c56f16755db07/analysis/1475240335/

2

u/[deleted] Sep 30 '16

thank you!

3

u/Left4Head Sep 30 '16

Is this including /u/empire539 's comment?

2

u/[deleted] Sep 30 '16

Fuk this iphone refuses to download link. Honestly any techy person should never buy an iphone. Next phone android for life. shit

1

u/vitamintrees Sep 30 '16

You probably can't use the zip but you can open the epub files linked in the OP with ibooks. You will have to do it one by one though.

1

u/slaytalera Sep 30 '16

this, if youre not jailbroken you can open the epub/PDF versions in ibooks one by one

Although i have never tried one of those download manager apps from the app store, so if anyone has any experience with one that could download a .zip im sure others would appreciate it

2

u/[deleted] Oct 01 '16

dude I used zip extractor to open zip files on iPhone and then when unzipped "open in (insert respective app that can run then". Iphone shenanigans going down here

1

u/BlackBloke Oct 01 '16

I use iZip for zip files on my iOS devices.

1

u/[deleted] Oct 01 '16

yes I can. Did it before. this time though it ain't working for some iphone-ish reason

35

u/Dark_Angelas Sep 30 '16

Any book that is a must read or highly recommended?

8

u/[deleted] Sep 30 '16

I hate to be a nay sayer, but they are mostly useless.

The Functional Programming in Python is at least a little bit interesting, but there's a course at Berkley that teaches fundamental programming using Python Functional Pramming similar to Lisp@MIT (which is what I took there.)

5

u/eid-a Sep 30 '16

it depends !

1

u/vitamintrees Sep 30 '16

The Swift Pocket Reference is for Swift 2, so that's already out of date.

17

u/fabianvf Sep 30 '16 edited Sep 30 '16

Wrote a quick and dirty python script that downloads these books by category. Requires python 2 and requests library. Categories I've see so far are business, data, iot, security, web-platform, webops-perf, programming, design, so usage would look like:

python oreilly_downloader.py business data iot security web-platform webops-perf programming design

link to script: https://gist.github.com/fabianvf/3feacbd83491d8cc1895a15a73af7e18

Would create a directory structure like this:

business
    <book-title>
        <book-title>.pdf
        <book-title>.mobi
        <book-title>.epub
    <book-title>
        <book-title>.pdf
        <book-title>.mobi
        <book-title>.epub
programming
    <book-title>
        <book-title>.pdf
        <book-title>.mobi
        <book-title>.epub
    <book-title>
        <book-title>.pdf
        <book-title>.mobi
        <book-title>.epub
...

and so on.

import os
import re
import sys
import requests

filename_matcher = re.compile(r'http://www.oreilly.com/(.*)/free/(.*).csp')

def main():
    categories = sys.argv[1:]
    urls = map(lambda x: 'http://www.oreilly.com/{}/free/'.format(x), categories)
    for (category, url), filenames in zip(zip(categories, urls), map(retrieve_filenames, urls)):
        print(category)
        if not os.path.exists(category):
            os.makedirs(category)
        for title, (book_category, files) in filenames.items():
            path = os.path.join(category, title)
            if not os.path.exists(path):
                os.makedirs(path)
            print '\t{}'.format(title)
            for file in files:
                print('\t\t{}'.format(file))
                download_file(os.path.join(category, title, file),
                              'http://www.oreilly.com/{}/free/files/{}'.format(book_category, file))


def download_file(path, url):
    response = requests.get(url, stream=True)
    with open(path, 'wb') as f:
        for chunk in response.iter_content(chunk_size=1024):
            if chunk:
                f.write(chunk)


def retrieve_filenames(url):
    response = requests.get(url).text
    matches = filename_matcher.findall(response)
    return {
        name: (category, map(lambda x: x.format(name), ['{}.pdf', '{}.mobi', '{}.epub']))
        for (category, name) in matches
    }


if __name__ == '__main__':
    main()

Edit: Fixed a bug caused by the assumption that all the books on a given categories page would link to a download that shared that category. Some of the books on IOT are actually in the design/solid category, and the security books were all over the place. Now it grabs the category from the book url for downloading, but the file structure doesn't change and anything grabbed from the security page will remain in the security folder.

Edit2: Added design category.

Edit3: Just tested it on my windows machine, should work as long as you have python and the requests library installed.

4

u/vitamintrees Sep 30 '16

For Python3 - Line 19: change

print '\t{}'.format(title)

to

print('\t{}'.format(title))

1

u/linuxTrajectory Dec 04 '16

There are some other changes required for python 3. The urls map does not function the same. I played with it some, then just used Python 2 for lack of time.

2

u/hairycode Sep 30 '16

Have an upvote for saving me some work!

2

u/juandpineiro Sep 30 '16

Wow this is awesome!! As a beginner myself, you just inspired me to make some similar scripts :) Have an upvote!

1

u/fabianvf Oct 01 '16

Awesome! Little convenience scripts are a great way to break into the programming mindset, and it's really fun to be able to distribute something people might actually find useful. Don't take any stylistic advice from this script though :P

10

u/MrSnowflake75 Sep 30 '16

Don't forget everyone, at the bottom of the Home Page you will see links to other categories of free eBooks being offered, including Business, IoT, Security, WebDev, and WebOps. Great post FallenAege!

5

u/magus517707 Sep 30 '16

For the Windows folks that want to do it through powershell:

First setup a folder you want to download to. In that folder create a text document with the links that you want to download(one link per line). Open powershell and navigate to that folder.

Put this in powershell

$source = gc .\Source.txt

foreach($i in $source){

$title = $i

$title = $title -split "/"

$title = $title[$title.Length-1]

wget $i -OutFile $title

}

This little script will download the file and name it as the last section of the link.

1

u/ramuKAI Oct 01 '16

Worked like a charm! Do you have any recommendations on any books for mastering power shell?

1

u/magus517707 Oct 02 '16

Unfortunately no. I wish I did. I have always found my self googling syntax and hobbling things together in PowerShell enough so that it does what I need it to do. Mainly for automating work tasks I don't want to do more than once. If you ever find anything useful let me know.

1

u/sork_link Dec 26 '16

share with me

1

u/FallenAege Dec 27 '16

How? Links are dead.

PM me a way to send them to you and I can PM you what I downloaded.

3

u/Eaeelil Sep 30 '16

Thats awesome. Too bad they don't have something for SQL.

Gotta learn it for work. Tired of doing our inventory in excel. Time for something better.

3

u/[deleted] Sep 30 '16

Most of my job is managing and expanding a 20K+ sku catalog in Excel. We've tried to convince my boss that there are better options but he refuses to implement anything he doesn't personally understand.

2

u/TheQuantumZero Oct 01 '16

Most of my job is managing and expanding a 20K+ sku catalog in Excel

username checks out

2

u/Dabainya Sep 30 '16

What are you trying to learn in SQL?

2

u/Eaeelil Sep 30 '16

Mostly the basics and enough to build a simple database to input all of our excel data into that i can expand upon once i learn more.

2

u/an_actual_human Sep 30 '16

Whatever is stopping your progress, I can tell you it's not the impossibility of finding learning materials.

2

u/Eaeelil Oct 01 '16

Nothing is stopping my progress. I was just hoping there would be some free sql oriely books.

1

u/Dabainya Oct 03 '16

Great!! That pretty easy...did you get your.... Checklist: 1.SQL studio and SSDT installed on your system?

2.attempt playing with the free Adventureworks Db provided by MSFT?

3.Get a hang of basic Create, Delete,Alter,Drop, Commit and other commands.

4.SQL wizard, ( this is what you are looking for as a bare minimum, but not limited to , when it comes to importing data).

get these first... PM me if it works/have questions brother! May the love of learning and the power of adventure be your guide!!

2

u/ziku_tlf Sep 30 '16

Do Macros in VBA with Excel.

Similar power, no need for approvals.

2

u/Eaeelil Sep 30 '16

Something to look into but I want to transition out of Desktop support/Jr. Sysadmin work eventually so learning SQL would be a good step I believe.

5

u/AkimboMutombo Sep 30 '16

This is the equivalent to giving a bunch of children firearm training before the onset of war. This is all in preparation for when the machines take over. They know something we don't know and they realize that the unwashed masses need the tools to fight back.

4

u/JohnScott623 Sep 30 '16

Why are they giving these books away for free? Surely it must not be profitable.

11

u/OCrikeyItsTheRozzers Sep 30 '16

These are more like booklets than textbooks. The Java 8 book is only 35 pages.

3

u/Darthallen417 Sep 30 '16

But isn't it? My take on this aspect is formatting. Publishers of technical books have a format and flow to them and while most of these books are not the most recent edition or out of print the idea is to get you to read it and use it. When you get proficient and you want a technical book to get you jump started with new technology or information who will you think of to see if they cover the subject you want to learn?

2

u/Meflakcannon Sep 30 '16

Thanks! the python books will be dead useful as I work my way through that language. C# is fun, but Python is way more fun.

2

u/[deleted] Sep 30 '16 edited Nov 15 '16

[deleted]

2

u/SgtPooki Oct 04 '16

I created a quick script that will automatically download all of the books (and all of the formats) that fit the /free/files/ format for you when you visit one of the oreilly free book pages:

https://gist.github.com/SgtPooki/6d43d319246115f3b97935787741e610

Some warnings:

  • You may need to enable popups.

  • A crap ton of tabs are opened, but I also create a list of wget links, so you can save that elsewhere if you please.

  • I remove all of the book elements that I generate URLs for, so if a book's image is still listed on the page, you'll need to try to download it yourself.

  • In chrome, the pdfs open instead of downloading, so you can do CMD+S/CTRL+S to save, ENTER to agree at prompt, then CMD+W/CTRL+W to close the tab.

  • I only tested this in chrome on mac.

2

u/stalkernoiser Oct 04 '16

systemdmerda !!!

[ systemdshit ]

2

u/[deleted] Sep 30 '16

Boo, where is my powershell scripting lol

2

u/Bhavya0409 Sep 30 '16

Anything front end related?

1

u/acloudbuster Sep 30 '16

Doesn't appear to be anything front-end related.

1

u/Bhavya0409 Sep 30 '16

Ah rip, thanks anyway!

1

u/SgtPooki Oct 04 '16

The web-platform page has some. To download those books easily check out the script I wrote: https://gist.github.com/SgtPooki/6d43d319246115f3b97935787741e610

1

u/Sir1Afifi Sep 30 '16

RemindMe! 10 hours

1

u/ziku_tlf Sep 30 '16

Alright, I know which languages and frameworks to add to the "dead" pile...

1

u/Jontu_Kontar Sep 30 '16

One way of using PowerShell to download the ePub files...

Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/object-oriented-vs-functional-programming.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/java-the-legend.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/introducing-java-8.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/a-whirlwind-tour-of-python.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/20-python-libraries-you-arent-using-but-should.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/hadoop-with-python.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/functional-programming-python.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/python-in-education.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/from-future-import-python.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/trends-shaping-the-london-tech-scene.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/why-rust.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/c++-today.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/analyzing-visualizing-data-f-sharp.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/rxjava-for-android-app-development.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/swift-pocket-reference.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/ten-steps-to-linux-survival.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/open-by-design.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/getting-started-with-innersource.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/microservices-antipatterns-and-pitfalls.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/microservices-vs-service-oriented-architecture.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/software-architecture-patterns.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/migrating-cloud-native-application-architectures.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/reactive-microservices-architecture-orm.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/engineering-managers-guide-design-patterns.epub
Start-BitsTransfer -Source http://www.oreilly.com/programming/free/files/azure-for-developers.epub

1

u/Deathwalker47 Oct 02 '16

Thank you VERY much for sharing!

1

u/ACLNM Feb 04 '17

Thanks! Very useful :)

1

u/spoondigg Sep 30 '16

Thank you

0

u/redmonks Oct 01 '16

I think its not full e-book :( Its sample. Who on earth could complete a Hadoop with Python tutorial in a 75 page book????

Why people are upvoting this?? Every ebook pdf posted here are just the samples of the original book!

1

u/FallenAege Oct 01 '16

It was mentioned elsewhere, but they are more like booklets.

Some are a couple of chapters and some are closer to 10 chapters.

0

u/redmonks Oct 01 '16

LOL Who is gonna use this. We can get the full book just by googling... :D

1

u/FallenAege Oct 02 '16

Again, they are full "e-booklets," not samples.

-2

u/SaxOps1 Sep 30 '16

RemindMe!

0

u/RemindMeBot Sep 30 '16 edited Aug 10 '18

Defaulted to one day.

I will be messaging you on 2016-10-01 09:54:39 UTC to remind you of this link.

30 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


FAQsCustomYour RemindersFeedbackCodeBrowser Extensions

-4

u/Doughboy72 Sep 30 '16

RemindMe! 7 hours

-4

u/sileegranny Sep 30 '16

remind me 12 hours

-6

u/[deleted] Sep 30 '16

RemingMe!

-1

u/FennekLS Sep 30 '16

RemindMe!

-4

u/Jitsu24 Sep 30 '16

RemindMe! 8 hours "free books"

-5

u/circadiankruger Sep 30 '16

RemindMe! 10 hours

-6

u/prncrny Sep 30 '16 edited Sep 30 '16

Replying to this just to have the links in my history. I'll be having a closer look at it later :)

Edit: I don't understand all the downvotes, but whatever...

2

u/novavex Sep 30 '16

Use the "save" button on any thread post and access it through your profile on the "saved" tab.

Alternatively, bookmark this page.

-4

u/lifemoments Sep 30 '16

Bookmarked

-6

u/Cyndikate Sep 30 '16

Remindme! 8 hours

0

u/[deleted] Sep 30 '16

[deleted]

3

u/TheTIC Oct 01 '16

The same goes for .mobi and Kindle.

1

u/plasticsaint Oct 01 '16

Also PDF and either Kindle or Play Books.