Raspberry Pi Python Adventures: IEEE 754/854, when it is needed
If you want IEEE 754/854 decimal behaviour, what you want to use is the decimal module
Experiments in public: Rethinking my excuses about hiring for Test Automation
Be an Automator, spend your days debugging everyone else's software, drive the art forward, and enjoy (in the long run) incredible job security!
Ned Batchelder: Range overlap in two compares
His code used eight comparisons to check whether the endpoint of one of the ranges was contained within the other range. In Python it would look like this:
def overlap(start1, end1, start2, end2): """Does the range (start1, end1) overlap with (start2, end2)?""" return ( start1 <= start2 <= end1 or start1 <= end2 <= end1 or start2 <= start1 <= end2 or start2 <= end1 <= end2 )
I said you could do it in two comparisons rather than eight, but could never remember the trick.
Cubr | Keep on Coding
Cubr is a project I completed in three weeks at the end of my introductory computer science class at CMU. The idea is simple: you mix up a Rubik’s cube. You show the cube to your computer’s webcam. Some magic happens, and your cube appears onscreen. Then, the cube begins to solve itself, and all you have to do is follow along and you will have solved your cube!
Corey Goldberg: deadsnakes - Using Old Versions of Python on Ubuntu
The Python packages in the official Ubuntu archives generally don't go back all that far, but people might still need to develop and test against these old Python interpreters. Felix Krull maintains a PPA (package archive) of older Python versions that are easy to install on Ubuntu.
Bringing a dream to life - The Von Wong
And though these images that she ended up loving, were created to bring Nicole’s dreams to life, I’ve never felt more alive… because doing something that matters makes all the difference.
why GNU grep is fast
The key to making programs fast is to make them do practically nothing. ;-)
How to Burst the "Filter Bubble" that Protects Us from Opposing Views | MIT Technology Review
Computer scientists have discovered a way to number-crunch an individual’s own preferences to recommend content from others with opposing views. The goal? To burst the “filter bubble” that surrounds us with people we like and content that we agree with.
10 Reasons Why Traveling Makes You A Better Person | Thought Catalog
If you have the opportunity to pack your bags and go, do it. Go alone if you have to.
11 proven practices for more effective, efficient peer code review
Summary: These 11 proven practices for efficient, lightweight peer code review are based on a study at Cisco Systems using SmartBear CodeCollaborator. They can help you ensure that your reviews both improve your code and make the most of your developers' time.
For Billions of People, “Wasting Time” Makes Little Sense - Facts So Romantic - Nautilus
Event time is very different. Time is not so tangible, and certainly not equivalent to money. Attending to relationships is more important than attending to the clock.
Education Is a Waste of Effort—But It Doesn’t Have to Be - Facts So Romantic - Nautilus
College students are hardworking, intelligent, and educated adults. In my capacity as an associate professor at the Institute of Cognitive Science at Carleton University, I have developed several ways that they can contribute to science and to their peers in the process of doing their classwork.
Extract text from Word files (docx) simply | Etienne’s blog
I created a simple function to extract text from .docx files that do not require dependencies, using only the standard library.
Emotional Programming in Open Source | Armin Ronacher's Thoughts and Writings
With all that in mind I am currently trying to get things sorted out to everybody's satisfaction. It's unacceptable that issues hang around unprocessed this long.
Open Source can be hard sometimes.
Ned Batchelder: What's in which Python 3?
Two years ago I wrote a post called What's in which Python? which summarized the changes in the Python 2.x releases. Today when I showed it to someone, they asked, "Do you have one for 3.x?"
Ned Batchelder: What's in which Python?
I made this list of the high points, what's in each version of Python 2.x. Items with a star were introduced with a future import.
The Math Trick Behind MP3s, JPEGs, and Homer Simpson’s Face - Facts So Romantic - Nautilus
The Fourier transform has even been used to identify a counterfeit Jackson Pollock painting by deciphering the chemicals in the paint.
Sleep: When Brain Cells Shrink & Neuro Trash Is Flushed Away - Facts So Romantic - Nautilus
Maybe the fresh, new feeling we have when we awake really is a kind of cleanliness, as the byproducts of the previous day’s cogitations have been washed away.
It's Nice That : Bookshelf: Jason Silva
As we prepare body and soul for the gluttony and giving nearly upon us, Jason Silva presents us with an intellectual antidote; an incredible and excitable selection of books that thinks a little bigger than exactly how many brussels sprouts we will be expected to eat in the coming weeks. Web-wide courted themes of The Singualrity, group consciousness and technology’s expectation of us, the synthesis of the human condition and (why not?) immortality – all are to be found in the permanent pages of this wonderfully accessible selection of books on Silva’s Bookshelf.
Cal lecturer's email to students goes viral: "Why I am not canceling class tomorrow" | CAA
you will think something in response along the lines of `I know all that, but these things are for someone else to figure out, not me.’
That is a mistake.
The Most Surprising Things About America, According To An Indian International Student | Business Insider India
The most surprising things about America
Circuit Scribe: Draw Circuits Instantly by Electroninks Incorporated — Kickstarter
Circuit Scribe draws smooth lines with conductive silver ink and allows you to create functioning circuits instantly.
41 Eye-Opening Quotes That Will Make You Notice What You Always Ignored | Thought Catalog
The bigger the mountain, the better the view. Unknown
Fundamental qualities of good programmers - Blog - Hacker School
First, a quick note: This is just one way to think about becoming a better programmer. It's almost certainly not the only way to think about it and you may find some other way more useful to you.
▶ I Am 20 - YouTube
Those born on Independence Day in 1947 were selected from different parts of India and interviewed to know their hopes and desires,ambitions, hobbies, fears and frustrations and the result is this unique film.
Our story - the future needs fixing - sugru
TIME Magazine listed sugru alongside the iPad as one of the top 50 inventions of 2010.
The iPad was number 34, sugru was number 22.
When Success Comes To You Easily | Amitbanerjee.net
The biggest trap that you can fall into is if you can be successful without giving your 100 percent in whatever you are doing.
Why Generation Y Yuppies Are Unhappy | Wait But Why
Here's my advice for Lucy:
- Stay wildly ambitious. The current world is bubbling with opportunity for an ambitious person to find flowery, fulfilling success. The specific direction may be unclear, but it'll work itself out – just dive in somewhere.
- Stop thinking that you're special. The fact is, right now, you're not special. You're another completely inexperienced young person who doesn't have all that much to offer yet. You can become special by working really hard for a long time.
- Ignore everyone else. Other people's grass seeming greener is no new concept, but in today's image crafting world, other people's grass looks like a glorious meadow. The truth is that everyone else is just as indecisive, self-doubting, and frustrated as you are, and if you just do your thing, you'll never have any reason to envy others.
Sharing Your Labor of Love: PyPI Quick And Dirty — Hynek Schlawack
A completely incomplete guide to packaging a Python module and sharing it with the world on PyPI.
python sweetness — Use of logging package from within a library
Python’s standard logging package is a really wonderful thing, but unfortunately some of its key ideas aren’t clearly documented in a large enough point font.
Alex Gaynor – Effective Code Review
Code review is an important part of a healthy engineering culture and workflow. Hopefully, this post has given you an idea of either how to implement it for your team, or how to improve your existing workflow.
You are NOT a Software Engineer! Chris Aitchison
The engineering metaphor has had its time in the sun, and maybe it even used to be accurate, but now it really only serves to help non-technical people have unrealistic expectations about how software gets built.
I am a Software Gardener.
So are you.
Bill Gates: Internet Will Not Save the World Slashdot
The internet is not going to save the world, says the Microsoft co-founder, whatever Mark Zuckerberg and Silicon Valley's tech billionaires believe. But eradicating disease just might.
Node.js Knockout | Nov 9 11th, 2013
ClearCommit, semantic diff tool for codebases.
'Sleeping On Strangers On The Subway,' a video experiment Boing Boing
"Inspired by a picture that went viral, we decided to see how many people would let a random person sleep on them on the subway. Here are the results, and the valuable lesson we learned."
Meet Craig, the First Man in the World to Live Without a Heart JacksGap
When Craig Lewis aged 55 had been diagnosed with a heart disease so intricate not even a pacemaker could save him, Texan doctors had to think outside of the box.
Outstandingly, they developed a revolutionary concept where by they install a device that keeps his blood in continuous flow…without a pulse.
Within a day of surgery Craig was up and speaking to doctors and now lives fully functioning without a heart. Who said science was boring?
Unhuddled To Independence — Dan Hough — Independent Software Developer
This is a story about how in a few months my outlook on work and life changed, and I ended up where I am now: full time, doing stuff that I enjoy for independence, fun, learning and hopefully, profit.
Empty Stomach Intelligence New York Times
“When you are hungry, you need to focus your entire system on finding food in the environment.”
Burn Down the Farm : zenhabits
Burn down the farm, nonviolently of course. Get rid of the possibility of comfort, so that the scary journey you want to take is your best choice.
23 Priceless Habits That Will Make You Your Greatest Self | Thought Catalog
Take responsibility for your mistakes.
strange pushes on GitHub Google Groups
I have triggered an involuntary "forced push" last night on the list of Jenkins-CI plugins indicated below in this e-mail.
The total number of impacted repositories should then be: 186
Small script to configure your hosts file so you don't get distracted during the day.
9 Mind Expanding Books Of Philosophy That Are Actually Readable (A Guide To Practical Philosophy) | Thought Catalog
The irony is this is actually what ancient philosophy was intended to ameliorate. “Vain is the word of a philosopher,” Epicurus once said, “which does not heal the suffering of man.” Centuries later, Thoreau expressed this same thought: “To be a philosopher is not merely to have subtle thoughts, nor even to found a school . . . it is to solve some of the problems of life, not only theoretically, but practically.”
10 Corporations Control Almost Everything You Buy — This Chart Shows How PolicyMic
Ten mega corporations control the output of almost everything you buy; from household products to pet food to jeans.
Forget About the Highlight Reel – High Release
A lot of people mistake flashy ultimate for “good” ultimate—they think that chest-high layouts or 10-foot grabs in wolf packs are hallmarks of the elite game. But I beg to differ. It’s true, sometimes incredible feats of athleticism are the only way to save a possession or get a block—and they aren’t easy to execute. Still, it’s the most mundane things that often make the biggest impacts on the field.
A Course in Machine Learning
CIML is a set of introductory materials that covers most major aspects of modern machine learning (supervised learning, unsupervised learning, large margin methods, probabilistic modeling, learning theory, etc.). It's focus is on broad applications with a rigorous backbone.
bash What are the special dollar sign shell variables? Stack Overflow
- Positional parameters $1,$2,$3… and their corresponding array representation, count and IFS expansion $@, $#, and $*.
- $- current options set for the shell.
- $$ pid of the current shell (not subshell)
- $_ most recent parameter (or the abs path of the command to start the current shell immediately after startup)
- $IFS the (input) field separator
- $? most recent foreground pipeline exit status
- $! PID of the most recent background command
- $0 name of the shell or shell script
19 Things You Need To Stop Over Thinking | Thought Catalog
There is a time and a place for reflection and contemplation about the greater universe. Now, I know I sound like a hypocrite because I do write about these things a lot, but I’ll tell you now, as someone who does over-think it, sometimes you just have to let it be what it is and not become overwhelmed by the vastness, mysteriousness and unknown possibility that lies around us. It can be more debilitating than inspiring sometimes.
These Are The Things I Truly Believe In | Thought Catalog
I believe in the flow of life from one to another, in being kind.
When Sachin Tendulkar fielded for Pakistan as a 13 year old Cricket News & Articles | CricketCountry.com
"Sachin saw Hemant and asked in Marathi 'Me zaaoo ka?' ('Can I go')? Before Hemant could nod his head, Sachin was already in the field as a substitute for Pakistan. It was towards the end of the match and Sachin was on the field for about 25 minutes."
Visualizing World Birth and Death Rates
World Births and Deaths in Real-Time (Beta) World Population: 7,093,354,367 (estimated) (Statistical Simulation Based on World Birth/Death Rates)
The abundance of slowness — Content Creators & Curators — Medium
Deep down, many of us wonder if we’re wasting our time on things of little consequence. So we keep skittering along the surface at a feverish pace, avoiding the mirror of introspection.
I’ve found recently that when the time is used well, slowness can actually be one of the most profound sources of abundance.
And on the positive side, sometimes entrepreneurs work on their businesses after hours out of love, rather than straining toward an overly-optimistic deadline out of fear. I’ve been there, I’ve put in the hours and I’ll do it again. But not unless I’m motivated by love.
These are all books that were recommended to me by various people on twitter, presented in no particular order. Thanks! – @hmason