Monday, August 18th, 2008

Getting a JavaScript stracktrace in any browser

Category: JavaScript, Tip

Eric Wendelin has posted on getting a JavaScript stack trace no matter that the browser. With Firebug you can call console.trace() but what about the rest? Luke Smith took Eric’s work and added to it, ending up with: (function () { YOUR_NAMESPACE.getStackTrace = (function () { var mode; try {(0)()} catch (e) { mode = Read the rest…

Posted by Dion Almaer at 5:43 am
1 Comment

4.1 rating from 22 votes

Friday, August 15th, 2008

ECMAScript Harmony: Brendan Eich, Douglas Crockford, Adobe, and more

Category: Interview, JavaScript

ECMAScript Harmony has been the big news of the week. It isn’t hard to see why, the next version of JavaScript is going to affect us all, for a long time (even more than a presidents term!) Alex Russell, John Resig, and myself got Brendan Eich and Arun Ranganathan on the phone to talk about Read the rest…

Posted by Dion Almaer at 10:28 am

4 rating from 25 votes

Custom events as API end points for key bindings and more

Category: Examples, JavaScript

Inspired by the Gmail team and how they created well known Greasemonkey endpoints and the custom events work that I have been doing, I was lead to play with custom events as a way to tie into key bindings. This lead to the following post on my blog: On the back of my example enjoying Read the rest…

Posted by Dion Almaer at 8:58 am

3.8 rating from 19 votes

HTML5 Live DOM Validator

Category: HTML

Henri Sivonon has taken Hixie’s Live DOM Viewer, and is now running the HTML Parser within it, using GWT 1.5 RC2, which fixed a bug to do with JavaScript in hosted mode. Simply open the tool and put in some markup and see the puppy run. Below is an example that I saw on Read the rest…

Posted by Dion Almaer at 6:23 am
1 Comment

3.7 rating from 14 votes

AppJet improves, and teaches you along the way

AppJet, the server side JavaScript Y Combinator startup, has been improving all the time, including these new updates which allow for better database work: < View plain text > javascript storage.threads   .sortBy(‘-timestamp’) //sort first so we skip the right ones   .skip(start)   .limit(items)   .forEach(function(thread){           printp(thread.text)   }) Read the rest…

Posted by Dion Almaer at 6:20 am

3.5 rating from 8 votes

Thursday, August 14th, 2008

YUI 3: The goals are lighter, faster, consistent, power, secure

Category: JavaScript, Yahoo!

YUI 3 has a preview release for us to check out. The goals are: lighter (less K-weight on the wire and on the page for most uses) faster (fewer http requests, less code to write and compile, more efficient code) more consistent (common naming, event signatures, and widget APIs throughout the library) more powerful (do Read the rest…

Posted by Dion Almaer at 12:14 pm

4 rating from 46 votes relaunched with new tutorials and more

Category: MooTools

Aaron Newton has relaunched with a cleaner, leaner, look and feel. The news for the launch is: The Mootorial (the MooTools tutorial) is now updated for MooTools 1.2 and on it’s own domain The wikiTorials(tm! – not really) for all of CNET’s codebase have been updated for our updated 1.2 code (which launched Read the rest…

Posted by Dion Almaer at 12:06 pm

3.6 rating from 17 votes

This Week in HTML 5: Navigator standardization, Worker, and more

Category: HTML, Standards

Mark Pilgrim has released his second This Week in HTML 5 episode that covers window.navigator, a new Worker, talk on alt, and more. Navigator standardization The navigator attribute of the Window interface must return an instance of the Navigator interface, which represents the identity and state of the user agent (the client), and allows Web Read the rest…

Posted by Dion Almaer at 11:57 am
1 Comment

3.6 rating from 10 votes

Secrets of the JavaScript Ninja: A sneak peak for Ajaxians

Category: Books, JavaScript

John Resig is working on the Secrets of the JavaScript Ninja book, which I am sure will be a success. Manning has been kind enough to give us a sneak peak at some of the chapters: How closures work This content introduces the closure, an important aspect of JavaScript, and describes its use. It goes Read the rest…

Posted by Dion Almaer at 6:59 am

4.1 rating from 52 votes

Wednesday, August 13th, 2008

ECMAScript Harmony: Coming together after Oslo

Category: JavaScript, Standards

I discussed my worries about JavaScript 2 recently. I could only do so as I saw some light at the end of the tunnel. That light came from an ECMA meetup in Oslo where it seems people came together to rally behind the idea that something needs to be done. Brendan Eich posted to a Read the rest…

Posted by Dion Almaer at 5:56 pm

4.1 rating from 24 votes

border-image: No more cutting up hell

Category: Browsers, CSS

Remember when you wanted a growable area with rounded-goodness and you had to cut up the image into a million pieces to have the top corners and the sides? Since then we have gotten nice effects to help us, and John Resig just posted on how Firefox 3.1 will implement what WebKit already has in Read the rest…

Posted by Dion Almaer at 11:21 am

4.3 rating from 37 votes

More on codecs: Apple’s view, and the BBC makes a move

Category: Sound, Standards

We just talked about codecs, and in particular the world of Ogg. Mozilla came out supporting the format, and saying that we should see it in Firefox 3.1. Niall Kennedy then reminded me of a post, way back in time, by David Singer of Apple discussing the research that Apple did into Ogg: Preamble The Read the rest…

Posted by Dion Almaer at 7:16 am

3.5 rating from 11 votes

Prefer Ruby syntax? See Red, and your Ruby will convert to JS

Category: JavaScript, Ruby

I am a fan of Ruby, and when I saw Red the framework that allows you to write Ruby and get JavaScript out the other end I was excited. It allows you to write this: < View plain text > ruby class MyClass    @@my_var = 500        def initialize(arg)      @arg Read the rest…

Posted by Dion Almaer at 6:28 am

3 rating from 35 votes

Tripeedo: Command line for travel

Category: Prototype, Showcase

Tripeedo is a new little site that uses Prototype to power a command line for travel. You just type in where you want to go and when, and it will launch you into a search. I really enjoy the command line interfaces, and much prefer them to the long forms that travel sites put up Read the rest…

Posted by Dion Almaer at 4:59 am

3.6 rating from 33 votes

Tuesday, August 12th, 2008

gopher away in JavaScript

Category: Fun

I was at the University of Minnesota when Gopher, the Internet protocol, was in its prime. It was created by a professor at the University of Minnesota you see, and I had to help implement gopher services. When the Web kicked off, they still tried to hang on, but made the fatal mistake of not Read the rest…

Posted by Dion Almaer at 10:52 am

3.7 rating from 18 votes

Squirreling out the Fish on the iPhone

Category: iPhone, JavaScript, Mobile, Performance

< View plain text > HTML <script type="text/javascript"> function recurse(n) {     if (n > 0) {         return recurse(n – 1);     }     return 0; }   try {     // recurse(43687);  // Highest that works for me in WebKit             Read the rest…

Posted by Dion Almaer at 6:11 am
1 Comment

4.1 rating from 24 votes

All Posts of August 2008