Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
paulirish
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
paulirish
4y ago
Not sure of the specifics, but if certain glyphs are not in a font, it falls through to the next font in the stack. Got a repro?
92.
▲
by
paulirish
4y ago
about:discards is almost this. (Chromium desktop)
93.
▲
by
paulirish
4y ago
https://github.com/paulirish/headless-cat-n-mouse was this basic idea, but open sourced.
94.
▲
by
paulirish
4y ago
For the others that weren't familiar, OPFS === Origin Private FS. https://developer.mozilla.org/en-US/docs/Web/API/File_System...
95.
▲
by
paulirish
4y ago
Same
96.
▲
by
paulirish
4y ago
PDF of the original 1969 edition: https://www.militarynewbie.com/wp-content/uploads/2013/11/TM...
97.
▲
by
paulirish
4y ago
Here's the non-psuedo code equivalent that can leverage the CompressionStream API rather than using a browserified-gzip-library (eg pako): https://github.com/GoogleChrome/lighthouse/blob/437eb4d757c5...
98.
▲
by
paulirish
4y ago
As far as I know, nope. This set of methods used to be called the "command line api" but now its got a few names: https://developer.chrome.com/docs/devtools/console/utilities... https://
99.
▲
by
paulirish
4y ago
Most advanced javascript developers don't know about these features, so no worries at all. :) (We're chatting now)
100.
▲
by
paulirish
4y ago
There are a couple DevTools features that make this kind of reverse-engineering much easier. Oftentimes, the obfuscation relies on turning strings into functions. You can watch all this happen with: `monitor(eval); monitor(Function)` That&#
101.
▲
by
paulirish
4y ago
My primary codebase ingests data with a mix of seconds, milliseconds, and microseconds. We've held it at bay for a while, but it requires some mental overhead unless we've baked the unit into each variable name. We're likely
102.
▲
by
paulirish
4y ago
_o/
103.
▲
by
paulirish
4y ago
I've also spent time profiling shell startup and found conda's init wasn't fast. (And that's consistent in fish shell, tol) Your found solution is elegant; I'll adopt it. nvm and rvm both have initializations have
104.
▲
by
paulirish
4y ago
Hey dude. Hijacking this thread cuz I cannot reply on https://news.ycombinator.com/item?id=32804400 any longer. ;) Good call on Sour Grapes though. I had thought you meant that one. I also reallllly enjoyed it!
105.
▲
by
paulirish
4y ago
PSA: You can email support@github to ask them to "detach my repo as a fork", in case the repo has matured so much it shouldn't have the "forked from …" treatment.
106.
▲
by
paulirish
4y ago
In the 90s, I bought a Brother word processor machine from a yard sale and I used it for journaling in high school years. It saved to a 3.5" floppy (non-HD?), which I've kept. About a decade ago I was hoping to recover the data. I
107.
▲
by
paulirish
4y ago
FYI: The internet calls Corked a mockumentary.
108.
▲
by
paulirish
4y ago
A more minimal demo: https://simpl.info/mediacapture/ (Everything remains local) AFAIK, this feature is mobile only.
109.
▲
by
paulirish
4y ago
Speaking as the TL of Lighthouse and PageSpeed, I can comfortably say that adding complexity is antithetical to our goal. Quality UX and a reliably performant web is what we want for all users. Ideally, folks would use a thinner stack with
110.
▲
by
paulirish
4y ago
You improved the speed of something. It took 430ms before and now just 160ms. But how do you quantify that? https://how-much-faster.glitch.me/ gives you a few options for how to word things.
111.
▲
by
paulirish
4y ago
An interesting convention that ~started with Firebug was the use of angle brackets in the DOM/Elements view. (eg a DIV element is shown as `<div>`). HTML, as a text format, uses angle brackets to denote tags. But DOM is an in-mem
112.
▲
by
paulirish
4y ago
`tmux -CC` is the best tmux experience I've seen, and it completely resolves the clipboard issues. Depends on terminal support.... But worth it: it's a seamless experience. https://iterm2.com/documentation-tmux-in
113.
▲
by
paulirish
4y ago
I don't know what you're measuring (onload?), but it's not giving you enough precision to make a conclusion about the performance of the HTML parser. If you profile the page w/ devtools Performance panel, you'll se
114.
▲
by
paulirish
5y ago
perf is all about making loading fast, scrolling & animations smooth, and interactions responsive. The classic RAIL model captures the scope of perf well. perf and speed are synonyms. CLS is a bit of a loner as there really aren'
115.
▲
by
paulirish
5y ago
Within the webperf folks at Google, we've certainly debated if CLS is a performance metric. The loose consensus is that it's not... it's a predictability and UX metric. Also "Core Web Vitals" is deliberately not sc
116.
▲
by
paulirish
5y ago
The Chrome engineer who maintains the MTHML work wrote up a comprehensive doc on the modifications on the MHTML spec (RFC 2557) that are implemented: https://docs.google.com/document/d/1FvmYUC0S0BkdkR7wZsg0hLdK...
117.
▲
by
paulirish
5y ago
Yup, you're very right about the doctype avoiding quirks mode. That's the primary reason for it.
118.
▲
by
paulirish
5y ago
In CSS, the hand cursor is called a 'pointer' cursor, so I think that's what was intended. For anyone who hasn't internalized this, including the app's users, I imagine this is quite confusing. :) IIUC 'regular
119.
▲
by
paulirish
5y ago
LCH [1] is quite similar [2] to HSLuv and already shipped as a CSS color function in Safari (and soon in Chromium). [1] https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-... [2] https://news.y
120.
▲
by
paulirish
5y ago
seems broken? i see CORS problems with loading model.json in both Chrome and Safari.
More ›