Wednesday, 19 January 2011
Keyboard Shortcut to Minimise Remote Desktop
When in remote desktop, it is difficult to use the keyboard to return to the local computer unless you are logging off (by pressing CTRL-ESC to get to the start menu).
In the remote desktop session, Press CTRL-ALT-Pause&Break. This will do the same as clicking the “Restore Down” button on the yellow bar in Remote Desktop. You’ll now be able to ALT-TAB between windows on your local PC, with the Remote Desktop session being just one of these.
Press CTRL-ALT-Pause&Break again, and the Remote Desktop session is restored to full screen, and ALT-TAB will now be between windows in the Remote Desktop machine.
Yay!
Friday, 7 January 2011
Friday, 21 August 2009
Songs In Code
this.CanTouch(false); Stop(DateTime.Parse("Hammer");
assert Soon(you.isHome());
if (you == 'The Piano Man') {you.SingUsASong(tonight, 'Oh, la la la, de de da');}
you.my.Girl.EyeColor = Color.FromRgb(139,69,19);
streets.each { assert it.name == null }
Tuesday, 17 March 2009
Time-based Manipulation of VOB Files
I had a DVD which was a copy of a VHS tape, produced by a simple copy in an LG RC-195 DVD/VCR combo unit. The tape was of a TV show which is damn near impossible to buy now, and all the reviews of the DVD version claim it has been badly edited. Even the VHS drops the main title sequence from all but the first episode.
So - I wanted to create a backup of the tape, but also make it a bit more intelligent and be able to access the individual episodes. The primary problem was episodes were split across multiple VOB files - so I needed a tool which would treat these as a single data stream and allow time indexing into it.
Media Coder is the only tool I've found that allows setting time-based start and end points. Alas it didn't want to play nicely with joining across the multiple VOB files, particularly with the time indexing past the first file. It supposedly supports joining files, but I had no success with that.
Enter VOBmerge. This handy little tool allows multiple VOB files to be joined into one large file. It's very quick, and I also discovered that Media Coder was much quicker in transcoding from the merged VOB file than from the originals - plus it seemed to be producing smaller results at the same settings - approx 160meg XviD avis versus the approx 200meg when transcoded from the original VOBs.
[Aside: someone suggests 'copy /b A.vob + B.vob merged.vob' gives exactly the same result!]
While this is ongoing, I was happy with yesterday's progress. Next step is to join the original title sequence onto each episode, and instead of transcoding to XviD, preserve the footage in DVD format so I can create a custom menu for the DVD.
Wednesday, 11 March 2009
Rubber Duck Debugging
We called it the Rubber Duck method of debugging. It goes like this:
- Beg, borrow, steal, buy, fabricate or otherwise obtain a rubber duck (bathtub variety).
- Place rubber duck on desk and inform it you are just going to go over some code with it, if that's all right.
- Explain to the duck what you code is supposed to do, and then go into detail and explain things line by line.
- At some point you will tell the duck what you are doing next and then realise that that is not in fact what you are actually doing. The duck will sit there serenely, happy in the knowledge that it has helped you on your way.
Thursday, 29 January 2009
Auto Self-Service/Diagnosis
In the first instance, I might try a $10 can of contact cleaner & give the MAF (Mass Air Flow) sensor a clean to see if that helps at all.
However, it's still cheaper than having the local AutoMonkeys clock up labour hours trying in vain to diagnose a problem that they don't really care about all that much... Alas, erratic idle behaviour or stalling in our current 45.7 degree Celsius heatwave falls into the "too hard basket" for most people.
Friday, 16 January 2009
Programming Aphorisms of Strunk & White
http://www.codingthewheel.com/archives/programming-aphorisms-of-strunk-and-white
Thursday, 15 January 2009
Origami CD Case
http://www.curbly.com/DIY-Maven/posts/680-How-to-Make-a-Folded-Paper-CD-Case
ADSL Speed Testing
Distance from Exchange:
- Use http://www.adsl2exchanges.com.au/ to find your exchange
- Use Google Maps to compute the approximate distance to your house
- Use http://www.internode.on.net/residential/internet/home_adsl/extreme/ to convert distance to theoretical speed (under ideal conditions).
Downstream Attenuation:
- Find the "Downstream Attenuation (dB)" figure from your modem's stats page.
- divide it by 13.81
- Use http://fremnet.net/article/216/adsl-theoretical-speed-calculator or the excel spreadsheet on which it is based.
All of the above is approximate & theoretical, and only reflects the performance between your house and the exchange you are connected to. The network performance beyond your exchange, and the performance of the sites you are visiting is another story entirely.
Thursday, 8 January 2009
The CIMM - Capability Immatturity Model
http://www.stsc.hill.af.mil/crosstalk/1996/11/xt96d11h.asp
Based on http://eprints.ucl.ac.uk/977/1/12.7_immaturity.pdf
Tuesday, 6 January 2009
NEETS - United States Navy Electricity & Electronics Training Series
The Navy Electricity and Electronics Training Series (NEETS) was developed for use by personnel in many electrical and electronic related Navy ratings. Written by, and with the advice of, senior technicians in these ratings, this series provides beginners with fundamental electrical and electronic concepts through self-study. The presentation of this series is not oriented to any specific rating structure, but is divided into modules containing related information organized into traditional paths of instruction.
The series is designed to give small amounts of information that can be easily digested before advancing further into the more complex material. For a student just becoming acquainted with electricity or electronics, it is highly recommended that the modules be studied in their suggested sequence. While there is a listing of NEETS by module title, the following brief descriptions give a quick overview of how the individual modules flow together.
Tuesday, 23 December 2008
Editing Video footage from a DVD Camcorder
I've finally found a freely available solution that doesn't plaster nasty watermarks all over the footage - VirtualDubMod. It requires an additional codec to support DV, but it is quite simple and well described on videoforums.co.uk
Once the footage is converted from VOB to DV format avi, it can then be edited via the video editing software of your choice. I normally use Pinnacle (which seemed OK) but also wanted to try out Microsoft Movie Maker since that is what my parents will most likely use. The first converted file I tried opening caused it to crash - but that's probably a separate problem :)
Monday, 15 December 2008
Slow Read/Write CD/DVD Behaviour
Windows XP is set to put an IDE interface into PIO mode after a few timeout errors. This is apparently what happened to me after attempting to read a CD with some significant errors on it.
The easiest way (at least for the standard Intel controller) to clear the PIO mode problem is to go into Device Manager, open up the IDE ATA/ATAPI controller, check which IDE channel is in PIO mode then uninstall it. Then go to the top of the list in Device Manager, right click and select Detect new hardware. A few reboots are also par for the course in Windowsland...
Friday, 14 November 2008
meme #42
- Grab the nearest book.
- Open it to page 56.
- Find the fifth sentence.
- Post the text of the sentence in your journal along with these instructions.
- Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.
I'm a bit disturbed that this was the closest book...
Wednesday, 22 October 2008
ECMA Standards
Shows ISO/IEC equivalent specifications, and if they are freely available or not. Standards include:
- ECMA-262 (ECMAScript Language Specification - JavaScript 2.0 will conform to this spec)
- ECMA-334 (C# Language Specification)
- ECMA-335 (CLI)
- ECMA-372 (C++/CLI Language Specification)
- ECMA-376 (Office Open XML File Formats)
Tuesday, 16 September 2008
BSB Numbers
Main weakness I've seen is the suburb lookup only reports major banks - it's doesn't list credit unions or building societies.
Stack Overflow
It'll be interesting to see how it scales from an initial successful beta where the participants are probably a pretty cluey bunch, to open slather. I'll be watching with interest (and chipping in where I can) - a good way to share and learn.
Tuesday, 27 May 2008
Why Make me Reboot, part 2
Thursday, 10 January 2008
What I want, but don't need
Wednesday, 12 December 2007
Software Install Hell - Why make me Reboot?
Rant of the Day - why the hell do so many applications require a reboot of your PC??? After having to reboot my new PC a dozen or so times last night just trying to uninstall 2 programs and install 2 new programs, I got pretty damn annoyed. As a home user, this was just an annoyance - for businesses with a large network, this could be a serious productivity impact issue.
So, why are these reboots necessary?
Googling revealed some Windows reasons, but apart from the "overwrites file in use" one, most seem to fall back to the installed program asking for the reboot. So why do the programs themselves think a reboot is needed? I can think of a number of alleged reasons:
- The install overwrote a file in use, so it is Windows that wants to reboot
- The reboot isn't really required, but the developers are just being paranoid
- The developers didn't spend the time to remove the need for the reboot
- Fundamental issues at the operating system level. Given the number of programs that don't need to reboot (some doing complex OS level integrations), I doubt this is the case
Reboots after uninstalling is an even bigger mystery to me - unless Windows is keeping a log of old file versions and trying to restore the previous version, the "overwrote file" shouldn't be an issue now. But if more than one update has occurred to the file in question, then this is just fraught with danger - which version do you revert to? I'd think the answer here is "don't do it!"
I think you should be able to just install some software, and it just works. No reboots. Even if it's necessary, be polite - don't force me to reboot.
From my experience, it seems to be commercial software that is more likely to exhibit this nasty behaviour - Open Source or software by 'enthusiastic individuals' seem less prone to require reboots. Is that because the former is more complex, or that the latter communities care more (or maybe get frustrated enough to spend the time to avoid the reboots).
Maybe in the commercial software development world, the issue of reboots fall into the low care factor category, as Company X assumes that their software gets installed once and that's it. Well, the reality is when I get a new PC and start installing dozens of my preferred programs, I get mighty annoyed having to reboot for every program thats so self-important that it thinks it's the sole reason I have a computer. Well, I'd like to point out that firewalls and anti-virus do NOT qualify for this - in fact you are a necessary evil and I'd happily dump in a nanosecond if it wasn't for all the cretins out on the net wanting to hack and wreck my PC.
Since I haven't seen much of a discussion about this previously, I'd be interested to learn more about the main reasons reboots are considered to be required, and how common this problem is on different operating systems - Windows, Mac OS, Linux, etc.
