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 ]

Optimizing your app for network reachability

Categories

Tags app-development ios swiftlang learning

Network Reachability is a vital aspect of apps that use some networking capabilities. Your users won’t always have a good internet connection, so optimizing your app for bad networking conditions is essential. By Antoine van der Lee.

In this guide you will find information on:

  • Wait for connectivity instead of pre-checking for reachability
  • Restricting your app to WiFi only
  • Responding to networking errors
  • When you should use networking reachability checks
  • Testing your app for network connectivity
  • Disabling networking for your simulator app only

Optimizing your app for Network Reachability starts by preventing common mistakes like pre-checking for reachability before performing a request. Once you encounter a missing connection, you can check for a restored connection and resume requests accordingly. Using RocketSim, you’re able to validate your implementation without affecting your Mac’s connection. Nice one!

[Read More]

Python classes: The power of object-oriented programming

Categories

Tags oop programming python learning

Python supports the object-oriented programming paradigm through classes. They provide an elegant way to define reusable pieces of code that encapsulate data and behavior in a single entity. With classes, you can quickly and intuitively model real-world objects and solve complex problems. By Leodanis Pozo Ramos.

In this tutorial, you’ll learn how to:

  • Define Python classes with the class keyword
  • Add state to your classes with class and instance attributes
  • Provide behavior to your classes with methods
  • Use inheritance to build hierarchies of classes
  • Provide interfaces with abstract classes

Classes are the building blocks of object-oriented programming in Python. With classes, you can solve complex problems by modeling real-world objects, their properties, and their behaviors. Classes provide an intuitive and human-friendly approach to complex programming problems, which will make your life more pleasant. Good read!

[Read More]

How to use Ansible to create reports with Lynis, automate audits, and evaluate the security of your systems

Categories

Tags ansible servers linux infosec

In this article, we will explore how Lynis and Ansible work and how they can be used to evaluate the security of your systems. In addition, we will offer advice on how to improve your security. We will also look at how you can automate process with Ansible.

Lynis is an open code tool used to carry out security audits for operating systems based in Unix, such as Linux and macOS. Lynis takes place in the determined system and scans the system to check for vulnerabilities and unsafe configurations. After the scan, Lynis provides a detailed report with recommendations on how to improve system security.

In this tutorial you will learn:

  • Lynis installation
  • Audits
    • Analysis of the system, plugins, kernel, services.
    • Score
  • Group audits in Lynis
  • How to use Ansible to execute Lynis and automate the process
  • How can we improve the security of the Lynis reports?

In summary, using Ansible to generate reports with Lynis is an efficient and easy way to automate the auditing and security evaluation of systems. With a simple configuration you can use Ansible to execute Lynis automatically in various servers and compile reports in a centralized ad effortless way. This allows you to save time when it comes to evaluating the security of your systems, as well as helping you to maintain a clear and up-to-date vision of your security status. You will find configuration and reports explanation in the tutorial as well. Excellent read!

[Read More]

How to choose the right type of TLS/SSL certificate

Categories

Tags ssl servers cio learning infosec app-development

From the server administrators of highly technological organizations, to product managers of financial institutions, down to the one-man startups that just want to secure their shopping cart, the same question pops up: “If TLS/SSL certificates all do the same thing, what type should we get?” By Digicert.

All three types of TLS/SSL certificates do fundamentally the same thing: encrypt information during TLS negotiations. Correctly installed and configured, both https and the padlock will show in most browsers.

Beyond the padlock in the browser there are varying levels of security and risk. This article discusses:

  • What type of TLS/SSL certificate should you get?
  • Consumer Awareness
  • Types of TLS/SSL certificates
  • Domain validation certificate
  • Extended validation certificate

Extended Validation goes beyond security. It has become the baseline for any reputable site that cares about security, brand and their clients. EV makes a strong statement that your brand is committed to data security and offers the highest level of protection for your users. Interesting read!

[Read More]

Nano stores in Angular: how to make the state management simpler

Categories

Tags angular nodejs javascript learning

Angular now has integration for Nano Stores, an open source state manager based on the idea of atomic tree-shakable stores and direct manipulation. It is very small (from 334 bytes), has zero dependencies, and promotes moving logic from components to stores. By Nina Torgunakova.

With such stores, you don’t need to call the selector function for all components on every store change, which makes them noticeably fast.

Nowadays the concept of state management is crucial for client-side development: we need a reliable source of truth to manage data in our applications. The article then explains:

  • What do we have now (state management)?
    • RxJS
    • NgRx
    • Nano stores
  • Why is Nano stores the handiest way to manage state?

Author believes that with open source projects like this, Angular can soon get rid of boilerplate, complex definitions, and huge packages. Try using Nanostores in your Angular project to check out all these advantages for yourself. Nice one!

[Read More]

Moving beyond Google: Why ChatGPT is the search engine of the future

Categories

Tags miscellaneous data-science big-data search learning

I was thrilled when my school announced its new 1-to-1 technology program in my first year of teaching, a decade ago. This announcement meant that each of our students would now have a school-issued laptop in the classroom. Not only was it a welcome transition from traditional paper-based learning, but it also meant that I would be relieved from my daily tussles with the copy machine. By Zak Cohen

Unfortunately, my excitement was short-lived.

The article then reads:

  • How are schools keeping up with digital literacy?
  • The fallacy of digital natives
  • Digital literacy for a post-google World: Beyond “google it”
  • Do students really know what is a credible source?
  • “ChatGPT it” – A digital literacy strategy for a better learner experience
  • Getting started: Using ChatGPT as a digital literacy strategy

Google has undoubtedly transformed the landscape of education, however, its influence has been imposed on our classrooms without much consideration for alternative solutions. Now, with the advent of advanced AI technologies such as ChatGPT, we are presented with an opportunity to take control of the technology that is being used in our classrooms. Given the advantages of ChatGPT, is it still justifiable to use Google in the classroom? The future of education is not set in stone and by taking control of the technology we use in our classrooms, we have the power to shape it for the better. Interesing read!

[Read More]

Organoid intelligence: Computing on the brain

Categories

Tags miscellaneous data-science big-data startups

Small spheres of neurons show promise for drug testing and computation. In parallel with recent developments in machine learning like GPT-4, a group of scientists has recently proposed the use of neural tissue itself, carefully grown to re-create the structures of the animal brain, as a computational substrate. By Michael Nolan.

Gathering developments from the fields of computer science, electrical engineering, neurobiology, electrophysiology, and pharmacology, the authors propose a new research initiative they call “organoid intelligence.”

The development of organoids has been made possible by two bioengineering breakthroughs: induced pluripotent stem cells and 3D-cell-culturing techniques.

Organoids typically measure 500 micrometers in diameter—roughly the thickness of your fingernail. As organoids develop, the researchers say, their constituent neurons begin to interconnect in networks and patterns of activity that mimic the structures of different brain regions. The development of the organoids field has been made possible by two bioengineering breakthroughs: induced pluripotent stem cells (IPSCs) and 3D-cell-culturing techniques. Super interesting read!

[Read More]

Simplified data pipelines with Pulsar transformation functions

Categories

Tags app-development data-science apache big-data

They provide a low-code way to develop basic processing and routing of data using existing Pulsar features. Using functions in the cloud is a very efficient way of creating iterable workflows that can transform data, analyze source code, make platform configurations, and do many other useful jobs. As you develop a function you will quickly realize a need for a solid foundation of utilities and formatting. By Christophe Bornet.

This piece discusses:

  • About transformation functions
  • Function operations
  • Example configuration
  • Transformation function compute operation
  • Taking transformation functions further
  • Deploying the functions on Astra Streaming
  • Getting started with transformation functions

Similar to designing microservices, functions have boilerplate code and need standardized processes, and writing the boilerplate code can feel like valuable time spent on a seemingly mindless task. You bring value to a project by creating its core logic, not by creating JSON-parsing methods. You will code examples and links to further reading as well in this article. Good read!

[Read More]

Cilium Mesh – One mesh to connect them all

Categories

Tags app-development devops kubernetes containers infosec

Cilium has rapidly become the standard in Kubernetes networking thanks due to its advanced security, performance, and exceptional scalability. With the increase in the adoption of Cilium, more and more customers have requested to bring Cilium to the world of virtual machines and servers. By Thomas Graf.

Cilium Mesh connects Kubernetes workloads, virtual machines, and physical servers running in the cloud, on-premises, or at the edge. It is a natural evolution of Cilium. It builds on the strong Kubernetes networking foundation with identity-based security and deep observability and combines it with the highly scalable multi-cluster control plane Cilium Cluster Mesh.

Further in this announcement:

  • What is Cilium Mesh?
  • Why Cilium Mesh?
  • How do I configure Cilium Mesh?
  • Observability across infrastructure

Cilium provides extensive observability capabilities including the ability to stream observability data to Hubble UI, Prometheus & Grafana, and most SIEMs. This capability extends to Cilium Mesh to provide visibility into all workloads across cloud and on-prem infrastructure. Interesting read!

[Read More]

Clean code

Categories

Tags code-refactoring app-development programming performance

Clean code can be read and enhanced by a developer other than its original author. By Moises Gamio. This kind of practice Robert C Martin introduced it. If you want to be a better programmer, you must follow these recommendations. The article then explains:

  • Clean code has intention-revealing names
  • Clean code tells a story
  • Functions should do one thing
  • Don’t comment bad code, rewrite it
  • Choose simplicity over complexity
  • Avoid hard coding
  • Name your variables according to the context
  • Clean Code separates levels of detail
  • Clean Code needs a few comments
  • Clean Code has small methods

Video and code examples for each principle are attached, too. Nice one!

[Read More]