August 2010
1 post
3 tags
xfce and ubuntuone
I do like Ubuntu Netbook Remix’s UI. However with 10.04 it’s just gone so unstable for me. After login when system prompts for keyring secret, UNR environment crashes and drops to gnome. I have to relogin if I need UNR env. After I removed a few packages it could not just start gnome panel causing a great inconvenience. I guess this is due to Evolution integration with latest Ubuntu....
Aug 28th
February 2010
1 post
3 tags
Reliance Netconnect Broadband+ on Linux
It works. Make sure while purchasing you inform them that you use Linux It’s fast and reliable in Pashan, Pune area Below config worked for me on Ubuntu 9.10 AND 10.04 There are Linux drivers on the CD but I could not get it working on Ubuntu 9.10. For activation, I had to use Windows :( sudo apt-get install usb-modeswitch wvdial vi /etc/wvdial [Dialer Defaults] Phone = #777 Password...
Feb 23rd
January 2010
1 post
2 tags
All izz well?
Surely one of the most over-hyped film. What was good? Aamir, Music and the first half laughs. Post interval it becomes a predictable, boring, idiot bollywood movie. Munnabhai s were certainly better. I would say watch it on TV or atleast don’t pay 3 times higher than usual for tickets like we did. 4 and half stars by critic hmmmm..
Jan 1st
December 2009
1 post
4 tags
30b
Just discovered this cool new calendar+ service called 30boxes. Really impressed by UI and immediately got hooked to it. Moved from google tasks to 30boxes now. Wondering about the architecture and deployment about the service. More about 30b later..
Dec 30th
March 2009
2 posts
5 tags
Unicode
Pulling your hairs over some i18n bug or you fix it but are not able to explain what. This is little help in getting fair idea about unicode/codecs/encoding/decoding etc. Quick tips: a. It does not make sense to have a string without knowing what encoding it uses. b. Utf-8 is a way of storing string of Unicode code points. c. Encoding: Transforming a unicode object into a sequence of bytes d....
Mar 27th
7 tags
Tata Indicom USB Modem on Linux
cat /etc/wvdial.conf [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = USB Modem Baud = 460800 New PPPD = yes Modem = /dev/ttyACM0 ISDN = 0 Stupid mode = 1 Phone = #777 Password = internet Username = internet Don’t understand above. Um ok but I am too lazy to explain.
Mar 13th
February 2009
1 post
5 tags
LinkedIn backlash
Linkedin is one of the few sites that has certainly impressed me with it’s clever design. I would rate it very highly for professional networking. It has one very popular feature “recommendations”. Well while I am not against recommending or get recommended by, as I have done both in past. But I see people who think that more and more people they have in their list (no matter how...
Feb 16th
January 2009
1 post
8 tags
My open source projects
Syncer: A event daemon based on Pyro. Stockie: A personal portfolio manager for an InvestorWill soon write more about these projects.
Jan 24th
October 2008
1 post
6 tags
Qemu networking setup
------------ ---------- | | | Guest | | Host ----+------+----- | | | | Hub | | | | |tap0| |tap1 | | | |-----+-----+-----| | | eth0 | | | | | | | | ----+------- ---------- | (Internet) Host * Add a hub # vde_switch -x -d -tap tap0 -tap tap1 * Assign ip to host's nic # ifconfig tap0...
Oct 12th
August 2008
1 post
9 tags
Configuring your ubuntu for faster internet access
While there is a lot already written here my quick howto $ sudo bash # apt-get install dnsmasq squid # echo "listen-address=127.0.0.1" >> /etc/dnsmasq.conf # vi /etc/dhcp3/dhclient.conf # # vi /etc/resolv.conf # Add nameserver 127.0.0.1 # /etc/init.d/dnsmasq restart # vi /etc/squid/squid.conf http_port 3128 visible_hostname localhost acl all src 0.0.0.0/0.0.0.0 cache_effective_user proxy...
Aug 24th
1 note
July 2008
1 post
5 tags
Youtube flash videos to DivX (on Linux)
This how I convert flash I usually use Firefox VideoHelper Addon to download youtube videos. To play them on my Philips DVP5986K DVD player from USB drive, I need to convert it to DivX. mencoder /home/shon/Desktop/file-864260998.flv -ovc lavc -oac mp3lame -ffourcc DX50 -o out.avi
Jul 31st
May 2008
1 post
6 tags
Using DOT language to produce Flowchart
much better than struggling with the graphical tools. shon@ubuntu:~$ cat test.dot digraph FlowChart { node [ fontname = "Bitstream Vera Sans" fontsize = 8 shape = "record" ] edge [ fontname = "Bitstream Vera Sans" fontsize = 8 fontcolor = "Red" ] // all blocks greet [label="Hello, techie", shape="oval"] which_os [label="What OS do...
May 8th
April 2008
3 posts
6 tags
Contract verification in Python
import zope.interface.verify class ITest(zope.interface.Interface): def foo(arg1): pass def bar(): pass class Test(object): zope.interface.implements(ITest) def foo(self): pass class Test2(object): zope.interface.implements(ITest) def foo(self, arg1): pass class Test3(object): zope.interface.implements(ITest) def foo(self, arg1): pass def bar(self): pass for cls in...
Apr 16th
4 tags
Getting older, getting better and better!
Python programming is joy. I was stuck on python 2.3 at my work for long and could not really get chance to explore later versions. Now that I got the opportunity doing re-architecture of the product I started exploring these. I am more than excited looking at deque, groupby, defaultdict and much more … Also on top of it there exist excellent python softwares like twisted, sqlalchemy,...
Apr 16th
4 tags
SQLAlchemy elixir: Simple example
DB Setup [root@localhost ~]# yum -y install postgresql-python \ postgresql postgresql-server [root@localhost ~]# /etc/init.d/postgresql start [root@localhost ~]# /etc/init.d/postgresql status [root@localhost ~]# su - postgres -c "createuser --createdb \ --adduser shon" [root@localhost ~]# su - shon # normal user [shon@localhost ]$ createdb test [shon@localhost ]$ psql test test=# \q Code...
Apr 16th