Showing posts with label Computers. Show all posts
Showing posts with label Computers. Show all posts

04 April, 2012

Feel like bacon, anyone?


Let's ham it up

Bacon and eggs go together like…well, bacon and eggs. They're great as a pie, or even on their own without pastry. However, one place where they really don't go together is in a game. Except for one family of games.

First, take a family of birds. They like life. And they like eggs. Funny that, because that's how they become birds. And then there's pigs. Pigs like eggs too, but not for the same reasons. They don't need the eggs to become birds first. They just like eggs. Cooked. Any way they can.

Needless to say, the birds don't like this. In fact they get rather angry about the fact that the pigs (green, in this case) have come along and stolen their eggs, in preparation of a right pig-out. Yes, that's right, I think you've all figured it out by now.

Take some angry birds…

In the game Angry Birds and their sequels, you play the part of some really really angry birds. You're given a catapult, and different sorts of birds, all to kill any pigs on screen. The fewer birds you have to use, the better your score. Oh, and it's even better if you wipe out every piece of structure protecting the pigs too, but killing the pigs is where it's at. Or releasing the other birds, if you happen to have bought Angry Birds - Rio.

It's become kind of a cult classic, but I've no idea what following it has, save that it comes top of the category at the App Store for downloading. Suffice it to say that this may not be the game for COD4 or MW3 players, unless they're tired of playing with all their buddies online, and just want some downtime, to rest up the braincells.

Don't think you'll be resting them with this game, though. Even though the target is simple—kill all pigs (or release all the captive birds)— that can get surprisingly hard to do, especially if you're after the full three stars that nearly every level offers. And then there are the chances to get golden eggs, which unlock further levels for you to play on. If you think “Pshaw, how hard can killing pigs be?” then try going through all four games, completing all levels, and all goldenegg levels. When you've succeeded in that, decide whether you want to run back to MW3.

Then there's the inevitable chase for the highest score you can possibly get in each level. I don't quite know how the score is calculated, but the higher you get, the more points you have. And you might even get a golden egg level out of it. If you feel like releasing a bit of frustration, then I'm sorry to say that some of the levels in this game are infuriatingly hard to get. Needless to say, I haven't finished all the levels yet.

The games are cheap enough, at only $4.95 each you're not going to have months of gametime, but it'll while away enough time for the price. The most recent episode costs $5.95, but that's because it's only just been released. In addition, the games are not just available on your humble PC. No, sir. It made an appearance in the smartphone market when I first saw it, and it had become a classic top-of-category by then. Once tablets started becoming more common, it was only a matter of time before Angry Birds (and sequels) topped the charts at the App Store. In addition, you can even play some of Angry Birds for free, in a number of ways. It's available as a Google Chrome applet, a Google Plus game, as a Facebook game, or even as a standalone demo for the PC/Mac (running on OS X)/Android/iPad or smartphone.

And it's a good alternative to Minecraft.


EDIT: Unfortunately, these games are no longer available for download in their PC versions from the original producer, so the only way you can get them is either on disc from retailers that still sell them, or from Steam, who currently only sells Angry Birds: Space through their platform.




23 April, 2010

What, Windows again?

Install woes

Yep. I finally got sick of the fact that my Solaris wouldn't boot. So I turned the 10 Gb drive into a Windows XP Home install. The install worked well enough, but the Windows installer needed to put files onto the first drive into a special partition. Linux lost a bit of swap space in the end, but I figured it was worth it. It had been the first time I'd spotted an install where the system drive wasn't the boot drive. The other weird thing to get my head around was that my Windows drive was called H: and not C:—which was the boot drive.

I soon found out that 10 Gb was nowhere near enough for the games I wanted to add. So I retired a 40 Gb hard drive out of brick, copied my Windows install over to the drive using gparted, then tried to get it bootable using the Windows CD. Unfortunately for me, the Windows installer insisted on putting boot files onto the first hard disk, and wouldn't continue unless I allowed this to happen. In the end, I gave up, toasted the copy, and created three partitions. One partition had grub and Linux kernels so I could still boot Linux from the first drive, even though the rest of the Linux files were held on the second drive, I just had to do the normal twiddle with the file system tables. The second partition was for the Windows files, and the third partition was for Windows virtual memory.

Hardware issues

I stuck the Windows CDROM back in and booted the computer. The Windows Setup program merely said "Setup is examining your hardware configuration", then the screen went blank, and the drive activity light started flickering about six times a second. In the end, the only way I was able to get Setup to continue was to pull the power plug out of the first hard disk while Setup was examining the hardware, then plug the power back in while Setup was loading the rest of itself into memory. I don't recommend doing that, of course. But I finally got Windows XP installed last night and spent the rest of this morning, and most of this afternoon installing all the updates, along with SP3, Quicktime, Adobe Reader, and so on, as well as Quake 4 and the Command & Conquer games I bought.

One thing I found out rapidly is that Windows requires reboots after most of the updates I'd put in. Take Acroread as an example: I installed the latest copy of Acroread, and was fine. Then I told Acroread to check for updates, it then downloaded the update, installed it, and required me to reboot the computer. I even saw that same issue with Windows 7. I seriously don't miss that aspect of Windows.

So now I have two copies of Windows XP, one Pro and one Home. The main reason for installing XP Home is so that I can actually play games on a machine with an AGP video card. The machine's also considerably faster than the 1GHz Duron, although it doesn't have as much memory. I'd probably add some other 3D programs too, such as blender, OpenCobalt and Second Life clients. I have a lot of older games that might work under Windows XP that won't work under Vista (or Windows 7) so my machine will be good for that.

That machine, part two

Yes, that one

About a week before, I'd received a computer to analyse. It had ... issues. After typing up the article, I tried installing SP2 again, and got a warning that WGA had not been installed on the machine. When I installed WGA, and tried to reinstall SP2, I got a warning that the version of Windows that had been installed, got installed with a Volume Licensing Key that had been subsequently de-allocated (rendering it invalid). As a result, the machine no longer had a Windows install that could have any other updates applied to it, if those updates depended upon WGA. I duly rang owner, and suggested that they either get themselves a valid Windows license and CDROM, or consider the purchase of a new machine. They got back to me, and told me I could (effectively) keep the machine, though they did take the monitor back.

So, that was the end of the line for that install of Windows XP Pro. I nuked the install, copied my wife's copy of Kubuntu to the hard drive, stuck it back inside the machine, and added another memory stick for good measure. Powered it up, and struck the first problem. The machine wouldn't accept more than 512Mb on the motherboard. So, haul out the added memory, powered back up, and down, and up several times while I tried getting the hard drive grubbed, before finally growing a clue and hauling out my Ubuntu 9.04 CD, putting the drive into my main machine, booting the CD, running "Reinstall grub" and so on. Then I pulled out the drive, rinse repeat, into the Compaq. Booted, but was really really slow. I couldn't understand this, because it was a 1.3GHz Celeron, so it should have been faster than my main computer. Also, network was really slow, and only 30% of the packets were getting through. Rapidly realising that the machine wasn't a working one, I put wife's drives back into her original machine, and left her to it, feeling rather cheesed off that my attempt to help out hadn't gone at all well.

Thinking on the problem

Next day, I hauled the hard drive back out, stuck it back in fatty, copied my Windows XP Home installation (which I'd installed less than three days before) over to the drive using gparted (nice tool, by the way), and did the futzing around required to boot Windows. Except it only got so far before stopping. Thinking that it was just Windows playing silly with me, I booted it up again, and got the same reaction... it would only get so far, and then stop. Giving up on that for a moment, I flipped the machine over to boot Linux, and did a speed test on the drive. Unusually, I got some seriously divergent results, from 8Mb per second up to 17Mb per second. I decided to eliminate the cabling, and tested the other three drives, which all varied by less than 0.1%. So, I suspect that not only was the OS giving trouble, but so was the hard disk. I've uhm, retired it.

I think what I'll do with the machine finally, is put a NetBSD drive back into the Compaq computer—which only takes one drive anyhow—and simply use it as a networked NetBSD. I don't know what else to do with a machine with Intel 815 graphics, 512Mb maximum memory, room only for one drive, and a proprietary CDROM which I don't have. So the machine doesn't show much chance for expandability. Ah well, so much for trying to help someone else out—but at least this time I got something for my troubles.

13 April, 2010

Twelve games and a drenching

A ‘new’ old adventure

I finally tracked down a copy of “Command & Conquer - the first decade.” I’ve been looking for a while for this version, rather than the original Command & Conquer game that doesn’t work on Windows XP (or it doesn’t for me, anyhow). This collection is the first twelve "episodes", i.e. C&C, Red Alert, Tiberian Sun, Generals, the expansion packs, and so on. I’ll let you know how much fun I have. I wasn’t having much luck finding it until EB Games had themselves a sale, and finally brought some in. The last time I saw the collection was over three years ago, and I had to turn it down at the time because I didn't have the money—nearly $90. Thankfully I didn't pay that much today, due to the special, I only paid $35.00

The key to future typing

Anyhow, I’m typing this on a new cheap keyboard, because somehow my keyboard got drenched in tea when my teapot overflowed onto it. It feels quite different from my keyboard, so no doubt it’ll take me a while to get used to it. I had to go for a bargain keyboard, and I can feel it. My finger memory will need to be retrained as my previous keyboards were a different feel, with keys in slightly different places than this one. The Enter key is flaming huge in comparison, and the pipe symbol ‘|’ and backslash ‘\’ are down beside the right hand shift key. I haven’t had a keyboard like this for years!

I had a bit of an adventure when I bought the keyboard though. I need a PS/2 dongle to connect to a KVM I’m using. The first keyboard that I bought didn’t have the dongle in the package, so I had to take the keyboard back and get another one that had the PS/2 dongle. Now I’ve got it home, and it works well aside from the squashy keys. Let’s hope that this keyboard doesn’t have another spill, though the price is at least cheap enough to afford a replacement in a reasonably short space of time. I know I’ll hang onto the dongle though, so that I don’t have to go through the hassle of buying a keyboard just for the dongle.

Repair of an older computer’s OS

Some days, it just doesn’t pay to get out of bed. Someone I know had one of those days recently. They got given a computer by their boss, that had Windows XP installed onto it, but nothing had been updated since. They requested that I come over to help them as they couldn’t get email or the Internet going. When I got there, I immediately pulled the USB cable out of the DSL modem, which at least fixed the Internet problem, but only in part. I even managed to plug a printer in, plug a digital camera in, and print photos, all without issue. But I got stumped on the email, so I left it for the owner to talk to the ISP about. Yesterday, they spent most of the day on the phone to the ISP, trying to sort out the email problem, with the eventual decision by the ISP that the computer must be somewhat broken. That’s when I suggested they bring it over here, so I can work on it at my leisure. So far, it's got to me with these symptoms:

  • Updates won’t install onto it, due to the OS being not patched.
  • Google Chrome can’t be installed on to the OS, as it hasn't been brought up to SP3
  • Service Pack 2 won’t install on the OS, claiming it can’t be installed on this version of the OS
  • The web browser won’t go to Skype.com, the browser sits and waits, but doesn't go any further. The same thing happens when the user clicks the “webmail” link on the ISP’s home page—the browser simply sits there and the progress bar moves up to about five bars, then seems to stop.


Frankly, I smell a rat, and no doubt I'll be spending a fair amount of time just getting the computer to “do email”—I’ll let you all know what luck I have.

25 March, 2010

Another calculator, same as the first?

A new purchase

I recently got another calculator for $10 from an online store. I saved $19.95, so I was happy. There was a reason not to be happy, but more about that later. It's still my first honest-to-goodness modern Hewlett Packard calculator—my previous HP was a HP34C and died long ago. But something struck me as soon as I received it in the post. It's another one of these calculators with a display that has two lines, one for the input calculation, the other shows the output from previous calculations. The display's almost exactly like the Casio FX-82MS with the same characters and annunciators, and the HP 10s even has a very similar keypad layout, only the occasional keys have been transposed, and the directional keypad is in a different position.

As well, the internal menu system is exactly like the FX-82MS, to the extent that if I compared the HP documentation and the Casio documentation, I'd find no mistakes on either calculator. Their documentation certainly differs though, even though they've both printed their respective instructions on a single sheet in multiple panels, the Hewlett Packard documentation is separated into distinct pages, and those pages don't take up an entire column as the Casio instructions do. I also found that the self-test on this calculator is almost (but not quite) identical to the FX-82MS. The key combination to start the test off is even the same: Shift-7-On. Once starting the test, keys in the keyboard test are pressed in exactly the same order as they would be on the MS, which makes for a slightly odd order on the HP's keypad. And I still haven't found out what all the numbers mean at the end.

So, is it a clone?

It's not absolutely a clone, and it has the advantage of being solar-powered like the FX-85MS, though I haven't seen one of those in this country. Nice for when you've got some nice bright sunshine, it keeps the watch-cell battery topped up with solar power, and makes the battery life a lot longer as a result. It also has a slide-on case just like the Casio, but slightly differently designed. The fit is tighter, for one, so the top's not quite as likely to fall off inadvertedly. It has exactly the same default ranges too, so if you couldn't find the FX-82MS, this HP 10s would do fine and be literally a drop-in replacement for it.

The LCD display and the colours selected for the fascia and keys mean that everything can be read clearly, and is easier to read than the MS, and it reminds me of the other white calculator body I have from Casio (the FX9750G Plus). However there's a slight anomaly when you look at the M+ key, the DT is supposed to be associated with it, but the way the design was done for that key isn't quite as together as for the 82MS. However, I can certainly live with it. The keys have a good positive travel and don't have a tendency to offset, unlike the keys on the Casio body which can on occasion look a bit higgledy piggledy. All in all, the Hewlett's quite a good calculator, though the lack of programmability is reflected in its price. It seems strange that somewhere in the documentation on the HP web site, there is mention that the calculator has 128 Kilobytes of memory, I'm trying to figure out what on earth uses up all that space, given there's no programmability.

And the reasons for being unhappy?

About the only problem that I had was when I first received the calculator and turned it on, the display wasn't quite right. In that top line of the display, there was a missing line of dots. I'd normally have shrugged this off, but in the case of this calculator, there's little enough font information as it is, as the font on the top line is only six pixels high by five pixels wide, with an additional pixel's worth of space between each character cell. So having every single character missing its second line of pixels was a bit disconcerting. If it wasn't so cheap, I'd have probably returned it to the retailer by now, asking if I could have another one of the same value. But the cost of return is nearly as much as the calculator cost me to begin with, so I probably won't bother. And as it was, using the self-test cured the missing line of pixels, so I don't have to send this back to the company after all. I would have felt like a charlie if they'd slung it back my way saying "It works, deal with it". I was also hoping like anything that this calculator was programmable, but it was not to be. Ah well.

Accuracy!

For simple tests, it shows roughly the same degree of accuracy as other models, though there are some differences. For example, this test:

(asin (acos (atan (tan (cos (sin(9)))))))

results in the figure

9.000000002
being displayed, instead of the FX-82MS' result of 8.999998637. So maybe there are differences after all. After taking away the 9.00000000 and then multiplying by 1E9, we get 2.124, which makes me wonder if this calculator has an extra couple of digits of precision up its sleeve. Weird.

12 April, 2009

A fast bit of chrome.

Wow - I've got my cake and I can eat it too!

I've been taking the latest Google Chrome browser for a spin recently, and I'm frankly pleasantly surprised. There's only one thing I've found that I can't do in it, but more on that later. It's fast, there's minimal "fat" with it (no superfluous stuff) and it renders content accurately—or seems to, anyhow.

Let's apply the ACID test

Google Chrome's ACID3 test picture

I ran Chrome through the ACID tests, and it seemed to pass all but the ACID3 link test with flying colours. Chrome passed every element of the ACID3 test but took too long, which is about standard for my machine (Duron 1GHz, 1256MB, VIA motherboard, ATI Radeon 7000 AGP card). For some reason the linktest seems to show up as failed too. However, I can probably forgive these few failings. This is definitely a plus for the toolkit that Chrome is based on (WebKit, otherwise known as KHTML, used inside KDE's Konqueror.) Firefox 3.0.10 managed 71 out of 100 tests, and was quite slow in the process even on a Celeron 2.8GHz machine, though I'm not going to screenie it here, as this article's already too bulky.

Picture of IE7's ACID3 test picture - oh dearIn a not surprising comparison, Internet Explorer 7 looks like a dogs breakfast, I can't even tell how many tests it uh, passed, neither can I click on the letter A to find out. I really really hope for Microsoft's sake that IE 8 fixes some of the bugs with the renderer, because frankly in the mode I had IE7 in (fairly much untweaked, how you're supposed to have it), this response to the ACID3 test is totally useless. Incidentally, from what I've read on the current-at-the-time Wiki page on ACID3, apparently Microsoft don't actually intend on making their browser achieve a perfect score.

Microsoft, developers of the Internet Explorer browser, said that Acid3 does not map to the goal of Internet Explorer 8 and that IE8 will improve only some of the standards being tested by Acid3.[17]

Aww, I found a bug(let)

As I said before, I've only found one thing I can't do - and that's to delete entries off the list of downloaded files. In comparison, Firefox shows a list of downloaded files, and if this list becomes overly large, it affects how fast Firefox loads and displays documents. However, I'm able to delete entries from that list, unlike Chrome. Will Chrome fall foul of that same problem? I rather hope not.

There's not really much more I can say on the subject, but well done, Google. I'm impressed enough to have made it my default Windows web browser, supplanting poor old Firefox 3 in the process. The only questions I have left are:

  1. when is it going to appear on Linux, and
  2. when is it being open-sourced?

Apparently, as WebKit is open-source, we already have the basic codebase of Google Chrome now... just not the source code to the Google tweaks they made to make it so screaming. I imagine that Safari may well have similar results to Chrome, due to its use of the Webkit codebase.

June 8th 2009

Further to the article, I finally got a copy of Internet Explorer 8, and fired it up on ACID3. It has improved on its godawful previous score of 12/100, and now the picture at least looks a bit like the reference page. Now there are boxes of about the right shape, though they don't appear to have any colour in whatsoever. *sigh*. Never mind. We can take hope that eventually, Microsoft will come up to par. IEX, maybe?

Oh, sorry. You wanted to see what it looks like on my computer? Doesn't this article already have enough heartbreak in it?

08 April, 2009

Finally, SQL Server Express 2008 is installed

It was a bit of a struggle

... but I did it. After a couple of false starts, that is. I initially selected SQL Express 2008 for download and installation, (that's Microsoft's server for those not in the know) and then found that I probably should be installing the SQL Express 2008 with Advanced Tools. Well, I tried. I really did. The problem was, the file wasn't playing ball. Either I'd download it and attempt to install it and find that it was broken when it was decompressing, or I'd not even manage to get it to download. So I gave up and went ahead and installed just the plain server from media I already had. Then there was the little debacle I had just getting the Management Tools working. I also wanted to install some sample databases I'd seen on a Microsoft website in relation to the SQL Server, but every time I kept trying to install it, it kept failing stating I needed to enable Full Text search. That particular facet is only supplied (at least in the Express versions of SQL Server) with the Advanced version.

I had a feeling that Full Text Search was an option that I could tweak by installing the Management Tools, so I gave that a go again. That eventually got installed today, after I downloaded the standalone executable for the tools to add to the standalone SQL server. I did have a struggle when I tried to execute the management tools executable the first seven times, but all I kept getting was the SQL Server Installation window. What I hadn't realised is that because I hadn't (apparently) completed the install of the SQL server the first time, I had to complete that step first. Once I actually did that, then things started working. I ticked off the box for Management tools, then waited while it spun the drive platters, and installed. Whew. Finally I had them installed. I tried the tools out, but found out that I did really have to install the Advanced version, just to get the sample databases installed.

So, I decided I was going to give the Advanced install a try, given that I'd had success with the installation of the Management tools. So, I clicked the executable that I needed to run, chose "Advanced", and waited. Finally, it actually installed properly. So then all I had to do was choose the facets I needed. I ticked off the Report module, and the Full Text Search boxes, completed the process, and sighed after I saw the two "Success" boxes.

Another struggle

... I'm going to end up with (now I have the AdventureWorks databases) is simply getting my head around how to use Microsoft's variant of SQL; either as a simple SQL server (which is normally how I'd use it) or in any other aspects of how to get it running better. I'm used to that, though I'm pretty new to the whole SQL scene. My only previous experience has been creation and maintenance of databases and tables in a PostGreSQL environment, as well as issuing queries against that database. I've also tried out two GUI front ends to browse databases.

Other issues include how I can make full use of the whole Visual Studio environment (at least the Express portion), and how I can compare it with the equivalents under Linux/FreeBSD/Solaris. Namely, that's gcc for Linux and FreeBSD, and Solaris' compiler suite in addition to gcc running on Solaris. Once I get enough programming experience under my belt, I eventually want to get to the stage where it really doesn't matter what environment I'm using or what compiler, I should be comfortable with the tools in use.

I'll let you all know what luck I have.

15 September, 2008

Poor brother to the big king

The Beginning

Gawd, the fifth edit... mainly to stick back in all the pictures that disappeared from other places. Anyhow, on with the show. Whoops, make that the sixth edit to finally show a proper screen from the grocery program, more below. I have just added to my small collection of calculators, and thought I'd describe something about them in this post. Casio make a line of programmable graphical calculators: the FX-9750G, the CFX-9850G, the Plus versions of these, and so on. My latest acquisition is the FX-9750G+. It's just about the bottom end of their range of this sort of calculator, and doesn't have a three colour screen (orangey-red, green, and blue) like the big brother. But it'll do. Yes, there is a difference between this and the previous FX-9750G: this one has had some finance functions added, which I've already taken advantage of. This programmable graphical calculator might be the little brother of the family, but there's enough in here to keep me reasonably happy.

Anyhow, I thought I'd compare it to two other calculators that I have here - the Casio FX-82MS, and the Canon F-804P. Neither calculator is programmable, though the Canon can accept a small number of user-provided functions and store them for later recall. I'm deliberately not comparing it to the HP 50g, because there frankly isn't any real comparison that can be made. The Casio's not RPN, doesn't advertise 2,500 functions nor widespread usage among professionals. However, for what it is made for, it does seem to be a good performer.

First off, I'll introduce the FX-82MS, and here's a huge version, so you can count the pixels on the display (image originally copyrighted by unknown author, and shown on a website that no longer exists). Look at how crisp they look.

Umm, why did you buy them then?

Well, I bought the FX82MS as an upgrade to the FX-82TL (which I then gave away to a friend for his course work - who needs TWO FX-82 calculators?) because I loved the idea of the navigation keys on the MS, which the TL never had, and neither had any FX82 model previous to that. The extra 14 functions helped out too. Literally the only thing this calculator wouldn't do was base-N calculations, you had to buy at least the FX-100 for that. Which is where the Canon comes in. Just as an aside, I now have the FX-82TL back, as the previous owner hasn't used it since the coursework I gave it to him for.

Image of F-804P, from ec2.images-amazon.com

I saw the Canon F-804P on a table in a store that was selling off all their little consumer electronics range, and changing the range of products they sold; as a result, I picked it up for only $20. The only reason I picked it up is because it appeared to do base-N calculations. It does, but more on that later. I most recently bought the FX-9750G+ because I wanted a programmable calculator; the fact that it is graphical is also a bonus. The calculator was also discounted by 25% - purely because it didn't have the outside box which I probably would have discarded anyhow. I wasn't going to complain at the price, or the discount, though I did try for more of a discount.

Do I have to have a degree to understand the Manual?

Studying the rather large 454-page manual of the FX-9750G+, I find a lot in here. We start off with a page informing us of the difference between the FX-9750G+ and the CFX-9850G+/9850GC+/9950G+ variants (the CFX has sort-of three colour screen, the FX doesn't). Then we follow with an insert describing how to put the batteries in, and what happens directly afterward. Directly following that, there's an additional 20 page Quick Start section. This covers just about everything the "I want to use it now" users probably ought to read, even if they don't read the rest of the manual. The rest of the subject matter is distributed among 22 chapters in the main bulk of the book, and is followed by Appendices and a not-very-complete index. My main complaint is that I find the depth of information provided in here tantalisingly superficial. All the examples they provide work as stated, though I'm having a little trouble understanding the financial section or repeating the same output for the same input; that could simply be Operator Error. When I say superficial, I mean superficial in a "Name-Your-Subject Unleashed" kind of way, as if they've covered everything they think the average user ought to know, but I don't find that it's detailed enough for me, especially in the programming area. I looked online for a manual describing the BASIC-like language that the calculator uses, but the only language I could find it in is French. Bleah.

In comparison, the FX-82MS manual is actually a fold-up booklet which covers the essential aspects of the calculator, but doesn't break a sweat doing it. If you know what you're looking for, you'll either find it or you won't - it's at least clear and the English is well written. Again, the examples work, but they don't spend much time on explaining them as it's reasonably obvious.

The Canon F-804P manual came from Japan, and it looks like it. Instead of being a large book, it's a small booklet that's been glued along the edge like a paperback. The language used in the English is certainly not the best used, featuring such phrases (apologies to the Canon people here, but this is meant as a criticism) as (for the ON key):
Turn on power, cleaning up / cleaning independent memory / cleaning statistic memory

  • Push it down to open power source if the electric source is closed.
  • Push it down to clean up the input characters and wrong identifiers.
  • Push down [SHIFT] first and then this key to clean up the contents in the independent memory.
  • Push down [ALPHA] first and then this key to clean up the statistic computational registers (statistic comprtional mode).

Eeeek. And yes, that spelling mistake is really in the manual. In the other half of the book we have the Japanese instructions - and they look far better written than the English. It's a pity I don't read Japanese, as they might explain some of the English instructions better.

The Interface

One of the more confusing aspects to the FX-9750G+ at least for me (being used to the FX-82MS, this threw me for a couple of seconds) is the menu that shows when the AC/On button is pressed. However, I simply hit the [EXE] button, and go straight into what looks like a knock-off of the HP-48G/GX/S/SX, except it isn't. Simple four-function calculations work the same as they always do, with ×,+,÷, and - all having their own keys. Instead of a = key (which is on another key) you use the [EXE] key, which makes sense from a programming sense, but not so much for a new-to-calculators user. At least it's in the same place as the = key on the FX-82 and many other models, at the bottom right. The two other calculators are dead simple: turn them on, start entering numbers. Aspects such as choosing Radians or fixing the number of digits of result displayed are easy if you read the manuals.

Command recall
One niggle I have about the FX-9750G+ and the Canon is the fact that the command history doesn't work quite the same as the FX-82MS; on that, you simply hit the up-arrow, and are presented with the previous command, and as you keep hitting the up arrow, you scroll through the last ten calculations issued. With the FX-9750G+ however, if you want anything but the previous command (reached by the left or right keys), first you have to hit [AC], then you can scroll through the remainder of the command history. That's described in the manual too, but isn't intuitive to me when compared to the FX-82MS. For the Canon, you can only recall the last command you typed by using the left or right keys. Deletions on the FX-9750G+ are handled differently too, more like a PC's Delete key, rather than the behaviour of the Backspace key that you find on both the FX-82 series and the Canon F804P. Basically, back up the cursor to the point you want to start deleting from, then hit the [DEL] key to delete characters.

The display

The screen size for the FX-9750G+ is a nice 128 pixels wide and 64 pixels high; the font size for the text character set is 7x5, giving a 7-line text display and leaving some extra room down the bottom for drawing labels. The text size for graphical-mode text is a little smaller, at 7x4 pixels. The size of the screen is readable, but not exactly large. My wife has a hard time reading something that small, but most people should at least be able to read it.

The FX-82MS has a two-line display, the top line is 12 characters, each of 6x5 pixels. The numbers are clear and easy to understand, and the bottom line holds the usual ten digits plus sign and 2 digits of exponent (plus sign) display of seven-segment, with the nice addition of comma separation for larger values. As a side note, this toggles between the usual American/English system of 123,456,321.45 and the Spanish system of 123.456.321,45 - useful, though not for me. There are several additional annunciators for Shift/Alpha/Hyp and lots of other symbols, though three of them aren't used on the FX-82MS. I think they used a display module from the more powerful calculators that support complex numbers, matrix calculations and vector mathematics. I note that the new FX-82ES (where do they think up these designators, anyhow?) has gone to a fully pixel-addressable screen too, though it's still not large when compared to the FX-9750G+, but it's large enough to display "proper" equations like you'd see in a textbook, which is exactly what they're marketing this function as. It's an expansion on the S-V.P.A.M. theory.

The Canon's screen has a two-line display that is similar to the FX-82MS though the top line is made up of 5x5 blocks instead, and the quality of the letter shapes suffer as a result. The bottom line shows the same ten digits and sign, plus 2 digits of exponent, and these numbers all use a seven-segment display, though I find the "shapes" not as nice as the Casio. It also has annunciators, but they're down the bottom of the display, and there aren't as many as are present on the FX-82MS.

The keypad

For the keys, I'd have to say that Casio did their job really well for both models of calculators I have. The legends are clear, and the alternative functions that show above some keys are also clear, with good contrast and visibility. Unfortunately, I can't say the same about the Canon. Why am I not using the Canon F-804P instead of the Casio FX82MS? Frankly, though the features of the Canon are nice, they're put into a case that's frankly not very well designed. The keyboard is cluttered, the legends above the keys require the user to have good lighting conditions merely to see the legends, and the keys just don't feel right, having a short travel. They're also small and close together, which doesn't exactly help. The fascia (the bit surrounding the keys) is shiny, which makes the act of reading the legends harder, and though the white text on each key is quite readable, the orange and pale blue colours are anything but readable against the reflection of the fascia if the average user has light behind him shining on the calculator.

That doesn't register

The FX-9750 family (including CFX models) gives the user 28 registers—the 26 letters, rho (r) and theta, for polar coordinates. If you know Greek or mathematics, you'll know these symbols. In addition to this, they support lists, matrices and collections of lists called files. Storage of up to twenty formulae, six pictures, six "lists" of numbers, multiplied by six "files" of lists, twenty six matrices and six graphs is also provided, making quite a collection even for a programmable graphics calculator.

The 82MS has nine registers (A-F, X, Y, and M) that can be used to store numbers in, these registers are also supported as sources for numbers in formulae that are typed in; i.e. AX^2+BX+C. The FX-82ES only has seven, though the FX-82ES Plus has the full 9.

The Canon has 26 letter registers, an angle register and a memory register that is separate from these, and the same support for using the registers in functions.

Functionality
The FX82MS has (according to its manual) 240 functions, including support for advanced statistics, regression formulas and combinatorial functions. Quite a lot for a cheap student calculator. The Canon has 145 functions, has the ability to store multiple user-provided formulas, and also has ten constants from the engineering/science field. In addition, the Canon has the ability to do base-N calculations for the binary, octal and hexadecimal bases. No floating point support, but then even the FX-9750G+ doesn't have support for base-N floating point, though it can convert integers between bases. The Casio website states that the 9750GA Plus has 900 functions, and also states that it's the same as the 9750g+. This may seem like a low number of functions but purely because of its programmability, you can quite often synthesise what you need from what you already have. I've managed to code a rather accurate "natural log of Gamma" function from someone else's description on a web page.

One other thing that really surprised me about the HP-34C (one of the first programmable calculators I owned) was what I later found out to be called the Gamma function. At the time, I called it factorials on non-integers, but the function that Hewlett chose to implement is actually Gamma(n+1). This gives the same value for normal factorials as the factorial equation, but takes a little longer to generate. None of the other calculators I've come across will do it, but that old calc will. It seems that some other calculators in the HP stable will also do it, but not all of them. I still rather wish I had that, but it's gone, long gone. I did manage to get a cheap HP-50G far later, but that's another tale.

Accuracy

Both the Casio calculators are accurate to ten decimal places on display; the FX-9750G+ is accurate to fifteen digits internally, in comparison to the FX82MS and Canons' 12 digits internally. However, I've found to my surprise, that the Canon is the most accurate calculator I currently own, bar none. I suspect that unlike most calculators I've used, which use a certain number of digits of precision, the Canon says it uses 12 digits of precision, but actually uses floating point at its core, and rounds down to 12/10 digits of precision when displaying the final result of a calculation. Take this as an example, which shows what I mean (use the symbol for PI, not the letters P and I): (PI-3.141592653)*10000000000 That's 1E10 for you engineer types. On the FX-82MS, I get a result of 5.9, on the FX-9750G Plus, I get 5.898, showing a greater degree of precision of 15 digits as opposed to 12. However, the Canon comes up with an answer of 5.897932385 so where'd those extra digits of precision come from? We've got rid of ten of them when we took away the original 3.141592653 (ten digits worth) but we're still left with ten digits, at least for simple single-stage calculations involving the constant PI. Extending the concept does eventually run into a barrier, at least for Pi, as I end up with: 3.14159265358979323846_198694562nnn... as compared with the real value of 3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 (five digit spacing, fifty decimal digits.)

Other calculations appear to indicate that the Canon does indeed work with floating point internally, although I've found that I can't simply enter in as many digits of precision as I can, just to ramp up. The calculator will only take the first ten digits of input and discards the rest, though numbers generated internally retain their precision until display. So for a crappy-looking calculator, it's impressed me for precision. Another common test that can be done with any calculator that's scientific is called the "forensics" test. Here's the formula, and here are the results for my four little machines and the Palm SciCalc 2 program, with the extra internal digits added. Make sure you set each calculator to Degrees mode first, or else the results will look really naff.

(arcsin (arccos (arctan (tan (cos (sin (9) ))))))
Occasionally arcsin will show up as sin-1

  Displayed result Internal result
FX-82MS 8.999998637 8.99999863704
HP 50G8.999998642678.99999864267
FX-9750G+ 9.000000007 9.00000000733343
FX-9750GII 8.999999998 8.99999999759468
Canon F-804P 9.000000000 9.0000000000000000000...
Palm SciCalc 2
8.9999999999999999
8.99999999999999999999999998482

It was this result, and the description in the Forensics table of the only calculators to pass the test, that showed what was happening. Calculators such as the HP-30S, Kinpo SG1, SR19S1 and SG2 were described as having the same floating-point chipset, the Sunplus SPLB30A.

To achieve the extra digits shown in the "Internal Result" column, I simply took off the Displayed Result from the Internal Result, multiplying by 1E10 to get the scale to fit, which is why you see far more digits displayed for the Canon. The same also appears to be true for this calculation: (sin 60 - 0.866025403) * 1E10

  Displayed result Internal result
FX-82MS 7.85 7.85
FX-9750G+ 7.84439 7.84439
HP 50G7.844357.84435
Canon F-804P 7.844386467 7.8443864671232000709...
Palm SciCalc 27.8443864676372317(see next column)7.84438646763723170752931984524

For the Canon (assuming I'm correct in my assumption) I have found I can simply keep on peeling off ten-digit slices of the result, and I've gone out to thirty digits of result so far.

In total contrast to the form factor and shoddy case of the Canon, we have the FX-9750G Plus, which comes in a fetching white and green plastic case. Say what you like about the colours, but at least the legends above the keys can be read, as they contrast with the white nicely—I suppose they could have used blue instead of gold, but I'm not complaining. I understand that other models come in slightly different colours and form factors. It's still heavier than the FX-82MS though, small wonder, as it takes four AAA cells in addition to the back up 3V lithium battery.

The Program

Previously to this, I was using the FX-82MS to motor around the supermarket, adding up what we'd bought, in about seven different categories. I came across a nice way of doing this: [ALPHA] A + ([ALPHA] X x 1.175) [SHIFT] [STO] A which looks like this, once it's in the top line of the 82MS: A+(Xx1.175)->A

Basically, that takes whatever's in register A, adds (X multiplied by 1.175) to it, and sticks the result back into register A. A variant on this removes the multiplication, and simply acts as an addition, storing the result back into the register:
[ALPHA] A + 2.25 [SHIFT][STO] A which, again, looks like this: A+2.25->A

I simply used the six letter registers for different categories of goods, used the X and Y registers for price-per-kilo costs, and combined with the previous program, substituting register letter as I went. Once I'd finished I could get a grand total simply by adding together the entries in the six registers, thus: A+B+C+D+E+F= Try doing that with the original FX-82 from years gone by. However, I didn't buy the FX-9750G+ just for the ability to do the same as the $20 FX-82MS. Instead I chose to do something else and actually write a program. Just as a note, Casio put out a number of different versions (upgrades) of the FX-82 since 1981 or so, including the FX-82A, FX-82B, FX-82C, 82D (which used fractions), 82L/LB, 82SX, 82MS and the FX-82TL. The Solar version of the 82 is the same as the FX-82D, or at least similar enough (i.e. it can also do calculations using fractions.)

The History

What inspired this program was the very ability to program that I'd first come across with a HP-34C I'd come across: one with a Red LED display, and nice chunky buttons with a good solid "click" to them I've not found on any other calculator since. This calculator had the ability to store a key sequence, and also had multiple registers I could stuff numbers into and retrieve from, in addition to a prompt for number, so it had nearly everything I needed, except for reliability. The calculator was getting long in the tooth when I got it, and it was showing it - with occasional times where I couldn't see the display, the Run/Stop switch wouldn't always make the calculator change modes, and the battery hatch was falling off. In the end, the calculator was retired into the bin, though I wish now I'd kept it. I'd managed to make a really simple version of the program that simply asked me for a number, then added it to the internal register I'd set aside, displayed the total, then asked me for a number again. Simple.

When I tried to do the same thing with the FX-82MS, I was missing the programmability, which means I couldn't get the calculator to ask me for a number, then add that number to the internal totals, then display the total, then go around the loop again; I had to compromise, which is where the above scriptlet came from. The saving grace, at least for the scriptlet, is that because of the command history recall, I didn't have to keep typing in the scriptlet from the beginning, I could simply recall it with the up-arrow or left-arrow, complete with assign to register, only changing the variable amount (for example, 2.25) each time.

In comparison, not only does the 9750 support asking me for a number, it also has the ability to display arbitrary text and graphics simultaneously anywhere (mostly) on the 128x64 pixel screen. This very feature is used by the calculator itself to present functions for the top row of keys, and shows what I'd call keylabels on the bottom of the screen. These keylabels are used as a menu with up to six choices, which can be completely tailored. I decided on this means, as the program should be intuitive to use for my wife - a set of abbreviations makes more sense than simply remembering that register A is used for fruit and veges, register B for meat, register C for cleaning stuff, etc. What I've ended up with looks a bit like this: First screen of GROCERY program

The World?

The programmability of this calculator is quite impressive, even with only 28,000 bytes available (or so). The frustrating bit of that impressive programmability is the fact that you have to press heaps of keys to get work done, purely because the alphabetical keys aren't separate from the main keyboard, they're integrated and reached with the use of the [ALPHA] prefix key. Casio must have thought about that, because they provided this calculator with what amounts to a serial port, although it's a non-standard one. It runs at 9,600 baud, so it's not fast, and it expects different stop bits for each side of the transmission—two for transmitting, three for receiving (I think). So, I could (theoretically) type up the average program on my PC, plug the cable (not a cheap purchase, it'd cost me more than the calculator itself cost) into the calculator and the PC, and pipe the data over in less time than it'd take to laboriously hammer keys to get the program entered in manually, correct the inevitable errors, and fine-tune the results. I personally would have loved a slot where I could add memory, but for the cost, Casio won't provide that. I already have one extra cost to outlay—a 3V lithium battery used for memory backup while the main batteries are being changed. I'm simply not flush enough to afford the $139 RRP (2008) for that cable in addition (not the SB-62, which is simply two stereo 2.5mm plugs wired crossover fashion, but rather the FA-123 serial interface or its big USB brother the FA-124.) If possible, I'm going to attempt to make my own, using the rather well-known MAX232, otherwise known at Dick Smiths as a IS232 (I think); some wire, and two plugs. I hope to make the cost all up to be only about $25. I can solder the project together myself, I just need the bits. Once the cable is assembled correctly, I'll be able to put nearly anything on the calculator that I can uhm, fit, and that the calculator understands. We shall see.

22 June, 2008

What the young can teach us.

Mirrored from The Flying Brick Commentary over on Microsoft's Spaces. Hey. It's a blog.

It seems strange, but even given the length of time I've been banging around computers, I still have plenty to learn. This fact got brought home to me when my sister in law rang me with a problem her (nearly) 3 year old son had instigated. The phone conversation began with:

My delightful son has hit a couple of keys on the keyboard, and managed to turn my screen upside down. How do I get it back the right way up?

I hadn't heard of this particular little wrinkle of Windows, though it made an insane sort of sense once I thought about it for more than two seconds. Of course, her son couldn't tell her which keys he'd managed to toggle, given he's barely saying "buhss" for bottle, and "pahpah" for brother (you have to think a bit for that one). So it was up to me, the resident techmonkey, and Google Search for Microsoft problem. Thankfully, the problem came up in the first couple of hits I looked at. You see, given the key combination Ctl-Alt-Up or Ctl-Alt-Down (I'm not sure which), Windows will then go and flip the screen that way up. I vaguely wonder if Ctl-Alt-Left and Ctl-Alt-Right rotate the screen? I ought to try it, just to see if my poor old Win XP Home System with a CRT can actually do such a thing. Last time I tried it under Linux, the system locked up and I had to reboot. Yeesh.

One of the hits states

This doesn't work with all displays—only with certain drivers that have this provision for rotation.

Obviously her display supported it. To the best of my sketchy knowledge, I had thought that only certain LCD screens and laptop screens actually supported such an idea, though it turns out that it's a function of the display driver, not really of what's connected to the video output connector. Her screen is most certainly a CRT, and wouldn't have supported it unless the driver was able to do the job.

So, I learned something new today, from a three year old!