Yiping Su
Yiping Su
Home
Blog
Gallery
Travels
Art
Posts
Using Mutexes in Go
I recently wrote an overview on concurrency, but I didn’t add a working example of mutexes. My goal in this post is to show how mutexes can be helpful when dealing with shared state and concurrent threads.
Aug 22, 2020
Code
Concurrency
Concurrency refers to multiple computations happening at the same time. It is a form of parallel computation. Many programs we use today have some sort of concurrent process, even our operating system.
Aug 20, 2020
Code
Seventh Chords
A seventh chord in music theory is plainly a triad with the addition of the “7th interval” above the triad’s root. For example, the combination C, E, G, B is a seventh chord.
Aug 19, 2020
Music
Scales and Modes
Scales in music theory are not just bounded by Major vs Minor distinctions. It turns out that all scales can be represented via modes. Modes are just another way of producing a certain tone/mood commonly associated with a happy (Major) or melancholic (Minor) sound.
Aug 18, 2020
Economics Classes I Recommend Taking - UC Davis
Intro Last year I wrote a post on three computer science classes I recommended taking at UC Davis. I thought it would be a good idea for me to do the same for my major, Economics.
Aug 17, 2020
economics
,
school
Minor Key Signatures
Motivation Growing up, I always found it hard to memorize key signatures of keys I wasn’t familiar with. This especially held true for minor keys since I did not play much minor pieces as a starting Classical pianist.
Aug 4, 2020
Coding Classes I Recommend Taking - UC Davis
Intro The first coding class I took at UC Davis was ECS 10. This was also the first time I tried programming. I remember that when I recieved the first homework assignment, I thought: “Oh, this isn’t so bad.
Dec 16, 2019
Code
,
school
How I Made My Website Using Academic & Netlify
I finally found the perfect theme to make my portfolio in! If you’re curious, it’s the site that you’re on right now! I’m using Academic, a HUGO theme made by George Cushen (and other contributors), to run my site.
Dec 13, 2019
Java Streams
Extracting Tweeter Names and Tag Counts
Dec 13, 2019
«
Cite
×