Avoid Multitasking

number of studies have determined that multitasking harms productivity. I highly recommend you stay focused on one task at a time until completion. If you need to go through a lot of emails or set priorities, do so as a single task and use Scoretask To Do’s to help organize all the priorities. Then just work through each To Do one at a time.

Avoiding multitasking will make you happier and less stressed out as well!

400 Bad Request Bug Caused by Airplane

I was working on my recruiting site on my two hour flight from LA to Seattle. Shortly after we took off, I realized I had a bug on one of my recruiting site pages. On this page, I am displaying a report showing all candidates and their skills test scores via Datatables (Ajax). For some reason the Ajax request to my server was returning a 400 error: Invalid URL. I used the Google Chrome debugger for the next two hours, but couldn’t figure out the issue. It had something to do with my GET url being too long (over 4000 characters). I did spot that instead of my usual nginx server the content was being displayed from something called a “Squid” server. I thought maybe one of my developers had changed my server configuration to have this squid server display the page. I tried making a bunch of updates to my nginx configuration and tried to find where squid was installed on my server, but nothing worked.

This morning, I fired up my laptop to start working on the bug and behold! It worked! What happened?

I believe that GoGoInflight uses a squid server on the plane as a forward proxy to pass information from the internet to users on the plane. The squid server had small default allowances for the header and thus caused me to receive the 400 Bad Request error.

I’d be curious if anyone can confirm my theory?

Reading “Contact” By Carl Sagan

I am 75% of the way through reading “Contact” by Carl Sagan. It has been moderately entertaining, although Carl Sagan is guilty of the cardinal writing sin of telling and not showing. Makes for a less interesting read when he just has these long rants or explanatory sections.

Laravel View Composer

I watched a Laracast video this morning on View Composers… these will be very helpful to me. For a long time I have wondered how to avoid calling the same code repeatedly for showing a piece of code on a page, and now I have the answer!

Hacking – Too Much Victim Blaming

Each time a company or organization gets hacked, the tech community aggressively blames the victim. If a physical retail store had a gang of bandits break in and steal goods, no one would blame the victim retail store… they would blame the bandits. We have set up aggressive laws that allow for tracking down and imprisoning the bandits for physical crimes. I think we also need to do so for digital crimes. I am okay with not allowing anonymity on the internet if it allows us to prevent digital crime. I also am a fan of a global government for the proper regulation of international crime (and also the regulation of AI).

Samsung S8

I just got a new Samsung S8. I am very happy that I bought an unlocked version without all of Verizon’s garbage preinstalled on it… and the ability to remove Samsung’s preinstalled apps. The only thing that is preinstalled that I can’t remove is Facebook because apparently it is built into the OS itself.

Ultimate Frisbee

I played ultimate frisbee at Venice Beach with the Paradiso Crossfit group yesterday. It was a lot of fun! I got some patchy sunburns though. I’d like to play more Ultimate soon if I can.