Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
$720 in referrals so far!

About/Contact

Steve Trefethen

Steve Trefethen is a Software Architect and Director of Software Training at Falafel Software in Capitola, CA. You can reach Steve here.

All opinions you read here are Steve's own and are not necessarily those of Falafel Software.

Calendar

<<  September 2010  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Disclaimer

The posts on this weblog are provided AS IS with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
If you're new here, you may want to subscribe to my RSS feed, follow me on Twitter, or subscribe via email. Thanks for visiting!

TestComplete 8 training videos posted Aug 2010

August 12 2010 1:14PM

Tags: Automation | Testing

TestComplete 8 Released

July 27 2010 9:33PM

SmartBear AutomatedQA, now SmartBear Software released TestComplete 8 this week, congrats to the Team for all their hard work! Falafel Software, my employer, is a partner with SmartBear and the team wishes to congratulate SmartBear team on their release.

image

Falafel Software is the Premier World-wide training partner for SmartBear offering a wide variety of training options with classes scheduled through the end of the year on TestComplete 8 including updates to the course ware books, TestComplete Made Easy and TestComplete Made Easier, for the new version. Feel free to  contact me for details.

FacebookDel.icio.usDigg It!

Tags: Testing | Tools

FileSystemInfo.LastWriteTime and 12/31/1600

July 08 2010 12:23AM

I’ve been working on an application tracking the age of files and if they reaches a certain threshold an error gets trigged.

FileInfo f = new FileInfo(new SystemPath(m.FolderName).Combine(m.FileName).ToString());
double totalminutes = DateTime.Now.Subtract(f.LastWriteTime).TotalMinutes;
if (totalminutes >= ErrorIntervalInMinutes)

I setup an error message to display information about the files when the error occurs and got something like this:

Error: File (d:\outbound\997_42772_06182010_1504_91.txt) File Time: 12/31/1600 4:00:00 PM Current Time: 6/18/2010 3:06:10 PM has failed to upload via FTP for 215356266.168919 minutes.

Whoa, over 400 years! That’s a lot of minutes not to mention 12/31/1600 looks a bit suspicious. A peek at the documentation for FileInfo.LastWriteTime reveals:

If the file described in the FileSystemInfo object does not exist, this property will return 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC), adjusted to local time. 

Ah ha! The list of files being processed in this case is static and files are getting uploaded to an FTP server so clearly the file causing the error is no longer on disk thus the error. Adding an if(!f.Exists) continue; should do the trick.

Now, I didn’t investigate UTC once converted to local time resulting in 12/31/1600 vs. 1/1/1601 but I found my answer and after adding a simple check I was on my way.

FacebookDel.icio.usDigg It!

Tags: .NET | Programming

Optimizing Wireless Router Performance using Android and Wifi Analyzer

July 06 2010 11:05PM

imageWifi Analyzer on Android Wifi AnalyzerPrior to getting my Motorola Droid I hadn't thought too much about which channel my wireless router was running. In fact, I never really put too much thought into router channels at all though not long after I got my Droid I stumbled into Wifi analyzer and realized my router overlapped at least three others located near by. Fortunately the airwaves aren’t so crowded (at least not yet) finding a free channel was relatively easy.

In case you can’t tell in the image to the right there are 13 wireless routers broadcasting their signal around our house. I wonder if those questioning the new SmartMeters to be installed here in Scotts Valley have checked their existing wireless predicament?

How does your neighborhood compare?

FacebookDel.icio.usDigg It!

Tags: Android | Home | Mobile

A week in New Orleans on the HTC EVO

June 10 2010 9:45PM

HTC EVOAll this week I’ve been in New Orleans at TechEd 2010 using the Google HTC EVO phone that I got while at Google I/O in May. The phone is on free service through Sprint for 30 days and is an incredible piece of hardware with an huge screen, very fast processor that’s been an absolute joy to use even though there are a few UI features/apps from the Droid I prefer. It’s going to be really sad to return to the Droid once the service ends as it runs circles around it.

The Falafel team here with six people has two Motorola Droids, two HTC EVO’s, one iPhone 3GS and one HTC Tilt 2. We taken tons of photos, many of which ended up being immediately posted to Facebook or sent via email. I’ve posted live streaming video to qik.com, photos and status updates to Facebook and Google Buzz, listened to podcasts, found directions to restaurants, coffee shops and all sorts of other locations, posted to Twitter read the news, posted updates to the Falafel team on Yammer, sent tons of free SMS messages via Google Voice, identified landmarks using Google Goggles, instant messaged via Meebo, tracked my travel via TripIt, connected to the web via Sprint Hot Spot countless times, scanned barcodes, installed apps and oh yeah, even made a few phone calls!

In fact, this afternoon I was working at a Starbucks connected via the Sprint Hot Spot feature sharing my connection with Falafel’s President John Waters while he was dialed into a GotoMeeting call with other Falafel employees located both here in New Orleans as well as back home in California.

Last night, we were walking along the Mississippi and caught Anderson Cooper filming AC360 where we watched the show streamed over a Slingbox to an HTC Tilt 2 located in Amarillo TX! It’s really amazing what these pocket devices can do and how close you can get to replacing a PC with one.

With Android you can literally pick up a new phone, log in with your Google account and be off in running with your contacts, email and lots of other goodness in minutes. I can’t wait to take a look at the new iPhone though I can’t imagine a case where I’d switch from Verizon to AT&T because at the end of the day I want/need to make phone calls.

As fun as all this has been, I’m ready to go home and see my family again so now it’s time to go to bed because I have to be up in a little over three hours to catch a 5:25am flight home.

FacebookDel.icio.usDigg It!

Tags: For fun | Hardware | Mobile | Technology

Hanging with Falafel Software’s Storm Chaser

June 09 2010 10:20PM

While here at TechEd 2010 in New Orleans I’ve had the good fortune of spending time with Bary Nusz, a colleague at Falafel from Amarillo TX. Bary’s an honest to goodness storm chaser and it’s been a lot of fun chatting with him about his hobby though with as serious as he is about it I’m not sure that’s the correct word. He used a Sony HDR-SR7 camera to capture the movie below of a tornado on May 23 near his home and he’s made some great time lapse films using a GoPro Hero HD. I was asking him last night about his biggest fear related to storm chasing and surprisingly, at least to me, it wasn’t tornado's but traffic from other storm chasers and lightning.

At any rate, I figured people here might enjoy this video and some of the other great footage he’s posted. He even has a channel on YouTube.

FacebookDel.icio.usDigg It!

Tags: For fun

Apple’s license agreement is it really a surprise?

April 11 2010 9:31PM

With Apple’s recently announced changes to it’s License Agreement I really don’t see any surprise in it at all. My computing career started on an Apple II in high school but that was the extent of my exposure to Apple hardware and software until I won an iPod back in my Borland days. I followed with some interest what seemed to be the near death of Apple back in the Gil Amelio days and the curious flirtation with 3rd party hardware manufacturers which was subsequently crushed.

If anything Apple has always fiercely protected what makes it Apple. They’re an incredibly innovative company and while I’ve heard and read people talking about these recent changes being reminiscent of Mac vs. Windows I’d disagree. There are some significant differences this time around particularly when you consider Apple’s control over and influence on content producers, something that didn’t exist “back in the day”. This time around Apple arguably has the best device, and I’m a big Android fan but it’s plainly missing tons of polish that the iPhone has in spades.

With the recent release of the iPad and all the magazines and newspapers scrambling to leverage it to salvage their fading print business once again Apple is in the drivers seat. If you look at the landscape Apple has lots of things going for it right now on the content side. Take for example the fact the Droid has a non-existent music experience and that their online Market is rather laughable when compared to the AppStore. No matter how lame iTunes is we’ve all had it for years and got sucked into it well before the iPhone came out with an iPod or two (or three). Also, if you’ve watched Apple’s iPhone announcements over the years they’ve always highlighted gaming. There's been no shortage of games produced for the platform and I’d guess the vast majority of those wouldn’t really have issues when it comes to the recent license agreement changes (though that’s just a guess). Now with the advent of the iPad with all it’s hype we’re going to see an explosion of cool games that do all sorts of new things and the movie, magazine, book and newspaper reading experience will all now have to live up to Apple’s standard which is going to be very difficult to do. In other words I don’t think it’s going to slow the growth of the AppStore any time soon which gets right to my point…

Apple is going to, rightly, protect its business and the experience of using their devices is damn enjoyable and very fluid, far more so than on Android. It’s easy to understand they wouldn’t want a game, or any application, to play/function exactly the same on any other platform. It’s also easy to see after years of cultivating their “relationship” with the music industry there’s probably no company better positioned to negotiate rights to movies, magazines, newspapers or other multi-media content particularly now they have a larger screen device all those parties surely want to be on.

One way to look at this is that developers are getting screwed though I think that’s perhaps short sighted if your goal as a developer is for the platform that you’re targeting to succeed for years to come. Apple is working to protect their platform and with iAd, if anything, they’re looking to expand not only their revenue but their developer community’s as well. Makes sense.

When I step back and look at it, Apple’s been cultivating all kinds of relationships using their mobile devices with developer’s, non-Mac users, music enthusiasts, gamers and entire industries. They’ve created an experience, whether it’s in the Apple store or on the AppStore or on a mobile device that’s difficult to top and I’m hard pressed to think of another company in a similar position. At least Kliener Perkins seems to agree.

Anyway, those are some of my thoughts on the subject. What’s your take?

FacebookDel.icio.usDigg It!

Tags: Opinion | Technology