shocm.com

scotch, baseball, open source, and development

Talk about HHVM: HHVM, the new PHP?

One of the best talks to date I've seen on evaluating HHVM, HACK, and the future of PHP.

July 23, 2014 Uncategorized

New Grayson Congdon


Happy to see him finally make an appearance. Can't wait to teach him some #PHP  coding :-)

June 22, 2014 Family

New family pet

He kind of sucks, won't fetch a ball for anything.

 

Family, Funny

SDPHP and the GeekGirl Tech Conference

Good time at the #geekgirltechcon  . #SDPHP  there talking #PHP  , Community, and development. Great time.

2014-06-21 07.45.26 2014-06-21 08.40.00 2014-06-21 09.04.01 2014-06-21 09.04.07 2014-06-21 17.08.56

Geek Stuff , , ,

New #SDPHP  sign I had made by a local artist. Letters are made up from signs around San Diego. 

New #SDPHP  sign I had made by a local artist. Letters are made up from signs around San Diego.

 

2014-06-07 14.16.37

 

Letters are from:

S - Kensington
D - The Boulevard
P - Ocean Beach Pier
H - Normal Heights
P - North Park

June 10, 2014 Uncategorized

Percona Toolkit (for MySQL): It’s Basically Magic

Good presentation at the last #SDPHP  North County Meetup

May 28, 2014   Robert Swisher, CTO of business.com, presented Percona Toolkit (for MySQL): It's Basically Magic. The talk covered some of the most used tools in the Percona Toolkit, however th...

June 5, 2014 Uncategorized

I do enjoy going on rides with my daughters. This is an older one that Google put together in a story…

I do enjoy going on rides with my daughters. This is an older one that Google put together in a story line. Most of the photos were taken by my daughter on the back on the bike.

https://plus.google.com/116510298779491278957/stories/d512e486-92de-3465-a312-aafa987cadfb/1?authkey=CKiUwO8E

Uncategorized

My Solar Panels are finally online. Got the final inspection notice today and was given the green light…

My Solar Panels are finally online. Got the final inspection notice today and was given the green light to flip the switch. I am now producing more power that I am using and sending the extra back to the grid. 

May 30, 2014 Uncategorized

PHP Unable to send email from web application .. (but commandline works)

This issue seems to have popped up a couple times over the past couple weeks so I figure I would capture the resolution here in the event someone stumbles onto this post and it's able to help them. Security is rarely convenient and this is an example of that.

Symptom:

CentOS machine running current on patches and running a current version of PHP, let's say PHP 5.3 or higher. PHP script is able to sent email from the command line, but when trying to send an email with PHP through the web browser it fails. Actually it doesn't "fail" it just doesn't seem to ever send.

Resolution:

SELinux is running on the machine and is preventing the Apache process to send out emails. There are a couple approaches you can take for this. To quickly test and confirm that the problem is in fact SELinux, and not something else, you can temporarily disable SELinux.

  • First verify SELinux is running with the command (as root) getenforce
  • Next, if SELinux is running you can disable with the command, again as root, setenforce Permissive

 

SELinux with be disable until you reboot the machine or enable it with setenforce Enforcing. You can permanently disable SELinux is you so desire editing the file /etc/sysconfig/selinux and changing the setting SELINUX=

Test your PHP Mail functionality now from the web application. If it works then you need to have SELinux allow the apache process to send emails. In order to do this, run the commands

  • setsebool -P httpd_can_sendmail 1
  • setsebool -P httpd_can_network_connect 1

 

You should now be able to re-enable SELinux and successfully send emails from your application in the browser.

April 15, 2014 Development, Linux , , ,

PHP Unable to send email from web application .. (but commandline works)

This issue seems to have popped up a couple times over the past couple weeks so I figure I would capture the resolution here in the event someone stumbles onto this post and it’s able to help them. Security is rarely convenient and this is an example of…

This issue seems to have popped up a couple times over the past couple weeks so I figure I would capture the resolution here in the event someone stumbles onto this post and it's able to help them....

Uncategorized

Keeping Vendor Meetings Productive

I spent a good amount of my professional life in meetings. Tons of meetings. When I worked for a Fortune 500 company, I started to think they were paying me just to fill a chair in a conference room. I started jotting down notes on meetings and how to best run them. I recently came across those notes and figured I would just throw them up here in the event they happen to be useful to someone else. Full disclosure, I am a well documented anti-meeting guy. I am not a fan of them and feel that more times than not, they are a waste of time and money. However they are a necessary evil, especially when working for a large organization or with large teams, and if handled correctly can actually become productive. One area where meetings can't be avoided and have a high requirement to be well organized is when meeting with new vendors.

Meeting with a new, or potential new, vendor can be like having to talk to someone you don't know at a friends party. You know you have the friend in common but really don't know much more about one another and yet you need to try and have a conversation with them. I've found following a couple of rules make meetings with vendors a lot more efficient and productive.
Continue reading →

March 16, 2014 General

Since LEGO made movies are all the rage right now, why not make a LEGO movie explain the philosophies…

Since LEGO made movies are all the rage right now, why not make a LEGO movie explain the philosophies behind Open Source. Seems to make sense. 

This is actually not a bad introduction to Open Source for those of us that struggle making it easy and non-technical to understand. 

March 7, 2014 F/OSS, Geek Stuff

My SDPHP Composer Presentation

A little while back I did a lightning talk at one of our SDPHP MeetUps on Composer. Composer is a fantastic tool and one that will change the way you approach PHP development. Using and managing external packages on a per project level has never been so easy in the PHP world.

I kept forgetting to publish my slides so for what it's worth, here they are.

 

March 5, 2014 Development ,

The new PHP – Programming – O’Reilly Media

If your organization has written off PHP from being a possible solution to its development needs, you may want to rethink that decision. PHP is making a strong comeback and with developers who have years of experience under their belt, a language that has matured with the Internet it helps run, and now new features, stronger communities, and interoperability high on everyone's priority list, PHP is once again a great solution for any development need. 

The programming language many love to hate is experiencing a renaissance. This is not your parents' PHP. The new PHP is a more mature language with community standards,...

March 4, 2014 Development

Weather cleared up and was beautiful. Ton of people in good spirit here at Chelsea’s Run #t  

Weather cleared up and was beautiful. Ton of people in good spirit here at Chelsea's Run #t  

March 1, 2014 Family
  • Archives