instapaper-stats is online
12 May 2012 (by Jan-Erik)
I mentioned the script I’m using for my instapaper stats here. And it’s now online: instapaper-stats
12 May 2012 (by Jan-Erik)
I mentioned the script I’m using for my instapaper stats here. And it’s now online: instapaper-stats
08 May 2012 (by Jan-Erik)
I am an actively user of the great Instapaper service. Instapaper is a great tool to save web articles for reading later. Even since I got my Kindle 4 back in December I let Instapaper sent each and every article I saved directly to it right in the morning. The first thing I do when I wakeup is starting the kindle to get the new issue so I can read it at breakfast.
Before I had the Kindle I had to read all saved articles on the PC (or my Smartphone) where the reading experience really sucks for long articles. My workflow was much different and I deleted most read articles instead of marking them as “read”. But since I use the Kindle for reading I always archive old articles.
Back in February I started to get some statistics on how much I really read (and yes, every article saved to my Instapaper accout I actually read), so here is my nice graph:

I started with 54 saved articles and I am now up to 234 articles. That makes 180 new articles read in just 77 days (my graph starts on 21.02.).
Most of the articles are coming from Hacker News and my twitter stream (maybe I should start some more statistics on the topics and which language I read most)
I use a simple script executed via cronjob to fetch the list of articles from Instapaper, but more on that later (I have to cleanup the script and then I can release it).
P.S.:
If you’re wondering what the 3 lines on the bottom of the graph are: the green one is the “Starred”-line (currently at 11 articles), the blue one is the unread count (mostly between 0-5 articles per day) and the purple line is the “saved”-folder (8 articles, which contains non-article links and is now more or less superflous as I have a Pinboard-Account)
07 May 2012 (by Jan-Erik)
Yesterday I had to implement Selection Sort for double-linked lists and I had some trouble finding the correct solution when it comes to swapping two elements.
But I finally figured out how to correctly swap the pointers and I’ll drop the code here so others can use it (or even tell me about hidden bugs)
I implemented it in Java, so see here:
25 Dec 2011 (by Jan-Erik)
I got a new Kindle 4 for Christmas.
I like to read, I like to read often and I like to read a lot. That’s why I hope this Kindle perfectly fits my needs. Another bonus point will be that it makes my printer mostly useless, as I can carry around my exercises in just one device (including the whole scripts and slides for the lectures).
For easy and fast sending of documents right down to my kindle I use my @kindle-address with this simple script:
Just list your files and they get send:
kindle docs/uni/afi_skript.pdf
Pass -c to let Amazon convert them first.
Some more links:
25 Dec 2011 (by Jan-Erik)
ifconfig is more or less deprecated and replaced by ip, which has a different syntax.
I cannot remember its full syntax everytime I use it and lookup the syntax over at tridex’ post.
But is just to much overhead if I just need one command. So I took half an hour today and “converted” it to a plain text version. You can find it at: http://tmp.fnordig.de/ip.txt
Or read here:
# original: http://tridex.net/2011-06-19/linux-netzwerke-ohne-ifconfig/
# text version by @badboy_ (fnordig.de)
| Alte Syntax | Neue Syntax | Erklärung |
+-----------------------------+------------------------------+---------------------------------------------+
| ifconfig eth0 up | ip link set eth0 up | Aktivieren der Netzwerkschnittstelle eth0 |
| ifconfig eth0 down | ip link set eth0 down | Deaktivieren der Netzwerkschnittstelle eth0 |
+-----------------------------+------------------------------+---------------------------------------------+
| ifconfig eth0 | ip addr show eth0 | Zeigen der IP-Adresse von eth0 |
+-----------------------------+------------------------------+---------------------------------------------+
| ifconfig -a | ip link | Zeigen aller Netzerkschnittstellen |
+-----------------------------+------------------------------+---------------------------------------------+
| ifconfig eth0 promisc | ip link set eth0 promisc on | Einschalten des Promisc-Modus |
| ifconfig eth0 -promisc | ip link set eth0 promisc off | Ausschalten des Promisc-Modus |
+-----------------------------+------------------------------+---------------------------------------------+
| ifconfig eth0 192.168.1.1 | ip addr add 192.168.1.1/24 | IP-Adresse zuweisen |
| netmask 255.255.255.0 | dev eth0 | |
+-----------------------------+------------------------------+---------------------------------------------+
| route | ip route show | Routen anzeigen |
+-----------------------------+------------------------------+---------------------------------------------+
| route add default gw | ip route add default | Default-Route hinzufügen |
| 192.168.1.10 | via 192.168.1.10 | |
+-----------------------------+------------------------------+---------------------------------------------+
| route del default | ip route del default | Default-Route löschen |
+-----------------------------+------------------------------+---------------------------------------------+
| route add -net 192.168.2.0 | ip route add 192.168.2.0/24 | Netzwerk-Route anlegen |
| netmask 255.255.255.0 | via 192.168.1.100 dev eth0 | |
| gw 192.168.1.100 dev eth0 | | |
+-----------------------------+------------------------------+---------------------------------------------+
| route del -net 192.168.2.0 | ip route del 192.168.2.0/24 | Netzwerk-Route löschen |
| netmask 255.255.255.0 | via 192.168.1.100 dev eth0 | |
| gw 192.168.1.100 dev eth0 | | |