Verschiedene Texte, die ich heute las und für sehr lesenswert halte:
Der Artikel Global Warming's Terrifying New Math von Bill McKibben verknüpft neue Zahlen zum Thema Klimawandel mit der Einsicht, dass wir es aller Voraussicht nach nicht schaffen werden, das Problem unter Kontrolle zu bekommen – es ist einfach zu lukrativ, jetzt weiter Öl zu verbrennen:
The Third Number: 2,795 Gigatons. This number is the scariest of all – one that, for the first time, meshes the political and scientific dimensions of our dilemma. ... The number describes the amount of carbon already contained in the proven coal and oil and gas reserves of the fossil-fuel companies, and the countries (think Venezuela or Kuwait) that act like fossil-fuel companies. In short, it's the fossil fuel we're currently planning to burn. And the key point is that this new number – 2,795 – is higher than 565 [the maximum number of gigatons the climate can abosrb without rising beyond 2 degress celsius]. Five times higher.
The top 10 tricks of Perl one-liners.
awk
braucht man schließlich nicht wirklich.
Kategorientheorie in Scala und in Haskell.
The bit.ly service requires some sort of registration or an API key for some time now. I used to use it in shell scripts to automate shortening of links.
Similar to the sprunge pastebin service, there's come up a new, easy-to-understand URL shortening service called gnzkrz (short for German "ganz kurz", "very short"). And with it's latest commit, it acquired a simple API. I use it as such:
#!/bin/sh
URL=`xclip -o`
SHORT=`wget -qO- "http://krzz.de/_api/save?url=$URL"`
(echo -n $SHORT | xclip -i -display :0 -loops 0 ) &
/home/feh/bin/notify-wrapper "krzz.de: switched URL in clipboard" "$SHORT"
Now I simply bind a hotkey to call this program, and it will exchange the URL from my X clipboard with a shortened version.
Convert 0x53
to binary, quick! – Now you start to think: In
which language could you implement a dec2bin
function within a few
seconds? Or just do it with pen and paper, old school?
But wait, there's poor man's dec2bin
!
$ echo -n "\x53" | xxd -b
0000000: 01010011
;-)