Elektrine lite

โ† Feed

David Ruffner has moved

davidruffner@raphus.social

<p>I have moved to masto.nyc to be on a more local instance. My new account is <span class="h-card" translate="no"><a href="https://masto.nyc/@davidruffner" class="u-url mention">@<span>davidruffner</span></a></span>. The profile page is <a href="https://masto.nyc/@davidruffner" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">masto.nyc/@davidruffner</span><span class="invisible"></span></a></p><p>I&#39;m trying to make sense of my world and am interested in learning from others and sharing my two cents.</p>

Posts

  • Post #2386756

    I learned today from a coworker that in python you can use slice indexing to insert a list into another list. For example: ``` a = [0,1,2,3] b = [8,9] a[1:1] = b print(a) # [0, 8, 9, 1, 2, 3] ``` It works but seems strange to me. It makes sense that the index 1 position of the `a` list gets filled in with the first entry from the `b` list, but then this previously index 1 value is remembered and gets appended to the end of the `b` list. It&amp;#39;s not obvious to me. I intend to look into the...

  • Post #1875175

    I rode my bike to the May Day rally and march in Newark today. Some good things: - It felt great to have solidarity with other people determined to change the current situation. - The weather was fantastic, blue sky, mild temps and sunny. - I was able to make it despite an issue with my bike tire, my phone dying, and not initially finding the protest. As I was about ready to give up and head home, I found the group marching and joined right in. - There were drums and lots of good chants. Lots of...

  • Post #1769218

    The Hell Mary. A more aggressive name for the long pass that sometimes happens at the end of American football games. The Diarrhea of a Wimpy Kid. A more graphic name for the well known kids book. ๐Ÿ˜„ #parenting

  • Post #1769212

    &amp;quot;Just as you shouldn&amp;#39;t let others&amp;#39; judgements deter you, don&amp;#39;t let them define your metrics of success. We can&amp;#39;t control whether we live up to others&amp;#39; expectations, but we can control whether we live up to our own&amp;quot;. I was inspired by this article by Kelli Hendrickson. I definitely feel the pressure of other people&amp;#39;s definition of success, as I navigate the next phase of my career. It&amp;#39;s encouraging to see someone go their...

  • Post #1707791

    The azaleas in our yard are blooming! I love the abundance of flowers. #bloomscrolling

  • Post #1656544

    My coworker and I figured out a nasty bug in our own code yesterday. It was one of those &amp;quot;works on my machine&amp;quot; situations. We ended up using some of the strategies from @b0rk &amp;#39;s zine, The Pocket Guide To Debugging, https://wizardzines.com/zines/debugging-guide/. We worked together, reproduced the bug, made a minimal example, identified and answered small questions, kept a log book, and analyzed the logs (a report from running the command). Eventually we solved it, and i...

  • Post #964011

    Three good things from today: - I decided to sleep in (a little) today and the kids didn&amp;#39;t wake me up, despite it being Easter. - My friend reached out yesterday with a short video message just to say hi. ๐Ÿ˜Š. We message d a little today and it was great to catch up. - We visited my wife&amp;#39;s family today and had a yummy meal together. Our kids and my brother-in-law&amp;#39;s kids had a fun time playing together and doing an Easter egg hunt. #threeGoodThings #easter