eXTReMe Tracker

Friday, December 12, 2008

Best of 2008

After a long hiatus from this blog, Im baaaack. Its the end of the year and everyone's pulling together their favorite Best-Of lists. Here's my favorite Best-Of lists this year.

Websites: WebDesignersWall

Fonts: FontShop

Thursday, September 20, 2007

The Future of Ajax

Plenty interesting article. Link

Thursday, February 08, 2007

Yahoo! Pipes Open For Business

... but temporarily clogged at the moment because of overwhelming interest. Pipes is a new service that allows drag and drop aggregation and/or filtering of various internet data feeds and allows you to redirect them anywhere; its mashups on crack that anyone can use, not just programmers.

"Using the Pipes editor, you can fetch any data source via its RSS, Atom or other XML feed, extract the data you want, combine it with data from another source, apply various built-in filters (sort, unique (with the "ue" this time:-), count, truncate, union, join, as well as user-defined filters), and apply simple programming tools like for loops. In short, it's a good start on the Unix shell for mashups. It can extract dates and locations and what it considers to be "text entities." You can solicit user input and build URL lines to submit to sites. The drag and drop editor lets you view and construct your pipeline, inspecting the data at each step in the process. And of course, you can view and copy any existing pipes, just like you could with shell scripts and later, web pages."


Link to article at O'Reilly Radar

Friday, January 26, 2007

Firebug 1.0 Is Out + Talk For Power-Users by Joe Hewitt

I've been using the latest and greatest version of the Firefox add-on Firebug 1.0 which made its debut this week. For those of you not familar, Firebug is a powerful plug-in that is like Venkman on steroids for javascript development, as well as powerful and easy-to-use CSS/DOM inspector tool. We were lucky enough to have its author, Joe Hewitt, come in to give a talk for all you would-be power users at HQ recently. You can catch this talk and more if you go check out the YUI Theater from Yahoo!. Below I've summarized some of the key highlights of the video in case you are pressed for time (it's almost an hour long).




The new version features enhancements to the DOM/CSS inspector, including inheritance and precedence information. It quickly tells you which rules override other rules and where they are, all packaged into a super-slick and usable GUI. It also features live editing of CSS and HTML right there in Firebug to help you work your kinks out faster. Click on the Inspect button to view the element in the DOM tree view. Edit the innerHTML of the element by clicking on it *or* right-click on the selected element and choose "Edit HTML" to more easily modify or add HTML right there. Same goes with CSS rules in the style tab. Hint: for numeric values in the CSS tab, you can use the up and down arrow keys to increment and watch the layout change as its css property value increases or decreases. You'll also want to check out the Layout tab that lives next to the styles tab once you've chosen a DOM node. For kicks, run the mouse over the offset, margin, border, and padding labels in that tab.

But the best new thing about Firebug I've found since I've been playing with 1.0 is the expansion of Javascript logging toys. Once you get going you'll see a new tab next to the Inspect tool called "Profile" which you can turn on while youre using a page that is executing some JS and it will record all kinds of useful info about whatever js functions were executed between when you first hit it to start recording and when you hit it again to stop recording. It tells you how many calls were made to each particular function as well as how much time it took and how much time it took relative to the other functions that also fired. The best part is that you can also turn the profiler on and off directly in your code just like a console.log or console.info... Just throw in a console.profile() before the code you want to measure to start the profiler and console.profileEnd() to stop it and your output will show up in the console with all the relevant info. This is a great leap forward for developers who are very performance-conscious about their apps, which in theory should be all of us. Another whizbang logging feature is console.trace(), which does a stack trace of all the functions being called at the particular moment that you invoke it and traces the values being passed around to each of them. More about FB logging.

Speaking of performance, another enhancement rolled into the new version is the "Net" tab, which essentially gives you a break-down all the HTTP calls your page is making and tells you how fast (or slow) they are returned. Each file type is grouped and has its own sub-tab (HTML, CSS, Scripts, XHR -aka XMLHttp Request or AJAX, Images, and even Flash has its own tab). An interesting factoid about performance brought to you courtesy of the Performance group at Yahoo! is that most of the time spent fetching a file from a server is spent on the actual HTTP request, not the data transmission itself. Think about that next time you are trying to decide whether to put your javascript or css into separate files or include them inline. The Network tab is also a handy tool for debugging your XHR requests, as every file request is clickable in Firebug and expands to reveal its HTTP headers and content.

One thing to note is that javascript event logging has changed and is now tied to the DOM inspector. To log events now, you just hit "Inspect" and choose the DOM node you want to watch; its kind of like attaching a special Firebug event listener to an element in the page. Once you've chose the element you want to watch, right click the highlighted DOM node and choose "Log Events" from the menu. Now you can zoom over to the console and interact with the element while you watch all the events fly by.

Firebug features many new, advanced Javascript debugging tools which I won't go into further detail about here because using them is hard to write about, so I'll just point you to spots in the embedded movie clip above that you can jump straight to that are relevant if you're interested:

Using break-points for debug --> 27:00
Using watch-expressions for debug --> 28:45
Using mini javascript command line --> 29:20
Run-to-line feature --> 32:35



Other quick pointers: you can detach Firebug's window by clicking the up arrow icon next to the search box on the upper right. You can also jump right to certain lines in javascript files by typing the # symbol and line number into that same search box. You can also expand the command line by clicking on the up-arrow in the lower right hand corner.

Wednesday, January 24, 2007

"In The Year 2000..."

Friday, January 05, 2007

List of IE6 Bugs That Have Been "Fixed" in IE7

I'm not gonna vouch for the validity of the list of fixed bugs the Internet Explorer team has posted in their blog as "fixed" in IE7. Just sayin'.

http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx

The list has links to examples of all the bugs, so at the very least this might be helpful for you if you are trying to identify what species you are dealing with.

Sunday, December 31, 2006

Donate to the Cooperative Research Project NOW

I dont usually get political on this blog since its meant more as a forum for tutelage on various front-end issues, but this is a special occasion. A very generous user has pledged to match donations up to $10,000 at http://www.cooperativeresearch.org and they have less than 24 hours left to get the remaining $894 they need.

For those of you unfamiliar with this work, its a website that grew out of an investigative journalism project started by Paul Thompson after the 9-11 World Trade Center attacks. Its original focus was very clear: put together a timeline of events leading up to the attacks to sort of "follow the money". The result was a disturbing pattern of oil money, neoconservatives, defense contractors, and CIA/Pentagon involvement that leads up to the highest ranks of US government for the last 20 years. It is the story that the mainstream press in the US won't touch because they are afraid. This isn't some crackpot conspiracy website; these are actual journalists collaborating online and in plain view on a very important project to bring truth to the brainwashed American public.

Now that the Democrats have siezed control of Congress in the wake of the public's dissatisfaction with what is happening in Iraq, some of the connections compiled in this work have a chance of seeing daylight. In other words, America is finally starting to get its head out of its ass about all this stuff.

In the years since 9-11, the timeline has blossomed into a full-blown wiki-style collaborative website that supports grassroots investigative journalism. Some of their other projects include investigations on Hurrican Katrina, the decision to invade Iraq, prisoner abuse scandals in Iraq and Afghanistan, and the confrontation with Iran. This website is meant as a civic oversight and now that Congress is set to begin investigating these things, they are trying to get their ducks in a row. So please check out the site and donate today.

I realize alot of my readers are international visitors, but you can donate, too. The unfortunate fact of life right now is that the detrimental policies of the US government effect each and every one of us on this planet -- socially and probably more importantly at this point, environmentally. So please consider donating to this cause at this critical juncture. Link