Monthly Archive for August, 2005

I’ve just released App Stop 1.0b. The following fixes & changes have been made:

  • Fixed a bug where applications that should be in the menu bar item’s menu, weren’t
  • Upgraded AGProcess to .5, which fixed a few small bugs that were occurring
  • Some small speed optimizations
  • I rewrote the background-application update algoririth, ands its much faster using much less CPU when checking for background-applications
  • Fixed a bug where your selection on the table view would change to the newly added application
  • Totally rewrote the helper application which handled peforming actions on root and other applications not running on the current UID.
    This improvement brings the following features and enchancements:

    • Ability to retrieve CPU usage of other processes running under different UID’s than the current UID
    • Ability to pause/resume processes running under different UID’s the current UID
    • Ability to force quit processes running under different UID’s the current UID
    • Faster performance for renicing applications running under different UID’s the current UID

Please let me know if you encounter any bugs. On a side note, I want to replace the ‘document’ icon that appears when the application has no icon with the ‘Unix Executable File’; but, I don’t know where that icon is located. Is you know where it is located, please let me know!

I’m looking forward to getting the 1.0 final out in a week or so! :)

Average Rating: 4.4 out of 5 based on 214 user reviews.

I’m back from vacationing in New Hampshire. I stayed up in the mountains near a small lake, a place I go to every year. It was awesome; I went sailing, nee-bording, tubing, boating, swimming, diving off of rocks, hiking, biking, eating :D - it was an awesome time. The rural landscape is awesome, the air is so clean- I can’t wait to go back next year.

On another note, I’m preparing to release V1.0b of App Stop, it should be released within the next week.
I’m pretty amazed at the popularity of my easingScrollBar class, it has received almost 1200 downloads to date.

I’ve also finally decided to buy Write Great Code: Understanding the Machine (Amazon had the best deal). I’ve always wondered about how the computer interprets the code i write, and this book looks like it addresses my curiosity. Looks like it will be a good read :)

Average Rating: 4.4 out of 5 based on 160 user reviews.

Recently I’ve been trying to understand the concept of interprocess communication in C. I’ve looked at some example code, read the man pages for fork() dup() pipe(), exevc() and the like; but the concept just wouldn’t sink in.

Luckily, someone I met from the Kirupa Forums, njs54345 said to search google for ‘Beej’. I followed his advice and was happy I did, Beej has some awesome information. I did some small example projects based of the IPC tutorial and posted the source files on the source section of this site. If your trying to learn network, or inter process communication in C I would highly recommend those tutorials- there great.

Average Rating: 4.9 out of 5 based on 194 user reviews.

Woot! :) The Flash 8 IDE has finally been announced! I have high hopes for this Flash IDE release since the Flash IDE on the mac right now totally stinks. Luckily, the beta testers are able to talk, I’ve searched around looking for anything about performance improvements on the Mac IDE, and I’ve found it. Heres a quote from their blog post:

“greatly improved performance on Mac OS X”

YESS! I hope with improved performance they fixed the ULTRA slow redrawing of panels, fixed the utterly horrible built in code editor, improved compiler speed by 200%, and added tabbed windows. Keep your fingers crossed.

If you dont have Flash yet, and are looking to buy it, there is a little tip at the end of the blog post I linked to above that will allow you to get the whole studio 8 (which includes Dreamweaver 8, Flash Professional 8, Fireworks 8, Contribute 3, and FlashPaper 2) for simply the upgrade price of Studio 8 $400:

“Aside from all the other nice stuff you’ll find in Studio 8, its pricing is worthy of particular note. For the first time, Macromedia is offering a single upgrade price for Studio 8 of US$399, which lets you upgrade from any prior version of the studio or one of its component products to the full Studio 8 (which now includes Flash Professional). So if you don’t already have one of these products, it would be worth checking eBay now for a cheap, legitimate copy of, say, Flash 3. You could probably find it for less than $20, but having that serial number will mean you’ll only need to pay the upgrade price of US$399 for Studio 8, not the full price of US$999.”

So basically, you can buy Flash 4 off e-bay for $20, then pay $400 to get Studio 8. Not a bad deal, the same price as if you got Flash Basic by itself. I’m pre-ording right now to get that cool backpack :P

UPDATE: Here’s an interesting piece of information from the Macworld newsletter:

“Flash 8 Professional comes with many new features including higher-quality video and improved text tools, but Macromedia also focused on improving the experience for Mac users. Document tabs are now included in both Flash 8 Professional and Dreamweaver, a feature that was available for Windows in the last version of the suite. Macromedia also moved to Mach-O for both Dreamweaver and Flash, bringing it closer to native Mac OS X APIs.

Flash Player 8 will now use Apple supported Open-GL to render graphics, a move the Macromedia says brings performance very close to its Windows counterpart.
Flash 8 Professional also includes Filters, which allow designs to be made with built-in filter effects like drop shadow, blur, glow, bevel, gradient bevel and color adjust. Adding the filters does not increase the file size of the Flash file because Flash Player 8 renders the filters in real-time. Another addition to the latest version of Flash is a new font rendering engine called FlashType intended to provide clear, high-quality font rendering.”

Sweetness! Sounds like MM spent some time on the Mac IDE this time around. I’m getting very excited about this release :)

Average Rating: 4.4 out of 5 based on 214 user reviews.

I came across this bug awhile ago. Lets say you had the following code in a SWF:

noise = new Sound();

It worked perfectly, the sound with the linkage ID in my library names “asound” played and everything was great.
Now try loading that SWF info another SWF, the sound will not play. I searched the net and found this nice little comment here:

“For what it is worth, I had the same issue, and found a solution to this.
When declaring the “new Sound”, you have to specify a target movie clip. For example:
new_sound = new Sound(this)”

Ah-Ha! Specifying this in the Sound object’s constructor magically makes it work. This isn’t anywhere in MM’s docs. Thanks MM for wasting 30 more minutes of my time!

Average Rating: 4.7 out of 5 based on 156 user reviews.

This is yet another bug I found while doing some Flash-dev, it has to do with the with() statement.
If you use with(this){…} it will give you erratic/unpredicted behavior, for instance take this code:

ob = {};
ob.test = function() {
	with(this) {
		__x = 1;
		trace("test: inside: "+__x);

	trace("test: outside: "+this.__x);


You would think that output would look like this:

test: inside: 1
test: outside: 1

But, instead it comes out as:

test: inside: 1
test: outside: undefined

Seems as though Flash does not allow you to set variables when using this in a with() statement. You can get the .fla i used to make the test cases for this bug here.
Thanks Macromedia for wasting another hour of my time! :P

Average Rating: 4.7 out of 5 based on 225 user reviews.