Live data from Hacker News

Show HN: Live-updating version of the 'What a week, huh?' meme

tintin.dlazaro.ca

41–50 of 162 posts

Re: Show HN: Live-updating version of the 'What a week, huh?' meme

#44
post #26
post #23

Earlier quoted context omitted.

You could also compute the speech bubbles on the client's side...

Yes, but it seems > No JavaScript is sent to the browser. Is a design goal. I doubt it is possible without JS. Especially inside SVG.

(Thinking aloud) How I'd approach that:

- you could render the page using puppeteer server-side, getClientRect/calc and apply the dimensions to the path, then spit back the markup, OR

- you could use HTML + CSS to render the bubbles

Re: Show HN: Live-updating version of the 'What a week, huh?' meme

#45

As a tip, you can use the ` ` tag [1] to make the browser automatically refresh after N seconds and keep the tab always up to date. [1]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/me...

W3C has deprecated this for a long time now: https://www.w3.org/TR/WCAG10-HTML-TECHS/#meta-element

Re: Show HN: Live-updating version of the 'What a week, huh?' meme

#47
post #33

> Current time is determined by a Cloudflare Worker using the request IP I was scratching my head for a while wondering why you need an IP address to determine the current time… I’m inferring this means geo-locating the IP to determine the client’s time zone and then using that to convert server time to the user’s local time, right? Makes me think, it would be nice if there was a standard request header to specify pr…

> “why Tintin is trending at the moment” The Tintin character entered public domain in many countries in January 2025. I think this “What a week” image is from a 1930 album (“The Crab with the Golden Claws”), so it’s part of the public domain now and can legally be used for things like this meme generator. The situation in EU is different though. Hergé died in 1983, and I think his entire oeuvre has 75 years of prote…

> The Tintin character entered public domain in many countries in January 2025.

Many countries or only US (which uses the publication date)? Considering that the original publication is in Belgium and that almost all countries use the author's death as the benchmark, I am not so sure (even with the rule of the shorter term).

Re: Show HN: Live-updating version of the 'What a week, huh?' meme

#48

> Current time is determined by a Cloudflare Worker using the request IP I was scratching my head for a while wondering why you need an IP address to determine the current time… I’m inferring this means geo-locating the IP to determine the client’s time zone and then using that to convert server time to the user’s local time, right? Makes me think, it would be nice if there was a standard request header to specify pr…

> Makes me think, it would be nice if there was a standard request header to specify preferred TZ for 'local time', That's a another data point for fingerprinting, sadly. Not that Chrome would care, but Firefox and Safari teams do, I guess.

It’s available on the client side where most of the fingerprinting happens using JS.

And I feel like this is a lost cause at this point. Just assign every one of us a unique online ID and be done with it.

Re: Show HN: Live-updating version of the 'What a week, huh?' meme

#49
post #26
post #23

Earlier quoted context omitted.

You could also compute the speech bubbles on the client's side...

Yes, but it seems > No JavaScript is sent to the browser. Is a design goal. I doubt it is possible without JS. Especially inside SVG.

Yes, that was a design goal!

It is probably technically possible to have the time continue to update with just CSS on the client (based on [1]), but the initial time still has to be set server-side.

[1] https://css-tricks.com/of-course-we-can-make-a-css-only-cloc...

Post reply on HN