TweetFollow Us on Twitter

MacHack 14 in Review

Volume Number: 15 (1999)
Issue Number: 9
Column Tag: Conference Report

MacHack 14 in Review

by Andrew Downs

The World's Best Redeye Deal

Introduction

The following is an attempt to share my MacHack experience. If you were there, you probably had quite a different experience. If you did not attend, I hope to see you next year. Maybe this article, in conjunction with other MacHack materials available on the web, will convince you to give it a try.

This was only my second MacHack conference, but I noticed a tremendous difference: the number of attendees was much larger than last year. No doubt this was due in part to renewed optimism and interest in the Mac OS platform. I also think the increased sponsorship and additional support for students attracted a number of attendees who otherwise might not have known about the conference, or would have had to forego it because of cost.

What I Learned

MacHack is not a spectator sport: it is definitely more fun if you participate. Here is a quick indicator:

Last year I presented a paper and attended many of the sessions. I had a good time.

This year, I presented a paper, co-presented a session, entered a hack, and attended some sessions. Plus I talked with a lot of the developers I met at last year's conference, and made some new friends. I had a GREAT time!

What I Should Have learned

For the second year, I traveled with about sixty lbs. of books. For the second year, I opened only one of them during the entire conference.

There's no need to travel with many, if any, of your programming references, unless they're obscure. Copies of Inside Macintosh are available in the Machine Room during the conference, and reference CDs can sometimes be found in hard form or mountable via the network. And the ever-growing set of web-based Mac documentation is certainly available, as are many experts who store a lot of programming knowledge in their heads (and are willing to share).

If you really need something in hardcopy, you may be able find it at one of the local bookstores, if you care to leave the friendly confines of the hotel.

Sessions I Actually Attended

Here are the sessions and presentations I attended during the conference, along with a few anecdotes.

About This MacHack

This is always the first MacHack session. It is presented by one or more of the organizers: this year, Michael Bentley and Warren Magnus did the honors. They gave an overview of what to expect during the conference, etiquette (!), who the sponsors were, etc.

So why would a returning attendee attend the first-timers' session? Good question. Originally I wanted to spread some hack ideas around. But I also found it useful in seeing just how many new folks there were, and what items did not make it into the pre-conference press releases.

The biggest piece of news during this session was that the local Jolt Cola distributor was no longer in business, implying a local blackout of many programmers' favored caffeine-saturated drink. Fortunately, the hotel staff went the extra mile (well, maybe ten miles) and found a few hundred remaining bottles. They also found a stash of the new citrus-flavored Jolt. Disaster averted.

Keynote

Marshall Vale, the conference chair, started things off by stating that there were nearly twice as many attendees and students as last year. He also mentioned the "Yoot" (youth) hack contest, encouraging the younger attendees to try their hand at hacking. Some of the yoots have been attending for a number of years, and come up with very imaginative hack ideas.

More good news: the network actually reached down into the lower atrium of the hotel. This turned out to be a good thing, as I sometimes had to go that far to find an open network port. My personal thanks to those who brought, and shared, their own ethernet hubs.

Andy Ihnatko presented the keynote address, which he themed "Dink Thifferent". Andy is also the self-proclaimed "America's 42nd most-beloved industry personality." A lot of Andy's presentation has a visual element, and it is nearly impossible to capture anything other than a shade of his humor in this column. Here are a few items:

  • His Steve Jobs impersonation: "Several times people have asked me to assume the position."
  • Regarding his run-ins with various magazine editors: "Editors are a cowardly and superstitious lot."
  • Andy is a serious hardware hacker. His background includes a lot of Apple II hardware and OS hacking, which apparently is quite common behavior among Apple II lovers.
  • Andy devised a contraption to keep the landlord's cat away from his desk: a Darth Maul action figure, mounted on wheels, with a motion sensor that enables the figure to follow the source of movement (e.g. the cat).
  • He demoed an AppleScript controlling a Darth Vader figure (I think it was originally one of those coin-activated banks) via a Beehive ADB I/O box.
  • Andy also announced the "240 Square" contest, where all of a program's visual elements must fit into a 240x240 pixel space. The prize was a Boston Computer Society t-shirt with an Apple logo.

AltiVec

I was almost on time for this session; I wish I had been. Doug Clarke presented an informative overview of this exciting new technology: the incorporation of vector processing into the new PowerPC G4 chips. He even included sample code to illustrate the additions to the processing model. During the remainder of the conference, Doug helped hackers in the Machine Room create their AltiVec hacks. Doug (and co-hacker Ben Martz) also won the 240 Square contest mentioned above.

AltiVec appears to be nearly as great a technological leap as the PowerPC was originally. (See MacTech 7/99 for an AltiVec overview by Tom Thompson, and look for more AltiVec articles in the future.)

Palm OS

I attended this one in part because I have been talking about Palm development with a colleague for the past few months. I had a few questions regarding Palm development that I couldn't find answers to in the one-and-only Palm programming book on the market (at that time).

Like all things MacHack, this turned out to be extremely interesting and to hold a few gems. The Palm engineers (Steve Lemke and Jesse Donaldson) gave an overview of the Palm product line, Palm internals, and the development environment.

The Palm family is based on a 68K chip derivative. This means that if you drop into a low-level debugger you are likely to see some familiar territory! And apparently of the two original Palm engineers, one was a Mac guy. Its pedigree is pretty obvious once you start looking at the API. The Palm OS is written entirely on the Mac.

Q&A at the end of the session was informative. We talked about events, launching apps, memory (the usable stack size is only ~2.5KB, yikes!), and such. Did you know that Palm apps execute from their fixed storage location? Did you know that you cannot disable or gray-out a Palm menu item?

The engineers also handed out the pieces needed to make clear cases for Pilots. I didn't understand the hoopla until I called a coworker and mentioned it. Turns out these clear cases are a hot commodity.

Palm was interested in attendees hacking the Palm OS. They even made available the required add-ons for CodeWarrior Pro 4 to enable you to build Palm apps. I found this offer enticing, and started thinking about a potential hack.

Reverse Engineering

This was great fun! A chance to hear about the making of Virtual GameStation, and see it demoed. The speaker, Eric Traut, was very entertaining. Plus, he spoke to the hearts of most attendees. Although much of the initial portion of this session was informative (i.e. legal info), it was never boring. Eric later discussed the process, such as how to conduct the necessary research, and also tools and emulators that help make the process easier.

Many developers may not know this, but there have actually been a number of reverse engineering cases besides Virtual GameStation. These include the PC BIOS (Compaq v. IBM), i386 clones (AMD v. Intel), Sega Genesis, and SoundBlaster clones (Creative Labs v. others).

Resume Workshop

I missed most of this one due to session overlap. It appeared to be much better attended than last year. It always helps to have your resume up-to-date, and the folks from Scientific Placement provided tips on how to improve your presentation. Plus, there were several companies recruiting at the conference this year, providing an extra incentive to attend this session.

Watching the File System

This was my paper presentation, so I won't comment on it specifically. But generally, if you enjoy reading or writing MacTech articles, you will enjoy doing the same with MacHack papers. Paper authors do not pay the conference fee, which is a pretty sweet deal.

Where did that source code go?

Apparently a virus infected many of the computers in the Machine Room. The Disinfectant squad (including John Norstad himself) went into action to quash the problem. But at around 5am, while downloading an old version of the source from NU, John accidentally deleted it. Not to worry: Peter Lewis located the offending piece of code and they wrote a binary patch for Disinfectant.

Palm Debugging

This, the second of the Palm sessions, focused on tools and techniques to aid in ridding Palm apps of those hard-to-find bugs. For example, the Palm Debugger allows source-level debugging, and also shows the disassembled code, call stack, etc. It also supports a console with a MacsBug-like syntax. The Palm OS Emulator (POSE) allows you to perform high-level testing against different ROM images without using a physical Palm device. Gremlins are an automated test tool: they will bang on your app's GUI elements in a repeatable manner and see what happens (then you have to go in and repeat the process, breaking just before the offending test).

Of course, the program known as HackMaster got some attention. What a great name. In lieu of a Palm-endorsed approach to patching the OS, this program manages patches for you. As with Mac OS patches, anything goes, but the patches ('hacks') must follow a prescribed model, similar to a plug-in architecture. Since everything underneath is 68K (or nearly so), things like calling the original trap still have to happen.

B y this time I had finally settled on a hack idea. My goal was to write a Finder knockoff that ran on the Palm. What to call it? Eventually I settled on "P1 Preview: the world's smallest Finder implementation" in deference to the forthcoming Mac consumer portable.

Atomicity

This was Jonathan Rentzsch's paper dealing with the "Window of Death" in 68K and PPC programs. He illustrated the use of data structures that function atomically in a non-atomic world, using the right combination of machine instructions.

Jonathan and I later presented a session on FileWatcher, a product that can track changes made to the file system.

Hack Show

Okay, I missed most of the hacks because I was still working on mine. There is a photo on the conference CD which proves it. I almost didn't think I'd enter the contest, which started at midnight on Friday, but at around 2:30 in the morning a few people walked into the snack room (where I was working) and said "get in there and show it, it looks fine". To those who did this, thank you.

I staggered in for the last 45 minutes of the contest. Just about everything I saw was impressive considering the relatively short time spent on the programs. The audience gets tougher as the night drags on, so unless you've got a ringer, you should probably try to show your hack early. On the other hand, I didn't get booed off the stage, and I think I was the second to last person to present a hack. And it didn't completely work.

Awards Banquet

This was a lot of fun. Scott Boyd, Greg Marriott, Jon Kalb, Grant Neufeld, and a few others passed out awards for various hacks. Most of these items came from the offical MacHack awards supply store, Duke's Hardware. Plus there were a lot of freebies thrown to the audience.

Congratulations to Lisa Lippincott for winning the coveted Victor A-Trap award for her hack, "Unfinder".

Yours truly was awarded "Best Palm Hack", for P1 Preview. The prize: a Palm IIIx.

It's hard to go home empty-handed from MacHack. Not only during the banquet, but also during the various sessions, sponsors are tossing goodies to the audience. Of course, packing it for the trip home is up to you.

Movie

Many of us trekked out after the banquet to see the Austin Powers sequel, returning in the early a.m. for the ice cream social and ensuing all-night discussions in the atrium (and Machine Room). This is a great way to end the conference.

Sessions I Wish I'd Attended

The rest of them. As trite as that sounds, it's true. I missed OS X, C++, Mozilla, Java, QuickTime, and many others that I had hoped to attend when I first saw the session list.

There's so much cool stuff happening at once, you have to make some decisions about what to do at the conference. The number of sessions this year was greater than last year. I think the number of papers was about the same. It all adds up to a very full schedule, with lots of overlap between scheduled events.

As For The Rest Of The Story

So, what was I doing the rest of the time? Hacking! Trying to turn an idea into something semi-functional in less than 36 hours, using an API I hadn't tried before. I spent a day trying to make my hack work using what seemed to be the "approved" way, meaning the mainstream, high-level forms-based API from Palm. Later I found that there was no approval for what I was trying to do. I guess that's life on the edge.

The sick thing is that once I got P1 Preview limping along well-enough to demo, I kept working on it. In fact, I kept coding until I left for the airport Sunday morning at 6:45. At 5:00 that morning we found a bug in the Palm Debugger, which the Palm engineers then fixed. Nonstop programming.

Some may accuse me of bias, since the Palm gods/engineers smiled on me during the conference, but I find the Palm OS and accompanying API refreshingly small in this world of increasing software size. The Mac roots of the Palm are very obvious once you start figuring out how to write software for it. The primary dev tool is topnotch: CodeWarrior for Palm, of course.

MacTech would like to run some Palm articles in the future. If you have ideas and/or are interested in writing about the Palm OS, let us know.

Bring Your Own, Or...?

One decision you might want to make is whether to bring your own computer. PowerBooks of all models abound at the conference, and someone even brought their personal G3 mini-tower as well.

About two weeks before MacHack I purchased a PowerBook, my first CPU purchase since 1996. I was certainly looking forward to the faster performance. I also wanted some hacking flexibility. Plus, I wanted to do some polishing on my presentation at the conference.

Well, having a PowerBook turned out to be a blessing and a curse. A blessing because I could work where and when I wanted (my room at 11pm, the atrium at 3am, etc). A curse because I spent more time off by myself, working feverishly to stabilize and complete my hack. I missed out on some of the comaraderie.

And the Machine Room? It looked pretty well stocked this year, with many iMacs and G3 mini-towers, and perhaps a few boxes I didn't see. Whenever I looked in there were quite a few people, but usually a free machine or two. If you don't own your own computer, finding space in the Machine Room shouldn't be a problem.

URLs

Of course, the primary URL for all things MacHack is <http://www.machack.com/>. This is where you can find the session, paper, and hack information for this year and previous years. There is a post-conference press release describing the top five hacks. There is also a CD for sale containing the conference goodies.

Here are several URLs containing other attendees' conference summaries from previous years:

Conclusion

If you have not attended MacHack, try to go next year. Registrations are now being accepted. Check the conference website for more information. See you there!


Andrew Downs is a Technical Lead for Template Software in New Orleans, LA. With hurricane season approaching, it’s time for him to start taping the windows again. At other times, you can find him teaching his twin toddlers about planes, trains, and computers, interests that they all share (it must be genetic). You can reach him at andrew@downs.net.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

5 slither.io mash-ups we'd love to...
If there's one thing that slither.io has proved, it's that the addictive gameplay of Agar.io can be transplanted onto basically anything and it will still be good fun. It wouldn't be surprising if we saw other developers jumping on the bandwagon,... | Read more »
How to navigate the terrain in Sky Charm...
Sky Charms is a whimsical match-'em up adventure that uses creative level design to really ramp up the difficulty. [Read more] | Read more »
Victorious Knight (Games)
Victorious Knight 1.3 Device: iOS Universal Category: Games Price: $1.99, Version: 1.3 (iTunes) Description: New challenges awaits you! Experience fresh RPG experience with a unique combat mechanic, packed with high quality 3D... | Read more »
Agent Gumball - Roguelike Spy Game (Gam...
Agent Gumball - Roguelike Spy Game 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Someone’s been spying on Gumball. What the what?! Two can play at that game! GO UNDERCOVERSneak past enemy... | Read more »
Runaway Toad (Games)
Runaway Toad 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: It ain’t easy bein’ green! Tap, hold, and swipe to help Toad hop to safety in this gorgeous new action game from the creators of... | Read more »
PsyCard (Games)
PsyCard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: From the makers och Card City Nights, Progress To 100 and Ittle Dew PSYCARD is a minesweeper-like game set in a cozy cyberpunk... | Read more »
Sago Mini Robot Party (Education)
Sago Mini Robot Party 1.0 Device: iOS Universal Category: Education Price: $2.99, Version: 1.0 (iTunes) Description: -- Children's Technology Review Editor's Choice -- | Read more »
How to get a high score in every level o...
Sky Charms is an adorable match three puzzler that provides a decent challenge thanks to its creative level design. It regularly presents something new, forcing you to think on your feet. [Read more] | Read more »
Apestorm: Full Bananas (Games)
Apestorm: Full Bananas 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: ***Launch sale – limited time only!*** Fugitive Apes have taken to the skies in search of revenge after humans have... | Read more »
How to create bigger words in Spellspire
Words have power. At least they do in Spellspire,a game about blasting out magical attacks by making words out of a jumble of letters. And it's a lot of fun. But if you want to be the best, you're going to have to think tactically when you start... | Read more »

Price Scanner via MacPrices.net

15-inch 2.2GHz Retina MacBook Pro on sale for...
Amazon.com has the 15″ 2.2GHz Retina MacBook Pro on sale for $1699.99 including free shipping. Their price is $300 off MSRP, and it’s the lowest price available for this model from any reseller (and... Read more
Apple Beats Microsoft at Own Game; Amazon Pri...
First quarter seasonality combined with an overall disinterested customer base led to an annual decline of 14.7% in worldwide tablet shipments during the first quarter of 2016 (1Q16). Worldwide... Read more
Aleratec Releases Mac Software Upgrade for 1...
California based Aleratec Inc., designer, developer and manufacturer of Portable Device Management (PDM) charge/sync products for mobile devices and professional-grade duplicators for hard disk... Read more
Sale! Amazon offers 27-inch iMac, 13-inch 2.9...
Amazon has the 27″ 3.2GHz 5K iMac and the 13″ 3.9GHz Retina MacBook Pro on sale for $300 off MSRP, each including free shipping, for a limited time: - 27″ 3.2GHz/1TB HD 5K iMac (model MK462LL/A): $... Read more
Apple refurbished 13-inch Retina MacBook Pros...
Apple has Certified Refurbished 13″ Retina MacBook Pros available for up to $270 off the cost of new models. An Apple one-year warranty is included with each model, and shipping is free: - 13″ 2.7GHz... Read more
13-inch 2.7GHz/128GB Retina MacBook Pro on sa...
Take $200 off MSRP on the price of a new 13″ 2.7GHz/128GB Retina MacBook Pro (model MF839LL/A) at Amazon. Shipping is free: - 13″ 2.7GHz/128GB Retina MacBook Pro: $1099.99 $200 off MSRP Act now if... Read more
Apple refurbished clearance 15-inch Retina Ma...
Apple has Certified Refurbished 2014 15″ 2.2GHz Retina MacBook Pros available for $1609, $390 off original MSRP. Apple’s one-year warranty is included, and shipping is free. They have refurbished 15... Read more
27-inch 5K iMacs on sale for up to $150 off M...
B&H Photo has 27″ 5K iMacs on sale for up to $150 off MSRP including free shipping plus NY sales tax only: - 27″ 3.3GHz iMac 5K: $2199 $100 off MSRP - 27″ 3.2GHz/1TB Fusion iMac 5K: $1849.99 $150... Read more
What Does The Refreshed 12-Inch MacBook Tell...
A lot of commentators are complaining that Apple’s update of the 12-Inch MacBook last week is a bit of a damp squib. I don’t know what they were expecting, since it would be very unlike Apple to do a... Read more
Free Wittify Keyboard Now Available On The Ap...
A team of Harvard Business School students have announced that the Wittify Keyboard, a new app utility for iOS devices, is now available on the Apple App Store. The Wittify keyboard and application... Read more

Jobs Board

*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
*Apple* Solutions Consultant - Apple (United...
# Apple Solutions Consultant Job Number: 48260200 Phoenix, Arizona, United States Posted: Apr. 22, 2016 Weekly Hours: 40.00 **Job Summary** As an Apple Solutions Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
Simply Mac *Apple* Specialist- Service Repa...
Simply Mac is the largest premier retailer of Apple products in the nation. In order to support our growing customer base, we are currently looking for a driven Read more
*Apple* Retail - Multiple Positions - Apple,...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.