Categories
Social Media Technology

How Social Media Needs to Change

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.

Categories
Machine Learning Technology

.NET-Core GoogleCloudMlV1PredictRequest Execture Method Returns null Response

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.

Categories
Machine Learning Technology

The Basics of Machine Learning

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!

Categories
Technology

Are GUIDs actually unique?

No.

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.

Categories
Technology

Simple Optimization to make your Website Faster

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.

Categories
Technology

What is Cloud Computing?

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?

This is where cloud computing comes in. Returning to the electrical generators example, the same issue was identified. Instead of every business having its own generator, there was an opportunity to produce all the electricity in one place, and serve it out and charge for it based on usage. You could expand your operation without buying more generators. This is the idea behind cloud computing. Cloud computing allows you to be charged by usage, and as your website becomes popular (which is something everyone wants) then you can expand without incurring extra fixed costs. Having a slow month? You won’t be charged for that bulky server that’s sitting idle. You are charged for what you use by sharing that processing power. Efficiency and money savings.
There is a lot more to discuss about Cloud Computing. Hopefully this post has given you enough information to wrap your mind around the concept and given you some ideas on how you could make Cloud Computing work for your business needs. It is now a mature technology so fears faced by the non-early adopters should be dissipated. This is the new way the web will look going into the future, so it’s time to take that old diesel generator out to pasture. Your website should grow as your business does, and there is no better place for it to do that than the cloud.