blog.amir.rachum.com blog.amir.rachum.com

You Can't Handle the Truth!

I got a chance to review some other people’s Python code recently, and there’s one comment I almost always have to give, which is: if x and if x is not None are not the same!corollary: if not x and if x is None are also quite different, obviously. This usually happens when someone assigns None to a variable (say, x) as a sentinel value, and then x may or may not be assigned to. The test is designed to check whether or not x was...

lethain.com lethain.com

Why Pagination Was Hard at Digg

My previous coworker Can Duruk recently posted an excellent article covering some web development tips he picked up working at Digg. One of his comments about pagination provoked some confusion on Hacker News. How could, one wonders from their comfy armchair, someone who works at a so-called "internet company" be so incompetent as to have trouble with pagination? First, let's take a look at Can's comment: Counts are hard....

sitepoint.com sitepoint.com

Outsource Your Marketing and Drive Traffic to Your Site

As a startup founder, your time is incredibly limited. You’ve got to juggle working on your product, customer service, hiring, and the day-to-day admin of running a company. The more you can outsource your workload, the more time you can spend on important things like building a great company. So why not outsource your marketing? Here are five things you can do today to outsource marketing for your website and increase sales. 1....

blog.openinnovation.net blog.openinnovation.net

Retraction #6

Retraction #6 for Ulrich Lichtenthaler has been announced at the Journal of Management Studies. As with retractions #1 and #5, it was announced as being by mutual agreement:The following article from the Journal of Management Studies, The Impact of Accumulating and Reactivating Technological Experience on R&D Alliance Performance by Holger Ernst, Ulrich Lichtenthaler and Carsten Vogt, published online 17 March 2011 on Wiley Online...

theme templates

The Freelancer - Themeforest Premium Grunge Portfolio 2 in 1

The Freelancer is a grunge style template and it’s suitable for web freelancers out there. It has a 2 columns and a wide page. The footer sticks at the bottom of the page. It has an auto-play slider for featured projects. It has a jquery lightbox for the image large preview. Contact form is ready to use.Demo: http://themeforest.net/item/the-freelancer-premum-grunge-portfolio-2-in-1/52264 ...

changelog.complete.org changelog.complete.org

Voice Keying with bash, sox, and aplay

There are plenty of times where it is nice to have Linux transmit things out a radio. One obvious example is the digital communication modes, where software acts as a sort of modem. A prominent example of this in Debian is fldigi. Sometimes, it is nice to transmit voice instead of a digital signal. This is called voice keying. When operating a contest, for instance, a person might call CQ over and over, with just some brief gaps. Most...