Open Source has not many uses

That’s what the Greek Minister of Economics said. If don’t believe me…well you can read what was said in the Greek Parliament discussing the deal between the Greek Government and Microsoft.

Quote from: http://www.parliament.gr/ergasies/showfile.asp?file=syne060209.txt

ΓΕΩΡΓΙΟΣ ΑΛΟΓΟΣΚΟΥΦΗΣ (Υπουργός Οικονομίας και Οικονομικών):

Επίσης, νομίζω ότι πίσω από αυτές τις απόψεις σας κρύβεται και μια αντίληψη η οποία αν υιοθετηθεί, θα καταδικάσει τη χώρα στην ψηφιακή υπανάπτυξη για πάρα πολλά χρόνια, διότι όλοι ξέρουμε ότι το ελεύθερο λογισμικό έχει πολύ περιορισμένες εφαρμογές και δεν μπορεί να χρησιμοποιηθεί τόσο ευρέως όσο άλλο λογισμικό.

Translation by me:

GEORGIOS ALOGOSKOUFIS (Minister of Economy and Economics):

I also think that behind these views of yours (he’s talking about someone who asked him a question about open source) hides a perception that if inherited, will deem the country to digital “underdevelopement” for many years, because we all know that the open source has limited applications and cannot be used as widely as other software can.

Go Go Greece!! Long live the stupidity! Sometimes it’s better to shut up than speak in public and say bullshit. Shame on them for undermining the potentials of this country.

Wiretapped Government

Today the Government announced that for many many months members of the Greek Government, the main opposing party and some other businessmen wire wiretapped through their cell phones.

We are living in a country that even the Government cannot secure itself from others. The Prime Minister had his cell phone wiretapped. How long can these people govern our lives ? How can they protect us when they can’t protect themselves? They can’t protect their country they are supposedly serving…After about a year of pre-investigations what do they know about the people who had done the wiretapping ? Nothing! Just …nothing! Null!

This is so ridiculous…

more news on the wiretapping case: http://news.ert.gr/en/newsDetails.asp?ID=14811

*Update
BBC reports on the wiretapping
*Update #2
Bruce Schneier blogs about the wiretapping
*Update #3
Slashdot article on the subject
*Update #4
Vodafone SpyLine, humourous Vodafone advertisment in Greek…enjoy it 🙂

Greek Ministry of Economics makes an agreement with Microsoft

While most other countries in the world turn to Open Source software to secure their investments and to gain more from the tax payers’ money, the greek government makes a leap backwards and makes an agreement with Microsoft. Microsoft will sell software to the greek government and to all public services for a cheaper price than normal.

In order for you to understand the stupidity of this decision just take a look at what the minister of economics said after the agreement.
Original text:

“Προσωπικά, έχω ωφεληθεί πολύ από τη χρήση των τεχνολογιών της Microsoft ήδη από τη δεκαετία του ’80, όταν ως νέος καθηγητής οικονομικών χρησιμοποιούσα προσωπικούς υπολογιστές για τις ανάγκες της δουλειάς μου”

My translation of what he said in English:

“Personally, I have been benefitted a lot from the use of Microsoft’s technologies since the 80’s, when as a young teacher of economics I used personal computers to do my work”

The original version should be here: http://www.mnec.gr/MS_GA_Dilossi.aspx … but cleverly enough someone has deleted the file from the website of the Greek Ministry of Economics, and you are now presented with a 404 error. Someone “thankfully” realised how embarrasing that was.

Shame on the Greek Government. The previous government had done quite the same thing and had then agreed with Microsoft (I have blogged about that in the past). Looks like these “new” guys are not any better than the previous ones…maybe they are even worse. Now you know where the Greek government spends your taxes, on Bill Gates 200-meter long yacht(link2).
These government people just remind me day after day how pathetic are we as a nation. Go on! Vote for them in the next elections too…make sure Gates gets an even bigger yacht for next year!

Can we change that ? Maybe not…but we can try…
http://manifesto.digitalrights.gr/

US no-fly lists

a cartoon says it all…

SSH Escape Characters

I am sure a LOT of people reading this blog use ssh in their everyday work/life/etc. I am not sure though how many of you have heard of ssh EscapeChar unless you’ve read the ssh_config file (and even if you have done so, did you pay any attention to it ?). So what can you do with EscapeChar ? not a lot, but certainly very usefull stuff.

My most frequent problem with ssh is sessions that sometimes they don’t end as they are supposed to. You logout from the remote system and you never get a prompt on yours because something has stuck somewhere, sometime. Wouldn’t you wish there was an escape sequence to end this suffering, like telnet’s ctrl+] ? Well there is! Just edit your client’s ssh config file (/etc/ssh/ssh_config for gentoo) and add to the end:
EscapeChar ~

now try ssh to a host and when you are in, try this: ~?. You will see a list of helpfull options. The solution to the previous described problem of stale connections is ~.
Dummy-safe: So to get it to escape press[alt gr] + [~] two times and then [.]
If that doesn’t work, try pushing Enter before “~”.

What’s also very helpfull is the ability to start/end portforwarding during an active ssh session! Say you have opened an ssh connection to a host and you now have to portforward a port, what do you do ? New ssh connection with -L/-R options ? nope! You just press ~C and do what you want from the ssh “command shell”.

enjoy!

mplayer headaches with alsa solved (hopefully)

Lately I had a problem with my gentoo. I could not get HR video files with mplayer to work smoothly. In order to test what was going on I downloaded ExperienceMP10_1280x720_8mbps.wmv from http://www.wmvhd.com/ .

Whenever I tried playing it the result was choppy video and sound. Mplayer gave me a banner that said: Your system is too SLOW to play this!. Hey my pc is based on an Athlon XP 2800+! It’s NOT slow! So the problem was surely not cpu power. I tried playing around with mplayers’ -vo options. In fact -vo gl gave me some more fps…but it was still unwatchable. Then it was time to play aroung with -ao options. I tried them all… alsa, oss, sdl, alsa:mmap, alsa:noblock, nothing…each one was worse than the other. Then I tried -ao null. And what a surprise…when audio was disabled video stopped being choppy. It was playing just fine! So the problem was surely audio related. I have the latest alsa installed from portage and other programs play really ok with it, so I thought maybe there a newer mplayer version could do the trick. I first checked on gentoo forums where I found this very helpfull thread about multimedia overlay in portage. I installed it in my portage overlay dir, unmerged mplayer from normal portage tree and emerged mplayer-cvs from the new overlay. After some compile time it was finally ready. The results ? amazing 🙂
It works with every video format I’ve tried! No sloppy playback, no lagging sound, just perfect.

I hate using custom solutions and ebuilds to cure my problems, but at least I have not compiled anything by “./configure;make;make install” yet. Long live the gentoo community. Thnx a lot to all 🙂

howto use utorrent rss feeds with bitme and bitmetv

Latest utorrent has the ability to fetch rss feeds from torrent sites so you can download automatically (or automagically if you prefer :P) your favorite content without user interaction.
It’s kinda tricky though to enable it for bitme and bitmetv. As an example I will use the Desperate Houswives rss feed. If you go to bitmetv’s Links page and select RSS feed (Choose Category Feed) you will see a full listing of various categories. Pick Desperate Housewives and then “Download Link” from Feed Type and “Standard” from Login Type. It should give you a url like this:

http://www.bitmetv.org/rss.php?feed=dl&cat=75&passkey=YOUR-PASSKEY

In order to enter that feed inside utorrent’s rss parser you need to find out your UID and PASS from bitme or bitmetv cookies. You can learn how to do that for each browser here: utorrent faq on “Torrent_support_RSS_feeds”

Let’s say you got that UID and PASS. Now press ctrl+r inside utorrent and paste the following url REPLACING your own YOUR-PASSKEY, YOUR-UID, and YOUR-PASS variables!

DH|http://www.bitmetv.org/rss.php?feed=dl&cat=75&passkey=YOUR-PASSKEY:COOKIE:uid=YOUR-UID;pass=YOUR-PASS

If you were able to do that now go to Releases tab. Pick the one you would like to download from now on…let’s say “Desperate Housewives HR”, right click and “Add to Favorites”. Now you should be at Favorites tab. Leave the “Filter” as utorrent created it for you and just pick a download location (in “Save in”) for the new torrents. I have chosen the same location where my other torrents go.

If you only want specific episodes to download, just click on the proper checkbox in “Favorites” tab and enter something like “2×12”.If you want all episodes from a specific season just do it like this: “2×1-25”.

You can now go to bed and let the torrents come to your hard disk automatically. Happy downloading.

P.S. I have nothing to do with any of the sites mentioned. Whatever you do is at your own risk. You might get to jail for downloading copyrighted material…so you better use utorrent to download your favorite and latest linux ISOs 🙂

HOWTO remove spikes from RRD graphs

If you happen to use rrdtool to create graphs to monitor equipment you might have come upon some “spikes” in your graphs. These are perfectly normal and happend due to machines that have rebooted and have reset their counters or other anomalies that might occur.

There is a script called removespikes.pl made specially to fix these cases. You can either find the tool here: http://oss.oetiker.ch/rrdtool/pub/contrib/removespikes.tar.gz or get it from my blog removespikes.pl.gz

Extract it, and then type something in the command line like the following:
for i in /location/of/rrds/*; do /full/path/to/removespikes.pl $i; done;

You should probably see some messages like these:

Chopping peak at <!– 2005-10-25 17:00:00 EEST / 1130248800 –>
Chopping peak at <!– 2005-10-25 19:00:00 EEST / 1130256000 –>

That’s all…enjoy your graphs.

Lightbox JS addon

I’ve ‘re-found’ (Charmed[] had originally showed it to me, but I couldn’t find afterwards) a really nice addon for my blog. It’s called Lightbox JS and it just makes image viewing a bit better.

Just click on the image below from a previous post about yahoo’s expired SSL certificate to see what it does

fixing gentoo’s php mess

OK…there’s one thing gentoo is REALLY messy. And that’s php support. In fact it’s so crappy at the current time, that it’s almost imposible to use PEAR without a ton of user “hacks”, unless you can find someone else to do it for you. There are lots of packages still depending on the old dev-php scheme…and some newer depending on the dev-php4 or dev-php5. So when one tries to install dev-lang/php with some pear packages he might need, a pear package might request installing dev-php/php too. So you end up with 2 php packages, php5 and php4! Anyway…if you really want to setup the latest php support in gentoo you should do it with gentoo-php-overlay. I got bored of trying to fix gentoo’s php packages to depend on dev-lang/php and not dev-php/php using regular expressions to edit the ebuilds and re-digest them on my local PORTDIR_OVERLAY.
Someone should really fix gentoo’s php support SOON.

Who said Windows is easier than Linux ??

I’ve heard a lot of times that windows is a lot easier than Linux, that you cannot easily install programs on linux and so on and so on…so here’s my little story from yesterday.

A friend came at home today and he had to finish a project for today. His project involved some math problem solving and unfortunately he had chosen Microsoft Office and MathType to do it. So I rebooted my PC from Linux to Windows XP and that’s how about the problems begin. Upon booting to windows various popups started appearing that programs needed update. The anti-virus (I would have nearly forgotten that word while using Linux, unless someone very very close to me ( 🙂 ) kept asking over and over about Panda Antivirus, heh), Windows itself, acrobat reader and so on…OK, maybe that was my mistake because I had not booted into windows since last September when I needed it for a project of my own. Then I wanted to install Microsoft Office, Microsoft Word to be exact. I found an old CD of mine with Microsoft Office XP Pro and put it inside the tray…I opened the cdrom drive with Windows explorer and what I saw was…shocking. At least 10 to 15 different executables with weird names and some .msi files. In fact…here’s what the cd contents look like!

athlios:/mnt/cdrom%ls -1
access.msi
autorun.inf
excel.msi
files
fp.msi
instmsi.exe
instmsiw.exe
msde2000
office1.cab
ork
outlook.msi
owc10.msi
ppt.msi
pro.msi
proplus.msi
readme.htm
setupacc.exe
setupexl.exe
setupfpg.exe
setupolk.exe
setuppls.exe
setupppt.exe
setuppro.exe
setupstd.exe
setupwrd.exe
sharept
std.msi
word.msi
athlios:/mnt/cdrom%ls -1 | wc -l
28
athlios:/mnt/cdrom%ls -1 | grep .exe | wc -l
11
athlios:/mnt/cdrom%ls -1 | grep .msi | wc -l
12

So there’s 28 files in the root cdrom dir, 11 of these are .exe and 12 are .msi. As far as I can remember .msi files can be “installed” as well. And…surprise surprise!! there’s no “setup.exe” inside…but a bunch of various setup???.exe. What do we do now ? Oh … there’s autorun.inf…that should tell us.

athlios:/mnt/cdrom%cat autorun.inf
[autorun]
OPEN=setuppls.exe /AUTORUN
ICON=setuppls.exe,1

shell\configure=&Configure...
shell\configure\command=setuppls.exe

shell\install=&Install...
shell\install\command=setuppls.exe

It’s obvious right ? I need to run setuppls.exe!
And now…time for some problems!
Everytime I clicked on setuppls.exe I got this beautiful error message:
The Windows Installer Service could not be accessed. You may be running in Safe mode or Windows Installer may not be correctly installed.
I tried the other setup???.exe files too…same error again…
What is Windows Installer Service ? I am surely NOT running in safe mode…and how could I have incorrectly installed something that I don’t know what it is ?
After some trial and error and some googling I came up to the conclusion that I had to run “instmsiw.exe” first and then the infamous setuppls.exe.

And then …wow! the installation begun!

Is that what windows people call “click and play” ? Ease of Use ? User Friendliness? GIVE ME A BREAK!!!

Do you know how HARD was to install OpenOffice (that has built-in mathematics support, so you don’t need MathType crap) in Gentoo Linux ?

emerge openoffice-bin

And if it even wanted to install something like “Linux Installer Service” it would have done it without any user intervention because it knows what a dependancy is.

Now…Who is user friendly ?

Every time I have to boot into windows it reminds me how happy I am with Linux 🙂 Thanks to all the redmond guys…you ROCK!

Some links about shells

A small introduction to shells by Adam Spiers.

Bash now supports sockets

And if you wonder how that smiley “:) fishsticks$” on the prompt of user mendel appears:

Just edit your bashrc, add this line somewhere:
smiley () { if [ $? == 0 ]; then echo ':)';else echo ':(';fi; }
and then change your PS1 line to include this:
\$(smiley)
in the beggining…so that it looks somewhat like this:
PS1="\$(smiley) \[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] "

It’s somewhat funny…

comment on god

a nice quote I saw on a documentary:

Asking humans to describe god is like asking fish to describe the water they live in

Worst Restaurant ever?

http://www.flickr.com/photos/tanjatiziana/76484944/

isn’t that the worst restaurant ever ?? would you ever go eat there ? Even McDonald’s is better than this crap.

Ho! Ho! Ho!

Open Source is coming to town!

Just take a look at the savings of a school using Open Source compared to what it would have payed if it used MS products!

Schools save with Open Source

That’s a nice present for the educational system economy…But I guess some contracts are more powerfull than a few more computers educating students.
Have you forgotten the contract between Microsoft and the Greek Government ?
Just take a look at all these wonderfull things the Greek Government gains!

  • Instant access to source code for the most current versions, beta releases and service packs of Windows 2000, Windows XP, Windows Server 2003 and Windows CE.
  • WHO is going to take a look at the source from the Greek Government ? The ministers ? for WHAT ? auditing ???

  • Expansive disclosure of technical information for the engineering-level understanding of Windows architecture
  • Now THAT’s usefull. Learn how a buggy system works. An excellent education plan. Learn from other people’s mistakes.

  • Enhanced ability to conduct security and privacy audits and to design, build and maintain secure computing environments
  • Oh ok..now I feel secure. Our government conducts audits to maintain “secure computing environments”…wow! I guess that could not happen on any other platform..right ?

  • Opportunities for visits by government representatives to Microsoft development facilities in Redmond, Washington
  • Yihaaa!!! Let’s travel to Redmond! Free tickets for the ministers! And their families ? Their little children ? won’t they play with uncle Bill ? …who cares about the rest of the citizens ?

    enough. Get a life and start working for your citizens than your already full pockets.