Sunday, November 30, 2008

Double Barrel

Last Saturday marked the 15th homebrew competition in a friend's backyard, and as usual it was a lot of fun.  Last year I won the competition with a "Barack Obama Black Ale".  As that was my 4th consecutive win there was some talk at the judging table about asserting term limits.

This year we had a great turnout, 15 brews from maybe 10 brewers. I won "best name" for Double Barrel Palin Ail (puns intended).

The beer itself was only moderately popular (my other entry, "Red Head", did very well so far as actual beers went), but here is a recipe for the Palin Ail for those who might be interested, for a 5 US gallon batch:
  • 8 oz 60L
  • 6 oz Cara Munich
  • 6 oz US Victory
  • 2 oz Malto Dextrin
  • 4 oz flaked rye
  • Steeped 30 minutes at 150 F
  • 6 lb light malt extract
  • 1 lb dry malt extract
  • Bittering: 1/2 oz Horizon 11.4 + 1 oz East Kent Golding 4.5
  • Flavour: 3/4 oz East Kent Golding + 3/8 oz Nugget from my new hopyard
  • Aroma: 1 oz East Kent Golding
  • 3/4 tsp Irish Moss
  • 1 tsp DAP
  • Pitched a Nottingham dry yeast

Saturday, November 8, 2008

Overbite in web pages

I'm probably dating myself when I remember (wistfully) the old Dr. Dobb's Journal slogan "Running light without overbite."  Certainly these days, in many parts of the high tech industry,  I don't see a lot of care and attention to load generated by this or that feature.

I returned to my desktop earlier this morning to find the fans cranked up and the cpu spinning at something like 50% load. I wasn't running anything in particular on the machine, no background compiles going on. No, I tracked this down to two web pages with some active content of some kind that I'd casually left open. The pages were: viewing an article on www.economist.com (about 15% cpu); and a friend's blog www.rklau.com/tins/ (bounces between 12-40% cpu).

Remember when 'engineer' was a verb?
en•gi•neer  vt  to contrive or plan out, usually with subtle skill or craft
en•gi•neer•ing  n  the application of science and mathematics by which the properties of matter and sources of energy are made useful to systems
Amusingly, when writing this note I visited ddj.com. It too loaded up a pile of crap, including a video with sound. Boy how DDJ has changed! And I guess (from the video) they don't see their apparent developer audience as populating cube farms.

Thursday, June 5, 2008

switcher-backer

A guy I drink with from time to time recently posted that he finally switched to a Macbook Pro from a Thinkpad, and he's eating a little crow for all the times he's harassed his colleagues about their laptop choice.

Me, I switched a while ago, and while there are lots of things I like about the MacBook Pro, there are some things I hate.  Another drinking buddy of mine put it eloquently, the Mac is real pretty, but not ready for business.  I'm not sure I completely agree, but here are a few data points.

The Window resize handle. Singular. As in, one. You know, I want to use the shortest mouse gesture as I can to get to my window controls. Having just one resize handle in a corner, that's dumb. And it in the lower right corner, when I spend most of my time closer to the top left (eg, in a mail application, I'm selecting mailboxes and messages from lists on the left or top). Neither of these choices help usability at all, IMNSHO.

External monitors.  As a business user, I drag my laptop between my desk, with a big widescreen monitor; a meeting room, with a stupidly low-res projector; and my home, with something in between. Strange as this may seem, I don't close all my windows every time I plug into a new monitor.  That means my windows are already there, already as big as they are, and that single resize handle is off the bottom or edge of the screen so I can't reach it.

Application menus. Windows puts application menus in the window you are using, so they are close to hand. As if it weren't bad enough that the mac always has the menus at the top of the screen, here I am with two monitors. The window I'm working in is in one of them, meaning my mouse is in one of them. But all my application menus are in the other monitor. Short mouse gestures, remember?

Drop down selection lists.  My browser is in my nice big monitor, I start typing an address, and a drop down appears with matches against what I've typed so far. The drop-down is in the other monitor.

I could go on. Little frustrations, each of them, but add them up and its like the notion of two monitors and day-in-day-out use was something of an afterthought.

And while many folks blame PCs or Windows for flakiness with suspend and so forth, I've frankly found the MacBook to be worse. Every now and then mine just doesn't come back. Or it fails to suspend when I close the lid, and I take it out of my bag scorching hot.

Don't get me wrong, there are things I really like, too. I like having a shell prompt. I like the fact that a lot of Linux software runs. Heck, I ran linux exclusively on a laptop for about 4 years. I like Firefox on the Mac, which doesn't have the utterly brain-dead left-click-copy thing that firefox does on the PC and linux. Wireless networking is much better on MacBook. I like the magnetic power connector. I love love love the anti-glare screen, which I can use comfortably with full sunlight shining on it.

The thing that is an absolute killer, though, is gotomeeting. The fact that gotomeeting doesn't work on the mac makes it a bit of a non-starter. Either I'm carrying two laptops, or doing my remote presentations by remote desktop'ing to a windows box, which again is just dumb. This one isn't entirely Apple's fault, but a big issue nonetheless.

I'm sure the Mac is great as a desktop, or even as a laptop that you always use in a single configuration. But for a power laptop user, I don't think it is all there.

Is it better than a Windows laptop? On balance, not sure. 

I agree with Rick, though - it is very very pretty.

Monday, February 18, 2008

Tool for requirements management - not

I was at an industry talk a week or two ago, and a vendor in the corridor was selling a Requirements Management tool.

The tool in question provided a mechanism to enter, store, and report on product requests. It also allowed web entry of requests directly by customers and prospects via a portal, so the busy PM wouldn't have to enter requests himself. So far as I could tell, or the demo boy could tell me, it didn't do much else.

In the simplest form, requirements management could be just storing and listing requests. I guess. Though that's pretty simple-minded.

An axiom for product managers is that we serve markets, not individuals. We build product that meets the needs of a broad audience. We don't like to build one-offs. We identify groups of people with similar needs in terms of features, delivery channel and so forth, and money to spend, and then go about fulfilling those needs.

So for a product request to be useful to a product definition process, we need to be able to do things with it that are a little more involved than just listing. We may need to decompose into finer grained components of ideas. We definitely need to combine several requests together that may be worded in different ways. We want to identify the group who made that request, and collect the other requests made by group.  We probably want to define one or more product features that together satisfy that request, and associate releases with those product features. And so forth.

Capturing, keyword search, and listing are just the barest beginnings, and without the analysis capability are effort for no return. After all, I can capture requests just fine in an email folder.

These thoughts in mind, I asked the demo boy a few simple questions about how his tool would help categorize requests, or trace request (de)composition, or basically support any kind of decision making.  He earnestly answered the third question, "Sure, you can do that with our tool! If you see a request come up 2 or 3 times, you probably want to build it in your next sprint."

*sigh*

Saturday, August 18, 2007

iTunes and remote media via NFS, not SAMBA

Strange that I haven't posted for months ... and that one was about iTunes as well.

Anyway, I've been cursing iTunes for months. I have over 5000 songs in my home library (for the record, almost all ripped by me, a few from artists who supply downloads, links below), and rather than copy them to all the machines in my house and try to keep them all sync'd, I store them all on a terabyte+ RAID server on a linux box. The filesystem is exported through SAMBA and mounted into each of the Windows machines around the house.  Hey, it works.

But it hasn't worked well for a few reasons. One is that it is SLOWWWWWW! It took me ages to figure that it was Samba that was causing, or at least triggering, the problem.  It seems as if iTunes needs to read the files when just scrolling the file list in the iTunes library, which is quite insane.  But what I would see is I'd drag the scrollbar and a full second or more later the window would actually scroll. Ditto if I click for page down or something. It was desperately annoying. And going through SAMBA to read these files, well, it wasn't pretty.

So today I bit the bullet and figured out how to install MS' NFS Client for Windows, and I remounted the linux filesystem through NFS. This is a huge improvement. While still slower that local, the action is almost live now.

Of course, the real culprit is a broken design for iTunes.  Whether single-threaded, or just reading the files when it doesn't need to, simply scrolling the window shouldn't do anything but scroll information already present, either in memory or at worst already in the library file which *is* local.

For those with similar problem, here's how I did it.
  1. stop iTunes 
  2. Download Windows Services for Unix direct from MS
  3. unzip into a local directory (just click the exe in explorer)
  4. install in a cmd window per these instructions 
  5. reboot - the mount command used below wasn't found until rebooting
  6. unmount the samba drive
  7. remount from the command line. I used: mount -o rsize=8 -o wsize=8 -o anon -o nolock \\server\media m:
  8. move the itunes directory under My Documents | My Music to another name. You can delete it later.
  9. start iTunes. In Advanced settings, I set the location of my itunes folder to the remote media folder (in my case, M:\mp3). Make sure "Copy files to iTunes folder" is cleared. The reason I set the library to M:\mp3, rather than keep the library local, is so when I rip more albums they are automatically saved on the server.
  10. File | Add Folder and pick the remote media folder.
  11. go have a beer or two while all the files are indexed, volume and gapless checks are done, etc
That's all it took, and now iTues is almost as responsive as I would like on Windows with all media files remote.

Enjoy.

I promised links to some artists who supply downloads of their music. Here are a couple:
  • Children of the CPU supply mp3s of all tracks on their album for download here  
  • SXSW'07, there is a torrent of 739 tracks on this page
  • I love Milla Jojovich, and her site usually has some tracks available, usually demos.

Wednesday, April 11, 2007

iTunes store and country restrictions

Apple has come under attack again recently in the EU regarding restricting the sales of certain content to purchasers connecting from specific countries.


The complaint goes that this is anticompetitive. Apple's response is that they can't sell what they can't get, and their suppliers (the owners of the media IP in question) license specifically by country.

Disclaimer: I'm not a fan of iTunes store. I have never purchased anything from them, and don't plan to do so until my purchase will technically permit what I believe to be my fair-use rights: to copy and enjoy my licensed content on my various players and devices.

That said, I'm siding with Apple on this particular issue. Bemoan country restriction all you want, it isn't the fault of the channel. The fault lies with the content owner, in this case, the record labels. For arguably valid financial model reasons, vendors will sometimes charge different amounts for content destined for different markets. To justify the practice they sometimes (but not always) specialize the product to the market, but that doesn't change the basic picture.  DVD vendors do this with region-encoded discs. We can argue that this practice is self-defeating, that it only encourages illegal cross-region copying, and no doubt makes us grow hair on our hands, but the reality is that the owner the IP should be able to choose when and how to license what they own. Just as it is my choice whether to buy from them. Or, as it says in a restaurant near my home:

We reserve the right to refuse service to anyone. 

EU regulators can take the record labels to task on this one as they will if they want "to open the market so people can shop freely throughout the EU", but they shouldn't harass a store who is stuck with the terms the labels are willing to offer.

Unless of course the complaint is pure harassment.

Sunday, March 25, 2007

Yahoo footer turns a meal (well, email) into spam

Almost an anagram, that.

I started a new job a few months ago, which has taken a real toll on my blogging, and also on wading through my 'probably spam' folder. So surprise, when I was looking for something yesterday I found a raft of emails I receive (or not) from friends sending mail through Yahoo accounts.

Best I can tell, some of the ads Yahoo is injecting into the footer of valid messages from my friends are twigging my trainable filter. I suppose Yahoo footers are old news, but they haven't bit my filters before, perhaps because I stayed on top of things a bit more in the past.

Imagine getting an email with some reasonable text on top, and text like this underneath.
Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit.
Here's another one:
Get your own web address. Have a HUGE year through Yahoo! Small Business.
This follows a classic spam pattern in which the spammer is prefacing random sections of real text on a spam message to get it past a filter. Filters are getting pretty good at not falling for this. I especially like the all-caps 'HUGE'.

I gotta say, I'm intrigued that Yahoo is doing this. First, what a stupid thing to do if you want your users' emails actually get to their destinations. If you care. Second, the recipients of the messages haven't opted in to receiving a marketing message from Yahoo. There isn't an opt-out link on this marketing message.  The acceptance of marketing-in-exchange-for-service is a reasonable one, but it is the message senders that have made that deal, not the recipients.

I figure California's anti-spam law didn't go far enough.  It only seems to treat whole messages that are unsolicited - not adding commercial messages to other messages. Imagine if every mail relay the message goes through were to add a header. Such is just as valid as what Yahoo is doing at the origination.  Think about how acceptable similar behavior would be in non-e-life. As I leave my BART train, a barker slaps a sticker on my backpack that advertises BART as I walk around town. When I buy a CD a record store, I find that there is a 10 second ad for the store attached to the end of each song.

For practicality alone, I guess I could whitelist yahoo-originated email in the hopes of actually receiving email from my friends. Not.

To add a dose of irony, here is a Yahoo footer someone else complained about:
All New Yahoo! Mail � Tired of Vi@gr@! come-ons? Let our SpamGuard protect you.
A search on "Yahoo Footer" shows that Yahoo will even extort sell its users a product to take the footers off, so you don't spam your friends by sending them mail. Charming.

Friends don't let friends use Yahoo.