keygen-api
base32768
keygen-api | base32768 | |
---|---|---|
23 | 5 | |
577 | 128 | |
12.3% | - | |
9.7 | 4.8 | |
2 days ago | 3 months ago | |
Gherkin | JavaScript | |
GNU General Public License v3.0 or later | 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.
keygen-api
-
"Useless Ruby sugar": Pattern matching (Pt. 1)
I don't have an Elixir background, but I absolutely utilize pattern matching in my Ruby code bases:
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
- https://github.com/keygen-sh/keygen-api/blob/master/app/migr...
- https://github.com/keygen-sh/keygen-api/blob/36cd61db143cc1c...
- https://github.com/keygen-sh/typed_params/blob/4e4982b7d2b26...
I love it. I want even more pattern matching too, like with defp: https://bugs.ruby-lang.org/issues/19764.
-
I don’t buy “duplication is cheaper than the wrong abstraction” (2021)
Honestly, I don't have many resources to provide. I read a lot of policy tests via GitHub search (e.g. path:spec/policies/*/*.rb), but couldn't find anything that looked like what I wanted. I wrote the DSL as-needed in order to fully test my app's authz while migrating from Pundit to ActionPolicy.
It's not the prettiest when you actually look beneath the covers [0], but it does what I wanted -- provides a way to write exhaustive authz tests. Without the DSL, I probably wouldn't have written. The PR for said migration was massive [1], and was a precursor to going open source [2].
[0]: https://github.com/keygen-sh/keygen-api/blob/master/spec/sup...
[1]: https://github.com/keygen-sh/keygen-api/pull/647
[2]: https://github.com/keygen-sh/keygen-api/issues/644
-
Let's Talk About Open Source
Yes, I can see why you might make this argument. [1]
[1] https://github.com/keygen-sh/keygen-api/blob/master/LICENSE....
-
Keygen: a software licensing and distribution API
And not at all set on WorkOS. It just looked like the easiest way to set up SSO last time I researched the topic. Feel free to comment on the issue with any recommendations.
-
Introducing New Heroku Postgres Plans
Since when can you run heroku pg:upgrade to switch database tiers? I was following an upgrade sequence I put together over the years [^0], but I guess Heroku automated this at some point? What would be really funny is if this had been possible all long...
[^0]: https://github.com/keygen-sh/keygen-api/blob/master/.notes/d...
- GitHub - keygen/api: an open, source-available software licensing and distribution API built with Ruby on Rails
-
How to connect my desktop app to MySql db
Maybe use keygen-sh?
-
NPM won't publish packages containing the word keygen
I run a business called Keygen [^0], and own the @keygen namespace on npm. We’re working on a Node SDK, so this isn’t good to hear. I’ll open up a discussion with them and see what we can do.
[^0]: https://keygen.sh
- Show HN: Keygen – an open, source-available software licensing/distribution API
-
GitHub support for PHP Packages: “no longer planned”
- org-2.php.pkg.github.com/package
I wonder if that had any impact on their decision.
[0]: https://github.com/keygen-sh/keygen-api/issues/490
base32768
- Does anybody remember Google People
- NPM won't publish packages containing the word keygen
-
What digit bases do you like?
qntm did a fun project of using larger bases, constrained to subsets of unicode instead of ASCII like base64. It's specifically for social channels where you're constrained by the number of code points, but not bytes, so you want to maximize data per code point. base2048 is pretty impressive, and base32768 is just absurd.
-
Base58 - What Is it? Why Use It?
base32768 is ideal for storing binary data in localStorage with an efficiency of 94%.
-
A rust crate that lets you compress ASCII text to a single Unicode "character"
A similar thing is actually practical in JavaScript which mandates that all strings are UTF-16. You can cram more data into strings in memory if you use base-327168 encoding, and it serializes to equally compact JSON.
What are some alternatives?
ruby-next - Ruby Next makes modern Ruby code run in older versions and alternative implementations
ecoji - Encodes (and decodes) data as emojis
base32k - binary-to-text encoding with a better encoding ratio in character-limited situations such as twitter
typed_params - An alternative to Rails strong_parameters. Define structured and strongly-typed parameter schemas for your Rails controllers.
keygen-go - Keygen SDK for Go. Integrate license activation, automatic updates and offline licensing for Go binaries.
Action Policy - Authorization framework for Ruby/Rails applications
incubator-retired-wave - Apache Wave is now retired
machineid - Get the unique machine id of any host (without admin privileges)
totally-safe-transmute
Zulip - Zulip server and web application. Open-source team chat that helps teams stay productive and focused.