Author Archives: Carl Sziebert

Flickr style multiple file upload with jQuery

3
Filed under ActionScript, Flash, Software, Tutorials, jQuery

A while back, Paul Gregoire introduced me to the jQuery JavaScript library. It didn’t take long for me to realize the power and elegance of this library. For the longest time, I’ve been wanting to take a shot at authoring a plugin for jQuery and I’ve finally gotten around to it. So, it is my pleasure to announce the creation of the jquery.transmit plugin. It is a flash-backed multiple file upload utility with a user experience similar to that of Flickr’s current uploader. The goals for the plugin were simple: Provide an easy-to-use interface, use flash to work around HTML and JavaScript based file upload issues, and wire it all together with jQuery. Getting started with the plugin is quite simple. Import the necessary CSS and JavaScript dependencies, edit the supplied HTML to your liking and invoke the plugin like so:

Code:
    $(document).ready(function() {
        $('#transmit').transmit('http://mysite.com/upload/');
    });

While the plugin is still very much in its infancy and should be considered a work in progress, it is my opinion that it is easier to shake out bugs using an iterative development process. So, keeping that in mind, I’m hoping that a couple of you brave souls will wander over to googlecode and give it a try. Constructive feedback is very much appreciated.

RESTful URLs with Spring MVC and UrlRewriteFilter

2
Filed under Java, Spring Framework, Tutorials

While Spring 3.0 promises to support REST style URLs out of the box, it won’t ship until sometime later this year. Spring 3.0 M1 will offer this functionality for anyone brave enough to work with potentially unstable technologies and should be available soon. And while this is good news for those starting out on new projects (or those willing to undergo a significant refactoring), most won’t want to migrate their applications just for RESTful URLs. All hope is not lost though, thanks to Paul Tuckey’s UrlRewriteFilter. Read More »

Mac OSX + Subversion = Versions

0
Filed under Mac OS X, Subversion

This morning I received a shocking email… Pico and Sofa have finally released the beta of Versions, a brand-spanking-new Subversion client for the Mac. Having been stuck with svnX for so long, Versions is a welcome addition to my development tool chest. There are a few quirks when using the app. For example, when right-clicking on the repository bookmark, I would have expected it to have entries for adding working copy bookmarks. That is not the case, you’ll find that menu item only on the “+” button at the bottom of the interface. Regardless, if you work on a Mac and use Subversion for source control, give Versions a look.

Jedai Framework for Red5

0
Filed under ActionScript, Flash Media Server, Red5

As the Red5 media server continues to mature, new and exciting additions are announced with greater frequency. Once such addition to Red5 is the Jedai project. Anyone familiar with Flash Media Server knows that it provides a solid component library for rapid development of collaborative media applications. With the introduction of the Jedai project, Red5 is no longer lacking in the area. Read More »

Open letter to the Chinese blogger stealing my work…

0
Filed under WTF

Dear Sir/Madam:

Thank you for taking the time to read through my posts and link to them. Unfortunately, you have managed to offend me. Instead of linking to my post and providing a summary like most considerate bloggers would, you have chosen to copy the article in whole, download my sample code and republish it WITHOUT so much as a single line giving credit to me as the original author. To me, this is unacceptable. Please update your pingbacks to correctly specify me as the author or I’ll be forced to ban you from reading my blog.

Regards,
Carl Sziebert

13949712720901ForOSX

1
Filed under Apple, Inc., Java, Mac OS X

You’ve read my rant about Java 6 being missing from the recent Leopard release, now you can help make a poor, not-so-humble geek’s wish come true. All you need to do is post a short entry on your blog with a reference to the string ‘13949712720901ForOSX‘. Doing so, means that you are casting your vote to tell Apple to fix it’s cranio-rectal inversion. Plus, you’ll be helping me and the 5 (there’s many, many more out there I am sure) other developers that actually write Java on a Mac out a ton. But why ‘13949712720901ForOSX‘ you ask? The actual meaning of the string is a bit entertaining. Translated from decimal notation to hex, the numeric portion is ‘0xCAFEBABE405′. Yup, you read that correctly. Who says Apple Sun engineers don’t have a sense of humor? What’s more entertaining is that 405 is the HTTP response code for ‘Method not found.’ You can read more about the effort to bring Java 6 to a Mac near you and the meaning behind the magical string at the Sun Babelfish blog.

WTF: Apple ships Leopard without Java 6

1
Filed under Apple, Inc., Java, Mac OS X, WTF

Having been a Java developer for the better part of a decade and an Apple fanboy for longer than that, I am left wondering what the hell they were thinking when they decided to not add Java 6 to Leopard. Keeping in mind, of course, that Apple has been notoriously bad about updating Java for OS X, the release of Leopard took just over 2 years to complete. They couldn’t find the time to get it done? Read More »

Remote debugging Red5 applications

8
Filed under Eclipse, Java, Red5, Tutorials

Red5[1] contributor Paul Gregoire recently added a new server startup script targeted specifically at application debugging. The script is quite simple in nature and is provided in both Windows and Unix flavors. Take note, however, that this script is exclusive to the standalone version of Red5. Debugging the WAR version of the server is quite a different task. To demonstrate the ease of debugging your applications, I’ll walk through a simple example using Eclipse[2] and the source code from my stream recording tutorial. Read More »

Server-side stream recording with Red5

40
Filed under ActionScript, Flash Media Server, Java, Red5, Software, Tutorials

While most developers are content to record video using the NetStream.publish(”streamName”, “record”) API, it is sometimes useful to take FLV snippets from the publishing stream instead. In my opinion, this is one of the greatest features of Flash Media Server (FMS) and Red5. Utilizing this strategy allows the application developer to precisely control when and how much of the video is recorded. While recording via the NetStream function has been available in Red5 since the beginning, recording video from the server-side application has not. In this post, I’ll demonstrate Red5’s ability to record an FLV with a very simple pair of publish and subscribe flash applications. Read More »

Server-side ActionScript plugin for Eclipse

0
Filed under ActionScript, Eclipse, Flash Media Server, SSAS, Software

Server-side ActionScript (SSAS) has long been the bastard child of the ActionScript permutations. There are a number of editors that offer syntax highlighting and in the case of the Flash development tool, the bare minimum of auto-completion features for SSAS. That is until now. Read More »