Monatsarchiv: November 2011

Nov 23 2011

Programming Concurrency on the JVM

vspcon

The fun thing about Venkat Subramaniam’s latest book is the way he jumps to and fro between a couple of JVM based languages: Java, Scala and Clojure. He shows interesting ways to do given tasks in different languages and introduces a couple of interesting frameworks I at least have not heard of before. The most …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/23/programming-concurrency-on-the-jvm/

Nov 21 2011

Secrets of the JS Console

For some reason, up to until three weeks ago, I didn’t know that there is more to an API in the JS console than “console.log”. They API has been defined by Firebug first and is now more or less considered standard in all major browsers. Here is a short list of usefull commands: The documentation …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/21/secrets-of-the-js-console/

Nov 20 2011

Code with style: “get” means Getter

Properties are always accessed via method calls on their owning object. For readable properties there will be a getter method to read the property value. For writable properties there will be a setter method to allow the property value to be updated. Java BeansSpec  (08.08.1997) These three sentences have done something weired to my brain. The somehow …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/20/code-with-style-%e2%80%9cget%e2%80%9d-means-getter/

Nov 18 2011

Google Merchant Module for ROME

Google Merchant is the way a company can feed their products into Google Shopping and ROME is a Java Library to create and parse RSS and ATOM feeds. Google Merchant allows RSS as one of the feed formats you can use to feed them their data. In order to get additional information into ROME created …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/18/google-merchant-module-for-rome/

Nov 16 2011

Code with style: Readability is everything

So, by now everybody got it: Code is there to be read by people, to be analyzed by people and to be understood by people. The fact that you can put it through a compiler and run it is a nice sideffect, but nothing to focus on. Besides writing readable tests of course. But when …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/16/code-patterns-readability-is-everything/

Nov 14 2011

Quickhacks: Visualizing contributions with git

cogitter-git2

So I had a little fun with git history visualization. Gource is there to show the progress of a repo over time, but I always wanted to get an actual snapshot of the repo at a given point in time. I wrote a little program, that basically does a “git ls-files” and then a “git …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/14/quickhacks-visualizing-contributions-with-git/

Nov 13 2011

Quickhacks: Github Event Widget for WordPress

A couple of days ago Github announced their new Event timeline API. As I wanted to have a nice widget for this blog but didn’t want to write any PHP I thought maybe they would do PJSON and I could implement a client side pure JavaScript solution. Apparently, they accept a “?callback=” Parameter to the …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/13/quickhacks-github-event-widget-for-wordpress/

Nov 11 2011

Code with style: Exception handling antipatterns

There a couple of exception handling patterns that I come across regularly that I believe to be plain wrong or harmful. In order to get rid of them I’d like to present them here and explain the reasons why they should be avoided: Log-Log-Log and Rethrow Imagine a typically layered application design where you have …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/11/code-with-style-exception-handling-antipatterns/

Nov 09 2011

Was hilft wirklich bie Muskelkater

Inspiriert durch die steigende Nutzung von Fitocracy und den dadurch quasi erreichten Zustand von Dauermuskelkater habe ich mich mal ein wenig zu Muskelkater umgesehen: Fakt ist wohl das Muskelkater durch die Beschädigung der Muskelfasern durch die Belastung entsteht und nicht durch Milchsäure. Dabei liegen die Schmerzen wohl tatsächlich an entzündlichen Reaktionen auf diese Verletzungen. Dazu …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/09/was-hilft-wirklich-bie-muskelkater/

Nov 07 2011

Gleichheit unter Schmerzen

Und da findet sich auch der erste Hinweis für die Vermutung, dass es bei der Ablehnung des Feminismus nicht um inhaltliche, sondern eine emotionale handelt. Und so geht es ans Eingemachte. Die Teilnehmer berichteten von ihrem Dasein als frauenferne Nerds, von den Demütigungen in der Pubertät und der gefühlten Ohnmacht gegenüber Frauen. Es wird deutlich: …

Weiterlesen »

Permanentlink zu diesem Beitrag: http://blog.thiesen.org/archives/2011/11/07/gleichheit-unter-schmerzen/

Ältere Beiträge «