Moertel - blog.moertel.com - Tom Moertel's Blog

Latest News:

Tricks of the trade: Recursion to Iteration, Part 4: The Trampoline 12 Jun 2013 | 05:00 am

Posted on June 12, 2013 Tags: programming, recursion, iteration, python, recursion-to-iteration series, tail calls, data structures, trampolines This is the fourth article in a series on converting ...

Tricks of the trade: Recursion to Iteration, Part 3: Recursive Data Structures 3 Jun 2013 | 05:00 am

Posted on June 3, 2013 Tags: programming, recursion, iteration, python, recursion-to-iteration series, tail calls, data structures This is the third article in a series on converting recursive algor...

Lazy merging in Python using streams 26 May 2013 | 05:00 am

Posted on May 26, 2013 Tags: programming, python, iterators, streams, SICP, functional programming Recently while solving a programming puzzle in Python, I needed to merge a series of N iterators, e...

Tricks of the trade: Recursion to Iteration, Part 2: Eliminating Recursion with the Time-Traveling Secret Feature Trick 14 May 2013 | 05:00 am

Posted on May 14, 2013 Tags: programming, recursion, iteration, python, google code jam, puzzles, recursion-to-iteration series, tail calls This is the second post in a series on converting recursiv...

Tricks of the trade: Recursion to Iteration, Part 1: The Simple Method, secret features, and accumulators 11 May 2013 | 05:00 am

Posted on May 11, 2013 Tags: programming, recursion, iteration, python, google code jam, puzzles, recursion-to-iteration series Alternative title: I wish Python had tail-call elimination. Recursive...

Odds and the evidence of a single coin toss 4 Mar 2013 | 05:00 am

Posted on March 4, 2013 Tags: probability, odds, bayesian, coin-toss-problem, reasoning, evidence A while ago I wrote about how to update your beliefs in light of the evidence contained within a sin...

The second-order-diff Git trick 18 Feb 2013 | 05:00 am

Posted on February 18, 2013 Tags: git, diff One of the things that Git makes safe and practical is bulk editing by way of “sledgehammer-and-review”: Apply some powerful (but potentially dangerous) ...

Mounting a Nexus 7's filesystem under Fedora 17 15 Nov 2012 | 08:55 pm

This is mostly a note to myself, but I’m sharing it in hopes that it might help someone else. Here’s how to mount the filesystem of a Nexus 7 tablet under Fedora 17. It will probably work for other F...

Mounting a Nexus 7's filesystem under Fedora 17 15 Nov 2012 | 05:00 am

Posted on November 15, 2012 Tags: mtp, fedora, nexus, nexus7, simple-mtpfs This is mostly a note to myself, but I’m sharing it in hopes that it might help someone else. Here’s how to mount the file...

Test like you're betting for your life 16 Apr 2012 | 10:28 am

In software, as in life, every problem you solve is actually part of a larger problem, an optimization problem in which you are trying to squeeze as much as you can from a single scarce resource: your...

Recently parsed news:

Recent searches: