Ikanobori Weblog

April 8 2009

Python. Sum of file, generators vs list comprehensions.

Advanced Python users might know generators and generator comprehensions, this article is meant for people who are just getting started with Python and want to speed up some of their tasks.

Firstly I’ll start off with a little introduction of what list comprehensions are. List comprehensions are a nifty little syntactic sugar to make the creation of lists a lot easier. Read more…

March 21 2009

The Nambu Twitter client. For Mac.

Twitter. I’ve been using it very little since I created my account, mostly due to the fact that I could not find a suitable desktop (or laptop) client for Mac OS X.

But now I have found one, it’s called Nambu and it has all those nifty features you want and it runs natively in Mac OS X. You can search the Twitter network and most important of all, you can use it to update and follow all things associated with multiple accounts.

I currently have about six or seven accounts in Nambu, two for Brutal Penetration, one is my own and one is for Neverhood Clothing, a little clothing brand a friend and me have been running for a few years now.

Hope you’ll try it out, it’s being actively updated by it’s creators who are very helpful (on Twitter, offcourse).

March 21 2009

Moved my weblog.

So I’ve moved my weblog to this new kinky japanese domain which also fits my username as I use it on the freenode irc network.

Please be so kind to update your bookmarks and/or links to my weblog.

December 22 2008

My new font of choice.

I have always been a sucker for Courier New but now something new has crossed my path. A coding font I actually like more then Courier New. A font which is so readable it practically reads itself.

It is called Envy Code R. See for yourself.

My VIM.

My VIM.

If you are interested in using this font you can find it on the creators weblog.

December 15 2008

SEO and your blog. More social.

Ask About PHP has put up a article about how to market your blog to search engines. I would like to add a few points of my own to their already comprehensive list which will get you noticed. Read more…

December 15 2008

Caching. Important time-saver.

Caching. It can be done on almost everything. File systems, databases and websites, to name a few.

In the ever faster and ever more dynamic internet world it might seem that caching would eliminate dynamic content.  It does not. Caching is very useful in lowering the amount of requests and could potentially save you and your client a lot of time and/or bandwidth. Read more…

December 14 2008

Reducing the amount of requests.

Minification is a subject which comes from my heart. In this article I will talk about reducing the amount of requests to let your sites load faster.

As I wrote in my previous article minification can lead to a 90% decline in the time it takes to load a page on a clients computer. One of the main points to get this speed-up from is by cutting in the amount of requests a client needs to execute to load the total page. Ideally we should get this down to under 10 requests, however, that might not always be possible.

Read more…

December 13 2008

Fibonacci, Tribonacci and so forth.

If you are a bit serious about coding, or maybe you read the Da Vinci code, then you might know about the Fibonacci sequence. In this sequence every next number is the sum of the two previous numbers. The Fibonacci sequence begins with 0, 1, 1, 2, 3, 5, 8, 13, 21 etc.

We can extrapolate this to make our own Fibonacci sequences. Something like a Tribonacci sequence which takes the sum of the previous three numbers to come up with the next number. It would look something like 0, 0, 1, 1, 2, 4, 7, 13 etc.

Read more…

November 28 2008

allRGB

Our computers use the colors RGB (Red-Green-Blue) in a mix to show you all the colors you see on your screen today. In total a computer can show you 16777216 different colors.

A colleague of mine took this fact and created a website dedicated to using all these colors in a single image, only once. His website is allRGB and it is getting quite some blog coverage if I might believe Google. He even had some coverage on a German web-tv show. Read more…

November 10 2008

Installing Django 1.0.

I had fiddled with Django before. At version 0.96 to be precise. After the release of version 1.0 I immediately got the jibbies to try it out. Read more…