Laravel
I've been coding in PHP for a few decades, mostly using the CodeIgnitor, which I have grown to love. But today, I'm breaking from the old ways and adopting a framework that's been on the rise for many years: Laravel. Ironically, I've layered on many of the basic features of Laravel over CodeIgnitor as I extended CodeIgnitor's framework for my use. Not as clean, not as well architected, but the basics were there. But seeing Laravel's implementation made me realize how mine paled in comparison. If you're considering switching, I'll advise you that its design is "opinionated". This means there [...]
Running Engineering in a Vacuum
Wouldn't it be great if you could be in a section of an office, surrounded by intelligent people, working on projects that really mattered to you personally, and never having to interact with the rest of the company? I know a lot of people who would consider that a dream job. I would hate it. Don't get me wrong, as an engineer, the first few days would be delightful. Lots of interesting conversations over coffee. Working on engineering projects that are just purely interesting, regardless of how they fit into the company. That sounds fun - for a bit. And [...]
Getting the Weather via an API the Easy Way
If you're coding and need to find the local weather, there are a lot of places you can go to get it. Most are complex and require you to create an account, and generally don't offer much. If you're looking for one that's simple and based on GPS, try https://api.pulsewise.com/environment/weather/42.3388/-71.0726 , which is free for the first 1,000 calls per month and includes sunrise and sunset, too. Just swap the latitude & longitude coordinates for your own latitude & longitude, or if you leave them off, it will use your browser's coordinates. This is just part of a set of [...]
Letting a Customer Out of Their Contract
I've run a few companies over the years, and one inevitably wants out of contact with you. Maybe they're going out of business, or their business has changed and they no longer need your services. To make this decision, you need to weigh some data: What is the value of the contract they want out of compared to your entire customer revenue stream? A small percentage or a large one? What are the circumstances of their situation? Are they going out of business (inevitable) or just wanting a new vendor? Are you ready to ruin the relationship with the people [...]
Everything you could possibly want to know about Internet Email – Part 1
In this series of posts, I'm going to share what I know about email. Over the last 20 years, I've learned to set up, diagnose, and do just about everything with email that you can imagine at any scale. In this series, I'll be talking about email over the Internet, which uses protocols like SMTP and IMAP. I won't be talking about the inner workings of commercial email software like Exchange. Understanding how email is sent As mentioned above, email works with a few protocols, and the one used to send email is SMTP. The idea here is the sender's [...]
Figuring out US TIme zones
Twice a year, many people in IT often get mixed up by time zones in the US. Understandably, as it is a little tricky to wrap your head around. Here are some tips when sorting it all out in the US. Timezones in the US change twice a year, in the fall and spring, with an offset of 1 hour in either direction. The exception to #1 are the States of Arizona (most of it) and Hawai'i - they never change their clocks like the rest of the US. In the spring, around March, the US switches to Daylight Savings [...]