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 ]

Angular platforms in depth. Rendering Angular applications in terminal

Categories

Tags frontend-and-mobile backend-development

The Angular framework was designed with flexibility in mind. That approach allows Angular applications to be executed across different environments — browser, server, web-worker, and even mobile devices are possible. Written by Nikita Poltoratsky, a Solution Architect at Akveo, open-source contributor and tech author.

In this series of articles, author reveals to you how does it even possible – execute Angular applications across different environments. Also, we will learn how to build custom Angular platform which renders applications inside the system’s terminal using ASCII graphics.

The article is split into these parts:

  • Renderer
  • Sanitizer
  • Error handling
  • Terminal module
  • Platform terminal
  • Building terminal application

You will get a custom platform creation process overview and learn about crucial Angular services and modules. Finally, you will build custom platform which renders Angular applications inside the system’s terminal using ASCII graphics!

And also yoou will get access to the repository with all the source files related to the Terminal platform.. Nice one!

[Read More]

Utilising hashes in Hiera to reduce code complexity

Categories

Tags devops-and-ci-cd cloud-and-infrastructure frontend-and-mobile

Darren Gipson wrote this piece about their effort to standardize the Puppet code design. They have moved as much of the data layer as possible to Hiera. Hiera is a built-in key-value configuration data lookup system, used for separating data from Puppet code.

Moving the data layer to Hiera means that we only have to understand a simple yaml file when building a new environment. This allows for great code reuse and helps explain to others not familiar with our Puppet code where the settings are.

Hiera was the clear solution for their problem because it provides you with an entry point to store data that you can then read with Puppet code.

The article discusses:

  • Business problem – migration to cloud-based services,
  • Solution
  • Complex examples

Using hashes in Hiera in certain way allows your Puppet code to be very data-driven, preventing the need to write the same code twice and providing flexibility for different configurations across environments. For details and code example follow the link to full article. Very good!

[Read More]

What's in a name?

Categories

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

Often when we talk about accessibility problems, we end up talking about a number of different errors that all boil down to a missing accessible name: form fields without labels, images without alts, icon buttons without readable text, and many more. Written by Sarah Higley.

A missing or incorrect accessible name in some form or other is right up there with poor color contrast in the list of most common accessibility errors across the web.

More recently, a greater awareness of accessibility and an increase in the use of ARIA attributes has resulted in a sort of reverse naming problem, where elements that cannot or should not be named get artificial names through ARIA. While an improperly added name is a step up from a missing one, it will often give the illusion of accessibility while masking an underlying problem that remains unaddressed.

Here’s a non-comprehensive list of terms and concepts that all boil down to talking about names:

  • labels, the element, and associating labels with form fields
  • table captions
  • image alt text
  • the element
  • an SVG element
  • aria-label and aria-labelledby

Not every element can support an accessible name, and even among those that can, not every one should. To learn about few general categories of elements that should always be named read the article in full. Excellent!

[Read More]

How open-source medicine could prepare us for the next pandemic

Categories

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

The old drug discovery system was built to benefit shareholders, not patients. But a new, Linux-like platform could transform the way medicine is developed—and energize the race against COVID-19. By Ruth Reader, writer for Fast Company.

The response to COVID-19 has been more open-source than any drug effort in modern memory. On January 11, less than two weeks after the virus was reported to the World Health Organization, Chinese researchers published a draft of the virus’s genetic sequence. The information enabled scientists across the globe to begin developing tests, treatments, and vaccines. Pharmaceutical companies searched their archives for drugs that might be repurposed as treatments for COVID-19 and formed consortiums to combine resources and expedite the process. These efforts have yielded some 90 vaccine candidates, seven of which are in Phase I trials and three of which are advancing to Phase II. There are nearly 1,000 clinical trials listed with the Centers for Disease Control and Prevention related to COVID-19.

In recent history, pharmaceutical companies have failed to deliver treatments for devastating illnesses because they cannot easily profit from them. While they may investigate diseases for which there is no treatment or cure and even find compelling insights, they won’t necessarily turn those findings into medicine.

A human rights lawyer named Jaykumar Menon is now building out a platform where scientists and researchers can freely access technological tools for researching disease, share their discoveries, launch investigations into molecules or potential drugs, and find entities to turn that research into medicine. If the platform succeeds, it would allow drugs to succeed on their merit and need, rather than their ability to be profitable.

Super interesting reading. Highly recommended!

[Read More]

How to unlock Windows systems with a bootable flash drive

Categories

Tags security-and-privacy software-engineering

Accessing a locked system is always a challenge. Full-disk encryption presents an immediate challenge to forensic experts. When acquiring computers with encrypted system volumes, the investigation cannot go forward without breaking the encryption first. By Oleg Afonin from ElcomSoft.

Traditionally, experts would remove the hard drive(s), make disk images and work from there. There is a faster and easier way to access information required to break full-disk encryption by booting from a flash drive, extracting the system’s hibernation keys and obtaining encryption metadata required to brute-force the original plain-text passwords to encrypted volumes.

The article provide following information for forensics experts:

  • Dealing with full disk encryption
  • No encryption: do i still need a password?
  • Why not reset the password?
  • Launching the chain reaction
  • Recovering windows logon password

Whether or not you are able to recover the password with a preliminary attack is a matter of luck, especially if there are multiple users or a domain controller in place. If you were unable to recover the particular user’s Windows logon password, as a last resort, you may reset the account password (or remove account lock if it was locked).

[Read More]

Remote work: How global teams collaborate across time zones

Categories

Tags how-to leadership-and-career architecture-and-apis miscellaneous

Laura Heisman is an author of this article about how they have built and managed very successful global teams through the years and share some great insight on how to work with dispersed teams around the world.

Successfully managing a global team requires rock star leadership and strong communication skills, coupled with cultural awareness and empathy. It’s important to collaborate with your teams in ways that engage employees to work together as one team across multiple departments, languages, time zones, and cultures.

The article covers topics, like:

  • What best practices have worked well for you?
  • What is the impact of COVID-19 when it comes to remote working?
  • How do you work across different time zones and continents?
  • How do you work across different time zones and continents?
  • Any advice for new remote workers in similar functions to yours?

Plan your home office and your work-week, and be sure to leverage tools and technology available to accomplish this. It was also recommended that you have a divide between your ‘home’ and ‘office’. Good read!

[Read More]

Railway oriented programming in Kotlin

Categories

Tags backend-development software-engineering

Railway Oriented Programming (ROP) is a functional programming technique that allows sequential execution of functions, not necessarily synchronous. The key concept is that each function can only accept and return Container of either Success or Failure. Failure wraps Throwable type and Success can be of any type. Published by Tonje Krosby.

This concept is present but not promoted in Kotlin since Kotlin 1.3. The matter of fact Kotlin KEEP states that feature may change in the future. At the time of writing this blog post, Result is a Container-like type which can be used inside generic containers such as Collection.

Example of functions that can have this paradigm and how to write adapters to those functions:

Excellent read for all fans of functional programming!

[Read More]

Native image lazy-loading for the web!

Categories

Tags miscellaneous frontend-and-mobile software-engineering

In this post, we’ll look at the new loading attribute which brings native img and iframe lazy-loading to the web! Web pages often contain a large number of images, which contribute to data-usage, page-bloat and how fast a page can load. By Addy Osmani, Engineering Manager at Google working on Chrome.

Many of these images are offscreen, requiring a user to scroll in order to view them. Historically, to limit the impact offscreen images have on page load times, developers have needed to use a JavaScript library (like LazySizes) in order to defer fetching these images until a user scrolls near them.

What if the browser could avoid loading these offscreen images for you? This would help content in the view-port load quicker, reduce overall network data usage and on lower-end devices, reduce memory usage. Well, I’m happy to share that this will soon be possible with the new loading attribute for images and iframes.

The article then goes and describes the loading attribute. The loading attribute allows a browser to defer loading offscreen images and iframes until users scroll near them. For details, including demo video follow the link to the original article. Nice one!

[Read More]

How to improve docker image size with layers

Categories

Tags devops-and-ci-cd architecture-and-apis

Today we’re going to dive deeper into Docker’s union file system (UFS) layers. Author will try to explain how layers work and then how to use them properly to reduce the size of your images. By Mac Rusek.

Docker containers are made of layers. Whenever we add, change, or delete files, we add a new layer on top of the old one. A combination of all those layers or the union is what the user or container sees; it’s a top-to-bottom view. On the other hand, the actual layered perspective is different.

The article puts forward few rules, which should help you to keep overall images small:

  • Whenever we commit something, we add a new layer
  • The image is a stack of layers and the user sees only the top one
  • Image size is a sum of all layers
  • We can flatten the image by export and import, but we lose the commit history
  • We can assign several tags to one image
  • We should tag generously
  • Don’t forget to keep the latest tag for the actual latest release

From the user perspective, we can see only the files that are left after all operations, but under the hood, everything is still there. Everything we add and then remove is still in our image. It’s helpful in general, as we have access to all commits, so we know what’s happened and when it happened. Good one!

[Read More]

A Guide to software delivery value stream mapping

Categories

Tags software-engineering leadership-and-career

Value-stream mapping (VSM) is a lean manufacturing technique popularized in the 90s after its successful applications in the manufacturing industry with companies like Toyota. Written by Tiffany Jachja.

A VSM is also known as a material and information flow map. Using this map, you can identify areas of improvement and map your current state to your future state. This blog post summarizes the key concepts of VSM and shares how you can use VSM within your IT organization.

The content of the article is split for:

  • Value stream map symbols and components
  • Creating a value stream map
  • Evaluating a value stream map
  • Harness your value stream

There are some more ways to look at a Value Stream Map, which borrows from lean manufacturing concepts. To optimize the flow of value you have to consider mura(unevenness), muri(overburdening), and muda(waste). Good read!

[Read More]