prologic

twtxt.net

Problems are Solved by Method\" 🇦🇺👨‍💻👨‍🦯🏹♔ 🏓⚯ 👨‍👩‍👧‍👧🛥 -- James Mills (operator of twtxt.net / creator of Yarn.social 🧶)

In-reply-to » I don't know what this fruit is called! The waiter at breakfast told me the Vietnamese name but I've since forgotten 😂 Media

@bender@twtxt.net are you able to send me a video recording of how that sounds because I don’t think that that’s what they called it at the breakfast? 🤣

⤋ Read More
In-reply-to » (#jldcvba) @shinyoukai yeah, that's the only reason why I use sub-domains when trying anything federated (I believe Matrix has the same problem), in case things didn't go as planned I can just migrate and take it down.

@bender@twtxt.net actually I think it’s a little more nuance than that because for example with salty chat, we have support for DNS based delegation via SRV records and your identity is associated with your Apex Dom name and of course the keys.

I actually don’t understand why Federation and activity pub is so goddamn hard to migrate from one instance to another 🧐

⤋ Read More
In-reply-to » (#jldcvba) @shinyoukai yeah, that's the only reason why I use sub-domains when trying anything federated (I believe Matrix has the same problem), in case things didn't go as planned I can just migrate and take it down.

@aelaraji@aelaraji.com does that mean your identity gets associated with your Apex domain or your sub domain?

⤋ Read More
In-reply-to » @bender yeah, I've been reading through the documentation last night and it felt overwhelming for a minute... +1 point goes to GTS's docs. but hey, I'll be taking the easy route: podman-compose up -d they provide both a container image and an example compose file in a separate git repo but I'm wondering why that is not mentioned anywhere in the docs, (unless it is and I haven't seen it yet)

@shinyoukai@neko.laidback.moe Yes! 🙌

⤋ Read More
In-reply-to » @bender yeah, I've been reading through the documentation last night and it felt overwhelming for a minute... +1 point goes to GTS's docs. but hey, I'll be taking the easy route: podman-compose up -d they provide both a container image and an example compose file in a separate git repo but I'm wondering why that is not mentioned anywhere in the docs, (unless it is and I haven't seen it yet)

@shinyoukai@neko.laidback.moe that has to be one of my stupid designs of activity pub 😆

⤋ Read More
In-reply-to » @aelaraji Ahhh! That would be even funnier and even more brilliant! 🤣 If you can find this, I would happily employ this tactic next time and make 'em pay 💰 Bahahahaha 🤣

@aelaraji@aelaraji.com I like the sounds of this technique a lot redirecting these AI crawling assholes to multi gigabyte files! The only concern I have is how do you do it in such a way that you don’t end up destroying your own ISP speed test servers?

⤋ Read More

Before smartphones people used to use the Sony Camcorders, but even though they still exist today, they’re uber expensive 😂

⤋ Read More
In-reply-to » AoC Day #1 solution (mu): https://gist.mills.io/prologic/d3c22bcbc22949939b715a850fe63131

I actually can’t progress to day two till I get home 🤣 – I haven’t pushed the code for the mu compiler yet 🤦‍♂️ So no-one can check my work even if they were so kind 🤣

⤋ Read More
In-reply-to » Thinking about doing Advent of Code in my own tiny language mu this year.

The most interesting part about mu is that the language is actually self-hosted and written in itself. There is a stage zero compound written and go on a stage one compiler written in mu

⤋ Read More

Thinking about doing Advent of Code in my own tiny language mu this year.

mu is:

  • Dynamically typed
  • Lexically scoped with closures
  • Has a Go-like curly-brace syntax
  • Built around lists, maps, and first-class functions

Key syntax:

  • Functions use fn and braces:
fn add(a, b) {
    return a + b
}
  • Variables use := for declaration and = for assignment:
x := 10
x = x + 1
  • Control flow includes if / else and while:
if x > 5 {
    println("big")
} else {
    println("small")
}
while x < 10 {
    x = x + 1
}
  • Lists and maps:
nums := [1, 2, 3]
nums[1] = 42
ages := {"alice": 30, "bob": 25}
ages["bob"] = ages["bob"] + 1

Supported types:

  • int
  • bool
  • string
  • list
  • map
  • fn
  • nil

mu feels like a tiny little Go-ish, Python-ish language — curious to see how far I can get with it for Advent of Code this year. 🎄

⤋ Read More