søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

marado (ciberlandia.pt)

This Friday the 4th is #alternateFridayMusic and the cue is:

#sillySeason 🎄

This means different things in different countries, but in Australia, it means December 1 til Jan 2nd. Nothing of note gets done, everyone is going to xmas parties, drinking, eating and hitting the beach.

I could probably pick a song reflecting the Silly Season as it is seen in Portugal - much the same description in terms of nothing getting done, parties, food, drinks and beach, only it happens in August. But then the description of today's topic continues:

Xmas is a notoriously bad time for music:

but it doesn't have to be that way

Share your best Xmas songs and if time allows I'll put together a mix tape so that you can personally save Xmas by taking control of the music and making it cool, not cheesy.

Let's go! 💪🎉

And... well, that sounds a better challenge for a day where no sun was seen, and the max temperature was 7ºC!

As it happens, last year I participated with #kokori in a compilation named 25.12 with the season as a theme, so this prompt is a good time to do some shameless plug and invite you to listen to that track:

kokori - Midwinter Bridge v25.12 🌉

https://anti-demos-cracia.bandcamp.com/track/kokori-midwinter-bridge-v2512

In reply to: #117728916794289015 1 day ago
lyse (lyse.isobeef.org)

Mates, awk is so fantastic! I just cobbled this together to get an overview of all my table test cases for a certain Go function:

awk '/^func/ { p=0 } /^func TestValidateCustomFields/ { p=1 } /name:/ { if (p) { sub(/^\s+name:\s+"/, ""); sub(/",$/, ""); print } }' registration_test.go

The structure is like this:

func TestValidateCustomFields(t *testing.T) {
    for _, tt := range []struct {
        name string
        …
    }{
       {
           name: "<test description>",
           …
       },
       …
    } {
       t.Run(tt.name, func(t *testing.T) {
           …
       })
    }
}

It's so handy, I should make an alias for this.

Read replies 1 day ago
movq (www.uninformativ.de)

@david

I assume the lower numbers on the result means doing much better on second and third day, than on first, right? Go, go, go!

No, they’re just the puzzle results. You get a problem description and some input data, then you write a program that works on that input. The program output is usually a number, sometimes a string, and that’s the puzzle result that you enter on the webpage. When it’s correct, then you get a star and it unlocks part 2 of the puzzle.

There are no competitive elements (anymore). You’re just given an interesting puzzle, and then it’s up to you how you want to solve it. So, it’s a good idea to come up with your own set of rules to spice things up a little bit. Otherwise it can get a bit boring/repetitive over the years.

In reply to: #uujmlxjbpifu 2 days ago
movq (www.uninformativ.de)

Me: “Can we increase the quality of ticket descriptions? Like, can we please have 2-3 sentences at the very top that are straight to the point? State your intention/goal/wish clearly?”

[an hour into the discussion]

Me: “Do you even read the tickets that your agent creates … ?”

Them: “LOL, NO!”

Read replies 2 weeks ago
movq (www.uninformativ.de)

The (only?) reason for having a Netflix subscription at the moment:

https://movq.de/v/ed5a513ba6/flix.webp

Read replies 1 month ago
JasonSanta (jasonsanta.xyz)

@david I don't self host my email. When I tried it out once I used luke smiths email script and it was fine.

In reply to: #fa5ksqo7hq3m 1 month ago
movq (www.uninformativ.de)

Just some light Sunday afternoon entertainment: Printing from NetBSD on the dotmatrix printer by dumping data to /dev/ulpt0. The netbook doesn’t have a parallel port, so this must be done over USB. NetBSD.escp was created by a little custom ESC/P converter written in C. 🥳

https://movq.de/v/14b09c47a5/print-small.mp4

Video description:

Video begins with a view of the netbook’s screen: 3 windows are open, one of them showing the typical NetBSD logo to print, the other one shows the commands I ran in preparation:

magick /usr/X11R7/include/X11/pixmaps/NetBSD.xpm -depth 8 -alpha set /tmp/NetBSD.pam
./pam2escp /tmp/NetBSD.pam /tmp/NetBSD.escp

The other terminal shows a root shell with this command:

cat /tmp/NetBSD.escp >/dev/ulpt0

I hit Enter, the printer starts printing.

Camera pans to show the printer, an Oki ML 3390. Continuous paper. Once finished, I manually feed the paper a little bit to better show the result.

(If you turn up the volume enough, you can hear “Leaving” by “Chill Carrier” from 2008.)

Read replies 2 months ago
prologic (twtxt.net)

@movq I am seriously rethinking and re-contemplating building a new Git forge of some description that avoids all of these stupid problems that we're now seeing in the wild

In reply to: #vwhciheont4d 3 months ago
prologic (twtxt.net)

@fossham I hope you enjoy it 😅 You might want to update your Avatar and Description at some point in your settings 👌

In reply to: #5bi4bbnjc7jx 3 months ago
prologic (twtxt.net)

@murad 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 😃

Read replies 3 months ago
Reply via email