Today celebrates a grassroots awareness campaign, Self-Injury Awareness Day, in an attempt to destigmatize self-harm, so that it’s easier for people to seek help. Given the connections between self-harm and depression, this is important.
There are other holidays in the next few days, but we’ll catch them in other years, so I’ll just get right to code.
Picture to Nonogram
Most of the significant changes to Picture to Nonogram have been for administrative purposes. I’ve added the ability to insert an arbitrary footer to the puzzle so that I can easily link to the archive page, and I’ve uploaded a version of the nightly script that I use to maintain the daily puzzles.
Other changes were minor, such as changing the pointer when mousing over the cells, deleting the original image (it’s encoded into the page), and I’ve set the HTML header code to make sure that browsers don’t complain.
I’ve returned to Miniboost, too, primarily so that Markdown checkboxes…
* [ ] Unchecked item * [x] Checked item
…are converted to HTML in a way that actually looks like a checkbox, using ✅ and 🔳 emoji, which are much easier to read at a glance. I considered using actual HTML checkboxes, but since it’s not really feasible to have a static, generated webpage update a desktop application, this is fine.
I’m not entirely happy with the Picture to Nonogram script and will probably tweak the Miniboost change to make sure that I don’t trash normal lists. As mentioned last week, I should also fix CPREP to make the Chinese new years line up properly.
Credits: The header image is untitled by an unlisted PxHere photographer, made available under the terms of the Creative Commons CC0 1.0 Universal Public Domain Dedication.
Tags: programming project devjournal