Blog

My first C++ Experience

This weekend I started to evaluate C++. I tried C++ about 18 years ago and I was confused a lot at that time, not only because of C++ but also because Object-oriented programming was new to me at that time. I never had a need for C++ in the past and now I wanted to try some Qt stuff which needs some knowledge of C++.

I believe I will not develop software in C++ in the near future but I must say it has really a lot of nice features. Why I am writing this Blog post not because I am in love with C++ now but because I want to make you aware of a very nice C++ tutorial found at cplusplus.com. The tutorial is written very clear and has examples for everything. It took me just some few hours to understand how C++ works.

As IDE I used Qt Creator since I tried Qt stuff. I don't like the interface but for going on fast without configuration it was very useful to me. If I would start some C++ project I would prefer Anjuta, Code::Blocks or KDevelop.

Many thanks to the authors of that nice tutorial! Well done... ;)

Linspector-NG

I decided some time ago to work on Linspector again. Linspector is a very simple solution for monitoring systems and devices. Since the current codebase does not support Multi-Processer architectures the software needs a complete rewrite. But, I will use the current codebase for prototyping my ideas and will at some time start developing the next generation of Linspector from what I learned during the development process in the past years.

Because I thought my project "scheduled" could take over the job execution part I stopped development of Linspector some time ago. Even if both projects do many similiar tasks they are very different and sharing code between both projects seems not to be a good idea. I will work on both projects from now on and I believe both projects will be useful to me in the future.

Let's Encrypt? Yes, acme.sh!

I started using Lets's Enrypt for SSL certificate generation today. Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG).

I had this on my TODO list since a long time but I didn't liked the ACME implementations available in Gentoo Linux. Today I found the nice project acme.sh which made it very easy for me to get things running. acme.sh is an implentation of the ACME client protocol written in pure Shell language. Just follow the instructions on acme.sh's Wiki Page and I believe you don't need more documentation...

I am testing things now for some days and when everything is working as expected I will write a short manual on how I did my setup. I really recommend to take a look at acme.sh if you want to make all your websites available via SSL. This site is from now on forwarding all HTTP requests to HTTPS.

I am very happy... :)

Still alive

Still alive...

More to come in the next weeks... ;) Just want to say that I am still alive and am working on cool stuff...

Sorry for trouble with this website in the past month. My site generator was broken after an OS update and then this site was also broken. I have fixed it now and all content should be available like before. I fyou find broken links i would love it if you report them to me so i can fix them...

Images are still not shown in blog posts but you can click on the the "alt" link to see them... I will fix that ASAP... ;)

UPDATE: Images and Photos are back in the blog posts...

Arduino Water Sensor for Houseplants

This is just a very minimal example on how to use these kind of sensors. I just read a value from an analog pin every 2 seconds and print it out to serial.

These sensors are available very cheap online and are easy to use... So, now my plants go online... :)

water sensor houseplants arduino

My code:

const int analogIn = A0;

int sensorValue = 0;

void setup() {
  Serial.begin(9600);
}

void loop() {
  sensorValue = analogRead(analogIn);
  Serial.print("Sensor: ");
  Serial.println(sensorValue);
  delay(2000);
}

And now to something completely... Need to learn how to add a ground plane in Eagle... ;)

Pages