rblog

Justice for Assange


Don’t let Hillary and the rest of the bunch get away with what they did by simply blaming Assange and Bradley Manning. Bradley is a whistleblower, we need more like him, not less.

http://www.justiceforassange.com/ http://www.bradleymanning.org/

GIMP with non locale menus

Must admit that I do not find translating everything into Norwegian a good thing, for instance I have Gimp installed on our MacBook. Since I’m not a hardcore photo editing kinda guy I need help from online tutorials to even do the simplest things. But that is almost impossible when you have menus in Norwegian and all tutorials are referring to menus and such in English. So I had to do a bit of surfing on Google, and luckily I found http://hints.macworld.com/article.php?story=20070423133918443.

More simply, I dug into The Gimp’s package, and moved the locale folder (found in Contents » Resources » share). I created a new folder, at the same level as Resources, named Resources Disabled, and dragged locale into that folder. This way, I can get the other languages back if I need them. The application now is running smoothly, in English. And one icon in the Dock is enough for either launch or launch via drag-n-drop.

Facebook Tracks and Traces Everyone: Like This!

Read this article digi…/slik-sporer-facebook-alle about how Facebook keeps track of your websurfing, even if you are not a member of Facebook at all. The article is based upon this paper Facebook Tracks and Traces Everyone: Like This!.

Numerous websites have implemented the Facebook Like button to let Facebook members share their interests, therewith promoting websites or news items. It is, thus, an important business tool for content providers. However, this article shows that the tool is also used to place cookies on the user’s computer, regardless whether a user actually uses the button when visiting a website. As an alternative business model this allows Facebook to track and trace users and to process their data. It appears that non-Facebook members can also be traced via the Like button…..

It clearly raises some issues, realizing that the best way to avoid being tracked by Facebook is to keep a separate browser only for checking your Facebook account, where you also deletes all cookies everytime you shut it down. If I bother I would then use on my corporate laptop IE for corporate websites (it is the default browser with much autologin enabled), then Firefox for normal surfing, and at last Chrome for Facebook. It will keep me anonymous when it comes to Facebook, they will still be able to keep track of me, but by deleting the cookies each time and only surf on Facebook, the data will be quite irrelevant.

Huge difference

Inside 20 celsius above zero (68 Fahrenheit) and outside 20 celsius below zero (-4 Fahrenheit)…at least happy we are at my in laws. Must admit that I am considering buying stuff from http://www.pipeeksperten.no/ at home. Would have been nice with a brand new iron stove at home.

Wikileaks – friend or foe?

I must admit that I have found the first parts leaking out from the “Cabelgate” at Wikileaks was kind of boring – that some diplomat finds Berlusconi partying to hard and Sarchozy being easily offended, who cares? But when Hillary Clinton is ordering illegal surveillance of the U.N…ref. for instance http://bigthink.com/ideas/25172

Diplomatic cables released by Wikileaks show that Secretary of State Hillary Clinton ordered U.S. diplomats, the CIA, and the FBI to spy on highest echelons of UN officialdom, including Secretary General Ban Ki-Moon and World Health Organization, the Guardian reports. The U.S. event wanted biometric information of UN officials including DNA and iris scans.

In the news today Clinton was angry, she is apparently having good reasons for that, and hurray for Cabelgate! (Until I decide otherwise…)

A sign from above?

Alone at home today, was watching “Two and a half men” when I decided during a commercial break to switch to “The Big Bang Theory“. There was a scene where one of the characters yelled out in a bar that his picture would be in Peoples Magazine, when Charlie Sheen turned around saying something like “Until you are on the front page it does not matter”… I took that as a sign and switched back to Two and a Half Men, feeling sorry for having left them in the first place…

Changing XML attributes using Python

Doing some work trying to update J2C resources defined in WebSphere using Rational Automation Framework, actually about the same thing as described in the article “A step-by-step guide to automating the deployment of a data source by using Rational Build Forge” and I needed to do some changes in jaas.xml. Won’t go into the details why editing XML using for instance “normal” Perl is hard, but I ended up using Python and ElementTree to edit the file with a structure like this

<jaas>
	<JAASAuthData 
		alias="dmgr/databaseuser" 
		description="The database user" 
		password="thepassword" 
		userId="dbid">
	</JAASAuthData>
</jaas>

Used plenty of sources to help me out, but I do think I did use http://effbot.org/ the most – super when it comes to figuring out Python, but http://www.rexx.com/~dkuhlman/pyxmlfaq.html was also of great help!

The script I created is available here updateJaas.py The script is bound to changing jaas.xml-files, but it should be quite easy to change it for other needs as well.

Hjem