<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-514416174663881819</atom:id><lastBuildDate>Sun, 18 Mar 2012 07:17:18 +0000</lastBuildDate><category>tables</category><category>nHTML</category><category>find</category><category>Apple II</category><category>MySQL</category><category>XML-RPC</category><category>nBlog</category><category>case sensitivity</category><category>Linux</category><category>grep</category><category>mod_rewrite</category><category>Newton</category><category>Apache</category><category>newtonscript</category><category>MessagePad</category><title>McComber Development</title><description>Linux, Apache, MySQL, PHP, Android, Newton OS, old computers, new computers, anything!</description><link>http://blog.mccomber.ca/</link><managingEditor>noreply@blogger.com (Doug McComber)</managingEditor><generator>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-3326940479639492254</guid><pubDate>Sat, 28 Jan 2012 19:03:00 +0000</pubDate><atom:updated>2012-01-28T15:07:26.615-04:00</atom:updated><title>Retro Challenge Results: CP/M</title><description>After a couple of days of fiddling around with the various disk images provided at&amp;nbsp;&lt;a href="http://vintageware.orconhosting.net.nz/apple2/cpm.htmlng.net.nz%2Fapple2%2Fcpm.html&amp;amp;ei=9UEkT9TSOKPJ0AGr88nyCA&amp;amp;usg=AFQjCNHg_1HbhuVYSFBAhZc3MQC1JpH9Lg&amp;amp;sig2=7GUV87_VOUbqiJEm79xJTw"&gt;VintageWare&lt;/a&gt;,&amp;nbsp;I can say I have had success. &amp;nbsp;However, I think I have a minor hardware problem. &amp;nbsp;First I started with the large disk image for use with 800k drives. &amp;nbsp;It worked right off the bat, but I didn't blog it. &amp;nbsp;I was going to blog it the next day and I tried to boot cp/m to take a photo, but it hung at the cp/m copyright notice.&lt;br /&gt;
&lt;br /&gt;
This is were the couple of days of fiddling came in. &amp;nbsp;I thought the issue was with various components during boot which I swapped around between disk images. &amp;nbsp;Turned out however, that while cp/m needs to be started from a cold-boot, the computer has to have been on for at least 10 minutes prior before it will work. &amp;nbsp;I figure there is some component that when warmed up makes a good electrical connection and things work. &amp;nbsp;Here are a couple of "screenshots":&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-UcKGw09-q7g/TyREK0yWZfI/AAAAAAAACVA/7SOnK4ZrJm0/s1600/cpm_on_iie_02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="http://2.bp.blogspot.com/-UcKGw09-q7g/TyREK0yWZfI/AAAAAAAACVA/7SOnK4ZrJm0/s320/cpm_on_iie_02.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-p4129y_Kqis/TyREQ61LEAI/AAAAAAAACVI/7qEHAhkxwNk/s1600/cpm_on_IIe_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-p4129y_Kqis/TyREQ61LEAI/AAAAAAAACVI/7qEHAhkxwNk/s320/cpm_on_IIe_01.png" width="240" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Advanced Logic Systems (makers of "The CP/M Card") designed the cp/m card and utilities such that you can share a RAM disk between ProDOS and cp/m, enabling you to pass files back and forth between the two&amp;nbsp;OS's. &amp;nbsp;I haven't tried this feature yet but it is documented in the&amp;nbsp;&lt;a href="http://vintageware.orconhosting.net.nz/apple2/cpm_notes.html"&gt;release notes and overview&lt;/a&gt;. &amp;nbsp;Something for next time as I'll be packing my IIe away (for the time being) to make room for my Atari Mega ST2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-3326940479639492254?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2012/01/retro-challenge-results-cpm.html</link><author>noreply@blogger.com (Doug McComber)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-UcKGw09-q7g/TyREK0yWZfI/AAAAAAAACVA/7SOnK4ZrJm0/s72-c/cpm_on_iie_02.png' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-2325417070733132442</guid><pubDate>Sat, 28 Jan 2012 15:14:00 +0000</pubDate><atom:updated>2012-01-28T11:14:38.773-04:00</atom:updated><title>Retro Challenge Results: Word Processing</title><description>Okay, I didn't get a lot done here. &amp;nbsp;I used AppleWorks as its file format can still be opened by more modern word processors (namely AppleWorks on Mac OS) and hence Word format for work. &amp;nbsp;The document I am writing is fairly simple. &amp;nbsp;It requires headers and footers, a table of contents, and hanging indents. &amp;nbsp;AppleWorks on the IIe does all of these, albeit a bit tediously.&lt;br /&gt;
&lt;br /&gt;
Headers and footers weren't too difficult to implement. &amp;nbsp;Although once created, you don't see them on every page while editing. &amp;nbsp;When printed they would of course be on every page. &amp;nbsp;The table of contents was simple enough to do. &amp;nbsp;The hanging indents however, took a bit of getting used to. &amp;nbsp;It essentially involved setting margins at each level of indentation.&lt;br /&gt;
&lt;br /&gt;
As AppleWorks on the IIe is not a WYSIWYG program, I would periodically view my document on an older Mac I currently have set up. &amp;nbsp;This Mac is running Mac OS 7.6.1 and has ClarisWorks version 4. This version of Mac OS can read ProDOS disks and so I simply inserted the Apple II disk and opened the file. &lt;br /&gt;
&lt;br /&gt;
In ClarisWorks it display perfectly. &amp;nbsp;I was surprised to be honest. &amp;nbsp;I thought there would be formatting issues, there wasn't. &amp;nbsp;However, modern word processors (yes I'm calling ClarisWorks 4 modern) don't do hanging indents quite the same way as AppleWorks for the II line. &amp;nbsp;I didn't try converting in ClarisWorks to rtf and then opening in Word yet but I suspect it will look right, even if the method of hanging indents isn't the Word way to do it.&lt;br /&gt;
&lt;br /&gt;
While I did faithfully work on this document using my Apple II for several days, I have to admit that that was all it was, a few days. &amp;nbsp;While AppleWorks was certainly capable of getting the job done, I found myself longing for WYSIWYG and (I hate to admit it), a mouse. &amp;nbsp;So I'm going to finish the document on my old Mac (an 8500). &amp;nbsp;It is 15 years old so I suppose that is vintage, even if it has a GUI, WYSIWYG and a mouse.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-2325417070733132442?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2012/01/retro-challenge-results-word-processing.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-3107163343056608031</guid><pubDate>Tue, 03 Jan 2012 22:21:00 +0000</pubDate><atom:updated>2012-01-03T18:47:31.266-04:00</atom:updated><title>Retro Challenge Update: Getting Started</title><description>&lt;p&gt;My Apple is a IIe Platinum that I bought in 1999 from an elementary school surplus sale.  It was in great shape except for the usual yellowing of the case.  It came with a DuoDisk and probably some cards, but I can't remember which ones.&lt;/p&gt;

&lt;p&gt;1999 was the year I started collecting Apple II stuff when earlier I discovered someone had discarded a complete IIe in the dumpster of the apartment I was living in at the time.  I remember taking out some trash and seeing it, running back up to my apartment and exclaiming to everyone who was there at the time "there's an Apple II in the dumpster!"  My girlfriend (now wife) and her friend offered to retrieve it.  Thank you ladies!&lt;/p&gt;

&lt;p&gt;I had used Apple II's in high school but had never owned one up to that point.  But from that day on I started collecting software, peripherals, etc.  I don't have that dumpster IIe anymore, but I've since added a IIc and a IIgs to my collection.  While my TRS-80 Model 4 collection is by far my largest, my Apple II collection is a not too distant second.&lt;/p&gt;

&lt;p&gt;For the Winter Warmup I decided I wanted to use my IIe Platinum as I haven't used it much lately.  In fact I couldn't even remember what I had in it until I cracked it open the other day.  It took me awhile to find out what card was working and what wasn't, which should go in which slot, etc. but I now have it set up and ready to go.&lt;/p&gt;

&lt;p&gt;In slot 1 I have an SMT Printech II parallel card.  While I know I've had this card in the II for some time, I've never actually used it.  Something to add to my list of "accomplishments" for this challenge.&lt;/p&gt;

&lt;p&gt;In slot 2 I have an AE Datalink 2400 baud modem.  This is a beautiful modem (if a modem can be beautiful).  It has always worked great and 2400 baud is the nostalgic baud rate for me as it was the speed of my second modem, the first being 300.  At the time it seemed lightening fast!&lt;/p&gt;

&lt;p&gt;Slot 3 is taken up by the 80 column card in the aux slot of course.&lt;/p&gt;

&lt;p&gt;Slot 4 is empty.&lt;/p&gt;

&lt;p&gt;Slot 5 is a VTech UDC (Universal Disk Controller).  This card is hooked up to a single Apple 3.5" drive.  It only has one drive cable connected to jumper 1.  With jumper 1 it is supposed to be able to daisy chain certain combinations but for some reason I can't get it to work with two 3.5" Apple drives.  I spend quite some time fiddling with it, reading the manual, etc. but it is time to move on.&lt;/p&gt;

&lt;p&gt;In slot 6 is an Apple Disk II controller card connected to the DuoDisk.  I could have daisy chained the DuoDisk to the 3.5" (it works) but I wanted to boot from 5 1/4 by default and the VTech UDC works best in slot 5.  So I just used both controller cards.&lt;/p&gt;

&lt;p&gt;In slot 7 is a "The CP/M Card" Z80 card.  I've mucked with this before in the IIgs with partial success.  I've misplaced the disks but they are available on the 'net at Roger Johnstone's &lt;a href="http://vintageware.orconhosting.net.nz/apple2/cpm.html"&gt;VintageWare&lt;/a&gt; site.&lt;/p&gt;

&lt;p&gt;For a monitor I have a nice amber monochrome Pi3 from USi.  The display is crisp and clear, just the way I like it!&lt;/p&gt;

&lt;p&gt;A clock card and a shiny new CFFA3000 would be nice but they're not in the budget right now.  Here's a grainy phone cam photo of my machine:&lt;/p&gt;

&lt;a href="http://4.bp.blogspot.com/-pPYSI6LpSbQ/TwOEusG4cpI/AAAAAAAACT4/tPIqe-zR5y0/s1600/apple_iie_platinum.jpeg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/-pPYSI6LpSbQ/TwOEusG4cpI/AAAAAAAACT4/tPIqe-zR5y0/s400/apple_iie_platinum.jpeg" border="0" alt="" id="BLOGGER_PHOTO_ID_5693540291575313042" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-3107163343056608031?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2012/01/retro-challenge-update-getting-started.html</link><author>noreply@blogger.com (Doug McComber)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-pPYSI6LpSbQ/TwOEusG4cpI/AAAAAAAACT4/tPIqe-zR5y0/s72-c/apple_iie_platinum.jpeg' height='72' width='72'/><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-1669820823624190580</guid><pubDate>Tue, 03 Jan 2012 20:46:00 +0000</pubDate><atom:updated>2012-01-03T16:59:47.054-04:00</atom:updated><title>Retro Challenge Update: Use it Or Lose it!</title><description>A little over a decade ago I bought a brand new Apple IIe Platinum keyboard.  I tucked it away in a bin of various computer parts thinking I'd use it one day when I "needed" it.  Well I thought I'd install it yesterday, thinking why wait, save the older keyboard for a spare.  So I hauled it out and went to install it.  

The caps lock key was detached.  I thought nothing of it at the moment but when I turned the keyboard over to my horror I saw that it had been damaged beyond repair while in storage.  Make that poor storage.  A corner of the circuit board had been snapped, severing at least 4 traces.  I'm sure a clever person with excellent soldering skills could probably fix it, but I'm not that person.

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-947038zJlcQ/TwNrCag4qAI/AAAAAAAACTU/2gG82Ap5x4U/s1600/broken_keyboard.jpeg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://3.bp.blogspot.com/-947038zJlcQ/TwNrCag4qAI/AAAAAAAACTU/2gG82Ap5x4U/s400/broken_keyboard.jpeg" border="0" alt=""id="BLOGGER_PHOTO_ID_5693512043147601922" /&gt;&lt;/a&gt;

So I decided that I'd at least remove the key caps and swap them.  The camera on my phone is poor and has no flash, but here are the before and after results.

&lt;br /&gt;Old key caps:
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-ZxMKCqVo9Jc/TwNrVea3yqI/AAAAAAAACTg/0xUJCOhzePI/s1600/old_keyboard.jpeg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/-ZxMKCqVo9Jc/TwNrVea3yqI/AAAAAAAACTg/0xUJCOhzePI/s400/old_keyboard.jpeg" border="0" alt=""id="BLOGGER_PHOTO_ID_5693512370613635746" /&gt;&lt;/a&gt;


New key caps:
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-CzRN8o4X2Lw/TwNrgOSvnFI/AAAAAAAACTs/robhrQW4OZ4/s1600/new_keycaps.jpeg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/-CzRN8o4X2Lw/TwNrgOSvnFI/AAAAAAAACTs/robhrQW4OZ4/s400/new_keycaps.jpeg" border="0" alt=""id="BLOGGER_PHOTO_ID_5693512555263138898" /&gt;&lt;/a&gt;

While disappointed at my lack of care for this keyboard over the years, overall I'm happy with the resulting aesthetic improvement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-1669820823624190580?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2012/01/retro-challenge-update-use-it-or-lose.html</link><author>noreply@blogger.com (Doug McComber)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-947038zJlcQ/TwNrCag4qAI/AAAAAAAACTU/2gG82Ap5x4U/s72-c/broken_keyboard.jpeg' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-9213618576811298360</guid><pubDate>Sun, 01 Jan 2012 01:11:00 +0000</pubDate><atom:updated>2011-12-31T21:18:27.278-04:00</atom:updated><title>2012 Retro Challenge Winter Warmup</title><description>After reading about it for a number of year's, I've decided to enter this years &lt;a href="http://www.wickensonline.co.uk/retrochallenge-website/tiki-index.php"&gt;Retro Challenge&lt;/a&gt; (winter warmup).  If you've never heard of the Retro Challenge here's an excerpt from their site:

&lt;blockquote&gt;In a nutshell, the RetroChallenge is a loosely disorganised gathering of RetroComputing enthusiasts who collectively do stuff with old computers for a month.

The event is very much open to interpretation... individuals set there own challenges, which can range from programming to multimedia work; hardware restoration to exploring legacy networking... or just plain dicking around. It really doesn't matter what you do, just so long as you do it.

While the RetroChallenge has its competitive side, it's not really a contest... it's more like global thermonuclear war — everyone can play, but nobody really wins.&lt;/blockquote&gt;

What's my entry going to be?  I'm going to dust off my Apple IIe Platinum and finally get that CP/M card in it working.  I'm also going to do some work related technical writing on it. I've always claimed to prefer early 80's word processors to Microsoft Word, let's see if I actually do!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-9213618576811298360?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2011/12/2012-retro-challenge-winter-warmup.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-2134523503965942735</guid><pubDate>Sun, 27 Mar 2011 15:49:00 +0000</pubDate><atom:updated>2011-03-27T16:38:42.852-03:00</atom:updated><title></title><description>&lt;h3 class="post-title entry-title"&gt;eMate Battery Rebuild&lt;/h3&gt;
&lt;p&gt;While I was a little hesitant to do this project, I didn't want to spend about $100 on a rebuilt battery either.  So following &lt;a href="http://www.pda-soft.de/emate_battery_pack.html" target="_blank"&gt;directions found on the net&lt;/a&gt;, I successfully rebuilt the battery pack for my Newton eMate 300.&lt;/p&gt;
&lt;p&gt;Taking apart the original battery pack was straight forward enough.  There are two sensor that you need to preserve for the rebuild that are a little tough to come off without wrecking them.  Patience is simply the key here.&lt;/p&gt;
&lt;p&gt;Re-assmbly with new batteries (the kind with soldering tabs) is easy, if you are half-way decent at soldering.  I'm not.  In fact I'd go so far as to say I'm bad at it.  Hopefully with practice I will get better though as the savings in self-repair are tremendous.  Soldering the two pairs of AA batterries together was the easy part.  Soldering the thermal sensor and the wiring back on was not.  For some reason I couldn't get the solder to stick to the batteries very well.&lt;/p&gt;
&lt;p&gt;Once I got past that I packed the batteries back in the heat shrink wrap and stuffed it (quite literally) back into the battery pack "shell".  To my surprise it went in quite easily.  I plugged the battery connector into the eMate motherboard and almost instantly heard the reset power-on chime.  I have to say I was surpised that it worked.&lt;/p&gt;
&lt;p&gt;But work it did.  I'm using the eMate now while the batteries are charging.  So far no smoke or acrid smells!  We'll see how well they take a charge and what kind of discharge rate I get out of them.  Regardless, if I get any kind of decent life out of them then I'll be thrilled because the cost, $13!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-2134523503965942735?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2011/03/emate-battery-rebuild-while-i-was.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-2561914094632648438</guid><pubDate>Sun, 13 Feb 2011 17:44:00 +0000</pubDate><atom:updated>2011-02-13T13:54:11.742-04:00</atom:updated><title>Apple eMate 300</title><description>&lt;p&gt;Having become a recent Newton fan this past year, I have had my eye on getting an eMate.  The eMate is similar to the MessagePad 2000/2100 in that it runs the same version of Newton OS.  However, it is in the form factor of a Netbook.  The keyboard is a bit cramped but I can still touch-type quite fast with it.  And that is the key for me.  You see, despite how good the handwriting recognitions is in later versions of Newton OS, my own handwriting (and printing) is terrible and I find it almost literally painful to do.&lt;/p&gt;

&lt;p&gt;The eMate is not without its limitations though.  For instance, it only has one PC Card slot  vice my MessagePad 2100's two.  This means I have to swap out my storage card whenever I want to go wireless.  Also, the eMate is slower and has less internal RAM than the 2100.&lt;/p&gt;

&lt;p&gt;But despite those shortcomings, the eMate has a real keyboard and for me that makes it a winner.   And as you may have guessed, I typed this blog post on my eMate.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-2561914094632648438?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2011/02/apple-emate-300-having-become-recent.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-2635695180431454226</guid><pubDate>Mon, 13 Sep 2010 23:02:00 +0000</pubDate><atom:updated>2010-09-13T20:07:55.160-03:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Apple II</category><title>Apple IIgs and blogger-cli</title><description>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;&lt;p&gt;I've set up my IIgs beside my MacBook Pro (2006 
model) and connected the two via a serial cable and a serial to USB 
converter.  Using getty and screen I am then able to log into OS X's 
command line from the IIgs.  I'm using ProTerm 2.2 for this but any 
decent terminal program would work.  While this makes my IIgs little more 
than a dumb terminal, I enjoy using it this way.&lt;/p&gt;

&lt;p&gt;Using &lt;a target='_blank' href='http://www.macports.org/'&gt;MacPorts&lt;/a&gt; 
I set up &lt;a target='_blank' href='http://www.mutt.org/'&gt;Mutt&lt;/a&gt; on the 
MacBook and configured it to work with Gmail.  Now I can check my email 
and write letters on my IIgs. While this in itself was a fun exercise 
and I get great pleasure emailing family and friends from my 23 year old 
computer, I wanted to expand my command line capabilities to include 
blog posting.&lt;/p&gt;

&lt;p&gt;With the help of Google I discovered 
&lt;a target='_blank' href='http://code.google.com/p/blogger-cli/'&gt;blogger-cli&lt;/a&gt;. 
This utility is in the early stages of development and currently 
allows you to list your blogs, list your articles and search by label on 
&lt;a target='_blank' href='http://blogger.com'&gt;Blogger.com&lt;/a&gt;.  And 
of course it will also allow you to post new articles.&lt;/p&gt;

&lt;p&gt;To post an article with blogger-cli you must first write it in a 
text file that is formatted in what looks kind of like JSON. The formatting 
includes such items as your blog id, article title, labels and the 
content.  Then with the command:&lt;/p&gt;
&lt;textarea cols='76' rows='1'&gt;
blogger-cli -n -f article.txt -u your.email@gmail.com
&lt;/textarea&gt;
&lt;p&gt;your article is posted to your blog. I suppose to really do this 
retro style I'm going to have to write my articles in AppleWorks, save them 
as ascii files and upload them to my MacBook before I run blogger-cli.  
Maybe next time!&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-2635695180431454226?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2010/09/apple-iigs-and-blogger-cli.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-714247110054750003</guid><pubDate>Sun, 14 Mar 2010 04:53:00 +0000</pubDate><atom:updated>2010-03-14T01:00:39.955-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>newtonscript</category><title></title><description>&lt;h3 class="post-title entry-title"&gt;Programming For The Newton&lt;/h3&gt;
&lt;p&gt;
I've been toying with the idea of writing an app for the Newton. So I got a copy of &lt;i&gt;Programming for the Newton&lt;/i&gt;. Bought it online from a bookstore in India. Cost me $24 plus $6 shipping and arrived in 6 days! If I were to send it cross-country by Canada Post it would cost me $12 and take at least 10 days.
&lt;/p&gt;
&lt;p&gt;
Anyway, I've been reading the book and learning about NewtonScript. What a cool language. While the authors compare it to C and Pascal with enhancements, I see it more like modern Javascript. Variables aren't typed but their values are. NewtonScript's Frames and Slots seems like JSON with the added cool feature of having a function in a slot as well.
&lt;/p&gt;
&lt;p&gt;
I haven't gotten far in the book but it is getting me excited about trying my hand it Newton programming. Of course I'll want to come up with something that hasn't been done on the Newton before. Hmm... 
&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-714247110054750003?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2010/03/programming-for-newton-ive-been-toying.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-845651817710564508</guid><pubDate>Tue, 02 Mar 2010 22:21:00 +0000</pubDate><atom:updated>2010-03-03T15:14:16.526-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>MessagePad</category><category domain='http://www.blogger.com/atom/ns#'>nHTML</category><category domain='http://www.blogger.com/atom/ns#'>Newton</category><category domain='http://www.blogger.com/atom/ns#'>XML-RPC</category><category domain='http://www.blogger.com/atom/ns#'>nBlog</category><title>nBlog</title><description>&lt;p&gt;13 years after Apple discontinued the Newton MessagePad line I got my first one, a 2100, and the last model they produced. And I love it! Besides excellent built-in PIM apps and third-party programs, there is an amazing community behind the Newton still producing apps, drivers, and patches. &lt;/p&gt;
&lt;p&gt;It is this community that has enabled me to post this blog entry wirelessly from my Newton. A patch to fix the 2010 bug, a wifi driver, and software to post via XML-RPC brought it all together. And while early Newton's were slammed in the press for their poor handwriting recognition, later versions solved this problem and have incredible handwriting recognition. In fact, this entire post was "handwritten".&lt;/p&gt;
&lt;p&gt;What does this have to do with LAMP? Absolutely nothing! There is a Telnet app for the Newton though. Hmm, possibilities...&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-845651817710564508?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2010/03/nblog_02.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-1762688625874959329</guid><pubDate>Wed, 15 Jul 2009 13:02:00 +0000</pubDate><atom:updated>2010-03-03T15:13:08.755-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>MySQL</category><category domain='http://www.blogger.com/atom/ns#'>case sensitivity</category><category domain='http://www.blogger.com/atom/ns#'>tables</category><title>Table Name Case Sensitivity</title><description>&lt;p&gt;Case sensitivity of table names in MySQL is determined by the host operating system. There are three settings in MySQL that control table name case sensitivity:&lt;/p&gt;
&lt;ol start="0"&gt;
&lt;li&gt;Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement. Name comparisons are case sensitive.&lt;/li&gt;
&lt;li&gt;Table names are stored in lowercase on disk and name comparisons are not case sensitive. MySQL converts all table names to lowercase on storage and lookup. This behaviour also applies to database names and table aliases.&lt;/li&gt;
&lt;li&gt;Table and database names are stored on disk using the lettercase specified in the CREATE TABLE or CREATE DATABASE statement, but MySQL converts them to lowercase on lookup. Name comparisons are not case sensitive. This works only on file systems that are not case sensitive.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Unix/Linux defaults to 0, Windows to 1, and OS X to 2. Although I primarily use MySQL on Linux, I prefer to set it to 1. Why? Many reasons, but the main one being that I use an Entity Relationship Diagram (ERD) program that exports to MySQL. And in ERDs you write the entity name, which becomes the table name, in uppercase. But when writing queries the convention is to use lowercase. Another reason is for portability. If migrating your database from one operating system to another, setting 1 is compatible with them all.&lt;/p&gt;
&lt;p&gt;To change the default you need to edit your my.cnf file:&lt;/p&gt;
&lt;pre class="brush: bash"&gt;
[mysqld]
lower_case_table_names = 1
&lt;/pre&gt;
&lt;p&gt;Note that you need to put this in the [mysqld] section, don't just append it to the end of the file. Don't forget to restart MySQL.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-1762688625874959329?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2009/07/table-name-case-sensitivity_15.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-1904115273674737247</guid><pubDate>Wed, 15 Jul 2009 10:05:00 +0000</pubDate><atom:updated>2010-03-03T15:24:30.163-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Linux</category><category domain='http://www.blogger.com/atom/ns#'>find</category><category domain='http://www.blogger.com/atom/ns#'>grep</category><title>Fun with Find</title><description>&lt;p&gt;Find is very good at, well, finding files. But it is vastly more useful when combined with other commands. Suppose you wanted to delete all Gif files you had across multiple directories.&lt;/p&gt;
&lt;pre class="brush: bash"&gt;
cd /some/path
find . -name '*.gif' -exec rm -f {} \;
&lt;/pre&gt;
&lt;p&gt;Or combine find with grep to search inside all or specific files.&lt;/p&gt;
&lt;pre class="brush: bash"&gt;
find . -exec grep -Hn monkey {} \;
find . -name '*.txt' -exec grep -Hn monkey {} \;
&lt;/pre&gt;
&lt;p&gt;The former searches all files recursively (from the current working directory) and the latter only searches files ending in .txt.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-1904115273674737247?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2009/07/fun-with-find_15.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-514416174663881819.post-6874063550802119515</guid><pubDate>Tue, 14 Jul 2009 12:57:00 +0000</pubDate><atom:updated>2010-03-03T15:23:25.130-04:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>mod_rewrite</category><category domain='http://www.blogger.com/atom/ns#'>Apache</category><title>Force an HTTP URL to HTTPS via Apache's mod_rewrite</title><description>&lt;p&gt;If you want all visitors to a specific URL who arrive via HTTP to automatically be redirected to HTTPS, you can do so with the help of &lt;a title="Apache mod_rewrite" href="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html" target="_blank"&gt;mod&amp;#95;rewrite&lt;/a&gt;. With mod&amp;#95;rewrite installed (most distributions install it by default with Apache, or at least offer it as a package) and enabled, a simple addition to your vhost configuration is all that is required. The following illustrates how a URL ending in /mail would be rewritten:&lt;/p&gt;
&lt;pre class="brush: bash"&gt;
&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_ssl.c&gt;
    &lt;Location /mail&gt;
      RewriteEngine on
      RewriteCond %{HTTPS} !^on$ [NC]
      RewriteRule . https://mydomain.net/mail[L]
   &lt;/Location&gt;
  &lt;/IfModule&gt;
&lt;/IfModule&gt;
&lt;/pre&gt;
&lt;p&gt;Note that mod_ssl is also required buy you'll rarely find a binary install of Apache that doesn't include it.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/514416174663881819-6874063550802119515?l=blog.mccomber.ca' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.mccomber.ca/2009/07/force-http-url-to-https-via-apache_14.html</link><author>noreply@blogger.com (Doug McComber)</author><thr:total>0</thr:total></item></channel></rss>
