Blog
C#|.Net Performance Considerations
At work i am currently busy implementing a so called "WebService" (in my case a xml file is send via HTTP POST method to me and i have to return an accurate response).
During this and out of general interest i searched for C# and performance related best practices. A quick google search turned up the following chapter Improving Managed Code Performance of a Microsoft publication which might be quite interesting.
Marc
Converting a hg Repository to git
Okay it seems that lately i am spending quite a bit of time with various tasks in different source control mangement systems.
Today i decided to switch my little qemu-gui project from hg to git. The only reason is that i can use the public git hosting offerings of repo.co.cz. First i tried to convert the repository with tailor, however for some reason i couldn't make it work within 5-10 minutes. So i gave hg-to-git a chance and it worked immediately.
So there is now a public git repository online for qemu-gui.
Marc
Moving a Subversion Repository from one Server to Another
Today at work i had to move a SVN repository from my local virtual server to another company wide accessible one. The following worked quite well.
svnadmin dump /path/to/repository > repository.dumpThen optionally compress the resulting dump and transfer it to the other machine via preferably with scp. On the remote machine do the following:
cd /path/to/new-repository
svnadmin create repository-name
svnadmin load repository-name < repository.dump
By the way, you probably ask why we don't use a modern distributed version control system. The answer is that most development actually still happens within CVS (*outch*) and we are a near windows-only shop so TortoiseSVN comes in handy for most peoples here who are too scared to actually touch the command line.
PS: yes i should blog a bit more, but had to do other real life(tm) things recently hope this improves over time.
So long, Marc
It is done -- I passed my exam with a final score of 5.6
So it's true today i received my exam results and i passed with a final score of 5.6 (the maximum is 6.0 for those of you who are not familiar with the swiss education system). So after 4 years of my apprenticeship i can call myself an "Informatiker (Modular)". Whether i actually learned a lot through the school is another question ;)
But anyway i am looking forward to next thursday where my degree party is taking place in bern.
Marc
Pixy a XSS and SQL-Injection Scanner for PHP
LWN mentioned Pixy a XSS and SQL-Injection Scanner for PHP which looks quite interesting.
From a quick overview over the project page, it seems that it uses data flow analyze to mark potential insecure section where external variables are used without care and prior data validation.
Didn't really test it though and therefore don't know about false positive and so on. But it is certainly worth a closer look, unfortunately i currently don't have time but who knows maybe someday when PHP5 is supported it will become handy.
Marc
