Category Archives: Programming

Posts about programming topics

Premake4 snippet to create solution names depending on target Visual Studio version

I prefer to name my solutions and projects something like projectname.vsX.sln and projectname.vsX.vcproj respectively. However, by default Premake4 generates the names as they are passed to the builtin solution and project functions respectively. Not cool enough for me. By the … Continue reading

Posted in EN, Lua, Programming, Software | Tagged , | Leave a comment

Google Code now only via login …

Google Code apparently requires logging into your Google account now before you can do anything. Well, good for them. Makes the use of svnsync and similar tools impossible, especially in unattended scenarios. Byeeeeeeee … svnsync: OPTIONS of ‘http://fuzzdb.googlecode.com/svn’: authorization failed: … Continue reading

Posted in EN, Programming, Thoughts | 1 Comment

German federals looking for trojan author – still

The German federals (BKA = Bundeskriminalamt, roughly the German equivalent to the FBI in the US) are still looking for someone with the qualifications to write what had been dubbed “Bundestrojaner” (literally: federal trojan) in 2008. This means that first … Continue reading

Posted in C/C++, EN, IT Security, Reversing, Software, Thoughts | Tagged , , | Leave a comment

One of the oldies …

Metager was one of the first meta-search engines (obviously) for me at the university. Now I found out that they also have a neat code search at code.metager.de. Wicked! // Oliver

Posted in EN, Programming | Leave a comment

Another interesting site for me

unlicense.org with advice how to dedicate one’s own code to the public domain …

Posted in EN, Programming, Software | Leave a comment

Annoyance in the Windows SDK headers

Today I ran into the following error: Error 1 error C2733: second C linkage of overloaded function ‘_interlockedbittestandset’ not allowed $VCDIR\include\intrin.h 944 Error 2 error C2733: second C linkage of overloaded function ‘_interlockedbittestandreset’ not allowed $VCDIR\include\intrin.h 945 Eeek, what’s going … Continue reading

Posted in C/C++, EN, Programming | Tagged , , , , , , , | 3 Comments

Raspberry Pi shipping …?

Seems the first batches went to Farnell and RS. I registered my interest at RS already, let’s see. Seems like the demand is way above supply, so it’s pure chance. Besides, it appears that they sell only one per person … Continue reading

Posted in EN, Linux, Programming, Software, Unix and unixoid | Tagged | Leave a comment

Thank you, whoever you are. Thank you sooo much!

Finally someone says it. Finally! gitvsmercurial.com Quote: Who the FUCK cares? Use what YOU like, not what someone on the internet tells you to. I wholeheartedly agree. Except when read vertically

Posted in EN, Programming, Software, VCS | 2 Comments

prune-kernels function …

If you are like me, you will have noticed on Ubuntu (and sometimes Debian) that stale old kernels remain on the disk even when they aren’t needed anymore. I wrote a little Bash function to get rid of those kernels. … Continue reading

Posted in Administration, Bash, EN, Linux, Programming, Unix and unixoid | Tagged | Leave a comment

Not used often enough in my opinion

Often people put on a condescending smirk when they hear that I still have to use CVS, let alone Subversion, in some projects. In numerous projects I have seen the performance of CVS and that of Subversion and it is … Continue reading

Posted in EN, Programming, Software, VCS | Tagged , , | Leave a comment

Selecting the editor on Debian/Ubuntu non-interactively

Set the selected editor on Ubuntu/Debian for yourself and root in one line: echo ‘SELECTED_EDITOR=”/usr/bin/vim.nox”‘|tee $HOME/.selected_editor| \ sudo tee /root/.selected_editor or echo “SELECTED_EDITOR=\”$(which vim.nox)\””|tee $HOME/.selected_editor| \ sudo tee /root/.selected_editor // Oliver

Posted in Bash, EN, Linux, Programming | Tagged , | Leave a comment

by the way …

Convenient little snippet to get my external IP: echo $(wget -q -O – ip.assarbad.net/text)

Posted in Administration, Bash, EN, Linux, Unix and unixoid | Leave a comment

Small problem with CVS …

Today I was trying to check out from a CVS repo like this: [1] oliver@foobar:~$ cvs -d :ext:oliver@cvs.domain.tld:/cvs/path-to-repo co module connect to address 172.16.1.1: Connection refused Trying krb4 rsh… connect to address 172.16.1.1: Connection refused trying normal rsh (/usr/bin/rsh) cvs … Continue reading

Posted in EN, Programming, VCS | Tagged | 2 Comments

canyoucrackit.co.uk – yes we can ;)

So the British Government Communications Headquarters (GCHQ) wants to recruit smart people. Well, there should be enough around. Although they seem to look for some 1337 h4x0rz, not some serious people from all indicators. The original one (MD5: 1585DFECC90AE7549814DCE52CA4EDDA) filled … Continue reading

Posted in C/C++, EN, Germans have no notion of sarcasm, Programming, Reversing, Software | 1 Comment

I’m blind (I think)

Now don’t get me wrong, I love to use GNU make on all the unixoid platforms where I have to use it and I have been using it for some advanced stuff on Windows as well. But honestly, when has … Continue reading

Posted in C/C++, EN, Programming, Software, Thoughts | Tagged , | Leave a comment

CVS and SSH on a very old machine …

Had trouble getting it to work with ancient versions of ssh (OpenSSH_3.1p1) and cvs (Concurrent Versions System (CVS) 1.11.20). Until I figured that I could write a little wrapper script to see what’s wrong. The wrapper script looked like this: … Continue reading

Posted in Bash, Linux, Software, Unix and unixoid, VCS | Tagged , | Leave a comment

FLOSS not sustainable for companies?

A few weeks ago I reported about ksplice whose Git repository had disappeared. Now the same happened for Likewise Open which was bought by BeyondTrust. After renaming the repository and moving its location from git://git.likewiseopen.org/likewise-open.git to git://git.likewiseopen.org/bt-identity-open.git it now also … Continue reading

Posted in Administration, EN, Linux, Software, Thoughts, VCS | Leave a comment

“Signs that you are a bad programmer”

This list is interesting and certainly contains some valid points, but I’d argue that some of the symptoms may also be a sign that you are simply maintaining legacy code that has outlived its life-expectancy for too long and perhaps … Continue reading

Posted in C/C++, EN, Programming, Software, Thoughts | 1 Comment

Two years later (update)

A new version of TortoiseCVS is available. Since I have largely parted with CVS, I just noticed now. Well, the issue reported in 2008 and closed as fixed is still not fixed. The respective piece of code looks exactly the … Continue reading

Posted in C/C++, EN, Programming, Reversing, Software | Tagged , | Leave a comment

StartSSL code signing certificate

Today I want to explain how to get the StartSSL code-signing certificates into a state that is usable for signtool. It is an affordable solution for individuals that would rather sign the code they publish. I bought one this week … Continue reading

Posted in EN, IT Security, Programming, Software | Tagged , , , , , , , , | 11 Comments