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 ]

Exploring Typescript: Interfaces, Types & Classes

Categories

Tags frontend-and-mobile product-and-design backend-development

Typescript is a superset of Javascript, which means that all Javascript is syntactically valid Typescript. However, Typescript’s power comes from its strict typing of objects. By Two Devs in a Pod.

Type checking often focuses on the shape of an object, ensuring that every object of a particular type adheres to a set of guidelines. The article then goes on explaining:

  • Why are types important in typescript?
  • Interfaces vs. Types
  • Mapped Types
  • Intersections & Unions
  • Object-Oriented Typescript
  • Bottom Line

Interfaces are basically a way of describing a data shape or defining a contract. Meanwhile, a type is usually used for composition of other types, like a union or intersection. That being said, they are often used interchangeably, and the most important thing to remember is to be consistent in how they are used within a codebase. You will also get links to further reading and online typescript playground. Sweet!

[Read More]

Postgres is out of disk and how to recover: The dos and dont's

Categories

Tags backend-development data-and-analytics leadership-and-career software-engineering

Welp … sometimes “stuff” happens … and you find yourself having a really bad day. We’d like to believe that every database is well configured from the start with optimal log rotation, correct alerting of high CPU consumption and cache hit ratio monitoring. By Elizabeth Christensen.

One frustrating thing that can happen to your database has nothing to do with performance and queries. Rather, it’s running out of disk space to store data. Today we’ll drill into some good practices you can put in place to help prevent such from happening. And if it does, show how to get you out of a bind as quickly as possible.

The advice here is aimed at someone in a production situation prioritizing minimizing data loss:

  • Backups: The most important thing
  • Full disk
  • A brief overview of how Postgres WAL archiving works
  • Broken Archives
  • What NOT to do:
    • Never remove WAL
    • Don’t immediately overwrite the existing data directory with a restore from a backup
    • Don’t just resize in place
  • What you SHOULD do:
    • Take a filesystem-level backup right now
    • Create a new instance (or at least a new volume) with sufficient space
    • Fix the underlying issues

Important thing is to remember that Postgres has tools to help you recover quickly and efficiently. Nice one!

[Read More]

Kubernetes in space - Azure

Categories

Tags devops-and-ci-cd cloud-and-infrastructure leadership-and-career

Brendan Thompson published this article about deploying Kubernetes (k8s) to the major public clouds. There is a lot of drive with Cloud Native technology and consuming public clouds native PaaS offerings and I think we are losing some of the joy and certainly flexibility when it comes to consuming those.

As a solution to this author personally prefers to use k8s where ever possible. It does, however, raise some other problems wherein organizations occasionally will try and push really nasty old COTS applications into k8s, which for anyway who has spent any time doing this knows that seldom does that work out well.

The content of the article:

  • Design
  • Infrastructure as Code
    • Backend
    • Providers
    • Variables
    • Network
    • Main
  • Deployment

Kubernetes components in Azure

Source: https://brendanthompson.com/posts/2021/k8s-in-space-azure

We liked author’s suggestion: If your organisation is running in Azure and you’re looking for to use kubernetes, I would say that it is well worth checking out AKS as long as you do not have the requirement for fully private clusters. Good read!

[Read More]

Trapped on technology's trailing edge

Categories

Tags miscellaneous cloud-and-infrastructure leadership-and-career software-engineering

We’re paying too much to deal with obsolete electronic parts. Keeping aging systems on their feet is a daunting and resource-intensive task. By Peter Sandborn.

The electronics, in essence, were fine—they just couldn’t easily be fixed if even the slightest thing went wrong. Although mundane in its simplicity, the inevitable depletion of crucial components as systems age has sweeping, potentially life-threatening consequences. At the very least, the quest for an obsolete part can escalate into an unexpected, budget-busting expense.

Call it the dark side of Moore’s Law: poor planning causes companies to spend progressively more to deal with aging systems. The crux is that semiconductor manufacturers mainly answer the needs of the consumer electronics industry, whose products are rarely supported for more than four years.

The defining characteristic of an obsolete system is that its design must be changed or updated merely to keep the system in use. Qinetiq Technology Extension Corp., in Norco, Calif., a company that provides obsolescence-related resources, estimates that approximately 3 percent of the global pool of electronic components becomes obsolete each month.

The systems hit hardest by obsolescence are the ones that must perform nearly flawlessly. Technologies for mass transit, medicine, the military, air-traffic control, and power-grid management, to name a few, require long design and testing cycles, so they cannot go into operation soon after they are conceived.

The absence of crucial parts now fuels a multibillion-dollar industry of obsolescence forecasting, reverse-engineering outfits, foundries, and unfortunately, a thriving market of counterfeits. Without advance planning, only the most expensive or risky options for dealing with obsolescence tend to remain open.

This is long but excellent read with many helpful examples and insights!

[Read More]

PyTorch – How to apply Backpropagation with Vectors and Tensors

Categories

Tags backend-development data-and-analytics leadership-and-career business-and-emerging-tech miscellaneous software-engineering

In Machine learning, a backpropagation algorithm is used to compute the loss for a particular model. The most common starting point is to use the techniques of single-variable calculus and understand how backpropagation works. However, the real challenge is when the inputs are not scalars but of matrices or tensors. By Strahinja Stefanovic.

In this post, we will learn how to deal with inputs like vectors, matrices, and tensors of higher ranks. We will understand how backpropagation with vectors and tensors is performed in computational graphs using single-variable as well as multi-variable derivatives. Further in this tutorial you will find:

  • Vector Derivatives
  • Backpropagation with Vectors
  • Backpropagation with Tensors
  • Backpropagation with Vectors and Tensors in Python using PyTorch

This is very detailed article with charts, algorithms, and PyTorch code examples explaining important concepts. Ideal for any data scientists!

[Read More]

What is fog computing and how does it work?

Categories

Tags data-and-analytics business-and-emerging-tech

The concept of fog computing was developed to combat the latency issues that affect a centralized cloud computing system. The boom of consumer and commercial IoT devices and technologies has put a strain on cloud computing resources. By Jose Gomez.

Fog computing can optimize data analytics by storing information closer to the data source for real-time analysis. Data can still be sent to the cloud for long-term storage and analysis that doesn’t require immediate action. Let’s get a better understanding of the underlying principles behind fog computing and see the ways it can benefit large, dispersed networks.

The article main content:

  • How does it work?
  • The benefits of fog computing
  • The disadvantages of fog computing
  • What industries rely on fog computing?

With the sheer amount of data being collected by IoT devices, many organizations can no longer afford to ignore the capabilities of fog computing, but it is also not wise to turn your back on cloud computing either

In reality, any device with computing, storage, and network connectivity can act as a fog node. When data is collected by IoT devices and edge computing resources, it is sent to the local fog node instead of the cloud. Utilizing fog nodes closer to the data source has the advantage of faster data processing when compared to sending requests back to the data center for analysis and action. In a large, distributed network, fog nodes would be placed in several key areas so that crucial information can be accessed and analyzed locally. Good read!

[Read More]

How can we fix the data science talent shortage?

Categories

Tags data-and-analytics leadership-and-career miscellaneous

Data science might just be the most buzzed-about job in tech right now, but its pop culture sheen conceals some of the harsh realities of being a fresh graduate in the industry. By Kindra Cooper.

The job topped LinkedIn’s yearly Emerging Jobs Report from 2016 to 2019 consecutively (it is now at #3). But when Springboard data science alum Kristen Colley started hunting for her first data science job in 2019, most companies were not interested in her data science credentials. “When I started rebranding myself as a data analyst with the ability to handle machine learning problems, that’s when the opportunities started coming in,” she said.

The article then pays attention to:

  • A high barrier to entry
  • Why are data science roles in such high demand?
  • A talent shortage and a tight labor market
  • How is the industry responding?

“I think that’s where the industry’s headed: it’s not about having a million proficient data scientists that can come up with the entire ETA from model creation to implementation,” said Colley. “It’s more about having software engineers that understand enough to implement these autoML techniques.”

The talent shortage in data science isn’t a simple matter of not enough people training to become data scientists. In fact, there’s an “experience” gap that tends to be built into highly practical professions with a steep learning curve like software engineering, where education is a weak substitute for real-world experience. Very good!

[Read More]

Leverage enterprise-scale reference implementations for your cloud adoption

Categories

Tags architecture-and-apis cloud-and-infrastructure leadership-and-career product-and-design frontend-and-mobile

This blog will discuss the IT team at Tailwind Traders and how they leveraged enterprise-scale reference implementations for the cloud environment they are building. By Thomas Maurer Senior Cloud Advocate, Azure and Sarah Lean, Senior Content Engineer, Azure.

Enterprise-scale landing zone architecture provides a strategic design path and target technical state for your Azure environment, including enterprise enrollment, identity, network topology, resource organization, governance, operations, business continuity, and disaster recovery (BCDR), as well as deployment options. These landing zones follow design principles across the critical design areas for an organization’s Azure environment and aligns with Azure platform roadmaps to ensure that new capabilities can be integrated.

The article then architecture considering several design areas:

  • Enterprise agreement (EA) enrolment and Azure Active Directory tenants
  • Identity and access management
  • Management group and subscription organization
  • Network topology and connectivity
  • Management and monitoring
  • Business continuity and disaster recovery
  • Security, governance, and compliance
  • Platform automation and DevOps

You will also get further resources for the study and charts explaining various architectures including the enterprise-scale foundation reference architecture, the enterprise-scale hub and spoke reference architecture, and enterprise-scale virtual wide-area network (WAN) reference implementation. Well done!

[Read More]

Worst nightmare cyberattack: The untold story of the SolarWinds hack

Categories

Tags security-and-privacy leadership-and-career software-engineering business-and-emerging-tech cloud-and-infrastructure

The routine software update may be one of the most familiar and least understood parts of our digital lives. By Dina Temple Raston.

The routine update, it turns out, is no longer so routine. Hackers believed to be directed by the Russian intelligence service, the SVR, used that routine software update to slip malicious code into Orion’s software and then used it as a vehicle for a massive cyberattack against America.

By design, the hack appeared to work only under very specific circumstances. Its victims had to download the tainted update and then actually deploy it. That was the first condition. The second was that their compromised networks needed to be connected to the Internet, so the hackers could communicate with their servers.

“The tradecraft was phenomenal.”

SolarWinds CEO and President figures the Russians successfully compromised about 100 companies and about a dozen government agencies. The companies included Microsoft, Intel and Cisco; the list of federal agencies so far includes the Treasury, Justice and Energy departments and the Pentagon.

“It’s really your worst nightmare,” Tim Brown, vice president of security at SolarWinds, said recently. “You feel a kind of horror. This had the potential to affect thousands of customers; this had the potential to do a great deal of harm.”

This is super interesting read for anybody in information security. Great read!

[Read More]

Use event-driven data mesh to avoid drowning in the (data) lake

Categories

Tags ai-and-machine-learning data-and-analytics cloud-and-infrastructure leadership-and-career miscellaneous

For much of the last decade, enterprises fought against data silos, isolated persistence stores holding untold but inaccessible knowledge. Their primary weapon was the data lake: a huge centralized datastore that held terabytes of domain-specific data in a single logical location. By Jesse Menning.

Gartner’s conception of a data fabric relies heavily on the “backbone” of a knowledge graph. The knowledge graph describes the relationship between data sources throughout the entire fabric. Using this graph, machine learning and artificial intelligence determine the relationships between various sources of data and infer metadata automatically. The result is a catalog of data resources that can be used by consumers across the enterprise.

It turns out data lakes bring challenges of their own. The article then explains:

  • Data mesh vs. data fabric
  • What is a data fabric
  • What is a data mesh
  • Flavors of data products
  • How to get started with an event-driven data mesh

Event-driven architecture at the transactional layer accelerates customer interaction, giving businesses a leg up on their competition. One layer down, an event-driven data mesh can do the same for analytics, decreasing the time it takes to get answers to crucial questions using data from across domains. The first steps down the path are to choose an approach (data fabric vs. data mesh) and pick an event-driven infrastructure that can support the initiative. Good read!

[Read More]