reason
Statsd
Our great sponsors
reason | Statsd | |
---|---|---|
44 | 6 | |
10,051 | 17,459 | |
0.3% | 0.4% | |
5.8 | 5.1 | |
about 2 months ago | 3 months ago | |
OCaml | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reason
- Learning Elm by porting a medium-sized web front end from React (2019)
-
Melange for React devs book, alpha release
Hey HN, at Ahrefs we have been working on an online book that hopefully helps React developers get up and running with Melange, an OCaml to JavaScript compiler. You can read more about Melange here: https://melange.re/.
There are still a few chapters that we'd like to add before considering it "complete", but it might be already helpful for some folks out there, that's why we decided to publish it early.
The book uses Reason syntax to implement React components using ReasonReact components. You can read more about both in:
-
ReScript: Rust like features for JavaScript
ReScript is "Fast, Simple, Fully Typed JavaScript from the Future". What that means is that ReScript has a lightning fast compiler, an easy to learn JS like syntax, strong static types, with amazing features like pattern matching and variant types. Until 2020 it was called "BuckleScript" and is closely related to ReasonML.
- Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?
-
Earning the privilege to work on unoriginal problems
This tracks with how I've seen "normal" languages converge on similar, flawed imitations of better type systems through tools and repurposed syntax. Thank you for confirming.
Do you have any recommendations or warnings regarding general languages which reach in the opposite direction? Reason[1] and F#[2] are both examples: they attach pre-existing ecosystems and compile-for-$PLATFORM tools to OCaml-like typing.
OCaml itself is also intriguing for personal projects. However, I'm worried the "GPL" in its standard library's LGPL license might scare people despite both the linking exception and Jane Street's MIT alternative.
-
Melange 1.0: Compile OCaml / ReasonML to JavaScript
ReasonML purely as a syntax layer on top of OCaml is still being updated and released[1]. Incidentally, I'm one of the maintainers of that project too :-)
With this Melange release, we're hoping to somewhat revive ReasonML and channel some folks back to the community from the perspective of a vertically integrated platform that has seen major investment in the past few years.
-
VN Compiler. Why using Fable is too difficult. (Pt. 1)
Why not use https://reasonml.github.io/ instead? Or just use Typescript?
-
My Thoughts on OCaml
Quieted down, but I depend on projects with worst graphs:
-
why
There is also reasonml for Web development.
- Por que Elm é uma linguagem tão deliciosa?
Statsd
-
Building Cages - Creating better DX for deploying Dockerfiles to AWS Nitro Enclaves
statsD for metrics
-
Elixir metrics and StatsD
StatsD is a network daemon that listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services.
-
How to track profile page views per day, weekly, monthly and amount of times file was downloaded per product per day / week / month? - Without adding 1000+ database entries?
If you are essentially tracking an incremental number, statsd was made specifically for this task. It's lightning fast and you can setup different metrics for each scenario you mentioned.
- Help with getting started with Metrics, Logging and tracing
-
Practical OCaml
It reads only 8 KB of data by default; this should be enough for StatsD metrics lines based on the StatsD documentation. Also, that's what Alan Ning's Rust implementation does.
-
Introduction to StatsD
StatsD GitHub repository Scaling StatsD in DoorDash Netdata StatsD reference documentation
What are some alternatives?
purescript - A strongly-typed language that compiles to JavaScript
Collectd - The system statistics collection daemon. Please send Pull Requests here!
rescript-compiler - The compiler for ReScript.
prometheus - The Prometheus monitoring system and time series database.
melange - A mixture of tooling combined to produce JavaScript from OCaml & Reason
InfluxDB - Scalable datastore for metrics, events, and real-time analytics
js_of_ocaml - Compiler from OCaml to Javascript.
Graphite - A highly scalable real-time graphing system
ocamlformat - Auto-formatter for OCaml code
Diamond - Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.
refterm - Reference monospace terminal renderer
tcollector - Data collection framework for OpenTSDB