Worker Threads with TypeScript - Node.js TypeScript #12The Node.js and JavaScript are often perceived as a single-threaded but in this series, we prove that it is not entirely true. Node.js creates threads when performing Input/Output operations. Not only that, but we can also create additional processes. While the above does not count yet as multithreading, in this article we begin to cover the basics of TypeScript Worker Threads and explore how they work and compare them to other ways of running JavaScript in parallel that we’ve used so far.tagged: nodethreads07-07-2020
canvas-webworker - npmPure JavaScript Canvas implimentation that can be used in WebWorkersWebWorkers are great when long scripts has to be excuted while the main program has to keep running (cannot be blocked). When a complex image has to be generated, for instance a large texture for a game, the generation can be blocking for the game. A solution would be to generate the texture in a WebWorker. Due to the fact that the HTMLCanvasElement cannot be accecssed in the WebWorker this is fairly difficult. Using this pure JavaScript a Canvas polyfill can be used. Drawing is not hardware accerated so it will be slower compaired to a regular canvas but the programm will remain non-blocking.tagged: canvasweb-workers06-07-2020
Worker threads and multithreading in Node.js - Blog by Piotr DuperasMy life seemed to be a series of events and accidents. Yet when I look back I see a pattern.tagged: nodeworkers06-07-2020
Using Workflows to Schedule Jobs - CircleCIConfigure a job to get saved data by configuring the attach_workspace key. The following config.yml file defines two jobs where the downstream job uses the artifact of the flow job. The workflow configuration is sequential, so that downstream requires flow to finish before it can start.tagged: circleciworkspaces03-07-2020
Conduktor | Kafka Desktop Client - Beautiful UIWe created Conduktor, a Kafka GUI, to make the development and management of Apache Kafka clusters as easy as possible.tagged: kafkaui15-06-2020
Docker - Getting started with kafkadocker service create --network kafka-net --name broker \ --hostname="{{.Service.Name}}.{{.Task.Slot}}.{{.Task.ID}}" \ -e KAFKA_BROKER_ID={{.Task.Slot}} -e ZK_SERVERS=tasks.zookeeper \ qnib/plain-kafka:2018-04-25_1.1.0tagged: dockerzookeeperbrokers15-06-2020
DependabotYou can configure multiple projects and languages from a file named config.yml. The config.yml file is located in a folder named .dependabot at the root of your repository.All available configration options are documented below.tagged: dependabotgithub09-06-2020
Black thumbnail in MacOS Finder when exporting PSD · Issue #20 · Agamnentzar/ag-psdBlack thumbnail in MacOS Finder when exporting PSDtagged: ag-psdthumbnailspsd08-06-2020
Monte Carlo Simulation DefinitionMonte Carlo simulations are used to model the probability of different outcomes in a process that cannot easily be predicted due to the intervention of random variables. It is a technique used to understand the impact of risk and uncertainty in prediction and forecasting models.tagged: noestimatesscrumestimates08-06-2020