In-reply-to » Even after fixing yesterday's mail server TLS certificate renewal incident (main hostname was not included) my KMail did not want to receive e-mails anymore. I had to restart Akonadi now in order to make this work again. I really should look at mutt one day.

@movq@www.uninformativ.de Okay, cool. :-) Iā€™ll look at Mutt this year. I have the feeling I might like it after some initial pain.

ā¤‹ Read More
In-reply-to » @prologic Which one? I don't mind the ternary operator at all. In fact, I often find myself missing it in Go. I don't find the two alternatives particularly elegant:

@lyse@lyse.isobeef.org The one in question is more like the javascript version for unwrapping errors when accessing methods.

 const value = some?.deeply?.nested?.object?.value

but for handling errors returned by methods. So if you wanted to chain a bunch of function calls together and if any error return immediately. It would be something like this:

b:= SomeAPIWithErrorsInAllCalls()
b.DoThing1() ?
b.DoThing2() ?

// Though its not in the threads I assume one could do like this to chain.
b.Chain1()?.Chain2()?.End()?

I am however infavor of having a sort of ternary ? in go.

PS. @prologic@twtxt.net for some reason this is eating my response without throwing an error :( I assume it has something to do with the CSRF. Can i not have multiple tabs open with yarn?

ā¤‹ Read More
In-reply-to » Even after fixing yesterday's mail server TLS certificate renewal incident (main hostname was not included) my KMail did not want to receive e-mails anymore. I had to restart Akonadi now in order to make this work again. I really should look at mutt one day.

@lyse@lyse.isobeef.org Mutt, since ā€¦ 2008, I think. šŸ˜…

ā¤‹ Read More
In-reply-to » The impossible happened, and I actually drew something, second month in a row. Wanted to try drawing him standing, with some semblance of correct anatomy, without heavily referencing someone elses drawing, bring back the collar, darker "hair" and separate every different color, with a black line - for some kind of a more simplified look. Media

@thecanine@twtxt.net Itā€™s always nice to look at your creations.

ā¤‹ Read More

The impossible happened, and I actually drew something, second month in a row. Wanted to try drawing him standing, with some semblance of correct anatomy, without heavily referencing someone elses drawing, bring back the collar, darker ā€œhairā€ and separate every different color, with a black line - for some kind of a more simplified look.

ā¤‹ Read More
In-reply-to » Second power outage since this morning! yeeeey šŸ„³ I'm not mad at all ... not even a little bit. might end up throwing a monitor out tha window for sports, but no, it doesn't mean that I'm mad... Nooooo, we're all Gucci over here šŸ§Ÿ

Oh yeah, @aelaraji@aelaraji.com, electrostatic cat fur to the rescue! :-D

ā¤‹ Read More
In-reply-to » Second power outage since this morning! yeeeey šŸ„³ I'm not mad at all ... not even a little bit. might end up throwing a monitor out tha window for sports, but no, it doesn't mean that I'm mad... Nooooo, we're all Gucci over here šŸ§Ÿ

@lyse@lyse.isobeef.org would it work wit cats instead? there has been a whole flock of them in the neighborhood the last couple of days, one female and a gazillion males taking turns šŸ˜… ā€¦ at least theyā€™d be good for something other than their non-stop after midnight opera šŸ˜‚

ā¤‹ Read More
In-reply-to » My take on the discussion to introduce an ? operator in Go šŸ‘ˆ No. For so many reasons.

@prologic@twtxt.net Which one? I donā€™t mind the ternary operator at all. In fact, I often find myself missing it in Go. I donā€™t find the two alternatives particularly elegant:

foo := "eggs"
if bar {
    foo = "spam"
}

Or:

var foo string
if bar {
    foo = "spam"
} else {
    foo = "eggs"
}

To my eye, this just would look a lot nicer:

foo := bar ? "spam" : "eggs"

Or at least as the Pythons do it:

foo = "spam" if bar else "eggs"

The ternary operator especially shines with relatively short expressions.

ā¤‹ Read More
In-reply-to » Heute fahren wir auffe Arbeit ein groƟen Update fĆ¼r das CMS der zentralen Webseiten. Hoffentlich geht das alles gut. šŸ˜±

@arne@uplegger.eu Ohjemine, TYPO3! O_o Lass mich schreiend davonlaufen!

Mit dieser absoluten Katastrophensoftware vor dem Herrn haben wir mal ein Studienprojekt gemacht. Die hat alle Vorurteile komplett Ć¼bererfĆ¼llt. Angefangen von Fehlerseiten, die statt 4xx oder dergleichen immer mit HTTP 200 ausgeliefert wurden oder auch, dass das generierte HTML leider einfach ungĆ¼ltig war. Ɯber die Implementierung von Lƶschen durch einen Deleted-Schalter in der Datenbank, das Speichern von Passwƶrtern im Klartext bis hin zu vƶllig umstƤndlichen Bedienungskonzepten. Alles hat immer brutal viele Schritte gebraucht. Das Zeilennummernrumgeeier im TYPO-Script erinnerte eher an Basic. Uns kam es auch so vor, als ob man damit nicht ernsthaft was sinnvolles machen kƶnnte.

Zu allem Ɯberfluss hatte irgendwer noch ein ganz hundsmiserables Buch ausgegraben, das als Vorbereitung dienen sollte. Ich kann mich zum GlĆ¼ck weder an den Titel noch den Autor erinnern, aber ich weiƟ noch, wie das komplett inkonsistent geschrieben war. Anfangs gabs mehrere Seiten zu Unicode und UTF-8 wurde angepriesen, aber alle Beispiele haben dann auf ISO-8859-1 gesetzt. Gezeigter Beispielcode war hƤufig unterste Schublade. Selten hab ich so merkwĆ¼rdige ErklƤrungen gelesen: ā€žWenn Sie die Sicherheitswarnhinweise stƶren, kommentieren Sie doch bitte im Quelltext die die()-Funktion in $ZEILE aus.ā€œ Oder ein anderer Klassiker: ā€žAusgeschrieben wĆ¼rde der Code wohl folgendes tunā€¦ā€œ. War sich der Autor also nicht ganz sicher, ob sein Codeschnipsel vllt. doch in Wahrheit was ganz anderes tut.

Seit diesem gigantischen Trauma (das hat mich wirklich sehr nachhaltig geprƤgt, wie man Dinge nicht machen sollte) hab ich erfolgreich einen Bogen um das TYPO3-Universum gemacht.

Ich kann nur hoffen, dass es zwischenzeitlich ein wenig besser geworden ist. Aber Deinem Kurzbericht zufolge scheint da ja immer noch der Wurm drin zu sein. Mein Beileid! :-(

ā¤‹ Read More
In-reply-to » Even after fixing yesterday's mail server TLS certificate renewal incident (main hostname was not included) my KMail did not want to receive e-mails anymore. I had to restart Akonadi now in order to make this work again. I really should look at mutt one day.

@movq@www.uninformativ.de Thatā€™s an interesting setup! What MUA do you use?

ā¤‹ Read More
In-reply-to » Second power outage since this morning! yeeeey šŸ„³ I'm not mad at all ... not even a little bit. might end up throwing a monitor out tha window for sports, but no, it doesn't mean that I'm mad... Nooooo, we're all Gucci over here šŸ§Ÿ

Rats! @aelaraji@aelaraji.com, you need an emergency hamster and a wheel attached to a bicycle dynamoā€¦

Fingers crossed that this doesnā€™t happen a third time today.

ā¤‹ Read More
In-reply-to » @lyse FWIW, Iā€™ve been using Martin Lambersā€™ mpop/msmtp for ages now without issues: https://marlam.de/

@prologic@twtxt.net Hmm, my workflow looks like this:

  • My public server receives mail.
  • Either my desktop PC or my laptop fetches new mail (via mpop) into a maildir.
  • That maildir gets synced to other machines via unison (I used Git for that purpose for 13 years, unison is a bit faster).

Sending mail works similarly:

  • One of my machines sends mail (via msmtp) and stores it in the maildir.
  • unison syncs that to other machines.

What I like about that is that I donā€™t have to keep the mail files on my server. If my server crashes (never happened so far), I can upload a new blank OpenBSD image and use config management to set it up. I actually donā€™t make backups of my mailserver/webserver. šŸ˜…

Regarding IMAP, well, I donā€™t actively dislike it (other than our server at work being very, very slow, but thatā€™s probably not IMAPā€™s fault). Itā€™s more that I donā€™t have a need for it. šŸ¤”

ā¤‹ Read More
In-reply-to » I want to propose my own counter-proposal to the discussion that's ongoing with Go and error handling.

If people just wrote error free code to begin with, there would be no need for error handling! :-P

No, honestly, I donā€™t think that there is anything wrong with the current approach. I donā€™t see any wins of any of the proposals Iā€™ve come across.

ā¤‹ Read More

PS: Please forgive me. Iā€™m just being a really grumpy bastarda the last couple of days. Iā€™m really not having a lot of fun this past week šŸ˜¢

ā¤‹ Read More
In-reply-to » I want to propose my own counter-proposal to the discussion that's ongoing with Go and error handling.

@xuu@txt.sour.is And youā€™re right, it only really saves a single line. I think Iā€™ve even commented on a similar discussion a few years ago as well where I showed concretely the abrustdity of the community wanting to change this. If I recall, the whole pattern of:

if err != nil {
    ...
}

basically accounts for <1-3% of your codebase in the first place.

The entire thing (fuss) is really just pathetic IMO.

ā¤‹ Read More
In-reply-to » I want to propose my own counter-proposal to the discussion that's ongoing with Go and error handling.

@xuu@txt.sour.is Iā€™m not necessarily saying it is to be bluntly honest. But itā€™s far better than this ? garbage. I donā€™t want to be rude, but honestly wtf is wrong with people and making languages harder to read?! šŸ¤¦ā€ā™‚ļø

ā¤‹ Read More
In-reply-to » I want to propose my own counter-proposal to the discussion that's ongoing with Go and error handling.

hmm this would convert down to:

var f os.File
if f, e = os.Open("foo.txt"); e != nil {
    log.Fatal("error opening file; %s", e)
}

im not sure if its much better.

ā¤‹ Read More

Second power outage since this morning! yeeeey šŸ„³ Iā€™m not mad at all ā€¦ not even a little bit. might end up throwing a monitor out tha window for sports, but no, it doesnā€™t mean that Iā€™m madā€¦ Nooooo, weā€™re all Gucci over here šŸ§Ÿ

ā¤‹ Read More
In-reply-to » Just leaving this book here for no reason šŸ¤«

The purpose of this paper is to characterize simple sabotage, to outline its possible effects, and to present suggestions for inciting and executing it.

Sabotage varies from highly technical coup de main acts that require detailed planning and the use of specially-trained operatives, to innumerable simple acts which the ordinary individual citizen-saboteur can perform. This paper is primarily concerned with the latter type. Simple sabotage does not require specially prepared tools or equipment; it is executed by an ordinary citizen who may or may not act individually and without the necessity for active connection with an organized group; and it is carried out in such a way as to involve a minimum danger of injury, detection, and reprisal.

ā¤‹ Read More
In-reply-to » @aelaraji oooh databag looks cool

yes it is! although, Iā€™ve only used it to send files and links back and fourth between devices xD none of my relatives wanted to give it a try, which is kinda fair enough (I wouldnā€™t use WhatsApp if they asked) xD

ā¤‹ Read More
In-reply-to » @prologic Or databag self-hosted on a RaspberryPi you can throw on a corner of your basement (or a small vps if one is willing to pay for threema) and never look back. The hardest part is getting others to at least test anything other than the already mainstream apps.

@doesnm.p.psf.lt@doesnm.p.psf.lt Huh? šŸ¤” Iā€™m curious to what other features youā€™d want from a messaging app! Also, you can easily send in a couple of feature requests, the dev is pretty receptive šŸ‘Œ

ā¤‹ Read More
In-reply-to » OpenAI Says It Has Evidence DeepSeek Used Its Model To Train Competitor OpenAI says it has evidence suggesting Chinese AI startup DeepSeek used its proprietary models to train a competing open-source system through "distillation," a technique where smaller models learn from larger ones' outputs.

So glad I decided to move my projectā€™s off GitHub šŸ¤£

ā¤‹ Read More
In-reply-to » OpenAI Says It Has Evidence DeepSeek Used Its Model To Train Competitor OpenAI says it has evidence suggesting Chinese AI startup DeepSeek used its proprietary models to train a competing open-source system through "distillation," a technique where smaller models learn from larger ones' outputs.

Oh the ****ing irony šŸ¤£ with all the IP infringement AI models usually do, and the companies are like ā€œnothing to see hereā€!

ā¤‹ Read More
In-reply-to » Even after fixing yesterday's mail server TLS certificate renewal incident (main hostname was not included) my KMail did not want to receive e-mails anymore. I had to restart Akonadi now in order to make this work again. I really should look at mutt one day.

@lyse@lyse.isobeef.org FWIW, Iā€™ve been using Martin Lambersā€™ mpop/msmtp for ages now without issues: https://marlam.de/

Iā€™m not a fan of IMAP (I donā€™t want my server to create/keep data), but at work I use isync: https://isync.sourceforge.io/

ā¤‹ Read More
In-reply-to » My take on the discussion to introduce an ? operator in Go šŸ‘ˆ No. For so many reasons.

@kat@yarn.girlonthemoon.xyz You mean the ? as suffix for boolean returning functions or as ternary operator (condition ? true_value : false_value)?

Interestingly, I just had to look up the first case. I was under the wrong impression that the question mark at the end would be some shortcut for chained function or method calls that handles nil return values in a graceful way without actually dereferencing and thus crashing. I probably never wrote more than 30Ā lines of Ruby in my entire life. Must have been some other language.

ā¤‹ Read More

Even after fixing yesterdayā€™s mail server TLS certificate renewal incident (main hostname was not included) my KMail did not want to receive e-mails anymore. I had to restart Akonadi now in order to make this work again. I really should look at mutt one day.

ā¤‹ Read More
In-reply-to » i upgraded my pc from lubuntu 22.04 to 24.04 yesterday and i was like "surely there is no way this will go smoothly" but no it somehow did. like i didn't take a backup i just said fuck it and upgraded and it WORKED?!?! i mean i had some driver issues but it wasn't too bad to fix. wild

@kat@yarn.girlonthemoon.xyz Do you use a config management system like Ansible or BundleWrap on your servers? (bw is our in-house solution, we started it around the same time as Ansible.)

ā¤‹ Read More