Coding with Titans

so breaking things happens constantly, but never on purpose

Windows 10 on Early 2011 MacBook Pro

Yes, that’s correct. It’s possible to install and have perfectly running copy of Windows 10 on this extremely old early-2011 MacBook Pro, even though Apple latest BootCamp 6 doesn’t officially support this hardware. ⚠️ [Update 2017-05-08]: Additionally I was able to extend its memory to 16GB and replace the internal drive with Samsung SSD 860 Evo to give it maximum performance. Was it easy? YES! and NO! (explained in Long Story below) Read more →

Missing mktemp for gitolite on Synology

I use gitolite to remotely manage my repositorites inside own cloud on Synology DS411 DiskStation. Hardware is maybe a bit old, but still gets new software updates. And of course from time to time, those updates break my configuration. Mostly because my symlinks are removed and $PATH gets reset to predefined folders. Simplest fix to restore gitolite is to symlink mktemp into known location. Login as administrator and type: ln -s /opt/bin/mktemp /sbin/mktemp New repository creation should work fine now. Read more →

Converged Visual Studio platform

With the recent announcement of Visual Studio 2015 RC you, as a developer, are now able to write applications targeting iOS, Android and of course all kinds of Windows platforms, web and cloud. I am also pretty solid, you will be happy to hear, you can make your applications run on BlackBerry devices (including PlayBook!) as well. I just recently updated integration of the BlackBerry Native Development plugin with latest version of Visual Studio, so you can stick to your favorite IDE and continue coding without lowering your productivity. Read more →

Qt-4.8 compilation for PlayBook

Although the PlayBook tablet was totally abandoned by BlackBerry long time ago and there are other problems around the company I still wish them well. That’s why I continuously support the BlackBerry Native Development plugin for Visual Studio. Recent additions were about Visual Studio 2015 RC and most notably PlayBook and Qt-4.8.3 support. I hope it will inspire you and myself to write some applications on it. Thankfully lack of support from BlackBerry is the best thing they could do to PlayBook. Read more →

Sending Ctrl-C signal to another application on Windows

I have a few command-line applications running on Windows. I haven’t written them myself, they are just ports of some Linux/Unix utilities. And there are situations, when I simply want them to stop or to pay more attention to me. Sure, I could make them to exit using TerminateProcess from my manager application, but this seems to be quite rude, even in the IT world. Much cleaner and nicer way would be to send them a polite notification, that would wake them up, allow release used resources (as some communicate with remote servers) and handle the exit themselves. Read more →

Windows IoT the wrong way

Few days ago I ordered Raspberry Pi 2 and unboxed it just today. After a lecture of few videos on Channel9 about Microsoft //Build/ 2015 I was very excited and wanted to test the latest Windows 10 for IoT myself. Then I simply hit obstacle after obstacle and wasted more than 10 hours of my life to simply get the image written on microSD card. That was a real nightmare, but maybe because I am not a typical Windows user. Read more →

Got BlackBerry Passport!

I wish to say many thanks to Lou Gazzola and Dave Burgess for their help in making the Visual Studio plugin for BlackBerry named Gold 3.0 to be completed and released publicly. There was a dedicated interview with me, published on BlackBerry Dev Blog, which can be found here, which makes me proud a lot. Also I am really grateful for granting me the latest BlackBerry Passport mobile and inspire for further plugin and own apps development. Read more →

Dolby Wrocław is hiring! OMG! Really? Keep scrolling…

I am a freelancer more than 5 years now. After so much time I started having this (really stupid as turned out) idea of abandoning that state of mind. Maybe I could hire myself for a big company, wear the uniform and work only limited part of the day (instead of whole time) and generally rest for some period. So as I usually never reply to headhunter offers, I did a try. Read more →

Current directory in batch file

Let me test syntax highlighting on this new blog with the following simple snippet. set CurrentDir=%~dp0 set CurrentDir=%CurrentDir:~0,-1% It simply gets the full path (drive plus directory) without the trailing backslash, where the executed script is located. It useful in all situations, where you have have other resources next to the script and you don’t want to relay on current working directory to access them. Read more →

Welcome in my nest

And so we meet finally! Since I decided to push forward with my freelance style of work and not to become hired by any corpo by now, let me start this diary. I hope soon it will be full of my adventures about Windows Phone development, C#, XAML, Bing Maps, Python, C/C++ for embedded development. This year (2015) started with lots of unexpected events and gives lots opportunities to talk about. Read more →