fufek's blog

Say Yo! Yo! to wrapper

Today morning I have been frustrated because I had some applications run five times each. Why? Heh, long story :) Scripts that do upgrade should restart those application but every time things go wrong. I heard about Java Application Wrappers but I didn't know that using wrapper is so simple thing.

If You think it can be useful for You check YAJSW. It's free and it have most of all functionalities.

file allocation failure

I have decided to write this very short post because I had such an error "file allocation failure" while evaluating MongoDB and i wasted a lot of time to find what does it mean. Fortunately I found that it's mean there is no free space on disk :)

Evening with MongoDB

There are dozens of videos and screencasts about MongoDB. If You don't know this database yet You can spent a little time relaxing and watching some of them.

Removing file permanently in Git

If You'd like remove file from Git repository and delete everything about it from history, see this how to.

Newest MongoDB on Ubuntu 10.04


sudo gedit /etc/apt/sources.list

and add followed line:

deb http://downloads.mongodb.org/distros/ubuntu 10.4 10gen


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo apt-get update
sudo apt-get install mongodb-stable

Run mongodb console:
mongodb

.. and now you can listen a music.

Vaadin - really cool thing!

I would like recommend you Vaadin - excellent Java framework for internet application. It doesn't make sense to write more because documentation is very good, there are a lot of examples and free book on Vaadin page. In short Vaadin is made on GWT as a base but some GWT disadvantages are eliminated in Vaadin. I think that Vaadin is with no concurrency if we take Java solutions for such kind of applications. It's so easy and beautiful.

You can write bussiness application or embed Vaadin components on pages by div, iframe or as a portlets.

Is it not obsession?

Take a look, number of new key-value stores is still growing. If you feel a little confused with that, there is here nice article about it which can help you to have some knowledge what products we have to choose.

Removing not empty directories

Recently i spent a lot of time to find how to check (in bash script) if directory exists and whether this directory is empty. Maybe someone will find this solution helpfull..

if [ -d "directory" ] && [ 1 = $(( 3 >= $(ls -la "directory" |wc -l) )) ]; then

echo "directory is empty"

fi

If you missed Scala Days 2010

I was very surprised when i entered this page - a lot of great, high quality videos from conferences that were place at Scala Days 2010. Big thanks for those guys!

Are You open-minded?

In nowadays there are so many frameworks and solutions but some people still develope applications using jdk 1.4, JSP and nothing more :) Test yourself and check for example projects on Apache Incubator. How many solutions You know and how many have You been using?

Recent comments

Syndicate content