Bash tricks: random 10 digit numbers

head /dev/urandom | tr -cd '[:digit:]' | fold -w10 | head -n -1

This grabs a line from /dev/urandom then gets ONLY the printable characters then splits them into 10 digit lengths then removes the last line because it’s usually not 10 digits long

Things to talk about at NOC Meeting 2

  • Using Vectors to represent (X,Y) coordinates doesn’t feel right. An (x,y) isn’t exactly a magnitude and direction (it takes me a lot of squinting to believe it- that it’s a magnitude and direction from the origin)
  • Picking a random vector by doing createVector(rand, rand) draws a square over time, not a circle (the unit vector)

Sunday Art

The lesson today is about translating and scaling the unit vector. And I did that! Some art:

And a piece that’s inspired by PostSecret

Homework: Bouncy!

I finished by assignment for ā€œNature of Codeā€ book club. This week’s theme and I made…

Newspaper call for help!

I posted this:

Hi! This week I want to produce a little newspaper/zine about RC and have it printed out (or available in PDF) for folks on Friday. AndĀ I’d love your help.

Are you interested in writing something- maybe an opinion piece, a writeup of one of the recent days, or maybe making a puzzle (word puzzle, crossword, number puzzle), or making a piece of art (a handmade doodle, comic or algorithmic art) or maybe you’d like to advertise something non-commercial (your blog, project, or something made up and silly like Tim’s Time Machines) or are you interested in being interviewed or sharing overheard quotes or maybe writing horoscopes? Then I want you! All writing should be 500 words. This should be silly and joyful.

I have a project brief available here if you want to dive into the details:Ā https://notes.nicole.computer/notes/The-optimist/brief Reply to this thread with how you’d like to be involved and be on the lookout on Friday for ā€œThe Optimistā€

End of day

Worked on Today

Sunday art:

Over the next week I’m working on a newspaper called ā€œThe Optimistā€. I would love your contribution. Project brief: https://notes.nicole.computer/notes/The-optimist/brief

Tomorrow

I’m getting started on ā€œThe Optimistā€ and also it’s Nature of Code bookclub day!