Bookmarks [2014-05-19]

  • The Meaning of Life | Derek Sivers

    Socrates said the unexamined life is not worth living. What about the forgotten life?

  • Advice for ambitious 19 year olds - Sam Altman

    The best people always seem to be building stuff and hanging around smart people, so if you have to decide between several options, this may be a good filter.

  • Resources

    There are many coaching resources available for coaches and players to help develop Ultimate programs and improve skills.

  • Coaches Here is a list of resources for coaches and, of course, team captains, players, PE teachers, or anyone else who wants to teach skills, find a team to coach, or learn drills, plays, and strategy.
  • 17 People On The One Book You Should Definitely Read This Summer | Thought Catalog I figured I’d ask some young #tastemakers to share their suggestions with the world.

    The list below is rather diverse in style — from comedy, to business, to self-help, to fantasy, to classic literature-y books that you could smartly reference at “functions,” there might just be something for everyone.

Bookmarks [2014-05-04]

  • Learning Rust | Mauveweb

    I also spent some time working out how to call Rust code from Python, which would allow me to use both languages to their strength in the same project.

  • KEEGAN: The Opposite of Loneliness | Cross Campus

    The notion that it’s too late to do anything is comical. It’s hilarious. We’re graduating college. We’re so young. We can’t, we MUST not lose this sense of possibility because in the end, it’s all we have.

    We don’t have a word for the opposite of loneliness, but if we did, I’d say that’s how I feel at Yale. How I feel right now. Here. With all of you. In love, impressed, humbled, scared. And we don’t have to lose that.

    We’re in this together, 2012. Let’s make something happen to this world.

  • Raise Your Game: Day 1 - Skyd Magazine

    This article is Part 1 in a 5 part series from Ben Wiggins on succeeding in the sport of Ultimate.

  • Why I won’t work for Google | qnrq

    “Gentlemen do not read each other’s mail.” – Henry L. Stimson

  • This Young Mother Is Giving Up On Her Kids And I Don't Blame Her.

    My kids are not the center of my world because I love them enough not to allow them to be.

Bookmarks [2014-04-29]

  • John Resig - Write Code Every Day

    Inspired by the incredible work that Jennifer Dewalt completed last year, in which she taught herself programming by building 180 web sites in 180 days, I felt compelled to try a similar tactic: working on my side projects every single day.

  • Debug your programs like they're closed source! - Julia Evans

    My favorite way to learn more, honestly, is to just strace random programs and see what I find out. It’s a great way to spend a rainy Sunday afternoon! =)

  • Announcing AeroPython! - Lorena A. Barba Group

    We now announce the public release of the 11 lessons that make AeroPython! Find them on the public GitHub repository.

  • How I Came to Write D | Dr Dobb's

    Nobody could possibly work on compilers for 15+ years and not come up with ideas for language improvements. I tried out many language improvements in the C and C++ compilers, and they all fell flat.

  • Don't Deal With It, Fix It

    I've learned that I have the power to fix things around me that I don't like. I don't need to just deal with it because that's just the way things are. I have the power to shape the world around me. It's just a matter of believing that I can change things. Just believing is all I need to actually take the first step towards taking action.

  • Tyblog | SSH Kung Fu

    What follows is a list for some of my use cases that leverage the power of ssh.

Org based posts in Nikola

Chen Bin asked me to share my Nikola+Org work-flow, and share an example post.

The org source for any post can be found by changing the URL of a post from .html to .org.

I don't have much of a work-flow, because I don't post too often, but here is what I typically do, to make a new post.

I start off by creating a new post using

$ nikola new_post

and then give the post a title and start editing the post in Emacs.

I have a simple snippet that lets me insert tags, based on existing tags.

Once I'm happy with the content of a post, I run nikola auto to build the source and serve it locally, and see if the post "looks" reasonable, after being rendered.

Once, I'm happy with it, I commit the post and deploy it using nikola deploy.

GITHUB_SOURCE_BRANCH = 'master'
GITHUB_DEPLOY_BRANCH = 'gh-pages'
GITHUB_REMOTE_NAME = 'origin'

# Commands to execute to deploy. Can be anything, for example,
# you may use rsync:
# "rsync -rav output/* joe@my.site:/srv/www/site"
# And then do a backup, or ping pingomatic.
# To do manual deployment, set it to []

I also have a plugin, that posts captured bookmarks and quotes onto the blog, with a single command. I should probably make the sources of my blog open, and push it onto GitHub.

Update [2015-05-13 Wed]

  • I use my own plugin for Nikola which lets me write posts in org-mode. There is a similar plugin by Chen Bin, that exports posts to intermediate html, that is then used by Nikola.
  • The source for my blog is now on GitHub
  • I also have custom elisp to be able to make a new post, and deploy the site from within Emacs.

Bookmarks [2014-04-11]

Let there be light, in skype!

At home, my video would always show a silhouette in G+ and Skype, and I always thought that this was because the lighting at home was not sufficient. At office, the video was decent. But, moving to sit right under the light also didn't help much.

Struggling with a bunch of tools like v4lctl, guvcview didn't help. But, during these struggles I noticed that cheese would show me bright and cheerful, while all the other programs showed my silhouette.

I set out to "fake" the output of cheese as a video device that skype and other programs could use. But, I didn't have to go all the way. I ended up using v4l2loopback to create a loopback video device, and just using gst-launch to redirect video to that device, did the trick! Thanks gstreamer! Thanks v4l2loopback! :)

Here's a convenient script to use it every time I need it.

Bookmarks [2014-03-23]

  • Replacing `import` with `accio`: A Dive into Bootstrapping and Python's Grammar

    At Hacker School, I've been building an alternate universe Python by overwriting builtin functions and statements with Harry Potter spells.

  • Falling in Love With the Dark - Issue 11: Light - Nautilus

    “The first time people come out for dark skies, and we get Bortle Class 1 and 2 here, it affects them deeply,” Carroll said. “They’re blown away. The connection with the stars is inside all of us, but it has been sequestered away.”

  • Git is a purely functional data structure – Jayway

    Git can be accurately understood as a fairly simple functional data structure. Instead of explaining Git in terms version control, we can see the ability to do version control as an emergent property of using that data structure. I think talking about Git in this manner will more accurately convey the simplicity and power of Git better than any comparisons with centralized version control systems can accomplish.

  • Python’s Innards: Introduction | NIL: .to write(1) ~ help:about

    This post marks the beginning of what should develop to a series on Python’s internals, I’m writing it since I believe that explaining something is the best way to grok it, and I’d very much like to be able to visualize more of Python’s ‘funky green gibberish soup’ as I read Python code.

  • My Rust OS will never be finished (and it's a success!) - Julia Evans

    Not finishing your project doesn’t mean it’s not a success. It depends what your goals are the for the project! I wrote an operating system in Rust to learn, and I learned a ton. It’s not finished, and it won’t be.

Bookmarks [2014-03-12]

Bookmarks [2014-02-21]

Bookmarks [2014-02-12]

  • Learning to Code vs Learning Computer Science ← Terence Eden's Blog

    Learning to code is merely teaching people to spell.

    Computer Science is about what makes a poem beautiful, why alliteration is alluring, how iambic pentameter unlocks the secrets of Shakespeare.

  • Need a Project Idea? Scratch Your Own Itch

    how do you determine a need that isn't being fulfilled and might be the basis for a project/business? Two ways. You could ask people what problems they have that you might be able to help solve, or (for introverts like me) examine what processes or services feel needlessly difficult in your own life.

  • Generating a portrait from a hair: The work of Heather Dewey-Hagborg | TED Blog

    Dewey-Hagborg’s work is super interesting, not to mention searingly contemporary. “It’s a very accessible way for the public to engage with this new technology. It really brings to light how powerful it is, the idea that a hair from your head can fall on your street and a perfect stranger can pick it up and know something about it,” she says, adding: “With DNA sequencing becoming faster and cheaper, this is the world we’re all going to be living in.”

  • paperplanes. A Standing Desk Love Affair

    Standing up all day can be tough at first, but I'm much happier working like that. Plus, when you finally switch off at night, you'll feel like you've done more than just think and type.

  • OUseful Info: The Cost of Meetings - How Much Return on Investment Do YOU Get?

    If the counter is displayed during the meeting, then everyone can decide whether or not the meeting is generating a sensible return. Whoever has the courage to call off a meeting on the grounds it probably isn't worth it should get 10% of the expected meeting costs saved to spend on a project of their choice (no meetings allowed ;-).

  • 5 Ways To Burn Out Programming

    In short, it's easy to burnout. Do these 5 things, and you can burnout too.