Suramya's Blog : Welcome to my crazy life…

February 22, 2021

Should software be “classified” if it is used by government agencies?

Filed under: My Thoughts,Tech Related — Suramya @ 10:25 PM

Software should not be classified when used in government agencies except in some very rare exceptional cases. For example, software used to launch nuclear missiles and ensure they hit their targets might be an exception however, these should be an exception rather than the rule in my opinion. The reason I say that is because when a software is classified it means that a limited no of people are using it and that means only a limited no of developers are working on it as any given time. Plus, when something is classified it can not be security tested by external entities without having to sign multiple Non-Disclosure Agreements (NDA’s) and other similar hoops whereas regular software is used and tested by lots of people like corporate’s who test the solution before they implement it in their environment. This gives us multiple groups of people testing the software in various ways making it easier to identify security issues making it more secure.

Secondly, making classified versions of existing software doesn’t seem like a good use of resources to me. Why spend extra money creating a classified ‘Word’ when the commercial version (with some modification) would work perfectly well?

Coming to open source, I don’t think government should be prohibited from using Open Source. There are two ways government’s can be blocked from using opensource software. Firstly, the software license might prohibit government use. If this is the case, then the license no longer meets the requirement to be called open source since the Open Source Definition specifies that Open Source licenses may not discriminate against persons or groups. In-fact there was an attempt back in 2006 by GPU which is a Gnutella client to create a license that disallowed the use of their software by the military. It didn’t go anywhere because of strong opposition by the Open Source Initiative (OSI) to calling the license open source. Second, The government might not allow its use due to internal policy: This is primarily because they are worried about one or all of the following: Security, Cost, or licensing.

There is a misconception that opensource software is less secure than commercial software and even though majority of the servers worldwide run on opensource software (Linux, Apache etc) the detractors still persist. In every large company I have worked with so far, whenever I try promoting opensource software this point invariably comes up and I have to spend time explaining why this is not the case.

Another reason why companies might not allow OSS is because of the license the software might be under. If the software is licensed under the GPL they need to be extra careful when using it within their setup because the GPL is what is known as a viral license. It requires the source code of the entire “derived work” – i.e. the combination of GPL code and proprietary code – to be made available under the terms of the GPL publicly. Due to this most companies do not allow software licensed under the GPL to be used inside them. (Libraries licensed under GPL are fine because they don’t trigger the ‘viral’ clause). However, there are other licenses that do not have this clause and can be safely used.

Ultimately, I feel it is better if they use opensource software rather than pay ridiculous amounts of money as software licensing fees.

February 21, 2021

All Your Base Are Belong To Us: Turns 20

Filed under: Humor,My Life,My Thoughts — Suramya @ 12:05 AM

‘All Your Base Are Belong To Us’ is a phrase that is very familiar to anyone who was active on the internet in 2000’s as this was pretty much the first meme which took the entire net by storm. I remember someone posting a giant version of it in our college dorm windows using A4 paper. Unfortunately I don’t have a pic of it, but there were plenty of other places this popped up over the weeks really confusing a lot of people.

The first version showed up online on February 16, 2001 when a robo-voiced music video went live at Newgrounds.com. The video was a capture from a 90’s video game called Zero Wing with some hilariously bad English translation from the original Japanese. It contained phrases like “How are you gentlemen!!”, “Somebody set up us the bomb” and the infamous “All Your Base Are Belong To Us!”. The video presented the original Sega Genesis graphics, dubbed over with monotone, machine-generated speech reading each phrase. The video is shown below, click on play to view the original video with the awesome soundtrack:


All Your Base Are Belong to Us

The transcript of the video is as follows:

Captain: What happen ?
Mechanic: Somebody set up us the bomb.
Operator: We get signal.
Captain: What !
Operator: Main screen turn on.
Captain: It’s you !!
CATS: How are you gentlemen !!
CATS: All your base are belong to us.
CATS: You are on the way to destruction.
Captain: What you say !!
CATS: You have no chance to survive make your time.
CATS: Ha ha ha ha …
Operator: Captain !!
Captain: Take off every ‘ZIG’!!
Captain: You know what you doing.
Captain: Move ‘ZIG’.
Captain: For great justice.

After the original video from the game it moves on to show the phrase photoshopped into all sorts of images and photos from actual locations where it was inserted really confusing most folks because they had no idea what it meant.

It was extremely silly but great fun. Watching it again has really brought back memories of the great times from college. Here’s to the next 20 years, ’cause remember “All Your Base Are Belong To Us!”

– Suramya

February 20, 2021

Fixing boinc (code=exited, status=108) error

Filed under: Computer Tips,Knowledgebase,Linux/Unix Related,Tech Related — Suramya @ 2:01 AM

Earlier today I noticed that my CPU was not as active as usual and the boinc (World Community Grid) processes were no longer active on my computer. This has happened in the past when the client crashed so I restarted the client using the following command as usual:

/etc/init.d/boinc-client restart

Unfortunately, that didn’t resolve the problem and I thought that it could be because of the recent OS update that I did to my Debian system. In the past there have been rare cases when libraries were updated that some programs act strangely till the computer is rebooted, so I restarted the machine expecting to see the process start up without issues. Sadly, that didn’t happen so I had to debug the problem and I tried all sorts of things to resolve.

First, I tried starting the program manually as the root user and that worked. So I knew it was something to do with the startup script. Then I searched for and removed all the lock files in the boinc and the boinc-client directory. That should have resolved the problem but it didn’t and then I tried running the status command which gave the following output:

root@StarKnight:/var/lib/boinc-client# /etc/init.d/boinc-client status
boinc-client.service – Berkeley Open Infrastructure Network Computing Client
Loaded: loaded (/lib/systemd/system/boinc-client.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-02-20 01:26:50 IST; 9s ago
Docs: man:boinc(1)
Process: 7420 ExecStart=/usr/bin/boinc (code=exited, status=108)
Process: 7455 ExecStopPost=/bin/rm -f lockfile (code=exited, status=0/SUCCESS)
Main PID: 7420 (code=exited, status=108)
CPU: 19ms

Feb 20 01:26:40 StarKnight systemd[1]: Started Berkeley Open Infrastructure Network Computing Client.
Feb 20 01:26:50 StarKnight boinc[7420]: 20-Feb-2021 01:26:50 Another instance of BOINC is running.
Feb 20 01:26:50 StarKnight systemd[1]: boinc-client.service: Main process exited, code=exited, status=108/n/a
Feb 20 01:26:50 StarKnight systemd[1]: boinc-client.service: Failed with result ‘exit-code’.

This meant that the system thought that another instance of the software was running but that wasn’t the case as I verified it using ps. A search for the status=108 code on the internet returned a few results but nothing that resolved my problem. One user who faced this issue resolved it by uninstalling everything and installing back but that wasn’t a step I wanted to take without trying everything else first so I kept researching. Then I saw a post where a user was facing the same issue after they had moved the data directory to another partition and symlinked it to the original location. I had done the same thing a few weeks ago so I moved the directory back to it’s original location but that didn’t resolve anything either.

Then I thought about checking the file ownerships of the directory and they were owned by my user (suramya) and a post on the internet said that they should be owned by root. I checked on my laptop as I have the same setup there and found that the directories were owned by the ‘boinc‘ on the laptop. Then I remembered changing the ownership of all files in one of my drive partitions last night to suramya. What I didn’t realize at that time was that the boinc-client directory was also located on that partition (after I had moved it there to recover space on my root partition).

I immediately changed the ownership of both directories back to boinc:boinc using the following command

chown boinc:boinc /var/lib/boinc* -R

Then I restarted the daemon and that fixed the problem. I then moved the directory back to it’s original location (on the other partition), symlinked it to the original location and the software still worked after I restarted the process.

I am documenting this in case others hit the same issue.

– Suramya

February 17, 2021

The Ruthless Lady’s Guide to Wizardry by C M Waggoner

Filed under: Reviews-Fantasy — Suramya @ 2:01 AM

The Ruthless Lady’s Guide to Wizardry

by C M Waggoner

Description:

Sparks fly in this enchanting fantasy novel from the author of Unnatural Magic when a down-and-out fire witch and a young gentlewoman join forces against a deadly conspiracy.

Dellaria Wells, petty con artist, occasional thief, and partly educated fire witch, is behind on her rent in the city of Leiscourt—again. Then she sees the “wanted” sign, seeking Female Persons, of Martial or Magical ability, to guard a Lady of some Importance, prior to the celebration of her Marriage. Delly fast-talks her way into the job and joins a team of highly peculiar women tasked with protecting their wealthy charge from unknown assassins.

Delly quickly sets her sights on one of her companions, the confident and well-bred Winn Cynallum. The job looks like nothing but romance and easy money until things take a deadly (and undead) turn. With the help of a bird-loving necromancer, a shapeshifting schoolgirl, and an ill-tempered reanimated mouse named Buttons, Delly and Winn are determined to get the best of an adversary who wields a twisted magic and has friends in the highest of places.

Buy From:

Rating:

Review:
This is the first book I have read by Waggoner, and I really liked it overall. The main character (Dellaria Wells) or Delly was interesting and likeable for the most part. I enjoyed her outlook on life and how she described her previous jobs. The remaining characters other than Winn were a bit two dimensional but mostly didn’t matter much because the antics of the two main characters were enough to keep you occupied and the story was simple and easy to follow for the most part.

One issue I had with the book was that the subject of Buttons was not fully explained and it just kept bugging me. I won’t go into details because ‘spoilers’ but it was a bit of a letdown how his character was handled.

I think there might be more books in the series or in the same universe so I am looking forward to reading them.

– Suramya

February 7, 2021

Travel in 2021: 3294kms driven as of date

Filed under: My Life,Travel/Trips — Suramya @ 8:25 PM

I complained a lot about not being able to travel in 2020, mostly to my wife who suffered through my complaints heroically. So the universe decided that I would get to travel a lot in 2021 as compensation. Jan 2021 has been a marathon session of driving all over south India, primarily because of Covid as we only wanted to go places within drivable distance from Bangalore as we normally would try to drive directly to the location without having to stop on the way. Plus we also ensured that we were only going to places with very limited crowds and mostly ended up staying in places where we were the only people (apart from the staff).

The first trip of the year was to Dindigul where we had gone for New Years. It was a lot of fun and we enjoyed it quite a bit. The second trip was to Kannur, Kerala (not to be confused with Coonoor, Tamil Nadu), which we did with Jani’s friends from IBM with whom we had been talking about going on a trip for over 4 years (almost 5). The drive to the place was quite nice and we made good time. I had planned on writing a trip summary as I normally do but didn’t get the time as I was swamped with classes and assignments. In any case, Jani has now started writing about all the trips so that reduces the pressure on me :). Her writeup on the trip is available here.

The next trip was to Kotagiri, Tamil Nadu with Anil, Manisha, Suprita , Vinit and the kids. We drove down from Bangalore to Kotagiri but thankfully I wasn’t driving because by this time I had already driven almost 1.8k kms in 2021. Anil, Manisha & Vinit drove for the trip and I got to relax and spend time with the kids for a bit. A big surprise was that I bumped into Gaurang in Ooty, as he had driven down for some work. We both stay in Bangalore but hadn’t seen each other for months because of Covid. So he came over and we spent some time together there and then he drove back with us which gave me a chance to spend some quality time with him during the drive.

Finally the last trip of the month was to visit Jani’s hometown, Colachel in Kanyakumari District for some work (plus spend time with family). It was a 14 hour+ drive from Bangalore and initially I had planned to do it in one shot. However, then we decided to break it up into two with a halt in Dindigul which is almost exactly half-way between the start and finish. This was the first time we were stopping on the way during a trip but in hindsight it was a great idea. It allowed me to take a break and rest as I was also up on night for my classes. If we hadn’t stopped on the way I would have been exhausted by the time we reached and this way I got to rest on the way. The drive down was fantastic, and I really loved the NH44. The road was well maintained and an absolute pleasure to drive. I had to consciously restrict myself from driving too fast and I really enjoyed it. The traffic also was minimal so I could really relax and enjoy the drive.

In all I have driven 3294 kms so far in 2021 and now that I am home I absolutely refuse to drive anywhere else for the month of Feb. We will see how I feel in March, but most probably we won’t be going anywhere till at-least the end of March as we both have exams in March. But based on our past experience, I will not say that we absolutely will not travel anywhere for the next two months.

I am eagerly waiting for the Covid vaccine to be generally available so that we don’t have to worry about Covid when traveling. Looking at the current status I have a feeling that it will be Q3, 2021 by the time we get vaccinated. Hopefully by the end of the year things might be back to normal so here’s hoping for that.

Well this is all for now. Will write more later, now that I am back home and not driving all over south India.

– Suramya

Powered by WordPress