Today marks the hundred-and-secondth anniversary of the so-called Bisbee Deportation, a horrifying extrajudicial capture and exile of a thousand striking Arizona mine workers. A mob of two thousand deputized vigilantes decided that the best solution to a labor strike was to kidnap the laborers and “deport them” to New Mexico, packing them onto cattle cars and sending them sixteen hours away without food or water.
It’s hard to segue out of the really terrible events…but (a-ha) speaking of segueing…
It took some tweaking to make sure that the workflow always makes sense, but Fýlakas Onomáton now reasonably handles device activation. Apps can request a new five-character code and poll for a response, while the user can fill the code into the
/activate page. Once the user has finished, the response includes an API key.
If the user spends too much time activating the device, the device is told to request a new code.
I may adjust this more as I integrate, but for now, Fýlakas Onomáton is almost feature-complete. I have one more piece, that I’ll talk about at the end of the post.
I finally took a look at what happens when (the old version of) Boost Note’s “snippet notes” get loaded: They crash Miniboost. So, since I assume that I’m the only person who seriously uses Miniboost and I don’t have any snippet notes that aren’t for testing, the code just leaves them out of the index.
If you happen to use Miniboost and need snippet notes, please create an issue on the repository. I can’t guarantee that I’ll do the work involved, or even that the GUI toolkit is up to the task, but I’ll at least take it into consideration.
Another change is to the page-refresh code. I had been using a standard HTML refresh,
That is, if you click the following link to the top of this section, you’ll notice
Now that Fýlakas Onomáton is basically functional—if hideous—this week means going back to Doritís Onomáton to add the validation code from its side, to get, store, and use the API key. And I’ll also need to add one last piece to Fýlakas Onomáton, blocking name-API access with an invalid API key.
I’ll also, of course, finally add some CSS to Fýlakas Onomáton, so that it doesn’t look like a complete mess.
If there’s any time remaining after that—or if I need a change of pace—the aforementioned Miniboost experiments look decent, so I may add something new there, too. I’d actually also like to improve the temporary file names, which will be trivial. Neither is critical, but the latter issue bugs me and the experiment is something that seems useful for some particularly long notes that I have.
Credits: The header image is Bisbee Deportation by an uncredited photographer, in the public domain due to a long-expired copyright.
Tags: programming project devjournal
Sign up for My Newsletter!
Get monthly (or thereabouts) notifications on Entropy Arbitrage
posts, additional reading of interest, random thoughts, and previews
of upcoming projects, delivered right to your inbox. I won’t
share your information or use it for anything else.
You can view previous issues.
If you disable trackers (like I do), this form won’t work, so you’ll need to sign up on Mailchimp's site. Sorry!