-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
A nice little Makefile driving each day too:
https://github.com/odnoletkov/advent-of-code-jq/blob/master/...
And I somehow just learned about asciicinema from it:
https://asciinema.org
A nice little Makefile driving each day too:
https://github.com/odnoletkov/advent-of-code-jq/blob/master/...
And I somehow just learned about asciicinema from it:
https://asciinema.org
iβm doing the same thing on my github :D. i think my code looks a bit cleaner tooβ¦ ;)
https://github.com/pingiun/aoc-2022-jq
Repo author here, let me promote jq a bit β it's much more than a simple command-line JSON processor you know it for:
* It is a generator-based language which means you operate streams of values rather than single values. Takes some time to get used to, but you'd never want to go back to traditional model, at least for data processing. See 'Generators and iterators' section of the man page: https://github.com/stedolan/jq/blob/cff5336ec71b6fee396a95bb...
* Designed for CLI, it makes it easy and even pushes you to express your program as a single pipeline. You rarely need variables, functions or any control structure. And pipelines are great to build iteratively, debug and compose (see https://jqplay.org, https://jqterm.com)
* Core language is small but powerful with features like slicing, destructuring, complex assignments and error handling. And you are already an expert in it's (immutable) data structures β it is just JSON
* Batteries included in the stdlib β regex, path operations, C math/dates, algorithms. Modules are supported, but I did not need any dependencies for solving Advent of Code.
* jq is ubiquitous. Often pre-installed, tiny binary, no dependencies, basically single version (ok, awk is better β anything else?)
Being a go-to tool for JSON is sort of a double-edged sword β people just don't look past that. But nowadays JSON is the format for data, everything is convertible to it. And you can feed plain text into jq using --raw-input flag. i.e.:
jq -nR '[inputs]' /etc/hosts
Related posts
-
[2023 Day 8 (Part 2)] The slot machine way!
-
Asciinema: Record and share your terminal sessions, the simple way
-
Asciinema: Record and share your terminal sessions, the simple way
-
Asciinema: Record and share your terminal sessions, the simple way
-
Asciinema: Record and share your terminal sessions, the simple way