<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Michelle Berry on Medium]]></title>
        <description><![CDATA[Stories by Michelle Berry on Medium]]></description>
        <link>https://medium.com/@mich_berr?source=rss-3c2b15a12f9e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9PhrqoUGecBBTSW8.jpeg</url>
            <title>Stories by Michelle Berry on Medium</title>
            <link>https://medium.com/@mich_berr?source=rss-3c2b15a12f9e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 15:11:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mich_berr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Music COVIDeos Pt III — throwbacks]]></title>
            <link>https://medium.com/@mich_berr/music-covideos-pt-iii-throwbacks-3012b1ad8b0f?source=rss-3c2b15a12f9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3012b1ad8b0f</guid>
            <category><![CDATA[2000s-music]]></category>
            <category><![CDATA[90s-music]]></category>
            <category><![CDATA[music-video]]></category>
            <dc:creator><![CDATA[Michelle Berry]]></dc:creator>
            <pubDate>Tue, 25 Jan 2022 17:54:32 GMT</pubDate>
            <atom:updated>2022-01-25T18:15:16.739Z</atom:updated>
            <content:encoded><![CDATA[<h3>Music COVIDeos Pt III — throwbacks</h3><p>A year and a half later, someone named Amie watched Music COVIDeos Part I and II and requested I make the playlist of throwbacks from the 90s and early 2000s which I alluded to in Part I. As a kid growing up in the 90s, I watched VH1 and TRL on the regular. These are the videos that shaped my adolescence and that I still enjoy very much today.</p><ol><li><strong>Mariah Carey — Heartbreaker (1999)</strong></li></ol><p>Those of you who know me, know that I am a very good scrabble player, but I actually suck at trivia . . . except that one time the trivia category was “Mariah Carey songs” :-p. Mariah Carey was a music icon of the 90s and this song and this video just feels so quintessentially 90’s pop/RnB to me. Unfortunately, Mariah’s voice hasn’t aged well, but I’ll always remember her at this moment in time when she was pop-perfect.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FkMCGvtlL4fw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkMCGvtlL4fw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FkMCGvtlL4fw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a536a3d0c70ac56474c7b419f15d1b9a/href">https://medium.com/media/a536a3d0c70ac56474c7b419f15d1b9a/href</a></iframe><p><strong>2. Madonna — Frozen (1998)</strong></p><p>Remember when Madonna got really into Yoga, Henna, and Kabbalah? Then she made this cool new-agey video that was apparently inspired by the film The English Patient and dance choreographer Martha Graham’s work.</p><p>Madonna was a huge influence on me growing up. I admired her irreverance and willingness to push boundaries on sex, religion, and femininity. I never felt like she pulled stunts just to generate media hype; her choices seemed intentional and socially important.</p><p>Over time, I also came to admire the way Madonna continuously re-invented herself, exploring (and sometimes appropriating) different musical styles and aesthetics, teaching us all new lessons in what was “cool”. I still think “Ray of Light” is cool and listen to the full album on occasion.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXS088Opj9o0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXS088Opj9o0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXS088Opj9o0%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3a880e850cc6ad1282c229c469eb20d0/href">https://medium.com/media/3a880e850cc6ad1282c229c469eb20d0/href</a></iframe><p><strong>3. Audioslave — Like a stone (2003)</strong></p><p>This is a beautiful, haunting, and emotion-laden song. It was the 5th best performing song on the Alternative Songs chart of the decade, and I remember it playing regularly for a few years on MTV. It’s a simple music video, but I picked it because Chris Cornell is so vulnerable and honest with his pain in this video. Unfortunately a lot of musicians struggle with depression and substance abuse, and Cornell ended his life in 2017, but it feels like an honor to bear witness to his suffering and appreciate the beauty he created with it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7QU1nvuxaMA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7QU1nvuxaMA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7QU1nvuxaMA%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a67af63c276748e578d6f28ae390d35/href">https://medium.com/media/4a67af63c276748e578d6f28ae390d35/href</a></iframe><p><strong>4. Incubus — Drive (2000)</strong></p><p>Brandon Boyd, the lead singer of Incubus, is also visual artist and his been drawing and painting his whole life. It’s pretty obvious that his creative passions intersect and influence each other. This song is from the album titled “Make Yourself”, and I always imagined that Boyd used self-portraiture to define the way he wanted to show up in the world. The song’s lyrics are purportedly about fear, and being driven your whole life by it. As he sketches himself throughout the video, I imagine he’s sketching a version of himself that is no longer afraid.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FfgT9zGkiLig%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DfgT9zGkiLig&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FfgT9zGkiLig%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/43862ab0787178d99eef26233447d7d1/href">https://medium.com/media/43862ab0787178d99eef26233447d7d1/href</a></iframe><p><strong>5. The Cranberries — Zombie (1994)</strong></p><p>The Cranberries wrote this song to protest the violence committed by the IRA in Northern Ireland during the early 90s. This video serves as a powerful visual aide to the song’s political statement. I particularly appreciate the photography and lighting in this video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F6Ejga4kJUts%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6Ejga4kJUts&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F6Ejga4kJUts%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9b20d64ebc31e508c4aed471e84bb5da/href">https://medium.com/media/9b20d64ebc31e508c4aed471e84bb5da/href</a></iframe><p><strong>6. Linkin Park — In the end (2001)</strong></p><p>Whether or not you like Linkin Park’s music, you have to recognize them for pioneering a new musical genre blending rap and hard-rock in the early 2000s. They also produced several dynamic and beautiful music videos to accompany their songs. This video was inspired by the Anime film Princess Mononoke, which explores the struggle between the gods of a forest and the humans who consume its resources.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeVTXPUF4Oz4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeVTXPUF4Oz4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeVTXPUF4Oz4%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d283fe04284ceb5a3ce99fbe2f6cc8a9/href">https://medium.com/media/d283fe04284ceb5a3ce99fbe2f6cc8a9/href</a></iframe><p><strong>7. No Doubt — Don’t speak (1996)</strong></p><p>Is there a band or a song that makes you more nostalgic for the 90s than No Doubt and “Don’t Speak”? I picked this video for its brave expression of some pretty gnarly interpersonal dynamics. Gwen Stefani wrote this song in response to her break-up with the band’s bass player, Tony Kanal. The band was also going through tough times and was on the verge of breaking up when they were scheduled to shoot this music video. They decided to proceed with the shoot as a form of “therapy” and poked fun at the media’s obsession with Gwen and the sidelining of the rest of the band.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FTR3Vdo5etCQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DTR3Vdo5etCQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FTR3Vdo5etCQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b7e429f649db97f160533cbd1cc9ad7/href">https://medium.com/media/4b7e429f649db97f160533cbd1cc9ad7/href</a></iframe><p><strong>8. Madonna — Don’t tell me (2000)</strong></p><p>Madonna was a big enough deal to both me and the world at this point in musical history, she deserves a second video. I love this video because 1. western landscapes, 2. cowboys, 3. Madonna. It also shows her range as an artist since it differs so greatly both musically and aesthetically from “Frozen”, even though the two videos were produced only two years apart.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FgLFWRDsx5AI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgLFWRDsx5AI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FgLFWRDsx5AI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7e4f4cea4e9ec0056f417a64a81b6479/href">https://medium.com/media/7e4f4cea4e9ec0056f417a64a81b6479/href</a></iframe><p><strong>9. TLC — Unpretty (1999)</strong></p><p>It was hard to pick just one TLC video, since <a href="https://www.youtube.com/watch?v=8WEtxJ4-sh4">Waterfalls</a> and <a href="https://www.youtube.com/watch?v=FrLequ6dUdM">No Scrubs</a> are also excellent. I picked “Unpretty” because it’s perhaps underrated with respect to the other two videos which become über popular. Unpretty is a song about finding your own self worth and inner beauty and not letting others put you down. As an adolescent girl, this was an important message for me to hear, so it seems worth sharing.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fg2gy1Evb1Kg%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg2gy1Evb1Kg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fg2gy1Evb1Kg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f58f204338d9f1132baa7271c542641/href">https://medium.com/media/3f58f204338d9f1132baa7271c542641/href</a></iframe><p><strong>10. Aaliyah — Try again (2000)</strong></p><p>I remember going to a slumber party in 2000 where we stayed up til sunrise eating candy and watching VH1. We must have watched this video at least 5x over the course of that silly night. Whenever I watch videos of Aaliyah I’m just blown away by her talent and presence at such a young age. This song was the theme for the film “Romeo Must Die”, but the popularity of this music video far eclipsed the popularity of the movie (which I never saw). Aaliyah may be dead, but her <a href="https://www.revolve.com/aaliyah-x-revolve/br/329451/?navsrc=left&amp;gclid=Cj0KCQiAubmPBhCyARIsAJWNpiMhvxquhxMQAess9nSldhWw-g9wfgxDwfC0KkzAidsK7iN4h75Kz_oaAn1hEALw_wcB&amp;gclsrc=aw.ds">fashion</a> lives on.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnBc6R7VmrPo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnBc6R7VmrPo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnBc6R7VmrPo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3547186197227e57ee3a6c5ef0a76a9/href">https://medium.com/media/d3547186197227e57ee3a6c5ef0a76a9/href</a></iframe><p><strong>11. Destiny’s Child — Independent Woman (2001)</strong></p><p>I miss girl bands from the 2000s and all the awesome female empowerment messaging that went with it! Destiny’s child had many amazing songs and videos during this era, but this one just perfectly captures the spirit of the badass girl-group. Crazy how in 2022, I still get moved by seeing a board table filled with women.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F0lPQZni7I18%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D0lPQZni7I18&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F0lPQZni7I18%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d67992599688570aadc34d2334756c4a/href">https://medium.com/media/d67992599688570aadc34d2334756c4a/href</a></iframe><p><strong>12. Shakira — Wherever whenever (2001)</strong></p><p>“Whenever, Wherever” was Shakira’s breakout hit in the United States, and of course I was obsessed with the song and video when I was 11 because of the herd of wild horses that appear at 1:32. Overall this song/video are a very cheesy combo thanks to silly dance moves, dated CGI technology, and ridiculous shots of Shakira bursting out of the ocean like a mermaid, crawling through mud, and dancing on mountain tops. But that’s also why it’s so fun.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FweRHyjj34ZE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DweRHyjj34ZE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FweRHyjj34ZE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a0763901afcb07ceca03a8aaed0eb03/href">https://medium.com/media/2a0763901afcb07ceca03a8aaed0eb03/href</a></iframe><p><strong>13. Christina Aguilera — Genie in a bottle (1999)</strong></p><p>There’s nothing too remarkable about this music video, but this song was sooo mesmerizing back in 1999 and is still pretty enjoyable to listen to now. The main thing I appreciate about the video is the iconic 90s fashion — capris, cropped jean jackets, fringe crop tops, and can someone please find me those orange cargo pants! I would wear them all the time.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FkIDWgqDBNXA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DkIDWgqDBNXA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FkIDWgqDBNXA%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c96cfa0154038732d30488706d8f9959/href">https://medium.com/media/c96cfa0154038732d30488706d8f9959/href</a></iframe><p><strong>14. Britney Spears — Oops I did it again (2000)</strong></p><p>No throwback music video playlist would be complete without a Britney video. There are numerous good ones to pick from like <a href="https://www.youtube.com/watch?v=C-u5WLJ9Yk4">Baby One More Time</a> and <a href="https://www.youtube.com/watch?v=LOZuxwVk7TU">Toxic</a>. I like this one because it fits the trend of videos featuring outer-space themes that became very popular around Y2K.</p><p>If you want to listen to a short podcast on how Britney is actually an amazing singer, but was forced by her record label to sing poorly, check out <a href="https://podcasts.apple.com/au/podcast/britney-truther/id1562775898?i=1000519423784">this</a> episode of Stoned Talks. I personally feel so much better watching Britney content now that she is free from her conservatorship #freebritney.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCduA0TULnow%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCduA0TULnow&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCduA0TULnow%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5bcb43bd7f23f2cae7250e3f37533ab2/href">https://medium.com/media/5bcb43bd7f23f2cae7250e3f37533ab2/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3012b1ad8b0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Music COVIDeos PART II]]></title>
            <link>https://medium.com/@mich_berr/music-covideos-part-ii-6767dd44fa19?source=rss-3c2b15a12f9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6767dd44fa19</guid>
            <category><![CDATA[music-video]]></category>
            <category><![CDATA[coronavirus]]></category>
            <dc:creator><![CDATA[Michelle Berry]]></dc:creator>
            <pubDate>Tue, 30 Jun 2020 07:32:49 GMT</pubDate>
            <atom:updated>2022-01-13T02:18:04.345Z</atom:updated>
            <content:encoded><![CDATA[<p>Well folks, this coronavirus isn’t going away any time soon, so here’s another set of 10 curated music videos to watch in quarantine. You can watch them here or on my youtube <a href="https://www.youtube.com/playlist?list=PLdgj7oPyvsVp1v-evPeBITG0VtF6LNaez">playlist</a>.</p><p>I’m excited to say that most of these videos are new to me as well — discovered during the first 3 months of shelter-in-place. Some of the themes that inspired this set are 1) the outdoors and 2) empowered women. Same rules apply as last time. If you missed the first set or want a recap, you can watch them <a href="https://medium.com/@mich_berr/music-covideos-835d64d3d544">here</a>.</p><ol><li><strong>Yaeji — make it rain</strong></li></ol><p>Let’s start off with a bang. Yaeji is a Korean-American artist based in Brooklyn. There’s something awesomely futuristic about this song, the video, and her style. To quote one of the youtube commenters- “She’s living on 2080, while we living on 2020.” When you’re in quarantine, anything futuristic feels inherently optimistic, so I recommend watching this video over and over to improve mental health.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_3T8KznhThQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_3T8KznhThQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_3T8KznhThQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d465abf28834502502eb70a1e83603aa/href">https://medium.com/media/d465abf28834502502eb70a1e83603aa/href</a></iframe><p><strong>2. Sudan Archives — Nont for sale</strong></p><p>Sudan archives is one of my favorite new artists from quarantine. I like several of her music videos, but I picked this one for her impeccable style and for featuring a dope girl crew. Also note the visual analog to FKA Twigs’ Pendulum when she models her large braids like thick ropes. If you’re looking for another great Sudan video, check out <a href="https://www.youtube.com/watch?v=Zgjrt12QTVQ">confessions</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3kRlBLPSgY8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3kRlBLPSgY8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3kRlBLPSgY8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/644b06b8008edcf434d6096b81c353bb/href">https://medium.com/media/644b06b8008edcf434d6096b81c353bb/href</a></iframe><p><strong>3. The big moon— Your light</strong></p><p>I like this video for it’s simplicity — just some women riding their bikes, singing, and having a good time. Big thumbs up for the Fraggle Rock-looking muppets that appear at 2:54.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F1OijD72t4XY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D1OijD72t4XY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F1OijD72t4XY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6cd6976e6f2e4845f812006f03f20c56/href">https://medium.com/media/6cd6976e6f2e4845f812006f03f20c56/href</a></iframe><p><strong>4. Rhye — Phoenix</strong></p><p>This video combines both themes: stunning visual scenery and elegant women dressed in couture embracing the “storm” as she appears through interpretive dance.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fd3MFHisZpd8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dd3MFHisZpd8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fd3MFHisZpd8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e67719495b626f348870de4aadcb51c4/href">https://medium.com/media/e67719495b626f348870de4aadcb51c4/href</a></iframe><p><strong>5. Rhye — Feel your weight</strong></p><p>SO. MUCH. TORSO. This video is just one big hot steamy adult jungle gym.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtdsH-yuCbCw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtdsH-yuCbCw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FtdsH-yuCbCw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d717ec7c75263e04fc0b98734312388b/href">https://medium.com/media/d717ec7c75263e04fc0b98734312388b/href</a></iframe><p><strong>6. St Vincent — New York</strong></p><p>I’m not actually sure what the underlying concept for this video was, but I’d like to remark that St Vincent does an incredible job acting in it and bringing the emotion in the song to life. My favorite images are the leafy greens (chard??) on fire and the duck nibbling at her sequined dress.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F4TPqUvy1vYU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4TPqUvy1vYU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F4TPqUvy1vYU%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/37ba29757cf1e5d4773a9bdf4d8c2b7c/href">https://medium.com/media/37ba29757cf1e5d4773a9bdf4d8c2b7c/href</a></iframe><p><strong>7. Sevdaliza — Human</strong></p><p>Shoutout to Alyssa for introducing me to Sevdaliza. Her dark, seductive vocals come alive in this video which touches on objectification, degradation, sexualization, and fantasy. All of Sevdaliza’s videos are like pieces of art — visually intriguing and ripe with provoking themes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9t7SclAXoQw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9t7SclAXoQw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9t7SclAXoQw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d8ced0b7a163619d0363ed975bff7db/href">https://medium.com/media/7d8ced0b7a163619d0363ed975bff7db/href</a></iframe><p><strong>8. Hiatus Kaiyote — Nakammara</strong></p><p>I’ve been a fan of this song for a few years, but wouldn’t have necessarily called out the music video for being remarkable. However, in quarantine, I think both the song and the video spread incredibly good vibes. Get outside!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOzr4KsZBTvQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOzr4KsZBTvQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOzr4KsZBTvQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f36007df9b9b1912ca3c4058eee6f114/href">https://medium.com/media/f36007df9b9b1912ca3c4058eee6f114/href</a></iframe><p><strong>9. Tove Styrke — Say my name</strong></p><p>I saw Tove Styrke perform at SXSW 5 years ago, and was blown away by her energy and pop intuition. I’ve been waiting all this time for her to make it big in the US, but for now you can enjoy her catchy pop melodies and kaleidoscope dance moves in this music video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FC2HzwODx9sE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DC2HzwODx9sE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FC2HzwODx9sE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0d4161b75d59f864d503d3d96b64c328/href">https://medium.com/media/0d4161b75d59f864d503d3d96b64c328/href</a></iframe><p><strong>10. Yangze — U and Me</strong></p><p>I was bewildered by this song the first time I heard it, because it sounds like nothing I’ve heard before. I’ve definitely been playing it on loop, and I appreciate the simplicity of the video which highlights the strange, euphoric mix of melody and electronic sounds without detracting from it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fyqd8Tv0atO4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dyqd8Tv0atO4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fyqd8Tv0atO4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9f8f95dd1593c4243604afb46778e8d9/href">https://medium.com/media/9f8f95dd1593c4243604afb46778e8d9/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6767dd44fa19" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Music COVIDeos]]></title>
            <link>https://medium.com/@mich_berr/music-covideos-835d64d3d544?source=rss-3c2b15a12f9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/835d64d3d544</guid>
            <category><![CDATA[fka-twigs]]></category>
            <category><![CDATA[grime]]></category>
            <category><![CDATA[music-video]]></category>
            <category><![CDATA[coronavirus]]></category>
            <dc:creator><![CDATA[Michelle Berry]]></dc:creator>
            <pubDate>Tue, 17 Mar 2020 08:28:46 GMT</pubDate>
            <atom:updated>2022-01-13T02:24:12.649Z</atom:updated>
            <content:encoded><![CDATA[<h4>A list of music videos to entertain you during Coronavirus Pandemic</h4><p>While sheltering at home during the Corona Virus pandemic, I’ve been indulging in one of my favorite indoor activities: watching music videos! Why do I like music videos so much? I enjoy the way that videos add new narrative dimensions to songs. After I’ve seen a video, I continuously reference images from it as I’m listening to music, so it creates a multi-sensory experience.</p><p>For my friends’ viewing pleasure, I’ve compiled a list of my top 10 contemporary music videos. The criteria for videos on this list is pretty simple: 1) It has to be a song that I like, and 2) I have to like the song <em>more</em> because of the music video.</p><p>A couple caveats: I don’t claim to have the broadest or most balanced musical taste, so there’s a few repeat videos in here from the same artist. However, I did limit myself to a maximum of two videos from the same artist. Additionally, it felt weird to mix and match videos from different eras into one playlist. If you know me, you know I adore 90s music. I also adore 90s music videos. But my enjoyment of this media is nostalgic, and it can feel disorienting to jump in and out of nostalgic head spaces while binge-watching music videos. Therefore, all of the videos in this list are from the last decade, and I plan to make a second playlist in the coming days with my favorite throwbacks.</p><p>These videos do not appear in any particular order. Happy COVID watching!</p><ol><li><strong>Moderat — Eating Hooks</strong></li></ol><p>For those of you who aren’t familiar with Moderat, it’s a collaboration between two different Berlin-based electronic artists, Modeselektor and Apparat. I was turned onto their song Eating Hooks for a while before I finally watched their music video just last week. The following day, I went to see the Tibetan Buddhism exhibit with my friend Ben at the SF Asian Art Museum. The video resonates with a lot of visual and philosophical themes in that exhibit, and Ben joked that we could have skipped the exhibit altogether. So pick your drug (meditation or medication), give the video a watch, and consider it a cultural experience. I also recommend watching Moderat’s <a href="https://www.youtube.com/watch?v=HVkVq_qs7FM">live set</a> at KEXP.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fu6ECMXk3JAw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Du6ECMXk3JAw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fu6ECMXk3JAw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f3a4223e181c0ec4d2ded5f5487035a9/href">https://medium.com/media/f3a4223e181c0ec4d2ded5f5487035a9/href</a></iframe><p><strong>2. Grimes — Delete Forever</strong></p><p>This track immediately stood out to me on Grimes’ new album Miss Anthropocene for the simplicity of the pop melody and the heaviness of the lyrics. It is in fact a song about her friends dying from opiate overdose. Nevertheless, the music video totally blew me away. Grimes sits on a throne on top of a cold, rocky planet. There are celestial bodies sprouting out of either side of her head in a fabulous hairdo. The colors, a deep primary palette of red, yellow and blue, add new layers to the song. If you want to learn more about the content song, watch <a href="https://www.youtube.com/watch?v=FdtdaLbAegQ">this</a> — Grimes refers to Shakespeare as the Britney Spears of his time.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FgvzC8MmC850%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DgvzC8MmC850&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FgvzC8MmC850%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9c3d92bdc980b3fa21c2b3ee59b444ef/href">https://medium.com/media/9c3d92bdc980b3fa21c2b3ee59b444ef/href</a></iframe><p><strong>3. Grimes — Violence</strong></p><p>To be honest, I could probably do an entire playlist of Grimes music videos, but because of my two video max rule, I had to settle. I picked Violence because it’s another track from her new album, but also because it highlights what Grimes does so well: make pop her own. This is the only Grimes video that features her doing a choreographed dance routine with a group of female backup dancers, a typical pop music trope. But the medieval weapons, face masks, and cool body tattoos make it feel original and uniquely Grimes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FM9SGYBHY0qs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DM9SGYBHY0qs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FM9SGYBHY0qs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/98b4ad3ceb63fc1e3cd55693c27c5aa4/href">https://medium.com/media/98b4ad3ceb63fc1e3cd55693c27c5aa4/href</a></iframe><p><strong>4. FKA twigs — Pendulum</strong></p><p>One of the most sensual music videos I’ve ever seen. The video starts with a close up of Twig’s face and then you slowly spiral around her body suspended from ropes in elegant positions. I’m not sure it evokes a pendulum, but it certainly gives the sensation of movement and gravity. I also love the CGI effect of her face in the water at 3:29 that seems like a reference to Busta Rhymes and Janet Jackson’s famous video, “<a href="https://www.youtube.com/watch?v=hUxN0K1ykNo">what’s it gonna be</a>”</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FO8yix8PZKlw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DO8yix8PZKlw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FO8yix8PZKlw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/aef32a14200199cde91846ab93b32ec7/href">https://medium.com/media/aef32a14200199cde91846ab93b32ec7/href</a></iframe><p><strong>5. FKA twigs — Glass and Patron</strong></p><p>Trust me, if you make it past the weird scarf birth scene at the beginning, this is the fiercest video on the list. Everyone looks like royalty and the dance moves are magnificent.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcNbFc-fa-ww%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcNbFc-fa-ww&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcNbFc-fa-ww%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a3d75e214a8b3fc928e95e26138281f/href">https://medium.com/media/2a3d75e214a8b3fc928e95e26138281f/href</a></iframe><p><strong>6. The Weeknd — The Knowing</strong></p><p>I was introduced to the Weeknd my senior year of college through this song/video (Thanks MHJ!). It’s a weird low-budget sci-fi video, but it perfectly matches the dark, seductive RnB notes of the track, which felt revelatory back in 2012.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvPp5Ty9EE6k%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvPp5Ty9EE6k&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvPp5Ty9EE6k%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c46201b27fcf28428f5735d89806c804/href">https://medium.com/media/c46201b27fcf28428f5735d89806c804/href</a></iframe><p><strong>7. Tame Impala — The less I know the better</strong></p><p>Can’t really say much about this one except for you have to see it for yourself. The visual metaphors are stimulating and provoking.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsBzrzS1Ag_g%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsBzrzS1Ag_g&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsBzrzS1Ag_g%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2182a5bb0e404b001f6ed6a9813ca1af/href">https://medium.com/media/2182a5bb0e404b001f6ed6a9813ca1af/href</a></iframe><p><strong>8. Honne — Warm on a cold night</strong></p><p>There’s a really unique tenderness to this video. It’s also really refreshing to see a lesbian romance on screen that doesn’t feel tuned to the male gaze. After you watch this video, watch <a href="https://www.youtube.com/watch?v=-SMczvG9pHo">this</a> other video by Honne to catch the contiguous storyline.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCX5f0NcqlMs&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCX5f0NcqlMs&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FCX5f0NcqlMs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8e16e60649093d7adc894de233d396f0/href">https://medium.com/media/8e16e60649093d7adc894de233d396f0/href</a></iframe><p><strong>9. Tegan and Sara — Alligator</strong></p><p>Tegan and Sara appear in a manufactured winter setting, dressed in sweats, UGGs, and warm knit scarves. They do synchronized dance movements that perfectly match the poppy tone of their song. This video reminds me of an Old Navy commercial. I like it.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fw3YBX0OfNzA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dw3YBX0OfNzA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fw3YBX0OfNzA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/bf4e97660491059a239fc6f399f80c45/href">https://medium.com/media/bf4e97660491059a239fc6f399f80c45/href</a></iframe><p><strong>10. Beyonce — Lemonade</strong></p><p>Beyonce is a master of storytelling through visual and musical mediums and Lemonade is a tour de force. If you haven’t seen it in full-length, who are you and what were you doing in winter of 2016? The album should really be experienced as one cohesive narrative, but my favorites are Formation, Sorry, and All Night</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FWDZJPJV__bQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DWDZJPJV__bQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FWDZJPJV__bQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d376ca638a7d6476038b71349229233c/href">https://medium.com/media/d376ca638a7d6476038b71349229233c/href</a></iframe><p>If you enjoyed any of these, send me comments with your own video recs 😃</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=835d64d3d544" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git toolkit for your first job as a Software Engineer]]></title>
            <link>https://medium.com/swlh/git-toolkit-for-your-first-job-as-a-software-engineer-cda3e7d2b083?source=rss-3c2b15a12f9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/cda3e7d2b083</guid>
            <category><![CDATA[bootcamp]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Michelle Berry]]></dc:creator>
            <pubDate>Wed, 17 Jul 2019 04:41:27 GMT</pubDate>
            <atom:updated>2022-01-13T02:31:13.677Z</atom:updated>
            <content:encoded><![CDATA[<h4>Commands you’ll need for working with a dev team</h4><p>When you’re new to the world of software engineering there are a few fundamental skills you need to acquire to do you job. Git is one of those skills.</p><p>I’ve now been a software engineer at <a href="http://checkr.com/">Checkr</a> for over 2 years (!), but during my first month on the job it seemed like there was an ever-expanding list of things to learn or skills I was deficient in. Like most Jr devs who had been building their own toy apps, I was familiar with basic Git commands to add and commit, but since I had never worked on a team with other engineers, I wasn’t comfortable with branching, merging, and fixing merge conflicts. Once I learned these commands I wrote a blogpost. For some reason, I never published it.</p><p>I’m managing an intern this summer, and on his first day I was reminded of all the things that were confusing to me when I first started. I dug up this old post, and decided it was still completely relevant.</p><p>*****</p><p>I started my first job as a Software Engineer at <a href="http://checkr.com/">Checkr</a> this past month. The first few weeks have been very exciting, as I’m getting to know my team and the company’s product, but they’ve also been intense. There is a huge void between the skillset I developed at <a href="https://hackbrightacademy.com/">Hackbright</a> and the skills of a professional software engineer. While there are an abundance of blogs that discuss getting into bootcamps, doing well in bootcamps, and getting a job after a bootcamp, there are far fewer resources advising bootcamp grads on how to succeed in their first job, which skills to learn, and how to go about doing so. For this reason, I wanted to document my learning process as a junior developer and share my growing technical knowledge.</p><p>I decided that Git was a good topic to start with because it’s something that all developers will use on a daily basis regardless of their company’s tech stack, and there are just a few commands that will take your git skills from novice — I can git add git commit git push and pray I don’t run into any errors — to intermediate — I’m comfortable branching, merging, and editing my commits.</p><h3>Branching</h3><p>Branching is the first essential Git concept you must learn in order to work on a software team. When working on personal projects, you can easily commit to master. But when you’re on a team with others, you only want to commit code to the central branch that has been cleaned and reviewed by your teammates. While you’re still developing and debugging code, you should commit to a personal branch.</p><p><strong>A branch takes the state of a repository at some point, splits it off, and allows you to develop and commit code without affecting the master. </strong>After your code has been approved, you can merge your changes into master and delete the branch.</p><p>When working on a team, it makes sense to name your branch using your name and a short description of what the branch is aiming to accomplish. This is how we create a new branch, called “michelle/new_feature” and switch to it:</p><p>git checkout -b michelle/new_feature</p><p>Now, if we run git branch we can see a list of all branches in the repo. To switch back to an existing branch like master, we can use git checkout master. Before switching branches, make sure to add and commit any changes on the current branch — git will complain if you don’t. Think of the checkout command as a way to “check out” edits that have been made in different branches. You can also use git checkout to view the state of a branch at a particular commit using git checkout &lt;commit hash&gt;.</p><p><strong>Warning!</strong> If you have files open in an editor like Sublime Text or Atom while switching branches, it will appear as though those files have unsaved changes. Don’t fret — your most recent edits have been safely saved and committed on your last branch, but they appear as new changes on the current branch. You DO NOT want to save these changes to your current branch.</p><p><strong>Another warning!</strong> Remember to switch to master before making a new branch (unless you intended to branch from another branch). I’ve made this mistake before, and to fix it you need to rebase onto your master branch.</p><h3>Rebasing</h3><p>Once you start working in branches you will inevitably fall behind on master; Other people on your team will commit new code to master before you’ve finished your feature. You now want to incorporate these new developments before making a pull request on your feature branch. This is where rebasing comes in.</p><p><strong>Rebasing allows you to go back in time and replay the most recent commit history, making any necessary changes</strong>.</p><p>Rebasing is used for many reasons, but let’s first solve the example I just mentioned — catching your feature branch up with master. The steps are 1) go into master and pull down the must recent changes and then 2) switch back to our feature branch and insert those changes underneath the new commits we’ve made on our branch. You are essentially replaying your most recent commits on top of master’s new history. The code would look like this:</p><pre>git checkout master<br>git pull origin master<br>git checkout michelle/new_feature<br>git rebase master</pre><pre>Before:</pre><pre>          A---B---C michelle/new_feature<br>         /<br>    D---E---F---G master<br></pre><pre>After:</pre><pre>                  A&#39;--B&#39;--C&#39; michelle/new_feature<br>                 /<br>    D---E---F---G master</pre><h4>Editing commits</h4><p>Editing commits can be very powerful, but with great power comes great responsibility. We are essentially rewriting our Git history, so we want to make sure we actually want to make changes.</p><p>One way to change our Git history is to simply edit one of our commit messages. We can do this using the -i flag for an interactive rebase session. We pass in an argument for the file <em>before</em> the one we want to change. This tells Git where to start replaying our history. In the case below, we want to edit the most recent commit, so we pass in HEAD~1 which refers to the commit <em>before </em>HEAD</p><pre>git rebase -i HEAD~1</pre><p>After entering the command above, you’ll see an option menu appear:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M85Qz7XuCMC8oADQvFN7EA.png" /></figure><p>If we select <strong>r </strong>(for reword) and save:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f_yIawkQoYmoXqDcJSR5mQ.png" /></figure><p>Git will allow us to edit the commits message in our editor:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pLu6CJe9g3DTUZj7mNZ-zQ.png" /></figure><h4>Squashing</h4><p>I was really excited about squashing my first day of work. Squashing allows you to take several commits that you’ve built up while developing and squash them into one pristine commit to put in your pull request.</p><p>Similar to editing a commit message, we use the git rebase command in interactive mode and update the verbs before each commit. We want to <strong><em>pick</em></strong> our first commit and <strong><em>squash</em></strong> subsequent commits into it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*02yqy8HZjCtN9but9a4b7w.png" /></figure><p>Git accepts abbreviations for these commands, so we can either type “s” or “squash”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FokYxHOIjqQ8Y4Ta1EjEkQ.png" /></figure><p>Once we save, Git allows us to edit the commit messages for the two commits — we can keep one message, both message, or write an entirely new message. Then Git combines the changes from the two commits and assigns a new commit hash.</p><h3>Stashing</h3><p>Stashing is another really nifty tool. It allows you to stash away some uncommitted changes in a <strong>queue</strong> and pop them off at a later time.</p><p>When might you use this? Sometimes you accidentally make some edits on the wrong branch. If you catch your error before you’ve committed the changes, you can stash the changes, move to the correct branch, and pop them off there. Another example is if you want to checkout another branch but aren’t ready to commit your changes on the current branch.</p><pre>git stash<br>git checkout -b <br>git stash apply</pre><p>Stashing is useful for storing away changes for a short period of time while you do some other task, but they’re easy to lose track of, so try to deposit them in the correct branch as soon as you can. Some other useful stash commands are git stash list and git stash show to list and inspect stashed changes.</p><h3>Conclusion</h3><p>Git is an intricate and complex software. For most software engineers, learning Git does not spark joy — you develop a medium level of competency and hope you rarely have to search the docs for something fancy to get yourself out of an intricate version control hellhole you’ve dug. However, you can accomplish most daily tasks on an engineering team with just the handful of commands I discussed above.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cda3e7d2b083" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/git-toolkit-for-your-first-job-as-a-software-engineer-cda3e7d2b083">Git toolkit for your first job as a Software Engineer</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Kafka Epic — How Checkr built a more reliable and performant background check platform by…]]></title>
            <link>https://medium.com/checkr/a-kafka-epic-how-checkr-built-a-more-reliable-and-performant-background-check-platform-by-75f00e05c3ca?source=rss-3c2b15a12f9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/75f00e05c3ca</guid>
            <category><![CDATA[event-driven-architecture]]></category>
            <category><![CDATA[message-queue]]></category>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[checkr]]></category>
            <category><![CDATA[background-checks]]></category>
            <dc:creator><![CDATA[Michelle Berry]]></dc:creator>
            <pubDate>Tue, 29 Jan 2019 21:53:36 GMT</pubDate>
            <atom:updated>2022-01-15T03:45:55.737Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>A Kafka Epic — How Checkr built a more reliable and performant background check platform by migrating to Apache Kafka</strong></h3><p>In fall of 2017, a group of Checkr engineers gathered during a hack-day event to research a bottleneck that was causing delays in our background check product. The team’s research led to a proposal: migrate Checkr’s messaging infrastructure from RabbitMQ to Apache Kafka. After some further experiments and validation, Kafka earned a spot on our technical roadmap, and in 2018 we invested heavily in the tooling and support necessary to enable a full migration. What started as a hack-day experiment, culminated in a new infrastructure platform with a much higher degree of reliability, observability, and fault-tolerance. This is the story of our Kafka journey.</p><h3>Act I: The bottleneck</h3><p>To explain the bottleneck that started us on our Kafka journey, I first need to teach you a little bit about how background checks work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*wU8cedNkpCww3-STIA3AoA.jpeg" /><figcaption>Lifecycle of an example Checkr Background Report</figcaption></figure><p>A background check is a consumer report containing one or more screenings, such as a motor vehicle report, criminal search, sex offender search, or employment verification. Each screening is supported by API requests to third party sources to retrieve information about the candidate. Some of these screenings complete quickly, but others can require a court researcher to visit a local courthouse and retrieve paper records in person. After the raw data is received from the source, records are filtered according to compliance and customer rules. At Checkr, the background check is anchored by a large <a href="https://medium.com/checkr/doubling-our-volume-while-increasing-reliability-checkrs-state-machine-83a8fd042a43">state machine</a> that deterministically controls the state of the report, screenings, and data request objects.</p><p>The data we receive from our sources has the ability to influence the state of both the screening and the report, and we receive a majority of these responses asynchronously. Consequently, we need to ensure that only one process is accessing the screening and report resources at a time to avoid race conditions.</p><p>In 2017, Checkr used RabbitMQ to deliver state machine events. Since multiple asynchronous responses for the same screening or report might be processed by Rabbit’s workers at the same time, we used a Redis-backed internal library to acquire a “lock” on the relevant object. When a worker would begin work on a resource, it would place the resource’s ID into Redis so that no other process could access it until the lock was released. This solution worked, but it came with some inefficiencies; our state machine workers encountered lock contentions semi-frequently. A lock contention would cause a message to be retried until the lock had been released, slowing down overall report completion.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/256/0*7nsdQ-qfsKYTlZN3.png" /><figcaption>Lock Errors were slowing Checkr’s report completion</figcaption></figure><p>Our team explored a couple of options to solve this locking issue with Rabbit. The first idea was to create one queue per report. However, at Checkr’s report volume (&gt; 15 million/year), it would be too cumbersome to create and garbage collect millions of queues.</p><p>The second idea was to create a static set of workers that would each work from their own unique queue. If we deterministically routed all events for a given report to the same queue, we could ensure strict ordering of message processing. However, scaling workers and queues up and down with this design posed many challenges.</p><p>This second idea is somewhat similar to the native architecture of Kafka. Unlike Rabbit’s architecture, in which messages from a queue are delivered to a pool of workers, Kafka’s topics (queues) are pre-split into partitions. The partition is the basic unit of parallelism within Kafka, so more partitions means more messages can be consumed in parallel. For a given consumer group, only one worker can process messages from a partition at a time, so Kafka’s architecture guarantees that all messages within a partition will be processed in the order they are received.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/0*GzbCqMxpLEn8KkIR" /><figcaption>Kafka’s partitioned design</figcaption></figure><p>Kafka also has a partitioning feature which allows you to deterministically route messages to a partition based on a key. If we partition on a screening’s ID, all messages related to that screening are guaranteed to be consumed by one worker in the order they were received, and we avoid lock contentions.</p><p>Switching from Rabbit to Kafka proved to be enormously successful for solving our performance bottleneck. One particular type of report saw turnaround time improvements of 87%!</p><p>Beyond performance, switching to Kafka has given Checkr a higher degree of messaging reliability due to its ‘durable’ design. Messages passing through Rabbit’s broker are ephemeral; when a message is delivered to a consumer, it disappears from the broker. Occasionally we’d drop messages, but it was very hard to debug where and why this was happening. Conversely, Kafka’s messages are saved to disk. The Kafka broker is essentially a log file and messages are retained for 7 days by default. This design helps ensure that we never lose any messages. Furthermore, Kafka consumers can read from any position in the log file. They can even replay old messages, which comes in use when bugs are introduced that cause erroneous processing.</p><h3><strong>Act II: Killing the Rabbit</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*KPjy2n8_4iIwf9g7.gif" /></figure><p>Once we validated that Kafka had solved the performance issues in our state machine processing, we had a decision to make: maintain two messaging infrastructures, or invest in tooling so we could convert entirely to Kafka. We decided we only wanted to support one messaging infrastructure at Checkr.</p><p>The first step towards migrating off of RabbitMQ was to get our Kafka tooling up to feature parity. We started with <a href="https://github.com/phobos/phobos">Phobos</a>, an open-source Kafka client library written in Ruby. Our team began contributing to Phobos, and one of our engineers became a maintainer of the project. However, we needed additional tooling and infrastructure in 3 main areas: handling of publish errors, delayed retries for consumer errors, and dead-letter handling.</p><p>We designed our Kafka tooling from the ground-up with the following principles in mind:</p><ul><li><strong>Reliability</strong>: Reliability and fault tolerance are baked into Kafka’s core design, but all systems fail. We should have a reliable backup.</li><li><strong>Observability</strong>: We should collect metrics and logs that indicate both when a system is working properly and when errors occur. Engineers should be able to easily find and query for failed messages.</li><li><strong>Usability</strong>: Engineers should be able to interact with failed messages via APIs/UIs, not custom scripts. Configuring retries should be painless.</li></ul><p>Based on these principles, Checkr’s platform team developed a client library built on-top of Phobos and a new service called Republishr. Republishr is a gRPC server written in Golang that handles both publisher and consumer errors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/0*fe6LlkhDykFktyu9" /><figcaption>Republishr Architecture</figcaption></figure><p>On the publishing side, if a message fails to be delivered to Kafka after a series of in-memory retries, our client library will route it to Republishr over gRPC, where the message is stored in a PostgreSQL database. We built a UI, backed by a gRPC API, where engineers can query for publish errors using topic and time range filters. The UI can also be used to republish a set of messages.</p><pre># Example API call to republish publish errors</pre><pre>client.republishPublishErrors(<br>  Idl::Republishr::RepublishPublishErrorsRequest.new(<br>    topic: &#39;test&#39;,<br>    start_time: &#39;2019–01–01T00:00:00&#39;,<br>    end_time: &#39;2019–01–02T00:00:00&#39;<br>  )<br>)</pre><p>On the consumer side, engineers have intuitive configuration options for marking exceptions for a given worker as retryable.</p><pre># Example consumer with a retryable exception configured</pre><pre>class MyConsumer<br>  include Phobos::Checkr::Handler<br>  <br>  RETRYABLE_EXCEPTIONS = [Timeout::Error].freeze</pre><pre>  def consume(payload, metadata)<br>  end<br>end</pre><p>If a non-retryable exception occurs, the message is sent to Republishr and stored in the db. However, if a retryable exception occurs, the message is retried in memory using the Phobos library (blocking other message processing). Next, if the message exceeds the in-memory retries, it is sent to Republishr where a Redis scheduler queues it to be republished at a later time. The number of in-memory retries, delayed retries, and exponential backoff are configurable per each consumer. Similar to publish errors, engineers can use a UI to query for consumer errors in the db and re-queue them.</p><pre># Example API call to republish consumer errors</pre><pre>client.republishConsumeErrors(<br>  Idl::Republishr::RepublishConsumeErrorsRequest.new(<br>    topic: &#39;test&#39;,<br>    consumer_group: &#39;my-group&#39;,<br>    error_type: &#39;NoMethodError&#39;,<br>    start_time: &#39;2019–01–01T00:00:00&#39;,<br>    end_time: &#39;2019–01–02T00:00:00&#39;<br>  )<br>)</pre><p>Once we completed this new tooling for a reliable Kafka messaging platform, we needed a formal process to complete the migration off of RabbitMQ. The Platform team initiated the migration on a set of the highest-volume and most business-critical queues. We documented this process and held office hours for product engineering teams to receive support on their queues. In total we migrated over 60 queues. Some additional tooling that helped make this migration successful were<a href="https://engineering.checkr.com/introducing-flagr-a-robust-high-performance-service-for-feature-flagging-and-a-b-testing-f037c219b7d5"> Flagr</a>, which Checkr uses to roll out new features, and Checkr’s<a href="https://engineering.checkr.com/introducing-checkrs-integration-testing-workflow-and-openmock-572c64209891"> integration testing framework</a>.</p><h4>Migration challenges and messaging anti-patterns</h4><p>Three interesting challenges came up during the migration that initially seemed like tradeoffs to using Kafka, but ultimately informed our messaging and microservice design philosophy.</p><p><strong><em>Message size</em>:</strong></p><p>When Checkr used Rabbit as a message bus, we tended to send large payloads containing multiple data resources between services. Rabbit has no limit on message size, but Kafka imposes a 1MB restriction by default. Increasing the default can affect messaging throughput and performance. In order to start migrating these queues to Kafka, we built a custom message compression feature. However, sending full payloads through a message bus promotes coupling between microservices and conflicts with Martin Fowler’s concept of “<a href="https://martinfowler.com/articles/microservices.html#SmartEndpointsAndDumbPipes">smart endpoints and dumb pipes</a>”. Now we aim to send simple event messages that mostly contain object references and are agnostic to downstream consumers.</p><p><strong><em>Message processing time:</em></strong></p><p>We used Rabbit to process some lengthier jobs, e.g. &gt; 2 minutes, but slow messages can cause trouble with Kafka. Because of Kafka’s partitioned design, slow messages block processing of all other messages in the same partition, which lowers throughput. Additionally, unless you are using a client library that supports background heartbeating, a message that exceeds the session timeout will throw an error. As Checkr’s report and screening volume scales, it is important to keep message processing latency down so that we can handle the throughput. Many of our lengthier processes were in fact better suited for background job processing than event consumption.</p><p><strong><em>Idempotency:</em></strong></p><p>Idempotency was not top of mind in our Rabbit consumers unless the business logic they contained was particularly sensitive to duplicates. Kafka guarantees at-least once delivery, meaning that messages might be delivered more than once on occasion. Most commonly, Kafka will process duplicate messages during deploys when consumers are leaving and re-entering their group, which is known as “consumer rebalancing”. Thus, Kafka encouraged us to make more resilient and fault-tolerant design decisions that include idempotency.</p><h3>Epilogue: An event driven future</h3><p>Although Checkr first considered Kafka as a solution to our state machine processing bottleneck, it now commands a broad influence on the whole engineering org. Product engineering teams are building new features using microservices backed by Kafka events, and our data team has integrated Kafka into their <a href="https://medium.com/checkr/how-checkr-built-scalable-data-infrastructure-in-a-few-months-d8fe7b4fb5df">data infrastructure pipeline</a>.</p><p>If you’d like to learn more about our Kafka journey or if this sounds like the kind of work you’d like to do, drop us a line! This year, we’re investing heavily in our platform architecture, maturing our microservices ecosystem, and building/supporting open-source tools. We’re hiring on all teams including Platform, Data, DevOps, and Product engineering. You can check out our open listings <a href="https://checkr.com/careers/">here</a>.</p><p>Thank you to Ziru Zhu, <a href="https://medium.com/u/659c3ec5fba6">Zhuojie Zhou</a>, <a href="https://medium.com/u/f3dcfc2db277">Jason Dougherty</a>, and <a href="https://medium.com/u/ce10cd23e690">Eric Psalmond</a> who all contributed to this work and gave feedback on this post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75f00e05c3ca" width="1" height="1" alt=""><hr><p><a href="https://medium.com/checkr/a-kafka-epic-how-checkr-built-a-more-reliable-and-performant-background-check-platform-by-75f00e05c3ca">A Kafka Epic — How Checkr built a more reliable and performant background check platform by…</a> was originally published in <a href="https://medium.com/checkr">Checkr Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Just-In-Time for Ruby 2.6, an explanation of compiled and interpreted languages]]></title>
            <link>https://medium.com/@mich_berr/just-in-time-for-ruby-2-6-an-explanation-of-compiled-and-interpreted-languages-4fd021e7a58?source=rss-3c2b15a12f9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fd021e7a58</guid>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[jit]]></category>
            <category><![CDATA[compilers]]></category>
            <category><![CDATA[interpreters]]></category>
            <dc:creator><![CDATA[Michelle Berry]]></dc:creator>
            <pubDate>Sat, 05 Jan 2019 22:44:25 GMT</pubDate>
            <atom:updated>2022-01-13T02:37:51.751Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NMklqW9FGidfEbXC.png" /><figcaption>Image from <a href="https://blog.heroku.com/ruby-just-in-time-compilation">https://blog.heroku.com/ruby-just-in-time-compilation</a></figcaption></figure><p>Ruby 2.6 was <a href="https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/">released</a> a couple of weeks ago, featuring a brand new Just-In-Time (JIT) compiler . You can read up on the details of this new feature <a href="https://medium.com/square-corner-blog/rubys-new-jit-91a5c864dd10">here</a>, but if you’re looking for more background, I thought it would be helpful to give an introduction to the differences between interpreted and compiled languages and how JIT fits in.</p><p>First, what is a programming language? All languages are abstractions of <strong>machine code</strong>. Machine code is composed of bits — 0s and 1s — that can be stored and operated on by your machine’s hardware. It would be very inefficient for a human to read and write binary, which is why we invented programming languages.</p><p>The difference between interpretation and compilation lies in how a program written by a human is converted into executable instructions. Compilation and interpretation are two different strategies that can be used to translate the code you write into the code a machine reads. As we’ll see when we get to the discussion of JIT, the lines between compilation and interpretation are becoming increasingly blurred.</p><h4>Compilation</h4><p>Put simply, compilation is the translation of a higher-level programming language into a machine’s language.</p><p>Let’s use C as an example of a language that is typically compiled. To run a C program, one must use compiler software, like gcc or clang, to compile the C source code into the appropriate machine code for your computer. Importantly, different computers have different<strong> CPU architectures, </strong>meaning that one computer handles the computation of 0s and 1s differently than another. A compiler translates source code into machine code for a specific architecture. Once your code is compiled, it can be run as many times as you’d like on any system with the same architecture, but if you update the source code, or want to run your program on a machine with different architecture, you will need to recompile.</p><p>A good analogy for a compiler is a human language translator. Similar to how a translator would translate a Spanish book into English, a compiler translates source code written by a human into machine code. Once a book has been translated, any English speaker can read it. However, if there are changes to the Spanish version, the English version will have to get retranslated and republished as well.</p><h4>Interpretation</h4><p>Unlike compilers which pre-translate source code into machine code before a program runs, interpreters translate code as they are executing it, line-by-line. Continuing with the previous analogy, computer interpreters are like, well, interpreters. They serve as the interface between a Spanish and English speaker interacting in real time, interpreting the language sentence by sentence.</p><p>Let’s use Ruby as an example of an interpreted language. Ruby 1.8 and earlier versions utilized Ruby utilized Matz’s Ruby Interpreter (MRI), which behaved as described above. It read in each line of Ruby, parsed and tokenized it, and then used a tree-based data structure to execute it. However, starting in version 1.9 (ca. 2011) Ruby switched to an implementation called YARV (Yet Another Ruby Virtual Machine). In this implementation, Ruby is pre-compiled into a simpler form consisting of <strong>bytecodes</strong>, named because they occupy 1 byte of memory. As a very simplified example, 2 + 3 would be converted to the bytecode for addition and would accept 2 and 3 as arguments. Once Ruby is converted to bytecode, a virtual machine executes the code line-by-line. Converting source code to bytecode offers significant speed advantages.</p><p>Python also utilizes bytecode, and in Python you can directly observe it in the .pyc files your program spits out. These files function like a cache; if the Python program is run again without changes, it can skip the compilation step and go straight to execution. While Ruby is also compiled to bytecode, its bytecode is only stored in memory rather than printed to a file.</p><h4>Just-In-Time compilation</h4><p>I just described how some contemporary interpreted languages now involve a bytecode compilation step, but there’s yet another way that compilation and interpretation are starting to blur, called Just-In-Time compilation.</p><p>The most popular Just-In-Time compiler is the <strong>Java Virtual Machine (JVM). </strong>Java is a statically typed language that can be directly compiled to machine code, but is commonly interpreted via the JVM. In the latter case, Java is compiled to Java bytecode by the Javac compiler, and then interpreted by the JVM. However, the JVM doesn’t interpret the bytecode line-by-line. Instead it tries to compose meaningful chunks of code, such as functions, all at the same time. It takes slightly longer to determine how to compose these chunks of code, but the execution is more efficient. This process is called Just-In-Time compilation, because it behaves like a compiler would, except it compiles <em>at runtime</em>. The benefit of using the JVM is that it retains some of the performance features of compiled languages, while making Java portable to different machine architectures like an interpreted language. Java is the most popular language in the world, in large part because of the success of the JVM.</p><p>In addition to the JVM, there are other VM projects that make use of JIT compilation. <a href="https://pypy.org/">PyPy</a> is an example of a python interpreter with JIT, and of course Ruby now ships with an optional JIT feature.</p><h3>Tradeoffs</h3><p>Now that you have an introduction to Compiled vs Interpreted languages, what are the tradeoffs to each?</p><h4>Speed</h4><p>Compilation is generally much faster than interpretation. A compiled C program might execute a couple orders of magnitude faster than an interpreted program in Python or Ruby. However, Java’s hybrid JIT solution is quite efficient and runs can be nearly as efficient as a compiled program written in C.</p><h4>Portability</h4><p>In order to run your compiled program on a different machine’s architecture, you would need to recompile it. When a language is interpreted, it ships with it’s own instruction set that handles the specifications of your machine’s hardware architecture. The JVM is a good example of a technology that combines interpretation and compilation to maximize both the speed and portability of its language.</p><h4>Dynamic vs Static typing</h4><p>Since compilers have to translate and compose their programs directly into machine instructions, they are much more rigid. When declaring a variable, the compiler needs to know exactly what kind of variable it is and how much memory to allocate. This is why compilation generally requires static typing. In contrast, interpreters execute their programs line-by-line, so they can behave more flexibly.</p><p>In ruby, we can run write something like 2 + 3 or &quot;a&quot; + &quot;b&quot; and the interpreter will determine the type of the objects at runtime and call the right method for either integer addition or string concatenation.</p><h4>Bugs/Debugging</h4><p>Debugging is often easier with interpretation, because the program will execute until it encounters the error. An interpreter will notify the user exactly which line caused the runtime error, whereas bugs in compiled programs can be much more cryptic.</p><h3>FAQs</h3><p><em>Why is referring to a language as “interpreted” or “compiled” a misnomer?</em></p><p>Languages are defined by their syntax and data structures. Compilation and interpretation are two examples of implementations, e.g. a process to convert language syntax to a form that can be run on hardware. Languages are not inherently “interpreted” or “compiled”; the same language can be implemented using either approach.</p><p><em>Why then do people refer to Python as an “interpreted language” and C as a “compiled language”?</em></p><p>They are referring to the most common implementation/distribution of the language. However, Python can also be compiled and C can also be interpreted!</p><p><em>What is a virtual machine?</em></p><p>A virtual machine is anything that behaves abstractly like a computer, meaning it accepts as input a series of instructions, but is implemented through software as opposed to hardware. One common use of virtual machines is to run the OS of another system on a computer. For example, you own a windows laptop, but you want to emulate a linux operating system. You would utilize a software program that can covert between the OS of the system you want to run and the architecture of your physical computer. This is called a “system virtual machine”.</p><p>Not to be confused with the previous example, there are also “process virtual machines” e.g. the Java’s virtual machine (JVM) or Ruby’s virtual machine (YARV). These would be considered virtual machines because they accept an instruction set for executing bytecodes. The advantage of these VM’s are that they abstract away the hardware and provide a platform-independent programming environment.</p><p><em>Why do people generally refer to Python and Ruby as having interpreters whereas Java has a virtual machine? Doesn’t an interpreter also fit the definition of a virtual machine?</em></p><p>This distinction between an interpreter and virtual machine is mostly semantic or a “social construct” as this <a href="https://news.ycombinator.com/item?id=8559085">person</a> phrased it. I think an interpreter fits the definition of a virtual machine. Even with a more constrictive definition, both Ruby and Python’s interpreters include a virtual machine that interprets bytecodes. Definitions aside, the JVM is fundamentally different from either the Ruby or Python interpreter. I’ve touched on a few of the reasons here, but the rest are beyond the scope of this article.</p><p><em>Why does compiling a language to bytecode before interpretation make it faster?</em></p><p>Bytecodes take up less memory than the full source code and are easier for the interpreter to execute. Indeed, when a language is compiled to bytecode, the interpreter has to parse everything once and convert it to bytecode, then reparse the bytecode to execute it. For simple pieces of code, this intermediate step does increase the total execution time by a small amount. However, for code that is executed repeatedly, think loops or reused functions, the bytecode step adds a significant speed advantage.</p><h3>Further Resources:</h3><p><strong>BaseCS</strong>, a great blog on fundamental programming concepts: <a href="https://medium.com/basecs/a-deeper-inspection-into-compilation-and-interpretation-d98952ebc842">https://medium.com/basecs/a-deeper-inspection-into-compilation-and-interpretation-d98952ebc842</a></p><p><strong>Ruby Under a Microscope</strong>, a great in-depth book on Ruby’s internals, accessible to programmers with limited C exposure: <a href="http://patshaughnessy.net/ruby-under-a-microscope">http://patshaughnessy.net/ruby-under-a-microscope</a></p><p><strong>Computer Architecture course at Bradfield Academy,</strong> superior in-person course on computer architecture concepts: <a href="https://bradfieldcs.com/">https://bradfieldcs.com/</a></p><p><a href="https://medium.com/u/7147db7866ab">Tyler Elliot Bettilyon</a>’s <strong>youtube video</strong>, Tyler was my instructor at Bradfield and one of the best humans on the planet at explaining CS concepts https://www.youtube.com/watch?v=KsZLPTRSleI</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fd021e7a58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying Recursion:]]></title>
            <link>https://medium.com/@mich_berr/demystifying-recursion-38f569b52335?source=rss-3c2b15a12f9e------2</link>
            <guid isPermaLink="false">https://medium.com/p/38f569b52335</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[recursion]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[hackbright-academy]]></category>
            <category><![CDATA[tail-recursion]]></category>
            <dc:creator><![CDATA[Michelle Berry]]></dc:creator>
            <pubDate>Fri, 31 Mar 2017 19:17:45 GMT</pubDate>
            <atom:updated>2022-01-18T21:47:46.758Z</atom:updated>
            <content:encoded><![CDATA[<h3>Demystifying Recursion</h3><p>I recently graduated from <a href="https://hackbrightacademy.com/">Hackbright Academy</a>’s Software Engineering Fellowship for women. In 10 weeks, Hackbright teaches its students how to build a functioning web application (<a href="https://hackbrightacademy.com/blog/amazing-web-apps-built-43-brilliant-women-engineers/">Check out the apps built by my amazing colleagues</a>) and it also teaches fundamental CS topics like data structures, algorithms, and recursion. This was a lot of information to cover in a short amount of time, and the topic that I and my peers seemed to struggle with the most was recursion.</p><p>I wanted to write this blog post to share the insights I’ve had while learning recursion and hopefully demystify its seemingly magical properties. This blog will be most helpful for learners who have tried a few recursive problems on their own but don’t feel fully comfortable with it yet.</p><p>First, what is recursion? It’s a function that calls itself. That’s it!</p><p>Because a recursive function calls itself, it needs a <strong>base case</strong>. Otherwise, the function would call itself for ever. Eventually you will run out of memory on your stack (the part of your computer’s memory that’s allocated for function calls), and this is called <strong>stack overflow.</strong></p><h4><strong>My thesis:</strong></h4><p>Most of us cannot keep track of the full call-stack in our head. Therefore, recursion, like most engineering problems, is about pattern matching. This means that with exposure to different recursive patterns and enough practice, anybody can do it well. Often, instructors and interviewers encourage you to “think about the base case and the recursive case”, as if the intuition behind those things should be obvious. Well, from my experience, it’s not. That is, <em>until</em> you’ve had enough practice with different recursive patterns. I will now demonstrate several common recursive patterns with examples in Python.</p><p>The first three patterns solve the same problem: counting the number of items in a list. The easiest way to solve this problem is to use the python built-in <em>len()</em> method for lists, but let’s assume we don’t have that at our disposal. We could solve this problem iteratively:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/34ccbe90bc8c074df5ee8100917321ad/href">https://medium.com/media/34ccbe90bc8c074df5ee8100917321ad/href</a></iframe><p>Now let’s think about how to solve this problem recursively. The first thing I want to emphasize is that whenever we work with iterables like lists or strings in a recursive function, we probably want to use slicing to make progress. Think about it, how can we break down a problem involving a long iterable into an easier problem? Break it down into successively smaller iterables until we reach a trivial case — e.g. an empty list or empty string.</p><p>More importantly, there isn’t only one solution to this. I will now highlight three different recursive patterns to solve this problem.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd695e551dc73a27ab758bcfcf826513/href">https://medium.com/media/dd695e551dc73a27ab758bcfcf826513/href</a></iframe><h4><strong>Pattern 1: The result is built-up in the return statement</strong></h4><p>The first solution works by adding the count,<strong> </strong>along with the sliced list,<strong> </strong>in the return statement. Essentially, it adds 1 every time we recurse, and we recurse n-times.</p><p>If our list was [1, 2, 3], our function calls would look like this:</p><pre>1 + [2, 3]<br>1 + 1 + [3]<br>1 + 1 + 1 + []<br>1 + 1 + 1 + 0</pre><p>The only nuance here is the base case<strong>.</strong> Our base case is reached when we have an empty list. We need to return something from this call, otherwise we never stop recursing. But what? It <em>must</em> be an integer, because if we return something else like <em>None</em> or an empty list, we will raise an error when we try to add it to our other function calls. Therefore, we return zero.</p><p>This recursive pattern is good for solving problems that we could otherwise solve by iterating with a for-loop and appending or adding something at each step. In the same way you might think about looping over an iterable, think about returning [the result of the current item] + [the function called on the rest of the iterable]. Some other problems that easily lend themselves to this same pattern are <a href="https://github.com/michberr/code-challenges/blob/master/sum_recursive.py"><strong>summing the numbers in a list</strong></a> and <a href="https://github.com/michberr/code-challenges/blob/master/reverse_string_recursive.py"><strong>reversing a string</strong></a>.</p><h4><strong>Pattern 2: The return value is a function argument</strong></h4><p>In solution 2, we pass the thing we want to return — the count variable — as an argument<strong> </strong>to our function. This pattern is an example of something called <strong>tail recursion</strong>, and this argument has a special name, the <strong>accumulator</strong>.<strong> </strong>What distinguishes tail recursion from traditional recursion, is that the final function-call contains everything that’s needed to make the final return statement. In this example, we return the value of the count variable at the last call, and we disregard values from the previous function calls. Accumulator variables are common in tail recursive solutions, but they are not strictly necessary.</p><p>In some languages, like Scheme and JavaScript, tail recursive solutions have a memory optimization advantage over traditional recursive solutions. Think about it, we can forget about all of the other functions being stored in the call stack and only retain the most recent call in memory. However, Python is a language that doesn’t allow for this optimization, because its creator, Guido Van Rossum, preferred it to have proper function tracebacks for debugging purposes.</p><p>In this example, our function calls for [1, 2, 3] looks like this:</p><pre>count_recr2([2,3], count=1)</pre><pre>count_recr2([3], count=2)</pre><pre>count_recr2([], count=3)</pre><h4>Pattern 3: Accumulate the count in a variable, aka WTF???</h4><p>This particular pattern is a real mind-bender. Doesn’t the count variable get reset to 1 every time you call the function? Yes, yes it does. But herein lies the magic of recursion. Every recursive call is a separate function call, and as such, it maintains its own set of local variables. This means that for the list [1, 2, 3], there are three different frames on the call stack, each with a variable called count, set to the value of 1. When we reach our base case, we return zero. Then, our function at the top of the stack returns 1 to the previous function and so on, until all of the counts have accumulated into our count variable from our first function call. I’m still incredulous about this one, but it helps to visualize it in the <a href="http://www.pythontutor.com/"><strong>python visualizer</strong></a>.</p><p>This solution is essentially the same as<strong> solution 1</strong>, except the count is stored in a variable before it is returned. However, I wanted to use this example to illustrate how variable scope works within a recursive function. It also appears in the next example. . .</p><h4>Pattern 4: When recursion meets iteration</h4><p>Another confusing pattern for me, personally, was recursive functions that included iterative loops. This pattern comes up when you have some sort of nesting. In the example below, we want to count the number of nodes in a tree. A node’s children are stored in a list, so we need to iterate through each of the children. Then, for each child, we need to traverse and count their respective children.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bc525003ef805efbf34acb6257a4d88b/href">https://medium.com/media/bc525003ef805efbf34acb6257a4d88b/href</a></iframe><p>Notice, this code very closely resembles <strong>Solution 3</strong> from above when we counted items in a list.</p><p>One important thing to watch out for when using a loop inside of a recursive function is the return statement. If we return inside of a for-loop, it won’t complete the loop. This is why patterns 1 and 2 don’t work well with this example. Just remember, don’t return inside of a for loop unless you’ve hit your final “win” or “loss” case. Other coding problems that use this pattern are <a href="https://github.com/michberr/code-challenges/blob/master/tree_traversal_recursive.py">depth-first-search</a> and <a href="https://github.com/michberr/code-challenges/blob/master/permutations.py">generating permutations</a>.</p><h4>Pattern 5: inner recursive functions</h4><p>This last example shows how and why you might use a recursive function inside of a non-recursive function. This pattern is useful when you need to traverse a data structure<em> and</em> then do something else that depends on the object in the initial call. The traversal is easy to code recursively, and the last steps can be defined in the outer, non-recursive function.</p><p>The example I’ll use here is reversing a linked list in place. We traverse our linked list and swap the direction of each arrow with every recursive call. However, when we’ve reached the end of our list, we need to update the original list’s head. This last part needs to be solved outside of our recursion, because inside of our recursive function we pass in a new instance of a linked list every time. By the time we’d reach the end of our linked list, there would be no way to refer back to the initial instance and change it’s head.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1321e78056af54bedf44a393aa91624a/href">https://medium.com/media/1321e78056af54bedf44a393aa91624a/href</a></iframe><h4><strong>Conclusion</strong>:</h4><p>Becoming familiarized with these and other recursive patterns will make solving recursion problems easier. For any given recursion problem, think about which pattern it most resembles. Keep in mind that there are often multiple patterns that could work. I’ve found that the best way to practice recursion is to solve a problem iteratively, then solve it recursively, and then try to solve it again with another recursive pattern. In fact, I’ve learned the most from lengthy reflection on why certain patterns fail for certain problems. This way, you can test the boundaries of each pattern. Good luck and happy recursing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38f569b52335" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>