RSS

Importing WordPress Blog Posts to Facebook/LinkedIn

I keep this blog (which I don’t update very often, but that’s another story) and I post both personal and professional (in the sense that it will appreciated by Computer Scientists) content. I would like to import all blog posts automatically from this blog into my facebook and linkedin profiles.

The thing is that I don’t want to post Computer Science related content into facebook and I don’t want to post into my (professional) linkedin profile all kinds of rubbish. I found out that it is easy to selectively syndicate content depending on the tags that I will add to my post.

So I added two tags, an import_facebook for posts that I want to be imported into my facebook profile and an import_linkedin tag for posts that I want to be imported into my linedin profile.

Then I installed the “WordPress” application for linkedin and I set as a feed url of my blog the following: http://kyriakos.anastasakis.net/tag/import_linkedin

I also installed RSS Graffiti for facebook and I set as a url of my feed the following: http://kyriakos.anastasakis.net/tag/import_facebook/feed

From now on any WordPress post I tag as “import_facebook” will be imported into my facebook profile, while every WordPress post I tag as “import_linkedin” will be imported into my linkedin profile. Before installing the WordPress and the RSS Grafiti apps on your linkedin and facebook profiled respectively, you need to have at least one post tagged “import_facebook” and a post tagged as “import_linkedin” for the applications to pick up the links properly.


Ipconfig equivalent in Ubuntu

I use a virtualbox virtual machine to run Ubuntu from within Windows (yes, I know I am a masochist). Anyway, every time I resume the virtual machine Ubuntu loses connection with the internet and I have to reset the interface. In windows from the command prompt you have to do an ipconfig /release and an ipconfig /renew. Similarly in Ubuntu all I had to do was the following:

1. sudo ifconfig to get a list of all the network interfaces. There you can see the name of the networking interface that you need to reset. In my case I wanted to reset interface “eth3″. So I did:
2.sudo dhclient -r eth3 to ipconfig /release
3.sudo dhclient eht3 to ipconfig /renew

That’s it! Got a new IP and I can access the internet!


It takes lots of failures to become successful…

I was reading an article in the Computer Weekly magazine the other day. The article features the 10 worst inventions from apple (so far) and the 7 worse inventions from Microsoft (so far). Such articles prove one thing that has been well documented.. it takes many failures to become successful! The articles from the computer weekly magazine are the following:


Minimise the Noise of the CPU Fan on a SONY VAIO Laptop

Update: The method described in the following proved to be useless in the summer, when the laptop became too slow (almost unresponsive). I guess setting the CPU Fan Control level to quiet does not work well when the environment temperature is relatively high. So, I removed the fan cover (all you need to do is remove 6 screws on my laptop) and injected some sewing machine oil on the fan! Now the laptop is TOTALLY silent again! Hurrah!

The noise level of the CPU Fan of my Sony Vaio VGN-SZ71E laptop was driving me crazy for the past few days. When the laptop was on, you could hear the fan operating even in the room next door. The fan was also producing vibrations, which I could feel when I had my arms on the keyboard palmrest! It’s needless to say you can’t work properly (i.e. concentrate on your work) under these circumstances.

I tried removing the chassis to see if I can replace the fan, but in order to have access to the CPU fan on this laptop model you need to disassemble pretty much everything! Luckily there is a workaround.

I had installed the Sony VAIO Power Management utilities, which allow me to manage the CPU Fan speed (Control Panel -> Power Options->VAIO Power Managent -> CPU Fan Control ). I set it to level  “1-quiet” and I have to say it is much better now.  Probably this has some impact on the performance, but this comes second to the peace of mind when working :-)


Google Chrome: First Experiences

When I saw the comic on the new google chrome browser I was very excited. It seems to promise that I will never have to restart the whole browser if just one of the 10 open tabs crashes. No more 100% utilisation for heavyweight javascript sites?

My first experiences (I’ve only been playing with it for 10 minutes):

1) Doesn’t import my huge firefox visited sites history. If during the installation I ask it to import the history it just doesn’t proceed, without any error. The third time I tried to import my firefox settings I unticked the “import history” and it worked.

2) It seems to take longer to initially load up a page (I guess because it spawns a new process each time a new tab is opened and because of the javascript VM).  But once Read the rest of this entry »


It’s the 21st Century!!

“In the 21st century you can’t invade another country, occupy a capital, overthrow a government and get away with it”

Yeah… right!


Idea for a paper.

I was having a snack break and watching some internet TV, when I came across a video of Prof. Hamamoto’s paper:


CS Undergraduate in Bham=Pub!

The first page of the CS website of the Uni. of Birmingham displays random images οf the links to the undergraduate/postgraduate and research sections of the site. I visited the website today and the following is a screenshot of the page I viewed.

So, the experience of a CS undergraduate in Birmingham=Pub drinking/eating/socialising…whatever… I don’t mind the message the image is trying to put across (even though I should probably mind)! However, I think the moment you visit the website this image strikes you as contradicting the site’s look and feel. What do I mean? In general the page is what you would expect to see in a CS department’s page… nerdy stuff! On the top there is the brain with the monitor to emphasise the strong AI background of the department. The image for the research is full of post-it notes. The image with the undergraduates in the pub… well it just doesn’t fit!


So much for AI

For the past 3 hours I have been cleaning up my desk and sorting out the papers I had printed out (yes, when I talk about spring cleaning, I really mean it)! Anyway, I was listening to last.fm, while cleaning up. I asked it to play similar artists to Mikis Theodorakis, who is an excellent Greek composer of hmmmm… “metasymphonic music” (the term is borrowed from Wikipedia). After a couple of songs of similar to Miki’s music, last.fm decided to play a necromantia song! Necromantia is a Greek black metal group. What is the similarity between “metasymphonic music” and black metal? Well both artists are Greek, but apart from that.. none I would dare to say!Last.fm FAQ on the “similar artists” functionality says:

The list of artists which you may see on an artist page as being “similar” is based exactly on our user’s listening habits. If a lot of users listen to Artist X, but also Artist Y and Z – Y and Z artists will become similar to X.

With a few added constants and other functions thrown into the equation to help make it more accurate, you’ll find that’s how Similar Artists are made.

The screencap follows:

Theodorakis_Necromantia


Spring Cleaning part 2

This is another script I found while cleaning up my hdd. Now, we all know that java .class files can be decompiled to (a version) of their source code. The first java decompiler out there is jad. I tried to decompile some of my class files using jad.exe, but I couldn’t find a way of decompiling multiple .class files at the same time. So instead of digging into the documentation, I decided to quickly create a script that allows me to decompile a number of .class files at the same time.

Here’s how it works! I created a VBScript that goes through a directory (and subdirectories) of .class files and creates a dos batch file. The dos batch file can now be used to run and actually decompile all the .class files!

The VBscript can be found under this link: Decompile_vbs.

You need to edit it and change the paths to the .class and source directories.

When you execute this file, it will create a dos batch file like this one: Example_decompile.batPlease note this batch file will be generated under the directory where jad.exe exists! You can now run this batch file, which will actually decompile the .class files.