Marcin Świerczyński's blog

Marcin Świerczyński

My name is Marcin Świerczyński. I'm a software developer especially interested in Java and Python languages, Java-based technologies and mobile applications development.

I'll be writing here about interesting issues I faced during my programming adventures. I hope you'll find the solutions useful.

Code Simplicity by Max Kanat-Alexander

posted 15 Apr 2012

Thanks to O'Reilly Blogger Review Program I was recently able to read Code Simplicity by Max Kanat-Alexander. First of all, I have to admit I was confused by the title. I thought that the book will be about, well, coding. But it isn't - in the whole text there is almost no code at all! Instead, on a first few pages, you can read that the book is about a design. But again, if you,...

¬ read more

Mastering Advanced Git by Matthew McCullough and Tim Berglund

posted 12 Feb 2012

It was almost a year ago when I had a pleasure to review Mastering Git by Matthew McCullough and Tim Berglund. Today, thanks to O’Reilly, I can take a look at its successor - Mastering Advanced Git. Just as a reminder: I really liked the first part. But I simply loved the new one! It covers Git details in very thorough way. And, what is perhaps even more important, it leads you through them in...

¬ read more

Cloud Foundry + Grails = lightning fast deployment

posted 07 Jan 2012

The purpose of this article is to show how quickly and easily deploy Grails application to Cloud Foundry platform. What is Cloud Foundry? From cloudfoundry.com: Cloud Foundry is an open platform as a service, providing a choice of clouds, developer frameworks and application services. Initiated by VMware, with broad industry support, Cloud Foundry makes it faster and easier to build, test, deploy and scale applications. It is an open source project and is available through...

¬ read more

Mastering Git by Matthew McCullough and Tim Berglund

posted 05 Mar 2011

On the beginning, I just want to say one thing - McCullough and Berglund on Mastering Git is a perfect way to learn Git! The only requirement is an ability to learn in a classroom-type environment. An impression of class or conference is maximized by the fact that “students” are asking questions. If you're able to learn from a lecture, keep reading! This video provide you with step-by-step instructions on how to efficiently use Git...

¬ read more

2010 summary and 2011 resolutions

posted 31 Dec 2010

I've never done summary of the past year before. As well as I've never make huge resolutions for the upcoming year. But, come on, this year was so great it deserve this! We often forget about our past successes so I think that just thinking about them is a great way to start the New Year with good attitude. On the other hand, the next year resolutions list can be a guide for what to...

¬ read more

How to create UIPickerView with toolbar above it in iOS

posted 06 Dec 2010

A few days ago, I had to implement a UIPickerView based select list with toolbar above it. The toolbar had to have a button to close the picker. The whole solution had to be very similar to the one used in a mobile version of Safari browser. How to do that? The clue of the problem is contained in just two properties of UIResponder class: inputView and inputAccessoryView. The first one contains a view which...

¬ read more

Scaling Django

posted 06 Dec 2010

Just quick info: very interesting presentation by Mike Malone about scalability of Django-based web applications. Scaling Django View more presentations from Mike Malone

¬ read more

Django and Rails and Grails comparison

posted 08 Nov 2010

I've recently found a link to an interesting presentation at zenzire.com. Its author, Jaime Buelta, speaks about differences between Django, Rails and Grails frameworks. I know Django and Grails. Personally, I like both of them. I can't only disagree with one argument about Grails - it's rather poorly documented. But still, it deserves to give it a shot. Just take a look at it. Django and Rails and Grails, Oh my! (Jaime Buelta) from whykay...

¬ read more

Virtualenv + pip

posted 02 Oct 2010

In the Java world there was always a problem with dependencies. All the jars we had to mange by hand - quite awful. Thankfully there is a Maven project which helps us in requirements management. But what about Python? Is there any way to handle necessary libraries? Of course, there is! It is a tandem of virtualenv and pip. Virtualenv is a tool to create isolated Python environments. I'm sure you can imagine a situation...

¬ read more

Productivity tips for programmers

posted 05 Sep 2010

I've recently started reading The Productive Programmer book. In a few first chapters, I've found some interesting tips for programmers. Some of them can be useful for non-programmers too. Prefer typing than using mouse It is quite obvious that moving hands from keyboard to mouse consumes a lot of time. How to minimize this effort? Use launchers. That applications can be started by a simple keystroke. They display an input where you can enter a...

¬ read more