cbarrick

joined 1 year ago
[–] cbarrick 3 points 1 week ago* (last edited 1 week ago)

orlp invented PDQSort and Glidesort. He collaborated with Voultapher on Driftsort.

Driftsort is like a successor to Glidesort.

Glidesort had some issues that prevented it from being merged into std, and which are addressed in Driftsort. IIRC it had something to do with codegen bloat.

[–] cbarrick 30 points 1 week ago (41 children)

What's wrong with AC if it's powered by renewable electricity?

[–] cbarrick 8 points 1 week ago

Zsh

No plugin manager. Zsh has a builtin plugin system (autoload) and ships with most things you want (like Git integration).

My config: http://github.com/cbarrick/dotfiles

[–] cbarrick 5 points 1 week ago

Unicode cat 😺

[–] cbarrick 29 points 1 week ago

Exactly.

My take is that the issue isn't with tmpfiles.d, but rather the decision to use it for creating home directories.

[–] cbarrick 4 points 1 week ago

Someone told me that Goldeneye actually supported dual stick controls if you plugged in two controllers. And Perfect Dark is the same engine.

I need to try that out on real hardware...

[–] cbarrick 21 points 1 week ago (8 children)

113M shares times $31/share is $3.5B.

That's wild. No way the company is worth that, much less his share.

[–] cbarrick 40 points 1 week ago (7 children)

With a headline like that, I thought he died...

[–] cbarrick 5 points 1 week ago* (last edited 1 week ago) (1 children)

Huh. This got me curious.

Yes, I did just type a bare URL. Every mature markdown parser I've used turns this into a link, and appropriately handles trailing punctuation.

So I went to the spec, and it's explicitly called out that this is not an autolink. Autolinks must be explicitly surrounded with angle brackets <>.

So yeah \shrug.

https://spec.commonmark.org/0.31.2/#autolinks

Edit to be clear: This means that both of our markdown parsers are wrong relative to the commonmark spec. But I'll argue that if a parser is going to attempt to autolink this, then handling trailing punctuation is better than not.

[–] cbarrick 20 points 2 weeks ago (3 children)

I intentionally added a period because it was the end of a sentence.

If your Lemmy app messed it up, then that's a bug in its markdown parser.

[–] cbarrick 16 points 2 weeks ago* (last edited 2 weeks ago) (8 children)

With a good style/best-practice guide, C++ can be quite productive of a language to work with.

Those kinds of guides typically define which standard/convention to use and which features not to use (cough exceptions cough).

I highly recommend Google's C++ style guide: https://google.github.io/styleguide/cppguide.html.

view more: ‹ prev next ›