@david@daiwei.me since I became linuxpilled and embraced SSH, I do my Wordles through https://late.sh/
Can strongly recommend it, even has all the other daily puzzles: minesweeper, sudoku, solitaire, nonogram (kinda hate those),…
Maybe not the best family activity, the chat can be somewhat spicy and so can the collaborative ASCII art drawing game.
@arg@twtpub.com Hello! 👋
In #Magic last night, I debuted my new #Dune deck with an underwhelming performance - perhaps unsurprisingly for a desert-focused deck, I faced a real drought, starting the game with only 1 land in hand (even after a mulligan) and not pulling another land until turn 4(!). Because of our house starting mana, I wasn’t totally sunk, but everything I got out was just luck. I did die last thanks to my big wurms (so I guess I was 2nd place?), but still… underwhelming.
For game 2, I wanted to bring the thunder (especially after my pitiful performance last week), so I dusted off my Night of 1000 Squirrels deck (headed by the infamous Chatterfang, Squirrel General). By turn 3, the #squirrel army was forming, and thanks to well-timed casts of Fog and Make a Stand, the squirrels managed to overrun everyone just a few turns later.
Another fun night overall. I won’t be able to play for the next few weeks, so I’m glad this one ended with a win. 😁 #mtg
Today, we have a pair of pics presenting the preening Princess Peaches posing in pink (from earlier this year, when it was cooler and she was wearing t-shirts). #dogs

@david@daiwei.me Thanks, I do… IIRC, they’re a good site for spoilers for upcoming releases.
Laughing my ass off: https://www.youtube.com/watch?v=4cLO0bcz2oM
:‘-D
@murad@twtxt.net Yes things do work 🤣
@murad@twtxt.net Welcome to Yarn.social / Twtxt 🥳 You might want to fiddle a bit with your settings, maybe a nice avatar, description, maybe a few links, etc 😃
I took the day off to get some stuff done around the house, but I wound up spending most of the day making #Dune-themed proxies for #Magic.
I had hoped to print them out for tomorrow night’s games, but I’m up to 20 cards and 20+ tokens, so… we’ll have to wait and see what tomorrow brings.
Here’s a couple to share and enjoy:


@itsericwoodward@itsericwoodward.com Dropped you en Email 📧
@prologic@twtxt.net Sure, I’m curious to see what you’re offering.
My email is hey (at) itsericwoodward.com.
@itsericwoodward@itsericwoodward.com Can I count you in as a potential customer then? I’ll find a way to DM and share details with you. But rest assured it’ll have everything you could possibly want 😅
@prologic@twtxt.net Potentially, depending on the features supported / hardware used.
I’ve long wished for an appliance (like a video game console) that hosts my essential services - email, shared files, social media, etc. - but which “just runs” in a box behind the TV.
So what do you have in mind? 🤔
@david@daiwei.me I’ll DM you 😅
@david@daiwei.me Haha 🤣
@creeper@twtpub.com Hey ! 👋 Welcome to Yarn.social / Twtxt 🤗
And just like that Problem 10 is done and correct whoohoo 🥳 It was easy because in Problem 7 I’d already written an iterator to produce infinite primes. So the solution for finding the sum of primes under 2,000,000 is basically (shortened):
primes := iter.take_while(iter.filter(prime_candidates(), is_prime), fn(p) { p < n })
print(iter.sum(primes))
And of course the answer is: 142913828922 which took ~21.ss for the Go Vm to compuete.
What’s interesting here… Which is the interesting thing about Mu is the dual runtime. So the above solution for Euler Problem 9 finds the solution in ~429ms with the Go VM and ~327ms natively compiled to darwin/arm64. Not bad for a language I haven’t really done any optimization work on yet (correctness first obviously).
Oh man wow 😮 Problem 9 was quite hard 😱 I had to build two new functions in the Mu stdlib for computing combinations and permutations, but then the combinations of range(1000) for triples such as a + b == c is enormous! So i had to write iterator versions of these to do lazy evaluation. Anyway solution follows:
#!/usr/bin/env mu
// Special Pythagorean Triplet
import "iter"
fn usage() {
print("Usage:", args()[0], "<n>")
}
fn sqr(x) { x * x }
fn main() {
if len(args()) < 2 {
usage()
exit(1)
}
n := must(int(args()[1]))
print("n:", n)
// For a < b < c and a + b + c == n, both a and b are strictly less
// than n/2. Generate only (a,b) combinations and derive c directly. This
// keeps the search lazy and reduces n=1000 from C(999,3) = 165,668,499
// candidate triples to C(499,2) = 124,251 candidate pairs.
pairs := iter.combinations(iter.range(1, n / 2), 2)
triples := iter.map(pairs, fn(xs) {
a := xs[0]
b := xs[1]
return [a, b, n - a - b]
})
// Enforce b < c; a < b is already guaranteed by combinations over an
// increasing range, and a + b + c == n holds by construction.
triples = iter.filter(triples, fn(xs) {
return xs[1] < xs[2]
})
// Euler 9 has one answer for n=1000. find() stops the entire upstream
// iterator chain as soon as the first Pythagorean triple is found.
answer := iter.find(triples, fn(xs) {
return sqr(xs[0]) + sqr(xs[1]) == sqr(xs[2])
})
print(answer)
if answer != nil {
print(answer[0] * answer[1] * answer[2])
}
}
main()
It is such a nice feeling that Mu is such a capable little language 😅 And I decided to write code code in Mu by hand 🤚 haha 🤣 and start solving Project Euler problems, like Problem 8 which works out to be a nice elegant solution in Mu:
#!/usr/bin/env mu
// Largest Product in a Series
import "fp"
import "sys"
fn usage() {
print("Usage: cat |", args()[0], "<n>")
}
fn products(xs) {
return fp.reduce(xs, 1, fn(x, y) {
if y == nil {
return x
}
return x * y
})
}
fn main() {
if len(args()) < 2 {
usage()
exit(1)
}
s := must(sys.read_all(0))
if len(s) == 0 {
usage()
exit(1)
}
n := must(int(args()[1]))
r := fp.max(fp.map(fp.sliding(fp.map(s, int), n), products))
print(r)
}
main()
@arne@uplegger.eu Schade um diese ganzen Giganten. Das wird uns zukünftig öfters blühen.
@arne@uplegger.eu Achso, klasse Atlas, dieser Copernicus-Browser! Danke, kannte ich noch nicht.
@arne@uplegger.eu Also von da oben sieht das meiner Auffassung nach wirklich hübsch aus, da kann man echt nichts sagen. Mir gefällt’s prächtig. Gut, wenn man dieser Brühe dann auf Meereshöhe begegnet, ist das sicherlich ‘ne andere Sache.
@david@daiwei.me Haha, what a funny price, 1234 cents!
@david@daiwei.me Next year, apparently, but less spectacular. 🤔
@lyse@lyse.isobeef.org Nice! Oh yes, observing the sun is exhausting, it’s always so hot. And for not using a tripod, these shots are pretty good!
@anth@a.9srv.net Haha 😆
@brytboi@twtpub.com I hope you’re seeing my replies because you absolutely can scroll up in the app. Let me know if you’ve run into a bug though and report it to me so I can fix it immediately!
@brytboi@twtpub.com no a subset of markdown is fully supported by the app!
@prologic@twtxt.net Oh no, i’m pretty sure if devrel or sales from one of these companies ever called me, my end if the conversation would be much better summarized by this: http://txtpunk.com/foac
@brytboi@twtpub.com I mean you can, technically. But most clients won’t render Javascript or HTML fragments at all. Only Markdown, Text, Images and Links.
@brytboi@twtpub.com Hey! 👋 Welcome to Yarn.social / Twtxt 🤗
@david@daiwei.me Please report any logs from the Javascript console if you can. It’s possible the one commit I made to the Swag framework might be the culprit here. Not sure.
@anth@a.9srv.net Where’s the other side of this? Your side? 🤔
@lyse@lyse.isobeef.org You are correct, 👍, however, not what I was thinking in this case. More of just a reminder/nudge.
Yum, yum, yum. @david@daiwei.me, I’d absolutely love to taste your exploded kebab! It looks fantastic, my mouth is watering.
@movq@www.uninformativ.de Hell yeah, this is awesome! Great shots!
When I checked at the beginning, the sun was already way behind the trees. I then decided to wait until the end before leaving the house and melting in direct sunlight at 31°C. At the hill, there were around 15 people in camping chairs and on picnic rugs. Some dragged out their camera gear as well.
My first two photos were through the eclipse glasses. In contrast to others, I didn’t bring my tripod and just used a tree as a crappy makeshift one. With the large zoom it’s impossible to keep it still for one second (what my cam decided to be the exposure time). Leaning the camera against the side of the tree is just not good enough.
@thecanine@twtxt.net Hahaha, I never came across the term slopsmith before. :‘-D

Transcript of a phone call with AI developer relations: http://a.9srv.net/b/ai-devrel
During sunset: 
Solar eclipse: https://movq.de/v/25e6071e0c/
@prologic@twtxt.net I could be very wrong – wouldn’t be the first time – weren’t push notifications part of the evil things to avoid? :-? Anyway, happy hacking!
@prologic@twtxt.net Happy Ekka Wednesday! I’d loved to have a day off, too, but was slaving away.
@david@daiwei.me broken how? wiring here
@david@daiwei.me Do you mind re-testing too with the updates i just pushed out? 🙏
Testinf image upload fixes…
Testing image upload fixes 🙏
@GabesArcade@gabesarcade.com Not sure if @mariam@twtpub.com will ever see or respond to our welcomes tbh 😢 I caught the new user trying out the Twtxt App 4 days too left 🤦♂️ – I think I need to make some improvements to the app, some nudges, something to encourage users to stick around? Maybe some periodic push notifications? 🤔
@mariam@twtpub.com Hey! 👋 Welcome to Yarn.social / Twtxt 🤗
