Pages

Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, 27 June 2011

Gnu/Linux v. Mac

I was searching for something else when I ended up in this Ubuntu forum (http://ubuntuforums.org/showthread.php?t=1117471) where I found this comparison. It's to the point, correct and lets you to choose what you think you need rather than actually choosing it for you. I thought I should preserve it somewhere very accessible to me so I can show to friends(esp. Anup) when they ask.

When it comes to security, Ubuntu and Mac are pretty much dead even. Both Linux and OS X are Unix-based operating systems, and have nearly identical security models. Users of both system can feel safe from viruses and other malware.

In terms of price, Ubuntu wins hands down. Apple software tends to be rather expensive, while Linux and the overwhelming majority of software it uses is absolutely free of charge.

In terms of usability, it's a toss-up. One area in which Apple is quite successful is the user interface. That's why so many mp3 players tend to copy the iPod to some extent. OS X is no exception, and has a very nice interface. On the other hand, arguments could be made for the usability of Gnome, KDE, and Xfce as well, especially considering the amazing degree to which these desktop environments can be customized.

Which brings us to customization. Ubuntu has the edge here. The options for customization of Linux are staggering, with multiple desktop environments and window managers from which to choose, which themselves are highly customizable. OS X can be themed and customized, but not even close to the degree of Linux.

When it comes to software, it's a mixed bag. Mac is more commercially supported than Linux. For most tasks, this doesn't matter as an abundance of FOSS alternatives exist for most commercial applications. And for most purposes, this gives Ubuntu the edge, since the software is just as free as the operating system. If specific applications are a priority, however -- most notably iTunes -- then Mac has the advantage. There's no clear winner here, as it really depends on what software you feel you need.

Of course the mention of iTunes brings us to the issue of freedom. Apple is even more notorious than Microsoft when it comes to vendor lock. Everything Apple produces is proprietary and made to work best (or only) with other Apple products. iPods, for example, are practically useless without iTunes, because the iPod uses a proprietary transfer protocol. Since Apple won't release the details of this protocol, no other software developers can develop iPod management software without essentially reverse-engineering the protocol -- which Apple periodically alters. On one hand, this gives OS X an edge against Linux for people who use other Apple products. On the other, it's extremely annoying and limiting. If you don't like companies manipulating you and dictating how you use their product, then Linux clearly has the edge. While I'm tempted to say this is another tie, I can't in good conscience say that vendor lock is in any way an advantage, except to the vendor. Free and open-source wins.

Because Linux is open-source, anyone can do anything to it, and can see exactly what's going on under the hood. This is part of the reason Linux is a safe computing environment (and arguably slightly more secure than OS X) -- viruses are hard to sneak onto a system when people can see the source code. No restrictions or license agreements restrict your use of your own system. However, because it's not a commercial product backed by a corporate entity, the means of technical support is radically different. For some people, the lack of obligatory customer support is a failing of Linux. Others like not having to rely on a single entity to provide technical support, and prefer the support provided by the Linux community. As a matter of personal preference, tech support is another toss-up.

So... which operating system is better? Well, "better" is a relative term, in more ways than one. In my own case, I'm perfectly happy without iTunes or any other Apple products, so there's no compelling reason for me to use OS X in order to use those other products. I also prefer a free product over an expensive one of equivalent quality, and prefer freedom over the lack thereof. So for me, personally, I say without any hesitation or reservation that Ubuntu is the better operating system. But this may not be true for someone else who loves using iTunes to shop the iTunes store for videos to transfer to his iPhone. For that person, who apparently has a much greater disposable income than myself, Mac OS X is the better choice.

It just depends on your priorities.
by https://wiki.ubuntu.com/mb_webguy

PS: This is two years old and usability of Desktop Environments have improved a lot now!
PPS: I was able to post this only because it was licensed under Creative Commons and I recommend any poor soul still reading my blog also to do so; It's good for the world. :-)

Thursday, 11 November 2010

Lotus Symphony

I started using Lotus Symphony today[1]. Seems better than OpenOffice.org upon which it is based. There are good templates from Lotus website too.[2] Let me see how well it performs; may turn out that GNU/Linux has a good presentation software after all.(No, sadly OO is not as good as PPT.)

The templates can be installed easily by copying .otp files to ~/.lotus/symphony/.symphony/user/template


[1] http://www.omgubuntu.co.uk/2010/10/ibm-office-suite-lotus-symphony-3-released
[2] http://symphony.lotus.com/software/lotus/symphony/gallery.nsf/GalleryPresentations?OpenView&Count=15

Sunday, 8 August 2010

கட்டற்ற தமிழ்க் கணிமை செயல்திட்டக் கருத்தரங்கம்

யாவர்க்குமான மென்பொருள் அறக்கட்டளை மற்றும் சென்னை தொழில்நுட்பக் கல்லூரியின் கணினிச் சங்கம் இணைந்து நடத்தும் இக்கருத்தரங்கத்திற்கான நோக்கம் யாதெனில் இனங்காணப்பட்ட கட்டற்ற தமிழ்க் கணிமை தொடர்பான தலைப்புகளில் பங்களிக்க விருப்பமுள்ளோரை ஒன்று கூட்டி ஆக்கப்பூர்வமான விவாதத்திற்கு வித்திட்டு, அத்தலைப்புகளில் மென்பொருள் உருவாக்கத்திற்கு / பங்களிப்புகளுக்கு வழிவகை செய்வதாகும்.

இடம்: ராஜம் அரங்கம், சென்னை தொழில்நுட்பக் கல்லூரி, குரோம்பேட்டை
நாள் : 28-08-2010
நேரம்: காலை 9.00 மணி - மாலை 4.30 மணி
பங்களிக்க விருப்பம் இருப்பவர்கள் தங்கள் விருப்பங்களைப் பதிவு செய்யக் கடைசி நாள்:
கலந்து கொள்வோர் பதிவு செய்யக் கடைசி நாள்:
உறுதி செய்யப்பட்ட தலைப்புகள் அறிவிக்கப்படும் நாள்:

மேலும் விவரங்கள் பெறவும் பதிவு செய்யவும்: http://csmit.org/index.php/tamconf/home

Monday, 12 July 2010

Links

The physical basis for humanity - II: The genesis:
A nice analysis of Eastern vs Western cultures.
If Linux was the most used system in the world…
Most of the Linux is hard statements from people are due to the fact that they are accustomed to the Windows way of doing things. Not because Windows is better designed for usability. A little humorous take on it.
   -Via Kanchilug Newsletter.

Thursday, 1 July 2010

Must-do MessagingMenu and MeMenu Tweaks

I've been using Lucid since it arrived on the scene and loved the social integration it provided. But I never had an always-on Internet connection and so didn't bother with tweaking them. Since now I'm always online at office, i tweaked it to my needs:

Adding a Gmail notifier to the MessagingMenu a.k.a. indicator applet:

go to [1] for instructions and package download. I installed the first package which just displays number of messages in selected labels but doesn't clutter the menu with subject lines (it displays subject in the one-time D-bus notification, though). Second one is for people who love clutter. :p

Removing Evolution from MessagingMenu:

Just remove following the file: /usr/share/indicators/messages/applications/evolution [Careful! This removes evolution from the menu for ALL USERS]. There is a way to block it only for you [2], but that doesn't work for me.

Go social from the start:

By default, social apps (Empathy and Gwibber) will start only after manually selecting them from MessagingMenu. Only then status options and textbox appeared in MeMenu. This was annoying for me and I wanted to go social the moment I logged-in.

  • Gwibber has a check-box to start on login in its preferences window; solved.
  • Empathy is the problem. Open System->Preferences->Startup Applications. The command to be added is empathy -h. '-h' is for hidden; no windows, just in menu, logged-in and ready to chat.

[1] http://www.omgubuntu.co.uk/2010/05/gmail-notifier-puts-gmail-in-your.html
[2] http://superuser.com/questions/73200/remove-or-add-entry-in-indicator-applet-ubuntu-gnome

Friday, 18 September 2009

Software Freedom Day

It's on tommorrow.

 As usual I'm doing a demo in multimedia in the SFD celebrations in Chennai.(Birla Planetarium). All are welcome.

Thursday, 10 September 2009

My Lab

Well, actually not my lab. The lab for which I am the Sysadmin. The lab has 14 systems that dual boot to Windows XP and GNU/Linux, and a central server that runs on only GNU/Linux. Most of my plans for the lab are implemented by now.

These are the improvements in the lab compared to last year, i.e. after I took over.
  • The server system itself. It facilitates
    1. Faster software installation on all systems. [Via apt-cacher]
    2. Web Caching.
    3. One stop monitoring of error and other logs on all systems.
    4. Automated maintenance of all other systems. [using custom shell scripts, Cron and OpenSSH.]
  • Improved security in WinXP.
    1. Uses Software Restriction Policies to protect against viruses coming through removable disks. [99.9% effective. Not a single virus in past two months of operation.]
    2. Anti-virus which is updated daily and fully functional.

And lots more(on next post. :p).. I'm happy except for few kinks, which i hope to iron out soon.

Thursday, 9 July 2009

Lab Complete

The UG lab is officially open from today. My long time dream of becoming a system administrator is fulfilled. :-)

All the systems have a dual boot GNU/Linux and Windows XP. I thought of dispensing with windows altogether, but other people are not yet comfortable with using Linux in entirety.

Friday, 3 April 2009

I'm Connected Again

The connectivity is back in the campus after more than three months. I'm so happy. :D

PS: Remember this post about Carte Blanche? Well, my team was the champion. :-) But I hate that certificate which had that achievement in as small font as possible.:(

Saturday, 31 January 2009

Under Progress....

Tired of talking... :|

All Are Welcome

To

Carte Blanche

and my

Multimedia Info Desk.


PS: All set. Waiting for the inauguration.

Complete Power

Carte Blanche literally means just that - Complete Power. What would you do if you were given complete power - control - over the config files, source code and all that could be controlled?
We people would hack away, happily forever. :)


Switch to GNU/Linux. Experience Carte Blanche.

PS: I'm now sitting at my Multimedia Info Desk at Carte Blanche venue with all fun and fan fare. Finished 95% of work. Took a break just now. Will be updating the status throughout the day. :)

Monday, 26 January 2009

Past and Future

Things I did in past fortnight
  • Organised the event Industry defined project in Asymptote.
  • Helped in organising the events Bottle rocketry and Air show in Asymptote.
  • Won Mech quiz in Asymptote.
  • Attended math workshop in Kurukshetra.(loved V.S. Sunder's Knot theory lecture. Will post on that soon.)
  • Working towards Carte-Blanche.(Half completed)

For the next week
  • Finish the Carte Blanche work. It is scheduled on coming Saturday. I'm doing the multimedia section. I will focus on VLC, Mplayer, Camstream, Amarok and Audacity. (All are welcome to the event!)
  • Select engine for my aircraft(for the design project)

PS: See my medium term goals in the next post.

Wednesday, 6 August 2008

Data Recovery From A Formatted Drive

Last Sunday I formatted one of my partitions mistakenly.(Note to self: You moron. When you login as root, be EXTREMELY CAREFUL.) This is one of the occupational hazards of wanting to be in the bleeding edge of GNU/Linux. I reinstall Linux once in a while since it'll become painfully unusable due to my ripping apart all settings and damaging it to the core. This time it affected a windows partition also due to a silly mistake done by me. Affecting a windows installation is not new. But not this severe.
Fortunately, most, if not all, of the data was recovered using EASEUS Data Recovery Wizard. While searching to find a suitable software I realized that there were no decent reviews about these software. So this post.

Fortunately one of my friends had this software and helped me out. But the file names of some of the files are changed to hashes(#) etc. and the files are sometimes in more than one location(size of the recovered data is nearly 50% more than what I actually had.) Anyways, I'm happy to get them back. I was in very bad mood since it contained my entire collection of pictures, arranged. The last word is the catch. You could get almost all of them, but arranging them is a hell lot of work.

Best thing to do when you want to recover data from a drive? Don't do anything to that drive! Install the recovery software in some other dive. Don't touch that particular drive. The more you write, more the chance that your data is overwritten.

For the one who's wondering: The data is not gone when you delete it. Not even when you format it. They can be recovered back. If you want to really delete sensitive info without a trace, try shredding.

Wednesday, 23 July 2008

Sudoku solver in C [Linux]

When I was in first year of my study (now in 3rd) at my college, Yuvarajaa and I wrote a C program to solve sudoku. The program solves it much the same way as we humans do. There is no brute force used.

To download the source code go here. The instructions for compiling are also given in the same page. I explain the algorithm used below.

Sudoku is a type of Latin square and an exact cover problem and efficient algorithms to solve it can be written using methods like backtracking or dangling links. But our algorithm is very simple(meaning beginners can understand. We ourselves were beginners then:-)) which solves it pretty much the same way as we humans do. Consequently our algorithm is slower than above mentioned ones.(It is still much faster, given the capabilities of today's PCs & you wont notice a difference.)

The program does following things in the given order:
  1. Enumerates possible values of all empty cells. The cells which have only one possible value are filled up.
  2. Next the enumerated values are scanned to identify the locked pairs, naked pairs(triples also), Hidden pairs etc. and appropriately deleted. The steps 1 & 2 are repeated to fill-up the grid.
  3. There exists some very hard sudokus which cannot be solved by the above methods. When no more cell could be filled up by the above steps the program jumps to a hard function which assumes one of the enumerated values and proceeds by above way. If contradictory solution is obtained then the assumed value is changed and proceeded again. This does not amount to much time since usually there are only two possible values in the cell to be assumed. Anyway, for safety, we terminate the program with an "Unable to solve" message when the solution is not obtained even after assumption of a third value.
As far as we have tested, this program solved all the sudokus, including an empty grid. I finished it by the middle of first year itself. But i didn't have a web page or blog to host it then. And now i forgot many intricate details of the algorithm. :( I re-read it once more to write this post. ;-)

This is essentially what humans do while solving. This type of algorithm has some advantages too. according to wikipedia:
human-style solvers can be employed by hand-crafting puzzlesmiths for their ability to rate the difficulty of a created puzzle and show the actual solving process their target audience can be expected to follow.
To enable this we have a function called ibug which, when enabled(at compile time) displays step by step procedure and the enumerated values at each step. It was originally written to track bugs in the code. Hence the name ;)

To know how to solve the sudoku and the terminologies used you may go here.

Wednesday, 16 July 2008

கணிமொழியின் ஆடி மாத இதழ்

கணிமொழியின் ஆடி மாத இதழ் வெளியாகியுள்ளது.
"ஆடியிலும் உங்களைப் பிரியாத கணிமொழி"
--ஆமாச்சு.
படித்து பயன் பெறுக.

UPDATE:
For those who don't have Tamil Unicode font: Kanimozhi is a monthly magazine about the free softwares(GNU/Linux etc) and and contains tips & tricks to use them. Go here and follow the steps to install Tamil Unicode fonts and enjoy reading the July edition.

Wednesday, 4 June 2008

Learning FEA. Is there an open source FEA software?

Currently I'm learning FEM(Finite Element Methods) for structural problems from my HOD. We use computers for solving those problems fast and in our lab the software used is ANSYS. I'm an ardent supporter of free software and am searching for an equivalent Final Element Analysis software in Linux. Or at least GPLed Windows software. I saw some of those using Google search. But I'm not satisfied with their capabilities.

Anybody know such good software? If so please comment.

PS: Twisted DNA suggested doing a post on 'navel bra' as my first post. But my research(;)) on that is still under progress(!). Hence I write a different first post.