CoderKat

joined 2 years ago
[–] CoderKat@lemm.ee 1 points 2 years ago (1 children)

Ugh, there's some parts of YAML I love, but ultimately it's a terrible format. It's just too easy to confuse people. At least it has comments though. It's so dumb that JSON doesn't officially have comments. I've often parsed "JSON" as YAML entirely for comments, without using a single other YAML feature.

YAML also supports not quoting your strings. Seems great at first, but it gets weird of you want a string that looks like a different type. IIRC, there's even a major version difference in the handling of this case! I can't remember the details, but I once had a bug happen because of this.

Performance wise, both YAML and JSON suck. They're fine for a config file that you just read on startup, but if you're doing a ton of processing, it will quickly show the performance hit. Binary formats work far better (for a generic one, protobuffers has good tooling and library support while being blazing fast).

[–] CoderKat@lemm.ee 0 points 2 years ago

"I use Linux as my operating system," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually", he says with a grin, "Linux is just the kernel. You use GNU+Linux!' I don't miss a beat and reply with a smirk, "I use Alpine, a distro that doesn't include the GNU coreutils, or any other GNU code. It's Linux, but it's not GNU+Linux."

The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth and drops to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!" Coolly, I reply "If windows was compiled with gcc, would that make it GNU?" I interrupt his response with "-and work is being made on the kernel to make it more compiler-agnostic. Even you were correct, you wont be for long."

With a sickly wheeze, the last of the man's life is ejected from his body. He lies on the floor, cold and limp. I've womansplained him to death.

[–] CoderKat@lemm.ee 1 points 2 years ago

Yeah, I'll probably still check Reddit when it's in Google search results, too, but I'm no longer visiting regularly and I hope that someday I'll be able to replace it for the niche cases, too.

[–] CoderKat@lemm.ee 1 points 2 years ago* (last edited 2 years ago)

It does include just linking.

(2) For the purposes of this Act, news content is made available if

(a) the news content, or any portion of it, is reproduced; or

(b) access to the news content, or any portion of it, is facilitated by any means, including an index, aggregation or ranking of news content.

Indexing includes showing a basic result in search. Plus you can't show a normal search results without pulling at least a portion of the news content. I can only assume the author and those that voted for this have literally never searched for a news article online before.

[–] CoderKat@lemm.ee 1 points 2 years ago

Agree. I suspect that the UX challenge of the Fediverse as well as the fact that you'd largely only migrate here if you're ideologically displeased with the admins means that people on this site skew more mature.