PHPNews

Seasons

Having a daily routine is important as it allows you to coast through the day knowing what comes next. For most people, daily routines include going to work, having dinner, picking up the kids, etc. and once it’s ingrained into your daily life it seems to just happen. I’ve noticed for me my routine of creating stuff …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Monday July 8, 2019


“Thoughts On” journals

Derek Sivers has a blog post from back in January on the benefits of a daily diary and topic journals and this part is something I started trying: There are certain subjects in your life you think about a lot. People, places, hobbies, health, plans, finances. For each subject that you might have ongoing …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Wednesday May 22, 2019


If Else in SQL

Today I hit an interesting problem and when creating a report for an internal billing system. The system itself automatically bills each customer every year and we have two types of customers. One that pays with a credit card through Stripe, and another type that we invoice and their billing departments pay. Because …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday May 21, 2019


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