hsluv VS tracing

Compare hsluv vs tracing and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
hsluv tracing
14 52
1,253 4,939
0.5% 3.3%
5.0 7.8
3 months ago 5 days ago
Mustache Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

hsluv

Posts with mentions or reviews of hsluv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-06.
  • Koala Sampler Hardware, Quantum Looping, and more with Marek! 🎹🔑106
    1 project | /r/KoalaSampler | 18 Mar 2023
    Here's a potential solution to having consistent accessible color palettes in Koala: https://www.hsluv.org
  • accidental-scheme.nvim
    1 project | /r/neovim | 18 Feb 2023
    If you want to take a step further, take a look into perceptually uniform color spaces, like HSL(uv) or LCh(uv).
  • Maxima: A computer algebra system written in Common Lisp
    9 projects | news.ycombinator.com | 6 Feb 2023
    Maxima enabled me to make my color space [HSLuv](https://www.hsluv.org/). I encoded CIELUV <-> RGB transformation functions into Maxima, ran `solve` and converted the output back into code. It's great to be able to commit [Maxima code](https://github.com/hsluv/hsluv/tree/master/math) into your repository and not leave the math as an "exercise to the reader".
  • How to import color space? (HSLuv)
    2 projects | /r/ClipStudio | 19 Oct 2022
  • HTML Color Picker
    1 project | /r/color | 23 Aug 2022
    If you want to make it more useful than a browser's built-in color picker, perhaps support other color spaces? Maybe HSLuv or CIE L*a*b*?
  • Pallete Sorting?
    2 projects | /r/aseprite | 30 Apr 2022
    Chroma could be included, but as a minor criterion. When I look at color pickers that try to balance human perception against geometric simplicity like HSLuv and Okhsl, chroma is the property that gets distorted the most. Perceptual brightness and hue seem to be more important.
  • Make Beautiful Gradients
    5 projects | news.ycombinator.com | 11 Jan 2022
    > Now, HSL isn't necessarily the best color mode to use in every situation; it tends to produce gradients that can be overly bright and vivid, because it doesn't take into account human perception.

    Shout-out to to [HSLUV](https://www.hsluv.org/) which does exactly that.

  • Tokio Console
    11 projects | news.ycombinator.com | 17 Dec 2021
    I'm a little bit of a color freak. Allow me to leave some suggestions :)

    - Picking from the 256 color pallete will likely give you colors with different brightness. This may hurt readability of darker colors on a dark background, and may make some color stand out unintentionally. Consider using something like HSLuv [1] to pick colors with the same lightness, then convert to the closest Xterm color [2].

    - To make it obvious there is a gradient, I'd pick one lightness (assuming HSLuv) and one saturation (I usually stick to 100%), then pick a distance in hue for each step. For example if I expect to see a maximum of 7 steps on the screen at once, one way is to start at 0, then 30, then 60, etc. You may choose to go over 180, but keep in mind 360 will be the same as 0 so maybe stop at 240. Note how by picking adjacent colors from the table you are still picking a distance, but the distance is too small so it's hard to see.

    - You may want to choose a different starting point than 0, and maybe different direction for the steps, depending on whether you want the colors to "mean" anything. For example red is commonly associated with warning, so you can arrange to have the top of the range aligned with red. Or arrange to avoid the red region if you don't want that association.

    [1] https://www.hsluv.org/

  • So, I want a genuine explanation for this. Why is "darkgrey", a lighter shade than "grey"?
    2 projects | /r/ProgrammerHumor | 27 Oct 2021
    Check out HSLuv as an alternative for UI design: https://www.hsluv.org/
  • I made a GDScript port of HSLuv
    2 projects | /r/godot | 12 Oct 2021
    HSLuv is a HSL alternative, which aims to maintain the perceived lightness of colors across the hue spektrum. It also includes a HPLuv variant, which additionally maintains saturation, at the cost of color coverage. Both are very useful for procedually generating or modifying colors. More Info: https://www.hsluv.org/comparison/

tracing

Posts with mentions or reviews of tracing. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-31.
  • Decrusting the tracing crate [video] by Jon Gjengset
    1 project | news.ycombinator.com | 10 Feb 2024
    The video description is as follows:

    In this stream, we peel back the crust on the tracing crate — https://github.com/tokio-rs/tracing/ — and explore its interface, structure, and mechanisms. We talk about spans, events, their attributes and fields, and how to think about them in async code. We also dig into what subscribers are, how they pick up events, and how you can construct your own subscribers through the layer abstraction. For more details about tracing, see https://docs.rs/tracing/latest/tracing/.

  • Vendor lock-in is in the small details
    7 projects | news.ycombinator.com | 31 Oct 2023
    > What's been your biggest issues around ergonomics/amenities for OpenTelemetry?

    I can't speak generally, but in the Rust ecosystem the various crates don't play well together. Here's one example: <https://github.com/tokio-rs/tracing/issues/2648> There are four crates involved (tracing-attributes, tracing-opentelemetry, opentelemetry, and opentelemetry-datadog) and none of them fit properly into any of the others.

  • Grimoire - A recipe management application.
    7 projects | /r/rust | 5 Oct 2023
    The tracing (logging) mechanism in an asynchronous codebase (tracing).
  • How easy is it to swap out your async runtime?
    2 projects | /r/rust | 10 Jul 2023
    Tracing is Tokio's alternative for async code.
  • Hey Rustaceans! Got a question? Ask here (27/2023)!
    9 projects | /r/rust | 3 Jul 2023
    At a technical level, in Rust, both [tracing]https://crates.io/crates/tracing) and log are entire ecosystems (though for the latter at least there's also third party logging frameworks), and there's at least a bridge from log to tracing.
  • How can I write a tracing subscriber that saves to a database?
    1 project | /r/rust | 3 Jul 2023
    I am using https://github.com/tokio-rs/tracing for logging purposes in my application. I would like to develop a feature wherein logs should be saved to a database table (via sea-orm). Something similar is this, but it does not solve my needs fully.
  • A locking war story
    2 projects | /r/rust | 1 Jun 2023
    I've used the tracing infrastructure with tracing_flame to profile some hot paths in async code: https://github.com/tokio-rs/tracing/tree/master/tracing-flame
  • I was wrong about rust
    4 projects | /r/rust | 20 May 2023
    Oh nice! IIRC when I checked, it was the Unicode tables that smashed the code size. I recently hit the same issue with the tracing crate, where a crate feature (for env var filtering) pulled in regex and my binary was suddenly 1MB bigger.
  • Debugging and profiling embedded applications.
    8 projects | /r/rust | 30 Mar 2023
    I know about tools such as tracing, jaeger or tracy. While having a complete tracing could be a potential solution, these tools don't work with no_std.
  • Custom Axum Logging for Routes?
    2 projects | /r/rust | 17 Mar 2023
    tracing by itself only outputs log data, you need to consume them in a subscriber, the tracing-subscriber crate exists for this. (example)

What are some alternatives?

When comparing hsluv and tracing you can also consider the following projects:

hcv-color - 🌈 Color model HCV/HCG is an alternative to HSV and HSL, derived by Munsell color system, usable for Dark and Light themes... 🌈

log4rs - A highly configurable logging framework for Rust

gdscript-hsluv - A HSLuv implementation in Godot's GDScript

slog - Structured, contextual, extensible, composable logging for Rust

as3hx - Convert AS3 sources to their Haxe equivalent

env_logger - A logging implementation for `log` which is configured via an environment variable.

palettize - Palette generator using k-means clustering with CIELAB colors

log - Logging implementation for Rust

snekky - The Snekky Programming Language

opentelemetry-rust - The Rust OpenTelemetry implementation

gimp-color-palettes - A collection of RGB color palettes for GIMP and Inkscape (but also Aseprite, Drawpile, Krita and MyPaint).

vector - A high-performance observability data pipeline.