Win Free Copies of new book of Learning iPhone Game Development with Cocos2D 3.0

Packt offered me a three copies of their recently published e-book: “Learning iPhone Game Development with Cocos2D 3.0″

If you want to enter the competition, read on.

You can get one digital copy out of three, but there is a catch :) You have to be a lucky winner. If you want to try to become one you have to:

1. go to the book page (click in the link or click in the book cover below)


2. take a look at the description of the book

3. comment below this post and tell me what interest you most about this book. If you have any other comment related to game development on iOS it will also qualify. If you want to discuss different engines, it will also qualify. If you want to discuss supremacy of one of the engines over the others, it will qualify as well :)

4. provide your name and valid e-mail address. I will never share your e-mail addresses with anybody else. In case you win, your e-mail will be sent to Packt for the e-book delivery.

5. Winners will be selected from the pool of all commenters using sophisticated R script ;)


Contest will close on 24.08 12:00 CEST – any comments posted after that date will not qualify.

Make sure to post your real e-mail as winners will be contacted via e-mail.

Please note, that winners’ e-mails will be sent to Packt. This is the only way to get the e-books.

Good luck

the SDK ‘MacOSX10.9.sdk’ does not support Swift

If you work with OS X 10.9 and want to have swift at your console, just specify new SDK location as parameter.

// this is test.swift
Toolchains/XcodeDefault.xctoolchain/usr/bin/swift \
-target x86_64-apple-macosx10.9 -sdk \
Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk test.swift

tcsh + pushd + cd – very convenient settings

I have just found really useful settings for tchs that make life easier:

alias dirs 'dirs -vl'

set dunique
set pushdsilent
set pushdtohome
alias cd 'pushd \!*'


And Now for Something Completely Different – two, really nice remixes by J. Guthrie

Screen Shot 2014-07-31 at 9.34.43 PMScreen Shot 2014-07-31 at 9.34.50 PM

Supercommunicator: Explaining the Complicated So Anyone Can Understand by Frank J. Pietrucha


Summary: Gives a small handful of advices on how to communicate

This is one of these books where you get good advice on how to perform well when communicating things. I fully agree with Frank on how much important is the message. I fully agree on choosing right tools, right way of approaching the audience, but I missed that in the book itself. All these ideas are rather presented than discussed. There are statements but with not too much of critique. And that’s what I have missed most.

For people who are really new to the topic this is a nice starter. For people who are in the subject, most of the concept are already known.

This book has rather light approach and will not require full attention from you all the time.

Product page: Product link

O’Reilly (print): Supercommunicator
Safari Books Online: Supercommunicator

And Now for Something Completely Different – Chorus is too loud ;) ?

2:51 – that look. Is it bassist or chorus?

If you wanted to buy something from Packt, that’s about a right time

10 days 10 years - Home Banner

Validate XML against schema using xmllint

xmllint --noout --schema schema.xsd file.xml 

Python Network Programming Cookbook by M. O. Faruque Sarker

Summary: Whether you need it depends on your tasks

Python Network Cookbook provides you with the samples related to the range of networking topics. Whether you will benefit from it depends heavily on your tasks. The point here is that the range of samples is really huge. Starting with data manipulation required for network based transfer, through socket based networking, interfaces related samples, IPv6, to topics covering HTTP, IMAP, and web services.

Now, don’t get me wrong, but the percentage of the book you will benefit from heavily depends on your day to day work. If you deal with http stuff all the time, you will find half of the book entertaining. On the other hand, if you do some low level development and you want to design your own means of transportation based on sockets, first half of the book will be of your interest.

What I have found particularly useful for me were the http related samples, web service handling, and port forwarding. But these are things that I can benefit from directly.

For sure, this book will be really interesting for the students who have to deal with networking related lectures. You will be able to jump directly into virtually any network related topic.

The book has one drawback. Some of the samples are Linux based. I am pretty sure you can use them anyway by using MacPorts or Cygwin, but still, it might be slightly frustrating for Windows and Mac users that some samples are marked as “Linux only”.

Before you buy the book, make a simple calculation how much you can benefit from it. If you decide that more than half of the book is useful for you – go ahead.

O’Reilly (print): Python Network Programming Cookbook

Nasty trick with PATH

If you want to prevent people from accidentally changing PATH variable try this one:

set PATH="$PATH:\0"
set PATH="$PATH:some_additional_path"
echo $PATH