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 ]

Content compliance: How to navigate data & privacy regulations

Categories

Tags web-development cio how-to miscellaneous

Content marketing includes more than developing relevant content to engage your audience consistently. Processes, policies, and regulations govern certain aspects of it. As such, it’s critical to establish a content compliance strategy. By Jonathan Hill.

In this post, we’ll discuss what content compliance is, how to develop a plan, and more tips for adhering to regulations:

  • What is content compliance?
  • How to develop a content compliance strategy
  • Understand the types of content with compliance requirements
  • Discuss the rules with compliance and legal
  • Create standardized, compliant language

The regulations that govern content are always apt to change. New legislation is currently in the works in many states, as is a national bill. Check in with legal and compliance at least bi-annually to stay on the right track. Doing so helps minimize your risk and protect your brand. Interesting read!

[Read More]

Build your own command-line replica with GTID aware mariadb binlog

Categories

Tags app-development mysql database performance

This blog post begins a three part series to create and customize your own asynchronous MariaDB replication client. With the release of MariaDB Community Server 10.8.1, the mariadb-binlog command line utility now supports both 1) filtering events by GTID ranges, and 2) validating a binary log’s ordering of Global Transaction IDentifiers (GTIDs). By Brandon Nesterenko.

A large amount has been written that highlights the value of MariaDB’s Global Transaction IDentifiers (GTID), but to quickly summarize a few main ideas:

  • Using GTIDs to represent replication state allows for explicit crash safety and easy server topology changes.
  • Replay consistency can be validated by ensuring that sequence numbers are monotonically increasing within a given domain.
  • Event execution can be parallelized at the domain-level, as independent data streams can be tagged with different domain ids.

The article then goes over and explains:

  • Background on GTIDs
  • The design of components for command-line client
  • The replication client implementation

This blog post provided an overview on using GTIDs to maintain replication state for consistent event replay, as well as the workflow of replication on a mariadbd instance. We then used this information to build our own command-line replica using the mariadb-binlog and mariadb executables. Interesting read!

[Read More]

.NET programmer's guide to CancellationToken

Categories

Tags web-development programming how-to apis app-development

Microsoft created a standardized cancellation implementation that has far-reaching capabilities beyond its original use case. Sometimes canceling is a good thing. In many of my .NET projects, I have had plenty of motivation to cancel both internal and external processes. Microsoft learned that developers were approaching this common use case in a variety of complex implementations and decided there must be a better way. By Davit Asryan.

CancellationToken was introduced in .NET 4 as a means to enhance and standardize the existing solutions for canceling operations. There are some general approaches to handling cancellation that popular programming languages tend to implement. Details in the article:

  • CancellationToken Under a Microscope
  • CancellationTokens for Advanced Events
  • CancellationToken for Timeout
  • CancellationToken As a Notification Mechanism
  • An Expansive CancellationToken Toolbox

A common cancellation communication pattern was introduced as CancellationToken, which was built using lower-level multithreading and interprocess communication constructs. As part of author’s initial research into this pattern—and after having dug through the actual .NET source code for Microsoft’s implementation—I found that CancellationToken can solve a much broader set of problems: subscriptions on applications’ run states, timing out operations using different triggers, and general interprocess communications via flags. Good read!

[Read More]

Best practices for Java apps on Kubernetes

Categories

Tags java programming app-development devops kubernetes

In this article, you will read about the best practices for running Java apps on Kubernetes. Most of these recommendations will also be valid for other languages. However, I’m considering all the rules in the scope of Java characteristics and also showing solutions and tools available for JVM-based apps. Some of these Kubernetes recommendations are forced by design when using the most popular Java frameworks like Spring Boot or Quarkus.

Further in the article:

  • Don’t set limits too low
  • Consider memory usage first
  • Proper liveness and readiness probes
  • Choose the right JDK
  • Consider migration to native compilation
  • Configure logging properly
  • Create integration tests

Let’s consider which alternative forJDK we should choose. Different vendors provide several replacements. If you are looking for a detailed comparison between them you should go to the following site. It recommends using Eclipse Temurin in the 17 version. Interesting read!

[Read More]

Maximizing user experience: Strategies for improving frontend performance S01-E01

Categories

Tags cio frontend javascript app-development ux web-development

In today’s fast-paced digital world, the speed of your website can make or break the user experience. With abundant information at our fingertips, users expect websites to load quickly and efficiently. As frontend developers, it’s our responsibility to deliver a seamless experience for our users. By Gaurav Sharma.

This comprehensive tutorial on frontend performance optimization will be presented in a series of blog posts, exploring various techniques and strategies for enhancing the speed and overall user experience. Amongst others it deals with:

  • How do we measure the resource loading time of our website?
  • Compression
  • Conditional GET Requests
  • Expires
  • Keep-Alive

HTTP is built on top of Transmission Control Protocol (TCP).In early implementations of HTTP, each HTTP request required opening a new socket connection. This is inefficient because many HTTP requests in a web page go to the same server. Nice one!

[Read More]

What is changing for Vuejs developers in 2023

Categories

Tags cio frontend javascript cloud web-development

2022 saw some major changes in the Vue.js ecosystem from Vue 3 becoming the new default Vue version, to development environments pivoting to Vite, to a stable release of Nuxt 3. What do all these changes, and others, mean for Vue.js devs in 2023? By Daniel Kelly.

The article then summarises some topics:

  • Vue 3
  • Composition API
  • Lightning Fast Development with Vite*
  • Nuxt 3
  • State Management with Pinia
  • TypeScript

The changes brought about in 2022 have poised 2023 to be a great year for the modern Vue.js developer. Good read for any frontend developer.

[Read More]

Top 8 products startups use on Google Cloud

Categories

Tags google management cio gcp cloud

Startups worldwide turn to Google Cloud tools to build fast on a strong and easy to use platform that helps them get to market and launch products faster, all while building on the cleanest cloud in the industry. Startups leverage Google Cloud and our Google for Startups Cloud Program to go from idea to IPO, and there are a variety of products on Google Cloud that can help them. By Fillipo Madella.

Here are the 8 top products that startups use on Google Cloud to innovate and grow:

  • Firebase for app development
  • Cloud SQL for database needs
  • AI and machine learning products
  • BigQuery for data analytics
  • Google Kubernetes Engine (GKE) for containers
  • Looker for data visualization

… for the last 2 follow the link to the full article. Interesting mix of products!

[Read More]

How to get started filling 3.4 million cybersecurity jobs

Categories

Tags miscellaneous management cio infosec cloud

It seems like it’s getting harder to hire for security roles, just as attacks grow more sophisticated. Here’s some advice to ease recruiting — and nurture security talent in-house. By Jennifer Riggins.

The International Information System Security Certification Consortium’s (ISC²) annual cybersecurity workforce study found a worldwide gap of 3.4 million cybersecurity workers — and that’s after this workforce grew just over 11% from 2021 to 2022, adding 464,000 jobs last year alone.

This isn’t just a risk of burnout among the current security staff, but a risk to the whole organization. The same study found that a significant percentage of the 11,779 practitioners and decision makers it surveyed reported that the following things that they have experienced might have been mitigated if they had enough cybersecurity staff.

Some of topics covered in the article:

  • Broad job descriptions scare off candidates
  • Sell the purpose in cybersecurity roles
  • Biggest barriers to filling security jobs
  • How to improve hiring processes
  • Upskilling for security skills in-house
  • Security hiring amplifies tech’s diversity woes

Cybersecurity hiring processes are notoriously gatekeeping, even for the tech industry. Every person interviewed for this piece cited a person’s network as the most common way to find a cybersecurity job — and building that network often favors people who have the time and money to attend conferences. Interesting read!

[Read More]

Introduction to class delegation in Kotlin

Categories

Tags java programming app-development kotlin

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 ios web-development app-development swiftlang

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]