HackerTrans
TopNewTrendsCommentsPastAskShowJobs

timClicks

no profile record

comments

timClicks
·há 3 meses·discuss
Another format that's worth investigating is Asciidoc. It supports the richness of Docbook XML but has fewer quirks than rST in my eyes.
timClicks
·há 7 meses·discuss
Sorry if this is somewhat pedantic, but I believe that only US companies (and possibly only Delaware corporations?) are bound by the requirement to maximize shareholder value and then only by case law rather than statue. Other jurisdictions allow the directors more discretion, or place more weight on the company's constitution/charter.
timClicks
·há 8 meses·discuss
References only have a single bit available as a niche (the null byte), which Option makes use of for null pointer optimization (https://doc.rust-lang.org/std/option/index.html#representati...).

In principle, you Rust could create something like std::num::NonZero and its corresponding sealed trait ZeroablePrimitive to mark that two bits are unused. But that doesn't exist yet as far as I know.
timClicks
·há 8 meses·discuss
Asciidoc corresponds directly to DocBook XML. They're two formats with exactly the same semantics.
timClicks
·há 8 meses·discuss
MCP is an example of "worse is better". Everyone knows that it's not very good, but it gets the job done.
timClicks
·há 11 meses·discuss
This reminds me of when I provided some impressions of Erlang as a newcomer to their mailing list.

One of my suggestions was that they include hash tables, rather than rely on records (linked lists with named key). Got flamed as ignorant, and I've never emailed that mailing list again. A while later, they ended up adding hash tables to the language.