10 ms·
Show HN: Live-updating version of the 'What a week, huh?' meme
As a fun evening project, I made a live-updating version of the 'What a week, huh?' meme (based on a panel from The Adventures of Tintin comics [1]).
There's a page for every timeframe:
- 'What a day': https://tintin.dlazaro.ca/day https://tintin.dlazaro.ca/day
- 'What a week': https://tintin.dlazaro.ca/week https://tintin.dlazaro.ca/week
- 'What a month': https://tintin.dlazaro.ca/month https://tintin.dlazaro.ca/month
- 'What a year': https://tintin.dlazaro.ca/year https://tintin.dlazaro.ca/year
Current time is determined by a Cloudflare Worker using the request IP (not logged or stored). No JavaScript is sent to the browser.
[1] https://knowyourmeme.com/memes/what-a-week-huh https://knowyourmeme.com/memes/what-a-week-huh
- rcarmo 2y agoThis is the meme we needed.
- derektank 2y agoThe panel takes on an almost ominous tone when you're nearing the end of your day and Tintin is right there to tell you it's nearly midnight
- DC-3 2y agoWhat a life, huh? Captain, you're 84!
- kasperni 2y agoLove it
- Secretmapper 2y agoI thought it would be a hotlinkable image that updates.
- cprecioso 2y agoAs a tip, you can use the `<meta http-equiv="Refresh">` 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/meta#refresh https://developer.mozilla.org/en-US/docs/Web/HTML/Element/me...
- SilverSlash 2y agoTIL
- 9dev 2y agoDoes that mean I can also send the „Refresh“ http header to do that?
- greyface- 2y agoYes. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Refresh https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Re... In a similar vein, you can also use `Link: foo.css; rel=stylesheet` instead of `<link href="foo.css" rel="stylesheet" />` to specify stylesheets. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Li...
- notpushkin 2y agoOnly works in Firefox, sadly. But you can do some really weird stuff with it, like https://www.5snb.club/pages/contentlesshtml/ https://www.5snb.club/pages/contentlesshtml/ (https://news.ycombinator.com/item?id=42234837 https://news.ycombinator.com/item?id=42234837)
- panki27 2y agoW3C has deprecated this for a long time now: https://www.w3.org/TR/WCAG10-HTML-TECHS/#meta-element https://www.w3.org/TR/WCAG10-HTML-TECHS/#meta-element
- 2y ago
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- iofusion 2y ago:)
- cryptozeus 2y agolove it...fun!
- cryptozeus 2y agoadd your home page link somewhere
- HelloUsername 2y agoCan't "What a ", ", huh?" and "Captain, it's " be hard-coded / image? Also, nearing the end of the day/week/month/year, the meme doesn't really makes sense anymore..
- jraph 2y ago> Can't "What a ", ", huh?" and "Captain, it's " be hard-coded / image? That would be more work with the risk of things being misplaced because you'd need to figure out alignment. The font will also not be rendered the same way, adding some small imperfections. The SVG text is also more accessible. I believe sending the text as an SVG text is a vastly superior solution in every way :-)
- FearNotDaniel 2y ago> 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 preferred TZ for 'local time', just like Accept-Language (which sadly quite a few websites ignore and show me German-language content anyway just because my location is in a German-speaking country). Still, great work OP :-) now can anyone tell me why Tintin is trending at the moment? Did I miss something? All my feeds seem to be suddenly full of Tintin content right now.
- RicoElectrico 2y ago> 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.
- lgas 2y agoIt could be opt-out/opt-in and then all six users that care about privacy could do as they wished.
- timlyo 2y agoSadly that almost makes things worse, if it's off then it's a data point that helps to id privacy conscious people.
- oneeyedpigeon 2y agoJust use a default (GMT) for people who don't want to disclose it.
- account42 2y ago
- hkt 2y agoI pasted this into slack every week for years, every Wednesday. People used to ask if I was OK if I forgot.
- Cthulhu_ 2y agoI've got two months worth of wednesday videos [0] set up in a schedule :D [0] https://www.youtube.com/watch?v=9K4-jllrPrE&list=PLy3-VH7qrUZ5IVq_lISnoccVIYZCMvi-8 https://www.youtube.com/watch?v=9K4-jllrPrE&list=PLy3-VH7qrU...
- cryptonym 2y agoNot to be nitpicking but Cloudflare will log and store request metadata, including user IP.
- dnlzro 2y agoValid, not nitpicking!
- Svip 2y agoCan't believe it took me this long to notice, the meme itself is an altered image of the original comic. Obviously, the speech bobbles are too clean compared to the rest of the comic, but I also notice now that they are a poor imitation of Hergé's distinct speech bobbles.[0] [0] https://i.kym-cdn.com/photos/images/original/002/125/139/0ff.jpg https://i.kym-cdn.com/photos/images/original/002/125/139/0ff...
- dnlzro 2y agoI am debating making a better version where the bubbles are appropriately sized and look nicer and the background is smoother, but I thought it might take away the ‘memeyness’ of it. I just went with the original background made by the person who seemingly invented the meme format on Tumblr: https://www.tumblr.com/incorrecttintin/162088281738 https://www.tumblr.com/incorrecttintin/162088281738
- berkes 2y agoHergé took a lot of effort to get details right. Not just the drawings¹, but also the layout and lettering of the speech bubbles. I own all TinTin comics in Dutch (some old collectors items) and a very few in French. Dutch is often a lot longer than French, and sometimes shorter - it doesn't use the same amount of letters, let alone the same width of them. The French is ever slightly more pleasing, but noticable so. The English translation you linked to, is even ugly in some places, it lacks the balance and spacing that Hergé often meticulously and deliberately used to convey extra meaning or balance. ¹ From The Blue Lotus on, Hergé devoted far more attention to accuracy. Which is all the more impressive because he then distills all that accuracy to the most simple lines. I am a fan. And yes, there is certainly controversy, his early work is clearly very racist and colonial - which shows the ideas of the times they were drawn in clearly.
- inatreecrown2 2y agoYes! this is what the internet was made for. Good job!
- azaaaz 2y agoThanks for this haha :) I would love to it translated in other languages (this meme is international), especially in French, Hergé[0]'s original language. It may be a good idea to open-source it ! [0] https://en.wikipedia.org/wiki/Herg%c3%a9 https://en.wikipedia.org/wiki/Herg%c3%a9
- frizlab 2y agoTangentially related, in English (and most languages) there are usually no spaces (or non-breaking spaces, which is the correct space before a punctuation marks in French) before the exclamation point (and interrogation point, semicolon and colon).
- guilbep 2y agoCan someone vectorize the image please ? :p
- gvx 2y agoWhat a fun little project! I thought it was going to be the 30 Rock one!
- alabhyajindal 2y agoGreat project! Congrats!
- pahbloo 2y agoAwesome idea! Just a thought, but a century version would be spot-on!
- dnlzro 2y agoThanks for the suggestion, will do! (I’ll also be open-sourcing it, as I probably should’ve done before posting)
- MHM5000 2y agofun! open source it, we can add more calendars and languages :D
- apexalpha 2y agoCould you perhaps make one for the current US President? Seem fitting for the theme.
- Cthulhu_ 2y ago"What a presidency, huh?" "Captain, it's week 5"
- latedog 2y agoIDK why, but this reminds me of earlier days of internet, when it was full of random, non-usable but funny content like this. Best things often don't make that much sense.
- jraph 2y agoA form of art :-)
- cprecioso 2y agoI miss StumbleUpon
- arrowsmith 2y agoWait, StumbleUpon shut down? I had no idea. That's sad, that site was great.
- Tijdreiziger 2y agoThere’s this: https://news.ycombinator.com/item?id=42938061 https://news.ycombinator.com/item?id=42938061 (no affiliation)
- 1121redblackgo 2y agoAnd this: https://cloudhiker.net/ https://cloudhiker.net/ (also no affiliation)
- lippihom 2y agoAhhh - golden age of internet fun. Looks like they sold the domain and/or pivoted a bit. Feel like a modern version would be relatively easy to monetize if someone were to ramp it up again.
- matteason 2y agoI've noticed https://clicktheredbutton.com https://clicktheredbutton.com quite a lot in my referrer analytics. I don't know if it's as featureful as StumbleUpon was (I never used it) but it seems to have some fun sites
- zoklet-enjoyer 2y agoI've been having one of those weeks. This is hilarious. Thank you.
- cyberlimerence 2y agoI was wondering why the caption was empty, but it's because of my Dark Reader extension inverting the text color to white, without touching the box color. Just a heads up.
- dnlzro 2y agoAh, that’s too bad. I do plan to update it so that the speech bubbles are SVG objects instead of embedded in the image, which should make it dark mode-friendly.
- deleted 2y ago[deleted]
- tcascais 2y agoOmg I loved it so much. Thanks :)
- isoprophlex 2y agoThis is absolutely fantastic, well done! If you're not done playing with it, you can make it dynamic so it's always accurate, haha! Show the smallest "uncompleted" unit of time available with a fallback for December 31st evenings where tintin simply says nothing... At night: select the week. Also end of the week: select the month. Also end of the month: select the year. Also end of the year: fallback.
- dnlzro 2y agoGreat suggestion, and thank you!
- kemayo 2y agoThat's a good idea -- it'd preserve the intent of the meme, which is to always be conveying "it has not been as long as it feels like based on events". As-is, if I visit and see "what a day / it's Friday", that's kinda missing the point.
- ritcgab 2y agoAt the end of the year: select the decade. Dec 31 2030 will be monumental.
- unoti 2y agoWhat a century it's been...
- chichumichu 2y agoI woke up and wanted to make this for a tuesday.Thanks.
- reverendsteveii 2y agoI like the way the humor of this joke travels along a spectrum from relatability to absurdity as time cycles. Using the weekly one as an example, I think it achieves peak relatability on a wednesday, because that's the best intersection of being deep enough into the week to feel like its been a long one but also not so far into the week that you're seeing the light at the end of the tunnel and feeling hopeful. Peak absurdity for most people would likely be the weekend. I'll not be hearing arguments for Thursday, as I could never get the hang of Thursday.
- gglanzani 2y agoI actually said “have a good weekend” to the baker last week on Monday, so, for me, anything until Wednesday checks out
- brendanfinan 2y ago- 'What A Life': https://www.youtube.com/watch?v=W5yUmmgYCa0 https://www.youtube.com/watch?v=W5yUmmgYCa0
- khaneja 2y agoI would love an iOS version of this to put a widget on my phone!
- zelias 2y agofeature request: 30 Rock mode source: https://i.redd.it/to3v225w8nlz.jpg https://i.redd.it/to3v225w8nlz.jpg
- Pxtl 2y agoI honestly expected OP's "what a week" meme to be Liz Lemon until I saw tintin in the URL.
- Ayesh 2y agoIf only HTML had a locale-aware <time> element with custom date formatting :(
- fsckboy 2y ago>[1] https://knowyourmeme.com/memes/what-a-week-huh https://knowyourmeme.com/memes/what-a-week-huh >"In the episode, the character Liz Lemon, portrayed by Tina Fey, complains to character Jack Donaghy, portrayed by Alec Baldwin, about having finished a hard week of work, with Donaghey reminding her that it is still Wednesday" I don't know any context beyond what's in this clip of Liz Lemon saying it to Jack https://www.youtube.com/watch?v=1z3uGyBM_1c https://www.youtube.com/watch?v=1z3uGyBM_1c but "what a week" by itself does not indicate that the week is over, you can say "what a week" in the middle of a week; it would imply more the multiplicity of things that have already gone wrong, and "it's Wednesday" as a response has the sense "and it's only Wednesday, more things can still happen"
- dylan604 2y agoIn writing classes, adding all of that unnecessary dialog is considered insulting to the audience. If you are trying to write a joke for the lowest denominator audience member, then you will alienate a larger portion of the audience. If every single joke needed that much additional context, it's not a funny joke. If you're going to require the writers to add that much dialog, you might as well ask them to add a laugh track
- Ylpertnodi 2y agoTruth be told, that's all the one of the differences between American and British comedy. Slapstick is cool, but irony needs to be understood.
- dylan604 2y ago'Murican sitcoms seem primarily to be written for lowest common denominator with laugh track and all. Occasionally, you get a show written at a smarter level where most people totally miss the comedy, but they tend to last 1-2 seasons at most because of it. So I have a rule on streaming content that if it is a network sitcom with lots of seasons, I'm not going to watch it. *Just to mention, I grew up on BBC in America on my local PBS station with shows like Red Dwarf, Black Adder, Are You Being Served, Keeping Up Appearances, Father Ted, etc. That probably explains my dislike for sitcoms
- kaboomshebang 2y agoLove it
- lambdaba 2y agoCute, but I find it funny to reach for Astro, a framework with over 400 dependencies, just for this. I'm sure it's super convenient, so maybe it's more of a principled take.
- dnlzro 2y agoI chose it because it’s what I'm used to and because it makes it really easy to do SSR (I wanted no JS to be sent to the client).
- wodenokoto 2y agoHow does the joke play out on Saturday or Sunday? “Captain, it’s Sunday” … I don’t get it.
- throwaway314155 2y agoeven Thursday/Friday the joke really no longer lands. Am I missing something?
- Kwpolska 2y ago> Current time is determined by a Cloudflare Worker using the request IP (not logged or stored). No JavaScript is sent to the browser. That’s a strange design. If you sent just ~10 lines of JavaScript to the browser, you could achieve an actually live-updating version (i.e. not only on page refresh), and you could use the actual time zone of the user instead of assuming it based on GeoIP. Your page could exist with zero server-side code.
- rimunroe 2y agoThe xkcd Now comic[1] is also done server-side. There's an outer image showing day/night cycles which never changes and the part with the map and all the labels is rotated within this. The server simply has a precomputed set of images for 15 minute offsets, and chooses whichever to render based on the current UTC time. [1] https://xkcd.com/now https://xkcd.com/now
- deleted 2y ago[deleted]
- dnlzro 2y agoSource code: https://github.com/dnlzro/tintin https://github.com/dnlzro/tintin
- hansjorg 2y agoThis is a "fun" idea, but I'm a bit troubled by the fact that you've chosen to release this right now. Are you implying something? Not that subtle, truth be told. I'm not American, but hopefully there are someone here who knows the proper X-handle or other official authority to report this to.
- SergeAx 2y agoThis is actually an interesting "Hello, world" for Astro. Nitpick: /anyotheruri should return 404, no?
- calini 2y agoCan this be encoded as a JPEG for easily saving it on mobile?