We’ll start by introducing a preview of what optimization is and some of its special forms including optimization with recourse. We’ll then have a quick formulation and a numerical example. By the end of the tutorial, hopefully you’ll get a sense of why optimization with recourse can be a useful tool for stochastic use cases and how optimization with recourse is different from the usual averaging methods like mean and weighted average.
Optimization has been a key tool for efficiently allocating limited resources for a given problem scenario. The standard mathematical program provides a set of decisions usually for a…
Learning to plan for testability using Go’s interfaces and built-in error handling
The article about Golang test-driven development would have introduced you to the basic concepts for creating unit tests in Go. This time, you now want to learn more about testing practices such as mocking and error handling. If this sounds like you, well you’re in the right place. By the end of this tutorial, hopefully, you would have learned the following:
Learning the basics of Go with a test-driven development approach
Go, also known as Golang, is an open-source programming language that could match your business usecase especially if you are prioritizing built-in error-handling and speed. To increase the overall system quality and avoid defects, it’s also important to emphasize the tests for your go modules. Well, there are different approaches to Go testing but what we’d like to demonstrate is a way that’s familiar for developers in Python or Typescript using the
testify library. The first thing you’ll notice when you use the
testify library is how it is almost…
Updated with notes for accounts with 2FA and Personal Access Tokens
So, you have multiple GitHub accounts. One for personal repos and at least one for your work repos. Changing projects whether for personal or for work happens often and you just want to have a quick single reference on what to check and change before you make signed commits and push. In addition, you’d like it to work for accounts with two factor authentication (2FA) and personal access tokens. Well, this article should provide that rundown.
I am pretty sure that there are multiple articles and forums mentioning what…
Quick alternative to your handy omit
_.omit() is the oh so handy function that lets you create an object that "exclude" properties from an object instead of explicity "including" all the other properties. But it is now being deprecated in Lodash 5 and probably for the better. For deep dive on the reason why it's being removed, I would suggest Dempsey's article.
Here’s a summary: performance, performance, performance. For example, the Semantic UI React team notice about 12000x improvement (yes, you counted those zeroes right, 12 thousand) for render times.
I’m listing here a quick alternative thanks to object destructuring…
Reusing and Refactoring the React Semantic UI Homepage Layout Template
You’ve finally decided to have a go at learning ReactJS and would like to see a pathway for you to build your own react app in no time. There are different approaches and levels for your learning React journey but I did notice a gap from the usually recommended ones. This article will help address that missing link by providing an “unstructured template” example to help you fast track building your own React app from scratch that’s easy to maintain.
I’ve been searching for the most convenient ways of storing photos that works for me. Google Photos came very close as I like the search features and UI, but it’s still missing the info found in the local folders where my photos are grouped. In addition, I also wanted a seamless validation of the dates in my photos based on the folder group. Downloaded photos from Facebook have no date taken info. …
AWS certfications generally should help distinguish yourself when looking for a new job or improve the chances of career progression as the AWS exams are some of the most recognized if not the most sought after cloud certifications.
Certifications would also help the company you’re affiliated with as these highlight the company’s cloud professionals. If the company is part or plan to be part of the AWS partner network, a number of cloud certifications will help meet the partner status criteria.
Actually, I think just gaining a better understanding of cloud computing in the preparation for the exam is worth…