Your Incompetent Boss Is Making You Unhappy

HnT writes A new working paper shows strong support for what many have always suspected: your boss’s technical competence is the single strongest predictor of workers’ well-being, way ahead of other factors such as education, earnings, job tenure and public vs. private sector. On top of other studies which have already demonstrated that happy workers are more productive workers (e.g. this 2012 paper.), it does make you wonder how long organizations can afford to continue promoting incompetent bosses in today’s very dynamic and competitive business world.

Share on Google+

Read more of this story at Slashdot.





via Slashdot
Your Incompetent Boss Is Making You Unhappy

Super-Cooled Nickel Ball Is Even Better Than Red Hot Nickel Ball

The red-hot nickel ball is our all-time favorite destroyer of basically anything on the planet, transforming everything from Velveeta to Peeps into sticky, bubbling cauldrons of processed-chemical goo. Now the ball is rolling in the other direction with a liquid nitrogen-cooled nickel ball that’s up to all sorts of fun.

First watch the super-cooled nickel ball take a swim in a hot tub, followed by a plunge in a cold bath. I don’t want to spoil it, but the super-cooled nickel ball is full of surprises!

Now watch as the super-cooled nickel ball is dipped into honey:

At first it’s hard to see exactly what’s going to happen, but the end result is pretty amazing. We can’t wait to see what other tricks can be performed with cold balls. [CarsandWater]

via Gizmodo
Super-Cooled Nickel Ball Is Even Better Than Red Hot Nickel Ball

WhereToWatch Shows You Where You Can Watch Movies and TV Shows Legally

WhereToWatch Shows You Where You Can Watch Movies and TV Shows Legally

If you’re not one to break the rules when it comes to your entertainment, the Motion Picture Association of America has created an official site for finding out where you can watch, buy, or stream movies and TV shows legally.

The site is similar to Can I Stream It, but also includes theaters that you can find new movies at, a huge selection of TV shows and the channels you can find them on, and tells you where you can buy the movie or show if it’s not on any streaming services. Additionally, WhereToWatch is ad-free and lets you set alert notifications for when the content you’re interested becomes available from your preferred provider. There is no app, but the site is designed to work on any sized device. The site is still in beta, so there might be a few hiccups, but you can check it out at the link below.

WhereToWatch Beta | WhereToWatch


via Lifehacker
WhereToWatch Shows You Where You Can Watch Movies and TV Shows Legally

Brilliant Monument Design Casts Perfect Solar Spotlight Once a Year

0anthemvetmem001.jpg

Yesterday was Veteran’s Day, the U.S. holiday where we Yanks honor the members of our military, past and present (and get our annual Band of Brothers fix on TV). The timing of the holiday is based on Armistice Day’s 11-11-11—that’s the 11th hour of the 11th day of the 11th month of the year, which in 1918 marked the official cessation of World War I hostilities.

Commissioned to design a Veteran’s Day memorial for Anthem, Arizona, Phoenix-based artist Renee Palmer Jones took heed of both the "11" timing and the Arizona sun. As she writes:

At precisely 11:11 a.m., each year on 11-11, the sun aligns through the elliptical holes in each of the five marble pillars (each representing a branch of the the U.S. military) in order to perfectly illuminate a round mosaic inlaid into the bricks; that of the Great Seal of the United States. The symbolism of the five pillars standing in formation in order to protect the United States and to complete the solar illumination is representative of U.S. military personnel working together in all regards, in the security and defense of American citizens.

0anthemvetmem002.jpg

The project was designed by Palmer Jones, engineered by Jim Martin Oscar Oliden and Steve Rusch and constructed by the Haydon Building Corporation.

0anthemvetmem003.jpg

(more…)
via Core77
Brilliant Monument Design Casts Perfect Solar Spotlight Once a Year

Princess Leia walking in NYC being harassed by dicks from all the galaxy

Princess Leia walking in NYC being harassed by dicks from all the galaxy

Someone made a Star Wars-themed parody of the catcall video that went viral last month and it’s even better than the original: This one didn’t edit out the white guys and left only blacks and latinos. Males from the galaxy far far away can all be creepy and gross regardless of race or affiliation—just like in this galaxy.


This is SPLOID, a blog of delicious brain candy. Join us on Facebook

via Gizmodo
Princess Leia walking in NYC being harassed by dicks from all the galaxy

Encrypting Data In MySQL With Go

A SaaS product needs to use security measures you might not ordinarily use in an on-premises solution. In particular, it’s important that all sensitive data be secured. Encryption plays an important role in information security. At VividCortex, we encrypt data in-flight and at-rest, so your sensitive data is never exposed.
We use Go and MySQL extensively at VividCortex and thought other Go programmers might be interested to see how we’ve integrated encryption into our services layer (APIs).
Encryption Techniques
At a high level, you can think of two kinds of data encryption inside of MySQL or any similar data store. I’ll oversimplify for purposes of illustration. You can:
Store the data in MySQL as normal, but encrypt the container that holds MySQL. Usually this means storing MySQL’s data on an encrypted disk volume. The protection? Broadly speaking, if someone gains access to a backup disk, they can’t see your data.
Encrypt the data before sending it to MySQL. In this case the security boundary is pushed out further: even if someone gets access to the server, and can run SQL commands, they can’t see your data.
Each of these has advantages and disadvantages. These include ease of use, programmer overhead, ability to inspect (e.g. recovering from backups), searchability and indexability, and so on. There are a lot of things to consider here. Just a few:
Will data be exposed if backups are unencrypted? (Our backups are encrypted, by the way.)
Are sensitive values possibly in cleartext in query logs?
Will sensitive values be visible in status commands like SHOW FULL PROCESSLIST?
At VividCortex we err on the side of safety and security, rather than favoring convenience. There’s a fairly simple question that does a pretty good job of illustrating our goal: if someone succeeds in a SQL injection attack against our databases, will they see any sensitive data in cleartext? The answer needs to be “no.” This is a higher standard than on-disk encryption. It means that someone has to get access to the keys for the particular data they’re trying to decrypt, in order to see anything other than garbage. And those keys are not present or accessible on the database servers in any form, not even in-memory.
Making It Convenient
Convenience is important. If it’s too hard to do encryption, there’s an increased risk that it won’t be done. Fortunately, Go’s elegant interfaces for the database/sql package make the burden transparent to the programmer!
We learned how to do this from Jason Moiron’s excellent blog post on the Valuer and Scanner interfaces. Please read that if you haven’t yet.
To implement transparent encryption and decryption, we created a custom data type that implements the Valuer and Scanner interfaces. The implementation is straightforward and quite similar to Jason’s example of compressing and decompressing, except that we used encryption libraries instead.
Now our code is incredibly simple to use with encrypted values. All we do is define a variable of our custom type. For example, instead of
var password string
err = rows.Scan(&password)
We simply use
var password EncryptedValue
err = rows.Scan(&password)
It’s similarly simple to insert values encrypted into the database. Magic! This is why I often say that Go’s design, although it seems minimalistic at first, is actually very advanced and powerful.
"Go feels under-engineered because it only solves real problems." Exactly. http://t.co/18LhLT0ALB #golang— VividCortex (@VividCortex) September 18, 2014
Nuts And Bolts
The code is small. The exact details of all the code are not all that important for this blog post; much of it is about things that are out of scope here. The gist of it, though, is that we store values as byte arrays:
the first byte is an indicator of the version of our encryption algorithm used, so there’s a clear migration path for changes
the next four bytes indicate which key we used to encrypt this value, so we have 4 billion possible keys
the rest is the encrypted payload
We can even change this in the future. For example, we can switch on the first byte’s value, if we want, to determine whether the key ID is in the next 4 bytes, or if it’s something more, such as the next 8 bytes. So we can easily expand the number of keys we can indicate. We can also, if we ever hit version 255, use that to indicate that the version number continues in the next byte. This is a standard trick used, among other places, by the MySQL wire protocol.
The result is that we have a simple and future-proof way to encrypt values.
Alternative Approaches
In addition to the approaches we’ve mentioned, there are several others. There are commercial projects designed to help ease the encryption and decryption techniques you might otherwise wrap around MySQL and perhaps fumble in some ways. There are encryption functions inside of MySQL, but educate yourself about those before using them. There’s more, too, but you should be able to find all you need with a search.
Conclusions
By using Go’s built-in interfaces, we created a solution for transparently encrypting values in our database so that it’s never in the database in cleartext, either on-disk or in-memory. The code is super-easy for programmers to use, which improves our security posture automatically. All sensitive data gets encrypted in-flight and at-rest, and an attacker would have to have extensive access to our systems (e.g. SQL injection won’t suffice) to be able to decrypt the data.
We highly recommend that you use the standard Go interfaces for the power they give you. And please, ask your SaaS providers, including us, hard questions about security and how it’s implemented. Every service needs to be secure to make the Internet a safer place.
Click here to register for a webinar with more insights on incorporating Go and MySQL. Pic Cred
via Planet MySQL
Encrypting Data In MySQL With Go

I Rode A Bike On Water, And It Was Incredible

I Rode A Bike On Water, And It Was Incredible

Walking on water? Pssh. I rode a bike on water. And it was glorious.

Okay, so this aqua-vehicle didn’t have any wheels. It was engineered and constructed by the Vallejo, California-based brand Schiller for the sole purpose of skimming seas, lakes, and chilled out rivers. The company launched with a splash in August, a quick ten-months after founder Judah Schiller made headlines by cycling across the San Francisco Bay. His gear at the time was a 20-year-old "Da Vinci-esque floatation system" attached to a thin steel rail European bike. But the success of that journey encouraged him to create a purpose-built machine. Enter: The X1.

I drove out to visit Schiller and CTO Marcus Hays in Sausalito, a small coastal enclave just over the Golden Gate from the city. It was the kind of crisp, foggy San Francisco afternoon that showed no sign of the sun until the clouds (mercifully) dissipated about halfway across the bridge. I was stoked to try the X1. I was told I wouldn’t get wet. I can’t say I was completely convinced.

The X1 was disassembled when I arrived at the dock; 55 total pounds of parts including a glossy white frame that looked like something you might see lined up in a slick gym on a sci-fi film set.

I Rode A Bike On Water, And It Was Incredible

For the most part, assembly was a pretty straightforward process—though not one that I could have managed on my own without a manual. Pumping up the pair of pontoons that flank the frame took the most amount of effort.

And then it was assembled. I was ready to ride. I asked what I needed to know when I got out there. "Nothing," was the simultaneous response. Schiller and Hays carried the craft to the dock and plopped it in the water. I mounted. I grabbed the handlebars. I started pedaling. And then: I never, ever, stopped smiling.

The sheer joy of the experience was immediate—exhilarating and calming all at once—and it only intensified the further I traversed into the open water. I kept instinctively looking over my left shoulder for traffic, the way I would when I’m riding my road bike through the streets of SF, but I was completely alone out there, save for a few seagulls, and oh my goodness it felt incredible.

I was so close to the water, but even with the wind whipping around—and it did pick up a bit—I didn’t get a drop on me. Which is not to say I didn’t want to get wet. I know from experience that the Bay is cold and not particularly welcoming, but it was all I could do to not dismount, stand on one of the pontoons, and do a cannonball. In fact, it’s something that Schiller kind of anticipates. The pontoons won’t tip over—not if you stand on them, not if you pile some gear on them—which makes this the ideal vehicle for a body-of-water-adjacent camping trip. Or a quick ride with snacks.

I Rode A Bike On Water, And It Was Incredible

One of the coolest thing the X1 has going for it is capitalizing on lower body strength. Most of us—even non-bikers—are going to have way more power in our legs than our arms, which can tire out pretty quickly on a kayak or something like a stand-up paddleboard. The Schiller team wanted to make sure all that quad oomph was successfully translated into knots. Sure enough, riding the X1 was surprisingly easy, kind of like pedaling a bike in middle gear on a flat surface.

Turning the handlebars from side to side took care of steering, and it was possible to pedal both backwards and forwards. At the risk of sounding ridiculously cheesy, I felt peaceful in a way that, well… I can’t remember the last time I felt that easy breezy. It was the ultimate chill sitch.

I didn’t have a watch, or a phone, so I wasn’t sure how long I was out there, but I knew I could have stayed mobile for about a million more hours. When I finally—reluctantly—went back to the dock, my cheeks hurt from laughing. It was GREAT.

So how do you get on one of these things for yourself? Unfortunately, Schiller’s good times do not come cheap—an X1 will set you back about $6,495 today, and they’re not done tweaking the design. But Schiller hopes that this heralds the beginning of a more robust waterbike community, with more opportunities to ride. I sure hope so.

via Gizmodo
I Rode A Bike On Water, And It Was Incredible

Cover Your Air Conditioner With Plywood to Protect It For the Winter

Cover Your Air Conditioner With Plywood to Protect It For the Winter

When the weather gets cooler, it’s time to turn off the air conditioners. AC units need protection from leaves and other debris, though. Instead of an expensive cover, a piece of plywood does the trick.

Over at Quicken Loans’ Zing blog, they say the secret to protect your AC unit is to just cover the top:

Get a large square of plywood and set it on top of the system. Put a brick or a large rock on top of that to keep it in place, and voila! You’re done. This will help keep any falling leaves, snow or ice out of your system while preventing damage from snow and sleet.

That’s it. No step three. No covering the unit. You see, by covering the unit so tightly, you wind up trapping in a lot of the things you’re trying to keep out, like moisture, condensation and any residual debris. Think about it this way: the unit was made to stay outside, so don’t worry about protecting it from the outside.

It may not look pretty, but it’s inexpensive and easy to install.

How to Winterize Your Air-Conditioning Unit the Right Way | ZING Blog

Photo by ActiveSteve.


via Lifehacker
Cover Your Air Conditioner With Plywood to Protect It For the Winter