Skip to main content

Vagrant error - stdin: is not a tty

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Every now and then when provisioning a virtual machine with Vagrant I got an error during the provisioning process. Everything seemed to work fine but the error confused me and my developers so I was looking for the source of the error. I came a across a Vagrant bug report where Mitchell Hashimoto explained that "the reason this error message even appears is due to a bug in Ubuntu not checking whether stdin is a TTY, and just assuming it is". One of the comments in the discussion of this "bug" proposed a "bugfix" by adding the following line to the VagrantFile. Up to now this fix works fine for us and you might use it as well:

SMART DATA Developer Conference 2015

· One min read
Stephan Hochdörfer
Head of IT Business Operations

Vom 01.12.2015 bis zum 02.12.2015 findet in Köln die SMART DATA Developer Conference 2015 statt. Ich freue mich dabei zu sein und meinen Vortrag "PostgreSQL: Die NoSQL Datenbank die niemand kennt" präsentieren zu dürfen. Zusätzlich zum Vortrag werde ich am 01.12 einen Workshop "NoSQL mit PostreSQL" anbieten und freue mich auf interessierte Teilnehmer.

CAO Faktura Storno für ausgehende Zahlungen

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Nachdem wir vor einiger Zeit unsere CAO Faktura Version auf die Version 1.4.4.177 aktualisiert haben, ist es uns nicht mehr möglich Zahlungen für Einkäufe zu stornieren. Beim Versuch einen Storno ausführen wird die Fehlermeldung "Für diese Operation fehlen Ihnen die Rechte!" angezeigt, obwohl alle nötigen Rechte im CAO-Admin vergeben waren. Nach einer kurzen E-Mail Konversation mit dem Entwickler von CAO-Faktura war die Lösung recht einfach. Es ist folgendes SQL Statement in der Datenbank auszuführen:

Cordova SVG rendering on Android devices

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· One min read
Stephan Hochdörfer
Head of IT Business Operations

Recently we ran into an issue with SVG rendering in an Cordova-based Sencha Touch application. When switching back and forth between views in a TabPanel SVG images got messed up. The problem only appeared on "older" Android devices (<= 4.1.2) and only when the images were embedded via an <img> tag. The solution was simple: Replace every <img> tag with an <div> container and include the SVG image via the CSS property background-image.

Service Workers - a new way of caching for offline web apps

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 3 min read
Nico Blum
Nico Blum

There's a really new -maybe- cool feature in the Chrome browser since v40. It's called "Service Workers" and is a possibility to run javascript threads which are independent from the web page. Independent means the applications js code does not have to know about the service worker. And the service worker does not block the page cause it's an own thread.

Processing CSV files in a memory efficient way

This blog post might be outdated!
This blog post was published more than one year ago and might be outdated!
· 2 min read
Florian Horn
Business Analyst Digital Sales

A little while ago I had to dive deeper into the performance optimized usage of PHPExcel. Our users are uploading files like Excel or CSV with a lot data to process. Initially we used the PHPEXcel instance without any tuning of the default configuration which lead to heavy memory issues on relativly small files. So I had to avoid reading all file content at ones to the buffer (like file_get_contents() does).