2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions
comment 5y ago · link · parent
https://vmssoftware.com/community/community-license/
I guess I shouldn't be surprised that this is a VM-only product, but there's something unsatisfying about an O/S that can't boot real hardware.
comment 5y ago · link · parent
comment 5y ago · link · parent
"Even"? I actually miss the macro-like power of templates when I'm using generics in Java and C#, but generating the longest possible error message using templates is practically an Olympic sport. I presume that SFINAE is partially to blame, because a lot of the output enumerates all the candidates that didn't match.
comment 5y ago · link · parent
Also, although it is mentioned in the text, keep in mind that not all content is high-bitrate 4K:
Cable TV? Probably compressed 1080p or 720p, depending on the channel. If it's Comcast/Xfinity, they may even squeeze three channels into the bandwidth of two.
Streaming? Compressed 1080p, with the occasional 4K.
Old (but not that old) Blu-rays? 1080p.
If you're sitting in your leather club chair, Oppo UHD Blu-ray remote in one hand and a glass of '92 Screaming Eagle Cabernet in the other, then sure--slide your chair into the sweet spot at the optimal distance per these charts.
Don't get me wrong: when I replace my ten year-old Sony, it's going to be with the biggest LG CX or C1 OLED my wife lets me get. Just realize that trigonometry isn't the whole story.
comment 5y ago · link · parent
https://blog.documentfoundation.org/blog/2021/02/03/libreoff...
Open source sustainability is a real problem, but spending the first seven paragraphs of a release announcement berating a bunch of your users as freeloaders is a really bad look.
comment 5y ago · link · parent
https://cloud.google.com/blog/products/infrastructure/announ...
I presume that the other trillion-dollar companies are getting in on the action too.
comment 5y ago · link · parent
https://daringfireball.net/2021/01/my_2020_apple_report_card
And Michael Tsai's:
https://mjtsai.com/blog/2021/01/30/2020-six-colors-apple-rep...
249.
Apple in 2020: The Six Colors report card(sixcolors.com ↗)
1 points · by SloopJon · 5y ago · 1 comment
comment 5y ago · link · parent
I wonder how many folks would miss this reference. If I'm not mistaken, it's only in the original series. On the other hand, I guess Itanium is even more obscure than Star Trek at this point.
I tend to assume that most people know at least as much as I do, so I was taken aback when, after explaining line endings to a co-worker, she asked, "What's DOS?"
comment 5y ago · link · parent
https://lemire.me/blog/2020/03/10/fast-float-parsing-in-prac...
He followed up in a comment: "RapidJSON has at least two fast-parsing mode. The fast mode, which I think is what you refer to, is indeed quite fast, but it can be off by one ULP, so it is not standard compliant."
The Github README for this new project says, "The fast_float library provides a performance similar to that of the fast_double_parser library."
https://github.com/fastfloat/fast_float
However, the benchmarks show a significant improvement relative to those in the fast_double_parser README:
https://github.com/lemire/fast_double_parser
I tried to run the benchmarks, but my CMake is apparently too old, and Homebrew barfed all over the living room rug when I tried to update it.
comment 5y ago · link · parent
https://arstechnica.com/cars/2021/01/this-electric-bicycle-c...
Granted, that the Metacycle isn't an off-road bike, but I wonder which is better for reliability in an area so remote that you need solar charging: a chain, or a hub-mounted motor?
comment 5y ago · link · parent
I also tried this in Gaia Sky, but I would need to tweak the settings. The faint stars are too bright, and the bright stars aren't bright enough.
Any other recommendations for exploring our neighborhood virtually?
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
One thing I've been bitten by in the past is that Clang / libc++ on Mac sometimes doesn't require a standard header that GCC / libstdc++ does. I don't think this pattern will fix that, though.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
https://github.com/orlp/pdqsort
Here are some of the results on an Ivy Bridge hackintosh:
size, qsort, inline, sort, stable, pdqsort, radix7
1000, 88.0, 60.6, 31.2, 37.5, 24.6, 12.8
10000, 109.3, 77.1, 45.6, 51.6, 29.1, 12.0
100000, 137.1, 97.7, 57.7, 71.9, 33.3, 12.5
1000000, 159.6, 114.2, 70.6, 88.6, 39.7, 20.4
10000000, 185.2, 133.7, 82.0, 99.7, 43.6, 19.4
Edit: it's not quite as easy to plug radix7 into pdqsort's more varied benchmark program, which expects a template function with a type parameter of int.comment 5y ago · link · parent
* add extern "C" to some of the headers
* include stdbool.h for bool
* include stdint.h for uint64_t et al.
* include stdlib.h and change nullptr to NULL
* change constexpr to enum
* change static_cast to C-style casts
* rewrite a function to take a pointer, rather than a reference
* write a min() function
I probably could have rewritten it as standard C++, but that somehow seemed like a more daunting prospect at the time.
comment 5y ago · link · parent
https://rust-leipzig.github.io/regex/2017/03/28/comparison-o...
burntsushi criticized it at the time as being unfair to DFA engines.
Incidentally, I also discovered that Firefox now uses Chrome's Irregexp engine:
https://hacks.mozilla.org/2020/06/a-new-regexp-engine-in-spi...
HN discussion:
comment 5y ago · link · parent
There's a section of the web site on licensing NIST technologies, and links to patent license applications. Without a specific license for this patent, it's not clear how I'm allowed to use it. May I use the programs commercially? May I modify them?
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
That's a good way to put it. I've seen several posts like this, and the tendency is to assume a set of requirements (e.g., a generator must be stateless), then fault a scheme for not satisfying them.
The main appeal to me of a password generator is that if you give me a batteries-included scripting language, I can rebuild it from scratch in five or ten minutes--no precious vault to lose. However, if you want to use a scheme like this on purpose, you're going to make some compromises:
* The OP's dpg script has extra logic to avoid similar characters (e.g., 1 and l), presumably to enable typing, rather than pasting. This chips away at the simplicity.
* dheera mentioned his "almost stateless" passenter script, with a publicly accessible configuration file. Would he be comfortable adding an entry for pornhub.com or ashleymadison.com, I wonder?
* baobabKoodaa mentioned his baopass utility in a previous story, which decouples the master password from the generated password using a keyfile. Awfully similar to a vault.
Although I'm not going to discourage anyone from using a password generator, I've come to a similar conclusion as you: the ability to store arbitrary information in the vault is really useful--usernames, PINs, security questions, account numbers, etc.
My current tool of choice is KeePassXC with a vault in a SyncThing directory, and a keyfile local to each system. I wouldn't mind better sync support, because I do occasionally get sync conflicts, which I don't even try to resolve.
comment 5y ago · link · parent