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 ]

Event Sourcing made Simple

Categories

Tags software-engineering architecture-and-apis data-and-analytics

Neat article by Philippe Creux, Ruby and Rails developer at kickstarter, about implementation a minimal event sourcing framework at Kickstarter to power d.rip. Event Sourcing is to data what Git is to code. It’s simple and it has made their life so much better! Read on!

They start by observation of the Git and how Git is also a time machine, that allows you to go back in time and see what the code looked like back then: git checkout @{12.days.ago}.

User action, API calls, callbacks (webhooks), recurring cron jobs can all generate Events. Events are persisted and immutable. We know when they happened, who triggered them and what they were. By going through these events, we get a sense of what the current state of the world is and how it came to be in that state. It would be nice not to play all events every time we want to build application state.

They define four components that make a (minimal) Event Sourcing system: Events, Calculators, Aggregates and Reactors.

Article then dives in:

  • Why Event Sourcing
  • Events, Calculators, Aggregates, Reactors
  • Dispatchers and Commands
  • Event Sourcing for d.rip, how they went about the project

Code examples are also included. Great article!

[Read More]

Intuitive guide to data structures and algorithms

Categories

Tags software-engineering data-and-analytics

Excellent, simple and user-friendly guide to data structures and algorithms by interviewcake.com. Interview Cake is a study tool that preps software engineering candidates for programming interviews. Created by Parker Phinney, ex-Googler who also worked in a handful of startups.

The coding interviews require rock-solid foundation in algorithms, data structures and big O notation, as well as the confidence and expertise to work through problems you’d never seen before.

This site claims not to be a freaking textbook. No confusing academic jargon. No long lists of properties to memorize. No proofs. Because that stuff doesn’t help you actually get it.

The guide is then split into 3 sections:

  • Big O notation
  • Data structures for
  • Logarithms

Excellent guide, worth your time even if you are experienced developer.

[Read More]

Resiliency in distributed systems

Categories

Tags architecture-and-apis software-engineering

Rajeev Bharshetty neat article about why we need consider resiliency in software development. Resiliency of a system is directly proportional to its up-time and availability. The more resilient the systems, the more available it is to serve users.

Resiliency is all about preventing faults turning into failures. The most resilient piece of code you ever write will be the code you never wrote.

The article then helps you with:

  • Basic terminology for resilient systems
  • Explains why do we care about resiliency in our systems
  • Explains why resiliency in distributed systems is hard
  • Introduces you to basic patterns

But remember, despite the best effort, systems do fail. The sad truth is we have to deal with these failures. To be resilient, we have to design our systems for failure.

Good read with many charts and diagrams supporting explanations.

[Read More]

How to be Agile with distributed teams

Categories

Tags leadership-and-career software-engineering

Judah Gabriel Older article by Hugo Messer and John Okoro about Agile distributed teams. Distributed teams are the norm for many organisations today. Companies are global, communications technologies allow people to live away from the “office” location and many of the new workforce are nomads.

Becoming a high-performing team is possible in a distributed group, it just takes more effort to overcome the inherent challenges of distance.

In this inspiring article you will get plethora info on:

  • Introduction to the distributed agile framework
  • Learn how to manage culture within distributed teams
  • Learn how to organize distributed work within an enterprise
  • Practical examples and cases of distributed agile organizations
  • Questions, virtues and practices to organize better distributedly

Authors also open sourced a big part of their own agile framework. The framework we have developed consists of 8 ‘bubbles’ including culture, organization, team, engineering practices. Read to learn more!

[Read More]

Reusing & composing GraphQL APIs with GraphQL bindings

Categories

Tags data-and-analytics architecture-and-apis

Graphcool published tutorial about GraphQL bindings. With GraphQL bindings you can embed existing GraphQL APIs into your GraphQL server. In this article, they present a new application of schema stitching which makes it particularly easy to reuse, compose and share existing GraphQL APIs: GraphQL bindings.

GraphQL bindings take the idea of schema delegation to the next level and make it easy to reuse, embed, compose and share GraphQL APIs.

Articles then explains what what are GraphQL bindings together with simple code examples. The major strength of GraphQL is its strongly typed schema.

Some benefits of using GraphQL bindings:

  • Pragmatic API & simple abstraction
  • Great IDE support: Autocompletion and other awesome IDE features
  • Reusable: Can be easily shared as reusable packages using NPM (or other package managers)
  • Compile-time error checking: Static bindings allow for static analysis
  • Language agnostic: Works with any (typed) programming language

Excellent article for anybody in the APIs business.

[Read More]

Build and publish PWA in 3 app stores. What I learned.

Categories

Tags product-and-design

Judah Gabriel wrote this post about his experience with PWA publishing. The article is about turning a web app into a Progressive Web App (PWA) and submitting it to 3 app stores requiring about a month of work, a few hundred dollars, and lots of red tape.

The article reads about:

  • Why even put your app in the app stores (it is web app after all)
  • Explains “horrible” brokenness of PWA for native phone capabilities
  • Lists the barriers to get app in the app store
  • App stores registration process
  • App packaging, building, submitting
  • App testing process
  • Submitting for app review

This is one lengthy tutorial explaining all the pain points you may encounter when submitting to the app stores (Apple, Google, Windows). Well worth your time!

[Read More]

Performance improvements for search on the yelp Android app p1

Categories

Tags product-and-design frontend-and-mobile

In this article Tyler Argo wrote how Yelp has been working hard to improve the performance of their search results on mobile devices (iOS and Android). We noticed that most users “grunted or made noises when waiting for search to load”.

They broke down performance into two different categories: perceived search performance and scroll performance.

They then broke the cycle of performance improvement can be defined as a series of steps:

  • Measure
  • Improve
  • Monitor
  • Repeat

In this article they focuse on Step 1: Measuring Performance. One of the advantages of developing for the Android platform is the wide range of tools available for profiling and measuring app performance. In the article they provide a brief overview of the tools that can be used to profile your app along with some links to the official documentation. Great read!

[Read More]

Ionic canvas drawing and saving images as files

Categories

Tags product-and-design frontend-and-mobile

Simon Reimler published this article about working with canvas in Ionic. Working with the canvas can be challenging, but there are amazing things you can build with canvas. In the tutorial we will implement a canvas inside an Ionic app on which we can draw in different colours.

He then goes and explains:

  • Set up blank Ionic app with crucial Cordova plugins
  • How to build the Canvas Drawing View
  • Prepare Canvas and how to paint on them
  • How to save canvas images

It’s actually not super hard to build your own drawing app, and working with the file system has gotten so much easier.

You will find code examples with this article to help you set up your Ionic app. And you can also find a link to video version of the article. Nice!

[Read More]

Twitter Lite and high performance react progressive web apps at scale

Categories

Tags frontend-and-mobile product-and-design devops-and-ci-cd

Paul Armstrong interesting article about a look into removing common and uncommon performance bottlenecks in one of the worlds largest React.js progressive web apps, Twitter Lite. Creating a fast web application involves many cycles of measuring where time is wasted, understanding why it’s happening, and applying potential solutions.

Performance is a continuous game of watching and measuring for areas to improve.

The article focuses on few areas:

  • Optimizing for the Browser
  • Optimizing React
  • Optimizing Redux
  • Service Workers

Each section contains detailed information what to focus on and what steps to take to mitigate performance bottlenecks. It is invaluable insight into React.js deployment in production. Great read!

[Read More]

Best practices in Android development

Categories

Tags frontend-and-mobile product-and-design backend-development

Idorenyin Obong from Auth0 wrote this piece about practices in Android development. Best practices are simply professional standards that are acceptable in a field. Here, we will look at such practices as it relates to Android development.

Android has about 74% of the mobile operating system market share according to StatCounter as at February 2018.

If you are building for billions of users, you have to grow above just building just for the functionalities. You have to consider other factors such as scalability, better user experience, etc.

Recently, there has been lots of promise in Android development since the formal introduction of Kotlin, statically typed programming language that runs on the Java virtual machine, with some interesting features including – null safety, smart inference, interoperability with Java, can be compiled to JVM bytecode or JavaScript.

The article then deals with:

  • Design Patterns
  • Dependency injection (DI)
  • Separation of Concerns (SoC)
  • User Experience
  • Excellent UI

There is much more in the article, with example code snippets and charts accompanying the text. Good read!

[Read More]