@enkiv2 @jamey @natecull @alanz After this conversation yesterday, I decided to write up a blog post that has some concrete code examples and a slightly longer but still introductory explanation of what row types are specifically: https://blog.infinitenegativeutility.com/2018/5/structural-types-and-duck-typing
My favorite part of @keweddji's newest blog post about programming (https://blog.infinitenegativeutility.com/2018/5/structural-types-and-duck-typing) is the sample program which is valid Ruby source with duck-typing but can also be statically type-checked by the Crystal compiler.
My second-favorite thing is it's a post about duck typing that uses animals in examples but doesn't mention ducks anywhere.
(+, alcohol mention) Show more
The evening is warm and slightly breezy, I'm eating curry rice and drinking cabernet sauvignon, my porch is surrounded by flowering and very fragrant wisteria, and one of the neighbors has his guitar out and is playing the blues. It's a pretty good Saturday evening.
oh yes also i did some pixels recently
It's easier than you might think to get this working (although right now I've got the framebuffer size hard-coded, and I need to fix that to make it more robust): https://git.gdritter.com/fb-clock/blob/master/src/main.rs
Yesterday I started to set up Plymouth, got bored, and instead wrote my own boot animation by using Rust+Cairo to write directly to the framebuffer until my login manager has started. This is a pretty good example of my problem-solving approach.
OH: "Creating a new font in the course of completing a (non-typographic) project is called 'Knuthing it'."
…it's worth pointing out that this documentation also has to include the following:
1. some pointers about virtualenv
2. a link to the shellcheck bash linter
3. an explanation of a defunct Scala HTTP library
4. a couple of systemd commands
5. some of the details of Jira's REST API
and that's just scratching the surface!
Trying to write some honest documentation for the absolute worst piece of software I have ever written (and which some poor non-me person will soon have to maintain.)
…this MIGHT be the dorkiest thing I've ever done, and I'm an Esperanto-speaking functional programmer and hobbyist tabletop game writer.
My coworkers were having a conversation about whether to use 'semiweekly' instead of certain uses of 'biweekly', so I told them that as a biennial (i.e. a bi millennial) I use the word 'biweekly' for any and all possible meanings due to my firm commitment to bi representation.
Following on from this https://mastodon.social/@keweddji/99007705337810759 I have started working on putting together an entire tabletop game where all character-building and item management is done with similar 4"×1" cards. Gonna run a test game pretty soon. https://mastodon.social/media/IRX2NmhdLjxDSvcfbBM
Tabletop game idea: instead of rolling dice, you post two selfies, one for success and one for failure. The outcome is whichever gets the most favs. If it gets retoots, it's a crit. Each skill is a different set of clothes you wear in the selfies.