Developer Journal, Stonewall Uprising (Belated)
Yesterday, of course, was the anniversary of the Stonewall uprising. Sometimes, it almost seems like American history should be built around protests, uprisings, and riots, with the conditions leading up to them more instructive as to where we are and how we got here than the relative non-stories of the War of 1812 or the Battle of San Juan Hill.
Entropy Arbitrage
I tweaked the code that generates the list of posts updating a given post. I also added a panel to encourage visitors to sign up for the mailing list. Speaking of whichâŚ
Mailing List
This is getting closer. The first edition may need to be sent out manually (though I still have two days to work out the remaining kinks), but it looks increasingly like Iâll be able to create a newsletter programmatically. That means that I should be able to include anything I saved in my RSS feed, bookmarks, posts from this blog, and maybe content from other data sources. Thatâs good, because I absolutely do not want to manually scrape through those sources every month to assemble a template.
Youâll also note a semi-functioning sign-up form over to the right, if youâre not reading this from the RSS feed or the repository. I call it âsemi-functioning,â because it doesnât work when browser-tracking is blocked. So, it may need to be rewritten using Mailchimpâs API.
Either way, be sure to sign up, especially if you want a monthly round-up of the posts here, what Iâve been reading, and the occasional project preview.
VS Code Rat
Similar to last weekâs URL Rat, VS Code Rat is my new experimental project to learn how Visual Studio Code extensions work. Using the same idea, it will send the path name of every viewed file to a remote URL.
Again, itâs a terrible idea as a standalone project, but I have some ideas of what the information from those two extensions might suggest. Either way, it doesnât do anything, yet, but expect a post about writing an extension for Visual Studio Code this Wednesday or next.
Uxuyu
Work has begun on the thread that will scrape the different user registries Iâve foundâsix, so far. Right now, theyâre hard-coded, but should probably be stored in some configuration file for easier updates. They donât make much sense in the user configuration, though, so Iâll need to investigate that.
In any case, using regular expressions, itâs easy enough to parse the two (or three, depending on how you count) types of registries, making it easy to bundle the retrieved users up to pass to the account worker thread. And I already have the infrastructure set up to update the database with a set of new users, making that similarly easy.
Mixed in there, I also needed to squash a bunch of bugs. Some, Iâm not even sure where they came from.
Next
It looks like Uxuyu might be close to an official release, once I work out the kinks in using the registries.
I also want to add handle-lookups, though, so thatâon the occasions I send a message to someone specific, something I need to work on doing moreâI donât need to remember the fussy â@<handle url>
â syntax and look up the userâs URL. Ideally, if someone types â@jcolag
,â they shouldnât need to know or even see my feedâs URL at all.
It might also make sense to add debugging commands to the entry field, so that it can be possible to auto-update registries and refresh all feeds, and maybe change some configuration options. That might also solve the follow/unfollow problem.
Credits: The header image isâprobably obviouslyâthe Stonewall Inn, 1969 by Diana Davies with the New York Public Library, made available under the terms of the Creative Commons Attribution-Share Alike 3.0 Unported license.
By commenting, you agree to follow the blog's Code of Conduct and that your comment is released under the same license as the rest of the blog.
Tags: programming project devjournal uxuyu