Posts

Always good for a surprise: PyConDE 2013

Image
I was again at the  PyConDE , this year in Cologne. As before, the conference was a mix between different types of talks. It seems like this year we had less people attending compared to last year, at least the crowd in the main hall looked much smaller (see photo). Many talsk where really interesting, but the lighning talks where the real highlight with lots of funny, useful or astonishing talks.b The conference included a beginners programming competition for school students (13-21), the 2 winners showed their project in the opening keynotes. The project had to do something with Blender and Python and one of the winners (a 13-year old boy!) presented a generated animation of a Skat game with a very solid software design. All that after just 9 months of learning Python was really stunning. Andreas Schreiber  most certainly gave up a lot of personal information in his very practical talk about the " Internet of Things ", in which he showed how to connect vario...

Video Converter

Image
Modern video cameras produce beautiful videos - but the resulting files take up a lot of space. For an internal video portal I had to automatically convert such camera videos (.m2ts or .mov at up to 30MBit/s) to "regular" mp4 videos that can be used with web-bases video players like Flow Player . The result is a conversion script that uses HandBrake to convert the videos. I run it as a nightly cron job on the file share with the videos. People drop their camera videos onto the share and my Linux box automatically converts them to reasonable sizes. Example Sizes for 23min video: Size Format Bitrate 1080p Camera Video 3.9 GB M2TS with AVC Video and AC3 Audio 24 MBit/s 320p for iPod 141 MB MP4 with AVC Video and AAC Audio 900 KBit/s 720p for Small Screen 373 MB MP4 with AVC Video and AAC Audio 2.2 MBit/s 1080p for Large Screen 1.2 GB MP4 with AVC Video and AAC Audio 7.4 MBit/s I am no expert on H264 tuning, so these values can be probably optimized quite...

Thank You LinuxTag 2013!

Image
LinuxTag is over and I am almost dead. Besides my own talk about Open Source Sponsoring I also gave the Data Center Automation with YADT and the Relax and Recover for UEFI Systems talk, one talk each day. But, despite the smaller venue this year, LinuxTag is still an Open Source highlight for me. Our YADT booth was quite busy, even during the sessions. It is really good to meet so many people again, who come every year. Even better yet, I each time also meet new people who make the whole effort worthwhile. I also think that we nicely managed to raise the general awareness for YADT. So, big thanks to the organization team and see you next year!

Building Eruv at Limmud Festival 2013

Image
I helped building the Eruv at the Limmud Festival 2013 : Ganz in Familie Über 350 Besucher lernen am Werbellinsee http://www.juedische-allgemeine.de/article/view/id/15950 Jüdische Allgemeine, 10.05.2013 We were also filmed by Jewish News One : ( Video on YouTube )

How To Create a Debian/Ubuntu Repository for DEB Packages

Initial Setup Required Debian packages: reprepro Create a directory for the repository and its configuration: $ mkdir -p repo/conf Create a conf/distributions configuration file like this: Put my putinrepo script into the repo or next to it: "Export" the repo to create the metadata files for the empty repo: $ repo/putinrepo.sh $ tree repo repo ├── putinrepo.sh ├── conf │   └── distributions ├── db │   ├── checksums.db │   ├── contents.cache.db │   ├── packages.db │   ├── references.db │   ├── release.caches.db │   └── version └── dists ├── precise │   ├── main │   │   ├── binary-amd64 │   │   │   ├── Packages │   │   │   ├── Packages.gz │   │   │   └── Release │   │   ├── binary-armel │   │   │   ├── Packa...

Simple Command Line Download Speed Test

Image
I got a server that started to have a bad network connection. To help debugging this I needed to collect some data, e.g. of running a download test every 5 minutes. A quick search revealed nothing so I found a simple way to do that with curl and Google Drive. 1. Google Drive Form I set up a simple Google Drive form that accepts two text values: Next I need to find out the HTML form field names of these two fields. This takes a little bit of digging.   There is always a label  attached to each input  field. They are connected via the for  attribute of the label. With this information I can now construct a simple curl script. 2. CURL script to collect some data and post I want curl to try to download a URL and record the download speed. The -w , -y and -Y options come in handy for this purpose: -w lets me output only the information I really care about (the speed of the download in Bytes per second) -y gives a timeout after which curl will abo...

German Python Conference 2012

Image
I just came back from PyCon DE 2012 in Leipzig. I went their not knowing what to expect and came back a real fan. Not that I am really doing that much with Python , but the community feeling at the conference beat all my previous experiences. Python is sometimes called a glue language , it seems to be also true for the attendants. Of course they all have an interest in the language as a tool, but they come from all areas of IT and bring their own experience to share. Between physicists from the CERN, web developers and tool developers there was something new for everybody. Especially noteworthy where the Lightning Talks that happened at the end of every conference day. Not only entertaining but also very informative. The speakers used their 5 minutes mostly to present some tool or idea to the audience and ask for help or git pull requests. That is certainly a strong sign of a vibrant community. The 2013 PyCon DE will be in Cologne and the 2014 in Berlin. Even if you don't dre...

Dashboards Made Easy

Image
If you work at an agile shop you probably have seen something like this: You also find a lot about how people create those nice dash boards as a web page, but you almost never find out how to actually build the system that runs the dash board. Basically this is a task for digital signage, but "standard" solutions like Xibo seem heavily oversized for running an internal dash board. All we need is a Linux box running a browser and the screen staying on. As my team also wanted to have a dashboard, I  recently hat to build one and decided to put my effort into an Ubuntu package named  kiosk-browser  that can be found on the ImmobilienScout24 github page. The package turns a regular Ubuntu installation into a web-based dashboard. Now the effort to setup a new dashboard system has been reduced to these steps: Install a computer with Ubuntu. Build or download and install the kiosk-browser package.  Log on as a user and run this command: sudo tee /etc/defa...

Puppet and Chef do only half the job

Going to conferences and meetups is not just for seeing the talks, it is much more for meeting the "right" people. At the recent devopsdays Mountain View I met Ernest Mueller and discovered his theagileadmin.com  blog, where I immediately liked his  DevOps: It’s Not Chef And Puppet blog post. After some talking with Ernest and others at the devopsdays I realized that I believe that the Ops job contains more than most people do with Puppet and Chef: Managing the Operating System patches and upgrades. Read my guest posting  Puppet and Chef do only half the job  for the full story. Update: In the 2012 SysAdvent Blog Miah Johnson suggests in Packages Doing Too Much? to solve this issue by going the opposite way: Deploy the entire operating systems via recipes. She also points to NixOS and Guix as an example of such operationg systems. While I still believe that using the OS packages for custom software and configuration deployment is the cheapest solution, ...

Velocity 2012 T-Shirt Boom

Image
The Velocity Web Performance and Operations Conference is always about bringing hard data to make a point. This year I was overwhelmed by the amount of T-Shirts given out by the exhibitors. Over a coffee I was joking with somebody, that there must be like 20000 shirts at the conference. He was loughing it off, but I actually go curious and asked all  exhibitors how many shirts they brought: But, I was wrong. According to the survey there where a total of 10746 shirts for about 2500 attendees, which makes  over 5 shirts per attendee ! So what caused this "overprovisioning"? As not everybody likes to take shirts, there must be people who walked away with 10 or 20 shirts... Now that we have some hard data we should try to learn something from this data. Unfortunately I could not find any other information about all these companies that might be correlated here. Some companies who brought few shirts told me that they give them only to special customers and not hand ...

Cardboard Smart Phone Camera Stand

Image
Do you use your smart phone to record videos? Do you use it to record talks at conferences? Did you ever try to hold up a smart phone for 45 minutes? Well, I did and it was no fun at all! My fix for this problem was to build an improvised camera stand for my phone: All you need for that is some cardboard and something to cut it: It takes about 5 minutes to make and greatly improves the video quality: No more jitter, shaking or covering up the mic. With the right light conditions you can even manage to make professional looking videos. Also, if you switch the phone to flight mode you can be sure that no incoming call will interrupt the recording. Download printable version .

Limmud 2012 in Berlin

Image
Limmud 2012 was in Berlin at the Jüdische Oberschule  and that made it quite different from the previous Limmud festivals at Werbellinsee . The feeling was much less that of a closed community and more that of a regular conference. Luckily the next Limmud festival will (most likely) be back at Werbellinsee. The festival was well attended without feeling crowded. I talked a bit to the org team. They seemed as stressed as in previous years. Seeing how well the festival runs they really deserve a lot of respect and gratitude for doing this job. Highlights where the talks by Rabbi Cardozo which where approximately the same as the ones he gave at previous Limmud events (see the his YouTube playlists  for a choice of videos), but still worthwhile to sit through. There were also lots of kids programs, like Ruth and Naomi , Ask the Rabi  and of course lots of movies. The unusal venue in the middle of the city allowed for various tours which where also well frequented....

Volunteering at the LinuxTag 2012

Image
Today I spent almost all the day helping the LinuxTag crew. They needed someone to help with transportation and I own a trailer and had a day of vacation. IT turns out that the LinuxTag - like all trade shows - comes with a lot of stuff and the people who help also need something: Shopping for the LinuxTag And this is actually not all of it, just to help the volunteers and project members and booth staff. Besides lugging lots of boxes and crates I actually learned a lot about the LinuxTag today: It is all completely done by volunteers, most of whom actually take vacation days to organize the event! If you like the LinuxTag please come and join the effort and sign up to help at the LinuxTag:  http://www.linuxtag.org/2012/de/mitmachen.html

PaaS and DevOps

In his blog DevOps is DOA  Tom Mornini writes that DevOps is already outdated in the face of PaaS offerings. His opinion is not entirely surprising as he is CTO and co-founder at EngineYard , a large PaaS vendor. Interstingly most people seem to disagree with his opinion (for example here , here and all  of the comments at Tom's blog). I also believe that he missed the main advantage of DevOps which is IMHO that DevOps actually supports knowledge-driven teams while PaaS requires one to trust in the service quality of the PaaS vendor with little to no way of influencing that. So, if you don't want to increase the amount of knowlegde in your organization then PaaS is a good way to go and then you maybe really don't need a DevOps approach. Just wait a while and find some of your developers turned into ops because in the end even in a PaaS world somebody needs to maintain the automation that is used to feed the PaaS hosting. But, if you want to increase the total amount...

Package Management Overview

In his recent blog post about Package Management Systems , Diomidis Spinellis gives sound advice about using packages for software management: "The breadth of modules you can reuse is nothing short of amazing, making it a crime to start writing code before you investigate what packages you can reuse. Whatever your need, there’s likely to be a package that you can effortlessly link with your application. Promisingly, the structure that package managers bring both to the tools we use in our development process and the libraries we reuse in our products ties nicely with the recent move emphasizing development operations (DevOps) as an integration between software development and IT operations. Orderly and organized package management is a key element of a well-run software production process. Maintaining a list of an organization’s recommended packages allows teams to share best practices and avoids package incompatibilities. So, if your business allows it, join a pack...
Like this content? You could send me something from my Amazon Wishlist. Need commercial support? Contact me for Consulting Services.