June 20, 2009

2 month ago i spent my vacation at Tenerifa, Spain - and only now i found time to upload some photos to Picasa. I tried to select best photos (from my point of view) - I experimented with my Nikon D60 & tripod, trying to get photos at nights, etc.
Here is some photos, other are available at Picasa & Yandex Photo (with Russian interface only):
From 2009. Tenerife

From 2009. Tenerife

From 2009. Tenerife

From 2009. Tenerife

June 14, 2009

Just finished reading of Real World Haskell

Several minutes ago I finished reading of Real World Haskell book. This beautiful book, containing very good description of Haskell, and practical aspects of it's usage for programming.
I also prepared my first package to upload to Hackage...

May 25, 2009

Muse + bibtex -> HTML output

I slightly hacked Muse to add support for bibliography generation in HTML output. First (very naive, but working) version is available from my repository at github

May 16, 2009

New version of ECB package

After 4 years of development, the new versions of ECB package was released. There are lot of changes, now ECB requires fresh version of Cedet package, as it uses many new features of it, including support for EDE projects.

April 27, 2009

Continue to upgrade my iMac

After almost 2 years of work on Intel iMac 20", I decided to upgrade it partially. Two month ago I increase memory from 2Gb to 3Gb (this is maximal amount, available for this model), and last Saturday I replaced hard disk in it (from 250Gb to 1Tb - Samsung Spinpoint with 32Mb of disk cache).
Upgrade took several hours - first, I cloned old disk to new one, with Carbon Copy Cloner (standard disk utility hadn't work well), and then I replace hard disk inside iMac - this step took about 40 min. - I took off LCD screen to get access to system board where hard disk is installed. And after assembling, all started to work without any problems and questions.
I'm very satisfied with selected hard disk - it's silent, and provide very good performance, comparing with old WD

April 19, 2009

Linux-related

Last friday I switched my work desktop computer from 32-bit Ubuntu to 64-bit Debian Lenny (to be in sync with other members of our development team). As I had second hard disk in my computer, migration was very easy - I restored all my personal configurations in half hour.
After work with Ubuntu, it was novel to find, that stable repository has very old packages (testing also not so fresh), so I already backported some of packages from unstable. But I don't plan to swithc to unstable completely.
P.S. I almost broke my brain, trying to figure out, why git cann't see repositories on the usb flash disk. After some googling, I found, that debian & ubuntu have different default mount options. I added the shortname=mixed to mount options, and all started to work fine.

April 9, 2009

Back from vacation

I returned from vacation 2 days ago. Change of environment, allows to get rid of winter's fatigue. Besides of swimming, sunbathe on the beach, and taking a walk across the Puerto de La Cruz, I also spent a lot of time reading a set of papers, that I wanted to read long time ago, but hadn't time to read. This includes number of papers on Haskell (History of Haskell, Typeclassopedia, Tackling awkward the Squad, etc.), LLVM, Information Retrieval, and also half of "Programming Collective Intelligence" book.
P.S. and dozen of sci-fi books of different authors ;-)
P.P.S. when reading these papers, i often thinks about buying a e-ink based book reader, but 10" models (size, that allows me to read PDFs) still too expensive :-(

March 21, 2009

GNU Emacs 23, Mac OS X and fonts

After several weeks, had rebuilt theŠ» GNU Emacs from CVS and start to work with it under Mac OS X. In latest builds, use of anti-aliased fonts is disable by default, so text looks very bad :-( In mailing list i got a hint about the ns-antialias-text variable (not available via customize), that should be set to non-nil value, and than anti-aliased fonts will enabled, like in Carbon Emacs.

March 6, 2009

Small addition to sh-mode

Below is piece of code, that could be useful for all, who write shell scripts in Emacs. It provides sh-check-syntax function, that performs syntax checking (currently only for sh/bash/zsh) and navigation between errors, if they found. It's better to bind this function to some key (i use C-c l)
(defun sh-check-finish-hook (buf msg)
"Function, that is executed at the end of sh check"
(when (not (string-match "finished" msg))
(next-error 1 t)))

(define-compilation-mode sh-check-mode "SH"
"Mode for check sh source code."
(set (make-local-variable 'compilation-disable-input) t)
(set (make-local-variable 'compilation-scroll-output) nil)
(set (make-local-variable 'compilation-finish-functions)
(list 'sh-check-finish-hook))
)

(defun sh-check-syntax ()
"Check syntax of current file"
(interactive)
(when (string-match "^\\(ba\\|z\\)sh" (symbol-name sh-shell))
(save-some-buffers t)
(compilation-start (concat (symbol-name sh-shell) " -n " (buffer-file-name))
'sh-check-mode))
)

March 1, 2009

New Cedet pre-release

After almost two years since previous pre-release, Eric M. Ludlam released today a new pre-release version of Cedet - 1.0pre6. This version includes numerous additions of new features, and fixes.