You know how.
$ sudo apt-get update
$ sudo apt-get install build-essential module-assistant
| require 'net/http' | |
| require 'uri' | |
| require 'json' | |
| def put_metric(name, value, unit='Count') | |
| metric_name = "ApiSidekiq#{name.split('_').collect(&:capitalize).join}" | |
| `/usr/local/bin/aws cloudwatch put-metric-data --metric-name #{metric_name} --namespace Sidekiq --value #{value} --unit #{unit}` | |
| end | |
| uri = URI.parse("#{ENV['SIDEKIQ_WEB_HOST']}/stats") |
A practical guide to using TypeScript's native Go-based compiler for local development while keeping the traditional tsc as your CI source of truth.
TypeScript 7.0 is a ground-up port of the compiler to Go. It reads the same tsconfig.json and produces structurally identical type-checking results — just ~10x faster thanks to native code and shared-memory parallelism.
The catch: it's still in dev preview. Ecosystem tooling (editors, build plugins, lint integrations) still depends on the JS-based typescript package. So you run both: