Combine cymatics on non-newtonian fluids, and evolutionary programming

At youtube there is a movie about cymatics and it shows a guy (Collin?) using a non-Newtonian liquid (corn starch) to produce forms. The movement makes the liquid go solid, building a base. At the top, the liquid doesn't move that much anymore and forms a solid again. This combines into a sort of fountains running around in a huddled mass.

Ubuntu staring to become money hungry?

It seams that Ubuntu is starting to become a real company: grab money where you can!

Version of Firefox 3.0 (3.0.12+build1+nobinonly-0ubuntu2 by Alexander Sack ) in Ubuntu introduces some new money grabbing features, all part of the "installed by default" Multisearch plugin:

  • Searching with the top-right Google plugin is hijacked and sent to the Ubuntu start-page search
  • Using search terms in the location bar is hijacked and sent to the Ubuntu start-page search
  • Opening a new tab will show the Ubuntu start-page search box instead of whatever you set in the Preferences.

All of these features are installed to create a maximum number of hits on the custom search of Ubuntu, which through the Adsense setup and the partnering keys (partner-pub-2070091971271392:getzo5-xcfi) will push as much traffic (aka money) to Ubuntu.

DevHTTP: those things every developer already has

I've decided to give POST based automated file uploading a try as part of another thing I'm thinking about doing.. so I needed something to test and validate my new code. One of those server side scripts that every developer already has, in PHP it would be:

print_r($_GET);
print_r($_POST);

Something like that.

First Django site: StopMD5.com

My first Django based site is up! I'm still exploring this whole Django thing and I'm not sure I should leave mod_python debug on, but we'll see. The site is a LOL time-waster called http://stopmd5.com

Re: Why linux is not (yet) Ready for the Desktop

This is a reply to http://linuxfonts.narod.ru/why.linux.is.not.ready.for.the.desktop.html (v0.2.2)

I'll leave out the points mentioned as "(Being resolved)" and for the rest, I'll follow the same order as the original author. And before I begin, I must say it was a well written list and I think there are a lot of places where programmers really need criticism like this or more proper project management to get the quality everybody is looking for.

And now for the list.

A nice Python typo to have

I had this typo in my code, and it gives you the weirdest errors ever:

translation = range(20)
translation = [[i, str('Number %i' % i)] for i in range(20)]
print 'Translations set: ',[i[1] for i in translation]

#Split the list, so we only take the upper part
firstN = 5
print 'First %i translations' % firstN, [i[1] or i in translation[:firstN]]

If you have not seen the typo yet, what would you expect the output to be? The output is...

Why enlightenment?

The OpenMoko mainstream development branch has decided to go with Enlightenment as their main driver behind their GUI toolkit. More precisely, they are developing a new collection of libraries specially for mobile devices. Om2009 is going to be the first release which used Paroli with an FSO back-end.

Choosing FSO is a great thing to do and because almost all the distributions are now using it (or planning to) the bug reports and development effort has finally found a central point to converge.

Theora and Vorbis things everybody should know about

Here are just a few things I think every open standards loving geek should know about:

Python default arguments for C++ developers

Jumping into a new language can be allot of fun, but your pervious experiences may hurt you more then they help. A good example of that is jumping into Python with C++ experience and trying to use default arguments. Simply enough you say, after doing some of

def fun(a = 0):
  print a
  a = 10
  print a

fun()
fun()

You can sit back and think you have seen that all before. However, today I discovered there is actually a twist here. What do you think the following code will produce?
def fun(a={}):
  print a
  a['hello'] = 'good'

fun()
fun()

Will the hello ever appear on the standard out?

Linux one liner: Create an ISO image from the contents of a directory

Create an iso image from the contents of a directory:

mkisofs -hide-joliet-trans-tbl -l -J -f -T -r . > "../directory_dump_`basename $PWD`.iso"

When run in a directory (say tmp) it will create a file called directory_dump_tmp.iso one directory higher, which will contain the contents of the tmp directory in it's root.

Syndicate content