677 karma · joined March 29, 2013
About six months after moving into my house I was fed up with the janky garage door opener that came with it so I went to Home Depot and bought a new one. I managed to assemble the new one myself with only a few hiccups. It then came time to remove the old garage door opener. I first took down the actual motor unit that was attached to the ceiling and got it set on the ground with the rail still attached. The end of the rail was attached to a metal bracket that formed a right angle with lots of holes for bolts to go through[0] which was then attached to the drywall above the garage door. I got up on a ladder and set to removing the bolts. The last bolt, unbeknownst to me, was attached to a piece of metal through which the garage door spring went [1].
What happened next all tool place within maybe 1/4 a second. As soon as I turned the socket wrench enough to loosen the bolt I heard a loud pop and felt something hit my hand. HARD. I looked down at my hand and saw blood. "No big deal, I cut myself on things all the time. We've got lots of bandages." Then I noticed the subcutaneous tissue (your hand doesn't have much, but there's still enough that deep cuts look different). "Okay this is gonna need stitches, I better get down and take care of this." And then I saw the bone. "ohfuckohfuckohfuck."
I hopped down off the ladder and ran inside and started screaming "CALL 911!!!" to my girlfriend who was upstairs. I made it to the kitchen where I got a dish towel, put my hand on the counter, and clamped down as hard as I could. The paramedics arrived about 5 minutes later (we live very close to a fire station). By then I'd calmed down but was so full of adrenaline I could barely hear or see anything. At one point I blanked out for maybe 30 seconds? I'm not entirely sure. The EMT said it was an adrenaline dump and that it was fairly normal. Of course when I got to the ER every single nurse who heard the story said I was lucky to be alive. If it had hit my head it would have caved in my skull (and I was on a ladder...). Apparently that happens more than you'd think.
They eventually hooked me up with a drip of hydromorphone. "This is the good stuff." one nurse said. Bullshit. I was in so much pain it barely did anything. It brought it from 10/10 to 9.5/10. That's using my new 10 point scale. I thought I'd experienced a 10 before when one time my dentist started drilling before the lidocaine had fully kicked in. I'd put that at about a 6 now. I really cannot describe in words how bad the pain that night and the following months was.
My hand is a lot better now though. The third surgery gave me back my mobility and the physical therapy got me back up to about 60% of the strength I had before. I'll never be able to point straight with my right index finger, but I can make a fist and type. As a programmer both are very important.
[0]: Exactly like this https://mobileimages.lowes.com/product/converted/040395/0403...
[1]: Basically this, except mine is shaped slightly different http://www.truetex.com/gar913.jpg
In January of 2014 I broke my hand. Not just a fracture. I completely shattered my second metacarpal in my right hand (my dominant hand) and did extensive damage to the surrounding tendons, ligaments, and skin. The surgeon who put my hand back together said it looked like a gunshot exit wound without a corresponding entrance wound. The entire top of my hand had been flayed open. After the surgery I was given hydrocodone, enough for a week. The only reason I didn't just kill myself that week was because I had pain killers. When the dose would wear off the pain was unreal, blinding, and totally consuming. The only worse pain I've ever been in was the night I broke my hand.
Needless to say I had the prescription refilled weekly until my second surgery three months later to take out all of the pins. And again for three months after that until my third surgery to release the tendons so I could use my hand again. And for three months after that while I did thrice weekly physical therapy. I cannot emphasize enough how much I needed the pain killers just to get through life for those nine months. Even with them there were some nights I couldn't sleep because the pain in my hand was so severe. Of course, by the end of the nine months I was pretty well physically addicted, but, knowing my time was up I tapered off and haven't needed them since. For another six months I still needed frequent acetaminophen and ibuprofen to take the edge off of the throbbing in my hand.
I'm not saying at all that there isn't a problem big with opiod addiction. But recent conversations I've seen about opiods leave me with the impression that most people just don't get it. They think that either people just need to deal with pain or that some sort of non-medicine alternative is what's needed for most people on opiods. And that may be true for some. But unless you've been in the kind of pain that makes you seriously consider killing yourself I don't really think you can appreciate just how important opiod pain killers are to some people. I'm afraid we're going to lose something that helps a great deal of people all because we have this idea that addiction is somehow a moral failing and we've structured drug policies around that belief.
I started trying to learn Rust at 0.7 (maybe a bit earlier, I can only find references to 0.7 in a few projects of mine). Boy howdy did that feel like an exercise in futility. I would set it aside for 3 weeks, revisit it, and find entire language constructs had been removed. I complained about this and Steve Klabnik graciously reminded me that it was a work in progress and that the work was being done out in the open intentionally. I really can't thank him enough for that since it caused me to go from frustrated to sympathetic. As a result I decided to not write the language off. And I'm glad I didn't. After things slowed down around the betas for 1.0 it became clear that Rust was worth learning. I haven't had a chance to use it professionally, but for personal projects I find myself reaching for Rust for problems that would have caused me to have reached for C in the past.
Also, Google has gotten significantly better about returning current and up to date information on Rust as well. Around 2013-2014 my biggest gripe was that I'd search for how to do something only to find advice that was woefully out of date. I haven't had that experience in well over a year now.
The sad thing is I haven't been doing a powerlifting routine at all. I decided a couple of years ago when I started lifting that I'd rather look good than be able to lift super heavy weight. I was only deadlifting about 1.2 times my body weight.
*A quick search on Amazon reveals many for less than $20, but I've never seen a bike sold with one attached.
As someone who isn't really interested in having kids it's easy to forget that some people really want them. It is baked into our DNA and has been since before we as a species walked the Earth. If the pregnancy wasn't an accident then it's no wonder people mourn over a miscarriage. As far as they were concerned it was their future child. And I say that as someone who is very much not pro-life.
* Conception is not as easy as abstinence-only education would have you believe. Some perfectly fertile couples try for years before successfully conceiving.
"Hard-Core: Life of My Own" by Harley Flanagan
I've been a huge fan of the Cro-Mags for a long long time. I've had the extreme pleasure of seeing them about eight times now. But never with Harley. And until I read this book I never really knew why he wasn't there. I mean, you hear people talk, but they weren't there, they don't know what went down. This book is an absolute must read for anyone who has even a passing interest in punk. It's a look into the life of one of the most colorful and talented musicians the genre has produced. It's written in a very casual conversational style and consists mostly of string of anecdotes told from Harley's point of view as he's remembering his life from his toddler years up until early 2016. Even if New York Hardcore isn't really your thing I still highly recommend it. He manages to capture in a very raw and visceral way the NYHC era he is largely responsible for ushering in. And if you've never heard "The Age of Quarrel" pause whatever you're listening to now and go find it on YouTube or something.
"The Dark Forest" by Cixin Liu
I would include the first book in this series, "The Three-Body Problem", but I read that in December of 2015. All I want to say about this series of books is that you should go into them without knowing anything. Don't read a plot synopsis. Don't even read the little blurb on Amazon product page. Someone recommended I go into it blind, only telling me "It's good.", and I'm so glad I did just that. The moment you find out what the title is referring to gave me goosebumps.
Here's an example using GTK that does something vaguely useful, I have no idea if it's considered idiomatic, but it works as intended: https://github.com/seaneshbaugh/image_viewer/blob/master/src...
The closures themselves are trivial, it's manipulating the stuff outside the closure that's tricky (for a Rust neophyte like me).
The relevant definitions are
let area = Rc::new(RefCell::new(DrawingArea::new()));
and let scale = Rc::new(Cell::new(1.0));
Rather than just define things as usual they need to be wrapped in a Cell (for value types) or RefCell (for reference types) and then wrapped in an Rc so we can keep track of reference counts at run time. {
let scale = scale.clone();
let area = area.clone();
window.connect_key_release_event(move |_, key_event| {
let mut s = scale.get();
let key = key_event.get_keyval() as i32;
if key == gdk_sys::GDK_KEY_plus {
s += 0.1;
} else {
if key == gdk_sys::GDK_KEY_minus {
s -= 0.1;
}
}
scale.set(s);
area.borrow().queue_draw();
Inhibit(false)
});
}
Inside the new scope (which is very important) scale and area are cloned which increments their count, then inside the close scale.get() is used to get a copy of scale (which is possible since it's a float) and then after doing stuff to it based on the key that is pressed it's set using scale.set(). For area it's a bit trickier, it has to first be borrow()'ed before anything can be done with it.A quick Google search brought me to this post by Krugman[0]:
I’m reading an advance copy of Charlie Stross’s Neptune’s Brood. (Hey, I have connections!)
And it is the best thing by far written on the subject to date, partly because it is, as far
as I know, the only thing written on the subject to date.
0: http://krugman.blogs.nytimes.com/2013/05/20/the-theory-of-in...By putting it down I was freezing the moment I had left it in time. When I returned to finish the book I felt that familiar sense of sadness. A period of my life (fourteen months!) was over. I'll probably re-read the books someday, but I know it won't be the same. I often get that feeling when I finish a work of fiction I enjoyed greatly. But there was something about "The Wheel of Time' that made it much more profound.
Any medium that can tell a story that people find intense and immersive will produce that same feeling. Why would VR be any different?
[0]: https://github.com/elixir-lang/elixir/blob/master/lib/elixir...
I strongly suspect that I am not alone in the stubbornness of my toothpaste preference. I will grudgingly use a different shampoo if I have to as most shampoos don't have too strong of a smell. In any given day I use probably 3 to 6 different soaps, with only the one in my house being my preference (mmmmmmmm coconut ginger) so using some random soap at a hotel is no big deal. But I will be buried deep in the ground before I subject myself to using anything but my usual toothpaste.
It took me years to find a flavor of mint that I honestly enjoy using. Nothing else has ever felt quite right; it even has the right texture! Using another flavor for even one brushing would make me want to gag. Taste, in both senses of the word, is a very personal thing I suppose.
I think for punk bands that might not even be on a label being able to get your music out there without a big upfront investment is more important than artists on larger labels because in that case distribution is usually at least partially handled. That's why the hardcore punk scene has been somewhat of an early adopter of Bandcamp when compared to more mainstream artists.
Also, the band the article mentions in the first paragraph, Mace, is totally worth a listen. Definitely one of my favorite bands coming out of the Midwest right now. If you can get your hands on volume 2 the "No Friends" zine it comes with a flexi that has them and some other great stuff on it.