Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danburzo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
danburzo
8mo ago
Keep in mind this shows the “live most polluted major city ranking, 11:00–12:00” (EEST time), so rather short-term measurements.
2.
▲
by
danburzo
9mo ago
Thanks! I’ve updated the introduction with some ‘now vs then’ pointers.
3.
▲
by
danburzo
9mo ago
Updated the article with some information on the `Vary` and `No-Vary-Search` headers. I’ve left out the details of how revalidation works with `Vary` since I haven’t been able to reconcile yet what the spec seems to encourage vs what the t
4.
▲
by
danburzo
9mo ago
As many have pointed out here, the nature of caching has changed in the current climate of ubiquitous HTTPS, and I want to add a paragraph or two about it. Is there a good summary somewhere that I could reference? What are the the usual, mo
5.
▲
by
danburzo
9mo ago
Good call! Honestly I just wanted to wrap it up before the holidays, but you’re right that a small section on Vary would have been useful. Things like non-conforming caching services made me punt actual suggestions to a later article, as I
6.
▲
by
danburzo
9mo ago
I’m sorry you didn’t get anything out of it. I wasn’t operating at the edge of caching knowledge, just a person refreshing and clarifying for themselves how caching works. Some things were new to me, and after spending so much time with the
7.
▲
HTTP Caching, a Refresher
(danburzo.ro)
180 points
by
danburzo
9mo ago
|
33 comments
8.
▲
Building boring webthings for lazy maintainers
(overengineer.dev)
4 points
by
danburzo
9mo ago
|
0 comments
9.
▲
Building a Node.js command-line tool
(danburzo.ro)
2 points
by
danburzo
2y ago
|
0 comments
10.
▲
by
danburzo
2y ago
You could probably just ask Sasha Shor: “As one of the creative leads on the id software brand team at Pyro in Texas, I worked on the logo, font, packaging and advertising, as well as the global E3 launches, for Quake, Quake 2, 3 and 4, so
11.
▲
by
danburzo
2y ago
This is exactly my jam! May I suggest adding a distinct style for visited links, so it’s easier to keep track?
12.
▲
by
danburzo
2y ago
With the goal of showing nice, clear images to as many devices as possible, while optimizing the file size, I would: 1. decide if I want to use any of the newer image formats. If so, each needs its own `<source type=''>` in
13.
▲
by
danburzo
2y ago
Thank you for the kind words! I have fun reading specs, but the HTML Standard is denser and organized more… cross-referentially than the average CSS spec, so there was a bit of putting-things-together.
14.
▲
by
danburzo
2y ago
Thank you for the kind words!
15.
▲
by
danburzo
2y ago
I haven’t explicitly mentioned it in the article, but `srcset` + `sizes` is a way to provide dynamic densities for one image format, then multiply that with one `<source>` for each image format: <picture> <source
16.
▲
by
danburzo
2y ago
Oh yeah, definitely something I’ve witnessed and been frustrated by before. Some of it stems from improper use of CSS units [1], and the only real recommendation I have is for people to _test_ for basic things like zooming in and out of the
17.
▲
by
danburzo
2y ago
Yes, a smart server (that does more than serve static image assets) can do the heavy lifting and alleviate some of the HTML markup complexity. It has the `Accept` header as a guide to what image formats the client supports, and with Respons
18.
▲
by
danburzo
2y ago
I haven’t followed Client Hints closely, but a change[1] in RFC 9842 internal drafts “removed specific features to be defined in other specifications”, and the `DPR` header ended up as `Sec-CH-DPR` in the nascent Responsive Images Client Hi
19.
▲
by
danburzo
2y ago
Thank you! I must have picked up the idea from from Matthew Butterick’s “Practical Typography”, but with the symbol drawn rather than as the degrees character, to spare screen reader users from hearing that constantly. https://pr
20.
▲
How to think about HTML responsive images
(danburzo.ro)
201 points
by
danburzo
2y ago
|
45 comments
21.
▲
Show HN: Culori, a comprehensive color library for JavaScript
(culorijs.org)
1 points
by
danburzo
5y ago
|
0 comments
22.
▲
Show HN: Hred, reduce HTML to JSON from the command line
(github.com)
2 points
by
danburzo
6y ago
|
0 comments
23.
▲
Making sense of CSS media query units (in the year 2019)
(dev.to)
1 points
by
danburzo
7y ago
|
0 comments
24.
▲
by
danburzo
8y ago
I’ve recently re-started work on this library after a half-year hiatus — fixing a few bugs and adding more extensive documentation. I’m quite happy with most of the features, but I’m not convinced it’s ready for the first stable release. I
25.
▲
Show HN: Culori – a general-purpose color library for JavaScript
(github.com)
3 points
by
danburzo
8y ago
|
1 comments
26.
▲
by
danburzo
8y ago
Implemented in the latest version :)
27.
▲
by
danburzo
8y ago
I think they're already looking into something similar, either through Electron, or their own wrapper over Chromium. I understand from skimming the resources your linked to that they had reliability issues with Electron, and I can conf
28.
▲
by
danburzo
8y ago
very very cool! thanks for the pointer.
29.
▲
by
danburzo
8y ago
As @cronopios mentions, if you need a bit of flexibility in the output, you need to use a wrapper over Chromium — either Electron, or (the more recent) Puppeteer. Other than that, it runs the article through Readability to extract just the
30.
▲
by
danburzo
8y ago
Hah, yes :) It's more that I haven't figured out what the HTML version should look like, and whether it should be self-contained (images, styles), how to handle web fonts, et cetera
More ›