Home
WWWWolf's LifelessJournal
Random ramblings of a random wolf
Recent Entries 
30th-Jun-2009 04:29 pm - Don't fight the future, dammit!
Whoa, been a while since I posted anything here. Anyway, here's some rambling...

I've been trying to find an alternative word processor that would implement a rather crucial part of OpenDocument specs: OpenDocument metadata and templates. Or, since I don't know damn about the internals of OpenDocument, a rather crucial thing that the XML is supposed to guarantee: The word processor should not F*** With Stuff It Doesn't Know Damn About.

So far, I've tried opening .odt files in AbiWord and OS X TextEdit.app. Both open the test file I made in OpenOffice.org Writer just fine. Both save the file just fine. They sort of also retain the formatting. They certainly retain the text.

But they f*** up the document metadata. Both also lose the reference to the original template, making the formatting stick.

And AbiWord folks just whine and whine and whine that supporting OpenDocument is too difficult and we should instead use RTF.

Bloody hell. We just invented the next generation word processor interoperability format that's supposed to support more modern word processor features than RTF. Like metadata, styles and templates.

This is one of the problems I have with open source developers right now. Oh, hell, with all developers. The same thing went to, say, Processing - "Well, Java 5 sucks because JVM is such a big bloated piece of shit, so we'll stick with Java 1.4, blah blah blah".

People - don't fight the future.

The Future is OpenDocument. AbiWord is a nice little word processor, but because it doesn't implement OpenDocument properly, it's not usable for me. They can say OpenDocument is too difficult to implement all they want - I will keep looking for software that actually does implement OpenDocument just fine.

The same with Java 5, which might have sucked, but Java 6 is frigging awesome. Luckily, Java 6 remains compatible with dog-old releases. But the point is, unless you have a real reason to stick with Java 1.4, there's no reason not to use Java 6.

Well damn, I just wanted to stretch my fingers again.
I posted this as a reply to one comment on Amarok 2.0.2 release, where people were saying the Amarok team is under no obligation to react to any requests:

Of course such choices are up to the developers. But all too often, "Go code it yourself" means "I'm not discussing this feature request (or whatever) with any other developers, nor any other prospective developers"; it's incredibly arrogant and deluded to expect that everyone who wants the features are willing and able to implement them, but it is not so arrogant and deluded to expect that there's someone out there who can do that thing. Rejecting the ideas right off the bat results in a lot of wasted time because people didn't even know that some people want something done. This could happen: Someone brings up feature requests, nothing happens because the devs reject the idea; three years later, someone else comes up with a feature request, nothing happens either; three years still, someone thinks "why the hell this program doesn't have this feature when it'd obviously make the program much better, I'll go code it myself". Nine years, and hey presto, we've got functionality.

The lesson learned: Don't reject clearly feasible feature requests. It's better to have a 9-year-old open feature request ticket in your Bugzilla, than sixteen saying the exact same thing and all tagged WONTFIX. Gauge the popularity of the requests: if a feature request gets five bazillion Bugzilla votes, it might not be a good idea to put all energy in your new pet ideas.

I'm against "meritocracies" because allegedly clueless people can sometimes have good ideas too, and open source world is often exactly the kind of clueless meritocracy where good ideas are often rejected because they're presented by allegedly clueless people. And worse yet, these allegedly clueless people might be the people to code the new features, but for some reason, they just don't feel motivated for whatever reason. Meritocracies must be tempered by open mind, channels for communication, and lack of contempt for the populace at large.

Sure, I'd love to see (say) a frigging working ReplayGain in Amarok. I can program. But what makes people think I know anything about KDE? Or finer points on how the hell ReplayGain is actually supposed to work, for that matter? Capability ("Yeah, I know a little bit about C++ and can program myself out of the proverbial paper bag") doesn't automatically translate to expertise ("Yeah, I know stuff about Qt and KDE frameworks and can build Amarok from source if I need to") and motivation ("Yeah, I we need the ReplayGain") don't necessarily translate to actual work ("Let's build this").

That said, I'm definitely not against handing out {{sofixit}} advice as such. All I'm saying is that people should always be aware what needs to be done to improve the project. Currently, I have two projects sitting in github.com, and I'm not sure when or if I can improve them much, so pretty much everything will go in the "go code it yourself" category; yet, the project wikis are open and you can fork the projects easily to work on them, so feel free to document your requrements.
James Wagg rants on James Randi Educational Foundation about a website that provides free-of-charge psychic readings.

One thought immediately occurred to me: Wow, in the pre-Web era, the psychics charged an arm and leg for their services. Now, this service is clearly Web 1.0: Crazy idea, some venture capital, free service for the customers, and the folks are not-so-desperately looking for a way to make money.

A further thought, immediately afterwards: Wouldn't it be neat if there was a true Web 2.0 psychic website?

Web 2.0 has been so far a venture capitalist's nightmare: No one knows how the hell Twitter (for example) is going to turn profit, and the only people who keep their head above the water seem to be, uh, Google and Wikipedia. (And Wikipedia only because we seem to have have principles.) Thus, the fact that the psychic site would be a Web 2.0 site would immediately banish all thoughts that this site is there only for money. (The site still needs money, hence "Multi-Million" in the title of this post.)

And thanks to the crowdsourcing aspect of Web 2.0, we can break the hegemony of only having a single psychic on a single site! A Web 2.0 Psychic Service would be a truly open meeting place for people needing a psychic's help and psychics who are willing to provide the help.

Indeed, a Web 2.0 Psychic Service would evaporate a bunch of very serious issues that usually mar the reputations of the psychics. The service could be organised into tasks that anyone can contribute to, thus providing the best possible results for the person needing the help.

Thus it follows that there would be no need to limit the operations to merely ordinary people and psychics; other kinds of people could also provide valuable feedback in the cases in question. Some psychics had been foisting quack medicine as well; why not also let qualified medical personnel have their say? Some psychics are quick to attack their critics; why not let everyone discuss about things openly and freely?

Open mashuplet support would also provide easy access to the underlying Creative Commons-based data. Certain people have had occasional small problems tracking the track records of some psychics, but open data access would provide extremely fruitful bedrock for powerful, web-embeddable statistical analysis, that could also be syndicated in RSS/Atom format.

(Aww heck. I started this half-seriously and now I'm spouting nonsense again. I guess it's time for six hours of Halo or something.)
5th-Feb-2009 08:11 pm - "Real Men don't make backups..."
"Real Men don't make backups.  They upload it via ftp and let the world mirror it." - Linus Torvalds
I used to have quite a few weird bookmarks stored on the Ma.gnolia social bookmarking site. I rather liked the site technically; the site had a nice design and it let you license your public bookmarks under a Creative Commons licence of your choice (just Attribution for me!), and even backup your bookmarks.

The backup feature, obviously, struck me as a nice feature - I felt much safer in LiveJournal since it lets me back up stuff - but really, wouldn't it be nicer to let the site owners take care of the backups? I mean, a local backup is nice, but since I'm not moving the bookmarks anywhere, the need for backups is all a little bit theoretical, right?

...well, suffice to say, a while ago Ma.gnolia folks realised that a) the server was screwed and b) no one had noticed that the backup system doesn't actually work.

But the odd thing is this: As the people are furiously pulling their hair out and trying to restore whatever scraps of bookmarks they have around, no service has sprung up out there that would have made use of Creative Commons-licensed ma.gnolia bookmarks.

Which is a little bit weird. Social bookmark information doesn't sound like a terribly interesting information to share, but it sure as heck beats most of the Creative Commons-based microblogging drivel. (I'm saying this as an enthusiastic supporter of identi.ca. =) It's information that people have found actually useful, and spent time organising.

And even when it was useful information that was specifically licensed under CC, no one seems to have come forth and said "hey, we have backups of that stuff".

This is a weird world. Teh Intarnet nevar forgets, but if you specifically tell them to go ahead and make copies of your stuff, they go "huh?"...
UPDATE: The issue has been resolved, and as suspected below, it was a minor issue. The culprit was a messed-up KDE cache directory, which was buried somewhere somewhere underneath the underground /var/tmp or whatever. AT NO POINT did the program provide any helpful feedback on why the heck this folder was at fault. Still, most of my rant below stands: The KDE4 bugs seem quite aggravating.

First, apologies for an uncharacteristic rant. The following is a product of frustration and nothing more; I could have constructed a calm, rational, orderly piece of critique, but I'm starting to feel that there's absolutely no change in how the process works and the whole thing is starting to look pretty embarrassing. I really wish to apologise in advance. I'm usually not this angry. It's hopefully just caused by a small problem somewhere. I just have no bloody idea what problem and where.

Various KDE developers have lately been dismissing this kind of posts as trolls...  but let me say that I've tried to give a rational, calm feedback before. Now, I'm just aggravated. I can start to understand these "trolls"; what comes to usability, it's little snags that drive people crazy, and if you fail to understand that, you're in a world of hurt. Don't surprise the users negatively.

So apologies for aggravation. I'm trying to give honest critique here.

Anyway:

I love Amarok's features.

I especially love the public image and attitude shown by the developers. (So many cute wolves!)

However, I'm more and more disappointed with the stability of the application itself.

I was extremely happy when Amarok 2.0 brought in Phonon and we finally got back the gstreamer backend, something that had been missing in late 1.4 releases.

And when I ugraded to Amarok 2.0.1.1 and Phonon 4.3.0, guess what I get? Broken Phonon gstreamer backend.

Allow me to go spare for a few moments. CAN'T THESE PEOPLE KEEP ANYTHING STABLE FOR MORE THAN A FEW MOMENTS, GODDAMN IT? ahem.

I'm starting to seriously get fed up with this. I've been using Amarok since 1.3 releases, and there's always been some minor breakage, several mysterious disappearances of the music library metadata, and temporary (or indefinite) disappearances of features.

Is it really that hard to have some sort of commitment to the feature set you have? We bloody well had gstreamer backend once. it was taken away. Now that it's been given us back, it's pretty horrible to take it away again. It's bloody cruel. (No doubt they'll withdraw the gstreamer support again - because no one uses it. Well, people might use it if it were stable in the first place, right?)
This argument isn't really about wanting gstreamer in particular. It's just that changing feature set confuses people. People want to rely on the particular features they have. 2.0's decision to cut some features temporarily was a good example of this: people don't want to adjust their usage patterns too much when they are used to having, for example, the stop-after-current-track thing.

Do we really need to worship the new features and leave stability aside? The notion that "x.0 is supposed to be unstable, just wait x.0.10 for a really stable one" is dreadful. My standard of stability is "if the version number is greater than 1.0 and it's specifically marketed as a stable version, it's supposed to be a goddamn stable version in that case". I can't remember the last time I've seen The GIMP crash, for example - the development branch has the crashy version if you expressly want it.

*sigh* I'm really unhappy about not having a bloody gstreamer backend, but I guess I'll just have to go back to the goddamn xine backend then. I just wish there was a GNOME music player project that put cute wolves everywhere. I really appreciate that in Amarok. I can forgive anything in Amarok if there's wolves out there, but that alone can't keep the rage down.
Back when I was a kid, I read about a poem by William Gibson, called "Agrippa", stored on a self-destroying floppy. You could read the thing once, and after that, the poem was gone. It wanted an original disc, a copy wouldn't do. Unbeatable and inevitable thing.

I have only vague memories of what I was thinking at the time. I've always been worried about data loss, actually; this age where we're living in now is making me very damn nervous, what with its shifting file formats, easily-corrupting storage media and greedy, selfish DRM schemes that put money before longevity. I'm not sure, but perhaps learning about this poem made me hate disappearance of digital information.

Yet, I was somehow not that worried about this particular poem. It was meant as a hacker challenge, and by golly, crax0r they did. When I poked my nose in some BBSes later on, I found a copy of the poem. When I got to the Internet, there it was, probably on some Gopher site or something. I can't remember.

Now, it's also on Gibson's own site.

The poem is, of course, about fading memories. And mine are definitely fading too, even if it wasn't really that long ago. And I never really read the whole thing - I knew the pirated versions would always be there. Okay, as far as art projects go, I guess this is pretty pompous and it doesn't have a really big message - but it's the kind of an art project I can identify with. It has taught me a lesson.

More importantly, it has left a legend to dwell in my head.

A legend of a weird self-eating diskette...

Later still, I found The Agrippa Files, which contains a surprising amount of documentation of what actually happened. In the light of the evidence, it seems to have been a high-brow concept that didn't really fly that well (Gibson wasn't impressed by the results and the publisher went bankrupt)... but still a quite curious thing, all things considered. The legend lived on, the realism started to set in. The site had weird scraps of Lisp code and all: what if someone had the actual floppy and dissected the actual program and see what it really did???

Well, now they have an actual floppy image up... as well as emulated run in video format and some covert video from a reading in 1992.

Well, culture's served an all that. It's all fitting and proper to have it out there after so many years of suspense.

Though my heart sank a little bit when I read how the computer forensic guys recovered the disk image.
...we inserted the diskette into an internal floppy drive on a desktop machine in the University of Maryland’s Digital Forensics Lab running a modified version of Debian Linux. Using the standard data definition “dd” application, we created a bit-level copy or image of the disk.
H-hold on. dd if=/dev/fd0 of=agrippa.dmg ??? That's all you've got to do to copy that stuff?

I mean, I'm just an everyday computer geek (incidentally also a Debian user), but even I have this level of technical know-how. dd(1) isn't rocket science.

Okay, the article goes on to say that re-written image didn't work on actual hardware, so maybe the copy protection did work to at least some extent, but the same image worked almost perfectly in an emulator. That's pretty weird. That's pretty perplexing.

This sort of stuff tends to shake my faith in the l33tness of the original implementors.

I could use some more of the shaking.

If anyone knows anything about Weird 1992 MacOS Software, please do completely demolish that program. I'm sure that now that the actual program is out there, it could - and should - be dissected to hell and back.
6th-Dec-2008 01:12 pm - Unix shell woes
Okay, I'm getting really scatterbrained.

Here I am, deeply concerned that the Rails developers will declare something obsolete and dead and buried while I'm not updating my stuff, and decide to finally fix my Rails app to use Rails 2.0 .html.erb file extensions rather than Rails 1.0 .rhtml.

Before I do the move properly, I decide to go experiment a little bit...

find app -name '*.rhtml' -exec echo `echo -ne '{}' | perl -pe 's/\.rhtml$/.html.erb/gi;'` \;

And guess what I get back? A list of files with .rhtml extension. NOT .html.erb.

In my n years of perl-fu, I have never seen something this simple blow up. I can't believe my frigging eyes. I replace '{}' with '{}.rhtml' and what do you know, I get a giant bunch of files with .rhtml.html.erb extension. Twiddling with the regex doesn't do a damn thing: .rhtml, Repeat the previous command with  > imgonnaopenthisshitwithgoddamnhexeditor.txt tacked in the end, and after doing as suggested, nothing is any more clearer.

How can I possibly fail at this???

...and after good 20 minutes I notice, oh, it's that goddamn it's-interpreting-that-{}-as-literal-except-when-it-isn't thing. Basically, echo -ne '{}' here somehow echoes, um, {} instead of the file name. Doesn't really matter if it's quoted or not, it somehow does it anyway. Perl somehow reads that in and the whole shell expression still manages to spit out the original file name somehow.

It's probably some part of a shell / find(1) weirdness that I haven't yet understood. Over 10 years and I still don't understand the subtleties of find -exec. *sigh*

So here's what actually works:

for i in `find app -name '*.rhtml'`; do git mv "$i" `echo -ne "$i" | perl -pe 's/\.rhtml$/.html.erb/gi;'`; done

Not as clever, but got the job done...
27th-Nov-2008 06:44 pm - Conservapedia or Wookieepedia?
I'm a latecomer to the party, but I have to say that RationalWiki rules. And before I got here, I paid zero attention to Conservapedia (my previous Conservapedia rant was based on material discovered through RW, by the way). Now that I'm following What Is Going On At Convervapedia, I'm seeing stuff that I find just... weird.

For comparison - how did I become a Wikipedia admin? Oh, random editing here, random tweaking there, speaking some sense here, comprehending Stuff, and another user proposed me for adminship. After the discussion was over, I was just magically sitting there with a trolley full of advanced janitorial tools and no clue where to go. The sky was the limit. I went and proved my worthiness by destroying useless garbage... all by my own... with only me responsible for what I did. So far, I've mostly done pretty harmless stuff - only a few user blocks based on more than ample evidence that someone's in dire need of cooling down.

So how does the stuff work at Conservapedia?

RationalWiki's description of this stuff as a conversation between a Sith Lord and an apprentice is pretty spot on.
"Permanent or 5-year blocks for vandals; short blocks measured in days for people who are counterproductive, as in the non-stop talkers." (Aschlafly)
Yes, that's right: counterproductivity is a bannable offense in Conservapedia. I get annoyed really fast if someone's calling me counterproductive without paying me to work, but that's just me.

Oh, my misunderstanding - actually counterproductivity is "non-stop talking". If there's anything I've learned in my career as a Wikipedia admin, it's that there's no such thing as too much communication. Lack of communication leads only to misunderstandings and ill will: If you can't tell what the heck the other people were trying to accomplish, it's probably up to anyone's interpretation. If I do something that requires an extended explanation, I'll give one, rather than remain a Faceless Bully Admin.

But this tour-de-force was what really silenced me:
"KonstantinL is a good candidate for a block. His user name is dubious and first edit smacks of an attempt at 'liberal humor.' Many of these cases are pathetic. If you don't block him, I will. A permanent block would be appropriate, though you could choose a shorter time if you think there might be something of value in this user." (Aschlafly)
"Well done, Rod. Your promotion is thoroughly deserved." (Bugler)
14:03, 25 November 2008 RodWeathers blocked KonstantinL with an expiry time of 5 years (account creation disabled) ‎ (Liberal vandalism)
...
"Great blocks!" (Aschlafly)
Why do I get the picture of "a local Hells Angels chief tells the hang-around to eat a dog alive"? This is so delightfully villainous in literary sense!

You know, speaking of Star Wars, I liked Anakin Skywalker's fall from grace. Being a good guy sometimes sucks, because villains are sometimes so awesome it hurts! How oh how did I end up with the good guys, and not the "blood and souls for Aschlafly" crowd?
This is a little bit funny: Conservapedia says "We love you, Finland!" Apparently, according to Alexa, we are the second most important source of Conservapedia readers. Way to go!

Which is hardly perplexing - I believe I speak for the entire nation when I say Finns love hilarious web sites. I believe this is a good example of the fact that hit counters don't tell you the whole picture: they tell you "how much?", but not "why?"...

This is a very secular country, with values that are quite different from American conservative values.

For example, I find it particularly funny that Conservapedia's Finland article begins:
Republic of Finland [...] is a country of northern Europe known for its largely social democratic economic system. The Finnish conservative party, the National Coalition led by Jyrki Katainen, is its principal conservative organization.
You put the important things right at the beginning of the article, right?

What can I say as a Finnish citizen? Well, the focus here is pretty much on weird things. (Puts the hat down, sits down and waxes poetic) What makes our country great? Our serenity and our safety! (Gaze firmly in the horizon, arm uplifted poetically) The deep woods, the little lakes, its nature in magnificence, and our dedication to keep it that way; our people, quite honest and rational in nature, sturdy and hard-working, oft undefeated in fields of sports; and not often rivalled in intelligence and resourcefulness, crafty in ways of culture and technology; our beautiful language, our distinct character, our delightful quirks; our love of the country and unquestioned will to defend it - yet also our ever-growing open approval of other nations and our adaptation to the ways of the world without worries over losing our own nature...
(Back to planet Earth)
[I, of course, mean every word - the funny part is supposed to be the poetic tone. 'cause no one speaks like this. =) ]

...and there's nothing to that in the opening. I mean, Wikipedia covers stuff pretty boringly, but at least the WP article lead list stuff that matters.

In turn, Conservapedia's lead section just highlights the boring part. Yeah, Finland is a mixed economy. (And, incidentally, it has nothing as such to do with Social Democracy, other than the fact that AFAIK Social Democrats support mixed economies.) Yeah, we have a big "conservative" party - a centre-right one, who don't seem to have US-style unilateralism in their dictionary, what with getting us to join the EU (not a bad thing, in my opinion) and now saying we should've joined NATO too, like, yesterday (well, I'm not sure about this one). Big and mighty hype, and a curious party to highlight too, considering Conservapedia doesn't even mention Christian Democrats...

That's just about the only big funny thing about that article. Everyone else would focus on facts that actually define the country in some quantifiable manner - but Conservapedia goes on and harps about facts that interest absolutely no one, unless you're an enthusiastic capitalist and conservative.

I don't have much time today to rip through the rest of the article - a part of it seems to resemble truth - but there's small curious things. For example, section on political parties says "Political activity by communists was legalized in 1944, and although four major parties have dominated the postwar political arena, none now has a majority position" - I don't know how to interpret this, and the history of Communism in Finland is so convoluted that no one can make heads or tails of it, but I'm not sure if anyone would have ever called any of their influence "domination of postwar political arena" around here. Communists have been pretty much a minor force in politics for several decades now.

Vagueness is the key to victory: "The origins of the Finnish people are still a matter of conjecture, although many scholars argue that their original home was in what is now west-central Siberia." Some argue that Siberia is, shall we say, a big place. (I'd have personally thrown a dart around the bend of the Volga and say "well, Fenno-Ugric-speaking people possibly, maybe, originated here-ish". But what do I know?)

Also, the article mentions Mika Waltari, Väinö Linna and J.L. Runeberg as "the great masters of Finnish literature". None of these are actually covered in Conservapedia yet, for reasons unknown. I'm, of course, attributing this to the priorisation - after all, Gay Bowel Syndrome is an immediate threat and such has to be covered immediately, works of literature are of secondary importance - but still, one has to wonder if they will remain uncovered. Runeberg came before the other two... obviously, a great master of literature for that huge amount of greatly patriotic verse that he produced. Then we get Mika Waltari, who wrote a depressing but enlightening tale regarding the (godless) Egyptians and how the human nature has remained constant through centuries. Then we have Väinö Linna, who wrote Tuntematon sotilas, originally controversial but in recent times considered a time-tested patriotic work, often lauded as the single greatest rebuttal of jingoistic bullshit and depiction of the horrors of war ever written - clearly prime material for Conservapedia.
"...and finally, in general and in particular: Give thy guidance to the lords of Finland, so that they shall not, for the second time, go forth and ram their heads on the pines of Karelia. Amen." -Tuntematon sotilas, ch. 12, IV (my translation)
Let's look at Hats (party), where we see curious things happening in recent history, showing that the more articles we have, the longer it probably takes to fix vandalism...
  • 21:03, 27 October 2008 Wwwwolf m (5,077 bytes) (Reverted edits by 71.37.109.57 (talk) to last version by DragonBot)
  • 06:10, 20 October 2008 71.37.109.57 (5,062 bytes)
  • 06:09, 20 October 2008 71.37.109.57 (5,078 bytes) (→Policy)
(shit, son, the rollback button actually did what it says in the tin!) ...and also, when we look at the article itself, we see some other curious long-reaching historical things:
The Hats were a political faction during the Age of Liberty (1719-1772) in Sweden. [...]
Policy: [The neutrality of this article is disputed.]
Well, the actual text of the article is clearly too long to read for my tired mind right now, but I'll just remind you that I usually see this sort of terrifying disclaimers in... uh... articles about currently existing political parties.

Too bad BJAODN is dead. Don't do the Hat party! Politics is confusing and boring. Let's do party hats instead!
This page was loaded Jul 13th 2009, 2:58 am GMT.