@arne@uplegger.eu Jepp, sehr gute Wahl! :-)
@xuu@txt.sour.is I think I also ran into CSRF problems with multiple open yarnd tabs in the past.
@xuu@txt.sour.is Ah, it was JS then. Thanks. :-)
@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.
@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?
@movq@www.uninformativ.de Fingers crossed! :-)
@thecanine@twtxt.net Itâs always nice to look at your creations.
Oh yeah, @aelaraji@aelaraji.com, electrostatic cat fur to the rescue! :-D
@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 đ
?
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.
@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! :-(
@movq@www.uninformativ.de Thatâs an interesting setup! What MUA do you use?
@movq@www.uninformativ.de So, the building renovation finally started?
@skinshafi@thunix.net âđđ«đ»đ«
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.
@arne@uplegger.eu Manchmal HASSE ich TYPO3! đ©
@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 đ
@arne@uplegger.eu Operation geglĂŒckt, Patient tot - oder so. Die nĂ€chsten Tage dann die AufrĂ€umarbeiten. đ
@arne@uplegger.eu Hahaha! :-D
?
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.
@kat@yarn.girlonthemoon.xyz Haha, I see. :-)
@arne@uplegger.eu Und los geht die wilde Fahrt!
?
operator in Go đ No. For so many reasons.
@lyse@lyse.isobeef.org one time i saw that operator when working with ruby on rails and i was so confused by it that i got stuck on the same code involving it for 9 hours straight
@lyse@lyse.isobeef.org oh yeah i forgot to mention i changed the domain to pinktape lol! sorry about that! https://pinktape.girlonthemoon.xyz/
@movq@www.uninformativ.de yeah i get so nervous doing version upgrades, this is technically my first time not doing it as a fresh install from a live USB, so iâm glad this went smoothly lol. scared to try it for my servers though!
@Prologic@twtxt.net Threema states the findings of that security research are all plugged. Still reading on it. Truth is that my family is difficult to get away from WhatsApp. And yes, I plan to buy them a license key.
@Prologic@twtxt.net Looking at Threema because it is European with servers in Switzerland and it has GDPR conformity, among some other reasons.
@lyse@lyse.isobeef.org âSommer ist der schönste Tag im Nordenâ. :D
@arne@uplegger.eu Eis im Januar, ja sapperlott, ist denn schon wieder Sommer im hohen Norden!?
@kat@yarn.girlonthemoon.xyz Something is broken with the TLS:
$ curl https://remix.girlonthemoon.xyz
curl: (35) error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error
?
operator in Go đ No. For so many reasons.
@prologic@twtxt.net I donât like it either. Too much magic, that only works in certain cases.
@arne@uplegger.eu Whoop! Whoop! Es klappt!
@aelaraji@aelaraji.com oooh databag looks cool
@prologic@twtxt.net part fun part exhausting lol!
@lukas@lukasthiel.de Willkommen bei Twtxt! đ
Danke an @arne@uplegger.eu, der mich hier in einen komplett neuen Kosmos gebracht hat! Ich bin gespannt!
@prologic@twtxt.net Believe me, Iâve yapped on twtxt in the last couple of moths more than I did anywhere else within the past +5 years in all other platforms together. đ€Ł Here, is the only place I can be myself which I have all of you to thank for.
@prologic@twtxt.net 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.
@prologic@twtxt.net Haha, easy just crop it! [TW] đ
@prologic@twtxt.net I believe @andros@twtxt.andros.dev is referring to the one on the original twtxt docs . Iâve been meaning to contribute to the discussion on the git but Iâm just lazy đ
amma throw in a little something in a minute Poke a bee hive and run away style
đ
Skill Issues
of course, but that's going away next as soon as I get my php-fpm shi_ together.
@prologic@twtxt.net Iâd stumbled upon #FrankenPHP while reading through #Caddy stuff and thought maybe itâs bit overkill for what i need it for but then again, it will be just a âOne container in for two outâ, thatâs win in my book đ
@kat@yarn.girlonthemoon.xyz franz von stuck is one of my fave artists and i was so delighted to see one of his pieces displayed in person but i got separated from my family when i saw it and just barely got a pic before my sister dragged me back to follow them away T__T next time i will see if the met has more of his art⊠https://remix.girlonthemoon.xyz/u/accendio/m/franz-von-stuck-inferno-1908/
@prologic@twtxt.net i hope all corpo AI dies slow and expensive deaths
@aelaraji@aelaraji.com FUCK YEAH CADDY
Skill Issues
of course, but that's going away next as soon as I get my php-fpm shi_ together.
@doesnm.p.psf.lt@doesnm.p.psf.lt yes, thatâs what I did while testing things out on locally but Timeline
kept freaking out on me. Iâm still RTFMing trying to wrap my head around the rewrites and such.
@doesnm@doesnm.p.psf.lt Threema is also known to be crippled to state actors and the five eyes. It has known crypto protocol weaknesses that can leak metadata.
@movq@www.uninformativ.de No, I donât think so. But I just looked it up. And yes, that sounds a bit creepy. I certainly heard similar calls, maybe it even was a heron. I donât know.
@lyse@lyse.isobeef.org Ohh, I love them. Ever heard one calling? Pure dinosaur vibes.
@sorenpeter@darch.dk Thanks mate, I got really lucky with this one. :-)