14 March, 2011

There's a python in my shell

I guess I shouldn't have woken up this morning. I've just seen someone spend 24 hours around at my place, trying to get their machine to the point of being able to boot up a Linux system. They succeeded after a lot of asking questions in the machine's setup, and then they decided to try something I'd never seen before.

For what it's worth, they were installing SourceMage. But the flash in the pan was, once they'd installed gcc and gazillions of other programs provided with SourceMage, they set their init shell to /usr/bin/python. Then they rebooted and loaded the kernel, which started off Python, and typed:

>>> import os
0
>>>

It all went from there... sigh. Sometimes I like geeks and the things they do. I must admit though, I'd never thought of this one.

No doubt you lot would have already found out about the earthquake I was in, which wasn't as bad as the very recent earthquake in Japan—exacerbated by a huge tsunami. Still, our earthquake was bad enough, causing a few cracks in our house, our power and water to be off for more than a week, and internet took even longer than that. Still, I'm alive—unlike 200-odd others, the wife's great, and we're doing well while I type up this note. To all of you who asked, thank you for your messages of support. I was touched especially by one message that was forwarded by snailmail from an email from the Open Cobalt and SecondLife AWG groups—thanks to you all, especially. I'm only sorry it took me so long to get back to you all.

Please, if you haven't considered it yet, do think about sending support to Japan. They need it.

Later ...

19 December, 2010

Anyone for a good book?


Something to say about Reading

Some of my many books

iPAQ software ebook readers

When comparing electronic reader programs for the PocketPC platform, I'm dismayed by the paucity of offerings. There aren't too many options available for free, and a lot of the programs are somewhat limited by the small amount of memory available to use on my iPAQ. For reading html, there's always the included Internet Explorer, for text, you can use Word, but those aren't usually what ebooks are delivered in. For example, there's epub, pdf, lit, pdb and a score of others. Programs that support one format don't usually support other formats, so to read all the formats, I have to install multiple programs.

I finally found something positive to say about Microsoft's Reader program - at least on my little iPAQ, it works better than the competing Freda and hasn't hiccuped once on any of the .lit books I've fed it. In contrast, every few pages or so in Freda, I'd have to drop into "Book Properties" and back to the page before I could view the next few pages, as otherwise I was presented with black screens, or the screen simply wouldn't refresh with the new page. What a shame I can't actually activate Microsoft Reader on my device, as Microsoft doesn't support running the ActiveX applet on the iPAQ. In addition, I'm stuck with the size of the font the program chooses to display some book text in, which isn't the same as the fontsize in the font settings page. If the .lit file specifies a font size, I'm unable to override that. Add to that, the only format the reader program seems to support is Microsoft's own .lit, meaning I have to go somewhere else for anything else.

Mobi software released Mobipocket, which supports some common formats (pdb, txt, html) but not others (pdf, epub); in addition, it costs. In comparison, Freda is free software, and supports reading epub documents, but doesn't support pdb or pdf. And to read pdf, I had to install PocketXPDF—thankfully it seems to work well if I use the "Plain Text" mode. This does the job much better than trying to run Adobe's official offering, which seems to assume we like panning the page back and forth to read a page, and seems to have been built for devices with screens that are 640 pixels wide, or even 800 pixels, and doesn't provide a "render in plain text" mode.

Other alternatives

I've been looking for an effective portable device to read ebooks in multiple formats; PDF, epub, lit, HTML or even plain text are the formats I seem to be dealing with recently, but I suspect I won't be dropping $299 on the local eReader—the Kobo. Nor would I be able to afford the Sony eReader, and the Amazon Kindle isn't available in New Zealand (though this has since been remedied)—and costs a bunch, just like the others. I suspect the disadvantage of all these eReaders is that they only read books (or occasionally play music in addition) and are expensive for what they do. If you add in the cost of the books, often you have a ebook solution that isn't much less expensive than a paper version, with the only real positives being the fact you can store multiple books on one slim device, and you can—depending on what country you're in—purchase and download books wirelessly. But you'd better not drop it, or you'll be paying out more money.

In addition, I could quite imagine having more than the thousand books capacity that the Kobo provides internally. Thankfully the Kobo designers included a SD slot, though when putting a large SD card into the Kobo you'd better be prepared to wait a while until the Kobo has finished cataloging the books. I put my 2Gb SD card into a shop's sample Kobo, but after three minutes I gave up waiting. Clearly, if you're going to put books onto a 2Gb SD card, you'll probably leave the card in the device. In addition, I quite often want to do other stuff with a portable device aside from just read ebooks—sometimes I want to browse the web, play some music, play a quick game of Sudoku to while away the time, or maybe even take some pictures. Devices that do most—if not all of these things—are available for nearly the same cost as the more expensive readers, and provide me with all the other stuff I want to do. About the only negative is the shorter battery life in comparison.

In addition, I want colour screens. Some of the books I read have (wow!!) colour diagrams in them, and I'd hate to reduce them to 16 greys. So colour is pretty much mandatory for me—one reason why the battery life is shorter. Nobody's made an e-ink device in colour yet, or not that I've seen.

Anyone for a book?

Books are dead, long live Ebooks, A debate?

I recently watched a debate whose premise was "From the book to the hard drive: books are dead", featuring some of our local literati and other notable presences. In essence, two teams of three members had to debate whether books in paper form were well on the way to being buried, or keeping pace with modern alternatives. Needless to say, the debate was adjudged a success for the team for the negative—that is, that the book has not died, and is still relevant.

But that rather begs the question, doesn't it? Personally, I find I'll read an e-book in preference to a real book for one reason—portability. With a real book, it can come in any one of six different formats—fourteen if you add in children's book formats—and can be as thick or as thin as the pages allow. In addition, you have to remember to carry around some sort of bookmark if you can't remember the page you're on. I refuse to dog-ear my pages just to retain the current page number—eventually, folding those page corners will mean the corners start falling off. Then there's the weight, again dependent upon if the book's a hardcover, a trade paperback (my preferred format) or a smaller paperback, and—again—how many pages were put into the book. Occasionally, publishers will add extra pages in to promote further books either by the author themselves, or other authors that the company just happens to also publish for. Then there's the dustjacket if the book's a hardcover.

Then there's the quality of paper used—most books seem to use a paper that yellows readily, and very few books I own actually have the "white" paper so loved by booklovers. Leaving them in the sun—or even strong light—causes this yellowing that's impossible to reverse, and looks ugly. The paper becomes quite brittle, easily tearing and difficult to repair correctly. Using sellotape is a definite no-no, but there aren't many cheap repair tools that actually work. Also, if the glueing job isn't up to snuff, then you start losing pages from the spine almost as soon as you start reading. I have at least three paperbacks that run the risk of losing tens of pages this way.

Instead, with a portable device it's always the same size, it's always the same thickness and weight, has no corners to dog-ear, only has to be charged up every so often, and is eminently readable in most conditions if you've got decent hands. For the readers that have their own backlight, you can have the device in most lighting conditions, but with the ones that don't, you do have to consider ambient lighting conditions, but at least for the e-ink displays, you don't have much reflectivity of the screen. Then there's the fact that you don't have to break a book's spine—a pet peeve of mine, but rather easily done in today's books. In fact, you don't have to turn any pages, you simply press buttons or stroke the screen to turn pages.

My only regret is that the manufacturers haven't been able to bring the manufacturing costs down to the extent where a good—and I am talking good book reader won't cost you much more than it would cost to get ten or twelve books. Devices currently tend towards smaller page sizes because it's easier to produce a small display (or a larger greyscale display) than it is to do a full colour screen of say, an A4 page in size. Small screens also make for a more portable device—one that can be slipped into a pocket, instead of a bag. Indeed, with cellphones, there are already e-reader programs that duplicate what the Kindle and their kin do. And in addition, it's a computer and communications device. Wonderful!

But...

However, in favour of books—and I am talking about paper and hardboard here—are some of those same things I have mentioned. Publishers are able to produce books in multiple formats, small for handbags, large for coffee table presentation and large format imagery. In addition, they can add in pictures from esteemed artists, cover the books in a protective dustjacket (mostly to market the books) or print directly on the cover—typical for paperbacks of any size—again, to market the book so someone would want to pick it up and buy it. Some publishers even add their own bookmark for hardcover books. And fold-out maps are a rare addition that you'll never seen on any electronic device—who has a fold-out screen on their e-reader?

They don't require batteries, don't require energy to operate—except when lighting conditions are poor, will often take a drop without damage unless you happen to be reading in the bath, in that case books of any type will get wet. The only storage they require is a space on a bookshelf, preferably not dusty, not flooded with light, and not prone to mold. In return, books give joy, tears, thoughtfulness, or in some rare cases, inspiration.

Vive la book!

05 August, 2010

A little success

Nothing left but air in the middle

A few days ago, I finally completed this little puzzle from Rubik that I'd bought back at Easter-time instead of a chocolate egg—I ended up with chocolate later of course, but I digress. It took me a while, but I finally sat down and worked on it during an afternoon, and while I'm not sure I can repeat the effort, I have succeeded this once, at least. The idea is to guide six little coloured balls into the cups on the outside of the sphere, the trick is, the two inner spheres are weighted, and are on pivots. The spheres also have a limited number of ways that you can get a ball out to the outer sphere due to the placement of the holes in each respective sphere. And you have to make sure that any of the balls you already got out don't fall back into the innards of the sphere.

It's the only Rubik's puzzle aside from the links and Rubik's Magic that I've succeeded with, my memory lets me down for the Cubes. It put me in mind of the fact that we can't all achieve the great things in life, because there simply aren't enough of us with the sort of impetus to achieve those. So, we have to make do with little stuff—the love we give to our partner, the achievement of a puzzle, the correction of somebody else's source code—all these are little things, but for those of us that do them, the fact that they are done at all means something.

17 July, 2010

Of penguins, cafés and mighty warriors

Café World is a massive time sink

Anyone who plays Café World already knows this, of course. Since we started playing it, I think I've watched the total sum of about two hours of television. And that's over eight weeks ago. Of course I wasn't watching a lot of television anyhow, but it was more than an hour a week. That's just one of the effects.
Businesses seem to want Facebook banned, and with somewhat good reason. The games that are
provided with Facebook are designed to get your face in front of the screen and hold it there for quite a while, with titles such as Farmville getting over sixteen million distinct users, or at least that's Zynga's claim. Café World isn't far behind, claiming over twelve million. All these games take time, energy and concentration to play, time that could well be spent actually doing the job instead of surfing the web. The good aspects of Facebook are unfortunately outweighed by the design of the games. And let's face it, if the games weren't great to play, they wouldn't have thirty million users just on two games alone.
Even the children have options these days, with online games such as Club Penguin keeping younger eyeballs on screens. This has the net effect of children pestering their parents for an online subscription so they can actually BUY stuff for their penguin and puffles (a creature you can buy in the game). Then there's miniclip.com, which also offers easy to run games that don't need anything much more than a browser and a relatively recent machine to play them. Of course, World Of Warcraft (WoW for short) seems to lead the world in numbers of people playing, and it's also subscription-based, though it's certainly not run from the browser. It has a DVD's worth of content that gets updated quite often, pushing the disk space requirements up even further.
I still don't know if I have to turn in my subscription to the DVD rental shop yet, I guess time will tell.

15 May, 2010

A computer without enough hardware

I walk the line

I finally did something with the machine I was having trouble with. Turns out I won’t be using it for a NetBSD machine after all—it’s been set aside as a machine to run Café World, from FaceBook. Why? Because it’s not running anything else except for Google Chrome, Xubuntu and Café World. It's not able to be pimped out any more than it already is, as I don't have the CDROM drive that goes in the multi-function bay. What were Compaq thinking when they released this range of machines? That people would not want to add a second hard drive or more memory? I’m guessing that at the time it was released, they thought nobody would want more than 512Mb of memory on their machine—where have I heard that quote before...

Anyhow I set the machine up as an attempt to try running Café World better than the last time I tried to run it on Windows XP. So far at least, it appears to have been somewhat of a success, even though it has less resources available than the 2.8GHz Celeron machine. To refresh memories, the machine has a 1.3GHz Celeron, 512Mb of memory, and (now) a 10Gb drive with Xubuntu on it. Nothing else to get in the way of running Chrome, and running Café World in that browser. I ought to retain most of the speed I saw on fatty (the 2.8GHz machine) without the game slowing down because the computer’s going to fetch something or rehash the stored files database or check out what packages need updating, or whatever. The only time the game slows down is when it’s swapping, which can really impact gameplay negatively. Currently the only other disadvantage is that I have to keep switching the monitor over between the two machines.

So, what else will happen to this machine? Other than me putting the CMOS battery back in (done), and figuring out what the weird GRUB2 error message is, there’s nothing much else to do to it. Aside from adding twin (a screen-like terminal multiplexer, but with window borders), that is. And no, I don't have the nice monitor any more—that went back to the owner.