ohmkara 1.0

a technical blog.

data

leave a comment »

I am used to throwing data at the problem. But it seems that these days people throw problems at the data — the data is a primary entity!

(Not everyone, including myself, agrees completely though)

Written by deepak

April 26, 2011 at 8:23 pm

Posted in takes

Computation

leave a comment »

The world is ever computing. Every object is at least a special purpose computer, computing its own behavior (running the code that is the laws of nature)… can we execute a different code? Are the rules meant to be broken? Can we run our programs on substrates that we do not currently recognize as computational? Is there a substrate or is it all code?
(OR, in other words, am I crazy? :P)
P.S: I do not know how long this ISR, which woke my blog from sleep state will last…

Written by deepak

April 26, 2011 at 7:51 pm

Posted in Uncategorized

Tagged with ,

FVWM, making laptop multimedia (sound) keys work

leave a comment »

I was giving fvwm a spin on my laptop. Of late I have grown to like fvwm.

Problem statement: Making volume / multimedia keys of the laptop work in fvwm

Well the following two pages documents how it is to be done —

1. Figuring out the key-codes for your multimedia / sound keys and including these in your .Xmodmap : howto-link

2. Map these keys to alsa-mixer commands in your .fvwm2rc: howto-link (post: Audio buttons)

Written by deepak

May 4, 2010 at 11:15 pm

Posted in free lunch, linux

Tagged with ,

fvwm + xscreensaver

leave a comment »

For xscreensaver to work, a daemon process has to be running in the background. I load it up with the following line in my ~/.xinitrc

xscreensaver -no-splash &

Written by deepak

April 15, 2010 at 8:55 pm

Posted in linux, my notes

linux screen resolution

leave a comment »

I have just started using FVWm2 @ home but everytime I login, X was going into weird screen resolutions — the solution is available here: @Ubuntu wiki

The following works — adding

xrandr -s 1152×864

to your ~/.xprofile file (ya, I know, wierd resolution — more on that in another post, if ever)

Written by deepak

April 15, 2010 at 8:49 pm

Posted in linux, my notes

how long did it take?

leave a comment »

How to measure how long it took to run a command — to benchmark etc. in linux / unix etc.

…]$ time command

Online man-page

Written by deepak

January 26, 2010 at 9:07 am

Posted in linux, my notes, tools

Tagged with

wireless ad-hoc network

leave a comment »

Try with static IP setting if you are un-able to logon to a wireless ad-hoc network. IP setting over DHCP did not work whenever I tried…. Maybe I am trying wrong.

Thanks to my roomie for this gyaan.

Written by deepak

January 26, 2010 at 8:59 am

Posted in my notes

Tagged with