Skip to main content

the avatar of Flavio Castelli

the avatar of Flavio Castelli

the avatar of Flavio Castelli

a silhouette of a person's head and shoulders, used as a default avatar

UOF–OpenXML Translator

I was surprised the news that Microsoft announced UOF-OpenXML translator project with China. The goal of UOF–OpenXML translator :

"As part of Microsoft’s continued commitment to interoperability, Microsoft decided to work with CHINA Electronics Standardization Institute, Beijing Information Technology Institute, one of the co-creators of the UOF Chinese standard , Beihang University of Beijing and with other partners to create a Translator between UOF and Open XML and provide interoperability between the two formats in both directions. Microsoft is funding and providing technical architectural guidance for the development of the translator that will benefit millions of people who live in China."

In one sense, China is so important for Microsoft's further strategies.
It is time to do something about UOF plug-in for OpenOffice.org, isn't it?

The UOF-OpenXML project is available at http://uof-translator.sourceforge.net
.
The UOF-ODF project is available at http://odf-to-uof.sourceforge.net.


the avatar of Flavio Castelli
a silhouette of a person's head and shoulders, used as a default avatar

Achill?

Finally the wanted entry: I started running again. We had Murph the dog with us. He had to stop every now and then and forced us to stop as well (phew).

the avatar of Flavio Castelli
a silhouette of a person's head and shoulders, used as a default avatar

No Redback

Mouse speaking. Back from Australia. Was familiar to me. They should offer me new travel opportunities. It's getting a bit boring. They didn't even let me fight with the redback. At least I look more and more audacious with all the smears of dirt on my face. Antje in the meanwhile attended this cookery course and now she cooks strange stuff. I suspect she just doesn't do it properly. She told me that they had fits of cough while doing the course. She believes it was due to the amount of chili. I rather think they are just incompetent. And the poor visitor who just wanted to have a quick dinner nearly fainted over his meal. On Saturday I had to drink ouzo again. At least Antje got us some wine gums after the pub visit. It took her a while to win the fight against the sweets machine though.

the avatar of James Willcox

RPM Transaction Enhancements

One of the reasons I wanted to revive rcd was so that I could use it to play with some package management ideas I’ve been kicking around. One of these ideas is a way to reliably rollback changes made during an RPM transaction. That is, actually make RPM transactions transactional.

Recently, a colleague introduced me to device-mapper, a kernel system used for block device redirection. There is a really cool thing that uses it called dm-snapshot, which allows you to redirect all writes to a device into a separate device. What I would like to do is use this to store all of the changes made during an rpm transaction. I think it would just need a bit of patching so that it only stores the changes made by the rcd/rpm process (and children). If anything goes wrong, you can just trash the snapshot data and things are exactly as they were in the beginning. Of course, if it succeeds without problelms, you need to merge the snapshot changes into the original device. This is where things get fuzzy, as dm-snapshot does not have this ability. However, Mark McLoughlin has created a set of patches that add this feature as part of the Stateless Linux project. Sadly, the patches do not appear to be a high priority for the kernel guys right now, so I guess this approach will have to be put on hold.

In any case, a system for performing this rollback stuff would be ridiculously useful in general — not just for package management. It looks like it will be a little more than I can do by myself in a weekend hack, though, so hopefully someone else will carry the torch? :)

a silhouette of a person's head and shoulders, used as a default avatar

My rpmdb is back

Thanks to everyone who told me about the rpmdb backup in /var/adm/backup/rpmdb - I restored it and now everything is working beautifully.