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 ]

Understanding Android Gradle build

Categories

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

Łukasz Wasylkowski article about Android Gradle builds. In his post he’ll write, step by step, Gradle configuration files for a single Android project in order to take some of the magic away.

Gradle is an open-source build automation system that builds upon the concepts of Apache Ant and Apache Maven and introduces a Groovy-based domain-specific language (DSL) instead of the XML form used by Apache Maven for declaring the project configuration.

The article will guide you through following:

  • Groovy syntax used in Gradle files
  • Closures – lambdas on steroids
  • Script files
    • build scripts in build.gradle files
    • settings scripts in settings.gradle files
    • init scripts used for global configuration (executed against Gradle instance)
  • Projects

Author also describes how to go about creating a Gradle projects and configure Android subproject with code examples and supporting illustrations. Also how to deal with extensions, dependencies, flavors, build types, signing configurations. Gradle files aren’t that magical after all. Nice!

[Read More]

How to build a simple auto-login bot with Python and Selenium

Categories

Tags software-engineering ai-and-machine-learning testing-and-quality backend-development

Malik Brahimi blog post about automation and how to use it for tasks that are repetitive, boring, time-consuming, or otherwise inefficient without the use of a script.

With web automation, you can easily create a bot to perform different tasks on the web, for instance to monitor competing hotel rates across the Internet and determine the best price.

Tutorial then describes and guides you through:

  • Installation and setup
    • including Python
    • Google Chrome browser
    • Selenium browser automation toolkit
    • Chrome Driver web driver
  • Starting the Selenium programmatically
  • Finding the input elements

To the point intro into automation with Selenium and Python. Code examples are included. Good read!

[Read More]

An overview of privacy in cryptocurrencies

Categories

Tags business-and-emerging-tech security-and-privacy

Blog post by Richard Chen about privacy consideration when dealing with cryptocurrencies. It’s no secret that privacy is an important topic in cryptocurrencies these days. Neither companies nor individuals want to publish all of their information onto a public blockchain that can be arbitrarily read without any restrictions.

It quickly became clear that it was possible to identify individuals based on usage patterns of certain addresses and transactions when using Bitcoin…

Overall, privacy is one of the most exciting areas of cryptography research right now. Many of the privacy techniques used in coins, smart contracts, and infrastructure were only invented a few years ago.

Author covers:

  • Privacy coins
  • Smart contract privacy
  • Privacy infrastructure
  • Privacy research

Due to the public nature of the Bitcoin blockchain, it quickly became clear that it was possible to identify individuals based on usage patterns of certain addresses and transactions. This led to creation of several new cryptocurrencies to support private transactions.

Privacy in smart contracts is different to privacy in payments since smart contracts publicly contain program code. However, smart contracts currently lack both confidentiality (hiding payment amounts) and anonymity (hiding the identities of senders and recipients).

Follow the link to find detailed information on above mentioned topics.

[Read More]

AI & blockchain, an introduction

Categories

Tags business-and-emerging-tech how-to leadership-and-career miscellaneous

Matt Turck produced this post about Artificial Intelligence (AI) and exploring the intersection of artificial intelligence and blockchain. His goal was to provide a broad introduction to the topic and feed the discussion why the topic matters in the first place, and highlight the work of some interesting companies in the space.

Blockchain emerged as a powerful response to political and organizational problems, rather than purely technical ones.

In the post he is coming at this topic from the perspective of a VC investor. He notes that each trend (AI and blockchain) individually could very well end up disappointing, and explorations at the intersection of both could prove fruitless.

He points out that AI and blockchain are philosophically opposed in many ways:

Crypto AI
Decentralized Centralized
Open Closed (mostly)
Transparent Black Box
Deterministic Probabilistic

For example, AI is very much centralized - within a handful of companies, primarily Google, Apple, Facebook and Amazon (“GAFA”) and the large Chinese Internet companies, Alibaba, Tencent and Baidu. These companies have been able to attract top AI talent around the world.

He then explains many aspects related to these topics, including: data, models and computing power.

You will find much more in this interesting article with links to further resources and reading. Well done!

[Read More]

Solr from the field -- Lessons learned while maintaining over 30 billion documents

Categories

Tags data-and-analytics business-and-emerging-tech frontend-and-mobile

An article published by Alex Puschinsky about WalkMe Insights experience with SOLR and processing of vast amount of data. They provide real-time search and analytics capabilities. To achieve this, they have chosen Apache Solr as the core of our WalkMe Insights search functionality.

Before throwing hardware at your performance issue, try to figure out the root cause of your problem. There is a good chance you’ll find that your issue arises from incorrect Solr usage rather than insufficient hardware.

The data we collect is largely comprised of end-user interactions with websites, i.e., mouse clicks, URL transitions, text inputs, and even WalkMe customer-defined custom events. Currently, we hold around 30 billion such events, a number that is growing rapidly and is expected to accelerate given WalkMe’s exponential growth.

The article will walk you through:

  • The infrastructure – large Solr index requires a sharding solution
  • Capacity planning
  • Hardware recommendations
  • Understanding of Solr query execution
  • Wildcard queries can be evil
  • Facet performance

… and much more. If you need high performance real time search capabilities this is excellent resource and starting point for you!

[Read More]

Optimizing docker images for a faster development workflow

Categories

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

jobandtalent Engineering published an interesting article on Docker images optimization. Architecture being based on docker means that every change that improves the usage of a resource (time to execute, memory usage, disk space usage, network usage…) in any stage of the process, will have an impact in each one of the environments.

Optimizations points to focus on:

  • Base images (basic software, minimal size)
  • Dependencies and context (be strict)
  • Dockerignore file
  • Mind the step, cache layering
  • Keep the layers small
  • Build several images

Detailed information for each step mentioned above provided. Plus links to further resources.

Authors also demonstrate optimization on real project. In this case they’ve chosen an open source, self hosted and mobile optimized CI, powered by fastlane. Nice one!

[Read More]

What you need to consider before building a fintech product

Categories

Tags business-and-emerging-tech how-to miscellaneous software-engineering

Blog post by Artur Bachynskyi with some advice on topic of fintech products. Financial technology aka fintech is a popular start-up sector for entrepreneurs, as more and more people are striving for financial literacy. The shift to treating one’s finances more intelligently has led the creators to apply the principles of human-centered design (HCD) when developing fintech products.

Author will tell you about the pitfalls that await almost anyone who has decided to build a fintech product.

Example of points mentioned in the post:

  • Consider the target country
  • Find a team with experience in developing the fintech products
  • Choose the technology considering the future of your fintech product
  • Consider possible integration with third parties
  • It is not only for the end-customers
  • Have a product owner & communicate (a lot)

All of them valid. For example, eight countries in the world have launched a regulatory sandbox in their financial markets.

This means that they have created a special framework set up by financial center regulation to provide testing of innovation technologies under the regulation’s supervision. Good read!

[Read More]

Creating a load-balanced web service on cloud with Ansible

Categories

Tags devops-and-ci-cd software-engineering

Alex Callejas from RedHat wrote quick tutorial about Ansible as a tool for creating of load-balanced web service on cloud. Through a practical example, author will show how to automate creation of one of the most basic web services, with three instances of Apache as a backend and a load balancer as frontend.

The infrastructure is deployed on Google Cloud Platform and the link to the Guide is provided. The creation of ssh keys is also explains.

The article is divided in three sections:

  • Prerequisites
  • The role (bare metal or virtual machines)
  • The playbooks

Article will help you to create (or re-use) playbooks to manage a task that would normally take an admin an hour or more if done manually.

You will create:

  • The firewall rule to allow http traffic to our instances, and
  • Load balancing instance
  • 3 instances based on Red Hat Enterprise Linux 7

Code is provided together with video describing each step. Excellent article and tutorial, especially for admins new to DevOps, automation and orchestration.

[Read More]

Code review best practices

Categories

Tags software-engineering devops-and-ci-cd leadership-and-career

Palantir Technologies article about insights and best practices for code reviews. Organizations with deep cultural reluctance to peer reviews may want to consult Karl E. Wiegers’ excellent essay on Humanizing Peer Reviews before trying to follow this guide.

We perform code reviews (CRs) in order to improve code quality and benefit from positive effects on team and company culture.

Authors cover the following topics:

  • Why, what, and when to do code reviews
  • Preparing code for review
  • Performing code reviews
  • Code review examples

Authors claim that committers are motivated by the notion of a set of reviewers. They tend to clean up loose ends, consolidate TODOs, and generally improve the commit.

Sharing knowledge helps development teams in several ways, including added/altered/removed functionality communication, using the technique or algorithm that reviewers can learn from, can help raise the quality bar across the organization, or strengthens social bonds between team member.

There is no eternally true answer to this question and each development team should agree on its own approach. Some teams prefer to review every change merged into the main branch, while others will have a “triviality” threshold under which a review is not required.

Examples and further reading provided. Interesting read, recommended!

[Read More]

How to do Object Oriented Programming the right way

Categories

Tags software-engineering frontend-and-mobile

Article by software engineer Xiaoyun Yang about Object Oriented programming done right. Object Oriented Programming (OOP) is a software design pattern that allows you to think about problems in terms of objects and their interactions. OOP is typically done with classes or with prototypes.

Author focuses on two approaches:

  • Class-based inheritance (typical for Java, Python, Ruby…)
  • Prototypal inheritance (JavaScript)

She shows you how to use both approaches for OOP in JavaScript, discuss the advantages and disadvantages of the two approaches of OOP and introduce an alternative for OOP for designing more modular and scalable applications.

In classical (class based) OOP, classes are blueprints for objects. Objects are created or instantiated from classes.

Prototypal inheritance does not use classes at all. Instead, objects are created from other objects.

Code examples and pop quiz (with answers) provided. Good read for any fun of Object Oriented Programming!

[Read More]