PHPNews

Own Your Narrative

In my local paper,​ there was a story about a guy doing something dumb, the internet found it and now the insanity has started spiraling. He was fired from his job, now getting death threats, and on and on. The article ended with a quote from him saying, “now when anyone searches his name this event will be the first …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday May 13, 2019


Plan For YOUR Users​

Today the CommitStrip featured this comic about losing touch with your users. It’s really great: But it also made me think about the other side of this. If you are building something where your target market is someone really close to yourself then, by all means,​ take advantage of that. One thing that comes …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Friday May 10, 2019


Relaunching dotdev

A few years ago, 2016 according to my projects page, I launched a site named dotdev . The original goal was a developer magazine, but that didn’t really work out, so then it turned into a Medium publication where I curate web development tutorials. Due to Medium’s constant changes, I decided sticking with them …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Thursday May 9, 2019


Sleep, Glorious Sleep

For the past month, I’ve started going to bed and waking up at set times, and it’s been amazing. Every night 10 PM is bedtime, lights out, and no talking, then every morning 6:30 AM is wakeup time. I’ve been really consistent and started using a sleep app as a way of tracking it. As you can see, I cheated a …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday May 6, 2019


iOS Do Not Disturb While Driving

Since iOS 11 Apple introduced a featured called “ do not disturb while driving ” where it tries to detect when you are driving and prevent notifications. On the surface, it sounds like a great feature and I enabled in a few weeks ago thinking it would make driving safer. What I found in practice is it’s been very …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Saturday May 4, 2019


Bullet Journaling

Todo lists are my kryptonite. I’ve used them all and I’m never satisfied. I like the scheduling components of digital and how easy it is to add, move, or arrange different tasks but I also like physically writing them all out.  It’s a vicious cycle. One week I’m using Todoist, then the next I’m back to pen and paper. …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Friday May 3, 2019


Vintage Instagram

For a long time, I’ve wanted one of these for my office wall. I’m not exactly sure what to call it, but it’s an excellent way for me to hang up art my kids have created and pictures that I’ve taken that I might want to share with friends and family. Even though I’ve shared most of these before on digital channels, I …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Thursday May 2, 2019


Blowing Rock

Yesterday was my 40th birthday so I took the day off work, let the kids skip school, and we headed up to the mountains of NC to visit Grandfather Mountain and walk across the swinging bridge. After our 2+ hour drive, we arrived and at the entrance, the guard said the top of the mountain included the bridge was closed …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday April 30, 2019


Pedialyte – A Marketing Success Story

A few weeks ago I went on a vacation to the city that is in the middle of the desert, Las Vegas. Even though it was technically late winter or early spring the weather is always dry and hot. On the massive billboards down the strip, I kept seeing marketing for Pedialyte. Something to the effect of “Stay hydrated …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Saturday April 27, 2019


Closed Captioning

Kottke has a new post outlining why everyone is watching TV with closed captioning turned on and it made me think of my own habits and how I’ve started using it. I think around six months ago I would be watching a movie and it seemed like I had to have the volume fairly loud to hear the dialog, but then when …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Friday April 26, 2019


PHP: Underscores for Private

Jeffrey Way released a new Laracasts Snippet , and in it, he mentioned a tweet from me: When I started with PHP it was beautiful in its simplicity. I still love finding old projects that use underscores to designate protected or private. #nostalgic pic.twitter.com/1cWgNd7hdj — Eric L. Barnes (@ericlbarnes) …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday April 23, 2019


Not on Facebook?

A few years ago I remember I’d be in a conversation with my parents and they would ask me about some person. Proudly I’d say what they are doing now and how I keep up with them from Facebook. Flash forward to this weekend and we had the exact same conversation in reverse. I asked about an old family friend that …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday April 22, 2019


A Decade Ago

I just had this image from ten years ago pop up in my “on this day” feed and it’s crazy thinking back over the last ten years. My life is a complete 180 from when this was taken. It seems every day I make a todo list and try my hardest to get it done, and I feel like I accomplished nothing when my head …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Thursday April 18, 2019


TablePlus Workflow for Alfred

It seems many developers are making the switch to TablePlus because it supports a wide range of different database types, has an active development team, and is a stable app. I started using it yesterday and I’ve been fairly impressed, plus they are working on an iOS version which I’m super excited about. If …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday April 17, 2019


Stripe Checkout

Normally when I sell advertising spots on Laravel News it’s a one off purchase so I’ve been using Quickbooks Invoices for it. This works okay but it doesn’t support recurrning payments. So I have to regenerate an invoice every month for those customers. It’s not an idea workflow but it works. Today I had a …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Saturday April 13, 2019


Find Your Top 10 Shell Commands

Ever wonder what shell commands you use most often? Copy and paste the following into your CLI and see your top 10. history | awk '{print $2}' | sort |uniq -c | sort -rn | head -10 Here is a list of mine from my dev machine: 574 git 461 cd 422 vim 314 ls 202 gss 109 exit 97 php 68 sudo …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday April 9, 2019


Keep Going — Austin Kleon

Austin Kleon has a new book out named Keep Going which gives you 10 ways to stay creative in good and bad and for me it was a fun read. The pages are short and the wisdom easy to digest. Although it’s written for artist I feel like a lot of the book carries over to being a developer as well. We all have to …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Sunday April 7, 2019


People love to share coding tips on social media and I’ve seen some take screenshots of their editor and share it, or others might use a dedicated service that allows you to copy and paste your code into it. All these options are fine but I like to make mine standout by using something custom and I have a Sketch file …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Saturday April 6, 2019


Macbook Touch Bar

I recently got a new MacBook Pro, and this is my first time with the Touch Bar style of keyboard. First, let me say I love this machine so far, it’s been running all the huge apps without trouble and I haven’t heard the fans spin up once. I’m sure this will end after a few months, but right now it’s fantastic. …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Thursday April 4, 2019