Computer

Started with Moose

Since my early Perl days decades ago, wow, it's really more than a decade ago, probably two, since I started programming with Perl, I thought about OO style.

OK, frankly not in the first years, because the scripts were small and mastering the language the main challenge. But with time passing by the projects grew and the need for nice interfaces, clean and maintainable code grew as well.

Themen:

Development:

Replace tabs with spaces in Emacs

In fact this is just a re-post of Julien Palards blog entryEmacs: replace tabs with spaces. I just want to keep it for my personal memory:

Themen:

SVN: Relocate all subdirectories

I had to change the location of a SVN server for quite some working copies since we migrated from Subversion 1.4.6 to 1.7.1 and change the protocol from svn to http.

  1. for dir in $(ls); do 
  2.     if [ -d $dir ]; then 
  3.         echo "Processing $dir"; 
  4.         cd $dir; 
  5.         url=$(svn info| grep URL | grep "svn://" | sed 's#URL: svn://old-server/path/to/##'); 
  6.  
  7.         if [ "x$url" == "x" ]; then 
  8.             cd ..; 
  9.             continue; 
  10.         fi; 
  11.  
  12.         echo $url; 
  13.         svn relocate <a href="http://new-server/new/path/to/">http://new-server/new/path/to/</a>$url; 
  14.         cd ..; 
  15.     fi 
  16. done

Themen:

Development:

minTTY: A usable terminal for Windows

From time to time I get re-bound to an operating system that's not my favourite: Windows. This time it's in the Windows 7 incarnation. OK, I have to admit that there are some nice features, but that doesn't really pays the bill of everything else I have to bear.

What I do at first is to install Cygwin which relieves the pain a bit. Still, I was not really satisfied with Windows command line based shell, it doesn't feel right. There are so many rough edges that it's no fun to use.

Themen:

Development:

Resolve incoming conflicts with SVN automatically

OK, you might expect that I have the killer tool that really solves merge conflicts automatically, but this one-liner is much simpler.

I sometimes update my local sandbox from the SVN repository and it happens that I get merge conflicts for some reasons. Mainly this happens for XML files that are re-ordered internally although having the same content in fact.

Therefore I regularly face the problem that I could simply solve the conflicts by accepting all incoming versions or by staying with mine.

This one-liner helps here

 

Development:

Themen:

Linux:

Total Commander and lightning fast deletion

My collegue Martin gave me the hint that setting

Themen:

Started with jQuery

Since I needed a good Javascript library to ease some of the daily Javascript stuff one has to fight with I decided to start with jQuery.

I used mootools already in another project, but the discussion with my co-workers lead us to jQuery finally.

I haven't used it in depth so far, but at a first glance it looks quite usable to me and the number of availible extensions is quite huge. However you have to have an in depth look about the age of the plugin as usual.

Development:

Updated Debian Lenny eAccelerator packages again (AMD64)

And again there are some updated packages for eAccelerator 0.9.5.3 on Debian (AMD64)

If you update the packages using my repository you'll get them anyway.

Update: I finally created the 0.9.6 packages for AMD64.

Development:

Linux:

Internet:

Backporting Subversion 1.6 to Debian Etch

Unfortunately I've to use a machine running Debian Etch. Yes, that's pretty old and it should definetily updated to Lenny asap, BUT I'm not the admin... *sigh*

It's getting even harder since we'd like to use Subversion 1.6 on that machine for some reason. Firstly because of the better reintegration mechanisms compared to 1.5. Therefore I'm trying to backport the current Squeeze packages to Etch.

Development:

Themen:

Linux:

VirtualBox: Slow network, bad checksums and retransmissions

OK, I've to admit that I still use Windows for some tasks, even worse it's Windows Vista. The good point is that I use a virtualised version running on VirtualBox.

Unfortunately I faced some trouble with my network connection being quite slow while accessing network drives and internal server while the internet seemed to work very fine. I got so annoyed meanwhile that I started an investigation with Wireshark and figured out that I have lot's of error messages.

Themen:

Pages

Subscribe to RSS - Computer

Syndicate

Subscribe to Syndicate