Patching Faulty EDID Information

This post has moved to eklausmeier.goip.de/blog/2014/05-15-patching-faulty-edid-information.

Some computer monitors either do not provide correct EDID, or no EDID at all. An example monitor is LG E2340T. In this case you can provide a hand-crafted EDID file in xorg.conf. For setting the correct screen resolution in the EDID file you can either use a hex-editor, or use below short C program.

Continue reading

Simple Exercises for a C Programming Language Course

This post has moved to eklausmeier.goip.de/blog/2014/05-10-simple-exercises-for-a-c-programming-language-course.

I sometimes teach a C programming language course. I use the following simple exercises for the students to solve on their own. Most solutions are no longer than 10-20 lines of C code.

  1. Exercising simple loop and printf(): Print a table of square root values for arguments 1 to 30.
  2. Exercising printf(), scanf(), arrays, if-statement, flag-handling: Read a list of numbers into an array, and then sort the array with Bubblesort.
  3. Continue reading

Statistics of this Blog: Crossed 5.000 Views

This post has moved to eklausmeier.goip.de/blog/2014/05-07-statistics-of-this-blog-crossed-5-000-views.

In three earlier posts I showed the development of this blog.

  1. Statistics of this Blog: 2.600 Views, 78 Countries, 20 Comments, February 2014
  2. Statistics of this Blog: 1.000 Views, 60 Countries, 10 Likes, October 2013
  3. My Blog Statistics by Country, September 2013

Continue reading

Announcement: Workshop Programming of Heterogeneous Systems in Physics, July 2014

This post has moved to eklausmeier.goip.de/blog/2014/05-03-announcement-workshop-programming-of-heterogeneous-systems-in-physics-july-2014.

This workshop is planned for 14-15 July 2014 in Jena, Germany.

The workshop is organized by Bernd Brügmann (University Jena), Xing Cai (Simula and University Oslo), Gundolf Haase (University Graz), and Gerhard Zumbusch (Chair, University Jena).

The last workshop from 2011 had two high-profile speakers regarding CUDA technology: Dr. Timo Stich and Vasily Volkov. The 2014 workshop features Dr. Stich, Dr. Karl Rupp, Hans Pabst (Intel), and others.

Addendum 06-Aug-2014: See my notes taken at the workshop in

  1. Day 1, Workshop Programming of Heterogeneous Systems in Physics
  2. Day 2, Workshop Programming of Heterogeneous Systems in Physics

Defeating Annoying Timeout in OpenShift SSH Access

This post has moved to eklausmeier.goip.de/blog/2014/05-01-defeating-annoying-timeout-in-openshift-ssh-access.

One simple way to get rid of the very short timeout in shell access to OpenShift is to unset the TMOUT environment variable:

unset TMOUT

Before I knew that I used an Expect script. Below Expect script defeats the annoying timeout by sending some text every 60 seconds.

Continue reading