Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zebracanevra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
zebracanevra
4y ago
You're doing something wrong. I just tested now. Preact 8.5.0 is 3.2kb minified+brotlied. Preact 10.8.2 (latest) is 3.7kb. That's a very small increase.
62.
▲
by
zebracanevra
4y ago
Yes, very true. I think sometimes you may have to do extra work like calculating hashes, but that can likely be taken from the B2 response if it's compatible with R2 or calculated beforehand. Couple that with the low latency KV and it
63.
▲
by
zebracanevra
4y ago
I wonder how feasible it would be to keep cold assets on Backblaze B2 and automatically move them to R2 if they get hot enough. Better yet, seeing as how you get free transfers between Backblaze and Cloudflare, I wonder if the 10ms cpu limi
64.
▲
by
zebracanevra
4y ago
I don't understand this criticism in relation with this new "black and white" font. All (non-emoji) fonts are monochrome , and the designer will change the colour as they see fit. Most emoji fonts OTOH were always the same c
65.
▲
by
zebracanevra
4y ago
99% of the time you'll be storing promises in order to await on them in the same async method. Those other 1% of times make for quite intuitive solutions, I think. For example, a cache. Most caches are request => already finished re
66.
▲
by
zebracanevra
4y ago
If you're doing nothing in between your async calls, using .then/.catch might be simpler. As soon as you need to introduce local variables and complex control structures, not having shared closures between your .then methods becom
67.
▲
by
zebracanevra
5y ago
it looks like this could have been implemented in any native language I use this 30 line bash script, with a dependency on jq. It works for me, and is pretty much instant. https://pastebin.com/raw/cnDk9zs4
68.
▲
by
zebracanevra
5y ago
In the past, tools were slow, so everyone was forced to use "watch" modes in their tools, so startup time didn't matter much. Nowadays, we have esbuild and a whole suite of other tools that run in <10ms, so a slow startup
69.
▲
by
zebracanevra
5y ago
Never knew this protocol existed! And as usual, Nirsoft have a tool: https://www.nirsoft.net/utils/control_my_monitor.html On my monitor I can even adjust the dark boost settings too (0xEF on the VG279QM)
70.
▲
by
zebracanevra
5y ago
CT250MX500SSD1 is 250gb yet the report shows it as 500gb?
71.
▲
by
zebracanevra
5y ago
Impossible to play on a 280hz monitor. I see you're using Date.now() to calculate the delta. Instead, use the first argument given to you by requestAnimationFrame for higher resolution, which is a DOMHighResTimeStamp[0] [0] https:
72.
▲
by
zebracanevra
5y ago
On modern Windows, the system has a volume, and then each app also has a slider in the mixer settings. Most programs, for example Spotify, then provide another slider on top of that. A notable outlier is foobar2000. When you change the vo
73.
▲
by
zebracanevra
5y ago
Is there any chance to break spec and allow manual redirect handling? the fetch API makes a lot of sense in a browser, but imo this is a pretty crucial feature that undici's implementation lacks. [0] Deno decided to break spec [1][2] s
74.
▲
by
zebracanevra
5y ago
Google claims that untargeted ads bring in 52% of the revenue of targeted ads. https://www.blog.google/products/ads/next-steps-transparency... IMO, untargeted random ads are just spam because they aren't rele
75.
▲
by
zebracanevra
5y ago
I hope proposals like this are eventually accepted. I think it's safe to assume that we are trending towards: people caring more about privacy, browser fingerprinting getting harder, VPNs being standard (e.g. thanks to Apple), and thir
76.
▲
by
zebracanevra
5y ago
For that use case, maybe try https://www.jsdocs.io/ ? Works well in my tests. Here's some discussion from when it was last posted: https://news.ycombinator.com/item?id=27107832
77.
▲
by
zebracanevra
5y ago
If a library requires pyparsing>=3 and another library requests pyparsing<3, that’s the end, you are out of business. This article is very much only applicable to Python and other package managers that don't scope depende
78.
▲
by
zebracanevra
5y ago
Sorry, but English speaking countries that use DMY simply say "4th of January", and it in no way doesn't make sense.
79.
▲
by
zebracanevra
5y ago
I use the Like button because it adds the video into the private "Liked" playlist. Handy, one click, good workflow.
80.
▲
by
zebracanevra
5y ago
FWIW, VS Code has "inlay hints" added in August 2021 which provide one solution to this problem: https://i.imgur.com/1NUmYON.png https://code.visualstudio.com/updates/v1_60#_inlay-hints-for...
81.
▲
by
zebracanevra
5y ago
equating it to be merely like HTTPS in terms of publishers giving up control over their content. Where did you read that? I was under the impression that SXG is more similar to things like IPFS, where you can have content signed by its or
82.
▲
by
zebracanevra
5y ago
Netlify's caching for dynamic data has been broken for a long time. For example, Functions cache on the path only, excluding any query strings. This was reported in May 2020 [0], still unfixed. This means you cannot have any content
83.
▲
by
zebracanevra
5y ago
If you're having trouble with node_modules size, do yourself a favour and try PNPM[0]. It's another npm/yarn. It installs each npm module into a local store first, then creates a bunch of hardlinks and symlinks in your projec
84.
▲
by
zebracanevra
5y ago
I find that the codes will in fact scan if you use a third party QR app. Luckily, the URL will open directly to the Service NSW app's sign in page, so whoever was in charge of that got something right. I can't wait to see how drea
85.
▲
by
zebracanevra
5y ago
GBoard allows you to remove words, and the gesture is very simple. For example, "pepsi" is corrected to "Pepsi" but who wants that. So, just type "pepsi", and "Pepsi"'ll appear in the bar above t
86.
▲
by
zebracanevra
5y ago
I was getting multiple emails like this per day a couple of weeks ago: https://i.imgur.com/m8nmpTr.png But they seem to have stopped... for now. It was quite aggravating.
87.
▲
by
zebracanevra
5y ago
but this is an image resizing service, right? shouldn't you be uploading the highest quality original source? I would've thought the workflow for these would be to upload a high quality source, and then the service creates lower q
88.
▲
by
zebracanevra
5y ago
these user agent values leak data about your system, why would you want them to be sent unencrypted? loads and loads of new web APIs are moving to HTTPS only. this is not a Google specific thing. It's worth to note that Mozilla's
89.
▲
by
zebracanevra
5y ago
See https://lists.webkit.org/pipermail/webkit-dev/2021-May/03184... and https://lists.webkit.org/pipermail/webkit-dev/2021-May/03185... > image format support depends on OS
90.
▲
by
zebracanevra
5y ago
See https://github.com/libjxl/libjxl/pull/466 for more details. As far as I understand it, the synthetic mode compresses better for (as you can guess) synthetic content. So if you're encoding a mixed con
More ›