Seeing stars

It’s been interesting few days lately for me, celebrity-wise. Agassi/Graff First, last Thursday, Andre Agassi and his wife Steffi Graff came to the Yahoo! center in Santa Monica (my workplace) and played with our kids and signed tennis balls. This was fun, check out: vid, vid, vid, pics. Here’s my daughter almost hitting the ball: […]

August 8th, 2008
Tags: Fun, Music

Yahoo Music API

This was meant to be a longer posts with examples and such, but Jim Bumgardner said it and coded it better than I could 🙂 He’s been with Y!Music way longer than me and has done way cooler stuff. As a front-end engineer for Yahoo! Music, I’ve always thought it would great if the web […]

August 7th, 2008
Tags: Music, yahoo, ydn

first book review and a new instrumental piece

The first review for OOJS is posted on Amazon – 5 stars, yeey! (My copies still hasn’t arrived, talk about weird, eh?). If anyone is interested in reading my book and posting a review on Amazon or some other site, let me know, my publisher might be willing to send you a copy. Here’s another […]

August 5th, 2008
Tags: book, Music

Now available: “Object-Oriented JavaScript” by Stoyan Stefanov on Amazon.com

I got a nice email from Amazon last week 🙂 Unfortunately the book is still missing things like cover image and description, but it’s a progress! — Dear Amazon.com Customer, We’ve noticed that customers who have purchased or rated books by Stoyan Stefanov have also purchased Object-Oriented JavaScript by Stoyan Stefanov. For this reason, you […]

July 30th, 2008
Tags: book, News/personal

location=location

location = location … and 534 other ways to reload the page with JavaScript How many ways you can think of when you want to reload the current page with JavaScript? I counted 535 before I got bored, maybe someone can pick up from there? The cases are so much that I had to write […]

July 26th, 2008
Tags: Fun, JavaScript

When PNG8 is not the right choice

Dave Artz has a nice post about PNG8 and alpha transparency, my extensive comments on his article are awaiting moderation right now 🙂 Dave has a very cool blog btw, only a few posts but they are all really good, there’s a video tutorial of AOL’s Pagetest tool and a discussion on non-blocking javascripts, something […]

July 26th, 2008
Tags: performance, Stumbled upon

a DOCTYPE is all it takes

At a lunch conversation about quirks vs standards mode, the question was raised: but what if you don’t have those kinda important tags such as <html> or <body>? is this going to be quirks mode? Well, the following test case shows that a DOCTYPE is all it takes in order to have standards mode rendering. […]

July 25th, 2008
Tags: (x)HTML(5), browsers, standards

fun: front-end performance vs back-end performance

I’m explaining to .. let’s call him “This guy” what I work at Yahoo!: [2:10:32 AM] stoyanstefanov says: research, experiments, building tools [2:10:38 AM] stoyanstefanov says: all around performance [2:10:45 AM] stoyanstefanov says: and focused on the front-end [2:11:33 AM] This guy says: front-end performance sounds so rude [2:11:58 AM] stoyanstefanov says: haha 😀 [2:12:10 […]

July 25th, 2008
Tags: Fun, performance

Making money with templates

I’m under the impression that these days we’re used to getting everything for free on the web, and especially so when it comes to things such as WordPress templates, phpBB themes or any other templates and themes. Are people willing to pay for extra high quality templates? Marco, a blogger and friend, has released a […]

July 25th, 2008
Tags: News/personal

The book, the book

OOJS is almost officially out. I mean it’s out officially, but not yet up on amazon, which these days means it’s not really out, is it. It will probably take a couple more days, maybe next week. So far there has been a great interest, even enthusiasm, expressed by people running web dev sites who […]

July 25th, 2008
Tags: book, JavaScript

HttpFox

HTTPFox is an interesting Firefox extension for monitoring the HTTP traffic, obviously inspired by the IE-only commercial HttpWatch. HTTPFox shows some stuff that are missing from Firebug’s Net Panel, such as requests for favicons and such. There’s also a little search box that lets you filter the list of components. Pretty cool too is the […]

July 25th, 2008
Tags: firebug, firefox, tools

My online footprint lately

This is a sort of a catch-up post for listing what I’ve been up to lately. YUI Blog just published my first article, I’m so proud. It’s about loading JavaScript in non-blocking fashion, because JavaScripts, they, you know, like, block downloads. Luckily, there’s an easy fix – DOM includes, which I’ve previously discussed, discussed and […]

July 23rd, 2008
Tags: Ajax, JavaScript, JSON, News/personal, performance, php, yahoo, ydn, yslow, yui

The JavaScript book is almost there

Whew, after a whole year of writing, preparation, edits, blood, sweat, tears, I finished all the latest edits and reviews for my new book, Beginning Object-Oriented JavaScript. It should be out any day now. I can’t be happier! You can pre-order with 10% off from the publisher’s site.

July 16th, 2008
Tags: JavaScript, writing

Steppn

So I got one year older last week, no, the week before and I got a gift: a guitar processor. A DigiTech RP250 Guitar Multi Effects Pedal, to be precise. Yeey! The thing has so many pre-build effects, some of them really weird as you can hear. And can be plugged into the PC via […]

July 1st, 2008
Tags: Music

Image optimization – 7 mistakes

The slides from my talk at the Velocity conference » Download | View | Upload your own

June 26th, 2008
Tags: images, performance

Happy Download Day

Today is the Download Day for Firefox, which means the new release FF3 is out now. Go ahead, download and help set a Guiness record for the most software downloads in a day. Also, last night we released a new YSlow version that works with FF3 and the latest Firebug 1.2 beta (and also FF2, […]

June 17th, 2008
Tags: firebug, firefox, yslow

no mo’ adsense

After adding adsense ads to this blog about three weeks ago, I took them off today. The reason is simple: the earnings were beyond disappointing. I guess adsense T&C do not allow me to reveal my stats, but let’s say that the money this blog could make from adsense will be enough to buy me […]

June 6th, 2008
Tags: News/personal

Half-a**ed Adsense

It’s official, I switched to the dark side. Not only does this blog has ads but they are Google’s adsense. But hey, you gotta try. Because I was so hesitant and have been postponing this moment for years, I only did it half-way. I added a condition – only show ads when displaying a single […]

May 18th, 2008
Tags: WordPress

Kiss alive

I’ve never been a Kiss fan, but went to see them while in Bulgaria. The show was excellent, lots of fireworks, fire breathing and all kinds of effects. More theatre than music, but fun nevertheless. It’s a whole different experience than for example Pearl Jam, which is my kind of show, because it’s all about […]

May 17th, 2008
Tags: Bulgaria, Music

www vs no-www and cookies

One of Yahoo’s performance rules says: Use cookie-free domains for static components. This is good because the server has no use for cookie information when serving a JPEG or another static component, so all this cookie information creates network traffic for no reason. One of the implications of following the rule is related to the […]

May 13th, 2008
Tags: performance, php

Bookmarklet maker tool

Helps you easily turn any javascript code into a bookmarklet and post on your blog: http://tools.w3clubs.com/bookmaker/

May 10th, 2008
Tags: bookmarklets, tools

Back to Bulgaria

I spent the 10 hours flight LA-Munich mainly standing up, walking or sitting on the armrest while the two kids occupied three chairs sleeping, which was totally fine, who wants to sit for 10 hours with cranky underslept kids. Then spent two hours with the noisiest kids on the Munich airport and two more on […]

May 8th, 2008
Tags: Bulgaria, News/personal

Load a photo in a canvas, then flip

Today our family went to the yearly photo session with the girls. We took one shot that can be looked normally, as well as upside down, so I was wondering can you flip an image using a canvas tag. Turns out, yes, you can and it’s pretty easy. » Demo is here. How to load […]

May 3rd, 2008
Tags: canvas, images, JavaScript

Firefox/Firebug extension creator wizard

Always wanted to create a Firefox extension? Or a Firebug extension? Here’s an easy way to take off the ground, no more excuses. Firefox Extensions The way most people get started with creating a Firefox extension is copying an existing extension and tweaking. This is not the best way as you can guess, the best […]

April 26th, 2008
Tags: firebug, firefox, tools

Editing made easy: 6 words to cut out

When you write something: a book, an article, an email… cut out needless words. The copy after editing should be shorter. Writing is not speaking, it must be tighter. (And, if you find an email is getting longer, just phone the person, he’ll never read the email anyway) I’ve read somewhere Mark Twain was saying […]

April 26th, 2008
Tags: writing