This is why #girlsinstem matter

The standard workout music accompanying my HIIT exercise videos has the disadvantage of aggravating inappropriate emotions in me (the lyrics having something to do with falling in love and hearts beating in time and being young and wild and free, and such sentiments had caused me more trouble than I could handle).

Fed up with it, last night, I finally wrote my own bash script so that I can listen to podcasts while keeping fit. This is why it matters that we have #GirlsInSTEM #WomenInSTEM #GirlsInTech #womenintech #GirlsWhoCode #WomenWhoCode!!!

The code is here: https://github.com/yieng/hiit-exercise-timer

pexels-photo-2294354

Photo by Li Sun from Pexels

Advertisements

Carnival of Mathematics #172

Carnival of Mathematics logo

I’m riding on a Ferris wheel, wondering who’s the hamster on it…

You’re visiting Carnival of Mathematics #172 hosted by Cassandra Lee. Find all Carnivals here and the previous Carnival (#171) here. Many thanks to the Aperiodical for the wonderful opportunity to host this Carnival.

The Roman representation of the number 172 comprises the initials of my English name, the chromosomes determining my gender and the eating utensils that I use daily. Yes, that’s CLXXII. *gasps at the sudden weight on her shoulders*

Without further ado, let’s begin with something light-hearted. It’s easy to show that 172 = 2 × 2 × 43, an even composite number; it doesn’t appear special until you also learn that 172 is also a deficient number (the sum of the factors is less than the number itself: 2 + 2 + 43 = 47 < 172) and an evil number (!), which means it has an even number of 1’s in its binary representation (17210 = 101011002). Note that, if the units digit is relabelled the “zeroth/0-th” digit, then you can verify that the binary representation of 172 (= 101011002) has the following property:

The n-th digit is 1 if and only if n is prime.

Furthermore, 172 is in the lazy caterer’s sequence at n = 18; the maximum number of pieces you can get with 18 cuts of a circular pie is 172.

Continue reading

How to Find Time to Write Your Book

Writing a book is a dream for many, but if it were so easy, many more of us would have become published authors. It is a feat not for the faint of heart. (Firstly, my first draft got the word “feat” as “feast”, but it depends on your perspective. You could treat writing as a feat or a feast! In fact I have written a book before, but it is for private circulation only and it is in Chinese *smirk*) Now, as National Novel Writing Month is in full swing, here are some tips for completing your book:

1) Write in stolen moments.

Continue reading