make: just a remark for filter-out

26. Februar 2010

In Makefiles there is a nice command, called filter-out. This command takes 2 Arguments: first, the needle you want to filter out, second the haystack where it is in.
This was exactly what I needed. But everytime I tried it, it returned an empty string. The solution was too easy… make doesn’t complain if you write it with an underscore instead of a hyphen – and in makepp its written with a dash, so you will also get good looking Google results :-)

Thanks to Philip on gnu.make.bugs for pointing this out.

programming ,

JavaScript: numbers with decimal (thousand) separator

17. Februar 2010

Today, I needed a JavaScript function that converts a number like 1234567 to something more beautiful like 1.234.567. And because I didn’t need to take notice of locale settings (like using a comma instead of a dot) most solutions on the web where just too much for me and I decided to write my own. Mehr…

programming ,

myrescue: Abbild von defektem Datenträger erstellen

10. Februar 2010

Egal ob Diskette, CD oder Festplatte. Kein Datenträger ist vor einem Defekt geschützt – doch wie geht man vor sobald dieser auftritt?

Hier stelle ich eine Möglichkeit vor, welche ausreichend Platz vorausgesetzt – zumindest das meiste noch lesbare aus einem Datenträger “herausholt”. Das Ganze erfordert ein wenig Linux Kenntnisse (also notfalls diesen Artikel speichern und jemandem geben der damit Erfahrung hat). Mehr…

linux ,

PC: Core 2 Duo E7500, MSI G41M4-F, GeForce GT 220, 4096MB RAM

10. Februar 2010

Von Zeit zu Zeit wünschen sich Verwandte und Bekannte einen neuen PC. Da dies immer mit etwas Zeitaufwand zum Suchen der passenden Komponenten verbunden ist, möchte ich hier eine neue Kategorie einführen um interessierten Lesern fertige Zusammenstellungen zu präsentieren bzw. deren Probleme aufzudecken.

Die erste Vorstellung ist diesmal ein Intel Core 2 Duo mit 2x 2.93GHz. Mehr…

PC

Lob: Western Digital Support

5. Januar 2010

Vor rund einem Monat hat das Netzteil meiner WD Elements (1TB) den Geist aufgegeben. Da ich zum Glück noch von einer anderen Platte ein Netzteil “rumliegen” hatte, konnte ich ausschließen, dass die Platte selbst einen Defekt hat. Da die Platte noch in der Garantie lag, wandte ich mich an den Support. Mehr…

misc

In Brief: Linux 2.6.32 – KSM and KVM

1. Januar 2010

Can you imagine to have 52 Windows XP virtual machines – 1GB RAM each – running on a server with just 16GB? Ok, sounds a lot… but we are near the 16GB barrier. Anyway, this is one of the features in the new 2.6.32 release. Its called Kernel Samepage Merging, KSM. Mehr…

linux, programming, windows , , ,

Strommessung: Analogen Zähler aufzeichnen und auswerten

11. Dezember 2009

Messwerte erfassen, speichern und auswerten – in der Industrie gang und gäbe, im Privathaushalt eher kaum zu finden. Da es doch für manche interessant ist zum Beispiel den Stromverbrauch täglich zu sehen und eventuell große Verbraucher ausfindig zu machen wäre es nun auch schön, einen handelsüblichen Zähler zu digitalisieren. Die Stromwerke machen es einem dabei jedoch meist nicht einfach. Mehr…

linux, private, programming ,

btrfs: Zeitgemäße Backups unter Linux.

6. Oktober 2009

Die Entwicklung des Butter-Dateisystems btrfs schreitet zügig voran und vielleicht können wir schon bald auf ein zeitgemäßes Dateisystem zurückgreifen mit welchem inkrementelle Snapshot-Backups Realität werden. Das gibt es schon? Mehr…

linux , ,

Ubuntu 9.10: Featuring the S.M.A.R.T. Notifier

23. September 2009

A new base feature from Ubuntu 9.10 is the S.M.A.R.T. notifier which informs you whenever your harddrive reports an error. Before Karmic Koala you had to install smart-notifier which does the same job but was not in the base distro. Screenshot after the break… Mehr…

linux , ,

arm: remove thumb instruction “bx lr” from EABI binary

14. September 2009

Today I had a strange error using the GCC version 4.4.1 with EABI support on a non thumb-ARMv4. Everytime I compiled something, with and w/o the -mno-thumb-interwork parameter it also contained the bx lr instruction which is only for later ARM processors with thumb support. Mehr…

linux, programming , , , ,