Author Archives: markn

About markn

Mark is the owner and founder of Timesheets MTS Software, an mISV that develops and markets employee timesheet and time clock software. He's also a mechanical engineer, father of four, and a lifelong lover of gadgets.

    Find more about me on:
  • googleplus
  • linkedin

I’m Such a Silly Tanker

When I was a kid I used to build models, mostly planes. A few years back when I needed something to distract me I built a couple of small tank models. Recently, due to the bad influence of a friend, I bought my first 1/35 scale tank model. It’s a Sherman Firefly, which is a standard US Sherman modified by the British to fit their high velocity 17pdr cannon. These tanks saw service in the last couple of years of WW2 and were highly valued because they were pretty much the only allied tank that could engage German armour at range and expect to destroy them.

The one I built is a Dragon Models 1:35 Sherman Firefly 1C Hybrid. The nomenclature means that the tank looked liked a Sherman M4A1 (Sherman II) which had a cast hull from the front and an M4 (Sherman 1) which had a welded hull from the rear. The marrying up of the cast front hull and the welded rear hull gives rise to the “hybrid” term. The “C” means the tank was armed with the 17pdr which incidentally was a 76mm weapon. Anyway, enough geeky tank stuff. I promised my partner that if I bought this model that I’d actually finish it. And so I did. You can see it below. I decided to mark it up as a New Zealand tank even though I am not sure that any Firefly 1C’s actually served with that country’s forces in WW2. I could only find reference to Firefly VC’s (based on the Sherman M4A4) serving with New Zealand in Italy. Who cares though, I am not a scale modelling fanatic.

1:35 Sherman Firefly 1C Hybrid

1:35 Sherman Firefly 1C Hybrid

I had a good time building and painting this model, enough of a good time that I’m going to do another. There’s some paint chipping and weathering stuff I didn’t try on this tank because I didn’t want to ruin it. So I’ll ruin the next one trying those out. The next one is going to be a British M4A2 (Sherman III) with a two colour disruptive paint scheme and loaded down with some extra stowage to make it a bit more unique.

Excel : Changing Cell Dropdown Source via VBA

I’ve just had to work out how to change the cell drop down source of an Excel cell based on the value of another cell. In this case I had one drop down with the Australian states in it and I wanted this to drive a second dropdown that allows users to select the Federal Electorate. It turned out to be pretty easy (and quite nifty). My spreadsheet is setup with a series of named ranges containing the state electorates. So, for example, there’s a named range called ElectoratesNSW containing all the electorates for NSW. Just add the following to the sheet where you want the data validation magic to happen.

Private Sub Worksheet_Change(ByVal Target As Range)
  Dim sState As String
  Dim rngTmp As Range
  '
  ' Cell in row 7 and column 3 is the State dropdown
  '
  If Target.Row = 7 And Target.Column = 3 Then
    '
    'Cell in row 7, column 4 is the electorate dropdown
    '
    Set rngTmp = Me.Cells(7, 4)
    If Len(Target.Value) > 1 Then
      sState = Target.Value
      rngTmp.Formula = ""
      With rngTmp.Validation
        .Delete
        .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
        xlBetween, Formula1:="=" & "Electorates" & UCase(sState)
        .IgnoreBlank = True
        .InCellDropdown = True
        .InputTitle = ""
        .ErrorTitle = ""
        .InputMessage = ""
        .ErrorMessage = ""
        .ShowInput = True
        .ShowError = True
      End With
    Else
      rngTmp.Validation.Delete
      rngTmp.Formula = ""
    End If
  End If

End Sub

Oh Excel Why Must You Vex Me So

Excel is fabulous. It’s wonderful. It’s without doubt the most useful software tool I’ve ever used since I started using computers. But oh my can it be annoying. Right now I am trying use the TRIM() function to remove the leading spaces from some text strings. And it doesn’t work. Why doesn’t it work? Well because the strings I am trying to trim seem to start with ASCII character 160 rather than the regular ASCII 32 space character. I confirmed this with the Excel formula CODE(LEFT(A1,1)) where cell A1 contained the vexatious string in question.

ASCII 160 is the breaking space character and for whatever reason Excel displays it as a space but doesn’t trim it with the TRIM() function. Stupid. Stupid. Stupid Excel. So to trim the Excel string I need to do this:

TRIM(SUBSTITUTE(A1,CHAR(160),""))

Did I mention Excel was stupid?

Sony 3D Glasses

Because I was too eager to get the new TV I talked about recently I didn’t take the time to check that I could appreciate it’s 3D’ness with the included 3D glasses. It’s a shame I didn’t check that because it turns out it didn’t include any 3D glasses. So if I want to watch 3D material I need to buy some. Of course Sony’s glasses are (nightmarishly) expensive and this lead to some resistance to the idea of purchasing them from She Who Must Be Obeyed. But in the fine tradition of über-geeks everywhere I ignored her and bought some anyway**.

So there’s two pairs of Sony TDD-BR750 3d glasses heading my way soon. And if you’re wondering, no I didn’t pay the price listed on the Sony site, not even close. The glasses look rather natty and they trumpet out the fact that they weigh less than 40 grams. I am more interested in how they fit over my glasses though. Time will tell. Pictures will follow when they arrive.

**(Who am I kidding, I didn’t ignore her. I got them as a toy and she smiled at me tolerantly like she always does when I am spending money on things that we don’t really need. She’s too good for me really 🙂 )

A New TV Has Landed

If anyone actually reads this blog they’ll know that I recently bought a new Panasonic HDD Recorder. Today it’s partner in crime took up residence here. It’s a 40″ Sony Bravia LED with the model number KDL40HX750. This makes it a 200Hz model with active 3d and lots of networking features. The choice in the end was made because the Panasonic LED I was looking at uses an LG panel which I didn’t like the sound of and the Sony comes with one of their new Google TV boxes. I don’t have the Google TV box yet because it’s claimed by redemption. This post isn’t a review of the TV because it’s only been here a few hours so I’ll just post up a few pictures and make some quick comments.

Firstly, assembling the TV is so easy a child could do it. I know this to be true because a child (my 9 year old son) assembled it with me helping out with any awkward lifting. Secondly, the setup process when you turn the TV on is quick and simple. I know that because he did that too. Thirdly, the built in networking features such as QuickFlix, ABC iView, YouTube and the Sony Entertainment Network look like they’ll waste a lot of my time. And finally for now, the ability to control the Sony from my IPad via the Sony Media Remote App is insanely cool. Being able to flick up URL’s, images, and videos from the tablet to the big screen is just amazing!

Enough for now, here’s some pictures.

The Box Shot - fit easily into a small hatch-back

The Box Shot – fit easily into a small hatch-back

The Box Contents - note the absence of 3d glasses (doh!)

The Box Contents – note the absence of 3d glasses (doh!)

TV Pedestal Assembled by 9 yr Old

TV Pedestal Assembled by 9 yr Old

Pedestal Mounting Points

Pedestal Mounting Points

Panel and Pedestal Assembly

Panel and Pedestal Assembly

The Input Panel - Enough HDMI for Everyone!

The Input Panel – Enough HDMI for Everyone!

The Finished Product - Yes that's "The Voice" (shame on me)

The Finished Product – Yes that’s “The Voice” (shame on me)

Once the Google TV box arrives we’ll have to think about getting a proper TV stand for it. Seems like a shame to have such nice hardware slumming it on a coffee table I was given as a hand-me-down nearly 20 years ago.

Look What Mark Did Too!

It may not come as a surprise to some but it turns out that I am not the only guy called Mark. It may also not come as a surprise that not only am I not the only guy called Mark, I am also not the only guy called Mark who does things. What *may* come as a surprise is that I am also not the only guy called Mark who does things who blogs about them in a rather wittily named blog. So I suggest from this point forward that you also read Look What Mark Did.

You should read it because he is called Mark, because he does things, and because he blogs about it.

Screw the Millennium Bug – What About the Leap Second Bug?

I wasn’t programming much in 1999 but I knew more than enough to understand what the so called Millennium Bug was all about and why it would be a huge problem. I was even lucky enough to get to fix the “bug” in a couple of DOS programs that were written in the mid-1990’s.

Because of the sheer hype and terror that surrounded the issue I was fairly certain that most companies and governments would get their excrement together and fix the problems before the critical date. So I did my best to ignore the hysteria and assumed all would be OK. However, I do remember taking money out of the bank and filling our bath with water just in case the much prophesied Bad Things actually happened on January 1 2000. Of course nothing particularly serious happened and it probably ended up being the most reported and hyped up non-event in my living memory.

It occurs to me that the Leap Second that was inserted into the worlds timing systems a couple of days back seemed to have a bigger effect than the Millennium Bug did. Here in Australia it caused problems with some airline check in systems and I’ve read that some websites had some issues too, including Reddit. This News.Com.Au story even suggests that the mighty Twitter experienced some problems because of it.

I’m not going to rag on programmers that allow these problems to occur because I am guilty of it myself. It’s been three years now since I started trying to find an elegant way to handle the day light savings transitions in Time Clock MTS. I’ve failed miserably to this point and it still causes problems for anyone who actually clocks in across the DST transition times.

What Other People Did

This isn’t about what I’ve done, but rather what others have been doing. Firstly, Andrew, a very good friend of mine has started a new blog called Careless Gamer. Andrew is the primary reason I still play computers games, build model tanks and planes, and play strange board games with stupendously complex rules. So, read his blog, it will be good.

Secondly, a very, very old friend of mine (he’s been a friend for a very long time rather than actually being old) has also started a blog. He’s become rather wordy in the years since I last saw him but has some interesting things to say about movies, comics, and life in general. Just be prepared for some mental mastication as you try to digest some of his sentences and don’t be scared to disagree with some of the things he says., Here’s the blog, rather nicely named Becoming Fictional.

Panasonic DMR-PWT520GL 500GB HDD Recorder / Blu Ray Player

So, our Panasonic 500GB HDD recorder with a Blu-ray player and twin HD tuners arrived last week. In this time my son, my partner, and I have fiddled with it enough for me to be able to post up some first impressions.

Firstly, the image and sound quality seems to be just fine, but we only have an old Toshiba 32″ LCD with questionable sound and image quality anyway. Secondly, the user interface seems to be excellent, both intuitive and responsive. My 9 year old son dived into it and had episodes of Doctor Who playing on the television via ABC iView in under a minute. My partner, who is scathing of any poor UI on anything also got something recorded and watched with almost no cursing at all. Surely that’s a vote of confidence.

The features the Panasonic offers seems to be rather comprehensive. I’ve had a Panasonic HDD recorder of one form or another since 2006 but this unit is the first I’ve had with the ability to pause and rewind live TV. While that may seem rather passé to most, they are new to me and I’m only just beginning to understand what possibilities they open up. The in-built TV guide seems to be excellent and isn’t afflicted by a 30 minute timing problem that all of the other TV’s and recorders in this house are. Recording direct from the TV guide is dead simple and the ability to adjust the start and stop times automatically is appreciated. One neat feature is the ability to press the Record button on the remote repeatedly to change the recording time limit when you want to record a show you happen to be watching. We haven’t seen this feature since we had a VHS and one person in this house rejoiced when it was discovered!

Another new feature on this unit that we have not seen in this house is Internet integration via either ethernet or wifi. Setting up the wifi was simple and support was provided for all the major wireless encryption protocols. Network integration allows the unit to stream media from media servers or act as a media server itself and stream data to media clients. Internet access also allows access to the Panasonic App Store which has a number of simple applications providing access in Internet services such as YouTube, ABC iView, Skype, and some other less known media services. This is a great feature but the lack of a web-browser means that you cannot see media from any web-site that doesn’t have a corresponding app in the Panasonic app-store. I haven’t tried to stream media from the file server I have here to the Panasonic yet but it’s certainly on the to-do-list.

There are some other features we haven’t played with yet. This includes the ability to record and playback from an external USB HDD. This requires registering and formatting the HDD so be aware that you’ll need to transfer any media files off of the disk prior to this process. A USB key can also be used for the same purpose if required. There’s a number of other things the unit can do that we almost certainly wont use such as viewing and organising image files and MP3 files. I am sure there’s things I have missed but I’ll need to have a read through the manual before I can add anything else.

There you have it. The Panasonic PWT520GL certainly gets a thumbs up from myself, my partner, and my 9 year old son. The quality seems excellent and it’s certainly easy to use. There’s a bunch of features on the unit and it’s likely we wont use most of them but it certainly meets our requirements.

Google’s New Tablet – The Nexus

Gizmodo, an Australian technology site I occasionally read has posted a scoop on what may well be Google’s foray into the tablet market, called the Nexus. It’s built by Asus and boasts a 7″ screen, a Tegra 3 CPU running at 1GHz, 1GB of RAM, and comes with either 8GB or 16GB of storage. It also runs Google’s latest incarnation of it’s Android OS, code-named Jelly Bean.

I don’t follow the tablet market at all, but I do have an Android phone and a first generation iPad. They are both fun devices but the phone is constrained by the hardware and sometimes slow and tricky to use. The iPad has proven to be nothing more than an expensive web-client which is useful enough but not for the original price of $700 or so.

The Google Nexus is of some interest to me for three reasons. Firstly, the supposed price, just US$199 for the 8GB model and $249 for the 16GB model. Secondly, developing for the Android OS is a much shallower learning curve than for the iPad. I’ve been doing on and off research on developing in .NET for Android using something like Mono for Android. Finally I am not too keen on the requirements for listing of apps in the Apple Store. Seems like a lot of hoops to jump through.

Oh, I guess I should own up to one final reason I like the idea of this tablet. At just $249 it’s not too much money to blow on what will be, essentially, a toy 🙂