Between Linux and Anime

Kind of like Schrodinger's Cat

Page 12 of 20

Katanagatari 7

It’s always a supreme effort to blog Katanagatari somehow, but I knew I simply had to blog this episode, all the way back when I watched it.

The nice thing about Katanagatari is this – even blogging this episode now I’m only one episode late :) Still, it somewhat saddens me that we’ve (probably) passed the halfway mark now. I remember shows that climax at this precise mark and fail to rescale the zenith for the rest of the show. However even if Katanagatari finds itself destined to enter this category, we can nonetheless take comfort in one thing: what a climax it was!

Read More

889
Rate this post
Thanks!
An error occurred!

GSoC wrapup for Plasma Mobile System Tray

I know the pencils down was a week (plus?) ago, but I did a fresh upgrade of my system (to OpenSUSE 11.3, then to KDE SC 4.5.0) and then realized to my horror that there was obviously no way I could make a screencast or even take screenshots for this post until I’ve rebuilt trunk and plasma-mobile. So I frantically spent the past week doing exactly that, and now without further ado, the screencast:


OGG here

My trunk kdebase is still a little screwy at the moment, in case you noticed the extreme ugliness of that context menu there. Also, somehow the sizing and position of the icons have gone a little off between the end of GSoC and now (Damn).

Anyway as you can see, nothing much has changed in the high-level ideas of the system tray I described in my previous post. Most of the work I put in since the mid-term had been in the way of improving the implementation strategy – cutting most of the harder ties between the system tray and the mobile shell, and getting the system tray to update its behavior based on loose events like resizing instead of specific events like Qt signals. All this of course to fit into the Plasma philosophy of creating loosely coupled independent parts – so that for instance we could put in a replacement tray without needing to change the shell code – since the shell only knows it is given a containment that it needs to resize – and we could also easily put my systray elsewhere as long as it knows to resize the tray the right way.

There is also of course noticeable change in the look and feel. The tray containment paints its own background now, and the icons now resize along with the containment instead of disappearing and reappearing at the ends of the animation – so that we don’t need extra signals to indicate when those ends occur. I’ve also thrown a couple of “fake” plasmoids in – a fake battery indicator and a fake service signal indicator – since both of these things apparently require hardware-specific treatment. Unlike the desktop system tray, the mobile version only supports the plasmoid and dbus system tray protocols – xembed isn’t supported. Iirc those aren’t resizable anyway :)

It’s been fun. I have always loved Plasma for the sheer sensibility and elegance of its software architecture, and its really nice to be given a chance to gain a deeper understanding of it and experience it for myself. It was also great to be forced to crunch through a bunch of documentation for all kinds of QGraphicsObject derivatives – and have a brief tantalizing tango with QML while I was at it. It was a great GSoC, and I’d like to thank my mentor Alexis and the ever helpful (some say omnipotent) Marco for making this possible for me.

Oh, and I plan to be hanging around of course. I forsee my school final year project crashing down on me tsunami-style very soon, but I still hope to get a couple of things done before 4.6 gets out. Will blog about those when the time comes ;)

892
Rate this post
Thanks!
An error occurred!

I’m alive

Well, not quite. Actually not by a long shot, but I have finished a substantial amount of it, so that I should be able to finally start gearing back into blogging mode, reply to comments and push out some posts hopefully over the next few days.

Man has it been rough, but everything has turned out more or less fine. More on those in a future post. I hope ;)

886
Rate this post
Thanks!
An error occurred!

Anisong of the Season: Listen!

Late as usual! But then it was pretty damn hard to finally decide on the Anisong of the Season this time round, actually.

I nearly gave it to “Brave Song”, the Angel Beats ED. I really like Listen!’s tune and I adore the awesome animation sequence that accompanies it, but Brave Song was itself a pretty great song and it had this really amazing resonance with Angel Beats and its themes that gave it an evocative, emotive power, something Listen! doesn’t quite enjoy as much with K-ON!! IMO. Ultimately though, it was the lyrics and lyrical arrangement that clinched it when I looked them up for this post.

Brave Song has great lyrics, but I really like the musical, rock spirit of Listen!’s. If you have not been paying attention to what Mio was singing in those ED’s I invite you to give my translation below a taste-over and see if you agree with me. The rhythmic way some words are slurred and hop-scotched over and the unstoppered gush during the chorus was great, and Yoko Hikasa just blitzing through the whole thing was fantastic. KyoAni’s composers sure know how to make Mio sound awesome.

… try and ignore the Engrish bits though, as usual ;)

Speaking of Angel Beats, that was quite the disappointment :( In a bizarre coincidence I had been doing a rewatch of Munto with a friend and at the end of Angel Beats I found that I had mostly similar complaints for both shows – not enough build-up and flesh-out, rushed pacing, bad endings. Just… wasted potential. Maybe I should do a rant-post on Angel Beats sometime.

Back on topic, I present you my chosen Anisong of the Season – Listen! ED to K-ON!!. The full version too for extra awesome. Hit the jump as usual for romaji lyrics and translations, and hit F8 to hear the track while it’s up.

(btw, did you see that new K-ON!! ED? I’m not sure I like the idea of giving away two Anisong of the Season awards to K-ON!!, but if an outstanding rival doesn’t appear soon…)

Read More

880
Rate this post
Thanks!
An error occurred!

GSoC Mobile Systemtray Update

Had been holding off posting on this until I have something reasonably pretty to show for it, but damn, said pretty thing sure took its time. Anyway, GSoC mid-term evaluations just ended, and I finally managed to hack up something that looks somewhat presentable. Here’s a short screencast of it.


EDIT: Oops forgot the ogg here

Some key ideas of the current implementation:

  • The tray lives in it’s own containment separate from the main activities/launchers.
  • There is a passive “shrunken” form and an active “enlarged” form.
  • The passive form is not interactive and click/tapping it simply switches it to the active form (with a simple QML animation thrown in). It shows a number of defined “always-show” applets and a limited number of the other applets, prioritized by recent activity.
  • The active form shows all available applets in large, finger-friendly sizes, and is scrollable in case it doesn’t fit the screen (hello Plasma::ScrollWidget!). It behaves more or less like one would expect a systray to behave.

Not a lot to show for one month plus worth of development I admit :( This is actually my third implementation attempt. In the first attempt there were two “trays” – one small and one large, and taking hints from the comic plasmoid, I put the large one on a full-screen transparent QGraphicsView which covers the small one when activated – but this isn’t nice since it, in notmart’s words, relies on compositing being available to not look like crap. So the second implementation gets rid of the QGraphicsView and instead positions the large tray relative to the parent containment, but then there was another problem: we can only have one set of plasmoid applets running to save memory, and there was no way to display one set of applets in two trays. So I gutted the thing again and did this third attempt where there is only one tray which shrinks and expands accordingly… and that’s what you see in the screencast :)

This is far from finished of course – if nothing else that “cancel” button probably doesn’t quite belong there :P Iirc I should also be thinking about doing notifications for my GSoC, so there’s plenty more to do for the rest of the GSoC period. Fun stuff. Alright, think it’s time I wrapped this post up and go clean up my code and commit it – and pray I don’t get torn to bits by darktears and notmart for some terrible mistake or design flaw I made :)

871
Rate this post
Thanks!
An error occurred!

Playing (Simplified) Chinese SRT Subtitles in Mplayer

Was a little disappointed that chinese subtitles don’t work out-the-box on mplayer. Well, ass ones seem to work fine, but srt ones don’t work at all and I had to Google it. Anyway, assuming you already have fonts that can display chinese characters, you can get mplayer to play chinese subs by giving it the parameter -subcp cp936.

mplayer -subcp cp936 your.moviefile

Edit: -subcp enca:zh:BIG5 also works, and seems to work better in some cases:

mplayer -subcp enca:zh:BIG5 your.moviefile

(thanks to Kees in the comments)

You can also use the -font option to manually specify a font that mplayer should use. Source.

868
Rate this post
Thanks!
An error occurred!

First impressions: Mitsudo, Ookami, Campenella

Three in one, or none at all. I picked the former. What, you got a problem with that??

*ahem* anyway, impressions after the jump.

Read More

861
Rate this post
Thanks!
An error occurred!

Setting the “Primary” Screen where your Panels go on Linux Multi-Monitor Setups

If you have a multi-monitor set-up and are wondering if it’s possible to control which screen is “primary” – where all your panels will end up in – yes, it is. That is, assuming your desktop environment asks X to decide which screen is “primary”. KDE Plasma does, and Gnome probably does too. As long as X is involved in the decision, it’s possible to use Xrandr to tell X which screen you want to be “primary”, by using the “–primary” option. For example, if I want my laptop LVDS screen to be my primary screen and get all my desktop panels, I’d run:

xrandr --output LVDS --primary

That was easy :) On a related note, some changes are forthcoming in KDE SC 4.5 in the way multi-monitor setups work. Take a look here for some details.

858
Rate this post
Thanks!
An error occurred!

Xserver refusing to start during boot on OpenSUSE?

If you’re on OpenSUSE and your X server refuses to start on boot, and stays blank on manual startx, spitting out errors that look like this:

symbol lookup error: /usr/lib64/libXi.so.6: undefined symbol: XESetWireToEventCookie

You’ve probably been a bad boy/girl and have been playing with non-standard Xorg drivers and repositories haven’t you :P Here’s what you can try on the terminal (since that’s all you’d have if X refuses to start): Symlink libXi.so.6 to libXi.so.6.0.0 instead of libXi.so.6.1.0 in /usr/lib, or /usr/lib64 on 64 bit systems.

# cd /usr/lib
# rm libXi.so.6
# ln -s libXi.so.6.0.0 libXi.so.6

That should hopefully let you startx, where you should probably proceed to remove the libXi package from Yast – as well as every other non-standard package you installed :) Source here.

Btw, yes this happened to me, and I was frantic. I’m reasonably comfortable on the console but as long as my DE wouldn’t start neither would my networkmanager, which means I had no internet – and which means my package manager commands were useless! Playing with Xorg drivers bit me hard that time. Srs bsns, it is. As someone wisely said in the source thread, “For the next time: adding experimental repos brings you in a world where you’re on your own, and where things like you’ve met now, easily happen.

851
Rate this post
Thanks!
An error occurred!

Cosfest 2010 – with semi-crappy pictures.

Cosfest two years ago was the second con I ever went to, of which I have decidedly fond memories. So having missed last year’s, I decided I’d make a quick trip down this year on the second of the two days, (dragging zw along this time), to gawk me some cosplayers ;)

Photos are only semi-crappy this year because my phone-camera has been power-upped, though it’s still decidedly hopeless under the bad indoor lighting conditions. If that doesn’t deter you, jump on.

Read More

834
Rate this post
Thanks!
An error occurred!

Page 12 of 20

Powered by WordPress & Theme by Anders Norén