I originally made this post on medium.com on January 9, 2018 and never copied it over to this blog, which I am doing. To view the post there click here.
You don’t have to look far for people who will tell you social media is bad for you. We can feel it reading through a friends posts about how wonderful and photogenic their life is, only to reflect on our own and feel like we’re not living the fulfilling lives of our peers. Whether it’s your own personal experiences, a friend or article ranting about it (hey, here’s another!), or the countless countless experiments that tell us unequivocally that social media is making us unhappy. We know something is fundamentally wrong with social media.
Execute GoogleCloudMlV1PredictRequest gives a GoogleApiHttpBody object that has null fields
While creating a .NET-Core MVC API to interact with my Google Cloud ml-engine model, I came across a strange issue. For testing purposes, I used Google’s Census example to get up to speed and make sure what I wanted to do works.
Today, my brother-in-law asked me about machine learning and where it’s going. I’ve been really interested in the field lately, so I wrote a message to illustrate some of the basics. I decided I would post it on here for anyone else who might be interested in learning a bit more. Let me know your thoughts, questions, and any points I might have gone wrong too!
This could potentially be the shortest blog post ever written, and the short mathematically accurate answer is “no”. A GUID (globally unique identifier) is a 32 character sequence of alphanumeric (letters or numbers). They are useful to developers because, in theory when generated, no GUID like this has been generated before, nor will another be generated again.
Since my first course in Javascript 5 years ago, I was taught like a good web developer that you should always put your javascript declarations in the header tag of your HTML page. The reasoning behind this is quite logical. If you’re attaching and element events to functionality (such as a buttons “onclick” event) you want that functionality defined before a user sees the button.
If you’re in the IT field you’re probably at your wits end hearing the term “Cloud Computing”. Chances are if you’ll admit that you know that it’s a good thing, you don’t really know why, and you haven’t the time to figure out what it is. If not, you’re probably high up in the chain of command and have been using the term as a buzzword for years because it sounds smart and nobody would argue with you that it’s a bad idea. This is because cloud computing IS at its core a really good idea for your business. I almost feel like I’m a couple years behind writing about this idea because cloud computing has existed as a service for at least 8 years now (the first I believe being Amazon Elastic Compute Cloud (EC2) in 2006) which an eternity in the tech industry.
So what is cloud computing? An analogy about how companies used to consume electricity might work best. Back before there were electric companies, if you ran your own factory, one of your fixed expenses was that you’d have to buy a power generator for your facility. You would have to have a generator that produced enough electricity to satisfy your peak power consumption. The issue was that during the rest of the day when you didn’t require peak use, the generator wasn’t being used at its full capacity. It also meant that if your electricity requirements rose beyond a generators maximum output, you’d have to replace your existing generator with a whole new one. This was exceedingly cost inefficient. This is synonymous with purchasing web hosting. You need to pay for hosting that covers your maximum load, even if it only reaches that maximum once a day, week, or even month. If your website has 10000 visitors over the course of just one hour a day, but is idle for the other 23, you are still required to reserve and pay for resources that can deal with that load for the other 23 hours. Wouldn’t it be nice if you could share those resources with other people that needed them for another hour in that day?