Nick Zuber

7K posts

Nick Zuber banner
Nick Zuber

Nick Zuber

@nick_zuber

engineering @notionhq — previously @box @robinpowered — plt nerd, ocaml evangelist, wannabe chess master

Brooklyn, NY Katılım Ekim 2011
331 Takip Edilen559 Takipçiler
Sabitlenmiş Tweet
Nick Zuber
Nick Zuber@nick_zuber·
I made the checkboxes prettier and rounder with the help of the design team :) This image is how I sold the idea to everybody
Nick Zuber tweet media
Notion@NotionHQ

Check—mate ♟️

English
25
8
408
67.5K
Nick Zuber retweetledi
Tiger Abrodi
Tiger Abrodi@TAbrodi·
Many don't get why this is cool. I spent a lot of time optimizing web performance. It was one of the main things I did at both lovable and spawn. Here's somewhat simple and thorough explanation: The browser rendering pipeline goes: Style → Layout → Paint → Composite. Layout is the expensive step. It calculates where everything goes on the page. Positions. Sizes. Line breaks. When you read offsetHeight or getBoundingClientRect, you force the browser to run layout. If you wrote to the DOM before that read, it recalculates everything. That's reflow. A lot of layout work is text measurement. Where does this line wrap. How tall is this paragraph. How wide is this word. The browser is the only thing that can answer these questions. There's no alternative. You have to go through the DOM. This is the root cause behind a lot of performance problems people deal with daily. Virtual scrolling exists because you can't know element heights without rendering them first. CSS contain exists to tell the browser "don't recalculate layout outside this box." Batching DOM reads and writes exists because mixing them causes layout thrashing. Text measurement is a big part of all of these. It's slow and locked inside the browser. You see it in real apps too. Slack estimates message heights for virtual scrolling. When the estimate is wrong the scroll jumps. You've seen this. Google Docs recalculates every paragraph below your cursor when a line wraps. Every keystroke. This is why it gets slow on long documents. AI chat apps get janky when streaming because each new token can cause a line wrap which changes the height which causes the page to jump. Same problem every time. Need text measurements. Only way to get them is the DOM. DOM is slow. --- Over the years people have moved pieces of UI work out of the browser's layout engine. Rendering moved to Canvas and WebGL. Scrolling moved to custom implementations with transforms. Positioning moved to JavaScript-calculated coordinates. Interaction handling was always just JS. But text was the one thing you couldn't move out. You always had to go back to the DOM to ask "how does this text wrap." Every other piece had an alternative. Text didn't. --- Enter Pretext. Pure TypeScript text measurement and line wrapping. No DOM. No reflow. You give it text, a font, and a width. It returns exact line breaks, widths, heights. Just a function call. Pure math. Text measurement was the last piece of layout with no alternative outside the DOM. Now it does.
Cheng Lou@_chenglou

My dear front-end developers (and anyone who’s interested in the future of interfaces): I have crawled through depths of hell to bring you, for the foreseeable years, one of the more important foundational pieces of UI engineering (if not in implementation then certainly at least in concept): Fast, accurate and comprehensive userland text measurement algorithm in pure TypeScript, usable for laying out entire web pages without CSS, bypassing DOM measurements and reflow

English
22
58
909
105.6K
Nick Zuber retweetledi
Akshay Kothari
Akshay Kothari@akothari·
We just held a tender that allowed current and former @NotionHQ employees to sell a portion of their vested shares at an $11B valuation. As part of the tender, we also removed the one-year vesting cliff on options, so almost every Notion employee had the opportunity to participate. We applied the same rules to every employee, whether you’re our most recent hire or a co-founder. Huge thanks to Sequoia and Index for doubling down on their commitment to Notion, and we’re thrilled to welcome GIC as our newest shareholder. Given our explosive growth in APAC, we couldn’t have found a better partner. Our industry has come a long way in how it thinks about employee secondaries. Personally, it’s incredibly gratifying to see our team able to participate in this way. For some of our longer-tenured employees, these tenders have helped them pay off loans or buy their first home. That kind of security meaningfully changes how people think about their work and how long-term they can be in building the company. Finally, I’m deeply grateful to the team for the craft, intensity, and consistency they bring every quarter. That work shows up in the product and in the results. The ambition ahead is even bigger. Let's keep building! notion.com/blog/gic-sequo…
English
36
35
1.3K
227.7K
Max Spero
Max Spero@max_spero_·
@nick_zuber @NotionHQ it also takes 3-8 seconds to open longer docs. I'm on a 2025 M4 Macbook Air with 32GB of RAM
English
3
1
15
1.2K
Max Spero
Max Spero@max_spero_·
Before anyone else tries to tell me this issue isn't real, here's a video of consistent latency issues in @NotionHQ failing to register keystrokes if I type too fast while tag menu is open. This is unusable.
YetiBuilder (🔨 earnyeti.com)@YetiBuilder

@max_spero_ only twitter complains about Notion's latency. Most people don't care. Similar to how only twitter seems to know about claude's superiority and everyone uses chatgpt

English
16
5
357
84.9K
Nick Zuber
Nick Zuber@nick_zuber·
I really hope somebody went as jojo sliwa this year
English
0
0
0
124
Nick Zuber retweetledi
Zohran Kwame Mamdani
Zohran Kwame Mamdani@ZohranKMamdani·
In the words of Nelson Mandela: it always seems impossible until it’s done. My friends, it is done. And you are the ones who did it. I am honored to be your Democratic nominee for the Mayor of New York City.
Zohran Kwame Mamdani tweet media
English
14.9K
48.9K
429.6K
17.8M
Nick Zuber retweetledi
Ivan Zhao
Ivan Zhao@ivanhzhao·
At the end of each quarter, @NotionHQ designers lift cars. DM open if you are a designer who can code and lift cars.
English
110
41
1.8K
484.6K
Nick Zuber
Nick Zuber@nick_zuber·
@tldraw Last I checked, the latest state of art for doing this was assuming trackpad when the deltas are low 😵‍💫
English
0
0
2
593
tldraw
tldraw@tldraw·
browser people: is it just completely impossible to know if a wheel event is from a trackpad or a real mouse wheel? it sort of looks like it. pls send help
GIF
English
18
4
136
18.8K
Nick Zuber
Nick Zuber@nick_zuber·
The more things change the more they stay the same…..
Nick Zuber tweet mediaNick Zuber tweet media
English
0
0
0
221
Noémie
Noémie@FedericoNoemie·
@nick_zuber could you also add the dogs? 🙏🏻
English
1
0
3
877
Zach Dunn
Zach Dunn@zachdunn·
@nick_zuber The impact was so great that more dogs showed up. That's 2X user acquisition.
Zach Dunn tweet media
English
1
0
4
878
Nick Zuber
Nick Zuber@nick_zuber·
@sebaasttiannn It was actually a bit more complex than I expected it to be, but not too bad
English
1
0
3
614
seb
seb@sebaasttiannn·
@nick_zuber Easiest PR of all time?
English
1
0
1
663
Nick Zuber
Nick Zuber@nick_zuber·
@bensomething Stay tuned friend 😎 The todo block checkboxes will have their day in the sun
English
1
0
1
206
christine
christine@christinewa_·
didn’t have cell service for a few days 😃 what’d i miss
English
2
0
4
310
Nick Zuber
Nick Zuber@nick_zuber·
Joey Chestnut should’ve taken a sponsorship from Cool Dogs
English
1
0
6
468