Parsing JavaScript with JavaScript

Nov 11 2011 Published by under A tech a day

Over the weekend I started working on llamaduck- a simple tool that aims to figure out whether your code will run on the newly released node 0.6.0. Eventually it might be able to perform other compatibility assessment tasks as well, but I’m focusing on simple stuff first. Or at least I thought it was simple. [...]

5 responses so far

I learned two things today 27.8.

Aug 27 2011 Published by under I learned two things today

Today I learned that jet lag is a much uglier beast than I ever anticipated. I don’t remember having this much trouble last time I came back from the US; perhaps because I wasn’t there for as long and the different timezone didn’t seep into my sleep cycle as much? All week I’ve been getting [...]

Comments Off

node-unshortener can unshort any url

May 21 2011 Published by under Coding

Lately I’ve been spending my evenings and nights working on a super secret and above awesome project that I will talk about … soon, when it’s a bit more ready. tl; dr -> github link to source That project deals mostly with Twitter and harnessing url’s from the stream. As anyone who’s sniffed at Twitter [...]

5 responses so far

Doing nothing is the hardest thing ever

Oct 04 2010 Published by under Insanity

Image via Wikipedia Here’s the situation: at my startup (Preona) we’re pushing to submit the final-ish version of LazyReadr to the App Store. We thought we’d be finished last Friday. Then we thought we’d manage to finish by Sunday. Now we believe we’ll have a reasonably crossed-out TODO list on the whiteboard by Wednesday or [...]

2 responses so far

Programatically uploading to blobstore in python

Aug 10 2010 Published by under Coding

Officially this is something that cannot be done. Or rather that shouldn’t be done. When you look at the google appengine docs on “uploading to blobstore” this is what they have to say: Blobs are useful for serving large files, such as video or image files, and for allowing users to upload large data files. [...]

Comments Off

Django protip #2: Forms are awesome

Aug 03 2010 Published by under Coding,Django Protip

Image by warrenski via Flickr Welcome to another installment of Swizec’s Django protip. Previously we discussed a better way to structure your django apps, but nobody cared about that because everybody is rather silly. This time we’ll be talking about how awesome forms are and why you should be using them for pretty much everything. [...]

3 responses so far

Django protip #1: A better App structure

Jul 21 2010 Published by under Coding,Django Protip

Image via Wikipedia When I started coding for our latest project at Preona a bit of an epiphany happened. I suddenly got django. Every pattern that used to feel a bit strange and I may have fought a little, suddenly became obvious and simple. Suddenly out of the blue my whole codebase is so marvelously [...]

3 responses so far

Small trick for seamless base64 password storage in django

Jul 14 2010 Published by under Coding

Image via Wikipedia These days even the noobiest of the noobs know that passwords should never be stored in plain-tect on the server. For various good and bad reasons, but the gist of it is security through obscurity. What a few less people know is that base64 is the same as plaintext. Not only is [...]

4 responses so far

Python multiprocessing is fucking sweet

Jan 18 2010 Published by under Uncategorized

Image via Wikipedia You know how it is said every programmer needs to learn how to do parallelisation and funky stuff on multi-core multi-processor beast of machines? And how such machines aren’t even really beasts these days, they’re our run of the mill desktop and portable computers. This is the world we live in. It’s [...]

Comments Off

« How ikigai has changed my style Why bigger penis == bigger... »