liquidform – Language Integrated QUeries For ORM – Google Project Hosting

Link

LIQUidFORM stands for Language Integrated QUeries For Object Relational Mapping and is a Java library that provides a Java Domain Specific Language for building type-safe and refactoring proof JPA queries.

 

The project draws its inspiration from the LINQ project, but its aim is only to help in writting JPA queries against your domain model. See the Scope section for a thorough understanding of what LIQUidFORM is and what it is not.

via liquidform – Language Integrated QUeries For ORM – Google Project Hosting.

Thunderbird 12 und Apples Time Machine

Das Abonnieren von RSS-Feeds wurde verbessert und zudem die Möglichkeit geschaffen, E-Mails in anderen Formaten als Mbox zu speichern, beispielsweise in MailDir.

Quelle: heise online | Thunderbird 12 macht kleine Schritte.

Thunderbird 12 kann laut Heise jetzt auch mit Maildirs umgehen. Dies dürfte einige Probleme beseitigen, die Nutzer von Apples Time Machine mit Thunderbird hatten. Da das bisherige Dateiformat einzelne IMAP-Ordner in wenigen, sehr großen Dateien gespeichert hat, hat das Backup-Programm von Apple munter stündlich mehrere Gigabyte Daten gesichert, wenn seit dem letzten Backup einige neue Mails empfangen oder alte gelöscht wurden.

Ob dies nun ein Bug in der Implementierung von Time Machine darstellt, mag jeder für sich selbst beurteilen. Mit dem neuen Thunderbird sollte dieses Verhalten jedenfalls zu umgehen sein.

thou shalt not commit logical fallacies

Link

A logical fallacy is usually what has happened when someone is wrong about something. It’s a flaw in reasoning. They’re like tricks or illusions of thought, and they’re often very sneakily used by politicians and the media to fool people.

 

Don’t be fooled! This website and poster have been designed to help you identify and call out dodgy logic wherever it may raise its ugly, incoherent head.

from thou shalt not commit logical fallacies via reddit.

Converting massive e-book-collections with Calibre and GNU Parrallel

Calibre deals well with massive e-book collections, but it does not offer full text search (as far as I know). If you are on a Mac there is a decent search engine for your personal files built in, called Spotlight. However, Spotlight is not able to search the contents of EPUB or MOBI e-book files. This is why I decided to convert my collection to plain text.

Calibre offers the capability to bulk-convert a lot of books in parallel, but at least on my system it quite often froze after a couple of minutes. Calibre also lets you convert books from the command line with the ebook-convert command. Combined with a simple find and GNU Parallel it can be used to convert massive collections with a one liner:

find $your_library_location -type f -iname "*.mobi" | parallel --timeout 120 --progress "/Applications/calibre.app/Contents/console.app/Contents/MacOS/ebook-convert {} {.}.txt"

Parallel will try to saturate all the available CPUs on your system and can even scale out to other machines with a little more tweaking. The --timeout option will kill off any spawned sub-process that takes longer than the given ammount of seconds, which is nessecary, since sometimes the conversion seems to hang for no apparent reason. The option --progress will give you an idea how many jobs have been completed yet.

Parallel can be installed via the excellent homebrew project by running brew install parallel. The location of the ebook-convert command may vary on other systems, if I remember correctly Ubuntu sets it up correctly when installing Callibre via APT, so you can omit the path.

For me this works well enough and seems a little more robust than Calibres own job-scheduling mechanism. Hope this helps someone else.