Author Archives: daniel

Mac boot menu recommendations?

Hey there Mac geeks: a question.

I’ve got BootCamp running on my Mac Pro, and can get the menu for OSX vs Windows… but only if I remember to hold down the Alt key while booting.

Mac boot menu

What’s the best way to get this to appear (with a timeout, preferably) automatically?

It doesn’t look like BootCamp will do it.

Two alternative boot menus appear to be

rEFIt

and rEFInd

Any recommendations, or other suggestions?

(To clarify: I want to keep OSX as the default, but I want the computer to prompt — without having to hold down the Alt key at a specific time — to visibly allow the user to override it. Like Windows does with its boot menu when you have multiple operating systems installed.)

Update: Via Twitter, one vote for rEDInd, and a bunch of unhelpful comments asking me why I’d want to boot a Mac into Windows :-/

Hacked!

It seems this blog got hacked recently. A couple of posts had the following code inserted into them:

	 
/* < ![CDATA[ */
var quicktagsL10n = {
	quickLinks: "(Quick Links)",
	wordLookup: "Enter a word to look up:",
	dictionaryLookup: "Dictionary lookup",
	lookup: "lookup",
	closeAllOpenTags: "Close all open tags",
	closeTags: "close<div style="display: none"><a href='http://buycheaplasixonline.org/' title='buy cheap lasix'>buy cheap lasix</a> tags",
	enterURL: "Enter the URL",
	enterImageURL: "Enter the URL of the image",
	enterImageDescription: "Enter a description of the image",
	fullscreen: "fullscreen",
	toggleFullscreen: "Toggle fullscreen mode"
};
try{convertEntities(quicktagsL10n);}catch(e){};
/* ]]> */
 
 
	 edToolbar() 
	 
...(post text)...
	 
	edCanvas = document.getElementById('content');

This was on WordPress 3.2.1. I’ve now updated to 3.5; hopefully this won’t recur, but it’s something to watch out for if you’re running blogs using older versions.

Chasing a BSOD

I’m trying to nail down a repeated Blue Screen Of Death on one of my PCs. It’s only happened in the past week or so, on my 3ish year old HP a6760a desktop, in both Win7 32-bit (which I’m phasing-out) and 64-bit (which I’m moving to).

The crashes seem to happen in a couple of places, but this one is typical (output of the dump file via NirSoft Blue Screen View, with a little re-arranging of its HTML output):

Dump File 122912-22417-01.dmp
Crash Time 29/12/2012 9:15:14 AM
Bug Check String NTFS_FILE_SYSTEM
Bug Check Code 0x00000024
Parameter 1 00000000`001904fb
Parameter 2 fffff880`0a707068
Parameter 3 fffff880`0a7068c0
Parameter 4 fffff880`012ea820
Caused By Driver Ntfs.sys
Caused By Address Ntfs.sys+b7820
File Description  
Product Name  
Company  
File Version  
Processor x64
Crash Address ntoskrnl.exe+7efc0
Stack Address 1  
Stack Address 2  
Stack Address 3  
Computer Name  
Full Path C:\Windows\Minidump\122912-22417-01.dmp
Processors Count 2
Major Version 15
Minor Version 7601
Dump File Size 291,720

I’ve tried ensuring all patches were in place; that didn’t help.

Then I tried rolling back using System Restore to before it was happening. That didn’t help either.

Now I’ve tried installing the latest BIOS patch, which HP does say can help with some Win7 BSODs (though not specifically what I’m getting).

So far so good, will see what happens from here.

Update 1/1/2013: Still getting crashes. Interestingly, most (possibly all) seem to occur when Chrome is running, and particularly on pages with Flash. I have removed Flash, but it seems Chrome has built-in Flash support. So… I’ve temporarily removed Chrome to see if it stops happening. (It was up to date: Version 23.0.1271.97 m).

Update 1/1/2013 10pm: Not sure that helped. I did do a full malware check using MSE, which found: OpenCandy adware — it reckoned it was in D:\Users\Daniel\Downloads\avc-free.exe — which I think is a free “Any Video Converter” product I was mucking about with recently (I don’t think it’s the one I settled on). It’s not clear to me that OpenCandy would be causing these crashes, especially as I don’t think it was even active. Have removed it anyway.

Update 2/1/2013 8pm: Well, this is entertaining. Still getting crashes, and now it’s not booting at all. In fact it’s not even getting to the BIOS startup screen. Obviously some serious hardware problem.

Update 2/1/2013 9:15pm: After trying many suggestions from the HP support web site, such as unplugging all devices and even disconnecting hard drives and removing RAM, no luck. The power goes on, the CPU and video fans spin, but no display at all, not even the customary single beep.

I’ve posted to the HP forum hoping someone there has some ideas.

news.com.au polls rigged

A news.com.au poll over whether “football” or “soccer” was a better name for the world game resulted in 2006 votes for each.

IT’S OFFICIAL. Australia is completely split down the middle on the issue of whether to call the world’s most popular sport “soccer” or “football”.

A News.com.au reader poll which has attracted 4,012 votes at the latest count reveals that exactly 2006 people voted for football, and 2006 for soccer.

What they apparently didn’t realise was that the poll was rigged. A user posted to Reddit that he had hacked the system and ensured this and other polls came out equal.

I actually wrote a program where for each option someone voted, my program would vote once for every other option, thus maintaining a deadlock.

Every now and then, they reported on poll results as if it were actual news. After emailing them alerting them to this, they are yet to retract any of their articles.

The whole saga was blogged here.

Just in case News remove the story above, here’s a screendump. — update Wednesday 8:50pm: it has now been removed.

news.com.au poll

Windows 8/Server 2012 new interface – is this progress?

Jakob Nielsen nails my concerns with Windows 8, specifically that the paradigm doesn't work on PCs:

On a regular PC, Windows 8 is Mr. Hyde: a monster that terrorizes poor office workers and strangles their productivity.

… (PCs) used to be Microsoft's core audience, and it has now thrown the old customer base under the bus by designing an operating system that removes a powerful PC's benefits in order to work better on smaller devices.

An example I'm finding trying to use Windows 2012 Server, which uses the same interface: the start menu isn't visible on the taskbar. You have to press the Windows key to get it. But this causes huge problems over Remote Desktop, which is how many servers are accessed. You have to specifically reconfigure Remote Desktop to do it, which then causes issues on your own desktop.

Windows Server 2012 - no Start button Windows Server 2012 - if you're lucky it will appear

The Start Menu does seem to appear if you mouse over the bottom left of RDP window, but I haven't yet worked out precisely what you need to do. Hover? Click? Swipe? It just seems to pop up semi-randomly. If there's a better way of doing it, it's certainly not obvious.

In my book, this is not a useability improvement.

Geeks rule the world

This warms the heart.

Here’s proof that geeks now rule the world: the USA election result shows the winner is the one with the better database. This fascinating article shows how the Obama campaign gathered and used demographic data — and how the Romney camp mis-stepped.

The Obama campaign had pulled off a trick political professionals normally fantasise about. Using some of the most sophisticated campaigning technology ever created, they reshaped the electorate to suit their candidate.

Victory for technology

Converting .ts (DVB) to other formats (in Windows)

I’m always on the lookout for a better method of converting DVB (.ts) video streams to more useable formats.

This seems to do a decent job: Free Video Converter

— just beware of the installation questions; if you accept the defaults, it’ll install an unwanted toolbar, a doubtful driver optimiser, and an unneeded (in my case) plug-in for Firefox and Chrome.

Anybody got other suggestions, including for OSX?

To use Windows "shutdown" or "psshutdown" remotely, turn off UAC

I was wrestling with trying to get shutdown or psshutdown to remotely shut down a Windows machine.

These instructions (for shutdown) seemed so straightforward: ensure the relevant service is running, that it has access through the Windows firewall, and that the calling username is aligned with one on the remote box that has permissions to shutdown.

psshutdown avoids the latter point by letting you specify the username/password.

But everything I tried returned Access Denied.

The answer, it turns out, is to switch off UAC for that user on the remote box. Then it works:

psshutdown \\tintin -u daniel

PsShutdown v2.52 - Shutdown, logoff and power manage local and remote systems
Copyright (C) 1999-2006 Mark Russinovich
Sysinternals - www.sysinternals.com

Password:
TINTIN is scheduled to power off in 00:00:20.

Of course, UAC is there for a good reason. In this case I’m not too troubled because the box involved is one I’m going to decommission in the near future, but one would hope there’s a way of making this work with UAC still enabled.

Trouble moving iTunes from PC to Mac

I tried the other day to move my iTunes library from the PC to the Mac. I figured we might as well move everyone in the house’s iTunes libraries onto OSX and then avoid having to maintain multiple copies of the iTunes software on Windows.

From reading about it, it shouldn’t be too hard.

In theory you just ensure all the files are in the iTunes folder (by ensuring iTunes is set to organise it, and running a Consolidate files operation) then copy the folder across to the new computer’s iTunes folder and open iTunes there… plus authorise/de-authorise computers as appropriate.

Problem was once I’d moved the files across, iTunes on the Mac couldn’t find some of them:

iTunes library error

465-odd songs. It seemed to be primarily songs within compilations. They were all there on the hard disk, just not where OSX iTunes thought they should be. (Checking back on the PC, Windows iTunes was still happy.)

It would give me the option to find individual tracks, and then claim it could try and use that info to find others, but never seemed to be able to automatically find more of them by itself.

Where it was whole albums gone missing, I ended up removing them then adding them again.

Still about 90 lost which I may have to do individually… though I’m wondering if I should just remove everything from iTunes, then drag all the iTunes folders back into it to reload them from scratch… assuming it’s okay with folders and subfolders being added.

According to email clients and anti-virus, an EXE disguised as a PDF is not suspicious?!

So seriously, why can't email clients like Outlook, as well as virus scanners, flag EXE files disguised as other things?

For instance, at work we got one the other day that was a fake Microsoft notification.

Subject: Important Changes to Microsoft Services Agreement

It basically asks you to open the attached file to see the details. The attached file is Microsoft-Services-Agreement.zip – inside that is “Microsoft Services Agreement.pdf.exe”

I scanned it with the virus scanner (with up-to-date definitions). It doesn't flag it as suspicious.

Not suspicious?! It's a frigging EXE disguised as a PDF. Windows users who have the default “Hide known extensions” on* will see it as a PDF. How is that not suspicious?

*That's a stupid default, too.

Setting up a used Mac Pro

Mac ProWe’ve got a used Mac coming to our house. I haven’t owned a Mac before (though I have used one a bit).

It’s a 2008 era Mac Pro, bought through my sister’s work, and the I’m told the spec is:

MacPro3,1 – 2 x Xeon 2.8 GHz (8 Core), 4GB Memory, 300GB Storage, OS 10.6

So despite being 4 years old, should be pretty quick I reckon.

It’s coming without keyboard and mouse, so I’ve gone and bought a cheap Microsoft Desktop 600 pack (corded USB keyboard and mouse) because I discovered I had not a single USB keyboard in the house. (I have an intense dislike of the feel of Apple the keyboard and mouse.)

My plan is to upgrade it to the latest OSX (A$20.99 on the Mac App Store; and Harvey Norman has a special of 2 x $20 iTunes cards for A$30 at the moment), install a new big hard drive (I’m thinking 2 terabytes — it looks like the Western Digital Caviar Blacks should be compatible with it, and cost about A$190) and use Boot Camp to get Windows 7 running on it alongside OSX.

Some more memory would be good, too.

Standby for updates and desperate pleas for advice as we figure it out and set it up.

First question – can I sign up for the Mac App store without messing up my iTunes account on another computer?

A friend on Twitter says it’s fine — it would fall into the usual 5 devices per iTunes account thing.

Video connection

I didn’t even think of this. Only DVI connections out of this beast — my old monitors are all VGA.

It’s Sunday afternoon, so my options for an adapter were Officeworks ($30) or Dick Smith ($25). Dick Smith wins.

The beast fires up

The long wait to create my Mac accountThe beast fired up and asked for my initial account information… then sat there for about 15 minutes “Connecting to Apple”. Eventually it got there.

It’s got OSX 10.6 on it… went to run Software Update, but it had a problem with the download (possible corruption) and decided it wanted to have another go. Odd.

Updating OSX

Had to update to 10.6.8 to get the Mac App Store, then with $2.25 left on my iTunes account from previously and a $20 iTunes card added, I’ve bought Mountain Lion (10.8). Almost 2 hours to download it, mind you… this had better be worth it.

It was only after buying and starting to download that I read an interesting article suggesting that actually Snow Leopard (10.6) is the ultimate in stable useable OSX versions for older Macs. D’oh. Oh well. (Some interesting other stuff on lowendmac.com as well.

After installing 10.8, I’m rather impressed that all but 10Gb still appears to be available on the disk. Very impressive. Actually it hasn’t installed… now it says it’s still downloading. Will investigate.

Slightly disappointed though that GarageBand and iMovie aren’t free anymore. $15.99 each on iTunes, won’t break the bank (especially if bought with discounted iTunes cards).

OSX 10.8 take 2

Upgrading OSX to Mountain LionOK, now it’s installed. Took a little longer than expected, but it’s very nice. Will take a little getting used to, of course. Seems quite responsive.

Startup chime

The startup chime is stupidly loud. I’ve “fixed” it by muting the internal speaker — since generally we’ll use this beast with external speakers, so having the internal one silent won’t be any loss.

There are software solutions to this, but many of them don’t work in OSX after 10.6. Apparently this one: StartNinja, should work.

Windows: Bootcamp vs Parallels

I’d intended using Bootcamp to run Windows 7, but it was suggested to me that I should check out Parallels (or VM Fusion, in Chris’s awesome set of tips below).

This article compares Parallels and Bootcamp(taking into account that Parallels has recently had a big upgrade in performance, though just in the last week or two there’s been another new version). This probably sums it up: “while Parallels is an incredible technical achievement, the Windows power user will notice a drop in performance.”

The article goes on to say that basically it depends on whether you’re primarily going to use Windows (in which case go Bootcamp) or you genuinely want to use them side-by-side (in which case Parallels may be the go).

This article compares VM Fusion and Parallels, and concludes that the former is slightly better, but it depends on your priorities.

Anti-virus

Some diehard Mac users say they don’t need anti-virus. I’m not so sure — while it seems unlikely, there are some around, and it might be better to be safe than sorry.

Sophos’s free antivirus for home sounds pretty good. Anybody tried it? Seems to get good reviews.

Convert an Access table to a Wiki table

Copy/paste entire table or query into Notepad++

Replace newlines: \n
with: \n|-\n|.

Then replace tabs: \t
with: \n|.

(In the above two replaces, period = space)

You should end up with a structure like this:

|-
| data line 1, value 1
| data line 1, value 2
|-
| data line 2, value 1
| data line 2, value 2

Then you need to add the table header to the top – in this case I’ve gone for sortable columns:

{| class=”wikitable sortable”
|-
! scope=”col” | Value 1
! scope=”col” | Value 2

…and the footer for the bottom:

|}

That should be about it.

More info on Wiki tables