Mar 162010
 

Probably of not much use to most, but useful to me …

On occasions, I have been known to start an application and switch virtual desktops as the application window appears which can sometimes lead to Enlightenment (but the DR16 version) “displaying” the window in a non-visible location. Fortunately there is a convenient and fairly trivial fix for this :-

  1. Open a terminal window
  2. Display a list of windows with the command eesh window_list (or eesh wl for short).
  3. This displays a list of two columns – a window ID and the title of each window. Pick the window ID of the window that is not visible.
  4. Next iconify the window with the command eesh wop iconify ${window_id}.
  5. At this point the icon for the application window should appear in your iconbox and you can uniconify it with the mouse and it should appear on the currently displayed desktop.
Feb 272010
 

One of the great things about OpenSolaris is that the archaic packaging tools have been replaced with something that looks like it may be a little better; one of the disadvantages is that trying to install packages from something like OpenCSW is a little awkward when the first command fails.

Given that I’ve just to hunt around for the details a second time, it is worth working up the basics into something that can be added here. Firstly we need to install the commands necessary to support the old packages :-

pkg install SUNWpkgcmds
pkg install SUNWwget

Now that has been done, it should be possible to install the OpenCSW package command using pkgadd :-

pkgadd -d http://www.opencsw.org/pkg_get.pkg
Feb 042010
 

Macports is a convenient way of adding conventional Unix software to an OSX machine; this guide is not intended as a replacement for the main documentation but as a simple convenient cheat sheet. Mainly for myself, but as it is here, anyone is welcome to use it (and send in corrections!).

After you have installed the main Macports package you need to periodically update the main macports binary and the index files with :-

% sudo port selfupdate -d

This conveniently tells you to update the outdated ports with :-

% sudo port upgrade outdated

But neglects to suggest that removing inactive ports would be wise :-

% sudo port uninstall inactive

As an upgrade does not by itself remove older packages; merely makes them “inactive”. A considerable amount of space can be used by these “inactive” ports!

Variants

Once you have found a port you are interested in installing :-

% port search emacs

It is worth checking what variants are available :-

% port info emacs | grep Variants
Variants:             gtk, motif, universal, x11

This allows you to specify what features you want :-

% port install emacs +gtk

Further details may be added …

Jan 302010
 

According to an article on The Register, our friends at Adobe are  somewhat irritated by Apple’s insistence on not allowing Flash to run on the iPhone and now the iPad. Because Apple’s platform for both products is closed, Adobe has to live with Apple’s decision on whether to allow it or not. Complaining about it amuses me, because Adobe is effectively guilty of the same kind of actions.

Almost all desktop web browsers have had the Flash plugin installed so “enhance the web browsing experience”. The fact is that we do not have much choice in the matter – many web developers insist on putting Flash elements onto web pages; sometimes the lack of Flash is merely irritating, but in many cases the whole purpose of the web service is list without Flash. For instance a Flash-less YouTube would be somewhat short on video (there is an experimental HTML5 video interface for YouTube which looks interesting but I am overlooking that for now).

Mind you that Flash plugin is also responsible for most the occasions when your web browser crashes, and it also has a tendency to “spin the wheel” and consume huge quantities of cpu time to no purpose. Admittedly it may be that the Flash experience on more conservative platforms (such as Windows) may be less unpleasant, but from what I have heard, Flash doesn’t much like Windows either.

Perhaps Apple does not want their products to get the reputation of being unreliable and unresponsive ? Of course the reason that Apple gives is that the Flash plugin is an interpreter and that they do not allow such software onto the iPhone/iPad platform for security reasons. Now on a phone, the lack of Flash can be overcome by producing specialist applications such as the YouTube app, or by accepting a phone just is not as effective at browsing the web. Of course on something like the iPad, it is going to be a little harder to accept when web sites appear broken.

Which is of course Adobe’s point. And to some extent they are right. But you do suspect that Adobe are actually more worried about their own business than the interests of consumers.

If the iPad takes off, those web sites that use Flash extensively are going to have a big incentive to produce alternate versions of their sites. Some may well opt to “wrap” their site into a iPhone/iPad app; others may simply opt to switch to HTML5 and it’s support for video (which is not quite ready for prime time just yet). The modern standard of HTML provides for much more options in generating dynamic content.

Of course this hypothetical shift away from Flash content would be bad for Adobe, because people will be less interested in paying for Adobe’s content production software. Perhaps Adobe should admit defeat and modify their software to generate standards-based web pages rather than closed binary “blobs”. It will certainly be easier to do that than to persuade Apple to unlock their platform!

Jan 272010
 

Enough details have leaked from the announcement to talk a little about Apple’s new toy – the iPad (which seems to be one of the less popular guesses about the name – I went with the “iSlate” possibility). For those looking for the specifications :-

  • 1.25cm thick.
  • 700g heavy
  • 25cm multitouch display
  • 1GHz Apple A4 chip – presumably an ARM variant.
  • Between 16GB and 64GB of flash memory
  • Around 10 hours of battery life.

And it starts at $499 for a 16Gbyte one limited to WiFi access – what’s the betting that means £499 in the UK ?

Basically it’s a big iPhone with all the advantages and disadvantages that brings – both great usability and savage vendor lock-in. There are a few new presumably built-in applications to allow for the greater functionality possibilities – an eBook reader, iWorks, etc.

Interestingly Apple also announced a keyboard for the iPad and implies that it should work with any bluetooth keyboard. Finally admitted that not allowing keyboards on the iPhone was a mistake ? Maybe Steve Jobs finally listened to me 🙂 Who knows ? Maybe the next version of the iPhone software will include keyboard support.

And where’s the forward facing webcam ? That is perhaps the biggest missing feature. Whilst you may want a separate device for making normal videos, a webcam suitably placed for video chatting is pretty much the norm for those little Netbooks that Steve hates so much.

There are other things missing too :-

  • A set of magnets to let you stick the iPad to your fridge in the kitchen – get a recipe up on the iPad, stick it onto the fridge whilst you cook.
  • An SD card slot or two. Who wants to buy a replacement iPad if you find that the 16Gbyte version is not quite big enough. Well Steve wants you to, but an SD card slow would let you hold off on that extra purchase.
  • A USB port or four. Sure there’s Apple’s dock connector and I’m not suggesting they get rid of it. But not have a USB port to allow emergency charging and connecting to a portable hard disk ? Or a USB keyboard ?

The funny thing about the Apple site is that special section proclaiming how green Apple is with their iPad. Total rubbish of course. There is no user replaceable battery and no expandable storage, so the only option you are left with when the battery life declines to a level where it becomes useless or you run out of storage, is to throw the old iPad away and buy a new one. Being green isn’t just about using less environmentally hostile materials.

But does it do anything about the vendor lock-in for content ? It does not seem very likely – this is Apple we are talking about after all. However it does seem that the iBook application (and it used to be the name of a nifty Apple laptop) does support the ePub format. Whether that means that content bought through iBook will be transportable to other devices remains to be seen.

Whilst most of us are used to vendor lock-in when it comes to software – Windows software runs on machines running Windows; OSX software runs on Apple computers, and Linux software runs everywhere(!). We are not so used to the idea that content is only available on one device.

If I buy a book, a film on disc, a magazine, I own a physical object that I can put on shelves and go back to later. If I buy an eBook to go on the iPad, can I read it on anything else ? My Sony reader ? Anything else ? Well we do not have enough details to say, but I doubt it.

Content “hoarders” who accumulate scarily large piles of books, etc. are unlikely to be too keen on a content paradigm that means that content stays locked to a device. I have books that are in the region of 100 years old, and even some tatty paperbacks that belonged to my grandfather; will I still be able to read eBooks that I bought on the iPad in 40 years time ?

As it is an Apple product is has a certain “cool” aura, and I am sure it will sell. Heck, if Apple announced a downgraded iPod Classic they would have fans who would buy it without checking that the new hard disk (120Gbytes) was smaller than the old (160Gbytes). Will it change the way we think of consuming content ? I somehow doubt it. It will however push forward the idea of tablet type devices as a way of consuming content; not enough to gain iPhone-like status (which effectively put the smartphone into the hands of the ordinary consumer, and gave a swift sharp kick to other smartphone manufacturers).

Would I buy one ? Well if I had not already bought a netbook/slate to use as a couch potato machine – I tend to look things up whilst watching TV – I might very well do so. But would it replace my Sony eReader if I managed to put my own DRM-free eBooks onto it in a satisfactory manner. Hmm … will Stanza adapt well to the iPad ?

Hey! Apple, want to donate one in return for a review ? 🙂

Still not convinced by the name – iPad ? Sounds kind of American and comes across kind of odd to British ears – Apple’s crash-pad, a pad for dealing with spills, not a notebook that we use for scribbling notes in.