Archive for the 'Open-source' Category

Movie Module Progress

May 22nd, 2009 | Category: Open-source,python

Okay, so its near the end of the first week of development. Its been an exciting week, learning the ins and outs of python module development.

First, I have code that compiles, links, and can be successfully imported. However, no movie objects are created, there’s a bug somewhere that causes it to return a None object to me. All the code is in svn.

To successfully compile the code, one needs the ffmpeg-0.5 package of source code. In there, follow this process:

  1. ./configure –enable-shared –prefix=”/usr”
  2. make
  3. make install
  4. cd libswscale/
  5. make
  6. make install

This will install the libraries and headers into the /usr directory if you are on Linux.

Then(assuming you have all the other dependencies, see here):

  1. download the branch of source-code, at svn://seul.org/svn/pygame/branches/tylerthemovie
  2. ./configure
  3. python setup.py build
  4. python setup.py install

And thats it! Of course, like I said, it is not yet really operational yet. I will be fixing this bug.

In addition, I will be spending some time over the weekend and up to Wednesday helping out with the local AI/CG/CRV conference hosted by UBC-Okanagan.

2 comments

Ignorance

December 10th, 2008 | Category: Open-source

Ignorance is not a crime. Choosing to remain ignorant is.

Comments are off for this post

Usability is important.

August 08th, 2008 | Category: Open-source,design,openmoko

No, seriously, it really is. It doesn’t matter how cool the subsystem is, how efficiently you can pack megaquads of data into a byte. What really does matter is how a user interacts with a system. I have a lesson here, to be shared, and I don’t really care if anyone listens.

A bit of backstory: I just recently bought one of these, the Neo Freerunner. I was intrigued by the hardware capabilities, as well as the absurdly low price for a phone with that much hardware.

However, I’ve since discovered that in many aspects the phone is useless. I can understand that its only for expert users, so consider this a bug report, of problems I’ve encountered no matter how intelligent or “expert” I am.

The phone itself is 100% unmodified hardware, and shipped with the default image, Openmoko 2007.2.

That software, though kludgy, slow, and occasionally frustrating, actually did what it was supposed to. I could type anything I wanted, with effort, use a backspace key, dial phone numbers.

There were some very annoying bugs, for example, the point where I was trying to add an email to a friend’s contact list. Normally, in any other kind of display, the area I’m typing into would scroll up, so I could see what I was typing. Not so here. I had to contend with guessing if I had hit the right buttons. Very annoying, and I quickly gave up.

Another bug, and I do consider these bugs, is the wifi and gps lacked a decent gui to configure them out of the box. The phone comes with specific hardware, it should have applications that can use them. Again, I know, for expert users, but I wanted a phone with wifi so I could browse the internet. If I need to log in with my laptop via ssh to the phone, then why not just surf with my laptop!

Now, I’ve been playing with the Om2008.8 release, came out today. Of course, I expected an official release to, you know, have basic issues solved. As of the time that I write this, there are 13 issues. THIRTEEN! Just hours after the “official” release. I could understand if these were rare or serious bugs, with video or weird interactions. But no, what we see are basic issues with the GSM portion! There are severe bugs in the phone part of the software… yes, this phone really is for expert users.

Usability is incredibly, incredibly important. I can’t stress this enough. The user does not know, nor care, about how free the code is, nor how awesome it is. They care that it works, and does really cool things. Basic usability needs to be addressed, if not by FIC, then by the community. They have steps. Some. Use cases to be filled out.

I’ve been following the Linux Haters blog, and its a lot of fun. I don’t have pretensions that one is better, or more superior. Its a great window into usability, and community matters, something everyone involved in OSS should be working on. Here’s a few guidelines if you’re going to make a touchscreen app:

  • If what you want to show is bigger than the screen, then by all means, scroll. BUT. And this is a major but. You need to somehow inform the user there is more content. Here’s a sample: the default keyboard app in the latest upgrade. It shows just the lower case letters, nothing else. If I had not read online, I would not have known you could “flick” the keyboard to get at more keys.
  • Be tolerant of mistakes. Always, Always, ALWAYS have an available backspace key for keyboards. This is more for the OS makers than the app, but it is still critically important.
  • If you invent a brand-new interface or way of interaction, you should offer tutorials. Sony Ericsson phones when they are first turned on, offer new users a complete tour of how to use each app, and button. This is phenomenal in terms of making people happy. It shows you cared to make something like that, and that you want them to be able to use the app.
  • Responsiveness. I can’t stress this enough. When your app is doing something, there should be some thing showing that its working away. Especially when booting up. My phone’s screen turns off at arbitrary times during bootup. This is unacceptable, as then it looks like it didn’t boot up.
  • This is directed at the Openmoko devs themselves: a Notes application, please! You’ve given us a smartphone, with wifi, gps, an sd card… let us make notes. Arbitrary notes. About anything. Free of context, or context can be added. I don’t care if I can install one, one should be included by default.

Now, another consideration with something like this, to help usability, is at the very least, write documentation. Do you have any idea how awesome I would think this phone was, if I had a manual on how to fucking use the applications that came with this phone? Of course, the fact I need a manual on these apps just demonstrates how utterly unintuitive they are. Even if its assumed people can figure it out, we have an amazing resource to do this, thousands of interested individuals, with time, and the phone, able to modify a wiki. Provide information on how to USE these applications. Full, and in-depth, showing that if you flick the keyboard… you get other keys! OMG! Amazing… how am I supposed to know that, without delving into a mailing list?

Now, while I do really like the hardware, and I’m all for defending rights and freedoms, I also want usable programs. 90% of the time, they are completely usable, and excellent, and the only fault is me. Apache for one is humonguosly documented, and all faults for screwing things up lays totally with me. Abiword is another excellent program. I just use it for typing. I don’t need typography, or colors, or any shit like that. Open Office is simply too bulky for my simple needs, and doesn’t read Excel files properly.

Now, just a small warning, anyone that posts saying, “It works for me.” their comment is deleted immediately, no other reason needed. Any freetards yelling at me about criticizing their beliefs or whatever, deleted as well. If you have something to say, be calm and reasonable about it. Provide evidence, technical, screenshots, advice, whatever. I want to hear debate and discussion, but there can be no discussing with a Freetard. I use what works best for me, and for your information, I am currently using Ubuntu 8.04, on both my desktop and my laptop, with absolutely no hardware issues.

Comments are off for this post

Donating to those worthy of it

November 09th, 2007 | Category: Open-source,codinghorror,donations,notepad++

And what I mean specifically, is donating money to small, open-source, or even shareware programs.

They do not make you pay up front, and I do agree with what Jeff has to say on this issue. But for me, the best project that deserves my money, is Notepad++. It is a simple, immensely powerful text editor. It starts in less than a second, even on slower systems, makes as much of the screen available to code in, has tabs, has split screen(!!!!), and most importantly: can be extended with support for other languages.

Those two features are so huge. Say I want to learn the latest and greatest language, say FF++. Notepad++ may not have built-in support, but with a bit of work( or googling) I can add syntax coloring. And the split screen? Allows me to look at one file, in two different spots, or two different files, etc etc. It allows me to check the requirements of classes, functions, see how code works, anything.

It is above and beyond the usefulness of most of the ide’s and text editors on both Linux and Windows. VS2003 is pretty damn good, features good project management, but does not start quickly. For a large project, something like Visual Studio is perfect, but for everyday needs, quick script writing, Notepad++ is perfect.

And that is why I’ve made a $20 dollar donation(CAD). Sorry for the exchange rate making it less than 20! And, if there any pieces of free software which you use, and love, and believe in, support it! You’d want someone donating to your project, wouldn’t you?

Comments are off for this post

Singing, singing, away my soul or how cool Songbird is

November 04th, 2007 | Category: Firefox,Open-source,Songbird,programming

Songbird is awesome. It has a huge amount of potential, especially in the current culture. Songbird is an open-source web-based music player. First, let me detail why I think Songbird is so awesome.

It is based on Mozilla

I’m a big fan of open-source, for many reasons, but I’ll also be one of the first to admit its failures. (That shall come in another blog) Now, having Songbird based on Mozilla means that its using much of the same code that makes up Thunderbird and Firefox. Thats right, it can surf web pages.

It opens a new door on interaction

However, not only can it surf web pages, if you visit a website specifically built for songbird, using the rather well-done webpage api, it adds new features! Imagine going to your favorite band’s blog, and hearing the latest sample songs they’ve loaded!

Or, experiencing the deep interaction that the Itunes Music store uses to offer… in a webpage. Thats right, web pages now become music stores in Songbird. But thats not the coolest feature.

Add-ons

Yep, just like Firefox, it supports add-ons, with even more potential than those in the browser. There are many many ideas here, and I’m sure you could think of a few yourself, things that you wished YOUR music player did. I’m pretty happy with what Amarok can do, and old versions of iTunes when I’m on windows. However, when I see potential, that gets me excited. And when its immense potential? You can imagine my excitement.


Now, go download it!

This is exciting stuff, and I can’t wait to see what else. My experience with songbird was pretty good. I downloaded and installed it, and then checked out a few of the samples, mainly the sample music blog, and the sample music store. Try them out in songbird, and compare it to what it looks like in your regular browser. Can iTunes do that? No!

Comments are off for this post