PHPNews

Refactoring For Prose

I’ve worked with a lot of legacy applications and one thing that I have seen many times is small things that are confusing. For example, I recently came across some code that looked like this: if ($foo) {

 $noAction = true; 

} else { 

 $noAction = false;

 } That is pretty straightforward and easy to …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday December 11, 2018


Breaking Routines

There are very few classes from college that I remember, and out of the ones I do remember, only one I’ve thought about since and that was personal finance. At the time, it was a required class for the degree I pursued and I wasn’t very excited about it. My parents taught me about the basics of money. Stay away from …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday December 10, 2018


Programming on an iPad

Since breaking my hand I’ve been struggling to find a workflow that really suits me, but one thing that I’ve found extremely helpful is the autocomplete and predictive typing from iOS. It’s been really helpful in quick communications like email, slack, Twitter, etc.. Plus the keyboard is smaller making those weird …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Thursday December 6, 2018


Siblings Fighting

I have two kids and one thing is guaranteed, if they are off playing by themselves its just as matter of time before they are fighting. I usually let them work it out, but when it escalates to a certain point they usually come screaming for me or my wife. Of course, not being in the room where it happened means it’s …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday December 5, 2018


“I Turned Out Fine”

“I got bullied as a kid, I turned out fine, it teaches you to be tough” “My family was verbally abusive, I turned out fine, it teaches you to argue your point” “I didn’t get vaccinated, I turned out fine, my kids don’t need those shots” In your opinion you turned out fine, and you are the one defining “fine”. …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday November 27, 2018


My Hand Surgery

I just finished having hand surgery and many people are asking me about it. Instead of writing the same thing over and over I’ll just make a blog post with all the details so I can easily share it. I shattered my pinkie finger and ring finger and the goal was to put some pins in today and then send me on my way. It …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday November 27, 2018


Teaching Through Everyday Life

I live in a neighborhood that has a home owners association which is fairly common in America. It is responsible for keeping up the shared public space, some of the infrastructure, etc. every year the bylaws require them to send out a financial summary for the next year. Included with these is an estimated operating …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday November 26, 2018


Creating Autographed e-books with the iPad

I’ve personally never had an autographed book but always wanted one. It seems as the world is switching from physical books to ebooks autographed copies are going to be a thing of the past. In digital form an autograph isn’t something unique. I was intrigued when I came across this post from Matt Gemmell on how he …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Saturday November 24, 2018


Creating Comics

My kids love reading the comics from the local paper . Every morning I set it aside for them and after one has read them my one hoarder daughter takes them to her to save. I’m not sure why. Haha We’ve been talking for weeks about create our comic strip and its been a real challenge. We will come up with something …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Friday November 23, 2018


Thanks

Today in America we celebrate the Thanksgiving holiday and it’s always a big tradition where you eat lunch and dinner with family and for a lot of people it’s visiting with extended family that you might not have seen since last year. I always enjoy this holiday as a reflection of the past and to look at some of the …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Thursday November 22, 2018


Spam Phone Calls

“despite all my rage, I’m still just a rat in a cage” — Smashing Pumpkins Social media sites know that we are all just rats in a cage and they tempt us to keep coming back with notifications of all the people that likes, favorites, or comments on our stuff. They know what will keep you coming back for another hit …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday November 21, 2018


A Creator Studio In Your Pocket

As I wrote about yesterday, I broke my hand and I created that post typing it out entirely on my iPhone. This morning I did the same thing on Laravel News and now I’m writing this post the same way. I find typing with one hand to be pretty difficult on a traditional keyboard but with the one on the phone I can …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday November 20, 2018


Boxer’s Fracture

Every November there is a local mountain bike race that I enjoy competing in called a Ride-n-seek race. The goal is you and a partner have four hours to complete as many checkpoints as possible in the shortest amount of time possible. Today was the day of the event and I got up super early to head to the race and …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Sunday November 18, 2018


Flickr

Flickr was THE place to upload and share photos until Yahoo bought it and ruined it, much like they did Tumblr and everything else they touched. A few months ago it was announced that Smugmug was buying Flickr and was to keep it going and then a few weeks it announced pro plans and a limit on the number of free …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Saturday November 17, 2018


Family Dinner

Many households struggle in today’s hectic world to sit down and have dinner together and, according to a UCLA study, when they do, it’s typically done in the kitchen instead of the dining room. Take a look at the diagram below where the red dots are the position of a family member every 10 minutes. A diagram from …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Friday November 16, 2018


Impressionable

There is an old saying, “you are the sum of your friends” and it’s true. If most of your friends workout, you are probably going to workout. If most do drugs, chances are you’ll be doing drugs. Although I’ve heard this saying for many years and have always believed it, I have never experienced it first hand like I …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Thursday November 15, 2018


Laracon 2019 Apple Music Playlist

The Laracon US  site was relaunched for the 2019 conference and the new design is hotness. I love that it ventures so far from the traditional clean and minimal style of Laravel. Big props to the designer Jack McDade from Statamic for it. In honor of the style I threw together a quick Apple News playlist with …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday November 14, 2018


iPad Only Frustrations

With the release of Apple’s latest iPad Pro I’ve been reading a lot of articles and blog posts where people are still attempting to ditch their laptops and make the move. For the past few years they all read the same to me and come to the same conclusion. Going iPad only is great if you aren’t a developer, and if …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday November 14, 2018


Bloggers I follow

  My virtual friend Michael Brooks announced on his blog that he is challenging himself : Something I would like to try out for this month is post less on social media (excluding Instagram) and post more on WordPress. I rarely spend time posting to social anyway, but it could be interesting. Even if it’s just …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday November 12, 2018


Reading the days news

Almost every work day I have a routine where I try to stay up to date with the world through the paper, Twitter, and of course Hacker News for the nerdy stuff. Of course, all of these sites can be time-consuming and just staying up to date with these three could take hours a day. Here are a few bookmarks I use to cut …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Sunday November 11, 2018