2017

PHP 7.1 with Apache on CentOS 7.x

Back in the long long ago you could roll out LAMP with a single yum command. In 2017, distro game has hardly kept up with the evolution in PHP and still comes with PHP 5.4 - to go to 7 in RHEL/CetOS 7 you have to do some surgery.

First remove all the php packages. Then let this rip.

yum install epel-release yum-utils

rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum-config-manager --enable remi-php71

yum install -y php71-php-pecl-memcached php71-php-mysql php71-php-xml php71-php-cli php

That's all, just restart httpd and hack your /etc/php.ini (needs explicit definition for the time zone)

Universal Basic Income & Robots

You may have noticed Bill Gates, Elon Musk and tons of other technology executives talking about the reality in which we will need far less humans for basic tasks like retail, manufacturing, driving and so on – tons of jobs will be going away. Their solution: tax companies that leverage robots and kiosks in order to provide a basic income for folks that won’t be able to find employment. Two thoughts on this:

Between Bob & Robot, I’m gonna hire a robot. 100% of the time.

I don’t even know Bobby!

But here is what a robot will not do: Take personal time. Not show up for work. Show up for work stoned. Show up for work angry, hungry, sleepy, horny, bloated, sad. Robot won’t quit without notice. Robot won’t get into a fist fight with another robot. Robot won’t get too drunk at lunch, throw up on my couch and proceed to throw up and clog a community sink. Robot won’t come to work at 11pm and bang another robot, under the security camera. Robot won’t masturbate at work at 3am to Tumblr pissing videos.

Yes, it happened. All of it. F’n humans.

So no disrespect Bobby, but I’ll take a robot over you every damn day. At worst, the robot will just be there on time not doing any work – already better than 50% of the folks walking around.

Those that are seeking a massive tax as a deterrent to robots removing them from the job market.. sorry, but it’s not going to work and that brings me to the second point.

Why is this something tech CEO community is concerned with?

Well, who do you think will be building, programming and managing those robots? Not Bobby the truck driver or Bobby the manufacturing simpleton. Sorry, it’s going to be Bahrat (Bobby) Patel from whereever the IT labor is cheap and $1000 a month goes a long way. It’s the tech companies that are going to be bringing the next massive forced obsolescence of labor – much like they have for the past 4 decades.

But why are they talking about taxes all of a sudden? Since when are a bunch of billionaires from California concerned about the rust belt?

My opinion, for what it’s worth, is that they are seizing the political climate in which half the country is almost religiously devout to the notion of lower taxes and not paying those lazy people to sit on their ass and collect welfare! Danggumit! Get a job!

Tech companies can quickly focus on developing robots and disrupting industries with minimal government interference and obstruction until it’s too late for people to understand their jobs just got jacked.

They are talking about a basic income, literally free money handed to you for the sole reason that you were born in the right place at the right time, because they know the current political climate will not allow it to be discussed, debated or have their agenda impacted.

It’s not the cost that has kept robots at bay – it’s the social norms. When supermarkets and warehouse stores came out with self checkout lines people hated them. To this day I age discriminate when I’m buying groceries at Target – If you look like you’re under 20 I am waiting in the longer line that has an older person working the register. You know why? Someone that’s over 15 knows what vegetables are and doesn’t have to play the fucking Pictionary game in the checkout line for 10 minutes trying to figure out the difference between garlic and white onion.

You’ll soon see self driving cars. And centrally managed 18 wheeler trucks. And farming. And, and, and until whichever industry you or your clients depend on to make a profit gets rid of enough humans for you to realize that you might never have a job again.

That’s depressing. But by talking about taxes enough people will get upset about a side argument without considering the big picture.

Adventures in Juicing

As a software company we have the usual assortment of software/IT people. During our first staff meeting this year we talked about goals, both personal and professional, and as usual lots of people wanted to lose weight.

Cue the endless stream of unsustainable fad diets. But you can do pretty much anything for a month, right? I decided to play along and do the dumbest one possible - juicing. You just drink juice. Only juice. All day along.

j1I did extensive research and after about 10 seconds of scrolling down the Amazon search results picked the first cheap 4-star reviewed juicer. I paid $40 because I figured I would eventually throw a porkchop into it. That and I was not about to take my chances with my wife's 16 gear, 8000rpm multifunction transformer of a blender. Pretty sure she loves that thing more than us.

Juicing, compared to regular cooking, is like wanting chicken for dinner and starting with slaughtering a live chicken in the middle of your kitchen. Blood and feathers anywhere. Except blood and feathers are easier to clean up - god help you if you spill beat juice somewhere - tattoo removal is easier.  Once you bring your veggies from the market you have to clean them and put them away (or they will get spoiled) - and it goes downhill from there when you actually start juicing. The prep basically involves cutting, pealing, dicing, measuring and grinding the crap out of everything you want to put in. And unless you're looking for 10 minutes of setup and cleanup to make an 8oz cup of juice it also involves two large bowls for staging and juice. Which you have to clean up pretty much immediately or the stench will permanently bond itself to whatever surface it touches or gets poured into.

I’m kidding. It’s worse.

I really wanted to hate it

So I juiced for like 3 days before the WDW Marathon weekend and figured if I could run a marathon after a few days of no solid food this might be a nice thing to mix in to pre-race tapers. Much to my surprise, I saw no noticeable drop off in energy either leading into or during the race.

Then I went out to celebrate the marathon and got plastered. Oops.

After the marathon, I decided to give it a shot and actually do some research, try a few recipes, mix it up a bit. I won't bore you with the details but it's not what I expected. Here are two main takeaways.

0. You can improve anything with berries and citrus. The base for virtually every juice recipe is a cucumber and either spinach or kale - when juiced, among the most disgusting things you can ever drink. It's like drinking lemon pledge after cleaning up a murder scene and just squeezing the bounty towel right into your cup. But toss in a few strawberries, blackberries or an orange in and it's amazing.
0. It kills your cravings. Not in a traditional fad diet sense, where you just lose the willingness to live entirely. More like "I'd like to go to a burger joint... but I'm not really craving a burger"

To be honest, I really wanted to hate it but it doesn't feel or have the effects of a typical crushed reduced calorie diet where you spend the whole day cravings a snickers while eating celery sticks. It's just a nice cold drink every few hours and it's very refreshing. In my experience there was no low energy, no cravings, no disgusting stuff. Except for the beet juice, it will turn your poop purple. But because it didn't feel act like a diet, it didn't feel like something I was trying to survive for a few hours or days.

Money-wise over the course of 2 weeks I've spent less than $80. Cheapest and the best fruits and veggies are at the farmers market - they tend to be the best and freshest too but that means you have to wash and ziplock them immediately. For run of the mill GMO frankenfruits, Walmart actually tends to do the cheapest by far (huge bag of apples or oranges for $5) but it's a trade off since they are covered in pesticides you'll spend more time pealing it.

nakedchickenAll in all, not something I'll continue doing full time but I think I'll be sticking with it for at least one meal/snack a day for the craving benefits alone. Cause nobody needs to live life craving a Taco Bell Naked Chicken Chalupa, a taco that features a shell made of fried “chicken” breast at 11pm. Or at any hour for that matter.