Tuesday, March 30, 2010

The Good, The Bad and The Ugly of NTFS Alternate Data Streams

The Good
When NTFS was introduced for the Windows NT platform, one of the features that was added was 'alternate data streams' (ADS). This was specifically added to allow for a similar concept of 'forks' for Mac users to allow them to maintain their 'data fork' and 'resource fork' for files and use NTFS as a network data share.

A file stream is essentially metadata added to a file that doesn't interfere with the contents of the file. One way to see this data is to look at the 'Summary' tab of a file.

But as you can see, the comments section in particular can be quite lengthy. Note that not all file streams appear here, others may be included. Also, the space used by the file streams is not used when calculating the file size, so adding more data to the ADS does not change the size reported by the OS.

This method is also used in other ways. Icon files are associated with the URL shortcut files for IE as a file stream and the blocking of downloaded files from execution is handled through ADS. Microsoft provides a tool to let you find files that have streams attached to them. You can read about it here http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx

The Bad and The Ugly
This method can be used to make both text and binary files difficult to find. It's even possible to use the command shell to make an executable file (such as notepad) an ADS for a pre-existing executable (such as the calculator application), rename the executable and run it! This sample screenshot shows what happens when notepad.exe is added as an ADS called 'runtime.exe' to the calc.exe file and is executed. In this case, the notepad executable is being run from the runtime.exe ADS for the calc.exe.

Fortunately, you see the shenanigans when looking at the task manager. Also, all of these activities require someone with sufficient permissions. This means, that your system would already have to be compromised for this to happen.
Also, this information is only accessible on NTFS file systems and is not included when sending files over the network (unless it's to / from an NTFS file share).
Hopefully, this will shed some light into the inner-workings of the file system and explain some behavior you may have seen.

Monday, March 29, 2010

Practical Software Test Automation Course - Oklahoma City, May 13 & 14, 2010

We are fortunate to have Randy Rice local to our area and are happy to announce that we are helping to sponsor his Practical Software Test Automation Course. Registration and course information can be found here.

https://www.mysoftwaretesting.com/ProductDetails.asp?ProductCode=OKCAUTO

Even if you are not in the Oklahoma City area, this course is sure to be useful to anyone getting started with (or trying to recover from) their automation efforts.

On his site, you will find online training as well. Have a look around and see if other courses meet your needs as well.

Understanding Computers from 'first principles'

While researching information on computer security, I ran across the Security Now! podcasts( http://www.grc.com/securitynow.htm ).

Among the podcasts is a series of discussions that provides insight into how computers work at a fundamental (and somewhat technical) level.

Here are the podcasts that I found particularly interesting:
Basic Architecture of computers from the 1950s

Machine Language

Pointers

Stacks, Registers and Recursion

Hardware Interrupts

These are the low-bandwith MP3s, there are high bandwidth versions as well as notes and supplimentary materials provided as well.

Wednesday, March 17, 2010

Meeting Announcement- Evening Meeting 4:30pm-6pm Thursday, March 25th

NEWS
- We're moving to evenings to accommodate your busy work schedule!

Time and Location

We will be meeting at the FIS/Metavante offices at 1200 Sovereign Row. The meeting is from 4:30pm to 6pm.

Free parking is available!

Topic

Robert Watkins will discuss how FIS approached performance testing for one commercial server product and the process to provide performance testing utilities to customers.

Directions

  • From I-40, take Meridian South
  • Turn Left at Will Rogers Parkway
  • Turn Left at Sovereign Row
  • The FIS/Metavante offices are on the right just before the curve in the road.

Wednesday, March 03, 2010

Tuesday, March 02, 2010

Charles Babbage's connection to the Luddites

Charles Babbage is well known for his Difference Engine and lesser known for his Analytical Engine. When Luigi Menabrea (future prime minister of Italy and engineer) translated his notes of Babbage's lectures into French, Babbage asked a long-time freind, Ada Lovelace to translate those notes to English. That was in 1842. Ada's father was Lord Byron, the poet and Parlimentarian. In 1815, one of his first speeches to the House of Lords was in defense of the Luddites.

Monday, March 01, 2010

The Rule of 1000 Decisions (as a tie into myth-busters)

A couple 'prior-lives' ago, I worked with a CIO at a mid-sized bank who gave me quite a bit of encouragement and opportunity. There were several things I remember from working with him.

The first was his success criteria for the project to bring in the bank's website in-house. 'Just make it suck less'. I believe we did that in spades. The basic design was functional enough to last about five years before they out grew that architecture. Quite a feat for a site that was developed in 2001.

The second was his 'Rule of 1000 Decisions'. Essentially, this rule start with the premise that everyone makes mistakes and generally, everyone makes more good decisions than bad decisions. The caveat is that those who don't may not last long. Supposing that for every 1000 decisions you make, you have 900 good decisions, 50 bad decisions and 50 great decisions. If you start to avoid making decisions to avoid the bad ones, you are missing out on more good and great decisions that you could be making. The point is that you need to keep making decisions and accept the fallout as well as the praise for those decisions.

The tie into myth busters is this discussion on the importance of failures, even massive failures.


Thursday, February 25, 2010

Wednesday, February 24, 2010

Free Seminar on User Stories, March 2nd.


Here's an excerpt from the description

"Do you want more practical agile training on planning your iterations? Are your teams trying to get into flow but struggle to get answers to tactical questions on user stories? Join agile coach Ken Clyne as he shares successful tactics for writing value-focused stories; sizing, splitting, tasking, and accepting user stories; and strategies for working across teams from iteration to iteration. He also explains the differences between stories and tasks, how to update the backlog, ways to chart and track story point burn-up, write acceptance criteria, and understand when a story is done."

Tuesday, February 23, 2010

Follow Us On Twitter!

We're making our entries here available through Twitter! Follow us and get updates from our blog.

@redearthqa



Friday, February 19, 2010

My Review of "Modeling Software Behavior"

A few weeks ago, I read "Modeling Software Behavior" by Paul Jorgensen for StickyMinds.com.

If you haven't been there, it's an excellent resource for not only book reviews :) , but also lots of other information on tools and techniques. This is produced by the same company that puts on The Star Conferences.


http://www.stickyminds.com/s.asp?F=S1203_BOOK_4

Tuesday, February 16, 2010

New Meeting Location for February.

We will be meeting at the FIS/Metavante offices at 1200 Sovereign Row. The meeting is still from 4:30pm to 6pm.

Directions
  • From I-40, take Meridian South
  • Turn Left at Will Rogers Parkway
  • Turn Left at Sovereign Row
  • The FIS/Metavante offices are on the right just before the curve in the road.
Free parking is available!

Monday, February 15, 2010

Meeting Announcement- Evening Meeting 4:30pm-6pm Thursday, February 18th

NEWS
- We're moving to evenings to accommodate your busy work schedule!

Time and Location

The Red Earth QA's meeting will be held on the 3rd floor of 100 N. Broadway from 4:30pm -6pm on Thursday, February 18th. Look for the signs to direct you to the correct room.

Topic

We will be discussing 'Test Plan - Best Practices - Bring a Sample'

Randy Rice of Rice Consulting has agreed to lead the discussion!

Directions

  • You can park in Main Street Parking on Main or you can find street parking.
  • From I-40, take the Robinson Exit. Go North on Robinson to Main. Right on Main. You can either go to Main Street Parking or continue to Santa Fe Parking. You will see 100 N Broadway on your left across Broadway. The building says 'Chase' at the top.

Tuesday, February 09, 2010

Was your last project successful?

I was thinking about how the same project can be rejected or approved depending on who you ask. This flowchart is the result, enjoy.




Friday, February 05, 2010

Online UI Mockup Tool

A small company called Balsamiq is making an online version of their product to create screen mockups available.

http://www.balsamiq.com/demos/mockups/Mockups.html

It pops up a dialog every 5 min or so to suggest using a paid version. Even if you don't get licenses for this, it may be useful for small projects.

Details of the features are here:
http://www.balsamiq.com/products/mockups




Thursday, February 04, 2010

Agile Technique Proposed in 1968

I ran across an article, "Iterative Multi-Level Modeling - A Methodology for Computer System Design" from 1968 that essentially talks about the benefits of an agile approach to system design.

"The paper presents a method of modelling a computer system design as it evolves, so that evaluation can be made an integral part of the design process. The paper introduces the concept of concurrent existence, within a single model, of several representations of the system being modelled, at differing levels of abstraction. Thus important design decisions are expressed directly in terms of appropriately abstract quantities, facilitating understanding, validation, and modification of the system design. The paper includes brief details of an experimental implementation of the modelling technique and of the use of the technique to model both hardware and software components of a multi-processing system."

Monday, January 25, 2010

Thursday, January 21, 2010

Meeting Announcement- EVENING MEETING! 4:30PM-6PM, Thursday, January 28th

NEWS
- We're moving to evenings to accommodate your busy work schedule!

Time and Location

The Red Earth QA's meeting will be held on the 3rd floor of 100 N. Broadway from 11:30am-1pm on Thursday, December 17th. Look for the signs to direct you to the correct room.

Topic

Compare Test Plans!
Bring your test plan template and compare with other companies.

Directions

  • You can park in Main Street Parking on Main or you can find street parking.
  • From I-40, take the Robinson Exit. Go North on Robinson to Main. Right on Main. You can either go to Main Street Parking or continue to Santa Fe Parking. You will see 100 N Broadway on your left across Broadway. The building says 'Chase' at the top.

Friday, January 08, 2010

Monday, January 04, 2010

Project Management, 60s style

Here is a link to a book on project management from 1970. It's a second edition of the original published in 1964.

What I originally found amazing is that it's a fairly sophisticated view of project management. The first chapter is particularly enlightening since it discusses the inspirations for the methods detailed in the book. Basically, there was research from as far back as 1896 on streamlining production processes that are being applied to research in the late 1950s that culminated in the findings described in this book.