palette
if-then-else
Our great sponsors
palette | if-then-else | |
---|---|---|
3 | 8 | |
703 | 344 | |
- | - | |
8.3 | 0.0 | |
2 days ago | over 3 years ago | |
Rust | ||
Apache License 2.0 | - |
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.
palette
- Additive color blending drives me crazy
-
Hey Rustaceans! Got a question? Ask here! (44/2022)!
Have you looked at its examples: https://github.com/Ogeon/palette/tree/master/palette/examples?
-
Show HN: I am developing a type safe colorspace library for Rust
Why would someone use this over palette (https://github.com/Ogeon/palette)?
if-then-else
-
Telefunken Datenspeicher
I agree that English as lingua franca of computing makes sense, especially when communicating with non-(German)-native speakers. But one important reason why German is no longer viable for this is the terrible state of translation from English to German. Instead of using the "established" German terms, English terms are usually translated 1:1 to German, usually by machine translation, or bad human translators who don't have a technological background.
And instead of this butchering of the fine German language, just switching to English is indeed the better alternative.
My favourite trivia is that the 'else' in 'if-else' is a bad translation from German into English btw ;) (https://github.com/e-n-f/if-then-else/blob/master/if-then-el...)
-
“A damn stupid thing to do”–the origins of C
There is a neat history of the early syntax of conditional expressions here https://github.com/e-n-f/if-then-else/blob/master/if-then-el... titled “if-then-else had to be invented”. It seems “else” originated in Algol 60 as a hasty translation from German. The CPL project started in the early 1960s when it was not yet certain that Algol-style block structure and keywords would become the common basis of most programming languages.
-
Hey Rustaceans! Got a question? Ask here! (44/2022)!
If..then..else had to be invented
-
The Surreal Horror of Pam
Not to mention that linux-pam's `[success=2 default=ignore]` isn't even standard, I think OpenPAM only has the five control flags required/requisite/sufficient/binding/optional. (One may reasonably despair as to the difference between "required" and "requisite".)
It's almost as if PAM were developed before the invention of the if-then-else construct in the 1950s.[0]
[0]: https://github.com/e-n-f/if-then-else/blob/master/if-then-el...
- If-then-else had to be invented
- If-Then-Else Had to Be Invented
- if-then-else had to be invented
What are some alternatives?
rust-delegate - Rust method delegation with less boilerplate
pam - An experimental, work-in-progress PAM module for Tailscale
rust - Empowering everyone to build reliable and efficient software.
crates.io - The Rust package registry
CredUI
CBofN - Source code from the book "The Computational Beauty of Nature"