Video comparisons – duct tape or you’re doing it wrong

My ongoing battle between picking the Evo or the new iPhone has lots of facets, but something I wanted to get some more input on was their relative video recording capabilities.  Both do 720p recording, but I was hoping to see some comparisons to get an idea if there was any discernable quality difference (in video or audio, in low-light or normal).

I guess I’d gotten used to sites/people that did such comparisons by duct taping the 2 (or more) devices together and then recording the same scene(s) at the same time with all of them, then putting the videos next to each other (horizontally or vertically) in a browser window to compare them.  You’d arguably want both in the same video (side by side) but that’d mean editing and transcoding that could affect the quality, and the goal is to see the quality of the video as it comes directly from the device.

So, searching for ‘iphone evo 720p’ the first hit is indeed someone showing clips from the two, but they violate the ‘same scene at the same time’ rule.  Certainly if the quality difference were HUGE it would likely not be as important, but at least watching the 2 clips offered, the video quality is about the same on both (not sure if any transcoding was needed by YouTube, hopefully not since it should have come as 720p h.264 from the device) and both really suck at filtering out wind noise from their microphone (anyone know of something that handles it better?  My current Flip UltraHD is about as bad on that AFAICT)

http://www.funkyspacemonkey.com/htc-evo-iphone-4-720p-hd-videos-comparison-pictures

Anyway, if anyone has their own opinions on 720p (or better) video recording cell phones, or links to other comparisons, please let me know 🙂

add newlines before closing tags

While I still hate how VS decides to format tags like p (paragraph) and h1 through h6 (and check the comments on the blog post – AFAICT no one using the product wants the current behavior), I do have an ugly workaround – get some whitespace in front of the closing tags (typically the </p> closing tag is the issue).  Since I want it to end up on its own line anyway, I figured the search-and-replace might as well do it for me.

I know ‘normal’ (perl/.net/etc family) regular expressions fine but VS has its own little quirks (like how it ‘tags’ via curly brackets, instead of ‘grouping’ via parentheses), so I figured I’d put this in a post so I can find it a little easier later on.

The ‘find’ expression:

{[^ ]}\</p\>

Going somewhat backwards, the ending is the </p> tag (had to escape the brackets), the part preceding it is a tagged expression (the curly brackets for that), and the expression being tagged is ‘any character that’s not a space’.

The ‘replace’ expression:

\1\n</p>

Going forward this time, it’s ‘first tagged expression’ (the \1), then a newline, then the closing </p> tag.  It doesn’t indent the tag the right amount, but once it’s on the newline, format-document will align it fine for me.

Under ‘Find options’, make sure you have ‘Use’ checked with ‘Regular expressions’ selected in the drop-down. 

The result should look like this:

image

Why is Win7 x64 telling me I’m low on memory?

Sorry for the huge screen shot (click on it for the full-size version), but task manager and resource monitor both make it clear I have 1.5GB free (I had slightly more free when this pop-up happened, and it’s the 4th time today I’ve gotten this pop-up), and I have ~2GB available, but I still get ‘low on memory’ pop-ups

image

I’m also not a fan of the pop-up I get saying it’s going to close a program for me, but it specifies something (VS2010 in this case) that I’m currently running 6 instances of (yes, and I still have 1.5GB free, so don’t blame VS here 🙂

image

What is it going to do?  Kill all of them?  Just one of them?  If just one, how can I tell which one?  It would have been nice if it had at least attempted to get the title of the main window and displayed that as well as the process Description, even if it only does that path if there’s more than 1 process in the session that has the description. 

Task Manager and Resource Monitor similarly just list devenv.exe instances (no titles), so even if I guess that it’s the one that currently has the highest value for private working set (which may not actually be the one it’s going to kill, since even if that’s how it’s choosing, the values may have changed since it made the decision), it’s not obvious which of my running VS instances is that process/PID.  At least I can hop over to a PowerShell instance and run this to figure out which is which: gps | ?{ $_.processname -eq ‘devenv’ } | ft -a id,mainwindowtitle

Sure, I could also run something like process explorer since it’ll show the main window title as well, but I’d argue the powershell is a little better for a blog post since it’s in the box for win7 🙂