Search Results: "ag"

9 January 2007

Jose Carlos Garcia Sogo: iPhone is born

Steve Jobs have just presented iPhone. Looking at the images, I actually like the interface, and it seems like a very thin device, like an iPod nano or so. A nice toy for mere $499 4GB version or $599 the 8GB one.

iPhone

Alexander Sack: mozilla and thunderbird security patches and packages

... are available for testing. firefox will be available soon. use my security preview archive to help testing this release: For reference: The raw patches are http://people.debian.org/~asac/backports-1.5.0.9.tar.gz

Eddy Petrișor: New laptop #4 (I have decided the model)

The race had 3 finalists:
- HP nx6235 (in Romanian) - incredible low price, fully works (with some patches and except the fingerprint reader) (thanks Marc)
- Dell Inspiron 6400 (aka E1505)
- ASUS F3T-AP008

I have decided against the 64bits AMDs and in favour of long life batteries and Centrino Core 2 Duo architecture.

HP nx6235 failed to meet my criteria of design, reliability (I have heard that local HP service has problems with HP products; waranty is 1 year). The shared video memory was a concern regarding overall system performance.

Dell, well... Dell 32 bit arch... I would have been nice to jump into the 64bit wagon, but I guess that will have to wait for now. Design is nice, the hard disk is bigger by 20GB (we all know disk storage is never enough ;-), Centrino tehnology (Intel seems to be OS friendly and drivers seem to exist for all the components), battery time (I can wait to test the real battery time), has some video memory of its own (HyperMemory - some kind of video cache)

ASUS - the selling points over the Dell were the AMD Turion 64 x2 processor(s), the design (looks nicer than Dell, IMHO), the nVidia video card (which was also a concern due to the proprietary driver and its security holes - sorry, no link), and the not yet working built-in webcam. There was also an bonus: a bag and a mouse, but that almost never works for me. And I had to wait for at least a week for it.

The winner is the Dell Inspirion, they also have it on stock, I already placed the order and I will pick it up after I finnish this entry ;-) .

I can't wait to fire up Debian Installer on this baby.

Update: when I said I'll skip he 64 bit wagon I was thinking (for some reason) that the amd64 bit port does not perform well on the Intel Core 2 Duo processors and I would be forced to use the i386 arch. Thanks for correcting me.
Update: it seems eMag was using false information in their advertising regarding Dell, the system is NOT using Centrino technology since it has a Broadcom wireless lan.

Erich Schubert: SVN $Date$ to ISO 8601 in XSLT

I'm keeping my homepage in a SVN repository; I'm using the $Date$ variable to automatically track the last modification date (though it will also change on minor modifications). For the HTML "Date" meta tag, the W3C recommends using ISO8601 date format. This is the (non-XSLT-2, so no regexp) hack I use for conversion:
<xsl:value-of select="concat(substring($string,8,4),'-',substring($string,13,2),'-',substring($string,16,2),'T',substring($string,19,8),substring($string,28,5))" />
Did I mention I hate XSLT? It's lacking so many standard functions, like date-time processing, regular expressions, exceptions, ... - granted, a lot of stuff was added for XSLT2, but it still sucks badly. Especially the syntax. Here's how to format the date according to RFC 2616, as used in the last-modified meta tag and HTTP/NNTP/SMTP headers:
<xsl:variable name="day" select="concat(substring($string,8,4),'-',substring($string,13,2),'-',substring($string,16,2))" />
<xsl:variable name="time" select="substring($string,19,8)" />
<xsl:variable name="timezone" select="substring($string,28,5)" />
<xsl:value-of select="date:day-abbreviation($day)" />
<xsl:text>, </xsl:text>
<xsl:value-of select="date:day-in-month($day)" />
<xsl:text> </xsl:text>
<xsl:value-of select="date:month-abbreviation($day)" />
<xsl:text> </xsl:text>
<xsl:value-of select="date:year($day)" />
<xsl:text> </xsl:text>
<xsl:value-of select="date:time($time)" />
<xsl:text> </xsl:text>
<xsl:value-of select="$timezone" />
Note that this does not include any error handling and is not very robust. You also need an XSLT processor with some of the ">">">http://exslt.org/dates-and-times extensions such as xsltproc. (Which unfortunately doesn't do XSLT2 yet and doesn't have a regexp extension). [Update: Joel Wreed pointed me to his libxslt plugins, a regexp and a exsl.org/dates-and-times plugin. These would help a lot, though IIRC the date-parse exsl.org spec doesn't support the date format I'd need. (So I can't just say date-format(date-parse(...),...)). Also he said that they basically are unmaintained right now. It would be nice if they could be merged into libxslt, though...]

Erich Schubert: Scripting with NetworkManager and network/interfaces

Debians /etc/network/interfaces is a powerful way to setup multiple profiles; NetworkManager is a pretty UI for managing your network. However they don't play well together: NetworkManager will ignore devices managed via network/interfaces. However, NetworkManager lacks a couple of important options, including static IPs and several wireless options; I can't connect to my universities WAP2 network using NetworkManager because of some missing options. This is why I wrote this small script:
#!/bin/sh
# disable network manager:
dbus-send --system \
  --dest=org.freedesktop.NetworkManager \
  /org/freedesktop/NetworkManager \
  org.freedesktop.NetworkManager.sleep
sudo ifup eth1=eth1-lrz
My /etc/network/interfaces contains a working setup for my wireless named "eth1-lrz"; since this differs from the real device name, this works fine. Running this script will tell NetworkManager to disconnect and instead setup the wireless for my university network. When connecting to a different network, I only have to do "ifdown eth1" and then click on the NetworkManager applet to enable it again. (would be "org.freedesktop.NetworkManager.wake")

Clint Adams: Puget Sound

I bet that this wasn't written by The Frugal Gourmet.

Uwe Hermann: OpenOffice / OpenDocument and MS Office 2007 / Open XML security

Interesting paper from the PacSec 2006 security conference: OpenOffice / OpenDocument and MS Office 2007 / Open XML security (PDF) Not too surprising when you come to think of it, there are tons of possibilities to embed various kinds of malware in the new office document formats. Also, you always have the risk of leaving sensitive metadata in there... If you publish stuff, you better convert to PDF before. But even that might leave sensitive data in the PDF, mind you! Oh, and one nice detail you might enjoy: And that doesn't even describe all of the format (e.g. VBA macros are missing)! No further comment required...

8 January 2007

Evan Prodromou: 18 Niv se CCXV

Our brunch yesterday went super-well. We had about 15 people over, which was far too many for our supposedly mellow evening. But it was great -- we got to catch up with a lot of folks I've been missing over the holidays and haven't gotten to see. I hadn't seen Lucinda Catchlove much for a few months, and Heather Kelley and Damian DiFede made an appearance, too. We got to see John Usher, who's off to do weird things to people's ears at the Consumer Electronics Show in Las Vegas. Niko came with friend Johanie, who made some great black-bean brownies; DJ Ghostbeard was still feeling ill from NYE; and Meg showed off her deep purple hockey bruises. It was also nice to have some new friends come, too. I've been wanting to hang out with MC Turgeon, one of the most experienced bloggers in Quebec, founder of me dia and toiles-du-Web, since we met last year at South by Southwest. She and her partner Chris came over with a nice bottle of wine and got to know everyone there. Actually, she knew a lot of the people already -- she and Anne-Marie had met at Mutek, for example. When Patti came in, she said, "Oh, yeah, I know M-C. We do a lot of panels together." Ah, the panel circuit. Altogether a really good time. Probably the only downside is that our oven was really dirty, and while I was making quiches and roasted potatoes I smoked up the entire house. But it cleared pretty quickly, and with the nice weather we're having, I could even have the kitchen door open to clear the smoke. Unheard of! tags:

Making a point Speaking of unseasonably warm weather, the Green Party of Canada held a picnic and ice cream social on Mount Royal last Saturday, which would have a couple of feet of snow on it in a regular year. The subject of discussion? Climate change, of course. I dunno -- clever move, but do they have to rub it in? tags:

Shameless plugs My friend Allegra has started a great new blog, Sucking-stones. She's got a really good voice and it's now in circulation as one of the blogs I read each morning. Also, my friend Anne-Marie Bergeron has her first travel TV show on 33mag tomorrow. She's got a four-part series on her trip to Iceland which they're going to show. It's in French, but her husband Jeff only cusses in English, so that's probably what you'll hear when they're climbing glaciers and lava floes. Did that get everyone? I hope so. You know what they say: You can plug your friends, and you can plug your ears, but you can't plug your friends' ears. Or something. tags:

Chix I was just reading Angela Beesley's end-of-year blog post and realized that I'd missed the establishment of WikiChix. It's a new organization for female wiki participants, in the great tradition *Chix tradition of Linux Chix or Debian Women. All the more galling is that two other blogs I regularly read also covered the new group. Joseph Reagle made a note about gendered spaces and the role they play in any movement (like Open Content and wikis). Biella blogged about his bloggage and put some social-science twist that was a little hard for me to follow. In any event, good luck to WikiChix. I find clubs extremely fun and useful and by nature exclusionary, and nothing to get worked up about. Of course, as one of the two founding members of the Maldekstrulaj Vegeteranaj Esperantistaj Linuxamantoj (Left-handed Vegetarian Esperantist Linux-users Club), I'd probably be pretty hypocritical calling anyone else exclusionary. tags:

Russell Coker: cooling

Recently there has been some really hot weather in Melbourne that made me search for alternate methods of cooling.

The first and easiest method I discovered is to keep a 2L bottle of water in my car. After it's been parked in the sun on a hot day I pour the water over the windows. The energy required to evaporate water is 2500 Joules per gram, this means that the 500ml that probably evaporates from my car (I guess that 1.5L is split on the ground) would remove 1.25MJ of energy.from my car - this makes a significant difference to the effectiveness of the air-conditioning (the glass windows being the largest hot mass that can easily conduct heat into the cabin).

It would be good if car designers could incorporate this feature. Every car has a system to spray water on the wind-screen to wash it, if that could be activated without the wipers then it would cool the car significantly. Hatch-back cars have the same on the rear window, and it would not be difficult at the design stage to implement the same for the side windows too.

The next thing I have experimented with is storing some ice in a room that can't be reached by my home air-conditioning system. Melting ice absorbes 333 Joules per gram. An adult who is not doing any physical activity will produce about 100W of heat, that is 360KJ per hour. Melting a kilo of ice will abrorb 333KJ per hour, if the amount of energy absorbed when the melt-water approaches room temperature is factored in then a kilo of ice comes close to absorbing the heat energy of an adult at rest. Therefore 10Kg of ice stored in your bedroom will prevent you from heating it by your body heat during the course of a night.

In some quick testing I found that 10Kg of ice in three medium sized containers would make a small room up to two degrees cooler than the rest of the house. The ice buckets also have water condense on them. In a future experiement I will measure the amount of condensation and try and estimate the decrease in the humidity. Lower humidity makes a room feel cooler as sweat will evaporate more easily. Ice costs me $3 per 5Kg bag, so for $6 I can make a hot night significantly more bearable. In a typical year there are about 20 unbearably hot nights in Melbourne. So for $120 I can make one room cooler on the worst days of summer
without the annoying noise of an air-conditioner (the choice of not sleeping due to heat or not sleeping due to noise sucks).

The density of dry air at 0C and a pressure of 101.325 kPa is 1.293 g/L.

A small bedroom might have an area of 3M*3M and be 2.5M high giving a volume of 22.5M^3 == 22,500L. 22,500 * 1.293 = 29092.500g of air.

One Joule can raise the temperature of one gram of cool dry air by 1C.

Therefore when a kilo of ice melts it would be able to cool the air in such a room by more than 10 degrees C! The results I observe are much smaller than that, obviously the walls, floor, ceiling, and furnishings in the room also have some thermal energy, and as the insulation is not perfect some heat will get in from other rooms and from outside the house.

If you have something important to do the next day then spending $6 or $12 on ice the night before is probably a good investment. It might even be possible to get your employer to pay for it, I'm sure that paying for ice would provide better benefits in employee productivity than many things that companies spend money on.

Andree Leidenfrost: Debian Pre-Release of Mondo Rescue 2.2.1

Preliminary Debian packages for Mondo Rescue 2.2.1 are available at the usual place: http://people.debian.org/~andree/packages/. (r1021 is the SVN revision of the actual 2.2.1 release.)

The new version comes with quite an impressive list of fixes and enhancements as can be seen on the Mondo Rescue website. The new '-G' option which allows for using gzip as the compressor is my personal favourite as it really speeds things up! Also, I've finally gotten around to fixing #222065 and there is no more unsolicited creation of directories in /var/cache anymore (neither submitted upstream yet).

Unfortunately, there are a few issues:
  • Links in directories that actually are links themselves are not resolved correctly (fixed in the Debian package.).
  • nuke restore from tape makes mondorestore crash (at least on amd64). The workaround is to use automatic or interactive mode.
  • Windows 2000 does not boot after a restore (at least on amd64). The data is restored but there is something wrong with how fdisk creates the partition (I believe). This actually also happens with 2.2.0 as well, so it is not a regression. I have to look into this more. The workaround is to use gparted (or similar) and resize the windows partition/filesystem by a few MB.
  • petris doesn't start when restoring (again at least on amd64). Surely the most minor issue I noticed so far...
Anyway, apart from the above, things seem to be ok. Give it a try if you like! If you do find more issues, let us know via the mailing list and - even better - send a patch. ;-)

Other than that, (belated) Happy New Year to everyone! :-)

Stefano Zacchiroli: vim lbdbq plugin

Querying Lbdb from Vim In spite of my attempts for replacing Mutt with Evolution I gave up for several reasons, mainly in my experience Evolution isn't stable enough with huge mailboxes: it crashes often and is painfully slow. Now I'm back at using Mutt, but at least I've learned to use the Evolution address book which is nice, integrated with other Gnome apps (gaim for example), and strictly more powerful than the Mutt address book. I'm using lbdb to query the Evolution address book from Mutt via the external address queries mechanism. But that sucks in various ways:
  1. names should be expanded one by one hitting CTRL-T, changing the headers in Mutt one by one (first To:, then Cc:, then ...)
  2. I like to edit headers while composing the mail in Vim, but names written there in the various recipient lines (To:, Cc:, ...) are not handled properly. For example if I fill the To: line with To: name surname when exiting Vim mutt will collapse it in a header To: namesurname which can no longer be passed successfully to lbdb
My solution is lbdbq.vim a plugin for Vim which enables expansion of contact names directly withing Vim (normal/insert/visual modes). It supports multiple matches asking interactively the user to choose among them and can be used to replace all contacts in one or more recipient lines at once. It's new, so it's probably bugged. If you sit like me at the intersection Mutt/Vim/Evo-address-book please test it and give me some feedback. As a side note, this is the first time I program in vimscript after the release of Vim 7.0. I have to admit that is really becoming more pleasant than what it used to be. Lists and Dictionaries really (try to) bridge the gap between pre-7.0 vimscript and programming Vim with external languages (python/perl/...). Update #1: lbdbq.vim 0.2 released with an important bug fix for RFC822 fields continuation line and other minor improvements. Update #2: Vimscript #388 provides similar features to lbdbq.vim and is older. Still lbdbq.vim is more feature-complete, have a look at the Discussion page fore more info.

Pierre Habouzit: POSIX DNS APIs considered harmful.

I'm quite upset with the POSIX APIs. I'm trying to write some kind of simple piece of software, to be included in a mail chain, doing a lot of DNS queries, mostly to RBLs. I've met two kind of problems:
  1. the POSIX API is synchronous, and absolutely no usual API for non blocking requests exists, there is of course:
    • adns, but it's very bloated, does not work with ipv6,
    • c-ares, but it's quite bloated, does not work with ipv6, and need select (cannot be used with epoll e.g.),
    • libdnsresolv (hahahaha, that's an horrible patch over the BSD resolving API, it's horrible, yuck),
    • udns, that's the best of the four, but still, the code do not feels very well, solid (do not check recvfrom/sendto errors e.g.).
  2. there is no way to escape the system resolver, which is good for usual applications, but very bad when it come to RBLs.
The second point is in fact the worse. On mail queues I administrate, there is also very often a bind that is used as a caching DNS resolver. Very well, except that it complectely sucks with RBLs. RBL generate a lot of queries that resolve and that you will almost never ask again before its TTL expires, and the other kind of queries you do get NOT FOUND answers, that are usually not cached. Too bad, the most useful answers are the NOT FOUND ones, and the cached answers are just here to make our local cache use huge amounts of memory for nothing. So RBLs just end up poisonning your system efficiency. That's quite ridiculous. I'd really love to have a decent async resolver API, and a way to tell my DNS cache (here BIND) that the domains serves a RBL, and that I (for at the same time the sake of the RBL and from my system) want specific caching features for it. I fear that it wont be possible, and that I will end up writing some API specifically designed to craft DNS queries to the RBL servers (once again there is absolutely no reason to use forwarders for that, as it will end up by screwing your forwarder cache for almost no gain, and won't save you from a lot of useless queries with no answers at all). The good point is that the kind of queries you need to do to RBL servers is indeed completely trivial: Then implementing on top of that some efficient caching (RBL-aware) will be rocking fast, and way more efficient than bind caching, without the poisonning effects. A big gain I hope. What suprises me the most, is that I've not found anybody speaking about those side effects of RBLs on nameservers, almost no discussion at all. Very surprising for a protocol that is so vital for the internet as a general rule.

Eddy Petri&#537;or: New laptop #3 (hardware compatibility - mandatory rant)

I am deeply missing a real wiki.debian.org/Hardware page. The current one is a joke. It would be nice to have something in the style of the Gentoo hardware page with nice pages which show what works and what doesn't.

I know about the Debian GNU/Linux device driver check page which is a good start, but:

Current situation (bad stuff)

wiki.debian.org/Hardware is a joke. For example, I was expecting to see a Network compatibility list, but instead I see some useless info.

What annoys me the most in this matter are dead links or links to dead/inactive projects.

Information is scattered all over the place (redirects and directories can help), is mixed/ungroupped, or is outdated.

Current situation (good stuff)

The information partly exists. Probably, in time, the wiki will be cleaned up, but until then you have to dig for the information.

There are plenty of sites and pages with information, but, still, you need to weed out the old/irrelevant stuff.

What to do about it

Before you say anything, no, there is no need for yet another Linux compatibility list project.

Ideas:
Update: Justin told me about the Ubuntu Laptop Testing Team project which is kind of nice. There is also a scraper script which was supposed to help making queries like "info about laptop X" and "which laptops have these features", but that script didn't work for me.

Maximilian Attems: Unbreakable IBM

Three letters corporations don't inspire confidence (junk code, big tactics, ..). Nevertheless Thinkpads i will miss you. My current workhorse is a x41 Thinkpad. The default model has a bad battery life. Yeah the x40 are cool and with much better battery life out of the box, but they need this mad atheros binary hal junk (the ath free replacement goes nowhere right now :(. No i won't taint the running kernel. So just buy a battery upgrade and be happy.
In August cycling i got badly hit by a car. Making a cool stunt on asphalt with a crashed helmet and hurt everywhere. The laptop being unprotected in backpack. No complaints from the X41. Throw it across rooms and it happily boots. Exposing it to dust did not cause any high pitch noise like some earlier Vaio.
As Thinkwiki will tell you the Hitachi hdd are not really worth to put data on them. I got mine easily exchanged 2x. I wouldn't care less thanks to git, imapd and frequent backups.
As you can probably imagine the story of unbreakable doesn't stop here, but i won't leak current experiences "nancy" had to endure. Anyway i wanted to join in the Thanks to all the peoples that make Debian the pleasure to hack and work on! Big props to the Release Team for coordinating the fine Etch product.

Adam Rosi-Kessel: Silent Copyright

Via the Trademark Blog, My Cage — digitally generated silence for cellphone:
My Cage (Silence for Cellphone) dispenses with performer, piano and auditorium, instead utilizing a continuous stream of silence produced on a computer, and compressed to ringtone format. While noting that Mr. Keats doesn’t have a cellphone of his own, and may be less-than-qualified to make global pronouncements about them, the CEO of the company that distributes the ringtone believes that “My Cage” may be a platinum hit. “People want a respite,” he says, “and not everybody has the time or money to go to a spa. The virtues of silence are unsung.” Nevertheless, Mr. Keats is careful not to take credit for silence in general, and hopes that people will bootleg his creation, just as he was inspired by John Cage. Mr. Cage, who died in 1992, could not be reached for comment.
I hope the IP professors in the crowd are preparing a hypothetical for the next round of exams.

John Goerzen: Christmas Memories, Part 4

In my other posts about Christmas, I wrote about my memories of Christmas awhile back.

In this final post, some more recent memories.

Terah and I don't really have a Christmas tradition yet -- things seem to keep changing.

Our first Christmas after being married was in Indianapolis. Our church there didn't have a Christmas Eve service, so we went to a different one. We also bought a tree from Tree Classics that year:



The next year, we moved to Kansas. Our church has a children's program on Christmas Eve, but Terah likes the more meditative lessons and carols service that her church used to have on Christmas Eve, so sometimes we've gone to a different church that evening -- or even to two different services.

This year, we're in an apartment, and we've got Jacob. That makes everything more fun. Here he is in a festive holidy mood:



Of course, the one thing that a festive holiday mood is sure to lead to in a 3-month-old is a not-so-festive holiday bout of fussiness.



Our tree this year is borrowed. Ours, along with all of our Christmas decorations, lights, and wrapping paper, is in storage. So some of our gifts aren't wrapped. But that's OK -- we enjoyed Christmas all the same.



In this, my last post on Christmas for this season, I wanted to follow up on my earlier post about my Grandpa Klassen. I wrote:

Grandpa was great with the harmonica. And the song I best remember him playing at is Nun Ist Sie Erschienen. I remember sitting on his lap many times listening to him play it. And I'm pretty sure it was a year-round song for him. Terah and I even had it sung at our October wedding -- if it was year-round for Grandpa, that was good enough for us. It's always special to sing the song in church.

I was going to have a picture of Grandpa with his harmonica here, but I didn't get it ready in time. So I'll have to describe it. Imagine a black and white picture of a gentle man, dressed conservatively, holding a harmonica in his hands. He's looking towards it tenderly -- it seems to be something important, and maybe it represented fond memories for him, too. I'll post the photo as soon as I get a copy of it.


Well, here's the photo:

Clint Adams: Okay, chubby, now do a Euler diagram

[Venn diagram for Barbie]

7 January 2007

Amaya Rodrigo: Just too white & nerdy

[Video] [Lyrics]

I know they re all thinkin I m so white & nerdy
Think I m just too white & nerdy...

Since I was a teenager I have always wanted to be big (read fat), black, and have a great big black voice, but I m just too white & nerdy... I wish I could one time sing this dressed in a red, long, satin night dress, looking just like a big, black Diva.

:)

Russell Coker: Xephyr

As part of my work on Xen I've been playing with Xephyr (a replacement for Xnest). My plan is to use Xen instances for running different versions of desktop environments. You can't just ssh -X to a Xen image and run things. One problem is that some programs such as Firefox do strange things to try and ensure that you only have one instance running. Another problem is with security, the X11 security extensions don't seem to do much good. A quick test indicates that a ssh -X session can't copy the window contents of a ssh -Y session, but can copy the contents of all windows run in the KDE environment. So this extension to X (and the matching ssh support) seem to do little good.

One thing I want to do is to have a Xen image for running Firefox with risky extenstions such as Flash and keep it separate from my main desktop for security and managability.

Xephyr :1 -auth ~/.Xauth-Xephyr -reset -terminate -screen 1280x1024

My plan is to use a command such as the above to run the virtual screen. That means to have a screen resolution of 1280x1024, to terminate the X server when the last client exits (both the -reset and the -terminate options are required for this), to be display :1 and listen with TCP (the default), and to use an authority file named ~/.Xauth-Xephyr.

xauth generate :1 .

The first problem is how to generate the auth file, the xauth utility is documented as doing it via the above command. But this really connects to a running X server and copies the auth data from it.

The solution (as pointed out to me by Dr. Brian May) is to be found in the startx script which solves this problem. The way to do it is to use the add :1 . $COOKIE command in xauth to create the auth file used by the X server, and to generate the cookie with the mcookie program.

In ~/.ssh/config:
Host server
SendEnv DISPLAY

In /etc/ssh/sshd_config:
AcceptEnv DISPLAY

The next requirement is to tell the remote machine (which incidentally doesn't need to be a Xen virtual machine, it can be any untrusted host that contains X applications you want to run) which display to use. The first thing to do is to ssh to the machine in question and run the xauth program to add the same cookie as is used for the X server. Then the DISPLAY environment variable can be sent across the link by setting the ~/.ssh/config file at the client end to have the above settings (where server is the name of the host we will connect to via SSH) and in the sshd_config file on the server have the line AcceptEnv DISPLAY to accept the DISPLAY environment variable. It would have been a little easier to configure if I had added the auth entry to the main ~/.Xauthority file and used the command DISPLAY=:1 ssh -X server, this would be the desired configuration when operating over an untrusted network. But when talking to a local Xen instance it gives better performance to not encrypt the X data.

The following script will generate an xauth entry, run a 1280x1024 resolution Xephyr session, and connect to the root account on machine server and run the twm window manager. Xephyr will exit when all X applications end. Note that you probably want to use passwordless authentication on the server as typing a password twice to start the session would be a drag.

#!/bin/sh

COOKIE= mcookie
FILE=~/.Xauth-Xephyr
rm -f $FILE
#echo "add 10.1.0.1:1 . $COOKIE" xauth
ssh root@server "echo \"add 10.1.0.1:1 . $COOKIE\" xauth"
echo "add :1 . $COOKIE" xauth -f $FILE
Xephyr :1 -auth $FILE -reset -terminate -screen 1280x1024 $* &
DISPLAY=10.1.0.1:1 ssh root@server twm
wait

Wouter Verhelst: Credit card online security

Martin Krafft blogs about the "security" in credit card numbers, where you can theoretically pay anything with just a number and a name, which can be just read off of any credit card. Since fairly recently, this is no longer true. As I discovered last week (when I wanted to renew my grep.be license), banks now have the ability to require that a user is redirected to their site in order to confirm a payment. In my case, this requires me to sign the payment with my digipass. This obviously requires me to have an account for their online banking system, but I don't think it is unreasonable to require an online banking account if you want to be able to do payments online. This is both good and bad. Good, because it increases security tremendously. Bad, because I'd lost my digipass again, so I couldn't go ahead with the payment :/ (I have gotten a new one from the bank in the mean time, and just renewed the domain).

Next.

Previous.