GPD Win Keepalive version 1.0.0 released

I recently received my GPD Win, but it has a problem with the SD card reader: after a short period of time the SD card goes to a “sleep” state and it takes a couple of seconds to wake up.

This really is a problem when playing games (mainly emulator’s ROMS) so, waiting for a real fix, I made a small utility that keeps alive the SD card by just writing a 0 byte file to the SD card every X seconds. By doing this the SD won’t go to sleep. 😉

scr01

The utility can be set to autostart with Windows and stays in the tray.

You can download it here.

You can download the source code here.

Have fun! 😉

Midi2MP3Gui 1.0.0 released

Do you need to convert a MIDI file to MP3?
Do you need to mute a channel or want to change channels volume or the track’s tempo?

 

Download Midi2MP3Gui, you’ll have your MP3 in seconds. 😉

Convert IANA timezones to Windows

The IANA timezones database is probably the most used standard to reference a timezone by name (a lot of libraries use it).

The problem comes when you need to use these timezones informations in a C# program: Windows timezones have different names and there’s no standard method to convert a IANA timezone to a Windows one.

Informations about the relation between IANA and Windows timezones  are accessible here:
http://unicode.org/repos/cldr/trunk/common/supplemental/windowsZones.xml

Looking at the data is clear that you can convert from a IANA timezone to a Windows one, but a Windows timezone cannot be converted to a single IANA timezone. This is because Windows groups more than one timezone under the same name.

I made a test project to demonstrate how to convert timezones: just deserialize the data and look for the corresponding timezone.

You can download the test project here: IANATimezonesConverter.zip