Category Archives: Programming

Posts about programming topics

Fully static build of tmux using libc-musl for Linux

Find a script that does the job here. It will download the source packages if they do not already exist and then unpack them into a subfolder of the current directory named tmux. Then it will one by one compile … Continue reading

Posted in C/C++, EN, Linux, Programming, Unix and unixoid | Comments Off

Git once again honors its name #2

Why is it that: $ git rev-parse –symbolic –branches gives me a perfectly parseable output when the more logical $ git branch -l gives me an extra “remark” ala: * (detached from v1.0.0)? The objective was to find out whether … Continue reading

Posted in EN, Programming, VCS | Comments Off

Git once again honors its name

So I created a bundle using git bundle create bundlename.bundle –all and when cloning from it I get loads of warning: unrecognized header …. Looking at the bundle file it’s obvious that data from the repository file contents has leaked … Continue reading

Posted in EN, Programming, VCS | Comments Off

Laughing out loud

This tells more about RMS than about Clang/LLVM which is a great piece of software. // Oliver

Posted in C/C++, EN, Opinion | Tagged , | Comments Off

What’s the hype about VS 2010 through 2013

Finally I’ve gotten around to work a bit more with those versions. They are nice with PTVS, but heck they’re unstable. I encounter frequent crashes and hangs with all of those versions as well as slowness compared to VS 2005 … Continue reading

Posted in C/C++, EN, Opinion, Programming | Comments Off

Refreshed the binaries for arrived, lsads and looklink, updates to looklink

You can download all of them on Bitbucket: arrived looklink lsads looklink now also understands “placeholder files” introduced with Windows 8.1 which are placeholders for files on a linked SkyDrive that are marked online-only. All executables are code-signed and a … Continue reading

Posted in C/C++, EN, Programming, Software | Tagged , , , | Comments Off

For anyone who uses premake4 and needs an up-to-date binary

A code-signed binary is included in the ZIP archive available here. All contents are signed using PGP as well, so they can be verified using the following command line (replace gpg for gpg2 depending on your version): gpg –verify signature.asc … Continue reading

Posted in C/C++, EN, Lua, Programming | Comments Off

Re: Let us hope this pans out for the PSF

Great news: Settlement reached in Python trademark dispute

Posted in EN, Python, Software | Comments Off

Let us hope this pans out for the PSF

Read the article over here: Python trademark at risk in Europe: We need your help!. I really hope this backfires so hard that no one else will try similar things on well established names that have been spread by non-profit … Continue reading

Posted in EN, Python, Software, Thoughts | Comments Off

In which Hg repo is the hook getting executed?

REPOPATH=$(hg showconfig|sed -n ‘s/^bundle\.mainreporoot=//p’) Based on this, btw, I came up with the following hook in the hgrc file: [hooks] changegroup.bundlerepo = hg bundle -a $(hg showconfig|sed -n ‘s/^bundle\.mainreporoot=//p’)/.hg/bundled.hg The idea is to create a bundle with all revisions whenever … Continue reading

Posted in EN, VCS | Tagged | Comments Off

Mercurial woes

Today I stumbled over an awkward issue. Pulling from a repo mounted read-only I always got: searching for changes adding changesets transaction abort! rollback completed abort: index [filename] is corrupted! where the filename would differ. First I tried downgrading my … Continue reading

Posted in EN, VCS | Tagged | Comments Off

Tmux is great … (but how to build on Lucid Lynx?)

… only a few troubles to get it to build on Ubuntu 10.04 LTS Basically you’ll want libevent2, which doesn’t come in the package repos, so fetch it from here. Then you obviously fetch the tmux source via tmux.sourceforge.net and … Continue reading

Posted in EN, Linux, Programming, Software, Unix and unixoid | Tagged | 4 Comments

Bitbucket not accepting StartCom CA

After contacting the Bitbucket support, I now know that they don’t support the StartCom CA. The apparent reason is that they use the stock CA certs supplied by Redhat (no version was specified in the response). It’s a bit annoying, … Continue reading

Posted in EN, VCS | Comments Off

Some of my stuff now also on Bitbucket

Find it via bitbucket.org/assarbad/ or the vanity domain bitbucket.assarbad.net (only without SSL for obvious reasons). Yes, vanity domain. I’m soooo vain // Oliver PS: their usual home is at vcs.assarbad.net/mercurial.

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

Hope I got it right …

Here’s a little command line tool to retrieve the product key from a running Windows 8. It should also work on Windows XP through 7. I am releasing the code into the public domain. I hope I got it right, … Continue reading

Posted in C/C++, EN, Programming | Comments Off

Rather balanced

Mercurial vs Git: Why Mercurial? Git vs Mercurial: Why Git? And more goodness follows here.

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

Once again updated: looklink

As already in the past, I updated looklink again. This time it received two command line options, –verbose and –nologo and the CReparsePoint class was overhauled. One issue was fixed. CReparsePoint would behave improperly when being passed the current directory … Continue reading

Posted in C/C++, EN, Programming, Software | Comments Off

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 , | Comments Off

But it is

… that awkward moment when, upon your loading of the “Purchase” page for Visual Assist X, you are presented your own customer quote is kinda strange in a giggly way Still, even after more than six and a half years … Continue reading

Posted in C/C++, EN, Programming, Software, Thoughts | Comments Off

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