My public and private cloud experience

Posted in Commentary, Geekfest, OOTT on February 27th, 2011 by juan

## So – I lost some images…
Today I had to do some errands, one of which included me going to a car wash. It was more than just a simple wash – it was the first wash of my wife’s 1.5 year old car. Yeah – that’s not good, but it is what it is. Naturally, that wash took some time \(and money\). During the wait, I fired up my MacBook 11.6″ \(weee!!!\). I looked and saw that there was no open wifi around. But not to fear, I whipped out my trusty clear hotspot. In a manner of a few minutes, I’m settled and I start doing today’s stuff.

Today’s stuff happened to be an update my daughter’s lacrosse website ([rhsgirlslax](http://rhsgirlslax.com/ “RHS Lax”)). I had to put some of the sponsor images on the website via a pretty cool WordPress plugin called [Ad Squares Widget](http://www.primothemes.com/ “Ad Squares”). It felt good to be happily resizing images, redoing some of the logos so they would fit, etc on a really small form factor computer. Definitely something I could not have done (well easily) on an iPad. Anywho, about halfway through the mini project, I noticed that the plugin had been updated. WordPress does a nice job of notifying you about this. So – not thinking twice about it, I told wordpress to go ahead and update the plugin. While it was doing that, I finished fixing the code for the plugin and then added all the URL’s to the adds into the widget. But, when I went to reload the site, none of my images worked. A serious WTF moment later and some digging showed me what should have been pretty evident all along. The example code from the plugin places the images in the folder with the plugin. I did that. Well – when you update the plugin, it doesn’t update the directories and files – it replaces them! BAM! All my images were gone.

No big deal, right? Just upload them to the server again and poof. Well, that wasn’t so easy. The 11″ MBA just came into duty and all I had was the images that I was working on that day (got them from my email). Well – the good news is that the iMac that had those images was at home. A quick ssh to my home server and a hop over to the iMac and I was there. Then I ran into a simple problem: how do I efficiently transfer those files back to my 11″. That’s when Dropbox did a double whami AHA! on me. A quick “mv rhsimages ~/Dropbox” later they were in the cloud and seconds later on the 11″. Wee!!

It gets better. I serve the website from my home server via my DSL line that has a relatively meager 750Kb/s uplink. It works well for most things, but it sure isn’t enough to quickly serve something with tons of images. Well Dropbox, has this public folder thing. If you want, you can generate a URL to any file in that folder. So rather than copying those images back to my server, I left them on Dropbox and grabbed the public URL. I used that in the Ad Squares page and now my daughter’s site is being served a zillion times faster.

So – what is this then? I like to think of it as my cloud migration experiment. I’m doing a blend of private (my vmware farm with the web server) and public (Dropbox) clouds to do something better. How about that.

Tags: , ,

ok – back to ecto and some really nerdy cool wii+mac stuff

Posted in Fanboy, Geekfest, OOTT on April 11th, 2008 by juan

Turns out that the Wiimote can be connected to the Mac via bluetooth. Apparently, there’s a ton of cool things you can do with this, including control all of the functions on your mac. You can use DarwiinRemote to pair the mote and nunchuck up. With it you can control VLC and most other media programs. Pair it up with RemoteBuddy and just about anything is possible.

If that’s not cool enough, some people have paired it up with some seriously cool audio processing tools (KymaX) with OSCulator. I’m in nerdery heaven. Check out this video:

That’s cool, but this stuff on the PC is even better. Someone – please port Johnny Lee’s stuff over:

MacBook sleeping done right: SmartSleep

Posted in Fanboy, Geekfest, OOTT on March 18th, 2008 by juan

If you ever had a powerbook, you remember the almost instant sleep that happened when you closed your laptop. Somewhere in the late powerbook or macbook/pro timeframe, Apple changed the behavior from sleep (save contents in RAM only) to hibernate+sleep (save contents in RAM and dump to disk). There’s been undocumented PRAM settings that let you change the behavior so that you can select sleep, hibernate+sleep, or hibernate only. However, it was a setting that affected the system globally.

However, now Patrick Stein, the guy who wrote JollyFastVNC (should be a separate blog post), has released SmartSleep. From his website:

SmartSleep.prefPane

DESCRIPTION
SmartSleep.prefPane is a preference pane that dynamically sets the sleep state of your machine. It’s a successor to Hibernate.prefPane.

The Problem
Your macbook or macbook pro knows the following sleep states:

sleep: machine will go to sleep only (saves state in RAM only, battery keeps RAM contents)

sleep & hibernate: machine sleeps and hibernates. (default)

hibernate only machine will go to hibernate only. (saves state on disk, battery will not be used)

Just sleep means that the notebook will go to sleep fast, but you loose the ability to change the battery as the battery is needed to keep the contents of the memory (RAM).
Just sleep and hibernate will wake the computer fast, but sleeping will take ages as the contents of the memory are saved to disk before entering the sleep.

The solution
SmartSleep let’s you select each select sleep state. Additionaly the new SmartSleep state lets your notebook just sleep while the battery has a high level. If the battery level drops below a certain point ( default is less then 20% or 20 minutes ) it will switch to sleep and hibernate. So you have the best of both worlds.

Cocoa based VIM

Posted in Geekfest, OOTT on February 25th, 2008 by juan

So, over the weekend, I stumbled across a Really Good Thing. I’ve been using VIM and the mac carbon based GUI for VIM for a while now. I’ve even set it as the default editor for TXT files. However, I found myself right-clicking on files and selecting to use TextEdit more often than not. Why? Because TextEdit opens up much faster. I mean much faster. Then, by happenstance, and a lot of bored tv watching and web clicking, I stumbled across this Cocoa port of the VIM gui. On top of looking much better than the default carbon gui, this one fires up almost as fast as TextEdit. It also has cool support for transparencies, tabs, and a full screen mode that takes all of the non-sense off of the screen and makes you FOCUS. It’s actively being developed and looks very promising.

macvim – Google Code:

it’s proven

Posted in Geekfest, OOTT on February 5th, 2008 by juan

NetNewsWire has proven itself to be a True Time Saver ™. If nothing else you should attempt to use this and give it a fair shake for a week or two. I won’t go back.

NetNewsWire: More news, less junk. Faster

NetNewsWire For OSX is now free!

Posted in Geekfest, OOTT on January 10th, 2008 by juan

OK – So it’s the new year. Time to get back to doing this stuff. Here’s a cool tidbit. Just started using this thing and it looks like it’s going to be a good time sucker and also quite possibly OOTT. I’ll post back on that later. Check this article out.

NetNewsWire For OSX is now free!:
NewsGator announced on Wednesday the release of NetNewsWire 3.1. More importantly for many users, the company will be making the RSS reader available to all customers for free.

back in the saddle and being a nerd

Posted in Geekfest, OOTT on July 9th, 2007 by juan

For the few of you that read this blog, sorry about the lack of posts for the last few months. No reason other than I just didn’t feel like it.

OK – with that said, how about another back to the future nerd geek thing? For years, when my UNIX/Mac system runs out of disk space or quota, I’ve been doing a manual “du -sk * | sort -n >/tmp/tt” routine to find out what subdirs have the most stuff in them. Then I would iterate through the subdirs until I found the stuff that needed to be whacked. I hate doing this stuff, but I haven’t really found a good GUI/CLI tool to fix this problem. Well, that is until I found NCDU. Joy! It’s a curses based “du” utility with an interactive ability to play whack-a-mole. Version 1.1 has compiled fine on my Macs (intel, powerpc) and my Linuxen. Here’s a few screen shots of what happens:

1) Startup

Picture 1-2

2) Calculating

Picture 2-1

3) Time to start digging:

Picture 3-1

4) Into my pictures directory

Picture 4-1

5) Some help

Picture 5-1

6) Whack-a-mole

Picture 7-1

So now, my time to total space reclamation (TSR) has gone from essentially never, to a few minutes.

Sweet.

ps Here’s a quicky Mac hint. To get the window shots above, I did a command-shift-4, then spacebar, and then a click on the window I wanted to capture. Built-in to Tiger (not sure about before). It drops a PNG file onto your desktop.

back in the saddle and being a nerd

Posted in Geekfest, OOTT on July 9th, 2007 by juan

For the few of you that read this blog, sorry about the lack of posts for the last few months. No reason other than I just didn’t feel like it.

OK – with that said, how about another back to the future nerd geek thing? For years, when my UNIX/Mac system runs out of disk space or quota, I’ve been doing a manual “du -sk * | sort -n >/tmp/tt” routine to find out what subdirs have the most stuff in them. Then I would iterate through the subdirs until I found the stuff that needed to be whacked. I hate doing this stuff, but I haven’t really found a good GUI/CLI tool to fix this problem. Well, that is until I found NCDU. Joy! It’s a curses based “du” utility with an interactive ability to play whack-a-mole. Version 1.1 has compiled fine on my Macs (intel, powerpc) and my Linuxen. Here’s a few screen shots of what happens :

1) Startup

Picture 1-2

2) Calculating

Picture 2-1

3) Time to start digging:

Picture 3-1

4) Into my pictures directory

Picture 4-1

5) Some help

Picture 5-1

6) Whack-a-mole

Picture 7-1

So now, my time to total space reclamation (TSR) has gone from essentially never, to a few minutes.

Sweet.

ps Here’s a quicky Mac hint. To get the window shots above, I did a command-shift-4, then spacebar, and then a click on the window I wanted to capture. Built-in to Tiger (not sure about before). It drops a PNG file onto your desktop.

on the Sony E-Book Reader

Posted in Geekfest, OOTT on October 31st, 2006 by juan

I’ve been eagerly awaiting for my local Borders to get their shipment of Sony’s E-Book the Sony E-Book Reader. Well, it finally got here, and true to my style I was the first to get one in my neighborhood. I’m already a proud owner of a Rocket E-Book, aka REB-1100, aka RCA EBook Reader, aka many others. I’ve been hoping that the new Sony reader would take off from where the REB1100 did.

After playing with it for a little over a day or so, I have mixed feelings about it. In many ways it feels like version 1.0 but in many others it looks like it was rushed out the door. The user interface on the device is clunky, the “Connected” reader application you are supposed to use to transfer stuff is very poorly designed (more on this later), and it very much looks like no-one tried this with a real library of books. I mean lots of books. Like 100’s of books. I have that many in my collection and since this device can accommodate them, why not have them there. Many of these are technical reference PDF documents. It sure would be nice to be able to whip out a single “book” that has all my technical documentation in it. However, this is not going to happen – at least not yet. The PDF reading function is severely crippled. I talk about this below.

So, let’s review the good, the ugly, and the bad in the original Italian:

The Good:

  1. Form Factor: It’s very, very light (nine ounces). In fact, it’s so light, it’s hard to tell when I’m carrying it around with some other stuff in my hands. At less than 1/2″ thick, it’s also very slick looking and fits in just about anywhere. Very convenient when I’m traveling.
  2. The Screen: very, very nice (with some bad – more on this later). The E-Ink screen is extremely readable in just about any lighting condition. In fact its very comparable to paper. I can’t stress enough how good this stuff looks. Imagine the stickers they place on many electronic screens when they are new in the box. The ones that show you what the screen is going to look like when you turn it on. The ones that you remove and then find that the real screen is dimmer and way further in the back of the screen? Well, this is like having one of those stickers that changes. VERY cool.
  3. Capacity: it comes built-in with what looks like 128MB of memory. A chunk of that is taken by the OS, so you are left with roughly 90MB’s to store books, music, and pictures on. Additionally, is has a memory slot where you can insert a memory card. It supports SD, and Sony’s MemoryStick and MemoryStick DUO. The documentation says that SD cards up to 2GB and MemoryStick cards of up to 4GB are supported.
  4. Readability: tied to #2 above. The fonts that they have selected are very readable in the three sizes available for non-PDF documents. At the smallest setting, it the page appears a little “wobbly” – the lines of text don’t seem to be perfectly parallel. That might just be my eyes getting old.
  5. Supported formats: There is native support for BBeB (their native book format), TXT, RTF, PDF, MP3, AAC, JPG, GIF, PNG, and BMP formatted data. The text documents are automatically placed in the “E-Books” category. Image and audio formatted files are also placed into their own categories. Microsoft DOC files are automagically translated to RTF by the Connected application when you import them. However, you have to have Word installed on your computer for it to do this.
  6. Audio and Text: a neat feature is that it allows you to read ebooks at the same time as you are playing MP3/AAC files. For me, this is very desirable as I find I concentrate best when there’s some light music in the background while I’m reading.
  7. Pictures: It does a remarkably good job of translating full color JPG/GIF/BMP files to grey scale. I’ve downloaded several images varying from portraits to sports shots to landscape and they all look remarkably well considering the limitations of the technology. You can even set it to do a slideshow. Not sure why you would do this, but it might come in handy. Specially when this becomes EOL and you can repurpose this to hang on a wall showing pics of the family — or something.

The Ugly (aka things that Sony should be able to change via firmware/software updates)

  1. PDF Documents: Unless your PDF document happens to be made for small device formats, they are just not going to look right. You can zoom the interface one level (full page, or fit-to-page). For most of my PDF documents (i.e. manuals), this makes this device almost useless. You can change the orientation by rotating the text 90 degrees to the right. That gives you more horizontal area. In this view, the page is split in two – top and bottom halves. However, switching from one half to the next, or even from one to page to the next is very slow. Slow enough that after only a couple of documents, I just plain gave up on anything that wasn’t specifically formated to the screen.
  2. Screen orientation: Unlike the REB-1100, you can only change the orientation to normal or 90 degrees right. You can rotate 90 degrees left or 180 degrees. This is an issue as you start reading more, your left hand will become tired of holding on to the book and it sure would be nice to be able to rotate 180 and let my right hand take over. The REB-1100 does this very nicely and even inverts the orientation of the buttons. SONY- FIX THIS. This is a no-brainer.
  3. Document Navigation: You have a few basic navigation controls (hard buttons): Page forward, page back (in two locations – side of the unit and also in a semi-circle gizmo on the bottom left of the unit), a toggle stick (on the bottom right hand corner) that allows you to navigate links in a PDF document, a row of buttons labeled 0-9 right below the screen which roughly take you to a corresponding 10th of the book, and a page marker button. Flipping from page to page is actually not bad, with the exception of a brief flicker as the E-Ink screen wipes and then re-loads the new content. At first this was a little bothersome, but I quickly got used to that. Aside from page to page turning, you can also jump to a specific marker. You can also hit a menu button and then find specific locations: beginning of book, end of book, bookmarks, table of contents (if your book format has these), history of locations you have been at. Well, it turns out that his makes navigating many TXT, DOC, and PDF documents very difficult. But this might just be me. It sure would be nice to have a “go to page #” function, like the REB-1100.
  4. Document Management: With even the built-in memory capacity, it’s very easy to load up dozens of books into memory. As a matter of fact it comes pre-loaded with many selections of excerpts and full books. After adding only a few books, the list of books got to be hard to browse through. It sure would be nice to have a mechanism to put these into some sort of hierarchy, right? Thoughtfully, Sony created a concept of “Collections” which as far as I can tell is their intended organization method. However, the only way to create these collections is on their Connected syncing software. However, creating these makes a second copy of the document if you happen to have synced a version before. It’s not smart enough to simply tag a document with meta data and place these into different views. It simply creates a new “folder” and places yet another copy of the document in there. You do have an option from the main menu to view your documents by author or by date. By date is useful for documents that you have recently added as the sorting is in reverse chronological order. However, there’s no way to change that. The sort by author is also nice, but when you select that the next screen only shows the title of the book, not the author. It sure would be nice if the author(s) were listed as a folder and then all of their books listed underneath. Again, with tons of books in here, there’s very little to help you sort things out. In reality, I don’t know how much of an issue this is going to be since I don’t really know if I’m going to cary my entire collection. But it sure would be nice if I could.
  5. Syncing software: Let me put it this way. It’s crap. Sure – it let’s you grab documents and put them from your computer to your e-book. It has some rudimentary preview capabilities and has some limited organizational functions (see Ugly #4). However, it’s not very user friendly, it lacks much of the functionality you would expect if you have ever used iTunes. The interface doesn’t make it clear if you are copying, moving, deleting, or adding stuff to and from your computer or e-book. This software really looks like it was a first shot out there to see what we, the users were going to think. Well, Sony, I think it’s crap. Drop me a line if you want me to give you the full list of things you need to do to fix this excrement. (Do you see how I feel about this?).
  6. Mac Support: OK – let me put it this way: None. I don’t have one of the new Intel Mac’s yet, so I can’t test this under parallels, but under virtual PC – the USB driver install right, but the Connected “syncing” software doesn’t even bother to start.
  7. The Price: OUCH! $350. I’ll have to read a ton of books to make up for this price. But oh – wait. The price of the ebooks is only marginally lower than the price of the real books. So … I might have to read a whole bunch of PDF’s to make up for this. Oh – but wait – PDF reading kinda sucks eggs. Crap. I’m not sure this isn’t a “The Bad”.

The Bad (aka things that are hardware that Sony can’t fix till version 2 and might make me return this thing)

Ebook2Reb1100

  1. The buttons!: Look in the pictures of the Sony and RCA gizmos. See those big, thumb friendly buttons on the RCA thing? Now look carefully on the image at the left. Do you see those two small, small circles on the left of the screen? You might have to squint. Yeah, that’s what Sony put in as the page turning buttons. Say what? WTF where you THINKING? Maybe it’s because the average Japanese is smaller than the gorilla sized American? Nah, they just plain f’d up on this one. Come on! Give me a real button. Something so that when I hold the screen it fits nicely on my thumb. Something so that I don’t have to think about changing pages. I just twitch my thumb and Voila! I have next page. Jeez, did Sony not ask any previous E-Book readers what they liked from previous generations. WTF!
  2. No backlight!: WTF! Again, maybe this is because of the E-Ink stuff, but come-on! One of the greatest parts of the RCA device is that I can lay in bed with my lovely Mrs. sleeping peacefully and have no other lights on! It’s nice on Airplanes (ah…. frequent travelers – Sony – maybe one of your target demographics?). It’s nice on trains (ah…. Sony?). To be fair, again, I haven’t tried this on a plane, train, or automobile yet, but I will let you know as soon as I do. But in bed – yup – this sucks a**!!!!
  3. The Software: So, I put this in both the Ugly and the Bad. This will only be bad if Sony doesn’t do something about this real quick. The Connected software is complete crap. Hire a couple of iTunes guys and get this done right. Get it done quick. I mean real quick. It probably won’t make me send it back, but I sure am thinking about it. FIX your PDF!!!!! Allow me to Zoom In to whatever level I want and make it snappy (as in get it done now and make it responsive).

Things I’ll miss from the REB-1100:

  1. Built-in dictionary. Not something that is used much, but it sure was nice when I need it.
  2. Touch screen interfaces. Helped when changing many of the options and settings. The interfaces and widgets are made so that a stylus or even my fat fingers can make it work.
  3. Thick grabby edge on one side. While the Sony thing is nice because it’s slim and travels well, the RCA has a nice thick rounded handhold along the edges where the page turning buttons are. It “feels” right. Maybe Sony could make a detachable plastic thingy that would give that feel?
  4. Ability to highlight and underline any text in the book. That is nice when I read books that have quotables or other fitting thoughts.
  5. 3rd party conversion tools that let me create .rb documents from web pages, word docs, txt files, etc. It’s been nice to be able to take some of my technical reference material that’s given in html and convert it to an ebook format.

Wow, that’s a lot of stuff for a first day’s worth of toying with this. I’ll post additions and changes as I fool with this thing some more. I so badly want it to work, but I hope that the ugly and bad don’t make me send it back and wait for version 2. I’ll read on this through the week and try to get through a couple of books to see how that works out. I hope that Bad #1 and Bad #2 aren’t going to be killers.

Stay tuned.

superduper!

Posted in Commentary, Fanboy, OOTT on May 25th, 2006 by juan

As computers are wont to do, my PB 17″ has developed a glitch – a single pixel wide, consistently on column about .5 inches from the left of the screen. Unfortunately, this one means that I have to send it back to apple to fix. That means 5-10 business days without my main access to work, entertainment, and creative outlet. Crap. So, first step is to backup the computer, right? Well, being a UNIX geek, my first thought was “I’ll just rsync the whole thing and be done with it.” Then I started to look at / and realized that this is not so easy a thing. Sure I could do the whole computer, but then what? How do I get it back if/when I have to recover from it. Single files would be good, even directories would be good, but what about the whole thing? I mean the entire drive? How do I make a bootable copy? Well – superduper! is the answer. Not only does this tool do a superb job of copying everything, it knows how to do it without breaking the mac interface. It makes even old UNIX storage guys like me smile. Can’t recommend this highly enough.