Conversation
Notices
-
@MK2boogaloo @p @meso @Moon @gaybot Is this fedi's Nadeko?
-
@Zerglingman @gaybot @p @MK2boogaloo @Moon @meso yes this is pretty much exactly fedi's nadeko, 2017 discord bot autism at its finest
-
@allison @p @meso @gaybot @Moon @MK2boogaloo >autism
You're not wrong. Did you ever hang out with kwoth?
-
@Zerglingman @gaybot @p @MK2boogaloo @Moon @meso Don't know who that is, in general I only really had peripheral experience with the bot scene mostly from other users inviting bots into my servers
-
@allison @p @meso @gaybot @Moon @MK2boogaloo The guy who wrote it. I hung out in the Nadeko support guild for a while because I admired its design, also because I was certain there was a way to permanently brick the bot's config for a given guild and wanted to prove it (in the end, I never demonstrated it). Dude's pretty great, does whatever he pleases and doesn't afraid of anything. Pings 30k people whenever he feels like it.
-
@Zerglingman @gaybot @p @MK2boogaloo @Moon @meso based
-
@allison @MK2boogaloo @Moon @Zerglingman @gaybot @meso Apparently the bot wasn't dead, I had just muted it and I don't know when that occurred.
-
@allison @Zerglingman @MK2boogaloo @Moon @gaybot @meso I thought this bot was dead.
-
@p @gaybot @Zerglingman @allison @MK2boogaloo @Moon @meso It was, up until about an hour ago.
Screenshot_20231229_191944.png
-
@mint @MK2boogaloo @Moon @Zerglingman @allison @gaybot @meso :brandt:
-
@mint @MK2boogaloo @Moon @Zerglingman @allison @gaybot @meso
for i in pleroma akkoma mastodon; do
curl "http://demo.fedilist.com/instance/csv?software=$i"
done | grep -v '^hostname,state' | awk -F, '{
printf "curl https://%s/api/v1/timelines/public?local=true&limit=2 | jq -r '\''map(.account.acct)|join(\"\\n\")'\''\n", $1
printf "curl https://%s/api/v1/timelines/public?local=false&limit=2 | jq -r '\''map(.account.acct)|join(\"\\n\")'\''\n", $1
}' | sort --random-sort | sh | awk '
!NF{next}
i%2{printf "@gaybot@clubcyberia.co !ship @%s @%s", p, $1 | "./shell-script-that-makes-a-post"; close("./shell-script-that-makes-a-post")}
{i++;p=$1}'
-
@p @gaybot @Zerglingman @allison @MK2boogaloo @Moon @meso :_insane:
-
need 2 people to make a ship. Format: !ship @account1 @account2
-
@mint @MK2boogaloo @Moon @Zerglingman @allison @gaybot @meso I don't like that they added the "--random-sort" bit to sort(1); it seemed like that should be a different program. On Plan 9, I put a Fischer-Yates shuffle into an awk script:
{a[NR]=$0}
END {
srand()
for(i=length(a); i>1; i--) {
n = 1+sprintf("%d", rand()*(i-1))
t = a[i]
a[i] = a[n]
a[n] = t
}
for(i in a)
print a[i]
}
Before that, on Linux, I'd do this by exploiting some behavior in mawk/gawk that reorders associative arrays by key; mawk doesn't like this behavior but it duplicated the behavior anyway. gawk requires you to seed the RNG, mawk auto-seeds. It's also less perfect than Fischer-Yates, but it works well enough for "random sort" use if not "really unbiased random-sort for the NSA", but it's much shorter:
BEGIN { srand() }
{ a[rand() $0] = $0 }
END { for(k in a) print(a[k]) }
-
@p @gaybot @Zerglingman @allison @MK2boogaloo @Moon @meso Definely don't want the NSA to mangle a fedi shipping bot, do we?
-
@mint @gaybot @Zerglingman @p @MK2boogaloo @Moon @meso The NSA has the state of the art in fedi shipping bots, they just keep it hidden away from everyone.
-
@mint @MK2boogaloo @Moon @Zerglingman @allison @gaybot @meso Well, just in terms of ensuring that there is no bias to the shuffle; it is a general tool.