Programming thread

  • 📧 If you are an employee of a T1 ISP, US datacenter, or related company please get in touch at josh@kiwifarms.net. I have some questions.
  • Want to keep track of this thread?
    Accounts can bookmark posts, watch threads for updates, and jump back to where you stopped reading.
    Create account
Guess I should start learning more about Protobuf.
Attaboy.

Protobuf is the preferred means of serializing structured data to a binary format within SWI-Prolog. https://www.swi-prolog.org/pldoc/man?section=protobufs-main

Basically, it's supported everywhere, but it's quite remarkable that the SWI project chose Protobufs, as it is the only binary serialization format that it supports natively. Prolog being a weird high-level language, it's unusual to see Prologs caring much about binary serialization.
 
Attaboy.

Protobuf is the preferred means of serializing structured data to a binary format within SWI-Prolog. https://www.swi-prolog.org/pldoc/man?section=protobufs-main

Basically, it's supported everywhere, but it's quite remarkable that the SWI project chose Protobufs, as it is the only binary serialization format that it supports natively. Prolog being a weird high-level language, it's unusual to see Prologs caring much about binary serialization.
Yea but judging by those graphs, it only pays off when you're handling well over 50k requests/second. Arguably one should still prefer gRPC since you'd be future-proofing your API, but still. On the low end, REST takes the lead.
 
>mmap

Pfff, look at that casual. sbrk is where its at.
Perhaps, but mmap also allows me to reserve address ranges without allocation, as well as map files in and out of memory to disk
I really like it
 
I've improved my pattern editor since then. This is actually a completely new deck, and it uses a custom widget—Decker calls these contraptions—which comprises the earlier editor in effect:

It's still not finished, I'd like to do a bit more, but it's finished enough for me to move on. Making this a contraption has allowed me to have multiple of these little patterns in one deck, so there's now a gallery card too. I'll work on tweaking and improving this alongside the development tool I'm going to make in Decker. Making this deck was partially a learning experience; there were a great many little issues I've learned how to iron out regarding optimizations and like this. I even fixed a tiny flaw when making this video. I can go into more detail if anyone's curious, but these mostly involved little issues with the animation model. Decker is fun.
 
Back
Top Bottom