Archives 2005 - 2019

Inför valkungadöme

published Feb 25, 2009 07:33   by admin ( last modified Feb 25, 2009 07:33 )

Debattens vågor går höga om huruvida vi ska ha monarki eller president. Men det finns en väldigt enkel lösning som tillfredsställer alla parter och som det finns visst historiskt stöd för: Inför valkungadöme.

I en gammal lagtext (Äldre Västgötalagen) står det "Sveær egho konong at taka ok sva vrækæ" ("Svear äga rätt att taga konug och också vräka honom", i lite halvförnyad form). Texten behöver inte betyda att man demokratiskt valde kung, eller att ens alla delar av konungariket fick vara med, men texten visar på att vi haft en tradition av att kunna tillsätta och avsätta kungar. Och tradition är ju vad värnarna av monarki vill ha.

 

Så varför inte gå tillbaka till detta sätt att välja och vräka kung? Han eller hon skulle ha en symbolisk funktion precis som en president, kunna bo på slottet och ha tjusiga kläder och representera.


Skånska författare

published Feb 22, 2009 07:04   by admin ( last modified Feb 22, 2009 07:04 )

-Jag tänker på den där skånske författaren..

-Vilken?

-"Och änglarna sjöng"

-Jacques Werup?

-Nej: "Och änglarna sjöng utav bara helvete"

- Björn Ranelid.


Bild - Datorn kan vara utsatt för risk

published Feb 21, 2009 11:25   by admin ( last modified Feb 21, 2009 11:25 )

Länk - Tvättsvampsväxt mot infektioner

published Feb 21, 2009 06:43   by admin ( last modified Feb 21, 2009 06:43 )
Ineffective antibiotics become lethal once again for bacteria treated with the sponge compound, chemist Peter Moeller reported February 13 at the American Association for the Advancement of Science annual meeting.



Läs mer: Science News / Sponge’s Secret Weapon Restores Antibiotics’ Power


Länk - Olika docks på skärmen för Linux

published Feb 21, 2009 05:21   by admin ( last modified Feb 21, 2009 05:21 )
Now here’s a list of 5 different Docks you can use on Linux. They have different system requirements. Rock out!



Läs mer: Linux Docks - 5 Mac OS X Docks for Ubuntu and Other Linux Distros » Linux, open source and me at Internetling dot com


Länk - Snygga steampunkprylar

published Feb 21, 2009 05:20   by admin ( last modified Feb 21, 2009 05:20 )

Länk - Översikt över cloudplattformar

published Feb 21, 2009 05:19   by admin ( last modified Feb 21, 2009 05:19 )
If there were any lingering doubts about whether Amazon Web Services were enterprise ready they dissolved this week once IBM became a partner. And now that Amazon and IBM have teamed up a picture of multiple computing clouds is emerging.



Läs mer: IBM, Amazon foreshadow a bevy of connecting clouds; Is Microsoft surrounded? | Between the Lines | ZDNet.com


Länk - Så stoppar man en lastbil

published Feb 21, 2009 05:19   by admin ( last modified Feb 21, 2009 05:19 )
The foam stops the vehicle, absorbing the impact like a giant marshmallow. It also blocks all the engine intakes and jams the wheels in place, preventing it from being driven away. Finally, "it will leave the driver trapped inside an encapsulated vehicle, with no means of orientation." Presumably, it is a non-lethal system so long as someone rescues the driver before he suffocates.



Läs mer: Stopping Trucks The Superhero Way (Updated) | Danger Room from Wired.com


Länk - Eu vill avlyssna Skype

published Feb 21, 2009 05:19   by admin ( last modified Feb 21, 2009 05:19 )
EU's judicial cooperation agency Eurojust will take the lead in finding ways to help police and prosecutors across Europe to wiretap computer-to-computer phone conversations enabled by programs such as Skype.



Läs mer: EUobserver


Länk - vmbuilder för Ubuntu gör Virtual Machine images för VMWare, Amazon EC osv

published Feb 21, 2009 05:18   by admin ( last modified Feb 21, 2009 05:18 )

vmbuilder is a python tool that allows to create virtual machine images on the fly, without the need to start an installer in an hypervisor. vmbuilder can create images for KVM, Xen, VMWare and for Amazon EC2.


Läs mer: Ubuntu Developer Week: an introduction to vmbuilder - Nico and Co.

 

I was browsing Ubuntu 8.10 and I bumped into vmbuilder which claims to be a solution for deploying virtual machines on Ubuntu quickly. The currently supported hypervisors are KVM, Xen, Virtual Box (not working yet), and VMware so naturally I decided to play with it a little bit to see how well it stacks up.



Läs mer: Virtualize -IT- » Blog Archive » Deploy VM’s Quickly with Ubuntu’s vmbuilder

 


Länk - Kärlek och odödlighet

published Feb 21, 2009 05:18   by admin ( last modified Feb 21, 2009 05:18 )
We recognise love as our companion and protector and we now think that it may even shield us from death itself, at least while we're alive. 'Terror management theory' sounds oddly militaristic to the modern ear, but it was never intended to makes us think of politics. It was developed by psychologist Sheldon Solomon and his colleagues to help explain how we live with existential angst.



Läs mer: Mind Hacks: Love and immortality


Länk - Anonymous, ett typsnitt som liknar Monaco

published Feb 21, 2009 05:18   by admin ( last modified Feb 21, 2009 05:18 )
Anonymous (2001) is a TrueType version of Anonymous 9, a freeware Macintosh bitmap font developed in the mid-90s by Susan Lesch and David Lamkins. It was designed as a more legible alternative to Monaco, the mono-spaced Macintosh system font.



Läs mer: Anonymous(tm)


Länk - Bespin, en kodeditor baserad på Mozilla

published Feb 21, 2009 05:10   by admin ( last modified Feb 21, 2009 05:10 )
Just as Mozilla enables massive innovation by making Firefox open on many levels, we hope to do the same with Bespin by developing an extensible framework for Open Web development. We’re particularly excited by the prospect of empowering Web developers to hack on the editor itself and make it their own.



Läs mer: Mozilla Labs » Blog Archive » Introducing Bespin


Länk - Amorfa metaller gör att man gjuta detaljer i nanoskala

published Feb 21, 2009 05:10   by admin ( last modified Feb 21, 2009 05:10 )
The material can be molded like plastics to create features at the nano-scale and yet is more durable and stronger than silicon or steel.



Läs mer: Engineers Revolutionize Nano-device Fabrication Using Amorphous Metals


Länk - Intressant bok om evolution

published Feb 19, 2009 10:05   by admin ( last modified Feb 19, 2009 10:05 )
The 10,000 Year Explosion: How Civilization Accelerated Human Evolution (Hardcover)



Läs mer: Amazon.com: The 10,000 Year Explosion: How Civilization Accelerated Human Evolution: Gregory Cochran, Henry Harpending: Books


Länk - Product to make Google Chrome play nice with Plone

published Feb 18, 2009 10:09   by admin ( last modified Feb 18, 2009 10:09 )
Monkeypatch for Zope to make ZPublisher not do header field continuation. Why? Because current versions of Chrome break on this. Symptom: your Plone site, when viewed in Chrome, says::



Läs mer: NoHeaderFieldContinuation — Plone CMS: Open Source Content Management


Reinout's notes on caching in Plone

published Feb 18, 2009 06:08   by admin ( last modified Feb 18, 2009 06:08 )

Mostly lnked from here so that I know where to find them. CacheFu in Plone:

 


Ultravox återförenas och ger 17 konserter i April-Maj

published Feb 17, 2009 01:50   by admin ( last modified Feb 17, 2009 01:50 )

 

De fyra originalmedlemmarna i Ultravox (den uppsättning som började med Vienna, dvs Warren Cann, Chris Cross, Billy Currie och Midge Ure) återförenas och ger sjutton konserter i Storbritannien och på Irland under april-maj 2009. Tunén heter Return to Eden (Efter albumet Rage in Eden).

 

Läs mer och boka biljetter här

 


Virtualisation and VNC to get everything working in Plone traning

published Feb 09, 2009 08:49   by admin ( last modified Feb 09, 2009 08:49 )

I finished doing the Plone training in London last week, and the participants have gone back home via train and flights. When you hold a course like this, there is very low tolerance for technical glitches, everything must work. You cannot tell people who have flown in that the network is down, please come again tomorrow.

Most of these things you mitigate by having redundancy, e.g. two laptops and WiFi and two 3G modems on different networks +  router with both its own WiFi and Ethernet cables for all participants. But what about the software? Participants are running different operating systems and have all kinds of different Plone installs on their laptops.

It used to be that you could teach Plone with a text editor and whatever install of Plone that the participants had. You could write some example products totally from scratch in about two hours.

But now with ZCML, and XML in profiles you need to start with boiler plate code, and it is not possible to ignore buildout. With buildout you can also demonstrate the ability to build a load balancer and cache, and you can have Plone 2.5 and 3 side by side. Buildout works on Linux, has some problems on Mac and is not something I'd even attempt to get to work in Windows on a participant's machine during a course.

So how do you see to that all participants have a good working environment? Well, I have come up with two solutions and I tried one this time. Please note that if the participant wants to run everything on their laptop as they do at work, this will of course be supported at the course. But for those who don't, and in those cases when new features need to be demoed and tried, something is needed.

Option 1: Portable VirtualBox on a memory stick

One solution is to give each participant a virtual server running VMWare, VirtualBox or any similar environment.  Ideally the software should be able to run completely from a USB memory stick, to avoid installation problems on the participant's computer. After some scouring of the Internet I managed to find a French project that bundled a slightly older version of VirtualBox made for USB memory stick use.  Applications that can run directly from e.g. a memory stick are called portable. These applications need not be installed on to the participant's computer.

Each participant was offered a 4GB memory stick with a self contained VirtualBox, running Ubuntu 8.10 preconfigured with:

  • Python 2.4
  • VirtualEnv
  • Kate Text Editor
  • svn
  • Firefox
  • A working buildout already built with virtualenv

Next time I'll add cached eggs and FireBug for Firefox.

On Windows, you just stick the USB stick into a port, double click the VirtualBox icon, select the virtual machine and start it. You could even pre-save the state of the machine in such a way that the participant is immediately presented with a shell in the right directory with the command ./bin/instance fg already typed in :-)  .

For those who use Macs, there is a free VirtualBox available. In this case you need to copy the contents of the memory stick to the hard drive and install the VirtualBox application to run it. I am not aware of a portable VirtualBox for Mac. The format of the VirtualBox xml has changed in the newer version, but here is a guide that shows how to get the old style image to work on a Mac.

 

So how did it go?

Some participants on Mac and Linux had flawless installations of buildout already when they came to the course, so they did not need it.

On Windows the USB stick worked like a charm, but with one unforeseen glitch: It turned out that by using a ready made VirtualBox image of Ubuntu and then decking it out with KDE (for Kate), we hit the 4GB limit of the memory stick during a new buildout! This will easily be rectified by e.g. using Kubuntu the next time or just remove unnecessary packages like OpenOffice.

On Mac, it took a while to edit the xml files to work with the newer VirtualBox (and you must keep glitches to a minimum when training). Next time I will just supply an alternative xml virtual machine specification for the newer Mac VirtualBox already on the memory stick.

Another unforeseen problem was that one of the Windows machines lacked a bit in memory and CPU power.

Option 2: VNC

Next time I am pondering to try to host a number of VNC sessions on one of my laptops. In this way all that needs to be run on the participants' machines are VNC clients. They will get different ports on the server and get their own Linux environments and I can even make live changes to it. Memory and CPU specs of the participants' computers become irrelevant.

For this to work a number of demands need to be met

  • The VNC clients must be compatible with the server
  • The clients should ideally be run from a USB stick
  • The server must have enough power to run all the sessions with GUI environments

I'd probably go for CentOS since I know how to add VNC sessions easily on that distribution, and I would need to do some load testing to see what server performance is needed. It might be  good idea to use a more resource friendly desktop environment than KDE Or Gnome. However, everybody likes KDE:s Kate, so I would prefer to use it.

I have been looking for a good laptop and found HP 2230s. It has a core 2 duo processor, weighs in at 1.7 kilos and can take 8GB of RAM. However, reviews of it say that it is flimsily built, so maybe it is better to get something else.

Option 3: Why not use both?

If I do go with CentOS 5.2 on a laptop I may get problems with  sleep and hibernation, since CentOS is not made primarily with laptops in mind. So why not virtualise it? And if I do that, I could also put it on the participants' memory sticks. So I could use the exact same image for options 1 and 2 above

 


Länk - Multiresistenta bakterier skördar fler liv än HIV/AIDS i USA

published Feb 07, 2009 02:47   by admin ( last modified Feb 07, 2009 02:47 )
MRSA appears to be claiming more lives in the United States than HIV/AIDS. According to an October 2007 report in the "Journal of the American Medical Association," 94,360 U.S. patients developed an invasive infection from MRSA in 2005 and nearly one of every five, or 18,650 of them, died. In the same year, 17,011 people died from HIV/AIDS.



Läs mer: World Running Out of Weapons to Fight Superbugs