Author Archives: Michael Glauche

esp32, deep sleep and mqtt

I saw a lot of posts about sending mqtt messages from an esp32/esp8266 with deep sleep between the sending cycles. This works fairly well as long as you keep a some time for the message to transmit before the deep … Continue reading

Posted in Uncategorized | Comments Off on esp32, deep sleep and mqtt

Persisting Joda-Time Fields with openjpa

Lately i became curious about how to store joda-time objects into a database with openjpa. Well, its supprisingly easy if you only want to store/retrieve the objects: import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import org.apache.openjpa.persistence.Persistent; import org.joda.time.DateTime; @Entity public class … Continue reading

Posted in Uncategorized | Leave a comment

Reducing Raspberri PI’s memory usage

I just got my Raspberry pi recently and found this really usefull link for tuning Raspbian to use less memory : http://extremeshok.com/blog/debian/raspberry-pi-raspbian-tuning-optimising-optimizing-for-reduced-memory-usage/

Posted in Uncategorized | Tagged , , | Leave a comment

Git with Jenkins

Recently I did try to use jenkins together with git on windows. During configuration i stumbled along some blogpost that advised to use git.cmd instead of git.exe (which does set some more enviromnent variables, for example %HOME% to use _nettrc … Continue reading

Posted in Uncategorized | Leave a comment

Hudson/Jenkins integration in Eclipse

Now, that the hudson-eclipse plugin seems dead for quite a while (not anything since 2009) i was briefly thinking about writing my own update with the xml-api by Jenkins. But then i discovered that the mylyn project did what i … Continue reading

Posted in buildmanagement, java | Tagged | Leave a comment

Logback Console in Eclipse

Recently i did find there is a console plugin for logback in eclipse. Unfortunately its based on a very old version of logback (0.9.9), so i searched for the sources, bumped the logback/slf4j versions to 0.9.28 and 1.6.1 and fixed … Continue reading

Posted in java, logging | Tagged , , , | 2 Comments

Running SoapUI Integration Tests in Hudson

Recently i’ve been wondering how to automate webservice(SOAP) integration tests. My first idea was to use soamoa, but it seems a bit buggy at the moment and the last version seems quite a while ago. But SoapUI does offer a … Continue reading

Posted in java, Testing | Tagged , , , | Leave a comment

Running selenium-hub inside Tomcat

The usual process of starting selenium-hub seems to be an ant goal that does run an integrated jetty server. While this is easy to run it is not so easy to run in a server enviromnent. Also, as i have … Continue reading

Posted in Testing | Tagged , , | Leave a comment

Introduction to Scala – Part 1

What is scala ? Scala is a relativ new compiled programming language that takes a lot of ideas from python, ruby and others. From the scala homepage: Scala is a general purpose programming language designed to express common programming patterns … Continue reading

Posted in scala | Tagged , , | Leave a comment

zlib.dll not found when installing the current ruby-win32

Missing libraries zlib.dll not found After downloading the latest win32-releases of ruby i was greeted with two error messages, SSLEAY32.dll not found and zlib.dll not found. The SSL library is kinda optional (gem, etc basicly work without it), but zlib … Continue reading

Posted in ruby on rails | Tagged , , | Leave a comment