Show newer

It's just for a configuration file though.

It doesn't make much of a difference how long it takes to process it, so long as it isn't perceptible to humans.

Show thread

What toml library to use.

Let's look at the performance section of this random one.

"Most operations should not be shockingly slow."
Lol.

Well, let's not get that far ahead of myself, first build an implementation which actually works properly (which it seems that other one doesn't).

That'll be a good small goal.

Show thread

Hmm... What interesting thing could I implement. Let the user style their profile...? Lol.

For something like a configuration file, it has to be something very obvious and straightforward and easy to use, otherwise it's going to be a hassle to fiddle with.

toml gets the job done.

Show thread

You know what, I've always wanted to use toml. You know toml? It's a very pretty language. Let's do that for config.

For now, let's compete with that random implementation written in Go.

Go developers tend to be a bit sloppy in their resource management (they waste a lot of it), so there might be some fruit to grow there.

Olives boosted

@trinsec Born from a programmer's laziness. The ultimate irony.

I might experiment with a few stacks to see what works best.

Olives boosted

For the highest level of meta, you can have a program which writes an implementation writing program which writes an implementation, lol.

Show thread

I could do something very crazy. I could write an implementation writing program.

abc.net.au/news/2022-11-25/sco

"Ms Bell refuted previous assertions by Mr Morrison that he gave himself the powers in response to the COVID-19 pandemic, saying self-appointments to the treasury, home affairs and industry, science, energy and resources portfolio had "little if any connection to the pandemic".

She said Mr Morrison had also instructed his department to prepare a brief for his appointment to administer the agriculture, water and environment portfolio, though he decided not to proceed with it."

The previous Australian prime minister secretly appointed himself to several ministerial positions (which should be separate to avoid an unholy concentration of power tbh). Also, no one knew that he did this.

Thankfully, the more conservative right wing government lost the election last year, or they might try to do something... hasty and problematic.

Olives  
https://www.theguardian.com/australia-news/2023/aug/31/roadmap-for-age-verification-online-pornographic-material-adult-websites-australia-law Austr...

deno.com Deno is pretty cool, because you can restrict the access each bit of code gets to the system (it is also faster than Node.js as it overturns some fundamental bottlenecks in how that is implemented).

As a security wonk, that is pretty cool to me.

Of course they'd use Tokio, lol.

Did Deno ever go anywhere? I recall it was supposed to be a competitor to Node.js?

Let's see if anything has changed in Go since I last played with it.

Of course I'm going to write my own fediverse implementation or what sort of programmer would I be...

reference. Cool joke, eh, lol.

Show older
Qoto Mastodon

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