Better HN
topnewbestaskshowjobs
Log inSign up

SloopJon

2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions

Submissions

comment 5y ago · link · parent

The Community License page has checkboxes for Alpha and Itanium. The box for "x86 (planned)" is not yet enabled:

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

The takeaway for me, which agrees with my experience, is that QuickCheck is a great way to start testing. It's pretty amazing what you can find just by checking a few properties or invariants with a hundred random inputs each. It's kind of the seven-minute-a-day workout of testing.

comment 5y ago · link · parent

> Even templates in C++ are notorious for puking near impossible to decipher errors.

"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

As for wasting your money on a 4K set vs. a full HD set, it almost isn't even a choice anymore. The "budget" 4K recommendation at RTINGS is about $500.

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

I looked for ZDNet's source to see where it was getting such tone-deaf and counter-productive messaging. It's from the actual release announcement discussed earlier this week!

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

All things being equal, I'd choose GOG over Steam, but there are some complaints about delayed updates and/or needing to register for updates on the developer's web site. Can any GOG customers comment on their experience?

comment 5y ago · link · parent

Wow, talk about a barrier to entry. Google already has Curie from North America to South America and Equiano from Portugal to South Africa. They're also working on Hopper from North America to UK and Spain:

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

I saw this on Daring Fireball the other day, and was reminded of it by "The Reshaped Mac Experience" post today. See also Gruber's response to this survey:

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

> It's dead, Jim.

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

He touched on JSON parsers in a previous post about fast_double_parser: "People who write fast parsers tend to roll their own number parsers (e.g., RapidJSON, sajson), and so we did. However, we sacrifice some standard compliance." (The "we" in this context refers to simdjson.)

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

The first thing I notice is the chain. Ars Technica had a story earlier this week about the Sondors Metacycle: similar power, similar weight, but no chain. Also, $25,000 cheaper.

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

It may be too sparse to answer your question, but there is a related paper on the author's web site:

http://marekcel.pl/docs/mscsim_doc.pdf

comment 5y ago · link · parent

I pulled this up in Stellarium, and the only real difference is that you can see Phobos, Deimos, and Earth. It doesn't seem to simulate the atmosphere.

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

I haven't noticed Firefox for Enterprise before. At first I thought it was a new name for extended support release, but Enterprise is available in both ESR and the regular releases. I can't tell from the landing page what the difference is. Is this just about streamlining enterprise-wide deployment?

comment 5y ago · link · parent

I've had a lot of problems with USB DACs as well. I frequently find that audio degrades into a kind of stuttering or static that doesn't go away until a reboot. I've experienced this with multiple DACs (Aune, Centrance, O2, and Presonus) on multiple machines (iMac 5K, 16" MacBook Pro, and hackintosh). I feel like it's worse in recent versions of macOS (say, High Sierra and later), but it's intermittent, so it's hard to say.

comment 5y ago · link · parent

The advice about the order of includes is interesting, as it's the exact opposite of my usual habit. I see the point, and I'll definitely consider adopting it.

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

I had the exact same thought. I almost didn't bother following the link, because Rust for Windows is already a thing, but this is essentially a Rust equivalent to C++/WinRT.

comment 5y ago · link · parent

I had to scroll down the page to see if Ultraleap is a product, a company, or some kind of open source project, and whether it has anything to do with the Leap Motion Controller. For those who were as confused as me, Ultrahaptics bought Leap Motion, renaming the resulting company to Ultraleap.

comment 5y ago · link · parent

Could be. I suspect that's a factor in the fonts available for download or document support in Catalina and Big Sur:

https://support.apple.com/en-us/HT210192

https://support.apple.com/en-us/HT211240

comment 5y ago · link · parent

I don't remember this game at all, but it sounds like it would have been a fun follow up to The Halley Project, which was kind of a scavenger hunt through the solar system.

comment 5y ago · link · parent

Just for fun, I added pdqsort to the benchmark:

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

The first graph includes "Apple Intel", which is not mentioned anywhere else in the post. Any idea what hardware that was, and whether it used the accelerated TensorFlow?

comment 5y ago · link · parent

In order to compile the ratpak library from Microsoft's calculator using Clang, I ported part of it from C++ to C. It's written in C++17 with some C features that only Visual C++ accepts. Off the top of my head, some of the changes I needed:

* 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

That caught my eye too. I looked for benchmarks of re2, but couldn't find anything more recent than this:

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:

https://news.ycombinator.com/item?id=23487960

comment 5y ago · link · parent

Yes, that's correct. Apart from the fact that the programs are apparently written in Java, Oracle Corporation has nothing to do with this.

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

The page says that the software uses a patented oracle-free testing method, but that it doesn't apply to the public domain (Java?) programs that you can request by email. Although I hope the Department of Commerce wouldn't sue me, I'm not clear on the purpose or status of this patent.

comment 5y ago · link · parent

On the coastal side of the enormous Eastern Time Zone, I like the idea of permanent EDT or the proposed AST. Permanent DST (nationwide) is slightly better for New England than AST, because it avoids the hassle of being in a different time zone than New York, D.C., et al. On the other hand, it's probably not as good for, say, Indianapolis.

comment 5y ago · link · parent

> it’s actually “design compromises”.

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

I had gotten used to that site showing what is not entering the public domain, thanks to the Sonny Bono Copyright Term Extension Act. (What a horrible thing to have your name on.) It's good to have something to celebrate again. It looks like Winnie-the-Pooh will be on the list next year.
1
8910
26