Between Linux and Anime

Kind of like Schrodinger's Cat

Tag: Tech (Page 7 of 8)

Defeated by SoC Technical Services..

So near the beginning of this semester I launched a personal project aimed at getting the NUS School of Computing technical help desk to make available printed Linux guides to the various essential computing services in the school. These services have a good amount of sophisticated machinery encapsulating them so it is really not trivial to figure out how to go about them on your own. In NUS SoC, there are neatly printed individual guides for Windows XP, Windows Vista, and Windows 7 each (as well as an obligatory one for Mac OSX). There is exactly zero official documentation for any Linux for any service. This was what I was determined to change.

I started out with authoring a draft guide and, with the help of several other volunteers, tested it with reasonable rigor on several distributions, refined it, then contributed the end result to technical services with an earnest note for their consideration. Perhaps non-surprisingly they rejected the request on the grounds that Linux is a very varied and fast-evolving platform that they are not equipped to support officially. I then offered to state explicitly in the guide that the guide is student-contributed, that Linux is not officially supported by tech services, and include external links to further Linux help that the help desk can direct inquiring students to, hoping to push for the guides to be simply made available as-is. For the past month or so I pursued the matter, battling various mysterious phenomena like emails that were successfully sent but were overlooked by both the ticketing system and the people managing the mailbox, and indeed – even emails that simply vanished altogether.

It is with great regret that I today pronounce The End. I had just been speaking with a nice but helpless help desk personnel during which she informed me that tech services is adamant about not making printed copies available, claiming that the act of printing the guides will implicitly imply that tech services is supporting them.

Not at all a reason I am happy with, but it is at least a concrete one. This is a bottom line that I see no way of discrediting or working around without being hostile, so this is as far as I will go.

Technical services has offered instead to make links to my guides accessible from their official document repository, towards which they will then direct any students who ask about Linux. So the whole effort was at least not entirely fruitless. I plan now to simply put/merge my guide up to the unofficial NUS Opensource wiki and then give them links to that.

I’ll post again with the links when the guides are done, if for no other reason than to hopefully boost their Google visibility.

603
Rate this post
Thanks!
An error occurred!

Working with Java Web Start (.jnlp) in Firefox/OpenSUSE, and Linux in general

So after a good long time not being able to play this Facebook game we’re building for P2P-related research, which runs on Java Web Start, I finally got pissed today and sat down and finally got to the bottom of it.

Because Java isn’t free technology and all that, OpenSUSE actually comes preinstalled with OpenJDK instead of the common version of Java distributed by Sun. With this default configuration, Web Start (JNLP) files on the internet will open by default in an open implementation of Java Web Start called ‘IcedTea Web Start’, which I hear works reasonably well – but outright doesn’t work for some cases, like mine.

For people who, like me, need to run Sun’s version of Web Start from Firefox – first, you need to grab and install Sun’s version of the Java runtime using your software package manager (in OpenSUSE the package is called java-1_6_0-sun). Verify that you have a program called ‘javaws’ after this step. You can simply type ‘javaws’ into an open terminal and make sure it is recognized as Java(TM) Web Start.

Okay, next all we need to do is get Firefox to use javaws when opening JNLP files. For other distros you’d go to Edit > Preferences > Applications in Firefox, look for JNLP, and change the setting so it uses javaws. On OpenSUSE, Firefox is integrated so it takes its file-association settings directly from KDE. So you’ll have to instead go to KDE’s systemsettings (Configure Desktop) > Advanced Tab > File Associations. Here, run a search for JNLP, then add ‘/usr/bin/javaws’ to the top of the Application Preference Order.

We’re done! Next time you open a JNLP Web Start file in Firefox, it should offer to use Sun’s Java Web Start to open it :)

594
Rate this post
Thanks!
An error occurred!

Plasmate 0.1 alpha2 Screencast!

So alpha2 of Plasmate got rolled out a day or so ago, and here I am again to give you an obligatory what’s-new screencast! This is my first ever voiced screencast too. Hope I’m legible :) Here goes…


OGG here

And that summarizes the larger part of the changes we committed since last month. Big thanks here to Sandro who hacked up the much anticipated GHNS integration at Tokamak! It only works for plasmoids now and has a fair number of kinks, but its good and sweet enough for a try out.

The plasmoid use case is pretty stable now, especially after a fix that came with 4.4.1 permitting python plasmoids to have a main script name other than ‘main.py’. Folks joining the Javascript Jam might want to give it a whirl, it may make your life easier! As for non-plasmoids, they edit, install and export perfectly now, and we’ll be diving in towards implementing previewers for them very soon. Great things lie ahead!

As Aseigo noted, you can get the alpha2 source tarball here. OpenSUSE users can grab it packaged from KDE:KDE4:Playground thanks to Will Stephenson.

Happy hacking!

574
Rate this post
Thanks!
An error occurred!

Plasmate 0.1 alpha1 Screencast!

Today being the day it is I should start with wishing all my fellow chinks out there a very happy and prosperous Chinese New Year. And then to the rest of the world, Happy Valentines Day! While I’m at it let me also congratulate KDE on a stellar 4.4 software compilation release, thank the openSUSE folks for a pretty darn good upgrade-experience, and of course, last but certainly not least, congratulate Plasmate, the lovable Plasma add-on creation tool, on our recent first ever alpha release!

You cannot imagine how excited I am about this :)

Unfortunately I don’t have much to add to the other posts who have already previously announced the news, so I decided to do a brief showcase screencast instead. It’s a simple one where I demonstrate creating a simple Python plasmoid from scratch in Plasmate, which would hopefully hint at the workflow we are aiming to create as well as demonstrate the salient features that made it into the alpha1 release. Here it is:


Ogg here.

I had to make do with slow-internet while doing this one so kindly excuse the slow loading on the documentation widget :) There is also unfortunately no sound.

As noted in the other posts, brave souls wishing to give this alpha release a spin could acquire the source tarball here, or check it out of svn://anonsvn.kde.org/home/kde/tags/plasmate/0.1-alpha1. As with all alpha software this release is incomplete and may contain bugs so be warned. We’ll of course appreciate bug reports, which should be submitted under plasmate to b.k.o.

Have a lot of fun!

511
Rate this post
Thanks!
An error occurred!

Solving recordmydesktop’s slow-framerate problem

Damn, I’ve got so many things I should have written and posted but Chinese New Year stuff keeps getting in the way and unexpected problems keep cropping up. I just solved the latest one (unexpected problem), and I think this solution needs to be posted, so bear with me :)

If recordmydesktop gives you ridiculously slow frame-rate in it’s output video, you may be a victim of the “libtheora above v1.1.0” problem. Try the following for a quick-fix:

Add --v_bitrate 2000000 to the options you pass to recordmydesktop. If you use a frontend (like gtk-recordmydesktop or qt-recordmydesktop), look in your configuration for an “Extra Options” section and paste --v_bitrate 2000000 into it.

Worked like a charm for me. Source.

508
Rate this post
Thanks!
An error occurred!

Slow/Choppy Kwin Effects in KDE SC 4.4.0?

Especially the ‘slide’ desktop switching effect? It may be because of oxygen’s new animations. These animations (like active-window glows that fade smoothly in and out of existence and window buttons that push in and out smoothly) are really awesome, but can be rather costly in terms of performance. So if you are feeling lag in kwin’s effects, try disabling them:

The problem solution would be to go to systemsettings, go to appearance and click configure on oxygen style, then uncheck “enable animations”, click ok, and then apply. The second thing which would give even better performance boost is to disable animated windec active/inactive transistions. Just unhide folders in dolphin ( alt+. ), go to .kde4 > share > config and open oxygenrc file. Find the “[Windeco]” line, and below it type: UseAnimations=false . Save file and then restart kwin by opening krunner (alt+f2) and typing “kwin -replace”. After that your effects will be smoother

Source.

Since the animations are really subtle, you don’t lose much in terms of user experience/aesthetic if you lose them. They are really quite pretty though (Nuno and co spent a lot of effort on them :) ) so keep and enjoy them if you can!

What does bug me is the fact that you can’t disable the window decoration animations via the configuration gui. I’ve filed a bug on it here.

504
Rate this post
Thanks!
An error occurred!

Ubunchu 04 ~ the completely off-tangent review!

(EDIT: For the uninitiated, Ubunchu is a free-licensed manga series thematically centered around Ubuntu Linux, and this is a review of the fourth chapter of said series cum my musings on the viability of free licenses when applied to artwork. I apologize if I have previously confused anyone by leaving out this introduction :( )

(EDIT: I can’t believe I forgot the link to the manga again!! You can find every translated chapter of the free-licensed Ubuntu-oriented manga here)

With every chapter so far thematically alluding to one Ubuntu / free software related idea or another, Ubunchu is starting to feel somewhat like a documentary. Reminds me of one of those “Manga guide to Databases” things. And that’s not a bad thing by the way :P

Read More

478
Rate this post
Thanks!
An error occurred!

Playing .asx streaming radio/media on Linux

So I sampled a teaser snippet of To Aru “Radio” no Railgun over at Keiri’s place. (for the uninitiated, that’s To Aru Kagaku no Railgun‘s web radio show co-hosted by the Seiyuu’s of Saten and Uiharu) Being completely suckered by it, I trotted down to Hibiki Radio hoping to give the real thing a spin… only to find that I couldn’t play it on Linux.

So what else is new :(

Anyway before I continue my story I should probably state up front here that I didn’t manage to find a “complete”, “elegant” solution, so if you’re a perfectionist you should probably be looking elsewhere. If you’re just desperate to play that damn .asx radio stream though (as I was), read on.

Read More

390
Rate this post
Thanks!
An error occurred!

The Web, the Desktop, and the Google between

I haven’t written a proper tech article since before I (re-)started this blog, so I thought it was high time. Besides, I’ve been wanting to write this post ever since I read some articles on Google’s Chrome OS, around the time right after my old blog vaporized. So there’s a couple of buzzwords to hopefully sucker you into clicking the ‘more’ button and actually reading the article – It’s about Google’s upcoming Chrome OS and it’s implications for the web, the desktop and the browser, as well as why desktop evolution can take an alternative path, exemplified by KDE’s budding Project Silk movement.

Read More

341
Rate this post
Thanks!
An error occurred!

On Blogging

I like how this picture effectively goes “blog. people. think”. Picture source

So CS3216 is kicking off again with the first lecture starting today and yes, I’m tutoring again. I was just down at the prof’s blog and part of his kick-start post addressed his motivations for emotional-blackmailing asking his students to blog the course. Here is an excerpt:

The thing about blogs is that there’s some ownership. When a student blogs, it makes a statement about who he/she is. Very few people want to make a statement to others that “I’m a loser”.

In this light, when “forced” to blog, students will spend a lot more effort thinking about what to say and how they want to say it. It is not so much the blogging that the learning takes place, but in the agonizing over what to write where people will learn something.

They are forced to take stock of what they have heard/seen and draw conclusions. That’s important. Many people go through life not thinking hard about what they have see or heard.

I’m just gonna muse a little on that here.

Read More

263
Rate this post
Thanks!
An error occurred!

Page 7 of 8

Powered by WordPress & Theme by Anders Norén