PostgreSQL on OS X Mavericks

Few days ago my company computer was upgraded. I waved goodbye to ~3,5 years old 5400rpm HDD and said hello to the brand new SSD.

Because replacing hard drive in my case signifies system installation I decided to migrate from (not so fresh..) Snow Leopard to the latest OS X release.

In this post I’ll show you how to install & run PostgreSQL 9.x on the fresh OS X 10.9 Mavericks instance.

Continue reading

M101J: MongoDB for Java Developers

M101J: MongoDB for Java Developers

Today, my co-worker Kamil (big thanks for him!) told me about interesting MongoDB University’s on-line offering which started a few days ago.

The class is under way and first lectures are already available but registration is still open and if you register now, you will be able to done the first assignments before the deadline (which due date is this monday, 14th Oct at 21:00 EDT).

What’s worth to be mentioned – whole course is free of charge and you will be able to pass the final exam and get certified from 10gen (less formaly also know as MongoDB Inc.)­čÖé

See you in the class!

Typesafe Config & HOCON in examples

Few months ago I’ve started my journey with Play Framework and Akka. I loved their configuration syntax, the HOCON – Human-Optimized Config Object Notation.

If you don’t know what I’am talking writing about, you have to follow these links below to see what the word “awesome” means­čśë

http://www.playframework.com/documentation/2.2.x/Configuration

https://github.com/typesafehub/config/blob/master/HOCON.md

I want to show you how easily HOCON can be adopted into your (JVM-based) projects.

Continue reading

SecureSocial & Memcached

As I promised earlier there will be some news from battlefield­čśë

SecureSocial is a plugin for Play! Framework which provides support for authentication and authorization (through both classic user/pass and OAuth providers).
It requires presence of CacheAPI implementation plugin but don’t worry – Play comes with default implementation based on Ehcache, which works very well.

But we want to try also alternative solution – Memcached, a distributed memory object caching system.
Maciej add play2-memcached plugin to project dependencies and configure it. I also have to install memcached daemon on my local machines.

Application starts without any warnings and everything goes as expected until I fire secured action.
This was a point where the problems begins­čśŽ
Continue reading

A couple of changes..

First change: Language

I decide to follow the rule which is saying: “if you don’t like something because you can’t do it perfectly – start do it more often”.

Also I would like to reach out to a wider group of people, especially those ones from github with whom I collaborate at open-source projects on github – I count on your comments and suggestions!

I’m aware that my english isn’t very well so don’t hesitate you to correct me in a comment if I make some ugly grammar mistakes – I’ll be grateful. I hope someday my english will be fluent..

Continue reading