Ingwie Phoenix (aka. birb)'s avatar
Ingwie Phoenix (aka. birb)
ingwie@birb.it
npub1tcek...jmky
[ENG/GER] NOT a bitcoiner/stacker/maxi. I am here to have a damn good time! Rabbithole conniseur; I enjoy random stuff. :D Ex-Furry, (close to) blind, hobby developer/sysadmin, waifu enjoyer, long hair fetish (#hairjob). I sometimes talk about NSFW stuff; because fucking is fun =) (DMs always open.)
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
1. I read "Devin" instead of "Dave" 2. What are the odds. XD image
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
GM! Today is mid-term exam. I am moderately nervous - no "stage freight" or anything just a little...giddy. Because I will shorten my apprenticeship towards the end, by this time next year, I should finally be done. Oh god I can't wait till it's over... parked some beer in my fridge for later too.
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
Only JavaScript developers would come up with this stuff... image bruh.
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
What if you ...wanted to write code! But your body said ...horni. I swear, sometimes, it genuenly sucks to be a dude e.e fuuuuuuck
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
So who still believes that the Musketier is devoted to free speech? xD Quite smart of Erdogan to sneak this in like this - hardly anyone seems to be paying attention to this due to all the Trumpletier shenanigans. View quoted note → ...why the "-tier" names? One smells and reeks of bullshit. The other stomps around like an elephant in a porcelan shop. o.o
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
Can someone ping the #NoStrudel dev? forgot who it was ._. So, basically: image Why? NIP-05 is plain HTTP, not DNS. Why does this error mention DNS? o.o
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
Looked at TeamSpeak today. Man has it fallen from grace. Like, a lot. xD
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
So I just spent some (WAY too much...) time looking at the Yii 1.x API (.../framework/base) and it's components and thinking how I would do those in Go. Some of the interfaces are almost straight copies, but some of the actual components - like CCache, IUserIdentity, IWebUser - are a little different. So instead of doing _everything_ myself, I went and looked at AuthBoss and some other libraries. Honestly, having sat here for a while now, it isn't actually unthinkable to do this...which is SHOCKING. xD At least to me...lemme hab mah lil world. uwu So I think I will just ... do it. Yii, on the frontpage, reads as "Yes, it is!" - so my version is nii: "No, it isn't!". - No, it isn't a good idea to write a Go application this way... - No, it isn't a modern approach to things - it's literally MVCC from 2010... - No, it isn't the most performant; in fact, it might be genuenly slow especially on startup since I use reflect to build the router off of your controller's Action*()-methods, kebab-casing them and going from there. Its nasty, okay. xD - No, it isn't going to change the world. Although I use components with either a good reputation or ongoing maintenance, it is a hobby project and a stupid one ontop. - No, it isn't for everyone. This is largely for the idiots - of which I am one, mind you - that could never mentally move on/out of the bubble they were in. If you liked MVC, then you might like this project. Using templ, htmx and a few other tricks, I plan on leaning on the Yii 1.x API in parts, but change it into proper Go-isms where it makes sense (return error instead of bool in many instances). Oh and you bet I am making sure there is a Nostr integration somewhere in this LMAO XD I am just dicking around...but, also, kinda not. I want to see how far this can go, or if it even should go. But here I am - partially stuck in the past, partially excited about the future and somewhere inbetween a giganerd who's just like, "amma do it cuz uwu" XD
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
fuckfuckfuckfuckfuck I am reading Yii 1.x docs again and not just do I see where I had oversights back in the days about the things I did... No, I am realizing that using gorilla/mux, I could feasibly re-implement certain things from Yii, in Go. xD Oh god help me I can't stop thinking about this. I might just commit and do it and never EVER use it - because it sounds so wrong ...but it feels so good... aaaaaaa X-X
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 9 months ago
I just looked at a bunch of libraries that do dependency injection in Go. Previously, I knew this concept from PHP where your request responders would get additional function parameters to do stuff based off of what the router did before and I was highly skeptical if Go could really do that. ... turns out, it can. And, I genuenly like the approach taken: Might have to re-think how I do certain stuff. But for now, my biggest "worry" is how to optimize HTMX rendering. Like, I do not want to re-render an entire page if I don't have to, so I am trying to see what the dude behind templ thinks. There is a GH discussion about fragments and registering those to the context and then just rendering out the specific component fragment. I feel like something is happening in my dev-mind and it will need time to brew. But once it is done brewing, I should have a pretty neat and nice stack - for both Nostr things and my own personal stuff (like the Dragon's Inn...which will also use Nostr, because I am lazy xD). Ah... it feels good to be in the swing of dev stuff again. ^-^