[30-09-2011]

Android Application Testing Guide (e-book) giveaway

Today, well … this week, actually, I have something to giveaway. Thanks to Packt Publishing, I have two, 332 pages long, thrilling e-books to giveaway. I am talking here about Android Application Testing Guide. In order to get a chance to get one of these, you have to perform two steps: 1. Follow me at […]


[28-09-2011]

Playing with NSError

I was playing with NSError recently, and here you can find how to deal with it. 1. How to “create” error // if your method returns BOOL // true – OK // false/NO – indicates error // if your method returns int // return == 0 – OK // return != 0 – error // […]


[23-09-2011]

Never, ever, use ‘%@’ in CoreData predicates :)

It took me some time to notice that there is a huge difference between NSPredicate *predicate = [NSPredicate predicateWithFormat: @”(name LIKE ‘%@’)”, @”test”]; and NSPredicate *predicate = [NSPredicate predicateWithFormat: @”(name LIKE %@)”, @”test”]; In first case you will end up with predicate like this: name LIKE “%@”, second line will produce correct predicate with %@ […]


[22-09-2011]

Android Application Testing Guide by Diego Torres Milano

Summary: The only introduction to Unit Tests for Android Recently I have fallen for Unit Testing. They are really cool. However, it is very hard to find good books covering this topic. When it comes to Android, it is even harder. Check out any on-line store. It will turn out that this book is the […]


[21-09-2011]

The Java Sessions: The Best of OSCON 2011

Summary: Only for hobbyists I was very excited when I finally got this video. I work with Java for quite some time now and I was thrilled with all these new ideas around Java and JVM. You will find here topics related to recent research devoted to JVM, both theoretical and practical. Topics cover wide […]


[15-09-2011]

MuteMyMic 1.1 has been released

Yes, that’s true. Updated version of Mute My Mic was released. You can now decide whether you like to have MuteMyMic at the Dock or not :) You can find MuteMyMic here: http://mutemymic.com


[15-09-2011]

#ifdef to the rescue

Recently, I was wondering whether it is better to have two different branches for an application or to have one branch but somehow “configurable” during compilation time. As I haven’t developed for different architectures for some time, I totally forgot about C’s preprocessor. After few minutes of thinking solution was obvious – in case of […]


[14-09-2011]

Computer chess – Shredder

Maybe computer can beat me at chess. But I can still beat him with a hammer.


[08-09-2011]

HTML5 the missing manual by Matthew MacDonald

Summary: Simple introduction to HTML 5 I have mixed feelings when it comes to this book. At some point it is entertaining and can teach you the basics of HTML very well, however, it is too basic for a professionals or semiprofessionals. Topics covered within the book are well explained, it covers basics of the […]


[05-09-2011]

NetCAT 7.1 started

… and I take a part again :) Read more: http://wiki.netbeans.org/NetCAT


[02-09-2011]

O’Reilly Master Class: Leading and Managing Breakthrough Projects Video By Scott Berkun

Summary: how to deal with innovators I like Scott’s approach to giving lectures. He makes it half formal half informal and he has this “natural” flow when it comes to performing. It makes acquiring the knowledge easier. What you get here is the knowledge wrapped such way it is easier to swallow. Leading and Managing […]


[31-08-2011]

MuteMyMic is available via App Store

If you prefer buying applications via App Store you can find MuteMyMic here: http://itunes.apple.com/pl/app/mutemymic/id456362093?mt=12


[25-08-2011]

Mac OS X – Cocoa – putting application into background/foreground

BOOL removeFromDock = true; if (removeFromDock == true) { ProcessSerialNumber psn = { 0, kCurrentProcess }; TransformProcessType(&psn, kProcessTransformToUIElementApplication); } else { ProcessSerialNumber psn = { 0, kCurrentProcess }; TransformProcessType(&psn, kProcessTransformToForegroundApplication); } source: link


[25-08-2011]

Make JSON look good – command line

cat data.json | python -mjson.tool


[24-08-2011]

Unable to extract package metadata – XCode4 – validation

You can encounter the following issue: “Unable to extract package metadata” during App validation. I have no idea what is the source of the problem here. However, you can safely remove everything from /var/folders/h_ Or whatever the directory is. It should help. Note! You may require root priviledges.


[22-08-2011]

It’s alive!!! Mute My Mic is alive!!

You can find it here: http://www.mutemymic.com and here: http://www.macupdate.com/app/mac/39964/mutemymic


[20-08-2011]

MuteMyMic is on the way

Hello all Mac users. I am working on MuteMyMic recently. You can find it here: mutemymic.com I hope it will be ready by next week.


[19-08-2011]

CoreData – looking into data from command line during iPhone Simulator execution

If you want to examine your CoreData tables you can easily achieve this via sqlite3. Open your iPhone simulator directory /Users/$USER/Library/Application\ Support/\ iPhone\ Simulator/$IPHONE_SIMULATOR_VERSION/Applications Find database file find . -name “*.sqlite” Open this file with sqlite3 sqlite3 $WHATEVER_FILE_NAME_IS List tables select name from sqlite_master where type = ‘table’; Get detailed information regarding given table PRAGMA […]


[14-08-2011]

PRACTICAL PACKET ANALYSIS by Chris Sanders

Summary: quite good introduction into the topic Practical packet analysis is related, in fact, to a single product – Wireshark. Chris mentions other tools as well (in an Appendix), but he mostly focuses on this, particular tool. Wireshark allows you to analyze what’s going on within the wires of your network. Listening to the wire […]


[12-08-2011]

Beginning Android 3 – giveaway – and the winner is …

You can watch, almost live :) transmission from the drawing here: contest For less patient … the winner of the contest is: Wadael. Thanks to all who have contributed their posts. I will contact the winner in order to discuss the further detail of delivery. Thanks again for joining the drawing.