Ask Mr Make is a tips and tricks column on build systems with an
emphasis on GNU make. The wealth of information provided by these
articles apply directly to real world problems, something that the
manual does not do. Also, there are fun articles like solving the
Tower of Hanoi problem using make that demonstrate the extent to
which make can be (ab)used. Highly recommended if you are the kind
of person who writes makefiles by hand.
Sunday, August 02, 2009
Ask Mr Make
Posted by Krishna at 7:30 PM 0 comments Links to this post
Thursday, July 16, 2009
s/screen/tmux
The most impressive thing about tmux, in my view, is howfrustrating the code audit was. In 2 hours, I found only oneor two nits that had very minor security consequences. It wasnot accepted into the tree based on license alone. It is highquality code.
Posted by Krishna at 6:13 PM 0 comments Links to this post
Sunday, July 12, 2009
s/GCC/Clang
CC=clang ./configure
Posted by Krishna at 12:16 PM 1 comments Links to this post
LinuxMint 7 "Gloria"
Posted by Krishna at 2:18 AM 0 comments Links to this post
Labels: linux distro
Saturday, July 11, 2009
9x18
I was looking for a bigger font for my terminals as 6x13 was starting
to look too small on my display. For terminals, I prefer the crisp and
sharp appearance of bitmap fonts although Envy Code R is not bad at
all. Ctrl-Rightclicking on XTerm gives you a menu where you can select
a large font which turns out to be 9x18.
Originally part of the ucs-fonts package, the font got merged into
core X distribution. This is what the website says about the font:
9x18 is an improved version of 9x15 that has more space above and
below the base characters to increase readability and to allow
overstriking combining characters to work properly.
Indeed, the font is nice and tall (although some may say spindly) with
a good inter-line spacing making it a good choice for terminals. Also
the font has a good coverage of characters. For example, it includes
all mathematical symbols, smiley and even chess pieces (terminal based
FEN viewer anyone?)
-Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1 is the
actual XLFD 9x18 is aliased to but on my machines (Ubuntu and
OpenSuSE), the fonts.alias file did not have the entries so I had to add
them manually.
Versions of -misc-fixed family are also available for Windows. My cmd.exe
windows use 6x13 giving me plenty of lines of clear text.
Posted by Krishna at 8:04 PM 0 comments Links to this post
Labels: fonts
Monday, July 06, 2009
...
For the last two weeks, I've been down with chicken pox. While the first
10 days were pretty bad things are improving as I'm finally off of curd
rice and raw onions and slowly getting back to eating some tasty food.
This little period of rest is a god-send for me as I was getting worked
up at work and an ever piling reading list adding to the irritation. The
last few days, apart from reading, the tool seeker in me has found some
really cool tools and when you start dreaming of use cases for these
cool toys and tools, the pain and the irritation just vanish. Hopefully,
I shall blog about them here this week as I'll be quarantined for atleast
another week.
Posted by Krishna at 1:59 AM 0 comments Links to this post
Labels: life
Tuesday, March 17, 2009
LyX, LaTeX and books...
I'm typesetting a book for a friend. Initially I had to decide between LaTeX and ConTeXt. Although LaTeX had a WYSIWYM editor in LyX I've always liked ConTeXt for its perceived completeness (their documentation always looked better than the rest) but I haven't touched it since 2002 when I last used it for preparing reports for college. However after checking out LyX 1.61 the choice was easy. LyX has come a long way since the early versions that used the XForms toolkit.
As for the document class to use for the book the popular choices seemed to be KOMA-Script and Memoir. I almost selected KOMA-Script when at the last moment decided to take a look the Memoir documentation and I was pleasantly shocked! The documentation for the memoir class is simply brilliant! (and beautifully typeset too!). It is not only a class documentation but also a complete introduction to typesetting. I'd say it is mandatory reading for any novice getting into typsetting. Google for memman.pdf and give it a good reading.
I ended up using LyX with minimal ERT needed to customize the memoir document class.
Here's an article that presents a good overview on designing a book with LyX:
http://www.linux.com/feature/56471
Also a good set of tips was picked up from
http://www.markschenk.com/tensegrity/latexexplanation.html
For preparing bibliographies, JabRef is a nice utiility for managing your BibTeX databases.
I haven't really looked at indexing options but the book is mainly an internal monograph so the index can be omitted.
Posted by Krishna at 12:06 AM 0 comments Links to this post
Monday, March 16, 2009
Hello again!
Back to blogger after roaming elsewhere for three years. As was mentioned in my last post here, I moved my blog to WordPress but was never happy which ofcourse had to with the then prevailing confusion in my life rather than wordpress itself. I eventually deleted that blog in early 2008 and then moved my blog to my own VPS on linode. After grappling with toolset issues (dokuwiki, blorg, ikiwiki) finally settled on pier which is what the fork of this blog is currently running on at http://scriptek.co.in/seaside/pier .
In the meanwhile this "dead" blog was getting more hits than all the other blogs put together. Also blogger is now a google service which meant that it was auto-associated with my gmail account which happens to be my primary email account. There were also additional conveniences like mail2blogger which suits my workflow than logging in and editing posts inside a HTML editor (which I really hate btw). All these factors made me want to switch back to blogger and continue my original blog. However there was a nasty problem: I forgot the password and the email that was associated with my blogger account was no longer there. So this blog was more or less orphaned but the hits kept coming. Wrote a few times to Google but I guess my requests went to /dev/null.
Finally, today I sat down to methodically try and eliminate all the passwords I've used so far in my life. After an hour of trial (and getting kicked out) I managed to login!!!
So here I am, back to where I first started.
Posted by Krishna at 7:09 PM 1 comments Links to this post
Labels: meta