Archive for the ‘General’ Category

The risk of upgrades

Saturday, August 21st, 2010

Sometimes it seems like we’re living in a world of two kinds of Open Source. On the one hand, we have those who like to run unstable/rawhide type of systems, with the latest kernels, and who feel that anything older than ten minutes is still in the stone age. These people are usually paid to work on such things, have a lot of free time not spent doing other stuff, etc. The very notion that you might not upgrade every system the moment – nay the femtosecond – that the new version is out obviously means you’re not cool enough for school, even if what you have is working well enough for you right now. That means that the desktop on which you only surf the web – not the system you actually do kernel compiles on – must be running the latest possible stuff released 2 hours ago, “just because” (insert no useful reason here).

On the other hand, we have “Enterprise” types who install something to solve a problem, and then have to pay real, tangible, money to upgrade/change. Testing costs money and takes time (and I mean of the non-throw it over the wall and hope – but hey, it’s new so it must be better and worth breakage, right?), and if it aint broke, why fix it? Seriously. If an older version of a Linux distribution with an older kernel works for you, and you can still get essential security fixes, then great. More power to you. This is where Open Source should be offering a compelling choice not to upgrade, if you don’t want to. Incidentally, that’s the reason you don’t see updates for lots of older embedded gadgets – as I pointed out at Linux Symposium when explaining how the average (non-geek) consumer doesn’t necessarily “need” Android 2.2 the moment it is first built in beta. Doing an OTA upgrade for something that already works introduces the risk of bricking many units and incurring cost. It doesn’t mean it’s not fun to upgrade your phone to the latest Android test build, or that some manufacturers won’t choose to do it as a value-add, but it does means it’s something you can do on your own dime. If it breaks because they upgraded it for you, they pay. If it breaks because you couldn’t leave it alone, it’s your fault. Keep both pieces.

I used to fall more into the camp of wanting the latest and greatest on every machine. Back when I enjoyed spending a weekend configuring APS to make my printer work with just the most ultra-pointlessly geeky layout for text files sent to lpr, I enjoyed re-installing, upgrading, and generally playing around. After all, this was before I really finally realized there is more to life than computers all the time. Over time, like many others, I grew up and realized that some things which work can appropriately be left alone without the universe exploding. Sure, we don’t want 40-year-old unmaintainable software disasters driving our government infrastructure of tomorrow, but there’s a medium somewhere in there too. I hope that, as the Open Source community matures, more people will come to appreciate this fact. By all means develop using the latest and greatest, but spare a thought for accepting that not everyone out there in the user community is as excited about wasting a day/weekend doing an upgrade unless or until they have to.

Jon.

Flying Cheap

Sunday, August 8th, 2010

I’m watching the PBS documentary “Flying Cheap” about the crash of Colgan Air Flight 3407, which was a “regional” plane flying Continental Airlines colors that crashed in February 2009 due to a “recoverable” stall. It’s called a “watershed” moment in the airline industry because it exposed an industry culture of cost cutting, underpaid staff, etc. The crew was tired, and the co-pilot (who made only $16,000 per year) had “commuted” from Seattle, Washington to New York for the flight during the night/morning of the day of the flight itself.

The crash and this PBS documentary raise all kinds of concerns, but none more troubling to me than the following realities of the state of US society (which also applies to other countries) in the modern age:

1). People want the cheapest price. It doesn’t matter if it’s just a few cents. We have become a nation and a world in which the lowest possible price always wins. This is called a benefit of “capitalism”, and it’s utterly disgusting. The lowest possible price is not always the best. As the old saying goes, “buy cheap, buy twice”, and when it comes to your own personal safety, you don’t get to live your life over again when that fails.

2). Deregulation and the removal of big, powerful, centralized, federal government from the affairs of things like the daily running of airlines is regarded as a “good” thing by many, the same kinds of people who scramble to explain how the financial ruin we’re in wasn’t due to a lack of regulation after Conservatives (and some democrats – small D) went about systematically laying ruin to checks and balances. The reality is that when you remove regulation, and moronically decide that government is a bad thing, you get chaos. You get unchecked behaviors that are often bad, people out to make a profit from whatever they can.

2). The state of sick pay and time off in the US today is utterly disgusting. We live in an age where it’s somehow seen as acceptable that people taking time off due to sickness should cover their own lost wages (or more likely, just not call in sick). A kind of Thomas Paine missguided reality in which everyone takes care of themselves and the government takes care of nobody. In fact, we should have a reality in which federal, state, and employer insurance provides for strong coverage of folks who are sick (who should have universal healthcare, too), who don’t have to worry about taking time off due to illness. They leave their germs at home, they don’t fly planes, and so forth. What about abuse? Sure. This is always possible. But unlike Conservatives, I don’t think abuse is everywhere, and I think it’s acceptable to allow a certain amount in favor of the greater common good. Just like how everyone should receive unemployment coverage and strong benefits because most people are actually decent and honest, and not out to cheat the system.

We need to get over a culture in which cheaper is always best, people think they should take care of every aspect of societal care for themselves – rather than their government, which should be helping in a caring society – and in which regulation is feared as some evil. It’s not just the US, this can be seen the world over. Right now, in the UK, the Conservative Party (with the complicity of the Liberal Democrats) is attempting to lay waste to and systematically ruin that country more than it already is. This is the nature of Conservatism and it is always entirely wrong. It must be countered and corrected with strong Liberal values and opinions for the sake of the well being of all future generations.

This has been a rant.

Jon.

The Anglo Files

Saturday, July 3rd, 2010

This 4th July weekend, I’ve been listening to some more of The Anglo Files: A Field Guide to the British. This is a 2008 book by Sarah Lyall, a correspondent for the New York Times, who is based in London and married to a British author. She’s lived in the UK for over a decade and her book expertly dissects many of the too-close-to-home self truths that the British would love never, ever, to talk about. I thoroughly recommend this book, though I suspect that it may not be as well received within the UK as it should be, largely due to its accuracy. It should also be worth saying that the UK is really changing, so many of the points about old boys networks are crumbling away.

As a “recovering” expatriot of the UK, I am in a position to begin to analyze many of the cultural traumas and other issues, though I am biased in large part due to my lack of enthusiasm for the country of my birth (I don’t hate the country or its people, I just don’t really care to live there). It is my hope that Sarah Lyall can offer a more pragmatic viewpoint, since she has obviously chosen to live in the country and cannot therefore really despise doing so (or she would have long-since moved back to New York City). It’s true to say that the UK has many things going for it too that the US does not, but as Lyall explains in her book, it’s not a competition either. It is possible to criticize things in one place without saying another is necessarily better.

Here are some of the topics that I have enjoyed her coverage of thus far:

*). The British cultural tendency toward repressed emotions (everything is implied, but never explicitly stated – this is why Americans “don’t get” sarcasm, because they usually don’t need to bury meaning deep in subtext), reservation, excessive self-deprecation (introducing oneself by way of describing one’s character flaws), and the use of excessive qualifying words in Every. Single. Sentence. One has only to listen to a few minutes of BBC news to realize the final point, but the issue of repression is one that I have been actively working on since I moved to the US. It’s ok to express how you feel, and – by way of abusing an example from the book – Hitler was a mass murdering genocidal maniac fucker rather than “not a very nice man”.

*). Institutions. The UK has a lot of institutions that would be best completely eliminated. The lack of a Constitution is a HUGE problem, not something to be proud of. The House of Lords is a disgrace, and the stories of the way women were treated upon first entering the House of Commons are entirely believable. I also am inclined to agree that I used to view the liveliness of the House of Commons debates as a plus for the UK (as compared with the US Congress), but I now see it is petty and childish. The US Congress – for all its many faults – takes decorum very seriously indeed, and would not tolerate the rowdiness. Of course, Congress has historically also had members carrying pistols and the odd brawl, but I’m talking about the modern age. The UK needs a giant spring clean of the old fuddyduddys.

*). Newspapers and media. The UK has hugely impressive newspaper and media sales figures, but the reality is that most people are not actually reading the Broadsheets (what’s left of them), and are instead likely reading something of the Murdoch persuasion (not fit for use as toilet paper). This includes the “Times of London” (as Americans refer to it), which I generally have no time for, even though Lyall is quite forgiving of it in particular. Truly journalistic endeavors such as The Independent are relatively few in number compared with “The Sun”, “The News of the World”, and so forth, which actively pay for the more shocking “stories”. In the US, these are “supermarket tabloids” seen in places like Walmart but not alongside serious newpapers such as The New York Times. Papers love a good story, but they don’t like correcting themselves unless compelled to do so – in contrast, the New York Times has a prominent page 2 “corrections” section. The BBC is far more biased and opinionated than most people give proper attention to, especially in interviews.

*). Drinking. Binge drinking, yobs, treating European countries as a giant festering toilet to abuse through low-cost airline trips. These are all giant issues. I hadn’t really given due consideration to how ingrained drinking is in British culture until I read about the uncomfortable self-truths in Lyall’s book. She’s right that the level of cultural repression is often (and somewhat unfortunately) countered through events driven by means of alcohol. Relationships, scandals, and other newsworthy events do often seem to revolve around getting “totally trashed”, “trollied”, or whatever the terms are these days. And taking low-fares airlines trips to Continental Europe in order to imbibe even more without any due consideration for the local population, history, or culture, as a giant problem that requires more attention that it is given.

I’m glad that Lyall wrote this book, and I’m enjoying it. I recommend it.

Jon.

What Would Jesus Buy?

Sunday, June 27th, 2010

So I sit here watching the end of “What Would Jesus Buy?”, a movie about the Church of Stop Shopping (now known as The Church of Life after Shopping) and it got me thinking once again about how our actions directly affect the world around us.

I used to be the biggest consumer whore (literally, I have been 250lbs). I used to think “big box stores”, shopping Malls, and Starbucks were King. I used to “enjoy” wondering around the local shopping mall with a latte, buying random crap. Heck, I still enjoy buying random crap, but I am trying to be more responsible with my actions, and I’m trying to learn that I don’t always need what I’m being told to buy (I canceled my Cable, so good luck advertising that crap to me anyway). What I do also directly affects the world around me. One seemingly small decision – do I buy that item? where do I buy it? am I supporting my local community? – can make a difference. And numerous small decisions can add up to real change, or at least force folks to sit up and listen for a while.

In the vain of self reform, a few years ago, I made a few promises to myself. One of them was that I would never shop in a Walmart store (I can go into one, I just won’t buy anything). Like other corporate behemoths, they come to small towns across this country and slowly put the local stores out of business, with products typically made in far away places for the lowest price possible. Quantity is the order of the day. People (many of whom can afford to pay more and instead choose not to) have become so obsessed with the lowest possible price that they have often completely lost track of where their products are made, under what conditions, and at what cost. It seems as if the only important thing in the eyes of many consumers is that their groceries and plastic crap are a few cents cheaper than they might have been had they been bought at a local store instead. I don’t want to support that kind of economy, so I do my part by never going to these kinds of stores ever again.

I stopped going to Starbucks more than a year ago for similar reasons. This is why you won’t find me in there these days. There are literally dozens of great local alternatives where I live, which brew good (often locally roasted) coffee, that tastes good, and they afford their staff a little more freedom to be creative and self expressive than they might have been elsewhere. And this week, I made a resolution never to purchase products made by the big brewers in the US, for reasons similar to those for giving up Starbucks. Although alcohol in this country is still pretty screwed up (see for example how distribution works), there are thousands of microbreweries and “craft beer” brewers in this country today striving for a small piece of the 5% of the market not sewn up by mainstream beer – most of which isn’t worth using to clean a toilet with anyway, in terms of its taste. I am glad the US is rediscovering good beer and that there are alternative choices in most markets.

It’s not just Walmart, Starbucks, or the big breweries. They’re an easy target because of their size. My attempts at self-reform are more directed at understanding the economics, social impact, and environmental cost of the consumption habits that I have. I now often look at the corporate structure of stores I have shopped at (right down to ceasing to buy a particular laundry detergent a few months ago, or choosing one pharmacy over another because of their political affiliation) or will be shopping at, who the senior management team gave campaign contributions to (especially if they elected to muddy the waters between their personal and corporate views – for example, I stopped shopping in Whole Foods after that anti-Healthcare reform rant in the Wall St. Journal last August), and what their stance is on various issues.

I’m far from perfect, but I am trying to get better. I’m also late at this party, but that doesn’t mean it isn’t worth coming at all.

Jon.

Wisdom Teeth

Friday, June 18th, 2010

So I had my wisdom teeth removed this afternoon at my local dentist. They had been bothering me (teeth ache, ear pain, you name it) and I had been putting this off for literally several years, but finally it came time to just get it done. And in the end, it was very minor. If you’re interested in a first-hand account, read on for more detail.

Photo: My wisdom teeth (alas I was not allowed to keep them)

I have a problem with dentists (and doctors). Having spent a long time in hospital once with a rare blood disorder that could have killed me, I’ve never quite gotten comfortable with medical stuff. I can’t even go into a dentist’s office if I don’t know exactly what they’re going to do (usually by reading in very specific levels of detail beforehand, studying the chemical layout of Procaine, etc.), and am sure they’re not going to try to gas me when I’m in there. When it comes to wisdom teeth, I’d built up this assumption that the only way they would remove them is under some kind of anesthetic – very common in the US – which concerns me far more than the procedure itself. Fortunately, it’s not some weird requirement to do it that way.

Being British, my teeth are hardly my best asset at times. Like many Brits, my teeth are covered by “The Anglo Files” and I was almost allergic to the notion of gleaming whites. When I moved to the US, they needed a fair bit of work, which of course I didn’t get done. Eventually, I had a bunch of fillings and a root canal, which made things much better. But every time I went, I would get nagged about the wisdom teeth and how they were impacted and becoming quite decayed, and I would then freak myself out. About the only really good thing about my teeth is that they’re reasonably strong, and I only ever had two (upper) wisdom teeth – I’m in that small percentage of the population without lower wisdom teeth to begin with. That’s a good thing – lower wisdom teeth can be a lot more of a pain in the ass.

Eventually, I decided it was just a good idea to have it done, so I scheduled today’s appointment. I had a filling and two extractions, and I have to say that the filling was more involved than the extractions! I’d built this thing up in my head – in part because of the absolute nutticisms in the States over wisdom teeth and how everyone seems to get actual hospital surgery for this stuff as a weird kind of “right of passage” right before going to college – but the actual procedure was only a couple of minutes, relatively comfortable, and less annoying than a root canal. And for the record, a root canal is not as bad as you might think that it is. The older expressions were born before we had really good dentists and pain treatment.

So anyway. The dentist shoved some things into the gap between the teeth and bone, wiggled (technical term used), and then yanked each tooth, first the top right, and then the top left. The top right one came out easily, the top left took a few more tools and a bit of hard yanking to persuade it to come out. Both teeth really were quite decayed, and I’m hoping they really were the cause of a lot of the hassles I’ve had. I asked the dentist to write me a prescription for my favorite antibiotic just in case, in order to avoid infection, and then I headed home (via the pharmacy). At this point, I can feel my mouth again, and I’m on regular over-the-counter stuff for pain, but it seems not a huge deal so far. I’ll relax and hope it isn’t much worse tomorrow.

No free lollipop at the end, but a very happy patient, who is glad that this is all done with. If you’ve been putting this stuff off for years too, I hope the least I can do is convince you that I really am the worst patient and I didn’t think it was that bad. I recommend just getting them whipped out one Friday, if you’re concerned.

Cyberwar: it’s all bullshit

Monday, June 14th, 2010

So this evening, there was another 60 minutes “OMG, the sky is falling!” story about how evil bad guys might break into the power grid (“oh no! not the power grid! how will I watch my reality TV? and waste my life?”) and turn us into cave dwellers once again. And assorted other scaremongering. It was really quite good sensationalism.

First, some basics:

1). The US power grid isn’t one system. The notion of a “cascade” shutdown from the “really super dooper” dude they interviewed was utter bullshit. The power system in this country is actually in at least three pieces – there is work to implement some sharing, but it is not complete – and it is run by regional ISOs. So you can’t shut it all down in one go by knocking out a few power generation facilities.

2). Even if you could shut it down, the grid can be restarted in a matter of hours or days. This has even happened quite famously on a few occasions. Economic impact yes, reality TV viewing disruption for sure (and that would be a great societal benefit in any case), but no return to the stone age.

3). The regional ISOs require annual cold start testing for each generating facility that is required to perform a restart. So we not only can do this, but we test for it annually and know that the power system can be restarted.

And besides, if it weren’t for the stupid trading nonsense designed to drive up energy prices and profiteering, the system could be more closed than it is today. As it is, direct control is not connected to the public internet, only the trading stuff is in some regional ISOs. And probably there are a few places connected that shouldn’t be, and running Windows. But in that case I can only laugh loudly.

When 60 minutes report these stories, they mention how some government computers are “hacked” (in technical parlance, it’s called “cracking”, and not “hacking”) by people leaving USB thumbdrives around containing nasty computer viruses (“oh noes! my computerz have teh colds!”). What they fail to mention – and any serious journalism entity should do – is that the problem here is two-fold:

1). Obviously US government personnel shouldn’t be plugging in stuff they find in the parking lot. It’s just a bad idea in the first place and should rightly be banned.

2). Microsoft Windows is so laughably insecure that I can’t take you seriously if you use it and expect security. And when the government use it, I just sigh and wonder aloud how many billions of dollars are going to be wasted by the US Congress “protecting” us from attacks on badly designed systems that are insecure by design? If they didn’t use Microsoft *crap* then they wouldn’t have half these problems. And I don’t just mean “use Linux”, I mean use something else. Almost anything else.

The latter point of a global dependence on bad Microsoft crap is generally ignored. In all these stories. And then they go mentioning these silly-and-pointless 24-style “cyber command” places (likely filled by people who just about know a bit more than how to use Microsoft Word, but still largely use pointy-clicky crap with giant video screens in over sized and over expensive “mission control” rooms) where the government can protect us from bad software design and morons who plug important shit into the outside world so it can be broken into in the first place.

Half the time, I feel it’s like there are these people running around justifying their need to fight off bad guys while most of the issues are pointless to begin with.

Jon.

Intel/AMD CPU catchup

Sunday, March 28th, 2010

So I decided roughly a decade too late that the POWER/PowerPC/SPARC RISC fanboy in me probably needed to (reluctantly) accept that x86 won the war, which means I’ve been brushing up on my x86-64 assembler (by poking in head_*.S, which is correctly written in AT&T syntax, and not that other syntax I shall not name) and trying to catch up on what the heck Intel and AMD are working on in terms of roadmaps, etc. I now know how REX prefixes work on “Intel 64″, for example. And I’ve read the recent changes to the ABI (Fortran support included!). I shall poke at the recent SVM/nested page tables stuff sometime for fun. Oh, and I don’t care that I’m not an IA32 assembly guru, I shall focus on flat 86-64 and forget about last century’s segmentation and other ye olde bank switching inspired hacks.

This weekend, I’ve gone over all of the recent models and public announcements, read some IDF bits, and learned about Intel’s QPI (as opposed to the one I knew, AMD HT – QPI is basically trying to throw off the FSB, but it does some nice failover things HT does not include AFAIK). I’ve concluded that the model numbers used by these guys these days are way, way too confusing. Even more so than when I last really cared about this stuff – determining which “Xeon” has Intel-VT or AMD-V is a game of looking up lots of 4 digit model numbers where a simple naming formula somehow including reference to the microarchitecture used in the model “name” would suffice to convey far more useful information). But, none of this stuff is your grandfather’s x86. It’s every bit as capable (in x86-64 anyway) of taking on the other Big Endian arches I have always personally preferred.

I expect to do a lot more to keep up with x86 development rather than letting my own personal academic fondness for cleaner ISAs limit my exposure. I’m thinking about getting another older Xeon build/test box for playing with x86 stuff and for speeding up kernel compiles at home – perhals a used Dell PE1950 or Precision 490 as these have the best bang for buck ratio at the moment. What I would like to know, from anyone who bothered to read this far, is where should I be going to get the very latest information on x86 developments? I’m on the k.o lists, and I am specifically not a game playing weenie who cares about that stuff – I want to know about roadmaps, things like the new AES extensions, etc. I don’t care that the “whizzbang X1234 blah blah would look uber l33t in this plexiglass case I just bought on eBay”.

Jon.