Rails 6 provided us with so many necessary features that made life easier for every Ruby on Rails developer. One of its many features is the Action text.
Sensu Go is the latest version of Sensu, which is a tool to monitor your cloud infrastructure at a production scale. Sensu Go is portable, easier and faster to deploy which enables us to get deep visibility of our entire infrastructure. Not just infrastructure, Sensu can be used to monitor applications, servers, Databases, even in on-premises infrastructure.
If you look up the internet for an authorization gem for your Rails application, you will find these two most commonly used gems. They are Pundit and CanCanCan. This may leave you in a dilemma on which one to choose. Well, no worries you are in the right place.
Ever wondered if there was any simple way to restrict some basic features and functionality to users who meet specific criteria or something like that? Well, no worries you can make use of the CanCanCan gem to make the user experience of your rails application very flexible. Using CanCanCan we can define roles and permissions to the user by which we can limit the experience of certain type of users and also gives us a layer of security.
When we look at the above image, our brain automatically registers the content more towards the mid and right side portions of the image than the left side because the intensity variations are more in the middle and right side portions of the image.
Submitting file(s) to an API in ruby might look new to many developers as there might not be many real-time use cases where you submit a file to an API unless you work on form submission where the user has to upload his/her image or something related to that. It is way easier than you can imagine, we can make use of the HTTP gem for this purpose. We chose HTTP over many other gems because of various reasons, some of them being
Docker registry is a repository of Docker images from where you can pull and push images. The registry holds different tagged versions of images. One of the most used public registries is DockerHub which involves zero maintenance and provides a ready-to-go solution. Using a public registry is suitable for small scale development. But when it comes to an enterprise, pushing your images to public repositories isn’t the best practice.
As Deep Learning engineers, we always wanted access to powerful computers. And when it’s available for free, we would love to make full use of it. Google is providing colaboratory notebooks powered by GPUs and TPUs. But when we have huge dataset to train we will have a problem. We have ways to upload the data to the virtual machine in which colaboratory is running, but at the moment you get disconnected all the data associated to that VM is lost. So we can use our own google drive data to train and also store the trained models in drive itself.
Nomad is a workload orchestrator built by HashiCorp. But what is a workload orchestrator? For instance, let us say you have an application that needs to be deployed. Ideally, you will find a server with the necessary resource allocation needed by the application, deploy the code in it, set up networking, manage the lifecycle of the application, etc. Handling all these manually will not enable us to scale our application. To achieve all these with ease, orchestrators comes to our rescue.