Archive

Archive for the ‘Uncategorized’ Category

Micronova Pellet Stove LCD Reverse-Engineering

December 17th, 2015 No comments

While trying to find out a way to communicate with my pellet stove I decided to have a look at the LCD communication and maybe learn something new and have fun. It is a segment LCD and maybe you find this useful, especially when designing your own control panel or reusing the LCD from a broken panel.

Read more…

Categories: Uncategorized Tags:

SSH Tricks You Must Know

March 9th, 2015 No comments

Here are some general SSH tips and a short guide for setting up an SSH connection from Mac to iOS devices.

Read more…

Categories: Uncategorized Tags:

SSD Drive Failure on Mac

March 15th, 2014 No comments

All of a sudden my Mac Mini froze and all I was able to do was to move the mouse cursor with spinning beach ball. I tried restarting, but the same thing happened a few minutes after booting. I figured out it was an SSD disk problem but decided to describe it in more details here.

Read more…

Categories: Uncategorized Tags:

Automatically converting binary plists to xml1 in vim

December 1st, 2013 No comments

Just a quick vim configuration suggestion to auto-convert bplist to xml1.

Add these lines at the end of your ~/.vimrc :

” convert binary plists to xml1
autocmd BufReadPre *.plist set autoread
autocmd BufReadPre *.plist silent !plutil -convert xml1 <afile> 2>&1 >/dev/null

Categories: Uncategorized Tags:

Debugging on iOS and Getting Crash Reports Over the Air

August 24th, 2013 No comments

When debugging software on iOS, especially jailbreak tweaks, it it very useful to know how to debug them.
In this short article I am going to explain how I do it.

Read more…

Categories: Uncategorized Tags:

Head Tracking Home Project

September 22nd, 2012 No comments

I am a big fan of X-Plane simulator so I am trying to improve it over time for better experience. I added orthophotomaps to it which increased realism and detail.

After some time, I got an idea to control pilot’s head by using iPhone gyro. Head movement is useful mainly for navigation training. You would put the iPhone on your head and it would read gyro changes, send it via wifi to running X-Plane instance and move pilot’s head as you move yours. I tried to build the first prototype but then realized how bad iPhone gyro is. When I run the app for the first time without moving the device, the system started reporting error gyro data immediately. I did several corrections and filtering but still it was not usable for head tracking purposes.

I finally classified this as “bad” and was thinking about an optical solution. Then I came across TrackIR but I did not want to wait for it to be imported to my country so I decided to make something similar on my own (hardware, x-plane plugin and software). And after 3 days I had the first working prototype. :) Photos soon.

Categories: Uncategorized Tags:

SQLite3 iOS compilation error

September 22nd, 2012 No comments

For those having the following error trying to compile sqlite3 big source file

sqlite3.c: In function returnSingleInt:
sqlite3.c:88236: internal compiler error: in find_src_set_src, at var-tracking.c:1922

Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

The solution is easy. Just use llvm-gcc compiler for compilation instead of Apple gcc.
Changing Apple compilers helps sometimes…

Categories: Uncategorized Tags:

InApp Purchase Troubles on Jailbroken iOS

September 22nd, 2012 No comments

If you happen to have a jailbroken iPhone/iPod or iPad and you are a developer, you might have run into a problem with InApp purchase testing (it simply won’t work). For me the jailbreak is a must-have so that I had to figure out the reason for these problems.

The problem is AppSync but there are two versions of it.

Read more…

Categories: Uncategorized Tags:

About This Blog

August 29th, 2012 No comments

A few weeks ago, you would have found an old personal webpage at this place. I wrote previous webpage code myself when I was learning Ruby but I decided to switch to WordPress which is easier for maintenance and has some cool features.

In this blog, I will write about my current work, ideas, opinions and hobbies. Most posts will be IT-related and I will also try to write some educational posts for beginners as well as experienced developers (for example most common mistakes in C++ or where and how to find useful information on various topics).

Most topics probably won’t be too long, something like extended tweets because I find Twitter too restrictive for most of topics I want to write about. Here I can also more easily include pictures and photos, links and other stuff.

I will try to make as little mistakes as possible, but I am not a native speaker (my mother language is Czech, a really weird language). This blog should also help me to improve English so I am looking forward to writing it.

I hope you will find this blog interesting as well.

Categories: Uncategorized Tags:
deadly laser