Recently I was working on a new project, where I had to stream stock data and display it on a chart. My first instinct was to setup a loop using setTimeout, but I quickly realized that wouldn’t work for my exact needs. Stock prices change so frequently, often happening several times a second. Doing an ajax call every second seemed like the worst overhead baggage I could possibly program myself into. After doing a bit of research, I stumbled upon Server-Sent Events. [Read more…] about Server Sent Events using Laravel and Vue
To not give a fuck about anything, is still to give a fuck about something.
This month’s Reading List is a bit of a short one. I got sick twice in February, along with it being a short month. I know a lot of people that read a lot when they get sick. I don’t know how they do it. When I’m sick, my brain turns off, and the Netflix app turns on. [Read more…] about February Reading List
Type hinting is one of those arguments that every developer eventually get’s pulled into. More often then not, the anti-type hinters will win the argument with their standard go-to argument, “it makes the method less flexible”. Let me explain why type hinting makes your code no less “flexible” then it was before. [Read more…] about The Massive Benefits of Type Hinting
For the most part, I love macOS Sierra. It has a few quirks, but I enjoy my experience day-to-day, specially on my new 2016 MacBook Pro. The part that keeps frustrating me, was having to keep entering my passphrase for my public key, every time I tried to use SSH or do a git push/pull.
Thankfully, Rob Allen has put together a nice short guide on fixing SSH key problems on macOS Sierra. If you are a developer, and running macOS Sierra, I highly encourage you to check it out.