Turns out reading from a pipe no longer works with gdb 6.0+ ... So something like the following won't work:
gdb -x /dev/stdin -q [program] [pid] <<EOF
set prompt
where
detach
quit
EOF
Instead, you now have to put those commands into a temporary file, and use
gdb -x /tmp/.stacktrace.gdb -q [program] [pid]
Friday, March 21, 2008
gdb 6.0+ pain
Posted by
Ashwin
at
11:03 AM
View Comments
Wednesday, November 07, 2007
पहिली मराठी blog post
आज खुप दिवसांनी मराठीमध्ये लिहित आहे. फारच वेगळं वाटत आहे.
Posted by
Ashwin
at
1:47 AM
View Comments
Thursday, July 19, 2007
Getting mod_rewrite to work on Ubuntu
Why, o why, is such a simple task so damn hard to accomplish?
First off, some retard on debian decided to split up the httpd.conf into thousands of little shards. It might be a good software engineering decision but it's only warranted when the config file grows large. For the default install on _any_ machine, there is no reason on earth why you should do that. Perhaps ubuntu or debian server installs can have that as the default, but why do that for a desktop install? Beats me.
Here are the steps you need to take:
- add soft-links for rewrite.load and rewrite.conf within the mods-enabled/ subdirectory.
- edit sites-available/default and make sure you set AllowOverride All for "/" and the DocumentRoot directories
- make sure you add the RewriteEngine and RewriteRule commands within the damn VirtualHost block
Posted by
Ashwin
at
11:48 AM
View Comments
Monday, January 01, 2007
Buxfer
Well, it's time you should check out Buxfer, a cool site I (along with a couple friends at CMU) have developed for tracking your shared and personal expenses.
Posted by
Ashwin
at
7:21 PM
View Comments
Labels: buxfer business
Saturday, August 19, 2006
Vivaldi changes on ubuntu
Got icecast2 installed through ubuntu.
libshout was already installed. in fact, a number of other packages use it.
ices-0.3 seems to not interoperate with this version of libshout. so i had to upgrade to ices-0.4. cant do ices-2 since it only supports ogg.
after that had to fix vivaldi, since binary location changed from /usr/bin/ices to /usr/local/bin/ices. that was bad. this shouldn't be needed really.
installed other python modules as usual from my directory.
the xmms/libmpg123.so had to be rebuilt, and had to suffer some amount of pain for that. had to install libglib-1.2-dev and libglib-1.2, etc... (older stuff which has no business being here)
after that, id3lib had to be reinstalled. python-id3lib in ubuntu uses the broken version, the patch i had submitted to the dude STILL hasn't been applied. i need to submit this to ubuntu i guess.
and now it is working.
Posted by
Ashwin
at
9:46 PM
View Comments
Friday, July 21, 2006
Ubuntu Qt fix
Comment out the stylus, cursor and eraser input devices to avoid some constant complaining by QT applications..
Posted by
Ashwin
at
5:23 PM
View Comments
Tuesday, October 04, 2005
Dependencies for vivaldi
id3lib.sourceforge.net -- really good library, must be installed.
libxmms.so -- should be installed i guess, if xmms is on your system...
apache, php -- hopefully :)
we need MP3::Id3Lib, but that seems painful ... let's try to write a useful module and ship it ourselves.
Posted by
Ashwin
at
4:21 PM
View Comments