Page 1 of 26
>     >>

The Gist That Keeps On Giving

 I’m working with git and make a big boo-boo.

Now I’m facing a situation where I’ve deleted a local branch with all my work and there’s no backup on GitHub.

“This is git. There has got to be a version of this things still on my computer somewhere, right? RIGHT?!”

So I start searching online: “how to recover a deleted branch in git?”

A few results later, I find this gist.

Not one to copy/paste CLI commands straight off the internet (cough rm -rf / cough) I read through the script.

git reflog

Idk what that is, but yes, I should be flogging myself after what I just did.

What else is in here?

git checkout

Yeah that seems fine. What else?

git branch

Ok, that’s not dangerous.

Yeah I think I can give this a shot.

A few commands later and the work I thought was gone forever is restored to my computer. Hallelujah!

Now, one of the principle rules of the internet is: “Don’t read the comments.” But that’s where I go because this gist just saved my life.

And apparently not just mine. Other folks are saying the same thing:

  • “you saved my life”
  • “Thank you so much, you saved me”
  • “Still saving lives in 2023”
  • “Still saving lives in 2024! Thank you so much!”

And not just lives. Saving asses too:

  • “This post just saved my ass! Thank you”
  • “You saved my ass as well!!!”
  • “Another ass saved here.”

And time:

  • “Thanks for this, it just saved me one month of work.”
  • “saved me, i was gonna work all weekends.”
  • “Thanks a lot! You saved me a week's worth of work!”
  • “you have saved me a months worth of work”

One commenter even went so far as:

  • “You deserve a Noble Peace Prize”

I love it!

Seeing as it saved my butt, I also commented on the gist.

And because I commented, I’ve since been subscribed to further comments on the gist. And you know what? I kinda like it. I haven’t unsubscribed yet. It’s so fun. Every so often I get a new email notification from someone who commented on the gist, pouring out their gratitude.

Spread the love. As Jeremy says in “Our Web”:

Tell someone that you liked something they put on the web. You’ll feel good. They’ll feel even better.


Reply
Jim Nielsen's Blog

13 May 2024 at 20:00

Nothing: The Illustrated Story of How John Cage Revolutionized Music Through Silence

 

“We make our lives by what we love.”


Nothing: The Illustrated Story of How John Cage Revolutionized Music Through Silence

“After silence that which comes nearest to expressing the inexpressible is music,” Aldous Huxley wrote. Silence is greater than music because it is its central organizing principle, the way the negative space around an object is what gives it a shape, the way you love someone for what they are not — the person who will not break a promise, the person who will not pass a collapsed bicycle without picking it up, the person who will not interrupt your reverie but will instead wait silently beside you until you open your eyes, is a particular kind of person, and it is each other’s particularity that we love. Just as a person is composed of their nos even more so than their yeses, sound becomes music through the silences between its notes — or else it would be noise.

Four days before his fortieth birthday, John Cage (September 5, 1912–August 12, 1992) instantly and permanently broadened the meaning of music by deepening our relationship to silence with the premiere of his now iconic composition 4’33”, inspired by his formative immersion in Zen Buddhism and “performed” by the virtuoso pianist David Tudor in a barn-like concert hall in Woodstock, New York — four minutes and thirty-three seconds of pure silence, suddenly rendering musical the ambient sounds of ordinary life.

Writer Nicholas Day and artist Chris Raschka bring the story of this quiet revolution to life in Nothing: John Cage and 4’33” (public library) — a spare, vibrant serenade to Cage’s masterpiece and its lasting existential echoes, challenging our most basic assumptions about what makes anything itself.

The story begins and ends with Tudor sitting at the piano that fateful summer evening in 1952, but in the smallness and stillness of that moment myriad questions about the nature of sound and the nature of attention come abloom, questions about how to listen and what to listen for, about who it is that does the listening, about the very nature of the self.

In the biographical afterword, Day writes:

What is music?
What is silence?
Can silence be music?
Can music be silence?

[…]

Are there even answers to these questions?
For Cage, the questions were always the important part, because the questions were more interesting than the answers. The questions often led to more questions, instead of answers.

Like Beatrice Harrison, Cage was taken to a concert as a small child and stood in the aisle spellbound through the entire performance. He fell in love with sound long before he took his first music lesson. In a sentiment common to everyone who puts anything of beauty and substance into the world, Cage would later reflect:

We make our lives by what we love.

Complement Nothing with Kay Larson’s exquisite meditation on John Cage, Zen Buddhism, and the inner life of artists — one of the finest books I have ever read — and Cage’s symphonic love letters to the love of his life, then revisit other wonderful picture-book biographies of cultural icons: Keith Haring, Maria Mitchell, Margaret Wise Brown, Emily Dickinson, John Lewis, Ada Lovelace, Louise Bourgeois, E.E. Cummings, Jane Goodall, Jane Jacobs, Frida Kahlo, Louis Braille, Pablo Neruda, Albert Einstein, Muddy Waters, Wangari Maathai, and Nellie Bly.

Illustrations © Chris Raschka courtesy of Neal Porter Books/Holiday House Publishing; photographs by Maria Popova


donating = loving

For seventeen years, I have been spending hundreds of hours and thousands of dollars each month composing The Marginalian (which bore the outgrown name Brain Pickings for its first fifteen years). It has remained free and ad-free and alive thanks to patronage from readers. I have no staff, no interns, no assistant — a thoroughly one-woman labor of love that is also my life and my livelihood. If this labor makes your own life more livable in any way, please consider lending a helping hand with a donation. Your support makes all the difference.


newsletter

The Marginalian has a free weekly newsletter. It comes out on Sundays and offers the week’s most inspiring reading. Here’s what to expect. Like? Sign up.

The Marginalian

13 May 2024 at 17:30
#

Working on something new to show this Friday for Micro Camp. Pulled it off the back-burner, it’s a feature we’ve talked about at least a few times since last year.

Manton Reece

13 May 2024 at 17:26
#

Trump avoided email, because of a fear of creating a paper trail, potentially for prosecutors, he testified.

Dave's famous linkblog

13 May 2024 at 16:44

The power of control

 

You know, I’ve found a pretty effective way to reduce my addiction to certain websites: blocking them at the DNS level using NextDNS. It’s a trick I picked up after realizing I was spending far too much time on Hacker News (my addiction to that is gone for quite some time already!). And now? I’ve extended it to a forum I used to frequent multiple times a day.

Sure, there was a time when I learned a lot from it. But now? It feels like I’m stuck in a loop, hearing the same old stuff and discussions over and over again. Plus, I’ve noticed more and more that some guys (yes, all male) there have views that are completely opposite to mine. And while I understand that you shouldn’t live in a bubble, constantly having to deal with people who have different viewpoints and values? It’s exhausting.

However, here’s the good news: cutting out all that noise has given me time and mental space to focus on things I actually enjoy. Like, I’ve been diving into refactoring parts of GoBlog lately, and let me tell you, it’s been refreshing. It’s like reclaiming a piece of myself that I’d lost in the endless scroll of this forum.

Interactions & Comments

Jan-Lukas Else

13 May 2024 at 16:02

we don’t get to choose our memories

 Today we had the big family reunion I’ve been waiting for all these years. My mom’s older sister came with her husband, as did my mom’s uncle (my grandma’s little brother).

My late uncle’s wife and daughter (my cousin) kindly joined us too. I mentioned how much I wanted to see my cousin in an earlier post. When we went to my uncle’s apartment with strawberries in hand to visit her I felt bad seeing the eye bags and stress lines written all over their face. In spite of all that, they invited us in and told us their side of the story while shedding tears. The details of his precipitously declining health and death were gruesome; I had to bite my tongue to keep from crying. I can’t imagine the whirlwind of emotions the last month has been for them.

That said, I was still really glad to see my cousin. The last time I visited she was still taller than we were; I tower over her now. She’s somehow thirty years old (oh, how time flies), and just as kind and personable as I remember. When we left she said the next time she’ll see us is probably going to be one of our weddings, if she can figure out the visa situation. I wish I got to see her more. I think we’d make good friends.

My mom’s older sister plays Cool Aunt. She’s the most outgoing and affectionate of my mom’s siblings, always going out of her way to ask my brother and I lots of questions without overstepping boundaries. She dotes on us like we’re children while speaking to us as equals. We’ve talked for only a few hours in my entire life but when she looks me in the eye I feel like she just gets me. Maybe her relationship with my mom helps her understand me better too. She’s another member of the family I wish lived closer to me. (As an added bonus, her husband is also easy to talk to, and feels as close as any blood relative.)

My mom tells me my aunt is also unwell from the stress of taking care of my uncle. When he first got sick she was the one who drove him to the hospital and paid for all the bills and took care of everything. Uncle’s wife didn’t even know what was going on. My heart swells thinking about how much she ran herself ragged this past month out of love for her older brother. To have all that work end in abrupt death must be crushing.

Since today is Mother’s Day we had to sit at home and wait for our late lunch reservation time to come around. The language barrier and cloud of grief hanging over the room made it harder to catch up with my cousin and aunt, but we tried our best. Many of the words and phrases I want to say snag when I try to get them out of my mouth, though even in that short hour or two before lunch I can feel myself beginning to smooth out the wrinkles in my Mandarin. My cousin’s English fills in the blanks and we have a rare conversation about cultural differences and work.

My cousin started her own business which sells electric equipment on Amazon and is doing quite well now, from what I’ve been told. She’s a gem of a person. I wish I could have better expressed my sympathy and admiration to her but how do you say such things to a mourning cousin you last saw as a child when you don’t even share a common tongue?

In Chinese we have different words for all the different family members on each side of the family. The maternal grandfather is called laoye (姥爷), the paternal one yeye (爷爷). I really like this distinction, and wish the other languages I spoke carried this level of detail. In English when I say my aunt you have no idea if I’m referring my mom’s older sister or my dad’s younger one. In Mandarin we distinguish between all of them by calling them big/small and the corresponding maternal/paternal term of reference.

I tell you all this because hearing my cousin call my laoye her yeye made me realize that what for me is the mother’s side of the family is for her the father’s side. I don’t know why this surprised me as much as it did. The father’s side has a reputation for being the worse/distant side so it’s strange for me to consider that the better half of my family could be the worse half for someone else.

While the ten of us sat around waiting in the living room for lunch, I couldn’t shake the feeling that all of us were just sitting around waiting to die. That’s what it feels like my grandparents are doing, at least. The only difference between them and us younger ones is that we keep running around and distracting ourselves from having to think about waiting for death. But we’re all barreling toward its door all the same.

The ten of us there in that room is, I think, the most of my family I’ve seen together at a time. I’ve never even seen any member of my dad’s side with one from my mom’s side at the same time. Since we’re all scattered across the globe, partial family reunions are the best we can do. I would absolutely love to see all thirty or forty something of them mingling in one room, but sadly it’ll likely remain a pipe dream for the rest of my life.

🥠

One question I’ve been mulling in my head as I travel is whether I’ve been faithfully representing my experiences here. I try to write about the most noteworthy moments, which often means I present a version of things that skews negatively. Am I being too harsh? Will I look back at these entries and think that I was more sad than I actually was? I wish there were some way to make the subjective objective, a way for me to respond to “how was your trip?” with something other than a simple good or bad, but alas. As Ada Limón put it, “you can’t sum it up / A life.”

Misu, if you’re reading this from the future, I want you to know that while I’ve definitely had my fair share of unpleasant memories here (many of which have nothing to do with China at all, and everything to do with my neuroses and traumas), I’ve also had many happy moments. Seeing my family again after so long and actually connecting with them. Spending occasional non-fighting time with my brother and mother and getting to peek through their shells. Marveling at how beautiful and vast China is. I don’t want you to get the sense that it’s been all doom and gloom. There’ve been so many little moments of wonder; I just don’t have the time or energy to write about them all.

(A shocker, I know.)

This last bit was inspired by this Goodreads comment I came across.

The memories we have are like family. We do not choose them. They choose us. They follow us and we follow them.

I don’t know why I’ve never thought about this, but it’s true. I have no idea why certain memories stick out so vividly in my memory when other more momentous moments are lost.

Supplementing my memories with written accounts like these means that I also have to think about how I extract meaning from these experiences. I inevitably have to highlight some moments at the expense of others. While I embrace the power to shape the written records in a way I can’t my experiential memory, with that power comes great responsibility. It’s one I’m not sure I know how to wield responsibly or sustainably yet.

yours, tiramisu

13 May 2024 at 15:16
#
BTW, that's what my blogroll is turning into. My contributors. The people I keep an eye on through my work day. Where I get new ways of looking at the same world we're all looking at. We used to call this "watching them watch us watch them watching us etc."
Scripting News

13 May 2024 at 14:11
#
The way MSNBC has contributors, I want contributors for my blog. One of the first people I'd invite is John Naughton. See next item.
Scripting News

13 May 2024 at 14:06
>     >>



Refresh complete

ReloadX
Home
(257) All feeds

Last 24 hours
Download OPML
*
A Very Good Blog by Keenan
A Working Library
*
Alastair Johnston
*
Andy Sylvester's Web
Anna Havron
annie mueller
*
Annie Mueller
*
Apple Annie's Weblog
Artcasting test feed
*
Articles – Dan Q
*
Austin Kleon
*
Baty.net posts
bgfay
Bix Dot Blog
*
Brandon's Journal
*
Chris Coyier
Chris Lovie-Tyler
Chris McLeod's blog
*
CJ Chilvers
CJ Eller
*
Colin Devroe
*
Colin Walker – Daily Feed
Content on Kwon.nyc
*
Dave's famous linkblog
daverupert.com
Dino's Journal 📖
dispatches
E L S U A ~ A blog by Luis Suarez
Excursions
*
Flashing Palely in the Margins
Floating Flinders
For You
*
Frank Meeuwsen
frittiert.es
Hello! on Alan Ralph
*
Human Stuff from Lisa Olivera
inessential.com
*
Interconnected
Into the Book
*
jabel
*
Jake LaCaze
*
James Van Dyne
*
Jan-Lukas Else
*
Jim Nielsen's Blog
Jo's Blog
*
Kev Quirk
lili's musings
*
Live & Learn
Lucy Bellwood
*
Maggie Appleton
*
Manton Reece
*
Manu's Feed
maya.land
Meadow 🌱
Minutes to Midnight RSS feed
*
Nicky's Blog
Notes – Dan Q
*
On my Om
*
One Man & His Blog
Own Your Web
Paul's Dev Notes
*
QC RSS
*
rebeccatoh.co
reverie v. reality
*
Rhoneisms
*
ribbonfarm
Robin Rendle
Robin Rendle
*
Sara Joy
*
Scripting News
*
Scripting News for email
Sentiers – Blog
Simon Collison | Articles & Stream
*
strandlines
the dream machine
*
The Marginalian
*
thejaymo
theunderground.blog
tomcritchlow.com
*
Tracy Durnell
*
Winnie Lim
wiwi blog
*
yours, tiramisu
Žan Černe's Blog

About Reader


Reader is a public/private RSS & Atom feed reader.


The page is publicly available but all admin and post actions are gated behind login checks. Anyone is welcome to come and have a look at what feeds are listed — the posts visible will be everything within the last week and be unaffected by my read/unread status.


Reader currently updates every six hours.


Close

Search




x
Colin Walker Colin Walker colin@colinwalker.blog