
Developer Tools developer. ex-Apple, I worked on WebKit Inspector for a decade. I do partner acrobatics in my free time.
San Francisco, CA
Joined April 2007
- Tweets1.8K
- Following1.5K
- Followers1.2K
- Likes5.9K
I've been consistently getting better ChatGPT answers for algorithmic questions by starting with "You're Donald Knuth"
2
3
276
Asked ChatGPT to write a JS function that, given a non case-sensitive prefix, returns all matches from a sorted array. Most of the time, it didn't even use binary search. sharegpt.com/c/E5EXm0S
1
638
I was wondering if it's "smart" enough to use Intl.Collator() for the binary search comparator, but that was way too much to ask. developer.mozilla.org/en-US/…
1
1
117
Object.keys(obj) in JS returns keys in insertion order but TIL:
1. When a key can be parsed to int and back to string, and stay the same, those keys move to the front
A better browser address bar autocomplete is feasible to make, but it’s harder than I anticipated two weeks ago 🙃
1
7
How many tabs do you usually have open in your browser?
35%<10
31%10-20
35%>20
49 votes • Final results 2
In the browser address bar, do you more often type a query/URL fragment
83%Visited before
17%Entirely new query/URL
23 votes • Final results 3
1
AWS S3 & Cloudfront are really not that great for hosting static websites.
Want /page/ to serve /page/index.html? Run some JS on the server 🥴
stackoverflow.com/questions/…
1
1
Want to publish changes? `aws s3 sync` uploads what’s changed to S3, but then you need to feed those modified paths to Cloudfront to create an invalidation. AWS CLI doesn’t provide that! I ended up writing a script gist.github.com/NV/8d905ed2a…
1
1
I recently left Apple after >7 years of working on Safari DevTools. Leaving was bittersweet, but it was time to move on.
Do you use script blackboxing in Safari DevTools or Chrome DevTools? / Do you use JS frameworks (such as React.js)?
21%No / No frameworks
53%No / Use frameworks
6%Yes / No frameworks
20%Yes / Use frameworks
223 votes • Final resultsStill hiring more engineers to work with me on Safari DevTools and Web Driver at jobs.apple.com/en-us/details…
I tore my hamstring yesterday and I can barely walk. Send me the best book you've read or movie you've seen in 2019.
My team is hiring! Join me to work on WebKit Web Inspector and Safari WebDriver at . DMs are open. jobs.apple.com/en-us/details…
Replying to @mathias
@mathias your CSS.escape polyfill about to get landed in Web Inspector webkit.org/b/151378 🖖
1
3
WebKit Inspector Console got a lot faster in macOS Sierra (webkit.org/b/152418, webkit.org/b/152221, webkit.org/b/155627).
Web Inspector: Command-S in the styles sidebar now saves CSS files. Available in Safari Technology Preview. @webkit
★ Sketch-n-Sketch ravichugh.github.io/sketch-n… youtube.com/watch?v=rskUgwq5….
