Subscribe to RSS feed

emacs & unicode

, ,

I run most applications in terminal, and Emacs is not an exception. But I had been struggling with Emacs 21.4.1 and had some trouble with some Unicode input - I'd have no trouble in X, but there are several reasons why I'd still prefer running it in terminal.

I just upgraded to the CVS version 22.0.50.1, and have solved all my troubles.

sherlock

banksy

, ,

Banksy is a "guerrila artist" with a nice sense of humor, who performs his stunts in incognito, and leaves a trail of puzzled viewers behind him. He became famous over night with his action in the West Bank, Palestine, in 2005. Another famous stunt was the Early Man Goes to Market exhibit in the British Museum.

My favourite quote:

Is graffiti art or vandalism?
That word has a lot of negative connotations and it alienates people, so no, I don't like to use the word 'art' at all.



Well, yesterday he performed a new stunt, replacing Paris Hilton's CDs with his own remixes…

(^_^)

If you thought you could just say it with a smile - you have missed something

(≧∇≦)/

*sigh*

, ,

…it is going to be a huge problem for business travellers that need their laptops to travel safely, and even more so for musicians and their instruments or photographers who cannot risk their equipment to be damaged - and since insurance companies do not pay, when the equipment is not hand baggage carried on board…

Update:
There is a comment section on the BBC article - let me quote a gem:

I am a security guard at Heathrow. If you don't like it, don't fly. This is happening for a reason and you're quick to forget it. If we were not doing this and a bomb did get on a plane, you would be quick to complain that nothing was being done about it. Get real, there is more to life than music.
Laura, Middlesex, England



Many thanks to the anonymous reader who replies:

To Laura from Middlesex, music is some peoples lives.

zoom

,

On the quest for a better UI a chapter needs to be dedicated to Jef Raskin's The Humane Interface - the future-pointing research moves in the realm of utopia, but several applications and environments have already tried implementing one or the other of his suggestions.

The RaskinCenter is working on an implementation of the humane interface, albeit still at a very early stage. So far the most interesting parts are the available demos.

The desktop, as a place where to do your work, launch applications and open documents is gone: the user will interact not with representations of files (like icons on the traditional desktop), but directly manipulate the files. A file does not need to be "opened" - you'll just "get closer" to the file until it is big enough to edit or read its text. The zooming interface is possibly the most original part of the humane environment - and probably (once you'd get used to it) a very intuitive approach. You can watch the impressive demo [8M Flash].

I like to imagine that the zooming interface could be an extremely nice interaction mode on devices with a small screen and a pointing device.

fossil+venti - and a network!

I have been running Plan 9 on one of my machines for quite a while now. My first installation had been a clean, default fossil installation. Before starting to choose some extra features, it is best to get to know how the system actually works.

But then I decided to explore more, and discover the joys of venti. So I nuked my previous installation, formatted the partition, and made a default fossil+venti installation. And here my trouble started.

Venti

At reboot I started getting lots of error messages:

ventiSend vtWrite block 0xa failed: not connected to venti server
archWalk 0xa failed; ptr is in 0x7 offset 0
archWalk 0x7 failed; ptr is in 0x5 offset 0
archWalk 0xae71 failed; ptr is in 0xae70 offset 0
archWalk 0xae70 failed; ptr is in 0xae6f offset 0
archiveBlock 0xae6f: not connected to Venti server

Now what? I had accurately followed the installation instructions on the wiki and naively had been hoping it would work. Half a day of playing around with various solutions, and I realized that there was only one thing missing: telling the fossil file system where venti actually was - just one line was missing in the plan9.ini file.

When rebooting after installation, start 9fat: (yes, the colon is important) and edit /n/9fat/plan9.ini, adding one line:

venti=/dev/sdC1/arenas

Make sure this points to where you configured the arenas to be - and then reboot.

Network

That is the first step - and then I fell flat on the second one. I had a system now, with fossil+venti, so I quickly reconfigured my network settings - naively expecting them to work. Why shouldn't they, after all - that exact configuration was nicely working on my fossil system.

Well, at reboot I was now greated with a message:

ndb/dns: cannot read my ip address

and any networking that would require a name resolution was not working - so I wasn't even able to mount /n/sources. It took me quite a while to make sure that everything was configured as in the last known-to-work system. To no avail. Digging through the mailing list archives brought up other similar experiences - but no solution.

Some investigations later, here is what seems to happen: the kernel sets up a loopback device for venti to listen on. When termrc starts, the device is busy, and the machine fails to query the DHCP server for it's IP address, and anything else from there goes down the drain. The solution is simple: do not check if /net/ipifc/0/ctl exists before starting ip/ipconfig and ndb/dns - modify /rc/bin/termrc to simply run:

ip/ipconfig >/dev/null >[2=1]
ndb/dns -rf $NDBFILE

Voilà, a fossil+venti system - with a network!

trees and threads

, ,

…a beautiful UNIX history diagram [jpg, 2.4M] I recently found (and may I suggest, for the ease of inspection, to enable some fit-to-width feature your browser might offer for those occasions you find some too wide image)…

<no subject>

, , ,

--remote

, , , ...

More than once I have heard people asking for an easy way to pass interesting links from one Opera instance to another: ways to forward that one URL you found at work to yourself at home. A simple solution is to collect all those URLs in a mail and send that to yourself. Some more sofisticated users send a private message to their IRC-self at home, with the URL.

Since I do use a console IRC client, irssi, running in screen on my home machine and I load that session via ssh from anywhere I am, I devised a more efficient way to solve this task.

Since the ssh session is not used to forward X, I export the local DISPLAY at home in screen - and use the --remote command line option to foward the URL to Opera directly, skipping the one additional step of forwarding it to myself on IRC or via mail.

$ export DISPLAY=:0

once and forever in the screen session, then

$ opera --remote "openURL(http://example.com/,new-page)"

in a screen - and when I come home I'll have all those URLs waiting for me, each in its own tab.

Installing operaopera

,

Somebody experienced a problem when installing Opera with the SUSE tool YaST:

Following packages have not been found on the medium:
operaopera



And then all of a sudden we started noticing the same issue on more than one machine, and started investigating. It turns out that the problem is in how KDE tells YaST what to install: the issue does not occur if you run

# yast2 -i <operapackage>


from command line - you'll only be bitten by it when selecting "Install with YaST" from within Konqueror.

Eddy has not only the details, but also a patch.
May 2013
S M T W T F S
April 2013June 2013
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31