One of my favorite automation strategies is to use Makefiles. The reason is that unlike a shell script you get free error-checking: a Makefile will bomb out on you if one command in the sequence fails. You can also chain targets together, lay out sub-dependencies, and the rest. I’m just finishing up on a little project which has this as the top-level target:
# default
all: dhcp sync yay
# cron-able
dhcp: hosts restart-dhcpd
# Positive feedback rocks!
yay:
@echo
@echo "YAY! Have a fortune cookie:"
@echo
@fortune -sa
The first target, “all” is what will be run when a user types “make” and you see that things get broken down further. The “sync” target depends on the user to either enter a password or forward an ssh credential. (more…)
I have a deep-rooted aversion to Daylight Saving Time, that ritual where we screw with the clocks in the Spring and the Fall to get people out of bed earlier so that, originally, New York stock brokers could get an hour of trading in before the London exchange closed, and later so that people may have more time to spend money on leisure sports in the afternoon. Farmers and parents find it a bear, since animals and children don’t really appreciate having their schedules re-adjusted.
But really, it saves energy! Look! Science!
Nope.
According to a new study of energy consumption in Indiana, Daylight Saving Time actually results in increased energy consumption, especially in the Fall. Remember when the Bush Administration extended Daylight Saving Time a few years back as a magical way to conserve energy without actually doing anything? (I remember, because I had to patch servers to keep their clocks consistent with Congressional legislation.) The study finds that DST increases energy consumption the most in the fall!
Estimates of the overall increase are approximately 1 percent, but we find that the effect is not constant throughout the D.S.T. period. D.S.T. causes the greatest increase in electricity consumption in the fall, when estimates range between 2 and 4 percent.
These findings are consistent with simulation results that point to a tradeoff between reducing demand for lighting and increasing demand for heating and cooling. We estimate a cost of increased electricity bills to Indiana households of $9 million per year. We also estimate social costs of increased pollution emissions that range from $1.7 to $5.5 million per year. Finally, we argue that the effect is likely to be even stronger in other regions of the United States.
Basically, the gist of it is if people get home earlier in the afternoon, they save money on lighting, but they fire up the AC or the heat. Back in WWII when people had more incandescent lighting than climate control, DST may actually have saved a bit of energy.
My main objection is that monkeying with the clocks is a very messy way to implement a notion to “wake up earlier in the summer and enjoy the morning” but I’m a crank.
We were talking about on-call at lunch today, and many of us recounted that on more than one occasion we had woken up immediately prior to receiving a page that would have woken us up. I recounted an experience where I dreamed that a server was crashing right before I received a page about a server crashing. These could be random anecdotes, or perhaps premonitions. Maybe we understand the patterns of outages on some really deep inarticulate level, or maybe we just wake up a lot or dream of computers crashing but we are only apt to remember these incidences if the pager brings us to full consciousness. Who knows?
As I was sitting here with my headphones on just now not listening to anything I heard the blit blit blit blit blit of radio interference, probably my mobile device exchanging data. I had a fanciful idea that maybe, just maybe, people can actually sense radio waves in some manner and that those of us who have developed a strong Pavlovian response to a paging device might be able to connect a particular pattern with a particular outcome. When the pager near the bed starts to chatter at 2AM maybe there is some part of the human being that can see that pattern.
I have long thought the Internet needed a tip jar. I felt so strongly about this that back in 2003 I spent some time building my own online feed aggregator, which had the ambition of collecting feedback (like Digg) and later monetizing by allowing users, should they desire, to “share the wealth” back to site authors. Say, if you’d marked 50 pages that you like, and decided to chuck in $5, the site could take your $5 and try to give, say, 10 cents to each site. In this way people could gain some modest remuneration for the Internet publishing efforts.
Of course, that was a bit ambitious for me and the project was scrapped when I scored full-time employment.
Briefly, the idea is you can earmark sites for tips of various sizes, then send in a few dollars via PayPal. Tipjoy will then pass the tips along to site authors. They profit by collecting a 3% transaction fee, and I assume they get some float off their PayPal balance as well. At this time authors “cash out” via Amazon.com gift certificates or by sending the money off to charity. That is for legal reasons though it sounds like they hope to traffic in cash in the future.They recently added the ability to cash out via PayPal as well, and deposit to a checking account is a planned feature.
I added a tip jar down in the feedback section below. I set the default to a modest 2 cents. I’m more curious than anything as to how many folks would bother to spread the karma.
I was just mulling over proposition 8 and how happy I am to see that Google and Apple have each taken a public stand against it. So, I figured I’d shoot a brief message off to upper management suggesting how proud I would be if my employer were also to take a stand in defense of civil rights.
Then I wondered that other people may have similar sentiments and similar inclinations to share their feelings with their management. I’m not holding my breath that my company will take a stand, but it doesn’t hurt to share the idea.
I consider it a hard-won blessing that I work in an industry where I can feel comfortable openly expressing my support for the rights of homosexual people.
UPDATE: Due to multiple requests, a “sample text” that folks should feel free to steal / adapt for their own purposes:
Boss,
I think it has been great that both Google and Apple Computer have both publicly stood in defense of the diversity of their employees and their community and made a public stand against Proposition 8.
I have been a Sidekick user since the black and white days. Prior to receiving my G1 on Tuesday evening, I had used my Sidekick 2 pretty heavily for nearly four years. I loved its solid feel and the membrane keyboard. The applications mostly worked together pretty well, though the web browser was butt-slow. I have high hopes that as the spiritual reincarnation of the Danger team, the Android team will spawn a worthy successor to the Sidekick 2, which I regard as a peculiarly satisfying pinnacle in the evolution of the mobile phone.
I have been playing with my G1 for three days now. Here’s how it has been so far . . .
Setup
I fault the Quick Start guide for going over what the buttons do and the user interface, then half way through the booklet it tells you how to put the battery inside the phone. That was somewhat annoying because the very first thing I wanted to know is how do I get the battery in the phone and turn it on. Transferring the SIM card was easy enough, and the “tap the Android” process worked rather well.
Unfortunately, the night I tried to first use the phone there was a bug that surfaced in Google’s internal systems so I could not log on to the phone through my hosted domain account. It tossed out a bizarre error code and as usual Google’s support was no help: another customer with Premier hosted domains was incorrectly informed that the G1 didn’t support domain logons.
In retrospect, I should have tried T-Mobile technical support, who have through the years done a solid job at escalating Sidekick issues appropriately. I give the device an extra bonus point for putting the “factory reset” feature within the options panel, rather than making it a voodoo process that involves a paper clip.
Hardware
I wish the Android could be incarnated within the Sidekick 2’s hardware. The Sidekick 2 is built like a tank, with a solid feel and rubber bumpers. You could bash a fool in the skull with a Sidekick 2 if you had to, wipe off the blood, and get back to writing an email on that awesome rubber membrane keyboard.
The G1 is smaller in each dimension, and feels more rickety. It is solid enough, but it is no Sidekick 2. My biggest gripe is that the keyboard, while not truly awful, leaves something to be desired: there is little tactile feel and it took a little retraining to hold my right thumb further out over the keyboard in order to clear the right-side wedge. I am not sure how that will do for prolonged typing. The space key is also narrowed and at least once I have typed an ‘@’ instead of a space.
I like that it charges through the Mini USB port. Yes, I would prefer if it had a proper headphone jack, but that’s not a huge deal for me.
I really look forward to the day that the screen rotates based on how you are holding it.
Gmail
The Gmail client is very nice: it integrates really well with Gmail on the web and my contacts list. If you compose a new message it can check not only your contacts list but also other addresses that you have corresponded with, which is nice. When I read a message on the phone it is marked as read in Gmail and vice versa. It is also easy enough to switch between tags.
Camera
The Sidekick 2 takes muddy pictures on a good day. The G1 has a 3 megapixel camera that takes some pretty nice photos under decent lighting conditions. Unfortunately, the G1 fails a few things the Sidekick 2 got right: the lens is right where I’m apt to put my thumb, there’s no flash, the shutter lag is substantial. The Pictures application is decoupled from the Camera application, so you need to switch from the one to the other to review your photos.
Contacts
I was at first disappointed that there is no practical way to export my contacts from the Sidekick 2. I went through my Gmail Contacts list and cleaned everyone up, integrating phone numbers to email addresses. I had a lot of fun finding pictures of everyone on the web and cropping them into my contacts list. There seemed several instances where updates I made on the phone or on the web didn’t make it across. And one contact I swear got eaten and had to be re-added.
One feature lacking from the Sidekick 2 is the ability to put friends in groups. At the very least it is nice to be able to pull up a group of coworkers versus the rest of your friends. Maybe there is a “tag” feature I have overlooked, or things will improve in the future.
Another unfortunate bug is that in the Gmail interface, you can not add a photo to a contact who has only a phone number.
Web Browser
The Sidekick 2 web browser was horribly horribly slow, and would tend to get upset if a page had too much JavaScript. The G1 web browser is fairly zippy.
That said, the interface can be extremely frustrating: wide web pages require a lot of dragging up and down and back and forth. Sometimes columns of text will be shrunk to page width, but not always. You can not easily resize text. (You couldn’t do this on the Sidekick 2 at all.) The Google Reader app works well enough but there is no way to make the font larger. (I hate squinting.) I am not yet used to the zoom feature: you need to hold your finger down on the screen, without clicking a link or scrolling, then you need to go catch the + or – button that appears and hold that down . . .
The Sidekick 2 allowed for bookmark folders: the G1 web browser has no folders or even a provision to reorder the bookmarks. This is really frustrating because one of the great features to me was to have a folder of Nextmuni bookmarks so I could quickly pull up information on approaching transit vehicles. I look forward to this being fixed. It would be even more awesome if bookmarks could be synced with say a Firefox subfolder on my computers.
The web page links are often quite tiny, and my big beefy man fingers are constantly clicking on the wrong thing.
Messaging
The G1 data plan includes I believe 400 SMS, whereas the Sidekick data plan was $5 cheaper and included unlimited SMS. I like that the SMS application groups messages by sender as in Gmail: tapping a thread brings up what amounts to a conversation with a contact. Deleting SMS messages is a little annoying: you get to confirm that you will delete an entire thread.
The Sidekick 2 supported AOL instant messenger and you could add a Yahoo instant messenger application. What it did do well was to proxy the connection through the Sidekick service so that if you lost reception temporarily messages would queue on either side and be delivered asynchronously. I do not know if the G1 does this.
The G1 supports Google / Jabber, Yahoo, MSN, and AOL within a single IM application. I prefer the way Pidgin works where contacts are grouped together regardless of their protocol. This IM application seems to require a lot of navigating up and down the hierarchy: I have no idea if it will be much fun if you are chatting with a friend through Google at the same time as you are chatting through Yahoo. Anyway, I don’t intend to use instant messaging much.
Maps
The Sidekick 2 had no navigation features. The G1 Maps application so far has been slow, inaccurate, and unstable: it crashed once and other times it would take a long time to inaccurately figure out its location. GPS is disabled by default to conserve battery power. There’s no turn-by-turn navigation. The first time I tried to grab directions the service was down, and the next time it took some fidgeting to figure out how to tell it that I wanted directions to the destination from my current location. (Click on the destination label on the map and then hit Menu > Directions.) Another frustration is that if I go to my location and then switch to Street View, I still have to click on the map near my location, and then figure out how to navigate the street view back over to the original location.
Map searches are very slow (often 10 seconds or more) even on the 3G network.
The Maps app could use some polish. I also need to get used to it. I am very disappointed that there is no transit support.
Calendar
Yay! My mobile phone now syncs with my calendar! I can not really offer a thoughtful review of the Calendar application, because whenever I launch it the user interface makes me want to vomit. I guess it will take some getting used to.
EvilFidgety Touchschreen
The “desktop” pans across three screens, which offers some possibility. It is easy enough to trash the analog clock widget on the middle screen. Alas, the touch screen takes some getting used to. For example, the first dozen times I tried to trash the Google Search widget I failed and concluded that Google had hard-wired it so that I was required to keep that widget on my desktop. I didn’t want the widget, and I hated having it forced upon me: how evil! After ranting about that here I gave it another try and successfully trashed the thing. I’m sorry I doubted your integrity, Google! Unfortunately, the wide Google search bar on the right screen can not be trashed. I google-search from within the web browser. I do not need nor do I want a Google search bar widget on my phone “desktop”. Forcing it upon me is evil and Google should apologize.
Android Market
Both phones have a marketplace where you can shop for and install additional applications. The Android Market is new and somewhat sparse. Apps download and install in the background, and have ratings and reviews so you can avoid the schlocky ones. The “Translate” app is kinda cute and potentially handy. And “cab4me lite” promises to help you map out your location and then call a local cab company, which sounds awfully neat.
What I really want is a nice note pad–I was always scribbling notes on my Sidekick. I also want an SSH client: preferably one that supports key authentication. Give it some time. I guess if I urgently desire a notepad I should jump on the developer tutorial.
Summary
People ask me what I think of the G1. I answer that it is okay and it will get nicer with time. the conventional wisdom that it is “good for a 1.0 device” works for me. If pressed I say that I miss the solid feel and membrane keyboard of my Sidekick 2. I like to think that in the next two years the Android platform will mature and someone will release a model with a form factor more to my taste.
I should receive my first new mobile phone since 2004 on October 22. I don’t really need a new phone: the old Sidekick 2 is built like a tank and shows no sign of giving up the ghost any time soon. But I went and pre-ordered a G1 for three reasons:
1) I have a friend on Google’s Android team.
2) To annoy the iPhone weenies.
3) My employer made its targets, so I spend a little of my bonus check.
One crucial improvement over the iPhone: a Menu button. It summons a panel of big buttons for functions related to what you’re doing. It’s the equivalent of right-clicking a computer mouse.
“Right mouse button!” HA!
Where Android really falls down is in the iPod department. There’s no companion program like iTunes to sync your photos, music and videos to the phone; you’re expected to drag these items to the phone manually after connecting via USB cable to your Mac or PC. More time-consuming fussiness.
This is a win for me: I hate iTunes. Dragging and dropping files is just the ticket, in my book. I’ve been dealing with that interface metaphor for fifteen years and its more comfortable than dealing with the quirks of some new software package. (Back when I had lots of issues with iTunes doing stuff like copying my library over twice.) That, and I run Linux desktops.
Some of the goodies in Android will reward the iPhone holdouts: voice dialing, picture messaging, built-in audio recording and the ability to turn any song into a ring tone are all included — no charge.
Voice dialing? That should be nice. And audio recording might be fun, too. Too bad the camera is supposedly crap, and no video. But that’s why I have my Canon.
The big news is the physical keyboard. It’s not pure joy, though. The keys don’t click down much. Worse, you have to keep turning the phone 90 degrees from its customary vertical orientation every time you need to enter text. That gets old fast. And it’s bizarre that, even though the phone contains a tilt sensor like the iPhone’s, it’s not hooked up to the screen. Turning the phone 90 degrees to get a wider look at a photo or Web page doesn’t rotate the image. You have to do that manually, using a menu or by popping open the keyboard, which makes no sense.
The keyboard is my biggest concern. I think the Sidekick 2 keyboard is nearly ideal and it is a big reason I shun the iPhone. Software bugs (sounds like the e-mail client is a mess) can be addressed by future patches or possibly third-party applications. I like to think rotation can be sorted out down the road.
Overall, it sounds like the G1 will be the dowdier, more adaptable PC to the flashy smugness that is the iPhone. And, I have to admit, while I love the turtleneck sweater I bought in France, I am a PC guy. (I think that’s the point of the new Microsoft ads: Bill Gates is as big a schmuck as Jerry Seinfeld or any one else.)
Lastly, this is just sad:
Finally, there’s no headphone jack. (Hello?!) If you want to use headphones, you have to buy and carry a special adapter that connects to the USB jack.
Hokey but potentially effective. It could be more transparently patronizing, though.
Seriously though, deadline to register in your state could be October 4. This web site can get you registered right quick: http://www.declareyourself.com/Try asking Google and then tell it which state.
Allegedly, anyway. Despite the S&M graphics, I am wary of any web site that asks you to disable your pop-up blocker. This web site looks comparably sketchy: http://www.rockthevote.org/
Seriously, can’t we register to vote without all this broken web 2.0 crud? Try asking Google and then tell it which state.
I hate mobile phones. I have had a Sidekick2 forever because it lets me jot down notes and do e-mail and IM and check things on the web. But I fricking hate talking on mobile phones! I have been tempted to ditch the expense and hassle of carrying a device around all the time and move back to index cards and save myself $50-$60 per month. Alas, a mobile phone is basically required of any SysAdmin. In the past year I have had the good fortune of working at a larger company, where I’m only on-call for two weeks every other month. So, I have begun to leave the mobile device not-on-my-person when I’d like to relax. It is kind of a bummer for people who want to call me, but the tranquility does me good.
Anyway, the HTC Android “Google Phone” was announced yesterday. I bit the bullet and pre-ordered an upgrade for my trusty old Sidekick2. After all, a lot of the same team who designed the Sidekick went to work on Android, and the large company I work for is sending out the bonus checks this week. I’m starting to get a little excited at the idea of having a GPS device, because mapping is so hot. But the other win for me is to annoy the iPhone people.
Because I am a cantankerous old mobile-phone hater, I’m also naturally annoyed at the whole iDong Mac fanboy spectacle. The iPhone is that first fancy phone, but my soul reviles at the thought of paying a premium to get locked into the whole iTunes racket and . . . ugh. It is a toy! The open development platform is going to be a nice improvement on the Apple-mediated iPlatform. Anyway, the other reason I’m looking forward to getting the new Android is to steal the self-satisfaction from my iPhone comrades. “My phone does all that janky stuff too, but it costs me somewhat less and I have greater freedom.”
What is neat about mobile phones and other “micro-computers” is that there is no dominant operating environment yet. Apple and Google are trying to get in early, and doing a better job at it than Microsoft, and it is refreshing that Google’s device emphasizes open source and platform portability. We’re going to get to replay the “OS Wars” of the 1980s and 1990s all over again and I honestly think the Android platform has a lot of potential to dominate. I personally believe that in the next few years it will have surpassed Apple a great deal, because much as MS-DOS was licensed to a growing horde of PC makers, Android seeks to live on many devices, and Apple, just as in the old days, will become that special province with 10% market share of loyal Apple weenies. I liked Apple weenies a lot more when they were persecuted oddballs. These days they’re just irritating.
The following bit of advice, while not of my creation, has been well-received of late:
You’ve been meeting folk but there are those who you’d rather avoid, and you delete them from your phone. Later, they call and you answer because the number looks familiar: maybe it is a family or coworker! Awkwardness ensues.
Solution? Keep the number, but change the name to “Do Not Answer” — especially if you may have a tendency to get drunk / lonely.
I do not actually use this strategy, but I read it a couple years ago and its re-telling was recently well-received, so I thought I’d share.
/d
Me? I recently changed my voicemail to explain that I tend to avoid my mobile phone altogether and that e-mail works far better. I really dislike talking on the damn thing. It makes my brain warm and leaves me feeling anxious. Yeah, I’m weird.
Lately I have taken to reduced caffeine. During the week, I drink tea. On the weekend I head out to the cafe and enjoy a chocolate croissant and a black cup of coffee, which leaves me bold and reckless. Last weekend I picked up some paints at the hardware store, with no clear goal in mind. I used up the yellow painting the wall of my dining area, then felt inspired to render a Swedish Flag with the blue. I’m pretty pleased with the result. I think there may be a bit more to come.
I have always had every intention in the world to vote for Barack Obama. I really wish liberals found him more fascinating than the Republican ticket because while I admire and respect John McCain and Sarah Palin I would just as soon not hear anything more about them. I mean, shut up already! Yeah, the doddering maverick POW, and the folksy ultra-conservative corrupt hockey Mom from Alaska–I know, I get it, I’ve had my fill! Can we go back to talking about the charismatic Christian-not-Muslim black guy and his tell-it-like-it-is sidekick for a change? Hearing about those guys doesn’t irritate the f*ck out of me.
Will Wright’s latest software toy is out, and while I would be excited over such an ambitious project, I have also been underwhelmed by SimCity 4 and other games of that type in the past several years. There’s also a protest afoot against the game’s copy protection, so it has just over one star on Amazon.com. On a mailing list at work I explained that instead of rushing out to buy the new game, I’m taking a wait-and-see approach:
My interpretation is that it is an intriguing idea, but rather than building an interesting and educational toy, EA smashed it into an over-hyped high-priced bauble aimed at mass-market appeal. You can download the creature creator for free, but instead of being constrained by say, the amount of metabolism your creature would require or how fast it could reproduce given all it attributes, the only trade-off I could find was that if you spend more “money” you can buy more “features” . . .
My approach for now is to boycott the initial sales to see if they come around on the DRM, and wait to hear what other folks think of it, as well as maybe a price drop.
I spend a few minutes most mornings at the bus shelter at 19th Ave and Taraval. In July, they featured this public-service ad on the street side of the shelter, encouraging black youth to “stay alive and free” eating mama’s home cooking, rather than the cuisine associated with orange jumpsuits:
Cheesy, but well-meaning. I encourage all youth to “stay alive and free”.
The shelter side of this shelter usually features bizarre fashion advertising. In July, on the flip side of the above poster was this bizarre lady: a white woman seductively holding handcuffs. In addition to promoting “fashion” I guess she was trying to explain that temptations can be crassly grotesque:
To be sure, my neighborhood is dominated by Chinese families. Red is the color you wear on your wedding day.
Meanwhile, over on the BART, I see this strange poster in the distance:
I got up to take a closer look to discover a black man in his underwear, barricading the door against the sodomy we assume accompanies a prostate exam. “If you’re over 50, or an African American over 45, get your prostate exam!”
No comment.
So, yeah, there are some provocative posters, questionable imagery, but look beyond advertising to real folk, and you’ll see some soul.