These past couple of weeks I've been learning Ruby, a language with a design philosophy similar to Python: high-level code that's easy to read and write. I started with the classic beginner's text, Why's (Poignant) Guide to Ruby, a gonzo adventure through the language, but tapped out partway through Chapter …
Articles tagged with programming
-
-
immersing myself in a sea of data
Another area in which I wanted to improve my understanding was system design, as I kept flubbing interviews on that topic. I considered jumping straight into Alex Xu's System Design Interview (vol. 1 or 2) but was convinced to instead tackle a classic text, Martin Kleppman's Designing Data-Intensive Applications. Published …
-
who engineers a browser?
After my attempt to write a digital breadboard, I turned back to job hunting for a while. But that quickly paled and I looked around for a project that would keep my fingers typing and my commits flowing. I stumbled across a group of folks at RC working their way …
-
building a digital breadboard
Earlier this year I was laid off from my job. As I wandered through a morass of job listings and LeetCode, I wanted to write something that demonstrated my React skills more extensively than my rc-niceties portfolio project. I also wanted an excuse to try out Typescript, as I had …
-
deploying with github actions
Last week I updated my blog for the first time in a long time - so long that I had forgotten exactly how to run and build it. (
pelican -rl content
is the right answer for my current directory structure.) Once I figured that out, I wrote my post and figured … -
the joy of react
I've recently started some PD at work with The Joy of React, a course by React maven Josh Comeau. It promises to teach me not just the basics but also some "happy practices" (hedging on "best practices") that I'm expected to bring back to my daily practice. Several of my …
-
rc-niceties
A frequent comment about the Recurse Center is "everyone here is so nice!" Perhaps due to careful admissions, or the social rules, RC participants strive to keep it a supportive community where people are open to others: working together, communicating carefully, and respecting each other. One mechanism for building the …
-
Outreachy
Last month I applied to Outreachy, a paid internship for non-students from underrepresented groups in technology. Instead of interviewing based on your resume, part of the application involves making a contribution to the open source project you're hoping to work for. Since the internship employers tend to be big names …
-
Cost of Drinking
When I started at the Recurse Center, I had several vague ideas of projects I wanted to work on. A throwaway comment on the price of beer in Budapest inspired me to see if beer could be used as a cost of living metric. The first maps I found polled …
-
syntax highlighting & feeds
I haven't written much about the process of putting this blog together because I want it to speak for itself, but I wanted to write a short note about two features I added today. One was syntax highlighting, using pygment's 'friendly' theme. (Thanks to this gallery for showing off the …
-
PageRanking RC Zulip
Over the past couple of weeks, I and some colleagues in the Mastering Large Datasets with Python group have been practicing our new ability to scrape and process large amount of data with Spark, by harvesting public messages from the RC Zulip and analyzing them. (For those unfamiliar with Zulip …
-
Puzzling Goings-On
Today, an RC colleague organized a group to tackle a git mystery, in which murder has been done and the clues are hidden in commit messages. My group did not solve the crime within the hour, nor did we limit ourselves to git commands. But we appreciated the spirit of …
-
Three Things Learned
I haven't been keeping up with this blog, but I have been keeping busy. A few things I've learned recently:
-
Although JavaScript has a
typeof
command, it doesn't produce very useful output. In particular, it yieldsobject
no matter whether the structure in question is a Map, an Array, a …
-
-
refactoring checklist; ML project ideas
In a recent conversation I mentioned that when I meet a new Python feature, I add it to my refactoring checklist. Someone asked me to share that checklist, and here it is, slightly expanded:
- write all comments/docstrings
- resolve all TODOs
- add types to all fn declarations and key local …
-
RC Week 1
My first week at the Recurse Center has been a bit of a firehose, mostly socially. It wasn't until Friday that I found myself with more than an hour of unbroken coding time, between orientation activities, chats/pairing with fellow RCers, presentations and craft evening and feelings check-in and more …
-
RC Day 1!
I've set a goal to reflect on each day at the Recurse Center; not all those reflections will be public, but those related to what I'm working on will be. The day started a bit earlier than I've been used to, and I enjoyed the orientation activities for the most …
-
Advent of Code 2020, in JavaScript
I’m doing Advent of Code this year using JavaScript, with the goal of forcing myself to learn the ins and outs of the language. And boy, does it have a lot of those. Here are some reflections on traps and quirks I’ve discovered.
Initially I wrote JS literally …
-
my first pull request
Someone linked me to Compute Cuter, a set of suggestions for cuter text editor themes, fonts, even keyboards and keycaps. The site is by sailorhg, who makes the fairyfloss theme I sometimes use. Looking through the suggestions, I was rather taken with the Witch Hazel theme, but it didn't have …
-
Family Cookbook
My extended family likes to cook, especially at the holidays, and frequently I hear, “What’s the recipe for X? Ask Y, they’ll know.” And then the recipe will be dredged up from memory, or a dusty cookbook, or someone’s text history, or photos of a dusty cookbook …
-
High Holy Days Music
I sing with the Brooklyn Community Chorus and we sometimes hold our concerts at Congregation Beth Elohim in Park Slope. In return, CBE invites us to provide backup vocals during their High Holy Days services. I participated in 2019 and was pleased to receive a binder full of music, some …
-
Buffer the Slayer
When I was teaching programming at the Workshop School, I eventually expected my students to learn about object-oriented programming (OOP). As it’s not a paradigm I use frequently, I wanted to refresh my memory, both about OOP and about how to teach it. So I dug up a project …
-
A Tale of 2 PDs
Recently I attended two professional development events nominally aimed at "maker educators." They ended up being pretty different experiences, though!
-
Introduction to Programming
Colleagues often consult me for advice on teaching programming as fledgling or non-programmers. Here are capsule reviews of various tools and approaches for beginners.
-
CTE Programming in 2017
Anyone teaching computer-related topics in 2017 knows that: the range of skills, compensation levels, and working conditions in "tech" is huge and unpredictable; and, trying to future-proof your students is impossible.
-
Advent of Code
Advent of Code is an annual challenge during the month of December, posing short puzzles that generally require code to solve. Although I've never seriously competed, I have completed for my own enjoyment every puzzle from 2016, and nearly every one from 2015. The solutions from 2016 are annotated for …
-
Berrybasket
In 2013 my partner Daniel and I were teaching at The Hacktory, a Philadelphia makerspace, mostly about circuits. A friend approached us about teaming up with an elementary science teacher for a unit on datalogging in (cardboard) houses, since Daniel's former job involved datalogging in (real) houses. The students were …