View Full Version : AWAD Desktop -- displays today's word from Wordsmith.org
Malarkey
2005.02.17, 02:49 PM
I'm on a mailing list called A.Word.A.Day (http://wordsmith.org/awad/index.html) which basically e-mails me a word (along with it's definition, origin, pronunciation, and usage) based on some theme for the week (this week is male/female forms of words). Anyway, since I get my e-mail at home, I only get to glance at the word briefly in the morning before I'm off to work. So I wrote this little program to display the day's word on my Powerbook:
http://web.newsguy.com/malarkey/software/AWAD_Desktop.zip
Really, what I need is to make sure it works on 10.2 and if it doesn't, the error log from the console.
belthaczar
2005.02.17, 04:46 PM
I was able to compile and run it OK on 10.2.8. It's a nifty little app. Is there any particular reason why you have all of your source code contained in .mm files? They seem to be pure Objective-C and compiled just fine (and much more quickly) when I renamed them to .m
Malarkey
2005.02.17, 05:34 PM
Whoops! I meant to upload the archive of just the app, not the source. Well, at least I know it compiles and runs under 10.2.8. :) Anyway, I usually use .mm just out of force of habit since all my other projects, I use C++ (or Obj-C++ code) and the compile time has never really bothered me since my usual development machine is a 1.8Ghz G5. ;) That, and I use VC6 on a Win2k machine for my day job and man, that beast just crawls on compile times.
Now to go and upload the correct file.
Edit: Correct file now uploaded. If anyone is interested in the source, though, feel free to e-mail me.
PowerMacX
2005.02.17, 06:51 PM
Sorry, I have Phanter... but I couldn't resist saying this:
VC6! It has to be the worst C++ compiler ever!
Ever tried
for (int i=0;i<10;i++);
doSomething();
it dumbly interprets it as if it were
int i;
for (i=0;i<10;i++);
doSomething();
:mad:
Malarkey
2005.02.17, 07:18 PM
Sorry, I have Phanter... but I couldn't resist saying this:
VC6! It has to be the worst C++ compiler ever!
Sadly, other than working some place else, I don't have much say in the matter. At least for non-cross-platform projects; for cross-platform stuff, we use Codewarrior.
iefan
2005.02.18, 12:18 AM
it dumbly interprets it as if it were
:mad:
It just has a scope problem... and a STL problem... and a, well you get the point. Other than that, and few other things, it's a great program!
It is bad when you have to write code the avoid compiler bugs, no? Then again, it seems to be the practice, since so many applications are written with that tool...
Talkie Toaster
2005.02.18, 12:44 AM
Sorry, I have Phanter... but I couldn't resist saying this:
VC6! It has to be the worst C++ compiler ever!
Ever tried
for (int i=0;i<10;i++);
doSomething();
it dumbly interprets it as if it were
int i;
for (i=0;i<10;i++);
doSomething();
:mad:
Oh yeah, remember the evil hack to fix it:
#define for if (0) {} else for
aaronsullivan
2005.02.18, 07:16 AM
Mock it all you want, but the code completion and interface generally destroys XCode even though 6.0 is 5(?) years old. I use it where I teach programming and it's also very friendly at making quick example programs. (Click new file button, code, compile... no set up, no command prompt)
Still, the lack of STL support and the little (but important!) things like the way the for loops act mean that I will be very happy to move up to the later versions. Although I'll miss the approachable nature of 6.0
Of course, using XCode (a free tool) on the mac where all the supporting operating system interfaces and supporting apps are vastly superior is still a better experience for me overall. At home, to do my PC versions, I actually use DevC++ for better compatibility with my mac programs (they both use GCC.) I wish DevC++ wasn't developing so slowly, though.
Sorry, I've rambled on. Let's not hijack this thread.
The app works great on my 10.3.8 G4. I really like the look of it. I checked out the site, and tried the audible version of the word. They could do a little better job recording those. :) Or maybe it's just Real.
One issue is that the icon probably shouldn't have that text in the speech bubble. It's disconcerting to not be able to read it at a normal icon size. I actually had to open a window and look at it in column view full size so I could be satisfied. ;) Maybe a bubble with no words? Or just one BIG word or something?
Malarkey
2005.02.18, 12:30 PM
One issue is that the icon probably shouldn't have that text in the speech bubble. It's disconcerting to not be able to read it at a normal icon size. I actually had to open a window and look at it in column view full size so I could be satisfied. ;) Maybe a bubble with no words? Or just one BIG word or something?
You had to open up a new window? Why didn't you just preview the icon in the info box? ;) Well, maybe I'll change the icon so that at the smaller sizes, it's just one big word.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.