Home Update for the week ending on
Friday, Dec 20, 2019 ⟵ First
← Previous
Next →
Latest ⟶ Comedy aggregator app Contacts I met through VVM convinced me to pursue an idea I’ve wanted to try for a while: a hub for live comedy.I’m going to pilot it in my home region of Western Massachusetts and expand to other cities if it works Current pre-MVP state: [28fzAFJ.webp) Registered a domain name (and a backup one for when people hear me mispronounce it) Stripped down the What Got Done source to create a skeleton architecture Added in 20 local shows coming up in January Implemented aggregation by month Started a reverse performer search (see comedians and all the shows they’re performing in) Attended a stand up show at Iconica (this counts as work now!) and pitched the idea to two comedians Reviewed and published four new articles: Fixed the Admin UI to prevent me from double submitting entries when the server is slow to respond Added functionality to my trainer Web UI to be able to throw out previously trained examples that I no longer wantFor ingredients where the format is totally different from what my ML model recognizes, I used to label them anyway, but now I think it’s better to just omit them from the training data entirely Fixed a bug in ingredient pre-processing Responded to a new customer inquiry Added OpenGraph tags to post so that they render a little more nicely on Twitter This was surprisingly hard! What Got Done goes through two template renderers: the Vue frontend and the Golang backend The Golang backend uses [[.Variable]]
notation so as not to conflict with the Vue frontend’s {{ variable }}
notation. For values that need to be pre-rendered server side, they look like this after Vue builds them <meta property="og:title" content="[[.Title]">
The problem was that Webpack saw content="[[.Title]]"
and stripped the quotes because they’re not necessary if there aren’t space characters. But then when Golang rendered its variables, they’d look like <meta property=og:title content=michael's what Got Done entry>
(unquoted) So I had to tell Webpack to stop doing that, but reaching through Vue’s abstraction layer and tweaking Webpack settings is a huge pain: the fix .The fix itself is simple, but figuring out the syntax to tweak the configuration correctly is hard. Switched to Node.js’ alpine Docker image to speed up my build a little bit (#384 )Tried the same thing with Go but it’s missing too many tools I’d really love to figure out how to trim down my Cypress Docker image, which is currently 715 MB Upgraded all of my Node.js packages (#383 )I don’t have a clean way of doing this. I just did npm install --save [paste in all my dependencies]
and npm install --save-dev [paste in all my devDependencies]
Changed my Docker image to Golang 1.13 so that it matches the AppEngine 1.13 environment (#385 ) Misc Co-hosted the December Indie Hackers Meetup with dtq Good turnout, good cross-pollination with members of the VVM community Home Maintenance Started editing episode #15 ⟵ First
← Previous
Next →
Latest ⟶