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 ]

Java theory and practice: Explore new Java SE 11 and 12 APIs and language features

Categories

Tags backend-development software-engineering architecture-and-apis cloud-and-infrastructure

Mohamed Taman from IBM wrote this guide focusing on what is new in Java. New classes, security features, HTTP Client, and a no-compile code launch technique that every developer should know.

The article focuses on tracking the evolution from Java SE 9 to version 12. It is split into features that are visible to all developers (which are so useful, you’ll wonder how you coded without them) and everything else (the “under the hood” features).

New features visible to developers:

  • APIs and methods
  • Utility classes
  • Language features
  • Under the hood features
    • Nest-based access control
    • Flight Recorder
    • Transport Layer Security 1.3 (TLS)
    • Unicode 10
  • Deprecated modules and methods
  • What happened to JavaFX?

Starting with Java SE 11 and for the first time in Java history, you can execute a script containing Java code directly without compilation. The Java 11 source execution feature makes it possible to write scripts in Java and execute them directly from the command line.

Click for link to detailed list of methods and features. Good overview of new Java!

[Read More]

Things I learnt the hard way (in 30 years of software development)

Categories

Tags leadership-and-career software-engineering how-to architecture-and-apis

This is a cynical, clinical collection of things Julio Biason learnt in 30 years working with software development.

“Without requirements or design, programming is the art of adding bugs to an empty text file.” – Louis Srygley

Sometimes, even an “elevator pitch” – up to two paragraphs that describe what the application does – is enough.

If you have no idea how to start, describe the flow of the application in high level, pure English/your language first. Then fill the spaces between comments with the code.

Very interesting list contains items like:

  • Spec first, then code
  • Write steps as comments
  • Gherkin is your friend to understand expectations
  • Unit tests are good, integration tests are better
  • Tests make better APIs
  • Make tests that you know how to run on the command line
  • Be ready to throw your code away
  • Future thinking is future trashing
  • Don’t use Booleans as parameters
  • Beware of interface changes
  • If you know how to handle the issue, handle it
  • Types say what you data is

… and much more.

When developers try to solve a problem, they sometimes try to find a way that will solve all the problems, including the ones that may appear in the future.

But here is the thing: The problems from the future will never come and you’ll end up either having to maintain a huge behemoth of code that will never be fully used or you’ll end up rewriting the whole thing ‘cause there is a shitton of unused stuff. Great advice!

[Read More]

Understanding fake Agile

Categories

Tags leadership-and-career miscellaneous how-to

Steve Denning is author of this article explaining what fake Agile is, how to identify it and how to deal with it. With the growing recognition that “Agile is eating the world,” surveys by Deloitte and McKinsey show that more than 90% of senior executives give high priority to becoming agile.

A particularly unfortunate form of “branded Agile” concerns scaling frameworks. These are schemes aimed at helping firms that have some teams implementing Agile practices and want to resolve the tension between the Agile teams and the back-office systems of the organization (such as strategy, planning, budget, HR, Finance) which are typically monolithic and bureaucratic.

The article covers:

  • Agile defined
  • The three laws of Agile
    • Law of the Customer
    • Law of the Small Team
    • Law of the Network
  • Agile without the label
  • Early-stage Agile
  • Agile in name only
  • Agile for software only
  • Stalled agile journeys

… and more patterns in the article. Really insightful!

[Read More]

Exploring container security: Encrypting Kubernetes secrets with Cloud KMS

Categories

Tags cloud-and-infrastructure security-and-privacy

At Google Cloud, they care deeply about protecting your data. That’s why Google encrypts data at rest by default, including data in Google Kubernetes Engine (GKE). Guide focusing on containers security directly from Google.

In a default Kubernetes installation, Kubernetes secrets are stored in etcd in plaintext. In GKE, this is managed for you: GKE encrypts these secrets on disk, and monitors this data for insider access. But this might not be enough to protect those secrets from a potentially malicious insider, or a malicious application in your environment.

The article then describes how Using Cloud KMS can protect secrets in Kubernetes. Their approach provides flexibility in your security model, to meet specific requirements you may have:

  • Root of trust
  • Key rotation
  • Separation of duties
  • Centralized auditing
  • Example to get you started

Now encrypt those secrets! Very useful.

[Read More]

Getting started with OpenSSL: Cryptography basics

Categories

Tags security-and-privacy cloud-and-infrastructure

Good primer on the cryptography topic. Aimed at anybody in need of a primer on cryptography basics, especially regarding OpenSSL. By Marty Kalin.

OpenSSL is a production-grade library and toolkit popular on Linux and other systems. OpenSSL utilities are available at the command line, and programs can call functions from the OpenSSL libraries.

The article then provides:

  • A quick history of OpenSSL and OpenSSL
  • An HTTPS client program in C
  • The hidden security pieces in the client program
  • OpenSSL from the command line

The dominant layout standard for a digital certificate is X509, and a production-grade certificate is issued by a certificate authority (CA). To learn more follow link to the original article. Nice work!

[Read More]

Public presentation tips

Categories

Tags miscellaneous leadership-and-career

Tips and tricks for anybody interesting in public speaking. Speaking on stage in front of ~800 people is a daunting task for anyone, regardless of how much speaking experience you might have. By Yaron Galai.

First and foremost: Whether you’re speaking to a class of 2nd graders, or presenting to an audience of investors – You’re telling a story, not reading deck slides.

The post is split into 2 main parts:

  • pre live day activities
  • the live day activities

Some of the advice included:

  • Write down the full text of your talk, word-for-word, as you intend to speak it.
  • For a good presentation, you should speak your text out loud at least 20 times
  • Record yourself in one of those 20 takes, and then listen to your recording
  • The lines you want to know best are where you want to transition from slide to slide
  • The side deck is for supporting visuals for your STORY
  • one of the biggest mistakes done by speakers is going too fast, and forgetting to breath

Some great advice here!

[Read More]

Relearn CSS layout

Categories

Tags frontend-and-mobile miscellaneous

Heydon Pickering & Andy Bell published series of articles on their blog focusing on CSS layout.

If you find yourself wrestling with CSS layout, it’s likely you’re making decisions for browsers they should be making themselves. Through a series of simple, composable layouts, Every Layout will teach you how to better harness the built-in algorithms that power browsers and CSS.

Employing algorithmic layout design means doing away with @media breakpoints, “magic numbers”, and other hacks, to create context-independent layout components. Your future design systems will be more consistent, terser in code, and more malleable in the hands of your users and their devices.

The Cluster Layout Source: https://every-layout.dev

The layouts guides include:

  • The Stack
  • Teh Box
  • The Center
  • The Cluster
  • The Sidebar
  • The Switcher
  • The Cover
  • The Grid

Each guide provides the problem statement, the solution, use cases and more. Really useful!

[Read More]

Angular 8 brings smaller bundles, CLI APIs, alignment with the ecosystem

Categories

Tags frontend-and-mobile backend-development

Stephen Fluin put together this article focusing on explaining what is exciting in the newest version of the Angular. This is a major release spanning the entire platform, including the framework, Angular Material, and the CLI with synchronized major versions.

This release improves application startup time on modern browsers, provides new APIs for tapping into the CLI, and aligns Angular to the ecosystem and more web standards.

The article the provides information on:

  • How to update to version 8
  • Differential Loading by Default
  • Route Configurations use Dynamic Imports
  • Builder APIs in the CLI
  • Workspace APIs in the CLI
  • Web Worker Support
  • AngularJS Migration Improvements
  • New Deprecation Guide

Detailed information for anybody deeply in Angular. More links to further reading and resources also provided. Great source of information.

[Read More]

Serverless local development

Categories

Tags architecture-and-apis software-engineering cloud-and-infrastructure

A guide from the pen of Gareth McCumskey on super hot topic of serverless Developing Serverless applications is a very different way of building applications we’ve been building for decades now.

Serverless arrived to help ease that infrastructure burden that building an application consisting of many small services adds. But it still means we need to figure out what the new dev workflow looks like in a Serverless microservice world.

What we need to focus on then is getting each service running in some fashion locally so that we can easily execute the code we write; our handlers that will eventually be our Lambda functions that execute our business logic.

The guide then focuses on answering the following:

  • The ability to execute and debug code locally in a repeatable way
  • Handling API calls to cloud vendor services locally
  • Unit testing
  • AWS Services locally

The author also put together a Serverless bootstrap which is publicly available in GitLab. Code is explained together with instructions how to use mock module in your project. Nice!

[Read More]

Image recognition in Python with TensorFlow and Keras

Categories

Tags backend-development data-and-analytics

One of the most common utilizations of TensorFlow and Keras is the recognition/classification of images. If you want to learn how to use Keras to classify or recognize images, this article will teach you how.

TensorFlow is an open source library created for Python by the Google Brain team. TensorFlow compiles many different algorithms and models together, enabling the user to implement deep neural networks for use in tasks like image recognition / classification and natural language processing.

In terms of Keras, it is a high-level API (application programming interface) that can use TensorFlow’s functions underneath (as well as other ML libraries like Theano). Keras was designed with user-friendliness and modularity as its guiding principles.

In the article you will find:

  • Image Recognition (Classification)
  • Feature Extraction
  • How Neural Networks Learn to Recognize Images
  • The Machine Learning Workflow
  • Image Recognition with a CNN

Small example with the code is also provided so you can create and implement your first image recognition network in Keras. You can play around with the model and see how changing its parameters affects its performance. Nice one!

[Read More]