prev pMAGI2024-02-09
Fix minor bugs in PluralViewpoints
OPG Image pMAGI-2024-02-06
nishio Wait, in the first place, in this view, I think the appearance of the text in a monospace font and line breaks without considering word breaks or hyphenation is sufficient. I guess... then there is no need to get the width.
In the end, which technology choice is better depends on the unspoken requirement specification of "how you expect it to look like.
nishio Until 5 minutes ago, I was thinking "I can't get the width, so it's impossible to make my own line breaks, Sharp was the wrong choice and I'll choose Puppeteer"
d/acc support pMAGI2024-02-09
nishio Unlocking Achievements
AI generated code for infinite loop access to Firestore to use up Quota
nishio And you've done this twice.
nishio Ahhh!
nishio Bug that the acquired data itself is in the dependency of useEffect and is reacquired as soon as the acquisition is finished.
nishio Oops, the individual pages are still alive in the server-side rendering cache!
nishio Oh, but if you don't fix the bug and deploy again, you'll lose Quota again.
nishio oops, I see, the server side static content generation is Over Quota and the deployments are rubbish, this is a pain in the ass...
nishio I've decided to stop read by security rules and deploy the bugfix version tomorrow after Quota recovers.
Other TODOs
Server-side OGP rendering could be done by ditching the difficult line break process for rendering.
I need to think about what to write in the meta tags and how to process the data differently depending on where it is, but I'm too tired for that today.
TODO
2024-02-14 Bluesky
2024-02-15 In the end, the range of what can be seen depends on the environment, so I don't think it's a good idea to try too hard. I'll just outline the fonts to eliminate the misalignment and be done with it.
This page is auto-translated from /nishio/pMAGI2024-02-13~ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.