Nummer 6 (The Prisoner) bei Arte runterladen

Zur Zeit läuft gerade die englische Kult-Serie "Nummer 6 (The Prisoner)" auf Arte. Glücklicherweise sind die letzten Folgen auch in der Arte-Mediathek zu finden. Da sie nach einer Woche gelöscht werden, sollte man sich aber trotzdem mit dem Anschauen beeilen. Standardmäßig bietet die Mediathek keine Möglichkeit die Serie runterzuladen. Gut, daß es das Tool MediathekView/zdfmediathek gibt.

Continue reading “Nummer 6 (The Prisoner) bei Arte runterladen”

Forked ttrss to add API change needed for ttrss-reader-fork

Since ttrss-reader-fork version 0.5.2 Nils implemented a caching mechanism. Additionally he provided a patch for ttrss’s external API to support the fetch of multiple articles at once with getArticles().

Unfourtunately it did not find its way in the official ttrss code. As the ttrss source code is hosted on github I simply forked the project and added the small needed change to the API.

I do not plan to change other things in ttrss. Tested versions are tagged like tested_2010-08-13.

Update: Nils has now his own ttrss-fork on github. Therefore my fork is not longer necessary and I will delete it.

C++ kann keine Templates mit lokalen Typen benutzen

Ein wenig überrascht war ich dann schon, als sich folgendes Code-Fragment mit dem GNU-Compiler nicht übersetzen ließ:

void func()
{
   struct Name
   {
      std::string firstName;
      std::string lastName;
   };
   std::vector names;
}

Die Fehlermeldung heisst "template argument 2 is invalid". Bei Visual c++ 2005 ging das übrigens ohne Probleme. Ob dabei was sinnvolles rauskam, weiss ich aber nicht.

Continue reading “C++ kann keine Templates mit lokalen Typen benutzen”