During a code review, a coworker showed me a piece of code for a stateless React component that was similar to this: (more…)
All entries of my technical and business blog.
Adding CSV Responses to Laravel Using Macros
Laravel has a lot of the most common functionality built into the framework. However, decisions need to be made to balance the needs of the majority of use cases with the stability and agility that programmers need. No one really wants a bloated library. Because of this, you might find that you need functionality that is not directly built into Laravel. When I started working with Laravel-based CSV responses, this was the case. (This article... (more…)
The Hardest Part of Mentoring is Knowing What and When to Share
I’ve written about mentoring a bunch before , so you know I’m a fan of it. But, there’s another aspect that has been bothering me lately. The questions are simple: (more…)
Teaching is a Privilege, Treat it as Such
I’ve been to conferences where I’ve shelled out my hard-earned money to attend, been to free local meetups, and all kinds of presentations in between. One thing that I’ve heard more than once, though, is a variation of this: (more…)
Understand the Tech Before Getting a Package
How often have you heard this phrase? (more…)
Get All iMessage Attachments
The other day I was looking for an image from one of my iMessage chats. When you browse through the attachments on the iPhone, it takes forever to scroll through them. At one point, I kept having the iMessage app crash as well (I think I was maybe 400 or 500 images into the history). Turns out, if you have your iMessage and iCloud accounts configured properly on your Mac, you’ll have duplicate copies of... (more…)
Musings on GitHub
GitHub is one of the most useful tools I have in my arsenal. With over 100 repositories (some of which are private), it’s the best $7/mo I spend. However, there are a couple things about GitHub you might not know. (more…)
What I've Learned in 6 Months
Every mistake comes with a lesson or two… (more…)
Deciding What's Important in Life
I’ve made a horrible mistake… (more…)
Rockstar Coders are Ruining Your Business
It’s such a cliche by now - “We need a rockstar programmer” or “only code ninjas should apply” - but this choice in your job want-ad is ruining your business. Let me tell you why. (more…)