Now Playing on Flynn's Arcade Radio: Richter - Robeatnik'sTheme

Armagetron Servers

Turbo Teamplay: No players online
Brakes: No players online
Flynn's Arcade Network:
2 players online

Teamplay Ladder

29.1302 walla
19.8093 shawlexx
18.0302 =fm=ruthless
17.8678 confy
17.4745 |red|_brian
14.3085 radiolikesballs
13.4934 oizo
9.361 =fm=glave
8.8207 jammino
7.715 .

Brakes Ladder

9.7766 kyledylanconner
8.2443 player_1
8.2401 queen
7.75978 sims
6.8199 tospo
4.9195 mike
4.5369 .:inc
2.57753 ben


Affiliates

Advertisement

Welcome!

Greetings, Programs! Welcome to Flynn's Arcade! Here you will find my random musings on life and technology, as well as various interesting computer projects of mine. The name of my site comes from the 1982 sci-fi classic TRON. I am a huge fan of the movie and of classic video gaming and computing. As such, my radio station plays various original and remixed music from those bygone days. I also run 15 Armagetron Advanced servers to help carry on the spirit of classic gaming and serve the TRON community. I hope that this site will be worthy of its domain name.

 C10ud


How to Reuse a Growl Notification
Written by C10ud   
Thursday, 19 June 2008

Ok, so Growl is an absolutely AMAZING notification system for Mac OS X users. It pops up these sweet notification windows in a corner of your screen and many OS X apps will send notifications (such as Firefox telling you that your downloads are done). If you don't have Growl on your Mac already, I highly recommend getting it (http://growl.info/ ).

That said, I am currently developing an application that makes good use of these notifications. The default behavior if you don't know how to do it differently is to pop up a new notification every time you send a call to the GrowlApplicationBridge (which is what your Cocoa apps use to communicate with Growl). This is great if that is the behavior you want, but I wanted behavior like GrowlTunes. I suppose I could have torn apart the code for GrowlTunes, but I didn't feel like it after I saw that it used both the Cocoa AND Carbon frameworks, so I just... well, yeah I was lazy. Either way, I figured that I, like any good developer, would check out the documentation first. Sounds like a plan, I poked around the Growl site a bit and finally found all 2 pages of Growl documentation that pertained to Cocoa apps. Sorry guys, I'm going to try to say this as nicely as possible... Your documentation is somewhat lacking. There isn't really any example code, and there isn't even an API reference!

Anyways, going back in time a bit, I did get Growl's development Framework installed and had my application displaying messages. Back to our problem though, how to keep reusing a notification? Well, there is one method documented on the main Growl developer docs page, but unfortunately, it is only for Carbon and the table cell above it says "There is not currently such a procedure for Cocoa." Not sounding very promising so far. Well, to make a long story short, what I ended up doing was digging around the header file and I found that there are several overloads for the notification method. Here is its interface, followed by an example of how to use it in a program.

+ (void) notifyWithTitle:(NSString *)title
    description:(NSString *)description
    notificationName:(NSString *)notifName
    iconData:(NSData *)iconData
    priority:(signed int)priority
    isSticky:(BOOL)isSticky
    clickContext:(id)clickContext
    identifier:(NSString *)identifier;

[GrowlApplicationBridge
     notifyWithTitle: @"Title"   
     description: @"Message"
     notificationName: @"flashCard"
     iconData: [NSData data]
     priority: 0
     isSticky: YES
     clickContext: title
     identifier: @"flashcard"];

I hope this is useful to somebody out there. It took me quite a bit of looking and Google turned up nothing :( By the way, if anyone from the Growl dev team reads this, I'm not trying to criticize you guys, I just think it would help those developing software that works with your notification system to have more comprehensive API docs. If you want, I would be happy to help out. I might e-mail you guys some stuff if I get a chance (VERY busy summer coding like 15+ hrs a day)

Be first to comment this article | Quote this article on your site | Print

 
Firefox 3 Launch Woes (are over)
Written by C10ud   
Tuesday, 17 June 2008

Unfortunately all of the download day hype has been causing denial of service on the Mozilla servers. As I write this, 2 hours after the supposed launch time, the site is in the process of being updated with the new Firefox 3 logos. Unfortunately the download link still points to Firefox 2, which gives a Service Unavailable message :(

UPDATE: They have fixed the problems, and although the site is still under heavy load, I was able to get the new Fx3! Great job on the os-specific instructions :)

Be first to comment this article | Quote this article on your site | Print

Last Updated ( Tuesday, 17 June 2008 )
 
Flynn's Arcade #1 Revived
Written by C10ud   
Saturday, 17 May 2008
I have no idea how long this has been out (probably since I left for college), but ivantis g has pointed out to me that Flynn's Acade #1 is down. Apparently my new startup script wasn't set to run properly, but it is now fixed. Enjoy :)

Comments (3) | Quote this article on your site | Print

 
New Chiptunes
Written by C10ud   
Wednesday, 14 May 2008
I just added about 25 new chiptunes to the radio library, including the new Xinon vs Sabrepulse album with lots of high-energy techno. Enjoy :)

Comments (4) | Quote this article on your site | Print

Last Updated ( Thursday, 22 May 2008 )
 
Firefox 3 is a Drastic Improvement!
Written by C10ud   
Saturday, 26 April 2008
Yes, I know I'm very late to the party, but I finally got around to installing firefox 3 on my mac, and boy is it an improvement. Don't get me wrong, I'm a major firefox fan when using linux or w*nd*ws, but on mac, firefox has been rather slow as of late, but with the new version, it loads in about 4x faster than the previous version and is now actually competitive with Safari. The interface also looks much more mac-native and is a massive improvement over firefox 2. It also adds lots of nice features, like nicer URL completion and things of that nature, so I highly recommend mac-users to give it a shot as it is now again a usable browser on the mac and imho it still renders some pages better than Safari (including a few that safari won't load).

Comments (3) | Quote this article on your site | Print

 
<< Start < Prev 1 2 Next > End >>

Results 1 - 10 of 11

up 176 days
(C) 2007 - 2008 Flynn's Arcade
Joomla! is Free Software released under the GNU/GPL License.