Das ist die Geburtstagsfeier von Luis
Category Archives: Uncategorized
KNX with Raspberry PI – Use commands
My basic testbed has been setup.
There are couple of quite useful commands:
Switch on a ligth
/usr/lib/knxd/groupswrite ip:127.0.0.1 0/0/1 1
Switch off a ligth
/usr/lib/knxd/groupswrite ip:127.0.0.1 0/0/1 0
KNX with Raspberry Pi – Install Raspbian Part 1
df -h
/dev/mmcblk0p1 29G 32K 29G 1% /media/marc/1FAB-7
Umount device
sudo umount /dev/mmcblk0p1
Copy image to SD card
dd bs=4M if=2017-09-07-raspbian-stretch-lite.img of=/dev/mmcblk0p1
sync
Mount image to activate ssh
mount /dev/mmcblk0 /mnt
touch /mnt/ssh
Connect raspberry to network and power up; Find IP address of Raspberry
nmap -sP 192.168.178.0/24
Nmap scan report for raspberrypi.fritz.box (192.168.178.42)
Enlarge filesystem by logging into pi with username pi and password raspbian
ssh pi@192.168.178.42
sudo raspi-config
Select 7) advanced options
Select a1) expand filesystem
Installing Guest Additions Ubuntu 17.04 Zesty
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo add-apt-repository 'deb http://download.virtualbox.org/virtualbox/debian zesty contrib'
sudo apt update
Bouldering in Tenerife
Image
We have been searching for good place for bouldering in autumn/winter and decided to travel to Tenerife. Tenerife has a couple of spots that are well suited for bouldering.
Logistics
- Car: Renting a car in Tenerife is very cheap.
- Crashpad: It is possible to rent a crashpad at Tenerife Outdoor. More information is provided on their Roxtar page.
Boulder Spots
Arico Nuevo
Provides a lot of boulder possibilites. A guidebook with detailed information about all boulders can be obtained from the Tenerife Outdoor shop. They provide you with a link to the pdf guide that can be viewed on your smartphone/tablet. Since the pdf file is of very high quality I would recommend you to visit the shop and buy something there to support them.
We spent four days in the barranco of Arico Nuevo.
Arico Viejo
The famous climbing spot of Arico Viejo provides also many boulder problems. As far as I know, there is no guidebook available.
Personally, I liked Arico Viejo very much. The baranco is very nice.
Teide
The Teide national park provides also some bouldering possibilities. There is the so called Tortuga. This is a pretty high boulder, I would estimate it on 5 meters.
Links
- Tenerife Outdoor
- Roxtar
- Detailed information in German: here
Startup Vitamins
Today, I found a cool online shop with exciting posters: Startup Vitamins
Let’s see whether the book is also cool.
Code Evasion
Gerard Holzmann recently published an article on “Code Evasion” in IEEE Software. He showed a couple of examples how error handling increases the complexity of reading and understand code, but also the increased potential for bugs. This does not mean to remove all error handling, but to give an extra thought.
In my opinion he is perfectly right. Writing proper error handling code is a big challenge. Ignoring it at all and let program crash is not always an option.
Using exceptions instead of return values can increase the readability. It does not mitigate the complexity of error handling and proper reactions. IMHO one of the advantages of exceptions – at least in programming languages like C++ and C# – is that they can bubble up and you can catch them some where very different. Probably at a place where you can react properly.
wmctrl – Move windows between desktops
Today, I stumbled across wmctrl. It allows to move applications between desktops. Pretty cool. http://tomas.styblo.name/wmctrl/
New Release of CLink
Today, I’ve detected that there is a new release of clink.
Architecture of Open Source Applications
Today, I stumbled across an interesting web page about the architecture of open source applications. The book introduces the architecture or basic concepts of popular open source applications.