News Aggregator

  • Cryptographically Securing Democratic Elections with Block Chain Technology

    Published: 5 days ago Source: Dzone

    Securing Democratic Elections using cryptography, is actually very easy. In fact, what I am describing in this article, is really nothing but "blockchain for Democracy". But since we're all coders here, let me start with some simple pseudo code. Plain Text   xxxxxxxxxx 1   1 openQueueSempahore 2  if (firstVote) 3    oldHash = hash(subject + body) 4  else 5    oldHash = previousVoteHash 6  newHash = hash(oldHash + username + voteValue) 7  insertVote(username, voteValue, newHash) 8 The whole idea with the above pseudo code, is that it results in a "chain of votes", where each individual vote, is based upon its previous vote's hash value. Then the first vote, is based upon the hash value of the subject and its content.

    View more...
  • Stand-Up 2.0: Ten community insights from 100+ responses

    Published: 5 days ago Source: Dzone

    I'm in awe (thank you)  Two weeks ago I posted a blog on DZone about reinventing our daily stand-up meeting: Stand-up 2.0: It's time to ditch the daily from 1993 We don't need a meeting to discuss individual status updates that could be a Slack message.

    View more...
  • Cloud-Native Benchmarking With Kubestone

    Published: 5 days ago Source: Dzone

    Intro Organizations are increasingly looking to containers and distributed applications to provide the agility and scalability needed to satisfy their clients. While doing so, modern enterprises also need the ability to benchmark their application and be aware of certain metrics in relation to their infrastructure.In this post, I am introducing you to a cloud-native bench-marking tool known as Kubestone. This tool is meant to assist your development teams with getting performance metrics from your Kubernetes clusters. How Does Kubestone Work? At it's core, Kubestone is implemented as a Kubernetes Operator in Go language with the help of Kubebuilder. You can find more info on the Operator Framework via this blog post.Kubestone leverages Open Source benchmarks to measure Core Kubernetes and Application performance. As benchmarks are executed in Kubernetes, they must be containerized to work on the cluster. A certified set of benchmark containers is provided via xridge's DockerHub space. Here is a list of currently supported benchmarks:

    View more...
  • Ngx-Bootstrap DateRange Picker and Date Picker

    Published: 5 days ago Source: Dzone

    Introduction In this article, we are going to learn the use of Ngx-Bootstrap DateRange Picker and Date Picker in Angular 8. Ngx-Bootstrap has released a package of open-source tools which is native Angular directives for Bootstrap 3 and 4. It contains all core components powered by Angular. In this article we will learn about DatePicker component which is a cool feature of Ngx-bootstrap.

    View more...
  • ReactJS - How to Use Conditional Rendering in JSX

    Published: 5 days ago Source: Dzone

    Introduction In this post, I will show several ways to use conditionals while rendering HTML or components in JSX. Consider we have a component and based on a boolean flag we want to show or hide a paragraph <p>

    View more...
  • MSTest Tutorial: Environment Setup For Selenium Testing

    Published: 5 days ago Source: Dzone

    MSTest is a popular open-source test framework that is shipped along with the Visual Studio IDE. It is also referred to as Visual Studio Unit Testing Framework; however, MSTest is more synonymous within the developer community. As the MSTest framework comes pre-bundled with Visual Studio, many developers prefer MSTest over other C# frameworks such as NUnit, xUnit.net, etc. for Selenium test automation. The latest version of MSTest is MSTest V2, it is a major overhaul over its predecessor. The earlier version of MSTest i.e. MSTest V1 was not open-source and lacked many good features (particularly parallel test execution) which were supported by other Selenium C# testing frameworks.

    View more...
  • Reactive Systems: Actor Model and Akka.NET

    Published: 5 days ago Source: Dzone

    All the world's a stage,And all the men and women merely players.-Shakespeare   This quote from William Shakespeare's pastoral comedy As You Like It, can be very helpful when describing Actor Model. In this post, we will see what an Actor Model is and how you can use it to build concurrent, distributed, and resilient applications.

    View more...
  • Data Mapping in Kumologica

    Published: 6 days ago Source: Dzone

    Data mapping is a key element in integration. Most of the prominent integration tools provide different capabilities for data mapping. In this article, I thought of sharing on how data mapping can be achieved in Kumologica. Kumologica uses JSONata as the base for data mapping. JSONata is a Lightweight query and transformation language for JSON data. It supports complex queries expression which can be achieved with minimal syntax and has a location path semantics of Xpath 3.1.

    View more...
  • Why Camel K?

    Published: 6 days ago Source: Dzone

    1. Dev Mode  To run a camel spring boot or camel main application in Kubernetes, it requires a developer to build the docker or s2i images, create Kubernetes resources and then apply the resources to a running cluster which is very time-consuming. Camel K solves this problem and saves development time with the dev mode. Simply adding a --dev flag while running code allows the developer to deploy instantly to Kubernetes and also make any changes to the running pod whenever the source file is updated. 2. Dependency Resolution  We know that camel supports multiple DSL such as Java or Groovy and Camel K supports it as well. What is new in Camel K is that the automatic dependencies management feature. The developer need not worry about packaging a deployable artifact or the maven or Gradle dependencies of various components. It automatically resolves the necessary dependencies from a source file during deployment. And also only one source file is enough to run integration in a pod.

    View more...
  • Navigating Kubernetes With Helm 3 Charts and ChartCenter

    Published: 6 days ago Source: Dzone

    Many DevOps teams use Docker for secure deployments and agility and use the popular open-source container orchestration tool known as Kubernetes. Kubernetes has a steep learning curve, and the setup for your Kubernetes clusters can become complex. This is where the ecosystem benefits from an additional support tool like Helm, a package manager, to streamline installing and managing Kubernetes applications. The building block when it comes to Helm based deployments are Helm Charts, and these charts are the packages managed by Helm. Helm charts are curated, reusable application definitions for Kubernetes, nothing but a curated set of files that define a related set of Kubernetes resources for an application. 

    View more...