I start doing podcast. Utltrabezci.cz
My first ultra and pictures from training as part of project to raise some money for charity.
I’m starting my little photo project. More info here: http://zaparka.cz/365-photo-project/
This gallery contains 1 photo.
Quite nice best CSS practises.
I just read pretty good article about reasons why are good programmers leaving and why others staying.
If you ever wondered how to check for file if exist while you were using carrierwave gem with storage on amazon S3 here is how.
Assuming you have User class:
class User < ActiveRecord::Base
mount_uploader :avatar, AvatarUploader
and uploader class
class AvatarUploader < CarrierWave::Uploader::Base
then only thing that you have to do is this
user = User.first
thats it. I kind of assumed that it should be simple avatar.exist? but you have to get fog instance of file to be able to access exists? method.
Here’s a link for Super better game from talk.
This article is quite good, but as every article you have to make up your min about it. Don’t follow every advice blindly. Think and then you practice. Remember, start behaving like someone who you would like to be and then you will become that person.
If you ever wander what is all that fuss about Higgs boson, then today is your lucky day. Here’s a great explanation on Vimeo.
I had conversation with @mattwilliams about weather and how it would be great to have some tools that will tell you if it will be warmer / colder than yesterday. So you can decide what to wear or what to bring (like umbrella) with you to work. So I build it and you can try it here. Let me know what do you think.
From developer point of view:
Whole thing is build in latest rails. I’m using Google API (that have no documentation) for weather feed, Twitter for messaging and for authentication. The whole thing is hosted on Heroku.