I was just a 17-year old kid from the Bronx with dreams of becoming a scientist, and somehow the world’s most famous astronomer found time to invite me to Ithaca in upstate NY and spend a Saturday with him.
I remember that snowy day like it was yesterday. He met me at the bus stop. He showed me his laboratory at Cornell University. Carl reached behind his desk, and inscribed this book (Cosmic Connection) for me:
For Neil Tyson,
With all good wisdom to a future astronomer.
- Carl Sagan
At the end of the day, he drove me back to the bus station. The snow was falling harder. He wrote his phone number, his home phone number, on a scrap of paper. And he said, “If the bus can’t get through, call me. Spend the night at my home, with my family.”
I already knew I wanted to become a scientist, but that afternoon I learned from Carl the kind of person I wanted to become. He reached out to me and to countless others. Inspiring so many of us to study, teach, and do science. Science is a co-operative enterprise, spanning the generations. It’s the passing of a torch from teacher to student to teacher. A community of minds reaching back from antiquity and forward to the stars."
Neil DeGrasse Tyson, in the most inspiring moment of ‘Cosmos’
Follow policymic(via policymic)
So I (think that I) figured out the problem with my code:
The sound sentence and its reverse pair are running on separate turnstiles. Say I’m scrubbing forward, and a changeover occurs. Here are the positions of the sound files loaded in the internal array, before and after:
Sound: 10, 1,  -> 3, 1, , (internal is 10,1,2->1,2,NULL->1, 2, 3)
Reverse: 2, 1, 10 -> , 1, 3 (internal is same as above) (rid=2) (suboff=0)
Now when the next changeover occurs, we are at:
Sound: , 1, 2 -> , 4, 2 (internal is 1,2,3->2,3,NULL->2,3,4)
Reverse: 2, 1, 3 -> 2, 4,  (internal is same as above) (rid=1) (suboff=1)
This is all correct. If we keep going forward, it’ll keep being correct. However, let’s reverse at sound #3 and see what happens:
Sound 3, 4, 2 -> 1, 4, 2
Reverse: , 4, 3 -> , 4, 1 (rid=2) (suboff=2)
This is incorrect for both sides. Sound 4 should be replaced with sound 1. Instead, sound 3 is replaced with 1.
Let’s do one more, assuming the previous was correct and sub offset was decremented by one rather than incremented:
Sound 3, 1, 2 = 10, 1, 2 (suboff=1)
Reverse 2, , 3 = 2, , 10
This appears to be the correct behavior.
The line for the lorde show was 8 blocks long. People were walking along the line rapping about how it was mostly white girls. Little white girls kept pushing me aside at the mercy table. I’m so scared right now.
Freesound: collaborative database of creative-commons licensed sound for musicians and sound lovers. Have you freed your sound today?