Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

Setting up Tailwind CSS with Vue.js

Categories

Tags css frontend nodejs web-development app-development

Tailwind CSS is one of the rising stars in the CSS framework world. It’s especially popular in the Laravel and Vue.js community. By Markus Oberlehner.

In this article, we learn how to set up Tailwind CSS to work with a Vue CLI powered application. Because Tailwind CSS is a utility-first CSS framework which provides a lot of utility classes out of the box, its file size without any optimizations is pretty massive. But luckily, we can use PurgeCSS to improve the final bundle size of our application tremendously.

The article focuses on the following:

  • Using Tailwind with Vue CLI
  • Customizing the Tailwind configuration
  • Reducing file size with PurgeCSS
  • Writing purgeable Vue components

You will also get code examples and plenty of links to further reading. Although setting up Tailwind CSS to work with Vue.js is rather straightforward, things become a little more tricky after also adding PurgeCSS into the mix. Short and sweet!

[Read More]

5 Ways to leverage cloud computing to boost your startup

Categories

Tags startups cloud cio

Cloud technology is one of the most talked-about topics in today’s date, and in the past few years, it has revolutionized the way startups and small businesses operate and store their data. It not only helps automate a number of operations in your business but is also a lot more cost-effective. Published on securityboulevard.com

Cloud technology has a number of applications besides just storing your data. If you want your startup to shine in this competitive market, you should make optimum utilization of the cloud technology. In this blog, author will discuss 5 effective ways of using cloud technology that can give you startup an edge over your competitors:

  • Setting up remote workplaces
  • Adding extra security to the network
  • Providing round the clock access to data
  • Offering scalability
  • Enabling disaster recovery

A majority of the successful small businesses are using cloud technology to their advantage. It is affordable and offers flexibility, security and scalability. Nice one!

[Read More]

Apache Cassandra: An essentials guide

Categories

Tags apache database nosql cloud big-data

Need to get up to speed on Cassandra and learn how it can benefit your software development practices? These are the essentials that cover the basics. By Rebecca Mills, Developer Relations @ DataStax.

Apache Cassandra is an extremely powerful NoSQL database used by Apple, CERN, GitHub, Instagram, Netflix, Reddit and over 1500 more companies with large, active data sets. Recent developments have made it much easier for developers to use, including the creation of Kubernetes Operators and “as a service” options.

In this article, we explain Cassandra’s approach, architecture, key concepts, and primary use cases – and demonstrate the reasons why so many people want to adopt it.

The article is split into these sections:

  • Cassandra as a NoSQL database
  • Distribution provides power and resilience
  • Want more power? Add more nodes
  • Introducing Partitions
  • Replication ensures reliability and fault tolerance
  • Tuning your consistency

Ultimately, Cassandra is deployment agnostic. It doesn’t care where you put it – on prem, a cloud provider, multiple cloud providers. You can use a combination of those for a single database. Nicely done!

[Read More]

How autoscaling GitLab CI works on AWS Fargate

Categories

Tags microservices devops cicd aws cloud

Run your CI jobs as AWS Fargate tasks with GitLab Runner and the Fargate Driver. Autoscaling GitLab Runner is a unique value proposition for teams that run their self-managed build agents on cloud-hosted virtual machines. By Darren Eastman.

GitLab Runner + AWS Fargate driver and the CI build container

Source: https://about.gitlab.com/blog/2020/05/11/introducing-autoscaling-gitlab-runners-on-aws-fargate/

GitLab Runner autoscaling responds to demand by provisioning new cloud-hosted virtual machines with Docker and GitLab Runner. When demand is lower, any additional virtual machines above the configured minimum size are de-provisioned. However, while this model of automatically provisioning and terminating virtual machine instances continues to be useful for a vast plethora of use cases, customers also want to take advantage of the capabilities of cloud container orchestration solutions for executing GitLab CI/CD jobs.

The article then walks you through:

  • So how does it work? (Custom executor)
  • So how does it work?
  • Limitations
  • Getting Started

With the release of the GitLab Runner AWS Fargate driver, we provide the most diverse set of options in the industry for executing CI pipeline jobs in an autoscaling configuration. These options now include cloud-delivered virtual machines, AWS EC2, Google GCP, Azure Compute, and container orchestration platforms: AWS EKS, AWS ECS + Fargate, and Google Kubernetes. Excellent read!

[Read More]

Succeeding with microservices

Categories

Tags microservices devops apis cio software-architecture

How to succeed with microservices through principles, domain driven design concepts, and coding best practices.By Tiffany Jachja.

For organizations working with microservices, success can be varied and gaining the benefits of the cloud can be a costly journey. This blog post will share how to succeed with microservices through microservices principles, domain driven design concepts, and considerations around coding best practices.

Microservices are small, autonomous services that work together. Loosely coupled and high cohesion are the two concepts that refer to microservices. Cohesion is how we group related code together, and coupling refers to how different services depend on each other.

The article is split into these sections:

  • The foundational layers of getting to the most of Kubernetes / container-native benefits
  • The nature of systems design
  • Microservices
  • The seven principles of microservices

Many organizations investing into Kubernetes initiatives are looking to succeed with microservices. This blog post peels back the layers of the onion to show how to succeed with microservices. Ggood read!

[Read More]

How to create a custom Alexa skill using AWS Lambda and Serverless framework

Categories

Tags data-science serverless programming frameworks learning aws

The world of artificial intelligence assistants is growing with such velocity that it doesn’t surprise us anymore and it’s about to be ubiquitous. Written by Maria Meheden.

Most of us already engage with AI algorithms on a daily basis: search engines, transportation, healthcare, personal finance, aviation, and many more. Most of the development in AI is associated with benefits to humanity, everything from face and voice recognition to the latest self-driving cars.

Interaction Model - the frontend - and the Hosted Service -the backend

Source: https://assist-software.net/blog/how-create-custom-alexa-skill-using-aws-lambda-and-serverless-framework

Conversational interfaces (CI) became one of the main digital marketing trends of last years. In the words of Ev Williams, CEO of Medium, a partner at Obvious Ventures and co-founder of Twitter, “the future operating system for humanity is the conversation.” Conversational interfaces are not just a fun thing, but a great opportunity for brands to be in close communication with their target audience.

The article deals with:

  • Artificial intelligence assistants introduction
  • Creating an Amazon Alexa Skill
  • Building the Lambda function

You will get all the code for lambda function and also charts explaining some concepts. Once you start interacting with Alexa, it becomes so comfortable that you start wanting more from it and you realize that a voice interface isn’t something that’s foreign or not to be adopted. A pathway to grow your business. Well written!

[Read More]

OTP as the core of your application

Categories

Tags software-architecture performance frameworks elixir web-development functional-programming

In this two part series, we’ll be taking a deep dive into what exactly the Actor Model is, how exactly the Actor Model is implemented in Elixir/Erlang and how we can leverage this pattern in pragmatic way from within our applications. By Alex Koutmos.

To really understand these concepts, we will be writing a Phoenix application that relies on GenServers as the primary datasource that powers our business logic.

The article then reads about:

  • What is the Actor Model?
  • How does the Actor Model work on the BEAM?
  • Create a new Phoenix project and install dependencies
  • Writing a data scraper using Floki
  • Seeding our database with sample data

The Actor Model is a programming model that aims to provide a mechanism for dealing with and reasoning about concurrent programs. There are many paradigms and methodologies that exist to provide a pattern for concurrent programming and the Actor Model is just one of those. There are other concurrency models like CSP (Communicating Sequential Processes) and shared memory concurrency (using threads and locks). Plenty of code examples and great number of links to further reading. Good job!

[Read More]

Object Oriented Programming in Python

Categories

Tags oop python programming

You can see Object Oriented Programming (OOP) somewhat as a more advanced topic in Python where Python does implement it pretty well. Even though, Python does not require an OOP approach for making complex programs, it sometimes makes life easier while sometimes it doesn’t. Published on Dave’s RoboShack.

While Python scripts work pretty well without any implementation of Object Oriented Programming, it allows you to keep your code even more structured in form of Classes, Attributes and Methods.

In simple terms, a Class is a group of related variables and functions, all bound to a so called Object. Except, in the scope of OOP, you call the variables Attributes and the functions are called Methods. These objects are meant to behave similar to real-world objects with individual properties and things that can be done with them. The syntax of creating a class is fairly easy:

The article then describes and provides code examples for:

  • Classes
  • Attributes
  • Methods

By convention, class names are written with the first letter as a capital letter, the remaining lowercase. If the class name is a compound word such as “Car Battery”, you would write each word starting with a capital letter: CarBattery. To learn more follow the link to the full article. Nice one!

[Read More]

How to use Azure Durable Entities to see who's the strongest Avenger

Categories

Tags serverless cloud azure machine-learning

In the movies, Thor keeps saying that he “is the strongest Avenger”. Some people say that it’s actually Hulk, but I guess it’s a matter of perspective. How can we find a solution to this riddle? By using Azure Durable Entities of course! By Davide Guida.

Azure Durable Functions have been a very nice addition to the Azure ecosystem. They basically let you write stateful functions and run them serverless. There’s as usual a whole plethora of patterns you can apply with them, like Function Chaining.

Durable Functions currently come in four different types: Activity, Orchestrator, Entity, and Client. Author has done a bit of work with all of them and this tutorial he is going to talk a bit about Entity Functions.

It is also very important to note that Entity Functions focus on reliability more than performance, by using reliable queues to handle messaging.

Entity Functions are basically another form of the Actor Model and share a lot of similarities with Project Orleans, although with some interesting differences.

To showcase how they work, author prepared a super-duper example, WhoIsTheStrongest 😀 It’s a distribute voting platform, aimed to decide who’s the strongest Avenger! The code is available on GitHub, feel free to wander around. The UI is written in Blazor. Nice read!

[Read More]

Developing on Windows with WSL2

Categories

Tags how-to linux software programming

Since a new build of Windows with WSL2 (Windows Subsystem for Linux) just got out, author took the chances and tried out a whole new developer experience: Doing web development in Windows! And by web development author means fullstack. By Sebastian Deutsch.

The article deals with:

  • Meet the Windows Subsystem for Linux (WSL)
  • Getting WSL2 up & running
  • Installing Rails & Friends
  • Tools that make me happy

We liked the list of tools which will improve developer’s productivity including: Hain (quick launcher for windows), Fast Node Manager (fnm), conda – Package, dependency and environment management for any language—Python, R, Ruby, Lua, Scala, Java, JavaScript, C/ C++, FORTRAN. Would the author switch to Windows/WSL2 for development? Follow the link to full article to get answer. Great read!

[Read More]