Other blogging software, again

It was time again to change the blogging software. Sorry if the newsfeed is showing old messages as new.

2009-08-27 21:37:00Z · Last edited: 2009-08-27 21:39:51Z

Nice Anti Register Globals Code

Found in Textpattern: if (@ini_get('register_globals')) foreach ( $_REQUEST as $name => $value ) unset($$name);

2009-06-06 16:45:00Z · Last edited: 2009-08-27 21:20:14Z

Benchmarks are merciless

JavaScript vs. PythonPHP vs. Python A number 1/4 for A vs. B means that B is 4 times slower than A. The Computer Language Benchmarks Game is more a community benchmark than a programming language benchmark. You get some ballpark figures that confirm what you already know beforehand: C++ is faster than Ruby :-) But it's still depressing to see that a current implementation of JavaScript is faster than Python.

2009-05-28 14:18:00Z · Last edited: 2009-08-27 20:04:12Z

IE is not a current browser!

It's an OS extension that got recently updated to support over 10 year old standards.

2009-04-10 15:39:00Z · Last edited: 2009-08-27 20:04:12Z

Bookmarklet for HQ Videos on YouTube

YouTube sometimes gives you an HQ button to switch to a version with higher quality. But not all videos have this button. You can add "&fmt=18" to the URL and most of the time the video is better than the default one. Or you can bookmark (or better drag and drop it on the bookmark toolbar) the following bookmarklet: YouTube-HQ This was done quick and dirty and may stop working tomorrow....

2009-04-02 14:25:00Z · Last edited: 2009-08-27 20:04:12Z

Yes, that's me

$ grep -r 'Stefan Scholl' /usr/lib/ruby/1.8 | wc -l 3

2009-03-01 00:28:00Z · Last edited: 2009-08-27 20:04:12Z

CodeIgniter likes the eval()

$ grep -r 'eval(' codeigniter/ | wc -l 20 Version 1.7.1. From the changelog: Fixed an arbitrary script execution security flaw Well, who would have expected that?

2009-02-28 00:20:00Z · Last edited: 2009-08-27 20:04:12Z

Old Perl Code

Uh, oh. Just found some old Perl code of mine. It's from 1998-05-31: [...] return undef unless defined($findit); return 1; } Well, in my defense: It's Perl. ;-) OK, this can't excuse it. But don't be afraid: The program isn't used anymore.

2009-02-09 12:50:00Z · Last edited: 2009-08-27 20:04:12Z

Hey, let's deploy this Python Web Application!

Please choose: Apache + mod_pythonWSGICGIFastCGIPython webserver Python webserver behind ProxySCGIjust give upBackground: A customer's hosting service has a nice table with all features that are available. Packet A and B don't allow Python and Ruby. But packet C does. Nice! Nice? They don't tell you which version of Python or how to use/deploy it.

2009-01-20 19:29:00Z · Last edited: 2009-08-27 20:04:12Z

Tcl Shocker

The article Tcl the misunderstood does a good job explaining most of Tcl's features. But some things can shock most programmers. Things that could fulfill the perverted dreams of a PHP user: $ tclsh % set a pu pu % set b ts ts % $a$b "Hello World" Hello World But don't let this stop you from learning/using Tcl.It's still a nice glue language.

2008-12-14 14:07:00Z · Last edited: 2009-08-27 20:04:12Z