Skip to main content

Posts about bookmarks (old posts, page 2)

Bookmarks [2013-12-05]

  • 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.

Bookmarks [2013-12-04]

Bookmarks [2013-11-29]

Bookmarks [2013-11-25]

Bookmarks [2013-11-24]

Bookmarks [2013-11-20]

  • 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:

    1. 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.
    2. 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.
    3. 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 com­pletely in­com­plete guide to pack­ag­ing a Python mod­ule and shar­ing 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.

Bookmarks [2013-11-17]

  • 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?

Bookmarks [2013-11-12]

Bookmarks [2013-11-09]

  • leftnode/get-shit-done

    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.

Bookmarks [2013-11-04]

  • 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.

  • Programming Excellence

    These are all books that were recommended to me by various people on twitter, presented in no particular order. Thanks! – @hmason