When you aren't sitting down, the cat cannot jump up onto your lap and lie there enjoying her human heat-source. So instead, said cat will jump up on the desk and try to annoy you into picking her up by covering the monitor or batting at the cursor on the screen.
This makes the merge window "interesting". At least I haven't bought into the touch-screen crazy - another "improvment" to technology that people clearly didn't think all the way through wrt cat ownership.
Why the hell would Facebook buy Oculus VR if they still plan on letting them operate independently?
Anyway, I was looking over PEP 8 recently and saw that using isinstance() is recommended for object type comparison over comparing types directly (e.g., isinstance(obj, int) is preferred over type(obj) is type(1)).
I can tell why type(obj) is type(1) isn't recommended, since what you really want is to see if some object (obj) is of some type (int), rather than comparing some object with another object (1) that you know is of some type.
BUT, I had seen someone using type(obj) is type somewhere (probably on StackExchange) and I've been using that for a while, which seems more straightforward/elegant, at least for general scripting. Would using isinstance() still be recommended for some technical reason? (i.e., Does type(obj) is type not work in some situations where isinstance() does? Is it an efficiency issue?) Or is it just a matter of which one you like more?
(Also, I heard the "type-checking is a bad idea" argument when doing research, and even though I haven't found a place where I really need to use it since a lot of what I'm doing requires a try-except anyway, I still think it would be handy to have if it was guaranteed to work properly.)
“Oculus has the potential to be the most social platform ever,” [Zuckerberg] said. ‘“Imagine sharing not just moments with your friends online, but entire experiences and adventures.”
This, ladies and gentlemen, is how you can tell a CEO of a public company apart from everyone else: they don't sound human.
"It has always been done this way. Don't mess with what works."
"Instead of challenging these assumptions, many of us, like the monkeys, simply keep reproducing what has been done before. It's the easiest thing to do."
Don't become a code monkey and start challenging preconceived ideas.
Wow, haven't seen these in a while
YouTube Founder Says What We're All Thinking About Google+
Stop trying to make Google+ happen. It's not going to happen.
The Swarm Economy Is Not Silicon Valley's "Sharing Economy" - Falkvinge ...
Once the darling of open source advocates and socially-conscious entrepreneurs, the term "sharing economy" has been co-opted by predatory st
Which States Sent The Most Racist Tweets After The Election?
Some Americans are racist. We know this, though there's nothing quite like a black guy winning a national election to bring them out of the
MegaUpload's Defense Files for Dismissal of All Government Charges
Less than 24 hours after winning a crucial decision regarding evidence disclosure, MegaUpload's legal team is going for the jugular—filing a
Xerox Predicted and Built Today's Desktop PC Way Back In 1972
It's widely assumed that the ideas for both Apple's and Microsoft's GUI-based operating systems were heavily lifted from research done at Xe
Winter Sucks Less With Marshmallow Snowmen Chillin' In Your Cocoa
For the longest time Just Born, the maker of Peeps, has been on the forefront of novelty seasonal marshmallow technology. But the company's
Infamous 15-Year Old Hacker Banned from Internet for Six Years
Cosmo the God, teen leader of a hacker collective that fell second only to Anonymous in terms of notoriety, just got a whopper of a court se
Sean Parker: Apple Tried to Block Spotify in the US
Apple's iTunes Music Store has become one of the dominant source of digital music sales in the US thanks to the rise of the iPod in the '00s
Why Comcast really cares about data caps and tiered plans
Read 'Why Comcast really cares about data caps and tiered plans' on Digital Trends. Comcast has announced it is going to start charging peop