Monthly Archives: July 2008

Spam killer

I always knew these types were evil bastards.

dry dog food containerpam-king-kills-family/2008/07/28/1217097105110.html”>Escaped 'Spam King' murders family

zp8497586rq

Linker problems galore

LINK : fatal error LNK1104: cannot open file 'mfcs42d.lib'

Go to Tools | Options… | Projects and Solutions | VC++ Directories, select Show Directories for: Library files and insert the path to your existing mfcs42d.lib.

Now you get
LNK2019: unresolved external symbol “public: __thiscall AFX_MODULE_STATE::AFX_MODULE_STATE(int,long (__stdcall*)(struct HWND__ *,unsigned int,unsigned int,long),unsigned long)” (??0AFX_MODULE_STATE@@QAE@HP6GJPAUHWND__@@IIJ@ZK@Z) referenced in function “public: __thiscall _

AFX_DLL_MODULE_STATE::_AFX_DLL_MODULE_STATE(void)” (??0_AFX_DLL_MODULE_STATE@@QAE@XZ)

Remove mfcs42d.lib and you get
mfcs90d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj)

Know what you did wrong?

I've got the answer.

Don't link to mfcs42d (and, for that matter, the non-debug version mfcs42.lib) in your 2008 project. If that name's hard-coded into your project – and it is, isn't it? – then change the name to mfcs90d and you'll be fine.

zp8497586rq

Blog boosters

Pete Brown has a good blog post: free outdoor furniture planssible-and-Programmable.aspx”>Easy Ways to Make your Technical Blog More Visible and Programmable — I daresay a lot of the points apply equally to non-tech blogs.

zp8497586rq

Wiiware not for the lone coders

Back when it was announced, it sounded like Nintendo's WiiWare would let bedroom coders get their games into their Wiis, just like Microsoft XNA lets anybody write for the XBox 360.

Not so. Apparently all the usual NDAs and licence fees apply. The difference is the games can be developed by small teams (within licenced developers) and the games are distributed via Nintendo's online service.

Nintendo snubbing small developers for WiiWare

WiiWare is a lie

I know I was never going to get around to coding any more games, not with my current workload, but all the same, I liked the idea, and it was helping leaning me towards buying a Wii.

zp8497586rq

Visual C++ Compiler Error C2316: Make with the class definition

Visual C++ Compiler Error C2316

You know, I was getting this error when porting some exception catching code from Visual C++ 6 to version 9. The error message helpfully states that 'exception' cannot be caught as the destructor and/or copy constructor are inaccessible

Weird thing was, it was wrong. Both the copy constructor and destructor for the class and all it's ancestors were in public scope.

Eventually there was the figuring out: the exception was being anonymously caught, like so:
try {
whatever();
}
catch (MyExceptionClass&) {}

A

nd to keep MSVC6 happy, earlier in the codebase a preceding programmer had coded:
class MyExceptionClass;
Which did indeed keep MSVC6 happy. MSVC9 asked what I'd done with the copy constructor. Well, dear friend: it's in the header file that wasn't included. Delete the forward declaration, add one #include and we are cooking with gas.

If we actually give the compiler the definition of the class being caught it can generate code rather than misleading error messages. Why the error message wasn't: “No definition for this class” is beyond me.

zp8497586rq

Eleven

Heh. The BBC News audio player goes up to 11.

get free moneym”>BBC audio player volume

zp8497586rq

Do we need bookmarks?

Do we need to bookmark web sites anymore? Can Google do the job?

With Firefox 3, you can just type a keyword into the address bar and it'll usually take you to the Google “I'm Feeling Lucky” first choice. Most of the time it seems to work, though in some cases (I guess where it's not sure it's what you really want, the first result isn't dominating the rankings) it takes you to the Google search results instead.

I tried a few. These all went straight to the place I was thinking of.

Age — www.theage.com.au
SMH — www.smh.com.au
NYT — www.nytimes.com
Connex — www.connexmelbourne.com.au
Wikipedia — www.wikipedia.org
Metlink — www.metlinkmelbourne.com.au
toxic custard — www.toxiccustard.com
apple — www.apple.com
herald sun — www.news.com.au/heraldsun
bbc news — news.bbc.co.uk
twitter — twitter.com/home

Even, to my surprise, “drive” got me to www.drive.com.au… I suppose me bringhow make money youtubeel> being in Australia ensures I get an AU-skewed result. Or maybe drive.com.au really does dominate that search term.

The only one that landed off the mark was TPN. I wanted The Podcast Network, but it took me to the Wikipedia entry for Total parenteral nutrition.

Searching for my name, and some others terms (eg cameron reilly, geekrant), took me to the Google search results instead.

Some don't work at all. Don't try searching for localhost, for instance! (Not that you'd normally need to.)

And we'll always need bookmarks for private pages, and shortcuts to pages away from the beaten homepage track.

[I think Cameron Reilly wrote on this topic a couple of years ago. Perhaps ironically given the subject, I can't find that posting.]

zp8497586rq

Nathan's iPhone review

Nathan's gone and bought an iPhone. Reposted with permission from his Melbourne Reviewer blog, here's his review of it.

Okay, so here's my review of the 3g Iphone. Probably showing a tad of bias but stay with me anyway, also I go on a bit, so sorry about that. Also it's not technically Melbourne, but plenty of Melbournians lined up just like me on Friday morning!

I was always an “Apple Hater” and I resisted getting an ipod for a long time, (I had Creative MP3 Players for ages). I couldn't understand using a Mac and thought all those people were nuts.

Now (it's even a shock to me) I figure there is space in the world for both. I've used the Macs that belong to friends. I doubt I'd ever get used to one, but hey if that's what they want to spend their money on then good for them. Anyway last year I got my first Ipod 80gb Video which was great, then switched to an 8gb Nano earlier this year. But Once I saw a first Gen Iphone and played with it, I knew I had to have one.

Was it worth standing for almost three hours in the cold? Well probably not really, considering the very next day I saw them on a shelf of one particular Apple related shop (albeit they are the dealer of a different carrier to my preferred one).

And of course it depends who you are and what you plan on doing with it. For me this is (almost) the perfect device.

The iphone has a lot of strengths, but also a number of weaknesses and annoyances as well.

Strengths. The interface. It is simply a joy to use. The touch screen defines touch screens. I've had two previous Touchscreen PDA's (imate JAMin and Imate JAM), and they are nothing compared to this, and no stylus is required. I was worried about the onscreen keyboard… I needn't have been. It does take a bit of getting used to but after about three days I have no issues with it. Sure, I'm not going to be writing essays or ultra long emails, but it's more than useable, and just as good (if not better) than the touch screen keyboards on other pda's that require a stylus.

Mobile Safari. Internet Browsing is great on the iphone due to two things: The screen size, which lets you see just a little bit more of a real website, and the ability to easily change orientation of the screen from portrait to landscape thanks to the built in accelerometer. You are easily able to view full web pages (not just the mobile versions), pan around them if necessary, and zoom in and out thanks to the two fingers “pinch” gesture.

Safari lets you view PDF's, Excel and Word Documents (up to and including Office 2007). So if someone emails you a PDF, or even a link to one, it is actually readable. All the same rules apply, zoom in, out, scroll up and down, left and right.

Annoyance: Safari doesn't appear to remember logins for forums, websites etc.
Also, famously, it doesn't (yet) support Flash. This was a sore point in the first gen iphone and it's pretty silly that they haven't included it this time round. There are rumours of an iphone version of flash coming out shortly (hopefully).

Safari has full bookmarking capabilities, and complete history capabilities as well, which are easy to use and understand.

There is a feature with like a “lineup” of recently viewed websites with thumbnails of that site, choose the one you want and it loads it up again for you.

Also, bookmarks can be set as icons on the home screen, for instance I use Tram Tracker, and the Mobile Age.

Your Homescreen can have up to 9 separate pages of icons, so you can easily set up your most visited mobile sites for ready access when you are out and about. It's a simple matter of scrolling left and right on the homescreen to access the other available screens. If you want to move icons around or between the home screens, you hold down an icon and then they “jiggle”, letting you move them all around, however you want.

Email. You are able to easily setup an Exchange account (assuming your exchange server/IT area supports the device. I'm perfectly happy not having access to work emails however). Also Gmail works beautifully via IMAP. You can of course use standard POP accounts and the new MobileMe service from Apple (though at $119 a year, you'd need to think seriously before wanting that I think). YahooMail is another option.

When reading emails all the same scrolling rules apply. Weblinks, PDF's and Excel/Word documents all open up as viewable (but not editable). I predict some sort of iphone version of Office if Microsoft can swallow it's pride, or maybe openoffice? Haven't read anything about this but it makes sense.

When composing emails, if you start to enter in a name of someone who has an email registered in your contacts, it's like outlook and automatically suggests a name without having to type in the entire address.

It has a perfectly good Calculator, which in portrait mode is just a standard calculator, and in landscape mode is a fully fledged scientific calculator for those that want one.

The camera is great for happy snaps. Some people complain that a lot of other phones have better cameras, more megapixels etc (the iphone is only 2.0 megapixels). I'm of the view that if you want to take real photos, buy a real camera. This is for happy snaps, and taking photos of people for your contacts (which works well), and if Aliens happen to land, you can take a shot of that too, though people will probably think it's 'shopped.

Google Maps and the A-GPS. This is simply AWESOME, works beautifully. However, it CHEWS through the data, as all data is pulled down from Google's server. If you aren't connected via some free wifi, be careful. Although it can be used for tracking you as you drive/walk etc, this would very easily eat through various available 3G data plans. Be warned, or risk appearing on Today Tonight with a second mortgage, depending on who your carrier is. It's probably best used sparingly for finding simple directions and local businesses etc in whatever area you are in. The A-GPS works great and you

have your position very, very quickly, far better than any other GPS I've used before. I'm hoping for an iphone version of Tom tom or similar, which is rumoured to be in the works.

The Appstore. This is the highlight so far of the iphone 3G. The Appstore was released on the same day and looks very promising. This isn't just a phone, or a PDA… this is a portable touchscreen computer.

There are a number of free apps, some of them good, some of them bad. Some of them are just geekily awesome for those that are into such things.

Some free ones I've downloaded: Phonesaber (also available for N95). Search your feelings, Obiwan! Shazam: Hold your iphone up to a song playing on the radio… it will tell you what the song is, and point you to a link where you can buy it on itunes. Requires data connection, but it actually works.There are Facebook, Twitter and Myspace clients that access cutdown versions of those sites. I've only tried facebook but it seems to work well and you don't get alot of the superfluous stuff that clutters facebook up.

There are heaps of others, and lots and lots of games. I've only tried one or two of the free games (imaze, ball bearing rolling around inside a maze). The reviews I read of the pay games are good though and apparently put other mobile gaming platforms to shame, as far as graphics and sound goes anyway. I'm still to be convinced on controlling games as the game genres seem limited to racing type games where you use the accelerometer to steer.It's obviously early days for the appstore, but I would say we've only scratched the surface of what the device can do.

Ipod… well, not much to say here. You've got all your standard ipod functionality, coverflow is great and very pretty. The headphones have a microphone built in for handsfree phone calls, and the microphone is also a button. one click pauses music, two clicks moves onto the next track. When the phone rings your music fades out and you can then click to answer.
Watching video's is great. Again, the iphone doesn't support divx (come on apple… even xbox360 supports it now). You can however use something like the free “videora” converter to get divx files playable on your iphone. And they are great to watch on the wide screen.

Phone functionality. Well, it is the iPHONE, though reading what I've said so far you'd almost forget you could make calls on it.

It works well, with 3G the calls are of great quality. There is speakerphone functionality as well. you can browse to contacts, make notes, even browse the web while in a call. Finding contacts is easy, contacts have a myriad of fields and options, you can assign separate ringtones to separate contacts. When syncing with itunes on the same PC as Outlook you are able to import all your contacts from there. You can also, for instance, sync all your contacts at work, and then sync your music separately at home.

You can also set up a list of favourite contacts for fast dialling, this is as close as the phone gets to speed dialling.

For those who use it, there is currently no voice dialling. doesn't bother me, but it might bother some.

You can't change SMS/Alert tones. There are some to choose from, but the choice is limited. Hopefully jailbreaking (as I right this, it's due out any moment from what I'm reading) will workaround this.

Ringtones. The Apple way is to buy ringtones from itunes. You can't by default use any of your own music/sounds. But there is a very simple process to create your own ringtones which I won't go into here, but a quick google search should find it online.

No clipboard… no task switching. If you click on a link in email, it opens safari. You then have to go out of safari, and back into email to get back to your message. This has been a sore point among many, but from what I've read it's a fundamental of the operating system that it doesn't do task switching (well, properly anyway).

You can however listen to music and do other things at the same time, so there is at least some multitasking.

The physical unit. Fingerprint city. I got the white one, which doesn't show prints or greasy stains as easily as the black one. But I went straight out and bought myself a skin because I know I'm going to drop it at some point and i want it protected. Also I got a screen protector with the skin. Reading online, lots of people say that you shouldn't need one since the screen is glass, but I'd prefer to have one anyway, it is still easily cleanable. You understand why they give you the cleaning cloth only a few minutes after you first pick the thing up.

You can load copies of photos through itunes from your PC taken with other cameras onto the iphone for backup purposes or to show off pics of babies, cats, tin dogs to your friends when out and about.

It shows up as a camera in Windows Explorer so you can easily import photos to your PC, but like other ipods it does NOT show as mass storage device. Also, syncing (loading of music) is fairly slow.

I won't discuss the merits of all the various plan offerings, as that's a veritable minefield of information. I will just say that you should DEFINITELY do you research on all of the available offerings, and then make up your mind based on what you think your usage will involve. Good luck!

Anyway that's probably about it. Am I happy with the device? Mostly, with one or two little niggles as mentioned. I wanted something where I could use the web (easily) when out and about. I had a Nokia 6120 and it's just not that great at it.

Several of my previous phones have had music players, but none of them were very good. It's great having my music and some videos and my phone in the one unit.

Some people don't want or need all this functionality, and if that's the case, then the iphone isn't for you. Is it overhyped? Of course. But you've got to give it to Apple, I don't think I've seen any ads for iphone on TV but they all lined up on Friday morning anyway. And I've just read that one million units sold since Friday world wide. I guess I'm not the only insane one :)

zp8497586rq

XBox 360 prices drop

Microsoft has dropped the price of XBox 360 in Australia, to $349 for the base-level Arcade (note, it doesn't run old XBox games because it has no hard drive, and won't provide HD video), $499 for the Pro (what should be called the standard model), and $649 for the XBox 360 Elite.

how do you use kindle on ipadoxworld.com.au/news/new-australian-pricing-revealed-for-xbox-360.htm”>XBoxWorld reports the Arcade can be got from BigW for just $278 at the moment.

Hmmm. $278 to play Pacman Championship Edition. Am I enough of a sucker to buy it?

Comparative RRPs: Nintendo Wii $399.95; PS3 $699.95. (Why does Nintendo's web site include no price information?!)

zp8497586rq

Game-On closes this Sunday

Game-On at ACMI in Melbourne closes this Sunday, and ACMI have told the Herald Sun that they're close to reaching the high score attendance record for the exhibit.

So do go along if you've been considering it. We liked it so much I took the kids twice.

Show a valid Metcard on Thursday nights (open until 9pm) for concession rate entry.

zp8497586rq