Playing with sketching again

| art, drawing

After our first informal field trip to the Art Gallery of Ontario, I got my own 13" iPad Air so that I can play with digital painting beside A+. Using the same apps might make it easier for her to pick up ideas from me and for me to pick up ideas from her. We mostly draw in Procreate, and I'm starting to get the hang of its brushes and features.

It's been nice doing moments from daily life again. It's been a while since I got to play with colour this easily.

A+ and I are both interested in piano, singing, and drawing, so we're experimenting with the Simply family subscription (CAD 46.49+tax/month). A+ likes to draw in the evening as a way of postponing bedtime. I could probably find lots of free drawing tutorials like the ones that Simply Draw has, but it's nice that it's already set up with the video in a corner and it pauses at the appropriate steps, so A+ can independently do it. She's starting to see shapes and shade a bit better now, although she doesn't yet have the patience to blend things slowly. I'm developing that patience, yay me. I wish I could zoom in on the reference image, though.

Here are some drawings I made following the Simply Draw tutorials.

One of the things I like about digital drawing and painting is that I can sneak up on blending by using different opacity settings and colours instead of either accurately controlling the pressure in my hand or switching between pencil and eraser. I also love the way I can use layers to build up an image gradually, how I can erase or undo, and how I can just use whatever colour I want without having to hunt for the right colour pencils or put things away afterwards. I haven't really played around with drawing with art supplies, although the watercolour tutorials that cross my feed seem fascinating. Maybe someday.

There's a glimmer here of how this might become a relaxing thing to do, different from untangling a thought or condensing a book into a sketchnote. I'm slowly getting to the point where, when I notice I'm starting to get anxious or when I'm tempted to nag A+ about procrastination, I can tell myself that I'm going on an art/music break instead and that usually keeps me busy enough until the urge passes. I think this might be useful for our sanity, especially if A+ picks up the idea too. When I'm on a music break, she often gets inspired to kick me off the piano and do her own music lessons, so that's a win. Art is something we can do side by side, and I can always make a drawing more elaborate since A+ likes to stay at roughly the same stage as I am.

I remember enjoying art enough as a kid to have fun at a summer camp where we did things like sand art and papier mache. I think I worked on an illustration of a sparrow that made it into a book of poetry or something like that. By the time we got to drafting classes in high school, I was feeling a bit more meh about art. I got back into art again with the Colors app on the Nintendo DS and then ended up getting into drawing and sketchnoting. I'd like to play around more with colour, and maybe I'll do more doodles and more drawing just because. I like drawing nature, and I'd like to get better at drawing characters too. I'll put the sketches on my blog and in my online sketches, and it'll fun to see how I grow over time.

View org source for this post

Productive procrastination and parenting

| productivity, parenting

Text from sketch

Productive procrastination

We are going to procrastinate. That's the way our brains like to work. No sense grumping about it, that'll just make it worse. We might as well get better at it This is a skill that takes practice, so try to learn when the stakes are low.

  1. Have a good idea of what needs to be done
    • Why? (Useful for motivation)
    • What? (Including details, subtasks, prerequisites)
    • By when?
    • For how long? Estimating & tracking time helps with accuracy
  2. Choose procrastination wisely. A few good options:
    • Something else that you needed to do anyway & that won't get in the way
    • Something that resets your brain and helps you grow
      • ex: exercise, music
    • Something that builds up dopamine or manages energy
      • sure, have a short video
      • calming, energizing -> the zone
  3. Use timers
    • so that your break doesn't stretch on
    • and to make work feel more manageable
      • I can do that for 5 minutes
  4. Celebrate! Pat yourself on the back even for small wins.

A+ is 8 (almost 9!) and is starting to learn how to procrastinate. I think this is a fairly new development now that she's got more classwork and more ideas about how she wants to use her time (not doing classwork). That's cool. I procrastinate, too. Part of my job as her parent is to help her learn how to procrastinate well, and to let her practise while the stakes are low: while she's dealing with schoolwork, instead of when she's making critical life decisions on her own.

This is hard for both of us, but mostly for me. I keep getting the urge to try to keep her on track. I have to remember that it doesn't work out if I'm the one pushing. She resists. Also, she doesn't get the practice in managing herself.

I think it'll work out better if I help A+ learn to tune into and manage her energy. That might look like 5-minute breaks and the occasional snuggle, or reading during class and then catching up on work. As she experiments, she'll get a better sense of when she should pay attention and do things at that moment because they're going to use those things in a discussion or because the opportunity isn't going to be available later.

There'll be failures along the way, like underestimating how much time a task will take, not managing energy well enough, or making the wrong choices about attention–but that's just feedback for the experiments. Failure is low-stakes at the moment: a reminder from the teacher if she hasn't gotten started on the class activity, some negotiation about when to do things if she ran out of energy the night before, a worksheet we take our best guess at because we don't know what the instructions were. She'll make mistakes along the way, but that will help her learn. As long as she gets the work done, that's cool. And if she doesn't get the work done, then that's an opportunity to debug and improve.

Her virtual school teachers are more on the synchronous "everyone should be working on this slide for the next ten minutes" side of things, so we'll see how long we can get away with this flexible approach. I hope eventually she'll get the hang of getting the work done and then reading, but that's probably something she's going to figure out with experimentation.

It's great seeing A+ start to learn how to manage herself. I made a menu of activities before, but now she often thinks of activities herself. Earlier in the schoolyear, she wanted the breaks to be playing 20 minutes of Minecraft with me. Now we've gotten that down to 10 minutes of Minecraft or videos, and sometimes she even chooses 5-minute breaks instead. She sets her own timers. Now that we're experimenting with the Simply apps for piano/singing/drawing, she sometimes uses that for her break. Going through a bite-sized lesson or practice session gives her energy and makes her feel great about herself, especially if she's picking a song like How Far I'll Go from Moana.

Sometimes A+'s breaks are a bit longer because she wants to help out with something around the house, like baking cookies. (It's funny how much her motivation to help increases when there's a piece of homework in front of her.) Practical life skills are worth it too, and we talk about what she gets out of those activities.

We also talk about dopamine levels and the effect different activities have on our energy levels. We talk about how things like music can shift how we're feeling and help us get ready. She can tell when she's ready, and she can tell when she's too tired to work. (Goodness knows that getting better at detecting when I'm in the negative productivity zone is useful as a coder…)

Someday she'll be able to manage her own checklists. In the meantime, I can help make lists (and resist the temptation to add pressure to them). Someday, all her breaks will be self-regulated. In the meantime, if she wants snuggles as a break, she gets them. Someday she'll have a variety of breaktime activities that she can use to manage her energy. In the meantime, I can update the menu as her skills grow and her interests evolve. Someday, she'll be able to work longer and take shorter breaks, maybe something like Third Time. In the meantime, it's okay to start where she is. Someday she'll be in tune with when she has the most energy in the day, and plan her tasks accordingly. In the meantime, I can share my observations. ("Hmm, we'll probably be tired after we get back.") Someday, she might even be able to strategically use procrastinating on other tasks in order to get her main tasks done. This is the time to experiment and learn.

One of the things that I appreciate about virtual school is that her classwork gives her fodder for practising the skill of figuring out how to get things done. Sure, the skills and bits of knowledge she develops by doing it are handy, but she can learn that whenever. The process of getting stuff done (including things you might not particularly enjoy doing, but which need to be done anyway)–now that's a generally useful thing. If we choose to homeschool, I'll probably want to come up with something similar so that she can keep practising.

Speaking of feedback, I wonder how I can make something that'll help us estimate and then track how much time a task actually takes, without feeling the pressure of a count-down timer or a missed goal. I occasionally track my time on tasks using Org Mode effort estimates and clocking, and I like to approach it with curiosity instead of stress. My tasks are usually not repetitive, so it's more about calibrating my sense of effort. It might be interesting to help her start developing that sense too. She's already used to timers on her watch. This is more of a stopwatch thing, but maybe something less frenetic than a digital stopwatch or a Stackmat timer. Or we could use her timer and then treat it as a check-in reminder… I don't think she's quite there yet, but it could be something to try later on. Something to grow into.

On my side, I'm working on staying focused on our long-term goals. It's not about making sure this particular thing gets done now. It's about helping A+ develop ownership of the process and the ability to tune into herself: her interests, her energy levels, her decisions and experiments. I'm also here to help build her up by catching her doing well and celebrating those small wins. It's very tempting to try to use pressure and stress when I feel responsible for helping her develop a work ethic that's convenient for fitting in, but maybe there are other things that could work well for us. Practising letting her work it out–even if it means the occasional failure–will be important as she gets older and more independent, so I might as well learn that while the stakes are low, too.

It's easier to work with what we've got than to grump at ourselves for not being who we wish we were. It's like the way I've been learning to work with how my brain works, too. Our brains procrastinate. We can get better at doing it. Could be fun.

Does your brain tend to procrastinate too? What do you find works well for you?

View org source for this post

Using systemd to switch nginx configurations based on number of CPUs

| geek

I set up a BigBlueButton web conferencing server so that people can use it for Emacs meetups. To keep costs down, I want to resize it to 1 GB RAM 1 vCPU most of the time, and then resize it to 8 GB RAM 4 vCPU when there's a meetup. When it's at a proper size (4 CPUs), the Nginx web server should proxy the Greenlight web interface for BigBlueButton. In between meetups, I want to display a backup page to let people know they've got the right URL but that it's not up yet.

First, I need a shell script that returns the name of the configuration file to use. This is /usr/local/bin/nginx-cpu-config.sh:

#!/bin/bash
cpu_count=$(nproc)
if [ "$cpu_count" -ge 4 ]; then
    echo "/etc/nginx/nginx.conf"
else
    echo "/etc/nginx/backup-nginx.conf"
fi

Next, I need to copy /etc/nginx/nginx.conf to /etc/nginx/backup-nginx.conf. Instead of include /etc/nginx/sites-available/*;, I'll use include /etc/nginx/sites-backup/*;. Then I need to set up a copy of the /etc/nginx/sites-available/bigbluebutton in /etc/nginx/sites-backup/bigbluebutton. I changed the try_files so that it tries the backup file.

  # BigBlueButton landing page.
  location / {
    root   /var/www/bigbluebutton-default/assets;
    try_files $uri /backup/index.html @bbb-fe;
  }

I set up a /var/www/bigbluebutton/assets/backup/index.html with the message that I wanted to display between meetups.

I removed the /etc/systemd/system/haproxy.service.d/require-cpu.conf I had previously set up, so it would start even if downscaled to a single CPU. Then I created a /etc/systemd/system/nginx.service.d/based-on-cpus.conf with the following contents:

[Service]
ExecStartPre=
ExecStartPre=/bin/bash -c '/usr/sbin/nginx -t -c $(/usr/local/bin/nginx-cpu-config.sh)'
ExecStart=
ExecStart=/bin/bash -c '/usr/sbin/nginx -c $(/usr/local/bin/nginx-cpu-config.sh)'
ExecReload=
ExecReload=/bin/bash -c '/usr/sbin/nginx -s reload -c $(/usr/local/bin/nginx-cpu-config.sh)'

Then I ran systemctl daemon-reload and used service nginx restart to test.

Seems to be working. We'll see!

View org source for this post

2025-02-17 Emacs news

| emacs, emacs-news

Links from reddit.com/r/emacs, r/orgmode, r/spacemacs, r/planetemacs, Mastodon #emacs, Bluesky #emacs, Hacker News, lobste.rs, programming.dev, lemmy.world, lemmy.ml, communick.news, planet.emacslife.com, YouTube, the Emacs NEWS file, Emacs Calendar, and emacs-devel. Thanks to Andrés Ramírez for emacs-devel links. Do you have an Emacs-related link or announcement? Please e-mail me at sacha@sachachua.com. Thank you!

View org source for this post

AGO field trip #2: Moments in Modernism, landscapes

| art, painting

A+ asked me to take her on another informal field trip to the Art Gallery of Ontario to check out that special exhibit on modern art that we didn't have the energy for last time. I decided that was worth taking her out during a school afternoon. I figured there'd be plenty of time to catch up with schoolwork over the long weekend, and besides, I was curious too.

We explored the kids' area downstairs, climbed up the winding stairs, and then wandered over to Moments in Modernism.

Moments in Modernism

Ellsworth Kelly's White Blue (1960) was my favourite. I liked the clean, intense, simple colours. The description beside it said that it was based on the magnification of a drawing of an apple.

2025-02-12 Blue White.png
Figure 1: My very amateur take on Ellsworth Kelly's White Blue (1960) from the AGO

I didn't do this one while looking at it; A+ wanted to keep moving on. I remember it felt a little brighter than the picture from A line on Ellsworth Kelly | Foyer, though, but maybe not quite this blue. My white forms don't feel as rounded and as organic as the ones in the original. Anyway, I liked the swooshiness of White Blue.

I liked the hard black and white lines of Guido Molinari's Multinoir (1962) more than Gene Davis's Black Panther (1970), which made my eyes a little wibbly-wobbly. (How does it do that? Interesting…)

I liked the airbrushing of Rita Letendre's Daybreak (1983). The orange made me think of sunset more than sunrise, though. It was interesting to contrast the hard lines of Multinoir and White Blue with the airbrushed softness of Daybreak and the brushiness of Mark Rothko's No.1, White and Red (1962).

I brought our iPads so that we could try some digital painting. A+ didn't find anything in the modern art exhibit that inspired her at that moment, so she asked a volunteer for directions back to the Canadian landscape gallery from our previous trip.

Back to the landscapes

After looking at a few paintings, A+ decided to draw her own landscape with snowy mountain peaks. I revisited Lawren S. Harris's South Shore, Bylot Island (1931) from our last trip and used it to practise painting on my new iPad Air.

south-shore-bylot-island.jpg
Figure 2: Lawren S. Harris, South Shore, Bylot Island (1931, ago.ca)
2025-02-12_Landscape.jpg
Figure 3: My very amateur take, limited by skill and A+'s attention span

It was fun trying to get a sense of light and shadow. I like the yellow-white and shade of the snow on the mountains. I could dial down the saturation a bit.

On the way back, I mused on how Harris had been painting for decades before he made that painting, and even then, he had done quite a few studies of that scene before settling on that particular painting. So it totally makes sense that these first attempts have a long way to go.

Ideas for upcoming AGO field trips

We could check out that Letendre/Morrisseau exhibit I mentioned earlier (Gallery 126), maybe tied to some experiments with airbrushes in Procreate. A+ and her class did a Morrisseau-inspired art project with lots of bright colours, so I think that part might appeal to her too. She's also enjoyed playing "Spot the Difference" with similar paintings, so that might be good to do with Norval Morrisseau's Man Changing into Thunderbird (1977).

A+ mentioned looking forward to the Yayoi Kusama Infinity Mirrored Room installation this April, so we'll probably be back for that one. Two years ago, A+ and her class did two art projects inspired by Kusama's pumpkins. One was a drawing exploring polka dots, and another was a three-dimensional pumpkin made out of strips of paper and photographed between mirrors for an infinity(ish) effect. I think A+ will enjoy seeing the scaled-up version.

For amusement, here's my version of the pumpkin drawing project:

A+ finds it easier to learn about art when I'm learning beside her, and I'm glad to be able to go through these lessons and prompts with a grown-up's patience and curiosity.

As it turns out, the AGO collection website does not include all of their objects (or maybe I just can't find it with the search), so I'll take more pictures next time, and I'll bring A+'s camera too.

How lucky we are to be able to learn about art with this kind of resource!

View org source for this post

2025-02-10 Emacs news

| emacs, emacs-news

Links from reddit.com/r/emacs, r/orgmode, r/spacemacs, r/planetemacs, Mastodon #emacs, Bluesky #emacs, Hacker News, lobste.rs, programming.dev, lemmy.world, lemmy.ml, communick.news, planet.emacslife.com, YouTube, the Emacs NEWS file, Emacs Calendar, and emacs-devel. Thanks to Andrés Ramírez for emacs-devel links. Do you have an Emacs-related link or announcement? Please e-mail me at sacha@sachachua.com. Thank you!

View org source for this post

Sketching practice: Beaver, goose, squirrel, sparrow, flower, sheepdog and sheep

| drawing, art

A+'s class is working through a variety of assignments while reading through The Wild Robot. They've done chapter 1-11 so far. One of the assignments is to visualize things from the book, like sketching 6 things Roz has seen in nature so far. I figured I'd practise drawing too.

References:

A+ thought that Roz encountered a beaver, but I think she might have mixed it up with the otters. It was fun to draw a beaver anyway. I'm getting the hang of blocking out the shapes with a highlighter and then going over it with the pen.

The sheepdog wasn't from the story. It's from another reflection that I've been noodling on about how A+'s teacher often tries to herd 17 kids to be on the same literal page during virtual class. It's a hard job.

Learning about sheepdogs sent me on this fun tangent

A tangent on herding dogs: heelers (Heelers! Like Bluey!) nip at the heels; headers stare down the animals with a strong eye; some breeds use both methods and also run along the backs of the sheep; some are moderate to loose-eyed; some use barks; some are tending dogs who fence the sheep in. Fascinating. This Reddit thread is interesting too. And sheepdog training tips sound surprisingly relevant, like the importance of figuring out what distance the dog is ready to work at (which is not always the same as the distance the dog thinks they are ready to work at). Sometimes I'm the shepherd, sometimes I'm the sheepdog, sometimes I'm the sheep I want to herd.

As for A+ and art, she still gets very frustrated. "I can't do it!" she wails. But she's starting to be able to say things like "I see there's a circle here." I think it might be helpful for me to borrow a bunch of drawing books that emphasize sketching on top of basic shapes, instead of those drawing videos that just tell you the lines and curves to draw. Maybe Ed Emberley's drawing books. It might also be interesting to look through some digital art tutorials and tips, like this thread on the Procreate forum (oooh, monsters with eyes). Getting even more tempted to get an iPad for myself so that we can learn side by side. I've tried drawing on Android tablets/phablets before and Medibang Paint was pretty nice, but one of my goals is making it easier to bounce ideas and discoveries off each other.

Could be fun.

View org source for this post