Introduction

This is probably the most active bit of the site, i post random thoughts, events and articles to this blog. It is ridden with personal issues and technical items alike, while being constantly out of date. Read at your own risk. If you are interested in my person (odd enough as that may sound), probably read something about me. If you are only interested in technical articles, see tech. Poetry has a completely separate blog of its own right. Older articles (as well as postings on the previous blogs i had) are to be found in archive. That’s probably it.

Recent Entries

01.09.2008: hacking darcs

Hacking Darcs

I am a Darcs user for something over a year maybe, not really sure anymore. I have tailorized most of my semi-private projects from SVN (or SVK) which I have used previously. I now keep my dotfiles in Darcs, on some machines parts of /etc. I am fairly happy with Darcs philosophy overall, although there are obviously some issues I have. Conflict handling (and markup) is certainly suboptimal, and there are a few annoying issues overall. And performance for big projects is not extremely good, either.

You have probably noticed the recent fuss about Darcs and its future (apparently triggered by the not-so-optimistic — to put it rather mildly — Darcs 2 announcement, and the recent GHC move away from Darcs).

Now I have to say, for the small projects, it’s nearly optimal. I don’t do much of divergent branching myself, and the few conflicts that arise aren’t that much of a problem, either. However, it’s easy to get spoilt by the niceties of Darcs — when it works well, it works very much so. Yes, when it screws up, that’s, as Simon PJ likes to put it — unsettling. I quite understand why GHC wants to move away from it (at least for now).

On the other hand, I don’t have much experience with GIT (yet?). It seems many projects are either converting to GIT or considering to — and interestingly, KDE has been considering GIT over SVN lately, it seems.

The two ways

Now you can make two conclusions based on this: either I should move over to GIT, like the rest of the crowd — that would be the “easy” option, sort of. However, I am apparently not the person to take the easy options. Or, the other option: put my hands (and brains) where my mouth is — talking about flaws won’t make them go away.

Moreover, it would make great sense to get back to getting Darcs interoperate nicely with GIT (there has been an effort to add GIT interoperability to Darcs before, but that sort of died out). Yes, I do realize there’s a fairly high ridge between the GIT and Darcs worlds, but I believe there are interesting ways to cross that ridge safely. So that is one of my primary interests in hacking Darcs — making it as seamless as possible to use Darcs to hack on primarily GIT based projects. That seems to be a good way to bring Darcs “back into game” for those many projects that now use GIT as their primary VCS — or more exactly, to those contributors of these projects that are Darcs-inclined (like myself). I think that good GIT compatibility would put Darcs into a very interesting position.

Now, there are others, possibly more far-fetching plans I have for Darcs, but given my, alas limited, hacking time, I won’t commit to anything like that just yet. It seems to be fun hacking Darcs — for one, it’s Haskell. Yeah, I like Haskell. Also, the theory behind Darcs is intriguing — and how (I think) Ian Lynagh put it, patch theory (or, the basic aspects of it) are sound and “natural” (in the sense prime numbers are a natural concept).

A newcomer’s perspective

Admittedly, Darcs community has a whole lot of issues at hand that it needs to solve — Eric Kow could probably write a novel on those by now. But, hopefully, everything is on the right track and the pressing issues will be resolved real soon now. I agree that the hurry (on my part) is a little artificial — I am impatient to get the bigger stuff rolling. But, that indicates some excitement, which is good, right? So what I need now is settling the dust and clearing up some of the collateral damage that happened in my, a little inept (although well-meant) — as it tends to be, entry into the Darcs hackers’ world.

Conclusion

Overall, I am optimistic. So let’s see how things go rolling and let’s hope that the number you get from

darcs changes --count --match 'author me@mornfall.net' --repo http://darcs.net/

increases quickly. Time limitations notwithstanding. I’m already curious what will things look like in a year from now.

Oh, and I should add the obligatory: Darcs needs you. Come, join us. (And I boldly say “us” — and I will hope the rest of the Darcs people won’t disagree about that. What’d you say, Kowey?)

Post-scriptum

I hope readers will pardon this a little confused and a little incoherent post — but you might be used to that from me. And it’s also running late and I am under influence of water pipe and rather strong tea, which doesn’t exactly help my expressive abilities. Now, let me move back home, sober a little, and — hack Darcs!

posted 01.09.2008 11:21 tags:

06.08.2008: adept 3.0 alpha 6

Adept 3.0 Alpha 6

Hi, it’s that time again: new alpha version of Adept hits the block. For the unaware, Adept is an APT front-end for KDE. You can do all the cool stuff with it that the other kids can’t. Join the fun!

New features since Alpha 5

(the list is a little less staggering than the last time, sorry about that, but it’s only been a week)

Where to get

I have again prepared binary packages, this time even more of them (a Hardy backport is included). Traditionally, in Debian, you can install alpha 6 from experimental:

apt-get install -t experimental adept

The sources.list goes:

deb http://ftp.debian.org/debian experimental main

If you are on Kubuntu Intrepid, the line is:

deb http://ppa.launchpad.net/mornfall/ubuntu intrepid main

and finally, on Kubuntu Hardy, the lines are (BUT: read below!)

deb http://ppa.launchpad.net/kubuntu-members-kde4/ubuntu hardy main
deb http://ppa.launchpad.net/mornfall/ubuntu hardy main

Big fat warning: Due to somewhat unexpected difficulties, Adept requires newer APT than available in Hardy. This means, adding the above sources.list lines will upgrade your apt to a version from Intrepid, that’s also completely untested on anything resembling a Hardy installation. Be wary. Moreover, installing Adept means means KDE 4.1 for Hardy users. (This does not apply to Intrepid users, they are already on the cutting edge and no extra dangers lie this way.)

(For all Kubuntu users, there are more instructions to be found on https://launchpad.net/~mornfall/+archive.)

Heroes of Alpha 6

I hereby nominate the “Heroes of Alpha 6”, for their deeds that helped Adept move forward:

(And a totally flirtless wink towards Blauzahl, who somehow inspired me to actually do some bugzilla sorting…)

And now, it’s easy to join the ranks of these heroes — just test the new alpha version and find bugs. Immortality won’t escape your grasp. Also, please don’t forget to read the next section.

Jobs for Alpha 6

Sorting through Launchpad for bugs that have been fixed in alpha 6 (compared to 2.1) would be really awesome. It is a big list and many of them are likely to need testing. (I can take care of that for the KDE bugzilla, but launchpad is a task just too daunting for me and my time possibilities, so help would be very much appreciated).

Notifier is still not included. The components to test are (if you have sudo, kdesu for the rest):

sudo adept
sudo adept installer
sudo adept updater

Please give a go to all of them, report rough edges, crashes and all that, either through IRC (mornfall at freenode, oftc) or mail me-at-mornfall-dot-net or use KDE Bugzilla.

Known Issues

posted 06.08.2008 1:57 tags:

01.08.2008: adept 3.0 alpha 5

Adept 3.0 alpha 5

Short introduction: Adept is an APT frontend for KDE. You can use it to search for packages, install, uninstall, upgrade, all the usual things. It’s gone through a number of changes since 2.1, which has been the default package manager on Kubuntu for some time now.

What’s new since 2.1

Where to get

Since compilation is still not that trivial (well, it’s 3 packages to compile and install, really, and you have to get them with darcs), I have prepared binary packages for the two main “target distributions”. In Debian, you can install alpha 5 from experimental:

apt-get install -t experimental adept

The sources.list line is:

deb http://ftp.debian.org/debian experimental main

If you are on Kubuntu Intrepid, the line is

deb http://ppa.launchpad.net/mornfall/ubuntu intrepid main

(more instructions on https://launchpad.net/~mornfall/+archive)

What (and how) to test

All of the previous components (save for notifier, which is not included at all yet) have been merged into a single binary, that is adept. I have missed desktop files in this alpha (it might be a little on purpose too, as I’d like people to run the program from terminal to be able to check the debug output and possibly send it along with problem reports).

If you have sudo (Kubuntu-ers do, the rest can use kdesu or similar):

sudo adept
sudo adept installer
sudo adept updater

are the magic commands. Please give a go to all of them, report rough edges, crashes and all that, either through irc (mornfall at freenode, oftc) or mail me-at-mornfall-dot-net or use KDE Bugzilla to report bugs.

Missing features

I have one outstanding issue on “must have for 3.0”, that being filtering packages according to their state. There is also no actual way to browse through the 19k+ packages, but might have to give for 3.0. A “browsing” mode is likely for 3.1, although still could make it for 3.0 if I get my act together on that one. We’ll see how alpha testing goes, maybe I’ll have hands full of bugs to fix and won’t get anywhere on features…

Known Issues

Reward

For the brave, fearless testers, I unfortunately cannot promise anything else than fuzzy feeling for doing a good thing… I won’t be at aKademy nor Debconf this year, so I can’t even promise beers. Maybe next time. ; - )

posted 01.08.2008 7:48 tags:

13.07.2008: fast forward

Fast Forward

Lucy left for England yesterday (OK, now it’s two days ago — last Friday). That means that I have unusual amount of free time at my hands, and yet even more things that could be done with it.

But I suppose it’s time to update this little blog. It’s probably pointless to enumerate what happened, or what changed. Everything is fine and smooth over here — the wrinkles get worked out over time (with Lucy, without Lucy). Hobbies still take time and I still haven’t given up. My latest determination is to get myself a bassoon for next Christmas. (Now, that will be a year since we got Lucy a Marigaux 901, used, in great condition for a great price, lo and behold, on Austrian ebay. World is so weird sometimes…)

And in the land of [LVM], I have finally started the process to merge code to improve LVM’s behaviour in presence of failed storage hardware (physical volumes gone missing). In the land of Adept, well… first things first.

FOSSCamp

I have visited Prague for the latest Ubuntu- (well, Canonical-) organised event, the FOSSCamp. I have met Johnatan (KUbuntu), Seli (KWin), Lidya (Amarok), Robert (Konsole), Jos (Strigi) and Inge (KOffice). See also Johnatan’s Blog (including a real blurry picture).

So back to Adept — I had some hacking time over there in Prague, and I have almost brought Installer and Updater back to life for Adept 3. I unfortunately didn’t have as much time for it since then — but my current free time situation does open up some possibilities. First and foremost, I should really make a text interface to the underlying libraries for myself, maybe with fancy colourful UI, hopefully one that is comfortably close enough to apt-get and still offers advantages. Hmmmm…

Intermezzo 1

Now zoom out and zoom in somewhere else, enough of coding matters. Our research group at the University had a (tool) paper accepted for ATVA 2008, meaning that I am not unlikely to visit Seoul, South Korea in October. Another piece of distant world to visit.

FOSDEM

Now, that reminds me… Since the last time, I have also been in Belgium — to visit FOSDEM — meeting Alasdair (of LVM) and Bart and Pino of Krita and Okular, respectively… although unfortunately, I didn’t spend nearly enough time with Pino… At least we have spend a day walking around Ghent with Bart (and Lucy, who visited Belgium with me, also having friends of her own there). Moreover, I have spent a lot of mostly productive time with Alasdair, discussing LVM2. And Belgium is nice and pretty, although I didn’t really get around to taste any beer. Maybe next time. And Antwerps were nice, too. Photos? Someday.

LinuxTag

And after that, I have visited Berlin again, for LinuxTag as usual — plus the accompanying LVM discussions, with Milan, Kabi and Mikuláš (Blek) of the Czech part of the team, and Heinz, John and of course Alasdair for the rest of the world… Also as usual, we walked around, had dinners, discussed non-work stuff, etc… a good event all in all. At LinuxTag, I have briefly seen Lidya again, as well as Ossi (whom I nearly didn’t recognise…) and Aaron who (for a change) didn’t recognise me (but to be fair, I didn’t quite stop by to chat and he’s been busy…) and Sebas, cordial as ever (and always a pleasure to meet)… reminds me of Paris two years ago, too.

Intermezzo 2

Less than a month ago, I have finished my first semester of master’s study — two or three more to go (I have completed bachelor’s the semester before). Yes, I am a bachelor of computer science, or something like that, anyway, now. Or so I hope. I did not attend the whatever ceremony and I don’t really have the diploma (or maybe I do, but gods know where it is…).

A short note on Debian with best intentions

I am now sponsoring Trent Buck’s ?darcs packages, contributing a little on the go (making me wish that alpha buildd would make a little more progress…). With Enrico, we have uploaded new versions of wibble and libept, both of which I think make both of us fairly happy. (Although we again managed to hit a way strange compiler issue (only manifested on arm… what have I done that the gods punish me so?), as documented in Debian bug 487406…)

I have packaged dzen2 and taken over haskell-mode (I am losing track of my own packages again — I really need to set up reliable watch files so I don’t miss out too many releases… apparently neither has new upstream versions, so I can sleep peacefully for a little longer).

Intermezzo 3

I am not going to DebConf nor Akademy this year. That makes me a little sad, but it’s all my own fault (and laziness). Next time folks, next time. I haven’t seen Kévin in aeons and he probably removed me from his memory by now… No matter, I’ll try a little harder next year, promise (oh, how many have I made to date?).

Finale

Nothing grandiose, just best wishes to everyone, I have to land in bed now it seems, as I am ever so sleepy. (Just So Stories, anyone?) There I go.

posted 13.07.2008 12:54

22.12.2007: on blogging

On Blogging

The last time I have blogged, few people told me that it sounds somewhat patronizing or such (especially that it may sound so to people that do not know me). Well, I have to admit that it is hard to write in a decent tone — the intention and motivation behind the text is oftentimes hard to express. Certainly, better writing skills would probably help — or choosing easier topics. But that is how I am — and afterall, you never learn much when you only do things you already know how to do.

So please, dear reader, take no offense in my blog… If you know me, you can probably see through my writing and understand what I mean. If you do not and still enjoy it, the better. And if you do not, please accept my apology — but in that case, it probably was not meant for you.

Yes, I know the blog is aggregated in a few places, and I will probably have to do something about this — aggregate only subsets of the blog, appropriate for each of the aggregators. But pretty please, bear with me, I am lazy and it always took me ages to fix even trivial problems.

posted 22.12.2007 5:29 tags:

22.12.2007: on sharing happiness

On Sharing Happiness

I just wanted to say, that it is great when someone writes you just because they have good news and want to share them with you. Last night that happened to me again — an old friend of mine, Jemima, IM’d me. So thank you Jemima for that, what I said, I really meant. And let me wish you (and your little one) all good again — it cannot hurt.

(And this all made me think that I have again somewhat lost contact with some of the people that are very dear to me — yes, I mean you Bart, Alex, Kevin and also you, Maks, even if you probably do not think of me that way (or you do?) … whom have I forgotten this time? Maybe Enrico — you are far away as well, these days. I just hope all of you are doing well.)

(Ah, and I also miss one further person, who I have known as Helielf and met her or IRCNet very long time ago — if you read this, thanks to some bizarre coincidence, please mail me, or something… I have lost all contacts to you and I miss you. Wondering if you even remember me — who knows what nick I have used at that time? I have noticed you used the name Haruka for a while, but have no idea if that is still true. But if we never meet again, it has been a beautiful mandala, thank you.)

posted 22.12.2007 5:29 tags:

16.11.2007: on self-reflection

On Self-Reflection

I have a need to write some things down recently, I don’t really know why or so. I have acquired a few new (and great) friends recently, mostly here in Brno. Also, I have more motivation than ever to try hard to live a good life. It has always been a hard way to follow for me, to be all those things that I find great in other people. How they can handle situations smoothly, what they know and what they can do. And it is great to see such people, and yet it is hard to not envy them. But envy not, since it is a great evil. One never knows what the other people have to go through, and it is just plain unfair to envy them. But I am drifting away from the subject at hand. What I have noticed as well, that I have changed in subtle ways, patterns of thinking. Self-reflection is somewhat cautiously sneaking into my mind. Two independent events have reminded me of that today.

Recently, I have been participating in online discussion more than I have used to, especially with people I do not know, and with which I often tend to disagree, and this is putting me in a new kind of situation. And to be honest, I am not really handling it all that well. What has made me think about this was Boudewijn Rempt’s comment on the dot. He handled the task at hand so much better than myself, even if it was his ego that was in the line, that has made me actually stop and think about it. And as I have written in that thread, I admire Boudewijn greatly for that calm reaction, of which I would be almost surely not capable. So here I am, trying to learn from that. My memory is indeed very short, but I also take this writing as a way to train that.

The second event was that a friend of mine (I do not know him long, but I call him a friend nevertheless, although I know not whether I actually deserve that) has told us something to the effect that one should learn. Meaning that one should learn from own mistakes, and no, I no more see the empty phrase behind those words. There is something in that, and it is a very interesting experience. Going through situations you have encountered and realize where you have made mistakes and what you could have done better. Actually admit, that even though the outcome was fairly good, that you have made some silly things. It is indeed a very interesting experience, to admit a failure when you are not pressed to by any external means. Liberating, maybe.

Same goes for things long forgotten. Where you have made mistakes, even though you have been always righteous and positively convinced about always doing the right things. You may be wondering whether I have been on crack all the time, but, well, that is not the case. I cannot tell how this came about, and yes, I have realized those mistakes and again forgotten them and so on and so forth. But hey, I think it may be better this time. If only a little…

posted 16.11.2007 6:11 tags:

14.11.2007: looking back

Looking Back

The past year has very much changed my life. A long time ago (around the beginning of this year) I have written that I have met Lucy. That happened over a year ago. In fact, it is just few weeks since it was a year. Lucy wrote me a beautiful letter at that time, picturing some of the moments in our life. I am very grateful for that letter. I am also much happier ever since I met her. Of course, there were problems (and there are problems)… None the less, life is fairly easy, and I am staggering on the path to becoming a better person. Lucy is a great help in that respect. Many things have straightened out over that year. A few got a little more wrinkled, but often due to smiles and seldom due to frowns.

I have also mostly fixed the long-standing issue of a place to sleep and live in Brno, having recently moved in. I now live near the school (~15 minute walk, maybe less when in a little hurry), more or less in the city centre, with great connectivity to most of the places I need to visit. The previous place is just too remote for me. The new one is also a better building, or so I think, not a concrete-and-iron from-a-single-template building so typical of the socialist era, but solid brick building with high ceilings and thick walls. And it gives a much homelier feeling too.

And what am I doing lately? Well, day job and school (both study and TA and research) take a fair amount of time, the rest I divide among Lucy, friends, learning to play the recorder, reading, writing and the many other things I (try to) do. I have even started to practice embouchure and breathing with an oboe (double) reed (and also with Lucy’s instrument). The idea is that i have the intention to get a bassoon (which is a double-reed as well) and start to learn and practice. And I also hope, that the practice from oboe will give me a head start to that. Maybe even that I could play both. I know that I won’t ever become a very good player, but I want to at least try. And I want to have some fun with it, too (it is great to be able to play an instrument, however impractical the woodwinds are, e.g. compared to guitar, which is probably much more social… one day, I may learn that too, though; wink). I still believe that with enough determination, i could become a semi-decent amateur. Call me foolish if you like, that is how I am.

I have also considered blogging technicalities, and I probably will, if i find the time for that. It may also help me sorting things out. Probably need to consult the various people I work with, what they think about that, though.

posted 14.11.2007 2:15 tags:

22.07.2007: toolbox upgrades

In the past something-over-half-a-year (wow, time flies like crazy), i have shuffled my (virtual) toolbox fairly significantly.

In the desktop department, I no longer use the full KDE desktop, only a few applications from KDE 3 (that is mostly konqueror, plus some of kdeedu). I still use amarok, although by now mostly just to manage my iPod, since it is outright laptop-hostile. Most of the time, it’s better (and much more power-efficient) to use iPod hooked into usb for power, at least as long as the music is there. For the rest, i now use the commandline players to play single albums (just music123 for most formats).

For the window manager, i have opted for xmonad, after briefly using ion3 and a faint attempt at wmii (which didn’t quite work for me). Xmonad, however, works great and its simplicity is quite amazing. Despite its absolute minimalism, it is, after some getting used to, much more usable than the rest of WMs i have used. For terminal, i use urxvt, which is lighter and apparently also faster than konsole (i may reconsider that choice when KDE 4 konsole comes out). With xmonad, i don’t really need tabs anymore, i’m not sure why, but it may be related to more general change in my workflow.

In the version control department, i am now using darcs for all the projects where i decide. I no longer use svk, since i no longer really know how to. Not working with it for a while, i lost the ability to use it efficiently (which possibly hints at the fact it is somewhat too complex). On the other hand, i am much happier with darcs, also since it is much more forgiving about mistakes and generally very deterministic. It requires some insight to be used efficiently i suppose, but this is mostly due to differences with more traditional systems (i believe).

Today, i have finally moved my ikiwiki to darcs, which was the last thing using subversion/svk (well, i have only been able to use it through ssh and local svn for some months now, so i generally didn’t use it at all). This hopefully means that i will be able to add more content to this page and blog as well, since it is less effort now.

I am still using emacs (GNU emacs 22, xemacs didn’t quite work for me when i have tried it — i have a somewhat nontrivial setup, too). I intend to try out vimpulse at some point, in addition to viper, to supersede my emacs-lisp hacks for visual line selection.

I have also started working on replacing my internet-facing services, since they are running in an “emergency” (ie, not really working well) mode, after the xen system broke down completely (it was mostly un-upgradable due to fragility of xen packages and of the whole xen system — and since the setup relied on working xen for even basic internet connectivity, upgrades were extremely painful). I am migrating to a solution based on user-mode-linux, and moving all the services to a less power-hungry and less noisy machine (an oldish pentium 3 box).

When this is complete, i should be able to read my private mail sanely again, since currently the spam filters don’t work and my inbox is mostly trash. This is unrelated to the xen breakdown, my mail used to be handled by a machine at a company i used to do admin work for. However, they removed my accounts (and therefore access to my mail) without a line of prior notice. I still have control over my domain at least (although there will be a problem when it gets to expire, i will have to arrange a transfer with the said company, i suppose). Morale of the story: never do that. (Yeah, and in the spirit of the post, i am still using mutt for reading mail).

posted 22.07.2007 2:57 tags:

22.01.2007: how things are

How Things Are

17.1.2007

I haven’t written a blog in aeons. I have been busy with life, as many of you know. For one, i have a girlfriend (her name is Lucy)… And, no matter what i have thought not so long ago, things are better than ever before. She’s probably all that i have been looking for. We spend most of the weekends together (she lives and studies in western Slovakia, while i’m in the west-neighbouring Czech Republic (Moravia) — somewhat surprizingly, this doesn’t seem to be a problem so far).

Anyway, that’s probably boring for those of you that aren’t me (ha), so to move on to other things. Work and school is busy these days (exam tomorrow (aaagh)), so i don’t have much more free time than that i spend with Lucy. Despite that, i have done some cleaning-up on libept and adept codebases after importing them (with tailor) into darcs. Will blog about that separately i suppose, when i have more time and more stuff to report on.

The exam tomorrow is on graph algorithms, and i should be actually studying instead of writing this, but i never change, do i?

19.1.2007

So the results of the exams will be available following monday. No idea whether i’m going to pass or not though. Anyway, i am sitting in a train to Slovakia, alone in a compartment, the window open wide, wind in hair. Sun is obscured by clouds at times, air is somewhat colder than it used to be. Maybe winter will finally arrive?

Another exam is monday (same day as i get the results from yesterday’s one)… Algorithms for NP hard problems. I’m still somewhat undermotivated to learn, and apart from that i should be hacking dmeventd (work stuff), working on my bachelor’s thesis, learning to play a (soprano) recorder, learning russian and probably a ton of other things. Ah and adept, libept and friends need some attention too. I suppose i am a lost existence, given my total laziness.

The train is speeding towards Breclav, last (and the only one apart from Brno on my route) station in Czech Republic.

As usual, i intended to blog a ton of things, but can’t recall of one them… That’s life, i will hopefully get to blog a bit more again.

posted 22.01.2007 1:16 tags: