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 ]

The one mistake I made as a developer I wished I learned sooner

Categories

Tags frontend-and-mobile leadership-and-career miscellaneous how-to

An article by Aphinya Dechalert about her journey from zero to dev lead and what she wished she could learn early in her career. The moral of her story – protect your time.

Twenty years from now you will be more disappointed by the things that you didn’t do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.

When I started down my path as a developer, I found myself eager to please and prove to everyone that I am a proficient and capable at coding. As a result, I would do anything that my bosses and managers required I do – from organizing office events, getting gifts for birthdays, leavers and anniversaries, to playing the UX designer and marketing campaigns coordinator – whilst being the lead developer.

‘Busy’ is what happens when you forget to protect your time and neglect to nurture yourself.

She then explains how to protect your time:

  • Set your boundaries
  • Limit your active connections
  • Be aware and wary of time sinkholes that do not benefit you mentally or physically

Learning to prioritize oneself is an art form that needs to be practiced and developed over time. Very wise!

[Read More]

Continuous Delivery and software distributors

Categories

Tags frontend-and-mobile leadership-and-career devops-and-ci-cd

Thoughts from Robert Collins on luck of continuous delivery in Free / Libre and Open Source Software projects (FLOSS). He outlines how continuous delivery could work for such a project.

The core of this article could be described as: Pick a service discovery mechanism (e.g. environment variables), write two small APIs – one for flag delivery, with streaming updates, and one for telemetry, with an optional aggressive data hiding proxy, then use those to feed enough data to drive a true CI/CD cycle back to upstream open source projects.

He also describes why you would want CD:

  • Lower risk upgrades
  • Faster delivery of new features
  • Better code hygiene

He then presents his working model for CD which includes feature flags, telemetry etc. You will find charts explaining CD and learn about challenges faced by OpenStack project when talking about CD and distribution. Interesting read for anybody working on [FLOSS](and Open Source Software) and FOSS.

[Read More]

Testing software fast and hard

Categories

Tags frontend-and-mobile software-engineering leadership-and-career testing-and-quality

A piece from the pen of Peter Parkanyi about challenges and approaches to testing. There has been a lot of research on the software crisis and how to get out of the mess we’re in, and it often contradicts the wisdom of the crowd. He takes a look at different strategies that drive software quality, and where they actually make a difference.

From the bottom to top, he generally looks at software verification at the following layers: type system, unit tests, integration tests, and organizational management structure.

The author then dives into:

  • Management
  • Integration tests
  • Unit testing
  • Type systems
  • Weak but static
  • Dynamic

Software development is a process, and it’s practically impossible to achieve perfection. As long as the team has a plan to approximate it, and everybody is committed, we can call it good enough, then get out of the office to enjoy the sun. Interesting!

[Read More]

Avoid ugly if / else blocks and make your code modular with Strategy

Categories

Tags frontend-and-mobile cloud-and-infrastructure software-engineering

Iskander Samatov is this introduction into Strategy design pattern and JavaScript. One particular piece of syntax that is unlikely to ever change in ES6 is if / else and switch statements.

The Strategy pattern was popularized by GoF (Gang of Four) and is a great tool for adding mutable, interchangeable parts to certain pieces of your application logic.

Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.

It belongs to Behavioral pattern family. This family addresses responsibilities of objects in an application and how they communicate between them at runtime.

Strategy implements the variable parts of the functionality with an agreed upon interface for otherwise generic object which we call “Context”. The context uses different strategies to perform a certain task based on the client’s invocation.

Think of the set of strategies as a toolbox and the context as a craftsman. The craftsman uses a different tool depending on the job. But in this case, all the tools have the same type of instructions on how to use them.

The code analysis for Passport.js library is also included with example code and charts explaining the pattern. Nice one!

[Read More]

9 headless CMS options for your JAMstack site

Categories

Tags frontend-and-mobile cloud-and-infrastructure

An article by Nebojsa Radakovic from bejamas.io, in which author shares their experience with the headless CMSs they used so far on about 30 JAMstack projects. JAMstack is a modern web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup.

Static websites have evolved to embrace innovative technologies and today they can do things such as handling real-time requests, processing payments, managing customer accounts, carrying out full website search, and a lot more. That’s why we don’t call them static anymore, we now call them JAMstack websites.

Headless CMS decouples content management from the presentation layer. The article then compares these systems:

  • Contentful
  • Sanity
  • Netlify CMS
  • Dato CMS
  • Storyblok
  • Strapi
  • Prismic
  • Wordpress API
  • Google Spreadsheets API

It is hard turning a blind eye to the benefits of using JAMstack (and headless CMSes for that matter) from web developers and marketers perspective. Read full article to learn more!

[Read More]

How to set an ideal thread pool size in Java

Categories

Tags software-engineering backend-development

Anton Ilinchik is author of this post on Zalando site. We all know that thread creation in Java is not free. The actual overhead varies across platforms, but thread creation takes time, introducing latency into request processing, and requires some processing activity by the JVM and OS. This is where the Thread Pool comes to the rescue.

A well-tuned thread pool can get the most out of your system and help you survive peak loads.

The post then explains:

  • Why should I set a limit for my thread pool?
  • How to know your limits
  • Blocking coefficient and concurrency formula
  • Little’s law

If you have different classes of tasks it is best practice to use multiple thread pools, so each can be tuned according to its workload.

These formulas are not a silver bullet and cannot magically fit any projects but they could be a great starting point for your project. The disadvantage of the formulas is that they focus on the average number of requests in the system and might not suit for various traffic burst patterns. Great read for anybody working with Java programming language.

[Read More]

The narrative-driven organization

Categories

Tags software-engineering miscellaneous how-to product-and-design

An article by Jordan Husney. It is meant to be a practical guide to using narrative and storyboards to design products & experiences, and organize teams around delivering value to manifest them.

Disney company developed the storyboard to capture the vision for their most ambitious production to-date: Snow White. Airbnb was influenced by it and hired former Pixar animator Nick Sung to capture the company’s primary user journey in just 15 frames as a storyboard.

To bring an organization to life, one must answer these fundamental questions:

  • Why do we exist?
  • Who do we serve?
  • How do we serve them?
  • Who do we need and how do they operate?
  • How do we track our progress toward our purpose?

The guide then walks you through each of above steps and how to apply story telling in the practice in great detail. Great read!

[Read More]

How on-demand pricing slashed our DynamoDB bill by 90 percent

Categories

Tags cloud-and-infrastructure data-and-analytics

Ashwin Bhat published this short article about their experience with a new pricing structure for DynamoDB called On-Demand Mode. With it, your capacity costs are strictly a function of how many capacity units you consume, rather than how many you would have provisioned in Provisioned Capacity Mode.

Amazon claims that DynamoDB will continue handling your traffic load without any provisioning on your part at all, removing the pain around capacity planning. This pricing structure seemed perfect for their use case: high performance when they need it, and no wasted money from over-provisioning.

On-demand mode is great for handling spiky user traffic, but it’s much more expensive per-query than a fully utilized provisioned capacity setup. When performing operations such as large backfills or data migrations, it may be cheaper to switch to provisioned mode with just the right estimated capacity that you’ll need for your operation. Good overview!

[Read More]

How to build a WebVR game with A-Frame

Categories

Tags leadership-and-career miscellaneous software-engineering

Adi Polak article about building a game with WebVR. WebVR is an open specification that makes it possible to experience VR in your browser. The goal is to make it easier for everyone to get into VR experiences, no matter what device you have.

This tutorial then describes what you need and how to set up:

  • Azure account
  • Visual Studio code (VScode) – VS code
  • VScode Azure storage extension
  • npm
  • Code for your project

The game is super simple. Tutorial guides you how to build a scene with spinning hearts, score, and a gesture of collecting hearts. For extra spice, this will be an infinite game, where for each heart collected, another heart will pop-up in a random location.

The game uses gltf model. glTF – GL Transmission Format – is a file format for 3D scenes and models using the JSON standard. It is described by its creators as the “JPEG of 3D.”

All code in repository and demo of the game is also provided. Super detailed!

[Read More]

How to pick your next tech focus

Categories

Tags leadership-and-career miscellaneous software-engineering

From pen of Ezequiel Bruni (web / UX designer, blogger, and aspiring photographer living in Mexico) we have this article about deciding what should be your next learning focus. In his opinion the technology you focus on or use next should always be matched to both the job and the people at hand.

Author claims he has discovered ways to make an educated guess. Since people often use the new year as an excuse to try new things, heI thought he’d share his principles of educated guesswork with you all.

The article then explains in details how to go about these steps:

  • Watch people and how they use tech
  • Look for convenience (for your users)
  • Integration
  • What happens when things go wrong? How does the tech respond to bugs?
  • Extra tips

Especially useful is authors’ explanation for point one. Watch the people who make tech: Research the people who make the tech you’re considering buying into. Do they listen to their community? Do they consider the edge cases? Do they care? Can they write clear documentation? Good read!

[Read More]