Paul Irish on tumblr

Mar 21
Permalink

grantg on requestAnimationFrame in #html5

  • grantg: delvie: rAF has no "respect" to audio callback timing, hence why I have to use it.
  • grantg: *hence why I have to use setInterval
  • grantg: lol misword
  • grantg: I don't need nanosecond accuracy, I need the timer callbacks to not underrun over time
  • grantg: :P
  • grantg: Firefox is a big violater of callbacks/sec being inaccurate
  • grantg: Velmont: Anyhow, there should be an extension to allow precision loss, for the sake of calls over time actually being right
  • grantg: "do you want EXACTLY x ms between the calls, or do you want it to be x ms averaged over time, with heuristics to call it early/late to make sure it really does hit x ms as an average"
  • grantg: that needs to be a boolean param
  • Velmont: Well, one has to be default.
  • grantg: setInterval has too much legacy, no?
  • grantg: This would need to be part of the new api
  • Velmont: And if having a x between calls is really something we'd want, I guess that should come into a spec so that everyone can implmenet it :-)
  • grantg: Because some want precision, others want accuracy
  • grantg: and some want the default of a balance between both
  • Velmont: Ah, -- new api, -- that with high res timers, that's for reading out info. - I'm not aware of any ongoing work on a new schedule-job timer-thing. Are you?
  • grantg: What part allows this to be scheduled right?
  • grantg: For the accuracy or precision cases to be selected as the scheduling algo?
  • grantg: Also RAF needs setMaximumFrameRate(int) function
  • grantg: So the spacing between frames can be controlled
  • grantg: if the dev wants less than the system frame rate
  • grantg: I noticed that I need trick chrome into spacing at 62.5 fps by calling RAF outside the RAF callbacks itself
  • grantg: should be able to hint this RAF with a param or function added to the api
  • grantg: *this to RAF
  • grantg: Is there no way to do this?
  • Velmont: I'd just start a thread on WHATWG if I were you. :-) Or the place they spec RAF, -- I don't remember where that is.
  • Velmont: Anyway, it's late late here, so I'll go to bed.
  • grantg: nn
  • grantg: RAF needs to be able to have the dev set a frame rate ceiling
  • grantg: Right now RAF wants to hit the highest fps it can go
  • grantg: chrome doesn't do that by tricking it with calls from a setInterval rather than from inside the callback
  • grantg: firefox can't do this
  • grantg: firefox will drop to 10 fps when doing this
  • grantg: hence why I dropped mozRequestAnimationFrame support
  • grantg: and the fact firefox tears more w/ RAF than without
  • grantg: on OS X at least
  • grantg: you can trick RAF in chrome to go 62.5 fps, while in firefox you can't
  • grantg: Firefox only either spams the event queue with max fps or has some shitty frame rate
  • grantg: Noticed I said 62.5 fps, that's still a problem for me, as a gameboy color has a refresh rate of around 59.72, so I make a dummy RAF call every once in awhie
  • grantg: *awhile
  • grantg: hence a very slight frame stutter
  • grantg: but chrome spaces the framing between each RAF call at 62.5 fps, so for the frames that do draw, they're evenly spaced
  • grantg: rather than with setInterval stutter
  • grantg: so things like opacity flicker look right
  • grantg: by switching things on/off every frame
  • grantg: except for that ~3 fps frame beating
  • grantg: anyhow, the story goes that real game programming shouldn't have the graphics drawing tied to a timer, but rather RAF, while the core logic *should* be timed via a timer
  • grantg: as A/V has to be kept in check via the core logic
  • grantg: which has to be agnostic to the particular frame rates and audio buffer rates
  • grantg: because v-sync and audio buffer fills are not related and executed in random when compared to each other, so core logic must be done separately
  • grantg: as timing against v-sync might cause audio drop-outs, while timing against audio might cause crazy frame stuttering
  • grantg: so choose neither
  • grantg: v-sync=RAF in this case
  • grantg: delvie: There needs to be a whole blog post on this
  • grantg: with graphs
  • grantg: showing delay times
  • grantg: and accuracy vs. precision
  • grantg: and how each browser differs in timer logic and RAF logic
  • grantg: high-resolution timers mean squat when you're required to postMessage the heck out of the event queue and the callbacks for checking still are fired with inaccuracy
  • grantg: sure you can get the exact time, but you will be only able to handle stuff at random with jitter when we call you back
  • grantg: Rather, stop spamming the event queue and reduce the amount of timers on page
  • grantg: setInterval simply needs to be fixed to give the dev the option to specify whether the callbacks can arrive early for delay compensation
  • grantg: high resolution is a fools dream to say
  • grantg: As you can have your high resolution, but by handling it in a non high-resolution manner
  • grantg: if you spam with postMessage, then you might block RAF
  • grantg: and block audio too
  • grantg: for things like streaming raw pcm from js itself
  • grantg: and spacing out frames evenly
  • grantg: core logic can have jitter, not A/V
Apr 29
Permalink

An Ode To Skirt

  • Marc Brooks: dude, come to new york
  • Marc Brooks: it's warm
  • Paul Irish: oooo
  • Marc Brooks: no more coats!
  • Marc Brooks: also, skirts
  • Paul Irish: SKIRTSSSSSS
  • Paul Irish:
  • Paul Irish: An Ode To Skirt
  • Paul Irish: by Paul Irish
  • Paul Irish:
  • Paul Irish: Oh how a yard and a half of cloth
  • Paul Irish: could beguile my desires so heavily
  • Paul Irish: The pleats you possess
  • Paul Irish: stretch and recoil like my tender advances.
  • Paul Irish: The bare legs that you help to bare
  • Paul Irish: Stretch from delicate ankle to divine ends
  • Paul Irish: I implore you, dear skirt
  • Paul Irish: Loosen your hold on her. And me.
Apr 22
Permalink

Paul Irish’s Two Easy Steps for Perfect High Fives

  1. watch the elbow
  2. always execute perfect high-fives

It’s actually flawless.

If you look at the elbow, not the face of the person you were about to highfive, your solid high five success rate drastically increases.

 Guarantees include: bold slapping noise, tingly post-slap palms and general feelings of awesomeness.



Dec 22
Permalink
Dec 19
Permalink

NYC cocktail spot recommendations from Filipe Fortes

————— Forwarded message —————
From: Filipe Fortes 
To: Paul Irish 


Also.. what bars in this area would you recommend? I want to go out and enjoy a few hours of an evening but don’t know this area well. Something with a nice cocktail list perhaps.

 First, some places near your hotel:
  • Black Door (26th btw 7th and 6th): Low key and open late with a young crowd. Does get crowded on weekends though. Can’t speak to their cocktails, however.
  • Dusk: (25th btw 7th and 6th): A speakeasy-ish vibe, I went a few times a couple years back to play pool, but I do remember a decent cocktail list.
  • Bar Veloce: (7th btw 20th and 21st) A wine bar, but often a lively crowd
  • Ace Hotel / The Breslin: (29th btw Broadway and 5th) Restaurant plus hotel lobby, can end up tricky to get in when there are celebrities though.
However, cocktails aren’t really the strength in this area, if you’re willing to go a little further (far in NYC isn’t that far), here are some others known for cocktails:
  • Employees Only (West Village): Speakeasy-like scene, well known for cocktails
  • Pegu (SoHo): Swanky inside, also known for cocktails
  • Raines Law Room (Union Square): This is a place disguised as a law library, so you gotta know how to get in :)
  • PDT (East Village): Hidden inside a phone booth, but great drink menu. You need to call at 5pm to get a reservation though, can be quite tricky.
  • Meatpacking: This is close to the Google offices, but I don’t really go out in that area much (very club-heavy). There are some solid spots though that you can get a good drink (the Standard and Gansevoort hotels, various others).
Sep 10
Permalink
With rainbow sprinkles, because always rainbow sprinkles.
May 05
Permalink

San Francisco tips - if youre still searching!



————— Forwarded message —————
From: Michelle Lee 
Date: Wed, May 5, 2010 at 4:28 AM
Subject: San Francisco tips - if youre still searching!
To: Paul Irish


Hey Paul - So I dropped a line to my friends up in SF, and here’s what they had to say about neighborhoods:

(From Nate, he works at Google, lives in Noe Valley I believe):
Awesome. Some thoughts…
  • SF is a town dominated by privately owned flats and houses. Craigslist is king…no surprise why it started here.
  • When your buddy gets here, he can check out a Google-internal mailing list called “housing-sfo” dedicated to housing options in SF (mainly other Googlers posting vacancies and such)
  • Depending on what sort of new hire package he got, your friend may be entitled to a Relocation Agent that takes him on a “Get to know the city” tour and an apartment-finding day. Was a huge help for me!
  • Anything is fair game in this market. Places that were once out of reach rent-wise are now at an all-time low. Got a couple friends pickin up and moving into PacHeights and Marina because they found amazing deals.
  • PED TRAFFIC (that’s pedestrian, not pedophile): Hayes has lots of foot traffic in the day (especially Hayes Valley Park), Noe Valley on the weekends, as you know, there’s plenty of traffic in the Mission during the day and a really good energy at night, but North Beach in my opinion has the most traffic all the time. At least from my perspective, other SFers please chime in.
and from my cousin who lives in Twin Peak (before, she used to live in the Sunset district):
Everyone’s got an opinion about SF neighborhood’s.  Really depends on what flavor you’re looking for.  My favorite walking neighborhood is Noe:  good weather, nice shops, eats, okay parking, family-friendly, lots of babies and SAHMs.  But not sure if that would appeal to singles.  Cow hollow: good for blondes and yuppies.  Great weather, good shops, okay eats and bars, LOUSY parking.  Hayes Valley: more trendy, like the Mission but for fatter wallets, great eats.  Kind of small.  Pac Heights:  Kinda posh, kinda nice, not much to walk to.  Have to go down to the marina for shops, restaurants, bars.
If you want less crowded, I’d say Noe is a nice relaxed neighborhood, and relatively easy to get to on J Church muni line.  Pac Height/cow hollow/Marina are easier to get around on Muni, but parking sucks. Hayes Valley is kind of near Civic Center.  Outside of the small neighborhood, can be a bit sketchy.
Other neighborhoods he might want to look at if he wants good walking neighborhoods are Inner Sunsetand Inner Richmond.  Not so easy to get to by Muni, but lots of foot traffic in both neighborhoods.  Gotta love Golden Gate Park.  Inner Sunset is probably my fave neighborhood, but weather is foggy  in the summer when the rest of the city is sunny.  Inner Richmond is another mini-chinatown; has lots of good, cheap food, but crowded.  Not as bad as downtown Chinatown.  North Beach is really insane, but if you’re young and single…Fred lived there for a few years and it was kinda nice, but it gets old.  Mission is also great for walking, but kinda crowded, too.
Hidden gem neighborhoods that have their own mini-walking blocks are Potrero Hill and Bernal Heights.  But a bit out of the way.  There’s also China Basin, near AT&T Park.  Newer development, lots of condos.  Haven’t hung out too much down there, but people seem to like it.

Forgot to add Cole Valley:  Cute little neighborhood.  Better weather than Inner Sunset.  Close to the Haight, but away from the crowds.Also like Russian Hill: good weather; up the hill from North Beach.  Polk Street (north of Broadway):   small stretch of Polk Street that’s pretty hip, at least it was 10 years ago when we were youngish!

From my own trips to SF, my favorite neighborhoods are definitely: Russian Hill, Noe Valley & Sunset - but I’m only ever in town for a couple days at a time. Hope you’re not too stressed out by the move!

Michelle
Dec 14
Permalink
When in the course of human events, it becomes necessary for one people to recognize brilliant performance, we do not shirk this duty, but rather bask in the faint-inducing sun that epitomizes the supreme ass-kicker who is honored on this fine day, for it is he who rises like a greek god to demolish all client challenges, it is he whose (some say demonic) skillz make the general populace quake in fear, it is he who is such a pleasure to work with that there surely must be malevolence lurking behind the generous face, and it is he who wears crowns of jQuery and typography like halos atop his grotesquely brainy skull, which, as history has made clear, is as full of interaction design majesty and consulting sparkle as it is full of intricate, spellbinding, overzealous, and orgiastic code, and which, despite admirable humility, necessitates a pat on the head now and again, lest our friend forget the quantity and quality of the value he brings to Molecular every single day, which brings this author to the pleasant business at hand, which is to announce the very worthy promotion of Sir Paul Irish to the gallant position of Senior Consultant in this resplendent realm, a fact which will undoubtedly and deservedly unleash a gaggle of congratulatory emails, IMs, posts, comments, tweets, faxes, run-on sentences, and assorted sugary sweets.

From: Steve Mulder |  VP, Strategy & Insight; Emerging Interactions Practice Lead

Sent: Mon 12/14/2009 4:41 PM

To: #Molecular Molecular-Global

Subject: The Glorious Promotion of Sir Paul Irish