So I spend few hours playing with Linux Containers. Pretty interesting stuff. So here is small tutorial on how to create and use container on Arch Linux as host machine.
Here you can download latest Java 8 preview for armhf. Lets benchmark it on Raspberry Pi!
Bored and have free time? Lets build something. Lets build RC Toy. Hm, and lets use Clojure (because clojure is pure fun to use).
Ctags is great piece of software. And it took me some time to realize how I can use ctags with vim in optimal for me way. My solution is petty simle. I have few vim functions that vim runs when buffer write is done.
I spend today few hours reading mc documentation about color scheme configuration. Came up with following color scheme. Enjoy :)
For more information take look at mc wiki and run
mc --help-color to see available color variables in your mc version.
Format of color configuration is
what=foreground,background:. All configuration shoud be in one line (ofcourse you can write it in multiple lines and then use vim (or other cool editor) magic).
Benchmark is based on my previous experiments with BeagleBone and Clojure. Setup is the same. BeagleBone is running Ubuntu 12.04. Cpu is running on 500 Mhz. Node version is 0.6.12. ClojureScript is compiled with advanced and simple optimizations.
So I heard that you hate IE. Also I heard that you love HTML5. Is that true? Great, I feel the same about IE. So here is quick fallback script for html5 validation in older browsers (or crappy ones, like IE). You will need three things for that.
Second is JQuery. I think you are already familiar with it, so there is no need to tell you why it’s awesome and how to use it.
Third is JQuery Validation Plugin. It provides mechanism for form validation based on input classes.
So now only things you need to do is to convert html5 validation attributes to html classes and run validation plugin. Here is small CoffeeScript snippet:
1 2 3 4 5 6 7 8 9 10 11
And as always, Have a nice day! :)
Today I removed from my blog all staff that can track users. I removed Twitter follow and tweet buttons, Google +1 button, Google Analytics script, Facebook related crap.
Why? Because it’s just unfair. Why would you provide any information about yourself by just being curious? I actually not interested in how many people are reading my blog, anything about traffic sources. Only thing that I am interested in is feedback from users. That is why I left Disqus unchanged. Maybe later I will find something more open and replace Disqus with it. But for now if privacy is issue for you check out Ghostery exstension for Google Chrome (Chromium).
Recently I migarted from awesome to xmonad. I’m Programmer Dvorak freak, so I stuck with controlling current workspace from numbers row. First hack was to use functional keys [F1..F12] like so:
1 2 3 4 5 6
But after some research I found that I can detect key symbol using xev command. Here is my latest solution:
1 2 3 4 5 6 7 8
Hooray! It works!
After installing Embedded JRE on BeagleBone I decided to benchmark it against OpenJDK.