01 July 2012
In the meantime...
This is what happens....
So there I was, I had picked up again writing stuff on the blog more regularly, almost back to the every 1-2 days thing. Then I flew to Switzerland, for a "sprint" with the team on one of my customer projects. It was a good sprint and overall a very good 10 days in Switzerland. But I was too busy to write much.
(A "sprint" is where a team that works usually distributed comes together for a short time to work concentrated on a project and also to catch up on face-to-face discussions.)
When I came back to Athens, the heat was on. There were some days with full summer heat. Having been in mild swiss weather, my acclimatisation was gone, so the heat hit me hard. Plus lots of work, the blogging rhythm was gone. Never mind, I'll just pick up where we left off. The heat calmed down a bit again too.
02 July 2012
Installing jsLint into vim
Second step was to install the jslint.vim plugin itself. Here the main necessary hint was to add the command filetype plugin on to my ~/.vimrc file. In ~/.vimrc I also added these lines to be able to switch the highlighting of "complaints" off and on:
" jslint display errors off & on again
map %0 :let g:JSLintHighlightErrorLine = 0<CR>
map %1 :let g:JSLintHighlightErrorLine = 1<CR>
Instead of %1 and %0 you might want to choose some command that suits you better, I'm always at pains finding good command keys in vim that are not used for something else yet.
Now jslint was complaining about too much. The next step is to create a configuration file in ~/.jslintrc to give it some standard settings. Currently for me that's:
/*jslint browser: true, nomen: true, sloppy: true, vars: true, maxerr: 250 */
/*global jQuery, $ */
06 July 2012
Went out with friends to the Mikrasiatiko restaurant in Ilisia yesterday evening. We had a good time there, with lots of friends. I ate a lot of "saganaki pastourma". Now I've heard before that people say that eating pastourma makes your body smell of it for a few days. Never had happened to me. But this time, maybe I ate more of it, maybe it's the warm weather, now my body really smells of it. I smell like a spicy piece of cured meat.... lets just hope that there are no cannibals around!
11 July 2012
darcs https/SSL repos on OpenBSD
Complaining, complaining, always complaining
Trying to access a repo on a https URL (using SSL) using darcs on OpenBSD, I got the error:
"Peer certificate cannot be authenticated with known CA certificates"
Even though there is a "real", "verified" certificate on the SSL web host. The problem appears to be that darcs goes through curl for these http accesses and curl does not find the proper CA root certificates.
Solution: Download the root certificates from the curl caextract page and install them in /etc/ssl/cert.pem. Seems like there was some root CA missing in the cert.pem bundle that I had there.
13 July 2012
tmux book at the beach
Useful Information and a horse
We went for a late afternoon swim today after work (ok, before work too, I'll soon continue a bit). While there I was reading the tmux book I had bought a weeks or so ago.
I hadn't expected too much in that book, since I'm already using tmux, have mastered the first bit of confusion, and after all, all the info is in the man page. But then, on the first 15 or so pages, I already found a bunch of interesting information and things to try out too.
For example it made me think about organizing different projects in separate sessions and more consistently name some windows.
While I was reading these things in the last half an hour before sunset, the beach was pretty much emptied. Then there arrives a guy on a horse, riding without saddle. They go straight for the water, right in the sea. At this beach, the beach falls down pretty fast, a few steps and you are in swimming depth. The horse goes in probably till it lost step, swam a bit and they came back and leave. Impressive.
30 July 2012
Work in the Summer Time
All over the place
Don't let the picture fool you. During all this quiet time on the blog I've been working. Working lots of hours. I've been on Naxos for a while (where I went to swim every couple of days after work, so I could take this picture), and now for some time I'm back in Athens.
It's hot here, so I mostly stay indoors and... work. I'm having a good time at it too. Working with good people for one thing, something I had really missed through the years when I was the sole coder at the job (which is nice too, in a way). Also having long stretches of concentrated coding, just immersing myself in code. Good stuff.
31 July 2012
Cold Green Tea
Sipping it in the heat
Lately I drink cold green tea. In the morning I prepare some green tea. I let it cool down, add some brown sugar and fresh lemon juice (squeeze half a lemon, to taste), cold water (about 1 part tea, 2 parts water), and ice. Put it into the fridge.
That way, I have something refreshing and isotonic to drink all day. I like the sweetness to be very low. So low that it's almost not clear if there is any sugar in there. Same with the lemon, just a hint of it.