Show newer
Simon boosted

More feedback from CRAN:

"too many spaces in the description field".

o_O

#RStats

Simon boosted

But enough of the expletives, let's talk a bit of what to do instead?

I think good C library design is always built around some kind of opaque context object (possibly multiple), that all relevant functions provided by the library get passed in as first argument. This context object should be constructed by one library function and destructed by another, but key really is that the library is "dormant" until that constructor is explicitly called by its user, and "dormant" again…

Show thread
Simon boosted

Which means that constructors are invoked in the order the shared libraries are loaded in, and if shared libraries have dependencies, they are first loaded "down the tree". But that sucks hard, because libraries tend to have interdependencies, non obvious ones at that, and cyclic ones too! And that means you might end up calling functions from libs whose constructors haven't run yet, or whose destructors already ran.

Then, various libraries (including systemd's) use "-z nodelete", …

Show thread
Simon boosted

…, labelled, initialized and so on. One prominent library which we do link against that used to do horrible shit like that, is libselinux btw. They fixed much of it, but still use ELF constructors/destructors these days, and they really shouldn't.

Now you might say that not all projects are systemd, that we are a special case, but there are many other problems with it:

1. There's no ordering defined in which constructors/destructors are called. Or at least not a useful one: it's "topoligical".

Show thread
Simon boosted
Simon boosted

Are you interested in a conference/festival hybrid that tries to combine the vibes of Strangeloop and Resonate? Then you'll be pleased to learn that I'm helping organize exactly that for the first Berlin edition of @causalislands this October!

causalislands.com/berlin/intro

Simon boosted

I guess the first question is: does anyone *want* an asynchronous-process-heavy introduction to Elixir, one that embraces styles supported by third-party libraries³?

I’m sort of at a loss: how to proceed in a way that might be broadly useful?

Advice?

¹ podcast.oddly-influenced.dev/e and goodreads.com/book/show/265550

² hexdocs.pm/elixir/introduction (3/4)

Show thread
Simon boosted

Give me Werner Herzog as the voice of ChatGPT and I will consider giving it a try.

Simon boosted

Do they want people weeping emotionally into the cheese display?! Because this gotta be how that happens. Is this some kind of evil marketing thing to get the people who like food for comfort to buy more? 🤔

Show thread
Simon boosted

people always rail against math notation as "illegible" and "elitist gatekeeping" and "unreasonably opaque" and while I'm sympathetic to these arguments I think it's worth understanding this not as a property of some ivory tower elitism but of the percentage of math that is done by hand on chalkboards.

"why don't mathematicians use descriptive names for things" because my arm is tired! have some sympathy.

Simon boosted

this phenomenon where trans women have an easier time carving out niches in male-dominated spaced than anywhere else… fedi, mtg tournaments, speedrunning, etc. it’s a little exhausting really. especially when we get propped up in this “see? we’re inclusive” kind of way when the underlying problem usually hasn’t been addressed — men in these spaces just see us as unthreatening and undesirable

Simon boosted

Is there some Aldi curse where all of them must play the saddest pop from the last forty years or?

Simon boosted

The synesthesia will continue until morale is purple

Simon boosted
Simon boosted

If you haven't seen it yet, go check out @ernie's new search engine ...

... which automatically appends "&udm=14" to the end of your search query ...

... thereby triggering Google to give you your results with no AI answer at the top, and (for me, anyway) no ads

It's like google from 2004 or something

udm14.com

Simon boosted

Haha, don't order the Prawn Horns! Nope, big nope.

Simon boosted

And, my final doom: Prawn Horns. Ring ring, prawn is on the horn! "Prawns seasoned with coriander and green onions rolled in a crispy wonton style pastry," This is the most horn I've seen in Wellington so far.

Yep, Sam was NOT amused with my greasy prawn horn Wolverine cosplay 😂

Simon boosted

Two separate threads just now:

"On average we humans use too much, yes. I don’t know if WWF (not the wrestling one) still does their yearly report,.."

"I'm in Austria (that's the one without the kangaroos) where although physical punishment of children was first made an explicit offence..."

Simon boosted

* progressive DAs have been recalled, and NYC has 1000s of more cops than it had before.

* Entire DEI programs have been shut down at major universities.

* The FBI basically rebooted COINTELPRO, labelling and surveilling young black people who participated in the BLM protests as "Black identity extremists."

* There has been no meaningful legislation passed to identify cops like Chauvin before they commit murder, and remove them from service. There's been no meaningful change in accountability

Show thread
Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.