“How should I know if it works? That’s what beta testers are for. I only coded it”
– Linus Torvalds
Source: Ten Funny Quotes By Linus Torvalds
– Suramya
“How should I know if it works? That’s what beta testers are for. I only coded it”
– Linus Torvalds
Source: Ten Funny Quotes By Linus Torvalds
– Suramya
Under a new law that went into effect this month, it is now a crime to refuse to turn a decryption key over to the police. So lets say you have an encrypted file on your computer and you are traveling through UK, if the cops feel like it they can force you to hand over the decryption key. If you don’t comply you face a 5 year sentence in jail if the investigation relates to terrorism or national security, or up to two years in jail in other cases.
But what they don’t seem to have considered is that sometimes people do forget passwords and keys. Back in 2003 I went through a phase where I started encrypted all my data backups (MySQL database dumps etc) using PGP for a couple of months, which was all well and good. Then I had to upgrade my OS so I formated my computer managing to loose the decryption key which was stored in my PGP keyring. I do have a physical copy of the key but thats sitting in one of the boxes in storage. So if I went to UK and they asked me for the key I can’t give it to them because I really don’t have it. But if I tell them that I will end up in jail for 2 years if the judge refuses to believe me.
So I think I am staying away from UK for the time being.
Thanks to Schneier on Security for the news.
More information available at The Register
– Suramya
Vinit and Surabhi were in town the past few days and they brought their Wii with them to play with and I tried it out for the first time. Its a cool system and its fun actually swinging the controller instead of pressing a button to swing a bat. But (Yeah there’s always a but) I don’t think I will be buying one. I played with it for about 1/2 hour in the past 3 days and I think I have had enough.
This could be an effect of the games that they had which were really kiddish, so that could be a reason. But overall I don’t think so ’cause I am not a very big gaming fan; the only games I like playing a lot are Warcraft II, and Diablo (both of them) and Decent II. Doom , Duke 3d and Halo were good for wasting a little time and other than Warcraft & Diablo I haven’t spent a lot of time playing games.
So I am not going to be buying a Wii.
– Suramya

Burma in Brief
The people of the Southeast Asian country of Burma are locked in one of the world’s great freedom struggles. The country’s military rulers, the State Peace and Development Council, have run the country with an iron fist for the past 15 years, after they assumed power from a 26-year socialist dictatorship. In 1988, students, professionals, and others launched a nationwide uprising aimed at bringing an end to authoritarian rule during which millions of people courageously marched on the streets, calling for freedom and democracy.
The military responded by gunning down thousands of demonstrators and imprisoning thousands more in one of Southeast Asia’s most bloody episodes in recent history. The leader of the demonstrations, Min Ko Naing (pronounced Min Ko Nine), has been held behind bars ever since, where approximately 1,400 political prisoners remain. The most recognizable face of Burma, 1991 Nobel Peace Prize recipient Daw Aung San Suu Kyi (pronounced Daw Aung Sawn Sue Chee), has been in and out of house arrest and prison since 1988. Presently, she is held under house arrest.
Worried that they could not hold on to power in 1988, the ruling generals announced they would hold a democratic election. Aung San Suu Kyi and many allies formed a political party, which they named the National League for Democracy (NLD). The party went on to win the election in a landslide victory in 1990, garnering an astounding 82% of the seats in parliament, even though many pro-democracy leaders were already imprisoned. Tragically, instead of permitting the electoral winners to assume office, the regime has maintained its grip on power ever since.
In 1996, students again organized major protests on the streets of Rangoon, with thousands conducting sit-down demonstrations at key traffic intersections. The regime responded again by force, brutally beating them with batons and water canons, and arresting hundreds. This time, a videographer managed to capture some of the events on camera, which were then shown on CNN and other news stations.
In May 2003, Burma again made international headlines when Aung San Suu Kyi, just released from house arrest a year earlier, was traveling on a speaking tour near Mandalay, Burma’s second largest city. During her tour, approximately 600 members of her caravan were brutally attacked by the political arm of the regime, the Union Solidarity and Development Association. Up to 100 supporters were brutally beaten to death with blunt clubs, bamboo sticks, and spears, while Aung San Suu Kyi narrowly escaped assassination. She was held in prison and is now under total house arrest.
At the same time, many of Burma’s ethnic groups, including the Karen, Shan, and others, have been waging armed freedom struggles against the regime, some for up to 50 years. The regime, intent on dominating the entire country, has responded with brutal force — raping, slaughtering, or forcibly displacing millions of ethnic peoples. Reports of some of the world’s most horrific human rights abuses have been documented by governments and credible organizations in Burma’s ethnic regions, yet these peoples never give up the struggle to protect their homelands and way of life.
(Source for the text: Campaign for Burma)
Sign the Petition here:
– Suramya
Found this good article on how to setup screen on Linux/Unix so that it automatically logs all activity made in the session. Screen is a utility that I use very often on my Linux box. Basically its a program that you start and it attaches to a specific console and if you ever get disconnected you don’t loose your work/position, all you have to do is log back in and reconnect to that screen. You can also connect to a system via ssh/telnet and start a program then disconnect from ssh then move to another location and reconnect to server and join the same session from there. I use it all the time when compiling stuff or downloading large files.
The main issue I had with screen was that it would only keep 20-30 lines in the history so if you wanted to scroll up to read the previous logs you couldn’t. Now this article explains how to set up logging so that you can do that. For the impatient here’s how you do it:
I wanted to automattically launch a screen session when somone logged in so if I happened to be on the server I could monitor them in real time. I also wanted a log of the session in case I wanted to look over it later or if I was not able to monitor the session live.
I ended up adding the following to my .bashrc
# — if $STARTED_SCREEN is set, don’t try it again, to avoid looping
# if screen fails for some reason.
if [[ “$PS1″ && “${STARTED_SCREEN:-No}†= No && “${SSH_TTY:-No}†!= No ]]; then
STARTED_SCREEN=1 ; export STARTED_SCREEN
if [ -d $HOME/log/screen-logs ]; then
sleep 1
screen -RR && exit 0
# normally, execution of this rc script ends here…
echo “Screen failed! continuing with normal bash startupâ€
else
mkdir -p $HOME/log/screen-logs
fi
# [end of auto-screen snippet]
and add the following to your .screenrc
# support color X terminals
termcap xterm ‘XT:AF=E[3%dm:AB=E[4%dm:AX’
terminfo xterm ‘XT:AF=E[3%p1%dm:AB=E[4%p1%dm:AX’
termcapinfo xterm ‘XT:AF=E[3%p1%dm:AB=E[4%p1%dm:AX:hs:ts=E]2;:fs=07:ds=E]2;screen07′
termcap xtermc ‘XT:AF=E[3%dm:AB=E[4%dm:AX’
terminfo xtermc ‘XT:AF=E[3%p1%dm:AB=E[4%p1%dm:AX’
termcapinfo xtermc ‘XT:AF=E[3%p1%dm:AB=E[4%p1%dm:AX:hs:ts=E]2;:fs=07:ds=E]2;screen07′# detach on hangup
autodetach on
# no startup msg
startup_message off
# always use a login shell
shell -$SHELL# auto-log
logfile $HOME/log/screen-logs/%Y%m%d-%n.log
deflog on
Keep in mind that this is not a very secure setup. Anyone with any technical knowledge can edit the logs as they are located in the user’s home directory and are editable by them. So don’t rely on it extensively to keep a system secure.
Complete article is available here: Automatic session logging and monitoring with GNU screen for the paranoid.
Thanks,
Suramya
Receiving people at the Air Port is a pain and I have been doing a lot of it this past year. First it was Surabhi’s wedding where everyone was arriving by flight and of-course since none were arriving at the same time I ended up making a lot of trips to the airport. To add to the ‘fun’ they were arriving at all times of the day, including one particular arrival at 3 am. After the wedding it was relatives coming to visit, Surabhi & Vinit’s flights in and out of town and a whole lot of others. Its gotten to the point where I don’t need to think about the way, I know it by heart.
I think its a rule somewhere that if I manage to get to the airport at time the person I am receiving would get delayed making me wait for a couple of hours and if I am running late then the flight would be on time.
Today Vinit and Surabhi arrived in Delhi and I had to go receive them. I made it there on time so they took ~2 hours more to get out. The airport parking is expensive so I usually stop before the Airport and wait for a call from the person I am receiving. Today I did the same but for some reason luck wasn’t on my side. At first I was parked on the road with my blinkers on (there was hardly any traffic on the road) and was reading a novel. About 1/2 an hour later a tow trunk approached me and asked me to move along. So I drove off and after a few mins of driving I found an area with a lot of buses and taxi’s parked so I decided to stop over there and wait.
After about 15-20 mins the same tow truck showed up and the guy told me that my car had been flagged for un-authorized parking and they would have to tow me. So I told the guy that I was waiting for my sister and would move the car if it was causing a problem. They told me that a call had come in for them to tow the car so they had to do it. I then told them that I would put it in the parking if stopping here was that much of an issue so he told me that he would tow the car to the parking lot and I would have to pay 700 Rs. as a fine. After arguing with them for a good 15 mins they let me go.
I was told that my car no had been flagged and if I stopped anywhere except in the parking they would tow the car forcefully. So I drove to the gas station and after filling up the tank stopped for a little while at the store over there. Then spent a little time just driving around exploring the area. Finally Vinit and Surabhi arrived and I could pick them up. It was the first time I had so much trouble over there. I guess it could be because I was driving the Honda City instead of the Esteem.
Then I drove to Connaught Place and spend 1/2 an hour baking in the Sun while Surabhi and Vinit finished some work in the Bank. Once they were done we we drove home without any futher issues and I was back in my AC room. Atleast the AC in the Honda City is very effective so I didn’t boil too much in the heat, plus the weather wasn’t that bad either.
Well that is all for now. Will post more later.
– Suramya
Windows XP is one of the most stable versions of Windows currently out there but it can also get to be very annoying especially to a Linux user. Things that are a snap in Linux are a pain to accomplish in XP and some things are just plain annoying. Below is a list of things that I find annoying in XP, if anyone knows a solution for any of them let me know.
1. Folder sorting doesn’t work if you add a new folder: I like my directories and files to be listed in alphabetical order sorted by file type so I have the ‘Auto Arrange’ checked with the system set to arrange icons by type. Now if I add a new folder/file to this directory it should automatically arrange the listing so that the listing is sorted, but that doesn’t happen. The file/directory ends up in the end of the directory listing. Refreshing the listing doesn’t help, I have to right click and choose ‘Arrange icongs by type’ before it sorts it correctly. This is damm annoying. In Linux (KDE) this happens automatically, at worst I have to hit F5 to refresh the screen to get the sorted listing.
2. Files/Directories get locked for no reason: I hit this one a lot. For some reason Windows randomly decides that a particular directory or file is in use (even though its not) and refuses to let me delete/rename it. It only releases the lock if I reboot the system. Which I don’t like to do often.
3. The auto-update doesn’t have a pause option: If you have Windows set for auto-updates and it decides to download a patch then you can’t pause it or cancel the download if you happen to need the bandwidth for other uses. Hit this a couple of times when Mom’s computer was downloading Windows updates and I needed to download a file on my laptop, the update was using up most of the bandwidth and my download was going really really slow but I couldn’t cancel the update.
4. The constant reboots: Windows needs to reboot for every little update that gets installed. Yesterday I switched on my mom’s computer and as soon as it started up and I logged in I got a message “An update has been installed that needs you to reboot the computer to take effect” (Don’t remember the exact words but it was something to this effect). How about that… I started up the system and it wanted me to reboot. I upgraded the Antivirus and installed the Windows updates on the system and it took a total of 7 reboots for it to make all the changes.
5. The virtual memory requirements: My laptop has a gig of RAM and usually I don’t run more than 3-4 programs at the same time (Editplus, Firefox and Thunderbird) though sometimes I also run Visual Studio and MS SQL server. invariably every few weeks I get a message stating that Windows is running out of virtual memory and is increasing the paging/virtual memory(?). I have gotten this message even when I was just running Firefox and Thunderbird. How can windows run out of a GIG of RAM when I am not running many programs? On my Linux box I run a lot more programs on a system with less RAM and still haven’t had any problems so far. I have burned DVD’s, watched a movie with 3-4 programs running at the same time without issues. Don’t dare do that on my XP system.
Ah well. Nothing is perfect. But atleast XP doesn’t crash often. I go for weeks at a time without having to reboot. Linux has its own set of annoyances but thats a story for another day/post.
Well this is all for now. Will post more later.
– Suramya
Am importing a lot of old comments that were ‘lost’ when I moved from Serendipity to WordPress in 2005 back into the blog. So you might see some replies to really old posts that appear to be made by you. Don’t worry its just me.
I had forgotten about this till yesterday when I was looking at a particular post and rememberd that we had a discussion on that post in the comments but now the post had no comments. So pulled up a DB dump from 2005 and am now importing it.
Better late than never 🙂
– Suramya
The US Navy apparently has too much money because it can now afford to spend money on rebuilding perfectly good buildings that happen to look like a swastika from air.
Few symbols are as well known in the world today as the swastika and while it is common perception that the swastika is a German Nazi Party symbol, it is in fact far older that the Nazi Party. The Swastika dates over 3000 years which makes it older than the ancient Egyptian symbol for life, the Ankh and the Christian Cross. The most ancient Swastikas have been discovered in Susa in Persia, Mohenjodaro and Harappa in Pakistan and Sammarra in Mesopotamia. It was also used frequently by the Greek and the ancient Indian’s. Infact the German’s actually modified the Swastik before using it.
In Hinduism (especially in AryaSamaj, which is the branch that I somewhat follow) the swastika is one of the most holy symbols after the Om symbol and is used everywhere, in Temples, Houses (My house has a couple), weddings.
Just because the Nazi’s used it doesn’t mean it should be banned. If thats the case then we should also ban the cross as its used by Neo Nazi’s, White Supremacists and Skin heads (Some info here); the celtic Cross (Also used by White Supremacists). In fact every major religious symbol has been used by hate groups. So why aren’t the rest banned? They should be if the follow the same logic that we use to ban the Swastika.
Yes, they should ban it where its being used to spread neo-nazi propaganda but stuff like this doesn’t make sense. There are better ways to spend money.
Source: The Raw Feed: Google Earth Forces Navy to Fix Swastika Buildings
– Suramya
Powered by WordPress