Wednesday, June 18, 2014

Dictionary

Stereotyping - typing using both hands.

Monday, May 26, 2014

The crack of seven

It was the crack of seven and he was allergic to the concept of two seven o'clocks in one day.
Pratchett, T. Raising Steam 69.

Monday, March 24, 2014

Uncovering Undercover Boss

Recently, I've discovered a wonderful show on Netflix called Undercover Boss. It's a reality show about upper management  going undercover in their own companies and working together with the common people. The show is very heartwarming and inspiring and tries to show that some big corporations do care about their employees. In each episode, the bosses meet and work with several employees and then come clean to them at the end, usually showering them with raises, bonuses and gifts.

From the very beginning, I believed that this is a perfect show for all of the Occupy people to watch. Yes, you can be negative and instead of celebrating with those few employees, you can complain about all the rest who were not as fortunate to be singled out. And you can complain about those employees' initial working environments. Or you can be happy for them. Most importantly, what the show is trying to convey is that people do care and corporate decisions are not necessarily malicious and upper management may not even realize what is happening to the employees at the bottom. Do not assume that there's a Scrooge who's on purpose trying to take away your money.

After finishing watching Undercover Boss, I started watching Undercover Boss UK and that was the real eye opener. People do not appreciate the health care they have in US. People do not appreciate the amount of care the elderly receive in the US. People do not appreciate the job stability and working environment they have in the US. Some of the things I've seen on Undercover Boss UK and the attitudes of some of the bosses would be anathema to the average American. People in US do not appreciate what they have and for comparison, UK is not some poor third world country.

One of the most striking differences between the two shows was the unveiling at the end of each episode. In US, bosses, and even a mayor who did not have direct access to money, showered their employees with money. You're doing a great job so we're giving you a promotion, and here's money for each of your children for college, and we're sending you on a paid vacation, we're paying your mortgages and loans and here's fifteen thousand in spending money and we're sending you to college and paying you while you're in college, we're paying for you wedding, we're giving you your own franchise for free, and more and more and more. In UK, you're doing a good job, continue on, maybe we'll give you a raise. No bonuses, no gifts, nothing. You've just had a baby? Congratulations, go back to work. And you know what, people were happy and appreciative to just get the personal attention.

I believe that it is very important for everyone in US, and especially those with any feelings of entitlement or persecution, to watch both of these shows. And while watching the UK version, have in mind that you're not watching Undercover Boss China or Russia or Mexico, you're watching Undercover Boss UK.

Wednesday, March 19, 2014

NFS: Undercover + Logitech GT

Need For Speed: Undercover supports force feedback and maps the wheel by default. Pedals, however, will not work on Logitech Driving Force GT Gaming Wheel and will not map. The game doesn't see the wheel or pedals when you try to map manually.

To get the pedals to work and map wheel buttons, download Logitech Profiler (Logitech Gaming Software). Create a new profile and if you got the game from Steam, you can find the executable under C:\Program Files (x86)\Steam\SteamApps\common\Need for Speed Undercover\nfs.exe.
Leave "specific game settings" section alone, "report combined pedals" didn't work for me.
Click on "Accelerator" on bottom left and select Axis Assignment -> New Axis Assignment. Click Edit and record new keystroke "w". Now assign it to Accelerator down and click ok, leaving Accelerator up unassigned.
Do same with "Brake", but instead assign keystroke "s".
Your pedals will now work.

Same way, you can assign other controls to the wheel. Check game controls to see default key assignment, record that keystroke and assign it to wheel buttons.

Wednesday, February 5, 2014

ColdFusion: Passing encrypted values in url

If you're using encrypt / decrypt on url variables, urlencodedformat doesn't always work. Instead, use tobase64() after encoding and tostring(tobinary()) before decoding. This will ensure that only alphanumeric characters are passed in the url.

Monday, January 27, 2014

Prepper Bug Out Bag

Are you a prepper? Do you have a bug out bag for when SHTF? Natural disasters, government collapse, zombie apocalypse. Here are some ideas of what to have in your bug out bag.


Tuesday, January 7, 2014