Nikita Vasilyev (@_n12v) header
Nikita Vasilyev (@_n12v) profile picture

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
Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)Photo by Nikita Vasilyev (@_n12v)
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
3
1
48
15,485
A better browser address bar autocomplete is feasible to make, but it’s harder than I anticipated two weeks ago 🙃
1
7
Day 1: `title.includes(query) || url.includes(query)` and we are good Day 5: allow multi-word search; words in queries don’t have to match the order in title/url Day 20: Allow inexact matches. In multi-word queries, deprioritize common words, such as “the”, “is”, “what”
Today I leaned that in JS: NaN > Infinity // false, but Math.max(NaN, Infinity) // NaN 🫠
1
2
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
So far my take away is that I don't have enough active followers 🙃
2
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
I recently left Apple after >7 years of working on Safari DevTools. Leaving was bittersweet, but it was time to move on.
1
1
55
For the next 6 month, I'm going to focus on my side-projects. I have a couple of browser extensions in works.
2
24
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 results
1
4
5
Safari DevTools don’t pause the debugger in the blackboxed scripts and selects the nearest non-blackboxed stack frame instead. Do you find it useful in your workflow? Let me know your use case.
1
1
Still hiring more engineers to work with me on Safari DevTools and Web Driver at  jobs.apple.com/en-us/details…
8
56
6
160
Common questions. We hire junior engineers, senior engineers, or anywhere in between. Remote is an option for senior engineers. My DMs are open!
1
1
1
16
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.
5
1
2
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…
1
7
1
22
We're still hiring!
1
4
I can do handstands on people #devtalentshow
1
18
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).
1
2
I'm at WWDC Safari/WebKit lab today at 4:30–6:30pm and on Friday at the same time.
2
Web Inspector: Command-S in the styles sidebar now saves CSS files. Available in Safari Technology Preview. @webkit
1
25
41
I'm moving from Melbourne, Australia to San Francisco this following Monday!
5
6