December 22, 2010
I’ve going to be giving a talk on big data for the newly formed Nevada County Tech Talk event – a monthly gathering at Sierra Commons.
Unfortunately most of the relevant content I’ve got is for Java programmers interested in using Hadoop. Things I could talk about, based on personal experience:
- A 600M page web crawl using Bixo.
- Using LibSVM to predict medications from problems.
- Using Mahout’s kmeans clustering algorithm on pages referenced from tweets (the unfinished Fokii service).
I’m looking for relevant talks that I can borrow from, but I haven’t found much that’s targeted at the technically minded-but-not-a-programmer crowd.
Comments with pointers to useful talks/presentations would be great!
August 11, 2010
Recently I had to buy a new power supply for my 2008 MacBook. Because having three adapters isn’t enough, when you forget to bring any of them with you on a business trip.
So I ran into the Apple store in San Francisco and grabbed a new 60 watt adapter – the one with the “L” style MagSafe connector, versus the older “T” style connectors I’ve got on my other three adapters.
Raced back to the client. Plugged it in – and it didn’t work. Spent 20 minutes cleaning my connector, trying different outlets, etc. No luck.
Headed back to the Apple store, and verified the following:
- My new adapter works with three different MacBooks on display.
- None of the 60 watt power adapters with “L” style connectors being used for display Macs worked with my MacBook, but all of the 60 watt adapters with older “T” style connectors did work.
- The 85 watt power adapter at the Genius Bar did work with my MacBook.
- The new 85 watt power adapter that Mitch @ the Bar set me up with didn’t work with my MacBook.
- The older 60 watt power adapter Mitch extracted from the store’s repair supply stock did work.
After all of the above, I got in touch with a friend who works as a Genius at the Manhattan store. Turns out she’d just had to deal with a similar issue, and the root of the problem is that the System Management Controller (SMC) needs to be reset for some older MacBooks to work properly with new power adapters.
Apple has information about how to reset the SMC, and on that page it lists one of the reasons why you need to do this as “The battery does not appear to be charging properly”.
I’m hoping Apple updates the info found on both this page and their Troubleshooting MagSafe adapters page, to make it easier to find in the future for other users. Before Apple Stores run out of these older “T” style power adapters.
July 5, 2010
I signed up for Virgin Mobile today, as the answer to my “I’m on the road, and I’m tired of trying to find wifi hotspots”.
Previously I’d had a Sierra Wireless AirCard (595U) with Sprint, and it worked great, but I couldn’t justify $60/month for the occasionally trip to the Bay area.
But Virgin Mobile with its pay-as-you-go plan seems perfect. I can spend $10 for a 10-day plan with enough data (100MB) for my email and light web surfing needs. So I bought the modem, and went to sign up. Which brought me to this page on their web site:
This is the error screen you get when you don’t fill in the address fields. Which aren’t marked as being required.
But after using their Broadband2Go app, I can see that having a polished UI experience isn’t high on their priority list. I’m just hoping the Sprint-provided service works as well as with my old WiMax setup.
May 27, 2010
I ran into a puzzling test failure recently, which I ultimately tracked down to some very strange directory name handling behavior in Mac OS X (I’m running 10.5).
Previously I’d had a directory in my user directory called “SVN”, and this is where I’d checked out all of my SVN-hosted projects. At some point in the past I changed the name of this directory to be “svn”.
In the terminal, it shows the directory as having the lower-case name, as expected.
But in Java, if I call File.getCanonicalPath() on a file in this directory, the directory name comes back as the old “SVN”. And that in turn caused some tests to make assumptions about the nature of the filesystem, which triggered a cascade of failures.
To fix it, I created a new temp directory, moved everything from inside “svn” over, deleted “svn”, then created a new “svn” and moved everything back. Really strange…
February 25, 2010
By now I knew enough about Git to easily deal with the “error: failed to push some refs” error.
Just pull first, fix any merge problems, and then push.
But this morning I still got the error after doing a pull, then a push to the Bixo project on GitHub.
It turns out I need to read the git output more closely. The error message said:
! [rejected] master -> master (non-fast forward)
error: failed to push some refs to 'email@example.com:bixo/bixo.git'
But I’m working in a branch (called ‘fetch-flow’). And the “git push” command will try to push all of the branches. But “git pull” only pulls the current branch.
So I had to “git checkout master” to switch to the master branch, then “git pull” to bring that up to date, then “git checkout fetch-flow” to switch back to my branch.
And now my git push works fine. Note that the push did work, in that my ‘fetch-flow’ branch was pushed – it’s just that the auto-push to master failed, and that made me think my entire push had failed.
January 25, 2010
I logged into the Apple site recently, to make a Genius Bar appointment.
There seems to be some new information required, where they want the secret question/answer pair that now seems to be part of every company’s registration system. But after my login I got this interesting message:
Looks like a case of the right hand and the left hand not being in sync.
January 5, 2010
While our EuroVan continues to provide for a local mechanic’s retirement fund, I found this article on “Tuners” included a much faster version of what we’re (hopefully) driving the Grand Canyon during spring break.
The section on this vehicle from the article I linked to above says it all…
Winning first prize in the “You’ve got to be kidding me!” category was TH Automobile’s TH2 RS. What’s wacky about it? Well, what started life as a pedestrian Volkswagen T5 van has been made into The World’s Fastest Brick.
First, TH Automobile swapped the engine from the front to the rear. But instead of a VW unit, TH dropped in a Porsche twin-turbo flat-6 breathed on by 9ff to produce 800 bhp. The rear axle and 6-speed manual transmission come straight from Porsche, as do the brakes.
The interior was also completely remodeled, the driver’s position switched to a central location, along with four carbon-fiber racing buckets for passengers. To handle the TH2 RS’s aero-defying speed of 193.1 mph (breaking the previous van record of 169.6 mph, set by a Claer-tuned T4 VW van), H&R provided an air suspension system that adjusts the ride height among three different levels depending on speed. TH claims the van can hit 62 mph in just 4.5 sec. A customer version would cost somewhere north of $225,000.
At almost 200MPH, that would get us to the South Rim in about, let’s see, 4 hours. Though we’d have to remove all of the camping accessories, move the engine from the front to the back, pay $225K, etc., etc., etc. But the look on driver’s faces as we sucked their doors off might make it all worth while.
January 3, 2010
We adopted Emmett from AnimalSave back in October 2005, and he’s been a great member of the Krugler pack. He seems to be a mix of sighthound and Labrador – in other words, he’s a mutt.
But one day, while Jenna and I were speculating about what kind of sighthound would give him his deep chest and curled tail, I did a search on “greyhound labrador mix”, and found out that we’d been wrong all these years.
He’s not a mutt, he’s a lurcher!
What’s a lurcher? Well, according to Wikipedia (source of all truth and goodness) a lurcher is:
a hardy, crossbred sighthound, generally a cross between a sighthound and any other breed…the lurcher was bred in Ireland and Great Britain by the Irish Gypsies and travellers in the 17th century. They were used for poaching rabbits, hares and other small creatures. The name lurcher is derived from the Romani language word lur, which means thief.
There’s even a new group called the North American Lurcher & Longdog Association. It’s a bit hard to tell, but I think Emmett is very excited about the possibility of membership.
December 24, 2009
Unfortunately I have to use this several times a week – mostly for Microsoft Word and PowerPoint, but occasionally a few other equally troubled apps.
So in the process, I’ve found a few irritations that could easily be fixed:
- Display the list of apps in two groups – at the top, the apps that aren’t responding (usually just one). So then I never see the list displayed without the offending app clearly at the top. When you’re running a lot of apps, the list often winds up being displayed such that the hung app isn’t visible.
- When I force-quit a non-responding app, don’t ask for confirmation. It’s not responding, that’s why I’m explicitly asking you to make it go away.
- And in the same vein, when I’ve force quit a non-responding app, don’t display a scary dialog telling me that an app unexpectedly quit, and whether I want to report the problem to Apple.
December 21, 2009
I poked around a bit, and didn’t find any direct info on how to do this, so here’s the results of my research.
If you have a WordPress.com-hosted blog (like this one), and you use categories, then the RSS feed is:
For example, the RSS feed for things I’ve categorized as being about “Nevada City” is https://ken-blog.krugler.org/category/nevada-city/feed/