Both hotels in which I stayed during my Korea trip had UNIX hair dryers.
Good to know you could just run vi and set temperature and fan speed in /etc/dryer.conf !
Both hotels in which I stayed during my Korea trip had UNIX hair dryers.
Good to know you could just run vi and set temperature and fan speed in /etc/dryer.conf !
Posted in Uncategorized | Tags: hair dryer, korea, unix
Posted in Uncategorized | Tags: emEditor, file, German, save
I’m loving it!

Posted in Uncategorized | Tags: ÖBB, MacDonald's, Scotty, sight

The departure screen at Munich airport.
Posted in Uncategorized | Tags: airport, germany, muc, munich

Posted in Uncategorized | Tags: Geneve, IBIS

I was afraid it would start swapping passengers to the street.
Posted in Uncategorized | Tags: Bus nr. 5, error, Geneve, Windows
I’ve used the Shogun Machine Learning Toolbox under Win32, compiled in the Cygwin environment, as described in the documentation. However, for processing a large data set, I needed a 64bit build. As there is currently no 64bit version of Cygwin, I followed the approach described here, using MinGW-w64.
The current version of Cygwin includes MinGW-w64, as well as an appropriate build of pthreads (if needed: compile pthreads as described here).
To configure, pass the MinGW-w64 to the script:
--cc=/usr/bin/x86_64-w64-mingw32-gcc --cflags=-m64 --cxx=/usr/bin/x86_64-w64-mingw32-gcc --cxxflags=-m64
Note: the path needs to be included due to a bug in MinGW-w64, as described on the MinGW-w64 site:
The mingw-w64 toolchain has been officially added to Cygwin mirrors, you can find the basic C toolchain as mingw64-x86_64-gcc-core. The languages enabled are C, Ada, C++, Fortran, Object C and Objective C++. There is a known caveat where calling the compiler directly as “/bin/x86_64-w64-mingw32-gcc” will fail, use “/usr/bin/x86_64-w64-mingw32-gcc” instead and make sure that your PATH variable has “/usr/bin” before “/bin”.
In addition, we add the following libraries to the linker:
-lstdc++ -lmsvcrt -lpthread
As MinGW-w64 has WIN32 defined (in contrast to GCC under Cygwin), there are a number of issues in the Shogun code that need to be fixed (see patch).
Currently, the following issues in the code are still unresolved:
After the Shogun library is built, ranlib needs to be run before building the command line interface:
/usr/bin/x86_64-w64-mingw32-ranlib shogun/libshogun.a
The resulting command line application needs the MinGW DLLs in the path. It also has the following limitations:
Posted in C++, development, machine learning
Had some issues with non-existing defines in the MinGW environment, and came across the following auto-translation.
Original posting:
Clarification: Where “most platforms” refers to platforms with a C99-compliant
fscanf/scanfthat can handle thehhprefix forchar, not just thehprefix forshort.
Translation to German:
Erklärung: Wo „die meisten Plattformen“ auf Plattformen mit einem C99-compliant
fscanf/scanf sichbezieht, das dashhPräfix fürHolzkohlebehandeln kann, nicht gerade setzen dashkurz vor.
No doubt, char means Holzkohle, although it could mean Saibling as well (but that’s fishy …).
Posted in C++, coding, development, Linux