@movq@www.uninformativ.de The light pollution map reports red for my town. Thatâs fairly accurate, Iâd say. The view from home is not all that great. Yeah, I can see Ursa Major and a bunch of other stars. Maybe even some satellites. But thereâs definitely a sky glow at the horizon.
When I leave town, I can see a bit more. However, it doesnât compare to the alps or even some rural parts in Australia. The latter was by far the craziest Iâve ever seen in my life. Looked like a space telescope photo in person. Soooooooooooooo many stars and the band of the milky way was easily visible to the naked eye. Up until then, I didnât even know this was remotely possible down on earth. Absolutely stunning. :-)
@twtxt.net@twtxt.net Octal 31 = Decimal 25
@johanbove@johanbove.info Ours also inlcudes the streaming portal https://www.filmfriend.de
Itâs nice to watch some arthaus and off main stream movies.
@sorenpeter@darch.dk It depends on your requirements. If you just want to put your code somewhere for yourself, simply push it over SSH on a server and call it good. Thatâs what I do with lots of repos. If you want an additional web UI for read access for the public, cgit comes to mind (a mate uses that). Prologic runs Gitea, which offers heaps more functionality like merge requests.
@jost@jost.sdfeu.org Hello jost!
@prologic@twtxt.net Go just moved back to second place. :-)
@movq@www.uninformativ.de Nice! I would have missed the plane if you hadnât pointed it out. :-) Venus is very visible these days. When a mate and I went on a night walk during clear sky this week, the night sky looked really great, it was easy to spot the second planet. We got lucky, ISS just passed above our heads, too. Most of the week, it was cloudy, though.
@movq@www.uninformativ.de Hahaha, thatâs a good one! :-D I came across this one before, but couldnât remember the answer.
@prologic@twtxt.net Iâm gonna give you a hint: Octal, decimal. đ
@movq@www.uninformativ.de That is a good one! It took me 15 minutes to get it. đ€
@movq@www.uninformativ.de Nice, at first my brain went assignment versus equality, but then after a sip of coffee I got it.
@prologic@twtxt.net Sorry to hear that.
@prologic@twtxt.net In the EU there are Laws, Rules and Regulations for many things. Iâm not an expert, but your case may sound like it could match to the EU Digital Services Act.
[âŠ] for example, the obligation to establish points of contact for authorities and citizens [âŠ]
@prologic@twtxt.net Yes, C has it. I even thought that C invented it, but it seems to stem from CPL.
The closest to get to if expressions at the moment is to use a lambda:
foo := func() {
if bar {
return "spam"
}
return "eggs"
}()
But thatâs also not elegant at all.
@arne@uplegger.eu Auweia! WĂ€râs da nicht sinnvoller, von dem Ding möglichst zĂŒgig wegzukommen? Ich hab keine Ahnung, was es da heutzutage so an tauglichen Alternativen gibt. Aber selbst alles selber zu bauen, wĂ€r da ja mittelfristig weniger aufwĂ€ndig, wenn man das mit dem stĂ€ndigen Zusammenkehren der Scherbenhaufen vergleicht.
@lyse@lyse.isobeef.org Es ist immer noch so Ă€hnlich. Da kommen so viele verschiedene Ebenen innerhalb und auĂerhalb der TYPO3-Umgebung zusammen, dass man sich wundert.
Und die TYPO3-Core-Entwickler nehmen gefĂŒhlt jeden fancy Shice mit, den sie gerade finden. Das reiĂt dann immer wieder Prozesse ein oder es muss ein gigantischer Aufwand betrieben werden, damit âgrundlegendeâ Funktionen wieder hergestellt werden.
In den Kommentaren ist dann immer nur zu lesen âTja, Pech. Gibtâs nicht mehr. Sei froh, dass wir âne undokumentierte Schnittstelle dazu im Code versteckt haben. Bauâs dir selbst.â
Und der OpenSource-Gedanke ist bei einigen Erweiterungen (die als Quasi-Standard gelten) auch nur noch zu erahnen. Da mĂŒssen teilweise Abos abgeschlossen werden, damit einige Funktionen genutzt werden können.
Es wird auf jeden Fall nie langweilig.
@thecanine@twtxt.net Thatâs one of the cool properties, you can use it at whatever frequency you like.
@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!