closure-library
f5go
closure-library | f5go | |
---|---|---|
5 | 1 | |
4,841 | 16 | |
0.2% | - | |
6.6 | 0.0 | |
6 days ago | 4 months ago | |
JavaScript | Python | |
Apache License 2.0 | 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.
closure-library
-
For processing strings, streams in C++ can be slow
> "I recently learned that some Node.js engineers prefer stream classes when building strings, for performance reasons." Pretty much tells you everything you need to know about node js, I guess.
Google Closure Library includes a StringBuffer class. [1]
I recall it having explanatory notes, but I don't see them in the code now. JavaScript engines can optimize a string concatenating to in-place edit, if there is only one reference to the first string. The StringBuffer class keeps the reference count at one, guaranteeing this optimization is available, even if the StringBuffer itself is ever shared.
[1] https://github.com/google/closure-library/blob/master/closur...
- Closure Library Is in Maintenance Mode
-
Tailscale/golink: A private shortlink service for tailnets
This made me wonder what the oldest go-link (from inside Google) discoverable on the public internet is. So far I've found one going back to 2013 (but there should definitely be some from the mid 2000s): https://github.com/google/closure-library/blame/11ed104958a2...
(Fun fact: go-links are so critical to Google ops, that they're expected to be accessible in a "everything is down" scenario.)
-
Which Type, Currency Values In DB?
For data type I always use DECIMAL(#, 6). So 6 decimal places. This accommodates all generally agreed upon rounding standards for calculating interest, taxes, discounts, etc. So for me, something like $12.75 USD will look like 12.750000 in the database. I store the 3-letter currency code in a separate column. I know what the base value for each currency is on the code side in our framework, which has a currency library that reads a dataset that has every currency stored like this (the 'rules' key is a bitmask per Google's i18n currency.js):
- How do I find out what functions are called when a button is pressed in Chrome Console?
f5go
-
Tailscale/golink: A private shortlink service for tailnets
I wrote the one for F5, in 2011 I believe. I didn't know specifically about Google's at the time, but the general concept was in the air. I was inspired by the old-schoool CompuServe (or was it AOL?) "go " command. Bill Booth worked to get f5go open-sourced a few years after that [1].
And I'm glad you appreciated f5go's additional features; my personal favorite is the "lists" feature: a single go/ link can become a list of links very easily. Very useful for gathering research on a topic into a single place. I keep wanting to setup a personal f5go server so I can share short mnemonic links that might be lists lke this.
[1] https://github.com/f5devcentral/f5go
What are some alternatives?
golink - A private shortlink service for tailnets
go-links - The open source go links app at the core of Trotto.
wesher - wireguard overlay mesh network manager
go - Another Google-like Go short link service
yggdrasil-go - An experiment in scalable routing as an encrypted IPv6 overlay network
Nebula - A scalable overlay networking tool with a focus on performance, simplicity and security
tinc - a VPN daemon