Asus Eee PC 1001P Hard Drive

I’ve been searching everywhere on the Internet for this information but I couldn’t find it anywhere. I even went to Central Computers hoping they’d have the answer. I got the truly unhelpful, “crack it open and look” answer.

So I did.

The Asus Eee PC 1001P has a standard 5400RPM 150GB 2.5” hard drive in its belly.

Also, you can max out the memory at 2GB with PC-5400 DDR2-800 memory.

I hope this helps someone out there.

Coffee and Code Announcement!

Map picture
Come meet other programmers and talk about our craft. Starting August 6th at 11AM we will meet at Peet’s in downtown Los Altos and will try to meet every week at about the same time. This is an open discussion so all disciplines are welcome. If you have any questions please let me know on Twitter (@Spatacoli). RSVP here: http://www.nerddinner.com/4900

Comments

This blog has had the comments removed. According to some people I know that means this is no longer a blog. I don’t care. There were too many spam comments and I didn’t have the time to clean them up, and I don’t have the time to fix the comment system. I’ll re-enable comments when I finally get my new site up and running. Until then if you want to comment about a post please Tweet it and include me in the tweet. I am @Spatacoli. Thanks.

OCZ Vertex 2 SSD

“All developers should have an SSD.” Have you heard someone say that before? I hear it about once a week. I hear the great amazing things about Solid State Drives (SSD – there’s no moving parts so the “drive” part of it is historical or maybe I’m wrong and it stands for “device” now). I finally fell prey to the ribbing about still using spinning rust in my laptop.

After doing some research I eschewed the advice of experts and went with the OCZ Vertex 2 128GB SSD. I’m still getting a Windows Experience Index Rating of 7.7 which is a marked improvement over the 5.9 I was getting on my old 7200RPM drive. Some peers have gotten 7.9 out of a Crucial Real SSD. But it took a lot of work to actually get the 7.7 rating. I had to make changes to the Group Policy and the registry. I had to manually tell certain services they weren’t needed anymore, and I really had to coax Windows to even install. This is all different from the experience that other peers have had with installing SSD.

With my old 7200 RPM rust drive I could install Windows metal to gold in about 20 minutes. Some people I know have been able to install from metal to gold in 10 minutes with an SSD, but me? No, try 3 hours. 2 hours of that the install was sitting at 47% complete. Yes I have the latest firmware on both the drive and the machine. Yes, my machine will support it. Yes memory is good in my laptop. Etc. It just too forever for it to work.

Now that it’s installed and running am I fascinated with the speed improvement? No. It’s okay. It’s noticeably faster, but it’s not “Oh my God why have I lived so long without it.” What I am impressed with is my battery life though. I am easily getting double the battery life on my laptop than I had before. I can actually leave my laptop in Maximum Performance while commuting and I’ll still have over half the charge left when I get home.

I wish I could have the 256GB drive, but even for the battery improvement and speed improvement I couldn’t justify the cost. For about $220 I’m happy with what I got here.

If you are looking to upgrade your laptop to give it a little longer life I’d highly recommend getting an SSD, but it isn’t as life changing as some other developers out there would have you believe.

Chirp the Twitter Conference: a Retrospective

The Twitter Chirp conference just ended. If any of you have been following it online you may have heard the news that they’ve detailed @Anywhere, provided a glimpse of their business model, and announced personal streams that will be available soon.

I’m writing this to talk about some of the behind the scenes stuff that you couldn’t get from Justin.TV. Although this was a developer conference, it seemed there was really only two types of people I met there: business development people trying to sell me something, or little kids that are looking for jobs.

Business development people came in really two buckets, and from all the conversations I had at Chirp it seems that these are the applications that a lot of people are currently working on. 1) CRM 2) Analytics. Granted these were two of the fields that the VC’s were most interested in expanding out, I was a little disappointed in the creativity from this group of people. The CRM ranged from companies like CoTweet who are really the 800lb Guerrilla when it comes to Twitter CRM. They’ve managed to figure out how to leverage workflow into a corporate twitter environment. The other end of the CRM spectrum was just the people that promised to store all tweets with your company name in it. They then provide some value add by utilizing a proprietary search engine developed by some number (usually 1-3) of PhD’s.

The kids looking for a job ranged from the jerks:
    REDHEADED BASTARD: Have you built a Twitter client I’ve heard of?
    ME: No, but you’ve heard of the clients I have built Twitter apps for.
    REDHEADED BASTARD: goodbye.
To the kids trying to make a name for themselves:
    GREG: I write games based on where you are, kind of like a photo scavenger hunt.

The content was really good, except that the Twitter employees that really knew what they were talking about were surrounded by all the actual developers that went to the conference, but asking dumb questions like "Why only 140chars?" Leaving me to talk to the staffing coordinators and recruiters who really didn’t want to talk to anyone except other Twitter employees.

The @Anywhere stuff is mindless to implement. It has three main areas:

  1. Twitter Connect – like Facebook Connect only for Twitter
  2. Hovercards – Annoying cards that flip up with contact information when you hover on something like this: @spatacoli
  3. Tweet Box – Place a box on your web page so people can tweet directly from your site without having to leave the current thought flow.

You’ll see some of this implemented on this site soon. I’m currently rewriting all of it. Check out the docs and you’ll be up and ready in about 5 minutes

The business model has two pillars: corporate accounts (think competition to CoTweets) and paid tweets. Companies write up a tidy 140 and post it, then select that tweet as the ad that we want to serve up. Then Twitter has a magic formula that they are calling resonance to determine how and when they show that Tweet at the top of a stream. At first it’ll only appear in search results, later they’ll add it to the streams that things like Seesmic and TweetDeck use to display their feed. The developers have the option to use the ad stream or not, but there was no discussion about the penalties of not using the ad streams. If you use the ad stream the application developer gets 50% of the ad revenue. So that’s pretty cool.

What’s the one thing that really got me excited?

Personal streams will be the future, but they only gave us access to that during the conference. I hope we’ll see it out soon. The talk around this was inspiring. Instead of thinking about the "Real Time Web" or Web 2.0, think about the "Right Time Web". That means information for you at the right time at the right place. I could tweet right now that I bought a new camera that I really like, but at the moment you read my tweet, you are at work and don’t care. However, three days later you are at Best Buy looking for a new camera. That would be the right time and place for that information. Figuring out how to surface that information at that time and place is where true innovation will take place in the next 2 years.

Expression Blend 3 SketchFlow is for Prototypes

image With the recent release of Silverlight 3 we also got a new version of Expression Blend. This new version, Expression Blend 3, includes an exciting new feature called “SketchFlow.”

Introduction

There are three main aspects involved in SketchFlow: Sketch Styles, SketchFlow Map, and the SketchFlow Project. In this blog entry I’ll look at each of these aspects and how they can help us build a prototype of an application. First, however, let’s look at a brief overview of when this is useful.

When starting a new project one of the first processes is to figure out what data the project will present to the user, and how this information should be laid out. This is usually the work of an Information Architect or a User Experience expert. When the IA or UX finishes their discovery process usually what comes out is a PDF document with annotated wireframes. These go to the designers and the designers put a pretty face on it and produces Photoshop files (PSD’s) that the Interactive Designers/Interactive Developers need to translate into a fully functional web site/web application/Rich Client Application/Rich Interactive Application. Sometimes you will be lucky enough to work with an IA/UX professional that will write up very detailed functional specifications, but in most cases an annotated comp is all you get. In extreme cases you’ll only get wireframes, site map, and the designer’s PSDs, but that’s a whole another headache waiting to happen.

I digress, this black hole of information that isn’t gathered in most cases and only written in plain English in the best of cases really needs to be improved. This is the “need” that SketchFlow solves.

Imagine if the IA/UX person could easily prototype the application in such a way that not only would the stakeholders be able to “play” with it, but the stakeholders could also make comments on it from the comfort of their own browser and send those comments back. Oh, and then add in the ability to export it all into a basic set of functional specs complete with screen shots. That is what SketchFlow provides.

I know what you are thinking because I’ve been there before. If the stakeholder sees something that is too functional they’ll think it’s finished. A statement like, “Great, so when can we go live” comes to mind. Well, SketchFlow comes with a resource files that contains styles called Sketch Styles.

Sketch Styles

imageSketch Styles attempts to solve the “blue button” problem that can stop progress in a demo meeting with stakeholders. The “Blue Button” problem is the one where the wireframes look too polished and a stakeholder asks if you could make the button blue, or ask why the site doesn’t use the corporate color standards. Instead you can show the client something that looks like the image above.

This is an image of a hypothetical prototype application. It’s hypothetical for this blog, but I’ve done this for other apps and it works pretty well. However, the really cool thing here is that although this looks like a crude drawing (except for that stick figure next to a graph as that truly is a crude drawing) it is 100% functional. On the left there is a real list box, and contained within that real list box are real buttons. Those real buttons are hooked up to logic that actually changes the page when viewing this prototype in a web browser. It is only the style that makes the list box and the buttons look like a crude drawing. This crude drawing style is there in an attempt to get the stakeholders to look beyond the surface and think about what the application actually does.

SketchFlow Map

image As I said earlier the buttons on this prototype actually navigate to the “Home,” “About,” and “Tickets” pages. I managed to quickly setup these pages using the “SketchFlow Map” feature in SketchFlow. This is seen in the image to the left here.

The map always begins with the first page. From there you can create as many connected screens as you’d like. This map is a great replacement for a “Site Map” because this map actually represents actual pages in the prototype. You can color code the pages, create connected components, and arrange the pages in the map any way you’d like. This information is also presented in the SketchFlow Project that we’ll look at in a minute. One more place that this information appears is in the export to Word doc. Again, this makes it a handy starting point for the functional specifications.

SketchFlow Project

Once you’ve mocked out the entire application you can export the prototype to a SketchFlow Project. Then just host the project on a web site that the stakeholders can see and you have a platform for very rich interaction between clients and developers. I won’t discuss all the features of the SketchFlow Project, but it is a very handy tool to let the stakeholders see the progress of their application as it is still in the ideation stage.

The stakeholders can make comments, highlight sections of the prototype, and draw all over it. However, to get that feedback back to the IA/UX teams is a rather cumbersome process that itself is more of a proof of concept than a fully baked product. After the stakeholder marks up the prototype, they can save those comments out to a XAML file and then E-mail that XAML file back to the IA/UX team. Then the IA/UX teams have to import that information into their SketchFlow prototype. To make this just slightly more complicated, that import action is hidden be default. You have to enable a “Feedback” pane by an option in the “Window” menu. Then you can load in the feedback. Granted that feedback pane can contain a whole history of feedbacks, but it just seems lightly less thought out than the rest of the product. This is only a Version 1 product (the SketchFlow part, Blend is actually a great solid Version 3 product) and as such I’m sure this process will be better thought out in the next version of the product.

So Where Does that Leave Us?

This has been just a real quick overview of the main features of SketchFlow. I haven’t even mentioned how you can create a temporary dataset for use in the prototype among lots of other little features. There are two (2) main issues that I have with this whole prototyping idea.

The first issue I have with this whole workflow is that regardless of how many times you tell someone that what they are looking at is a prototype and they shouldn’t look at it for style or color, but for functionality they will immediately ask you to change the font. I can hear it now, “That title has to be in Segoe, and where is our logo and the consistent user experience?” On the other end of that spectrum are the customers that like the look of the sketch style and approve it to be in their application. Give it about a year and I’m sure I’ll be running across live applications that are using that sketch style.

The second issue I have with this workflow is that far too few companies are willing to expend any amount of energy on a prototype that is throwaway code. What this means is that after the prototype is finished the powers that be will demand that the prototype code is used for the basis of the real application. I mean, it’s just a sketch style, can’t you just change the style to Contoso Corporation Style and it’s finished? If all you are looking at is the look and feel of the application you’d be 100% correct. However, there’s a reason that the instructions to “Convert into a production project” are 6 or 7 printed pages. It’s really not recommended!

The prototype was built for speed of delivery, not for security, upgradability, or maintainability. The code behind the prototype that is delivered isn’t using any best practice of software architecture or a development pattern of any discernable type. The code in this prototype is throw away. Just think of it this way, would you have your software developers write the site copy? No. In that same way you shouldn’t let your IA/UX people write any final production code. They used SketchFlow to get an idea born and to play with it. The useful parts of the prototype are the ideas that come out of it. The functional specifications are still the final delivery of IA/UX, it’s just that in this case instead of flat 2D wireframes, the developers and designers actually have a prototype to play with as they are doing their job.

Far too many people trivialize the role of the developer. It is important that people understand that a developer is not just a glorified typist. Clearly you hired experts in usability and information architecture to do the IA/UX work, and you hired experts in design to do the design work. Let the experts you hired to write code, write code. Don’t trivialize their abilities by forcing them to try to repurpose prototype code for a final product.

Outlook 2010 with Exchange 2010: Cool Feature

There’s a cool new feature that I stumbled across today in Outlook 2010. I was writing a reply to an E-mail in a Microsoft Internal Discussion List. One of the people on the To line has an out of office setup so this appeared at the top:

image

That’s pretty cool. Rather than send the E-mail, wait for the auto-reply to come in, Outlook 2010 will just let me know right up front that this person is out of the office! I know there are a lot of other great features in the new version of Office, but it’s the little details like this that will make it a killer upgrade.

In other news, I have recently pushed live a new version of the Office 2007 Real Life Tools web site. There’s 9 demo videos showing real life ways of using Office 2007 at home or in a home office. Find the version of the site for you here:

US English:
http://www.microsoft.com/office/2007-rlt/en-US/Office

Canadian English:
http://www.microsoft.com/office/2007-rlt/en-CA/Office

Canadian French:
http://www.microsoft.com/office/2007-rlt/fr-CA/Office

UK English:
http://www.microsoft.com/office/2007-rlt/en-GB/Office

Australian English:
http://www.microsoft.com/office/2007-rlt/en-AU/Office

France French:
http://www.microsoft.com/office/2007-rlt/fr-FR/Office

I have four more locales coming in August. So check out Office 2007 for now, but do Office 2010 when it’s released sometime next year.

You Cannot MouseLeftButtonDown if You Have No Mouse

I’m in the middle of a fairly large scale code review and I wanted to stop and alert everyone to a common mistake I am seeing in a lot of code that I read. You should use the Click event in about 99.99% of the cases that most people are using the MouseLeftButtonDown event. The reason for this is that if you have no mouse, there is no left button, and if there is no left mouse button it cannot go down.

Imagine if I am a keyboard only user, I would tend to Tab my way though a web page to find the button or link I want to activate. I would then press either the Space Bar or the Enter key to activate it. In POSH any Hyperlink would fire using either of these methods. In Silverlight either of these two methods will activate the Click event, but it will not substitute in for a MouseLeftButtonDown event.

I think this stems from Silverlight 1 where the only way to detect a click was to listen for the MouseLeftButtonDown event, but those days are long behind us.

If your intention is to actually capture an actual mouse event, then use MouseLeftButtonDown. However, if your intention is to capture a Click, use the Click event.

Installing Windows from a Flash Drive

I did not come up with these instructions. I found them on the web, but because I’ll never be able to find them again when I need them, I thought I’d post the instructions here for my own reference.

From the command line run these commands:

  1. diskpart
  2. list disk
  3. select disk x
  4. clean
  5. create partition primary
  6. select partition 1
  7. active
  8. format fs=fat32
  9. assign
  10. exit
  11. xcopy D:\*.* /s/e/f E:\
  12. robocopy D:\ E:\ /MIR

 

There are a few assumptions made in this. The first is that the DVD drive containing your Windows boot disk is in drive D. The second assumption is that the flash drive shows up as drive E. If either of these assumptions are wrong change line 11 accordingly.

Beyond that look at lines 2 and 3. Line 2 will list out all the disks in your system each with their own disk number starting with 0. Look through that list and find the number associated with your flash drive. Then in step 3 replace the “x” with the number associated with your flash drive.

Because I haven’t tested this out yet line 11 is still an xcopy. My personal preference would be to use robocopy and when I try this out I’ll use robocopy. That command will change line 11 to this:

robocopy D:\ E:\ /MIR

Again, I’ll try this out and report in this entry if it works or not.

UPDATE: I was reviewing the xcopy command and the options are a little strange. /s includes all subdirectories except empty ones, and /e includes all subfolders including empty ones. It doesn’t make sense to include both options. Also /f displays the full name of each file as it’s copied. This may or may not be needed/desired. I’m currently testing the robocopy version and there doesn’t seem to be any problems.

UPDATE 2: I was successful in using robocopy instead of xcopy. Step 11 above has been changed. All in all the install took 10 minutes! Now I need to try this on a netbook.

UPDATE 3: Here’s the link to the original post describing how to do this: http://kurtsh.spaces.live.com/blog/cns!DA410C7F7E038D!1665.entry?wa=wsignin1.0&sa=50757250

what I cannot create, I do not understand

Jeff Atwood blogged about a problem he is having with HTML sanitization on Stack Overflow. The argument that Dare Obasanjo and Jon Galloway were trying to make to Jeff is that it doesn’t make sense to re-invent the wheel. People have solved this problem before and their code is available for re-use. Jeff’s argument is that he’s a professional developer and he should be able to solve this problem. He punctuates his argument with a quote from Richard Feynman, “what I cannot create, I do not understand.”

This is a fine argument if Jeff were a Nobel Prize winning Physicist working on the fundamental building blocks of the Universe. However, and I’m sad to report this, he isn’t. Software Development is not science. Some of us may use the scientific process for finding and fixing bugs, but at its heart software development is an engineering profession. What that means is that most of the hard problems have been solved before. Although it is important to understand how the solution works, it isn’t necessary to re-invent the wheel.

For example, given the inspiration and the need I could rewrite jQuery, but I don’t. Why? Because someone else who does have the time and inspiration already did it. More importantly, many thousands of people have already used it and reported enough bugs on it to make that library very stable and robust. The important part of this example though is that at any time I can, and have, opened it up and read through the code to make sure that it makes sense to me. I’m not proposing that Jeff use someone else’s HTML scrubber blindly, I’m saying he should use someone else’s HTML scrubber after reviewing it for himself to ensure that it meets his quality bar.

I also chose jQuery for this example because Jeff uses it extensively on Stack Overflow. He did not go out and write his own. In fact Jeff also uses the ASP.NET MVC framework, the ASP.NET framework, and the .NET Framework. All of these are software that he could have written given enough time and inspiration. At some point it comes down to ego. An HTML scrubber is a simple enough thing that he should be able to write it, but he really shouldn’t.