Not really sure what this site is about. Links get posted here, maybe some pictures. Maybe some original content every once in a while.
Mr. Bernstein, Citizen Kane Quotes on IMDB
(via Dave Winer)
Adrienne So, Against Hoppy Beer
I love a good hoppy beer. However, they can suck when you are at a festival or a tour and it seems like every brewer is pushing their hoppiest beer on you. It can sometimes ruin your mouth for the rest of time.
I was using
pthread_cancel for the first time on a project at work yesterday.
I followed along in the man pages and made sure that I made the call to
pthread_cleanup_push to set the cleanup handler for the thread cancelation event. I then went to compile and got strange errors about all the functions after the
pthread_cleanup_push having invalid storage types.
I banged my head on this a bit thinking I made a mistake somewhere. I then took a look at
pthreads.h and saw that
pthread_cleanup_push was a macro and it had an unclosed curly brace in it. Thinking this odd, I then googled some more and came across this page on QNX’s website about
pthread_cleanup_push and noticed in the sample that there was also a
pthread_cleanup_pop you have to use at the end of the thread’s main function.
Looking back at
pthreads.h, I noticed that
pthread_cleanup_pop contained the closing curly brace. I don’t know why I thought it was ok to push something without also doing a pop on it, but I’m not always the sharpest crayon in the box.
Once I added the
pthread_cleanup_pop at the end of my thread logic I was able to build without an issue.
Bob Odenkirk as Michael Scott? That would have made for an interesting show. Odenkirk did show up again in Season 9 as a Michael Scott doppelgänger so you got to see a bit of what it would have been like. However, Odenkirk was problably playing Micheal Scott as played by Steve Carell.
I wonder what Michael Scott would have ended up like if Odenkirk had a chance to put his fingerprints on the role?