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

_JAVA_OPTIONS – special JVM environment variable that we tend to forget about

If you experience really strange behaviour of your Java app, and you want to play with settings try using _JAVA_OPTIONS

setenv _JAVA_OPTIONS "-Xmx2G -Xms1G -Xcheck:jni"

You can set any settings as you would while calling java.

Running Swift from Sublime Text 3

If you just want to play with Swift’s basics try following:

Inside Sublime Text 3 choose

Tools -> Build System -> New Build System

and replace default entry with (NOTE! make sure everything is a single line)

	"shell_cmd": "/Applications/Xcode6-
\"${file}\" -o \"${file_path}/${file_base_name}\" 
&& \"${file_path}/${file_base_name}\""

Then, type in simple Swift code and press Command-B


// This is sample array

var stringArray = ["aaa", "bbb", "ccc"]


Agile Software Architecture by Muhammad Ali Babar, Alan W. Brown, Ivan Mistrik


Summary: Academic style

If you like academic approach to the topic, that’s something you are looking for – definitely. The book is a collection of articles from various authors. This is slightly misleading, because you don’t expect that by cover. The point here is that book itself will not provide you with some solid, single minded idea of how to join architecture and agile based approaches. It’s rather composition of ideas that circle around the topic. And you can tell that basing on writing style. Practically each chapter has different way of expressing topic.

Plus for the references. As we deal here with articles, you will find loots of references to various sources. If you are really into the topic, this will help you find the information in other places.

O’Reilly (print): Agile Software Architecture

OS X 10.10 virtualisation

So far, so good. I was able to get OS X 10.10 working with VM Fusion. So, I can at least try some new stuff. The same goes for Xcode 6. I had no time to check it’s features, yet, but at least it installs :)

Just one remark – be prepared for “snail mode” while working with OS X 10.10 inside Fusion. It is terribly slow!!

As for Parallels – no luck here :( It simply freezes on boot screen.

How to install OS X 10.9 Mavericks in Parallels 9

So, you are going through all these posts at different blogs that tell you how to tweak USB installation disk in order to install OS X Maverics inside Parallels 9.

Instead, just take a look directly at the source: