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 ]

Introduction to class delegation in Kotlin

Categories

Tags backend-development software-engineering product-and-design

Technically, what you’re going to see in this chapter is more precisely known in the broader programming community as “forwarding” rather than “delegation”. However, in the Kotlin world, it’s always referred to as delegation, so we’ll continue to use that term here. By typealias.com.

The tutorial then dives into following topics:

  • Delegation in restaurants and code
  • Manual delegation
  • Easy delegation, the Kotlin way
  • Multiple delegates
  • Overriding a delegated call
  • Managing conflicts
  • Delegation for general and specific types

In Kotlin, sometimes an object is fully capable of fulfilling a request (such as a function call) on its own, and in other cases, it might need to hand off the request to another object. Nice tutorial!

[Read More]

How we reduced our iOS app launch time by 60%

Categories

Tags frontend-and-mobile product-and-design

App startup time is a critical metric for users, as it’s their first interaction with the app, and even minor improvements can have significant benefits for the user experience. By Filip Busic.

In this article, we will explore three separate optimizations that reduced the time it took to launch our iOS consumer app by 60%. We identified these opportunities using proprietary performance tools, but Xcode instruments or DTrace could also be suitable alternatives.

Further in the article:

  • Changing String(describing:) to ObjectIdentifier()
  • Stop converting unnecessary objects to AnyHashable
  • Auditing 3rd party framework initializers

Accurately identifying performance bottlenecks and opportunities is often the most challenging part of any optimization. Notoriously, a common mistake is to measure A, optimize B, and conclude C. That is where good performance tools help highlight bottlenecks and surface them. Good read!

[Read More]

Best practices on how to create a Service Level Agreement for MSPs

Categories

Tags miscellaneous leadership-and-career

A Service Level Agreement (SLA) isn’t just a list of services, metrics, and penalties. It is a crucial part of your Managed Services Agreement (MSA). MSP SLAs help determines expectations and how to measure them, so you can keep clients satisfied and eliminate potential disputes. By technative.io.

This is very detailed article covering amongst others:

  • What is an SLA?
  • Why do you need an SLA?
  • SLA overview: How to write a Service Level Agreement?
  • Service level agreement best practices
  • Most common SLA mistakes

An SLA might not be the most exciting part of MSP work, but it is essential for building solid client relations. In this article, you will find tips on how to draft a thorough and clear SLA agreement. Producing a robust Service Level Agreement (SLA) begins with a practical approach that can protect both customers and the MSP. A well-written service-level agreement will help you build a strong relationship with your clients that will last for a long time. Nice one!

[Read More]

AWS introduces step functions distributed map for large-scale parallel data processing

Categories

Tags cloud-and-infrastructure product-and-design architecture-and-apis frontend-and-mobile devops-and-ci-cd

AWS recently announced a distributed map for Step Functions, a solution for large-scale parallel data processing. Optimized for S3, the new feature of the AWS orchestration service targets interactive and highly parallel serverless data processing workflows. By Renato Losio.

The new distributed map state allows writing Step Functions to coordinate large-scale workloads, iterating over millions of objects on S3, for example, logs, images, or CSV files. While AWS previously supported Step Function’s map state to execute the same processing steps for multiple entries in a dataset, it was limited to 40 parallel iterations.

The distributed map stops reading after 100 million items and supports JSON or CSV files of up to 10GB. Rafal Wilinski, founder of Dynobase, shares a CDK-based PoC of a migrations framework taking advantage of the new feature and comments: Step Functions Distributed Maps are awesome. Combined with DynamoDB Parallel scans, they enable blazingly fast, whole-table data migrations and transformations. Interesting read!

[Read More]

Jsonnet is better than YAML for generating JSON

Categories

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

YAML is a well-known language for generating JSON files, but as we have been generating Docker Compose for integration tests, we’ve found Jsonnet to be better. Before we discuss both languages, keep in mind that this piece is strictly to discuss the use of each language when generating JSON. By Colin Mo.

The article walks over:

  • YAML pros
  • YAML cons
  • Jsonnet pros
  • Jsonnet cons
  • Examples

Jsonnet is a data serialization format and a programming language. As a superset of JSON, Jsonnet can parse any valid JSON file and add extra functionality to it. Jsonnet is specifically designed to easily work with JSON data, especially in large and complex projects, by providing features such as variables, conditionals, and loops.

On of disadvantage of YAML is its lack of support for certain types of data, such as dates and times. While YAML can handle numbers and strings, it does not have built-in support for more complex data types, which can make it more difficult to work with certain types of data. Interesting read!

[Read More]

Deno fresh WASM: Code modules in Rust

Categories

Tags software-engineering product-and-design frontend-and-mobile

Deno Fresh WASM is pretty easy to set up, just by adding a single dependency to your project. This lets you write code in Rust, compile it to WASM and then use that generated module in your Deno project. By Rodney Lab.

The article then covers:

  • Setting up the project for Rust WASM
  • Rust code
  • Deno Fresh WASM: Rust source
  • Compiling the module
  • Using the module

In the post we have had a whistle-stop tour of setting up your first Deno WASM project. In particular, we saw how to use wasmbuild to quickly add a Rust WASM module to your Deno project, how to add console logs in your WASM Rust code, some basic Rust image manipulation. Excellent read with code in GitHub repo provided!

[Read More]

Temporal graph neural networks with Pytorch - How to create a simple recommendation engine on an Amazon dataset

Categories

Tags cloud-and-infrastructure data-and-analytics devops-and-ci-cd backend-development

Over the course of the last few months, we at Memgraph have been working on something that we believe could be helpful with classical graph prediction tasks. With our latest newborn query module, you will have the option of performing both label classification and link prediction. By Antonio Filipovic.

The following is explained:

  • Graph neural networks
  • Temporal graph networks
  • Amazon data example
  • Exploring an Amazon data network in Memgraph

You probably already know that a graph consists of nodes (vertices) and edges (relationships). Every node can have its feature vector, which essentially describes that node with a vector of numbers. We can look at this feature vector as the representation vector of each node, also called embedding of the node. To avoid getting lost in technical details, graph neural networks work as a message passing system, where each node aggregates feature representations of its 1-hop neighbors.

Plenty of examples and code is provided as well in the article. Good read!

[Read More]

How Grafana Labs uses and contributes to OpenCost, open source project for real-time cost monitoring in Kubernetes

Categories

Tags cloud-and-infrastructure devops-and-ci-cd software-engineering

While more and more teams are adopting Kubernetes as their standard container orchestration technology, cost insight is lacking. Teams often don’t know how much they’re spending, where in their organization they are spending, or what is driving their infrastructure cost increases. OpenCost helps alleviate this problem by bringing real-time cost monitoring to Kubernetes workloads with a solution that encompasses both an open specification and an open source project. By Mark Poko, JuanJo Ciarlante.

Further in the article:

  • How Grafana Labs uses OpenCost
    • Getting more accurate insight into vCPU and memory cost
    • Monitoring costs of a multi-cluster architecture
  • How Grafana Labs will contribute to the OpenCost OSS project
    • Observability
    • Ease of use
    • Performance

To get started with OpenCost and cost observability, you can find the OpenCost code in GitHub and check out the OpenCost documentation. Nice one!

[Read More]

Azure high-performance computing powers energy industry innovation

Categories

Tags cloud-and-infrastructure devops-and-ci-cd software-engineering

Global energy demand has rapidly increased over the last few years and looks set to continue accelerating at such a pace. With a booming middle class, economic growth, digitization, urbanization, and increased mobility of populations, energy suppliers are in a race to leverage the development of new technologies that can more optimally and sustainably generate, store, and transport energy to consumers. By Rudeon Snell.

The article deals with:

  • The rising demand for energy
  • Going green—Energy industry innovation abounds
  • Key takeaways

As the energy industry eyes a period of unprecedented growth and change, the role of technology will become ever more profound. Good read!

[Read More]

Storing OpenAI embeddings in Postgres with pgvector

Categories

Tags cloud-and-infrastructure ai-and-machine-learning devops-and-ci-cd data-and-analytics

A new PostgreSQL extension is now available in Supabase: pgvector, an open-source vector similarity search. By Greg Richardson.

The exponential progress of AI functionality over the past year has inspired many new real world applications. One specific challenge has been the ability to store and query embeddings at scale.

Further in the article:

  • What are embeddings?
  • Human language
  • How do embeddings work?
  • OpenAI embeddings
  • Embeddings in practice
  • Using PostgreSQL

… and more. Storing embeddings in Postgres opens a world of possibilities. You can combine your search function with telemetry functions, add an user-provided feedback (thumbs up/down), and make your search feel more integrated with your products. Good read!

[Read More]