Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Thursday, August 24, 2017

Mysteries

This post is going to cover three different mysteries. These are things I have wondered about, and want to know the answers to, but that I have yet to understand.

Anyone who can help me with the answers to any of these things will earn my eternal gratitude, and a link here to their website if desired. Obviously that means I will update the post with new information as it arrives. As with all things, you can reach me if you try, despite comments being off here.

Oh, for all images here, click to see a larger version.


MYSTERY 1 - Strange marks in highway pavement in the USA
SOLVED! SOLVED! SOLVED!


Here's a picture taken on I-5 in Northern CA, on a trip to Vancouver:


Look at the road in front of the car. See those sets of 3 marks on each side, roughly where the wheels of the car go? Those are the mystery. Here's a closeup:


What are those things? Here's what I know so far:
  • I have googled quite a bit and been unable to find a search that tells me anything.
  • It appears that they happen on expansion joints (or some other linear crack in the road, perpendicular to the direction of travel).
  • I have seen them in several states, mostly in I-80, but also (as above) in California on I-5.
  • The spacing between groups (in the direction the cars travel on the road) can vary.
  • Sometimes there are 2 groups of 4 marks instead of 2 groups of 3. No idea why. But that happens on very different roads. I have never seen groups of 4 & 3 on the same road.
This question has driven me crazy for years. I have no clue what those marks are for. The cannot be for traction (like rain grooves) and I can't see why you'd need them across expansion joints.

Mystery 1 has an answer! Readers K and P (possible links still coming) tell me these marks are made as part of a 'dowel bar retrofit', which is a mechanism used to reinforce cracks in highway concrete. Here's a Wikipedia article about the technique.


MYSTERY 2 - Wood, round, antenna structures west of Richmond, BC


On our regular dog walks along the dyke on the western edge of Richmond, BC, we see odd, round structures, apparently made of wood. There are several of them, well spaced out. Here's one, from afar, and zoomed in. (The zoom'd image is blurry... sorry.)



And here is a shot showing several of these things off to the south:


And finally, here is a captured image from Google Maps, where I have measured the distance between these things. The points on the white line show their locations.


And here's what I know (it's not much):
  • They appear to be made of wood, and have no apparent electrical connections.
  • They face South West. (Bring up google maps for Richmond, BC, switch to satellite mode, and zoom in to confirm that yourself. You can see them in some detail there.)
  • The spacing between them isn't regular. (See map above.)
  • They are in a straight line running very close to due North/South, as far as I can tell. (Again, see map above.) It is just possible that they do not run perfectly North/South, but from the level of detail I have, it's hard to know.
  • And once more, Google has let me down on finding more details.
That's it. I know nothing more.

Mystery 2 has been solved. It prompted a lot of discussion on Facebook and in email, and many people participated in the conversation. K suggested these are navigation markers for ships, and looked at some nautical charts but didn't find them specifically. I found them in openseamap.org, but couldn't find the description of the actual things I found. J found the actual information about the chart annotation that resolved it, along with the formal description of the item type - "Daybeacons" - which says: "Generally, daybeacons are unlighted aids used primarily to assist the mariner during daylight hours" and goes on with other information that makes it clear that these things off the coast of Richmond are there to keep ships out of trouble.

Thanks to the many people who looked into this and helped find the definitive answer! It was really fun to get it worked out.


MYSTERY 3 - The scanner that stopped working in Ubuntu Linux 16.04
SOLVED! SOLVED! SOLVED!


No pictures for this one, I'm afraid, but I wrote it all up in great detail in a post on the Ubuntu Forums here:

https://ubuntuforums.org/showthread.php?t=2369422

In short, I updated my OS and everything works (as far as I know) except the scanner. And the failure mode of the scanner is really, really odd. It's as if the bus ID and device ID that were in use for the scanner in the previous version of the OS were saved somewhere, but after the OS update everything got renumbered. When software to find the scanner is run as a regular user, the scanner cannot be found. When the same software is run as root, it does find the scanner (apparently).

As with the other mysteries, Google has not revealed a solution so far.

Mystery 3 has been solved. Without going into too much detail, there was a permissions problem because of changes introduced in Ubuntu Linux between 14.04 LTS and 16.04 LTS. I, personally, got the problem about 95% solved, but thanks to confusing and inaccurate documentation, I missed a bit of syntax that kept it from working. A good friend (John M.) pointed that last issue out, and suddenly everything works again. I think someone at Ubuntu needs a kick in the head for this, but such is life. The scanner works, and that is all that matters for now. Anyone wanting all the details can read this thread:

https://ubuntuforums.org/showthread.php?t=2369422

wherein I document the entire mess.



And that's it. Fame* and fortune** await the people who help me understand these things. Consider it a challenge, please!

Footnotes:
* "Fame" defined as a link to your website, if you want it.
** This is a lie. There will be no fortune for anyone who helps. Sorry.

Friday, December 19, 2014

It's almost like a new machine

So I made some updates to my desktop computer, finally:
  • Upgrade from Ubuntu 12.04 LTS to 14.04 LTS.  Yeah, I know, I'm not exactly a fast follower here, but I like my machines to work. Waiting a while to update to the next long term support release feels smart. I let others work out the kinks for a while before moving up.
  • Changed from 32 bit version to 64 bit version. I tried 64 bit a while back - probably in the 10.04 era - and had no end of trouble with software not being available in 64 bit, or not working properly. It appears those issues are now resolved.
  • Changed the boot disk from a standard hard disk to a solid state disk. Just a small one (128 MB) from Crucial but plenty big for the OS and swap space.
The difference in how the machine feels is amazing.

Boot time is substantially improved, though the POST on this motherboard still takes forever.

Apps load faster. Much faster. All that I/O wait while Chrome loaded for the first time is gone. Or rather, it's not gone, but I don't note it happening anymore.

Even simple things like working with email and playing YouTube videos are faster and smoother. I'm not sure why that is, but it seems to be.

This system has a new lease on life, which is a good thing. I hate buying new computers and this one should go another two years easy now. Maybe more than that.

Saturday, December 28, 2013

Linux Rant IV

These posts are starting to need better names. Maybe something like:

Linux Rant IV - Revenge of Gnome-Shell

So that went well. Not.

Debian 7.3.0 installed cleanly and booted. It looked great. But when I logged into Gnome, it was just as slow as anything Ubuntu did. Crawling. Awful. Unusable.

Diligent digging - aka, bringing up the system monitor and looking at what processes were eating CPU time - showed the culprit is named gnome-shell.

Some googling leads me to wonder if I didn't trip over a known problem in Gnome. Perhaps something in this thread about an llvmpipe being a problem is related. I have no clue.

http://forums.fedoraforum.org/showthread.php?t=285415

In any case, Debian 7.3.0 running Gnome is just as useless on my laptop as Ubuntu running Gnome. And that makes me worry about (eventually) installing anything running Gnome on my desktop machine.

I am starting to wonder if I will ever get something to run on these laptops without significant pain. And it turns out that my wife's laptop has an ATI graphics chip in it, not an nvidia, so all this work on my laptop might not lead to a solution for hers.

I am just thrilled with all of this. Thrilled I say.

Going to have to discuss options with the wife. It may be time to throw in the towel and get new laptops.  These were purchased in Feb of 2004. Yes, really. They are almost 10 years old. We could probably spend $400 each and get something much faster. Ben was telling me to do this the other day, and while I hate to admit it, he might have a point. Gotta think it through.

Such fun. Hopefully this is the last Linux Rant for a while. At least until George Lucas and/or Disney get their grubby hands on the rights to them. The sequels will probably be really painful.


Linux Rant III

The story so far:

Desperate to find a linux distribution that runs well on ancient Pentium M chips, our hero has done some awful things with Ubuntu, installing 10.04, then upgrading to 12.04, but at that point the display driver stopped working, and he got sick of it. We pick up with the action there...

With the help of my friend Ben, I was lead to the magic of Ctrl-Alt-F2, which brings up a text login screen (aka a tty) so I could login to the running Ubuntu system, even as the GUI was running and completely unusable.

Some poking around - again aided by Ben - revealed that the laptop has an nvidia graphics chip, and that it was running an open source driver. That driver - I know from past experience - is bad news and doesn't support at least some older nvidia chips, including mine. So I googled around and figured out how to install the proprietary driver from nvidia, which does know how to work with my machine. Installed it. Rebooted.

Change 1: now the system comes up with a little tiny graphics window as it boots, instead of using the full screen. Odd, but I don't care because... I can login and the graphics work again. Well, sort of...

As with the boot side of things, I wound up operating in a little, tiny screen - 1024x768 out of a much larger monitor capable of supporting much higher resolutions. Odd, but at least I can login and work within Linux now without going over to a tty.

Dig into system settings and found the proprietary driver tool, in which I learn that the nvidia driver, while apparently installed, hasn't been activated yet. OK. Activate it. And wait while it downloads and installs the driver again. Huh? But never mind that because once it completes it tells me that the driver is now activated. All I have to do is reboot, which I do, and...

Success. Amazing. The login screen is still really tiny for unknown reasons, but after logging in I get a full sized, max resolution screen. Ubuntu 12.04 is actually running on my laptop.

But that isn't all I wanted to do, sadly. I want to get rid of Unity, a user interface that I continue to dislike. Back to Google and there are some simple steps I find to install Gnome. It will be a choice at login time, apparently, which UI runs. So off to the software center to get and install Gnome. Done. Reboot.
Aside: has anyone else noted that I am rebooting an awful lot? It's like working on bloody Windows. But I digress...
The system comes back up and I select Gnome. Actually, Gnome 3, I think, as it isn't obvious. The choices are "Gnome", "Gnome Classic", and "Gnome Classic (no effects)". You tell me.

And the screen clears... and there is a looooong pause. Minutes. Then a menu bar appears at the top of the screen. Is it done loading? I don't know. I have never used Gnome 3, and don't know how it is used. Move the mouse to one of the icons in the upper right and click. Nothing happens. Try right click. Nothing happens. Hmmm. Odd. Maybe this menu looking thing on the left? Again, nothing. Maybe it's stuck?

Force a reboot.

Login again, but this time to "Gnome Classic". And wait a loooooong time again. When it finally appears at least it looks something like the UI that Ubuntu was using before Unity. Good. But it's also unresponsive.

Force a reboot. Try "Gnome Classic" again. This time be more patient. Mouse to menu, click, and wait. Oh... look! Eventually the menu appears. Well... that indicates there is a real performance problem. Start the system monitor and wait for it to come up.
Aside: yes, I am an idiot. Should have done ctrl-alt-F2 again and used top. Instead I waited forever for the system monitor to come up.
In the end I learned the CUP was 100% busy, and eventually learned that something called compiz was the culprit.

Over to the other computer. Google something like "compiz using too much cpu". Lots of complaints, various proposed solutions. Try a couple of them, including installing magic software to muck with compiz internals and speed it up. (From the tty, of course, where things run reasonably quickly.)

Reboot, again. Login to Unity this time. The usual UI, quick and fine. OK. Logout, login to one of the Gnome choices. Still slow. Worse than molasses in January. Not good.

Give up. This sucks. Apparently Ubuntu has decided that my hardware isn't worth supporting, that Gnome is an afterthought on 12.04, that Unity rules all, and that anyone who feels differently deserves nothing.

Back to the other computer, back to debian.org. Download the network installer CD ISO image for 7.3.0. Burn it to a CD.

Take the rest of the night off. This has been crazy, and I am far better off doing something fun than making my forehead bleed - more! - on this project.

Saturday morning. Try again. Insert Debian CD into laptop and boot. Select graphical install. Answer the questions. All but one is simple. (I have no clue what answer to give it for my domain name, so I left it blank. Life goes on.)

As I type this the system has already repartitioned and reformatted the disk, and has just finished downloading over 1300 package files to install them.

What happens next? I have no clue, but I do know that Debian booted on my ancient system just fine, so that seems good. Once the install finishes I will poke around and see where things are at. While that goes on, I think I will go have some lunch.

Friday, December 27, 2013

Linux Rant II

As per a comment I left in G+ to my previous post, I started the ugly update process to try and get my laptop running something usable.

First, I installed Ubuntu 10.04. It seemed to work. Rebooted fine, and let me log in. All seemed good.

Then I brought up the update tool and it told me there was a new LTS release - 12.04 - available to upgrade to. Perfect. So I told it to do that. And I waited.

An hour or two later I found it waiting for input to go ahead and replace certain libraries (I think) that it needed to do before it could actually process the update. Fine. I allowed that.

Came back a couple of hours after that to find 2 dialog boxes on the screen. The one in the back was fine, and just told me that the machine needed to be rebooted, which I expected would be the case. The one in front, though, was completely illegible. There were things that were obviously supposed to be characters in it, but they were rectangular boxes instead. A row of them that was obviously supposed to be some sort of status or error message, but it was completely unreadable. There was, however, an obvious button with just 2 such boxes in it, which probably meant "OK", so I clicked on that and the dialog disappeared. Odd, but whatever.

Then I clicked on the reboot dialog. And it rebooted. Success, right?

Well, no. Not quite. First it tried to shut down and hung during the process. Fine. Power off, then power back up.

It booted, and got me to the login screen. That's good. Entered my password and...

Gibberish. A screen full of junk that look mostly like random memory instead of whatever it is supposed to display. No ability to read anything, execute any commands, nothing.

Power off, power on. Try again. Same result.

Theory: Ubuntu has switched to some half baked open source driver for the graphics chip maker in my laptop, and that driver doesn't know how to fully support the ancient chip in my ancient machine. If I want to make this work I may have to figure out how to install the proper proprietary driver on the silly thing, but that may well require getting it to bloody work in the first place. Maybe I can boot into some safe mode and poke around. I don't even remember which graphics card is used in that laptop. Gah!

But it was late, so I gave up and went to bed. I may fiddle with this again this afternoon. It'll be about as much fun as getting a root canal, I'm sure, but I'll see what I can do.

Such fun. I might even post a video of my Ubuntu boot experience, but that would mean figuring out YouTube, and that would probably be just as fraught with errors and issues.

Ben says I should check out Debian. Maybe I will do that. And maybe Arch. All I want is something that bloody works.

Thursday, December 26, 2013

Linux Rant

So... I am suffering some Linux frustrations. Yeah... I know... what about Linux isn't frustrating, right?

But I am going to get this off my chest. If you don't care, the internet is full of alternatives. Go find one now. If you're a geek and think you can help, read on.

1) Ubuntu's Unity UI sucks.  No, really. It stinks.

I use Ubuntu 12.04 LTS because I want a Long Term Support version. I don't want to upgrade my OS twice a year... I do not need that level of sys-admin pain. And I know Ubuntu 12.04 is over 18 months old, so maybe there are improvements to the Unity UI that I haven't seen. But, frankly, what I have now sucks.

I run a dual headed system with monitors of different sizes. You have no idea how often things get wonky when I simply move a window from one monitor to the other. Sometimes it disappears off to some other workspace and I have to go hunting for it. Sometimes the mouse winds up many inches from the window I am moving, making additional manipulation and positioning "interesting. And sometimes the window winds up with the title bar and menus completely invisible. None of these things are crippling, but they are all irritating. Very irritating.

And then there's Dash, a mystery thing that pops up whenever I accidentally hit the "Windows" key to let me search (I guess) for things on my system. It's not exactly intuitive, and - apparently - in later versions of Unity it winds up sending ostensibly private search terms to places like Amazon.com. Yay! (That was sarcasm... in case it wasn't obvious. I do not want my desktop search terms sent to Amazon, and I have no clue why anyone at Canonical thinks that is a good idea.) I have yet to figure out why Dash is a good thing. So far it's just an irritant.

Another problem with Unity is the loss of focus-follows-mouse and the corresponding ability to leave a window that has the focus in the background. I love focus-follows-mouse. Just move the mouse over a different window and it gets whatever you type. Easy. And that window doesn't have to come to the front and obscure everything else. Nice and simple. But Unity doesn't give me that, so it sucks. By definition.

I guess Ubuntu wanted to create Unity so they could unify the world: desktop computers, laptops, tablets, and smartphones could all run the same user interface. Screw that! I don't want my smartphone to have the same UI as my desktop computer. Know why? Because I don't do the same things on those devices. Any idiot can see that is the case. Sure, sometimes I do similar things, but I don't make phone calls on my desktop (I don't even Skype) and I don't watch YouTube on my phone. (Who wants to pay for the bandwidth for that? Are they nuts, or just happy to shovel buckets of money to a smarmy telco?) To me, the idea of a unified, cross device UI was dead before it was ever implemented.

I limp along with Unity because, frankly, I am afraid to change it. I have seen some things about how I could get Gnome to run instead, and maybe I will try it, but only when I have a backup system running that I can use in case my main system dies in the process. I have an ancient laptop that I should be able to live - or test - on, but therein lies another story...

2) Ubuntu is phasing out support for older CPUs.  I cannot install Ubuntu 12.04 on my Dell Inspiron 8600. It's got a Pentium M chip in it that lacks something called the "PAE flag", and later Ubuntu distributions have stopped booting on those older chips.

Let's stop and ponder that for a moment: the OS that claims to run well on older hardware (as compared with Windows) is going away from supporting, um, older hardware. No, honestly. Wait... what?

This laptop is perfectly good for 99.99% of what I need to do on a computer, but Ubuntu's last 3 or 4 releases won't install on it.  Oddly, I think you can upgrade an older version of Ubuntu to a newer one and it will still boot, but you cannot get their base distribution to install from scratch. I am not making this up.

What sort of idiot at Canonical makes these decisions? Honestly? How do you get an OS to take off and get people to use it if they cannot try it on an older machine first?

3) As an alternative I am looking at Linux Mint. In fact, I have version 13 of Mint installed on that laptop, and it boots, despite being Ubuntu based. But it's not that simple. (It's never that simple.) What UI should I chose with Linux Mint? I installed one running something called "xfce", but I could also have chosen "Cinnamon" or "Mate". None of those is Gnome. None is KDE either. And all their user experiences are a bit different. Gah! Xfce is OK, I guess, but I liked Gnome and it isn't Gnome. Maybe I should have tried Mate, but at the time I was poking at this there wasn't good information about what Mate was, nor why I would want it. The same is true of Cinnamon now. Why on earth would I want that? No clue.

I just need something that works. How hard can it be?

Well, as if to answer that question, today I pulled out the laptop and updated Mint. I am trying to figure out what to install on my wife's similarly ancient laptop, and we know it cannot be Ubuntu 12.04, so I figured I would update Mint and refresh my memory about it. And it does (happily) turn out that Mint 13 is an LTS version, supported for another 2 or 3 years, which is good. But when I ran the update tool I got errors about it being unable to resolve certain domain names... domains that it needs to get certain package lists. Huh?

OK, maybe, some machine is down. And maybe no one has fixed it because it is the day after Christmas. And maybe I can try again in a day or two and it will work. Maybe. But I don't know. Lots of stuff did update, but not everything, and I don't have a clue how badly off things are. If there is a problem with Mint 13 that is more than a sick server, though, I certainly don't want to install it on my wife's laptop.

And don't get me started on printing and scanning. My wife tried to print to our color laser printer the other day and it came out monochrome. I had to get a copy of the file from her and print it from my machine to get it to print in color. Her laptop thinks our Xerox color laser printer isn't color.

I suppose we could buy new laptop computers and install a more recent version of Linux on them, but which one? And do I really want to do that if I then have to upgrade the OS when it goes out of support in less than a year? Or should I install Ubuntu 12.04 and risk getting Gnome to work on it? And just how good will that experience be? I was hoping to test that on my ancient laptop, but I cannot get there easily.

Maybe if I install Ubuntu 10.x which will run on the laptop, then upgrade to Ubuntu 12.04, and then install the Gnome system... simple! (Sarcasm again. But maybe my only real choice.)

I hear some of you... Why not just go with Windows? Or a Mac?

Suffice it to say I have my reasons.

I wouldn't trust a Windows machine with anything where security matters, and I gave Steve Jobs money a few times and he only let me down. Windows machines are great if you want to suffer with virus attacks every 15 seconds. And Macs are fine if you're doing exactly what the geeks at Apple thought you would be doing, but if you ever try to do anything else, you're screwed. (And yes, I have examples. You don't want to know.)

So for the moment I guess it's Linux. Unless I want to install Plan 9... now there's an idea!

Tuesday, June 11, 2013

Richard Stallman Is Wrong About Cloud Computing, At Least In Some Ways

TL;DR: No matter what Richard Stallman may say, there is a place for cloud computing.

In an article in The Guardian, Richard Stallman calls using web based programs "worse than stupidity" and a trap to get people locked into proprietary systems.

Is he right?  In some ways, maybe, but as I see it, for the population in general, he's off base.

I'm probably not the right person to criticize.  I've only got about 20 years of programming behind me, mostly for companies no one has heard of.  I've worked for one ISP, one OS developer, and a bunch of other places.  I graduated with a CS degree long enough ago that OO was still a university concept, not actually in use in the field, and I never took to it for several reasons.  As it happens, I'm sick of all of that now, and would rather carve stone, but that doesn't matter.  I still do a lot of things on computers, using cloud computing of one sort or another, as well as some local computing power too.

Oh, and I know Stallman will never see this, which is just fine with me.  I'm a nobody in comparison, but I still think I have a valid point.

Stallman claims that cloud computing is all marketing hype.  But let's look at this a bit more deeply.

If you have a computer at home, the chances are it runs Windows.  Alternatively, if you don't run Windows, it is most likely you're an Apple Mac user, and thus run MacOS.  If you fall into those categories, Stallman has no use for you.  Those are both proprietary operating systems and lock you into the same evils that cloud computing does.  You're screwed, by definition.

In terms of popularity, I think after that come tablets and smartphones.  Those generally run Android - which is open source - or IOS (from Apple) or Windows.  Let's just assume that Stallman hates anything from Apple and Microsoft - probably a good bet - and think about Android for a minute.

I have an Android phone, and I love it, but it is running an old version of the OS.  It's not even two years old but - despite promises to the contrary - both the manufacturer and mobile carrier have failed to update it.

Yes, technically, I could root the phone, back it up, and install the latest version of Android myself. But that takes time, risks turning the phone into a brick, and requires me to do all ongoing maintenance from there on out as well.  While I might eventually attempt it, most of the people who own smart phones aren't going to bother.  Too much trouble.   So, many people running Android are locked into an old, unsupported OS by a combination of their carrier and phone maker.  Stallman probably writes them all off to, if I had to guess, though he might claim the the companies involved are doing evil in the process.

So far, no matter which of the choices I've listed, you're very likely to be in a category that Stallman dislikes.

What does that leave?

In the personal and mobile computing world, that leaves Linux and the latest version of Android, the latter getting updated all the time and leaving more and more people behind as that happens.

So, what makes the few percent that actually run those systems - the ones Stallman might like - tick?  They're all serious geeks, for starters.  They know their tech and aren't afraid to mess with it.  It's fun to do so, in fact.

Let me give a different perspective on this: I run Linux at home and it requires real effort.  Here's an example:

Recently, Ubuntu discontinued support for the version of Linux I was using.  Their newest version no longer supports older CPUS - like the one found in my laptop - so it cannot run out of the box on it for me. It does run on my desktop, but it has a new UI that I really don't like, which completely changes the way I have to interact with the computer.  (I strongly prefer focus-follows-mouse, not click-to-focus, for various reasons, but the Unity UI makes that choice unavailable by default.  And there are behaviors in this UI that make no sense on a desktop, but since they are trying to create on UI that will also work on pad computers and smartphones, we're stuck with it.  In short, I think it stinks.)

And then there was the time that I had to wait a year for Linux to support a new motherboard, and the time Ubuntu changed to the open source graphics card driver too soon, and it didn't support my system, and getting printing to work was a pain, and I had about three choices for scanners that the manufacturer actually says support Linux, and when I did the recently required OS upgrade, the scanner stopped working and I had to go find 2 totally different things that were required to make it work and execute commands at the command line, as the superuser, to make things right again.  Really.

None of that is going to be easy to explain to most users.  Stallman would have no problem with it, and compared to most I had little trouble, but I am not about to make Linux support a brand new motherboard.  I have a lot of other things to do with my life.

Stallman might argue that I can change to another Linux vendor, and I did look around when Ubuntu unilaterally decided that non-PAE CPUs were so old that no one would care if they weren't supported anymore.  But I am not all that happy with anything I have seen so far.  Over the years I have used a number of Linux versions, and I have suffered from all kinds of problems with both hardware and software compatibility.  Thus far, Linux Mint runs on the laptop - despite being Ubuntu and Debian based - but I am not convinced that I want to run it on my desktop yet.  Too many unknowns.  I have no idea how that issue will shake out.

Looking at this objectively, Canonical - the makers of Ubuntu - have done their very best to both lock me into their system and piss me off about their hardware support changes.  They act just like a proprietary OS vendor in some ways.  And given past experience, most of the other Linux vendors I have used do the same.

So on the OS front just about everyone is going to have a problem.  Either Stallman won't approve of your OS (walled garden or crap) or, in the unlikely event that we happen to select something he approves of, we're in for a perpetual maintenance nightmare.  And I repeat: am fairly well versed in the technology.  My parents are never going to run Linux.  Never.  Way too complicated.

But let's think a bit more about the nature of the beast here.  The OS is only the start of the issue, and Stallman's real complaint - at least in that article - is about cloud computing, which goes beyond the OS and into the application arena.

For example, apparently Stallman doesn't like gmail.  Because it - and other webmail systems like it, one assumes - will lock their users into one solution, and put them at the mercy of Google (or Yahoo, or Microsoft, or whoever).

Perhaps, but...

I ran my own instance of sendmail for several years, so I could totally handle my own email.  It's a configuration nightmare.  Not fun.  No way is grandma going to do it.  And you have to update the software all the time to patch for security issues, and there are always things breaking in weird ways.  It is my belief that mail server administration is only for those who enjoy pain.

Beyond, that, though, come other issues.  If I run my own mail server at home, I've got no simple way to do something like have email that gets delivered to that home computer also be available on my Android phone when I am not at home.  I could setup a POP or IMAP server, I suppose, but then I have to have some way to make it visible to the outside world, when my ISP NATs everything by default.  Possible, maybe, but way too much trouble.  And not something my mother is ever going to want to understand.

Oh... maybe Stallman wants everyone to have their own server in a data center somewhere, with a public IP address.  That would let them run all of this server software in a simpler way, I suppose, but does grandma really want to do that?  Or maybe we should all be using virtual machines for this?  But wait... that's cloud computing.  Can't do that.

What else does using a webmail system get me?  Over the years I've had disks fail and lost everything on them.  So running my own email system means a very intensive backup system is required.  Gee... with webmail, someone else is backing things up, storing multiple copies, and generally making sure the hardware isn't going out of date or failing.  I'd call that a win.  They are also monitoring capacity and adding more (and faster) CPUs when they are needed.  Another thing I can avoid.

So, let's summarize: with gmail - or any of the other major webmail systems - I can read my email anywhere, it's backed up, and I don't have to do hardware or software maintenance on anything on the server side.  That adds value in my eyes.  But according to Stallman, it's all just there as marketing hype and to lock me into a particular service.  I guess the choice is obvious to him.

How about other software?

My various Linux installs come with LibreOffice (formerly Open Office, before Oracle did the nasty to Sun), and it's a fine office suite as these things go.  But sharing documents with others - and having edits done in just one place, rather than having to sync up everyone's changes, which is something I actually do - isn't easy with LibreOffice, just as it isn't easy with MS Office.   But Google's office apps - available via Google Drive - do a nice job of that.  And I never have to update the software.  They make my life easier, not harder.  And there are other office suite vendors as well, so I have choices.  And Google lets me export my data in a number of open formats.  So I am not really locked in at all.  Huh.  Interesting.

I also use the image manipulation program Gimp regularly, and while it is very powerful, it isn't as easy to use for some photo work as I have found some cloud photo software to be.  And again, there are many choices here.  And since images can be downloaded in common formats... no lock in.  Fascinating.

What does all of this mean?

For me - and I suspect for most of us - cloud computing provides real value in the form of simplicity.  Of course it is possible to pick a bad provider and/or get locked into something you cannot get out of, but as my examples above indicate, that is happening on the open source side as well.  Just how many times should the average user have to reinstall Linux until he gets a version that works for him?  And how much research should he have to do to keep it running?  (And never mind figuring out how to configure the nightmare that is sendmail.)

For Stallman - and those like him - running everything themselves on their own local hardware may be fine.  And I don't mind a bit if he does that.  In fact I hope that over time it gets easier for all of us to run this stuff ourselves if we want to.  But most of us aren't going to be able to master all of the knowledge needed to make these things run well, or even work at all in some cases.  Cloud computing can help simplify things for the end user immensely if all they need is an OS and an up to date browser.  That's a lot less to maintain, backup, and keep virus free.

On the business side things get a bit less clear, I admit.  But what some forms of cloud computing offer is hard to beat.  If your business grows, do you really want to have to add racks of servers yourself to support it?  Maybe, but perhaps you'd rather use Amazon's cloud services to deal with at least some of that.  If it saves you time and/or money, it might be worthwhile.

Are you locked in if you go that route?  Yes.  But you're just as locked in with any solution.  If you do it yourself you're locked into the OS you pick, the hardware you chose, the data center you lease space from (or the building you lease or own to build your own data center), and so on.  And when you go down the application route, you're locked into whatever you buy or build.

Lock in, to some degree, is a matter of fact, and no major change is simple when you think about these things.  None.

But if cloud computing means you can get more capacity quickly, when you need it, rather than waiting two weeks for the servers you need to arrive and get configured, that could be a real win for at least some businesses.  To discard it as all marketing hype is to miss the point.

I respect Richard Stallman for his principled stance, but in reality, things are a lot more complicated than he lets on.  There is a place for cloud computing - of various kinds - for both end users and businesses.  Of course there are tradeoffs - and even risks - but if he thinks that doing everything locally avoids those issues, his head is firmly planted in the sand.



Sunday, January 25, 2009

The Printer Works

Small miracle: the Xerox Phaser 6130n that I bought works with Linux.

My version of Ubuntu (8.04) didn't want to support it initially. It didn't have a driver available and recommended a driver for a different Xerox model. That did not work. It spat out a few pages with gibberish on them instead of a test page.

I grubbed around on the CD that came with the printer and found a directory named "Linux". What? A major manufacturer supplying something for Linux right out of the box? Great! But what was in there was a .rpm file for a driver. Ubuntu doesn't use .rpm files for packages, it uses .deb files.

There is a way to convert between .rp and .deb package formats, and I started down that path, but simultaneously I went to the Xerox web site to see what they had out there. I hoped they'd have a pre-built .deb file I could download, since Ubuntu is pretty popular.

What I found, though, was a bit different. They had PPD files available, and PPD files allow the CUPS system to work with a printer just like a driver does. (Or so I gather, since my choices were to install a driver or a PPD file.)

So I downloaded the archive full of PPD files, extracted the one for the 6130, and installed it.

Like magic, the printer worked. It prints in color, prints images, etc. This is great news.

Every ink jet printer I've ever owned has ended its life with print heads full of dried up ink that will not be removed and prevents clear printing. The most recent one, while it was suffering from a clogged print head too, actually died a horrible mechanical death when something went "POP!" inside it one day. It never printed again.

I hope this new Xerox 6130 works out well. I've been without a printer for months now, trying to figure out what laser printer would work with Linux.

So far, so good!