r/learnprogramming • u/FallenAege • 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
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
Analyzing and Visualizing Data with F#
epub
mobi
pdf
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
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
2
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
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
3
2
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
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
1
35
u/Dark_Angelas Sep 30 '16
Any book that is a must read or highly recommended?
8
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
1
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 designlink 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
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!
1
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.
4
3
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
1
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.
3
12
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
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
2
2
u/Bhavya0409 Sep 30 '16
Anything front end related?
1
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
1
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.epub1
1
1
1
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
-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.
FAQs Custom Your Reminders Feedback Code Browser Extensions -4
-4
-6
-1
0
-4
-5
-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
-4
-6
0
244
u/ShPavel Sep 30 '16
all links from this thread: