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 11 months ago
Breakout out of the cruft of crap that React has left in my mind and attempting to embrace the "hypermedia approach" is kinda hard and difficult but very interesting. I asked, how to do multipage in DataStar? And the dude replied, "use <a> tags." And im like ... fuck. XD Like, I realize how dumb that was, but this is the kinda shit that I dealt with in React; Routers, global versus component states and what have you not. o.o It's... something.
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
It just hit me. DataStar can deal with WebComponents natively. Now shit's getting seriously interesting. :0 Never really looked into those, for sure. o.o
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
I think I dug myself into something neat. o.o Finished reading the DataStar docs, and gonna see if I can make a tiny nostr message displayer; just poke a relay with a k:1 query and see how far it goes ^^ With Go's native parallelism and my disgust for frontend dev, this could become a nice middleground...it also has much surperior SEO, ontop of that o.o Currently looking into page transistions and more... could become neat. Or not. idk yet. But - I kinda like where this "hypermedia focused framework" thing is going.
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
Alright. Time to read this. templ has native bindings to this library - and while I like the features of htmx and alpine, I do want to check out ALL the options first and if i even need everything. I'll use matcha.css and some of the color palette tools I found... i just hope to find a better way to postprocess CSS, because matcha.css uses CSS variables and inline functions /so much/ im legit worried for browser compatibility x.x
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
My school wants a project where I generate PDFs. So this seemed like a great opportunity to try out templ to write everything in go. Untill I realized that there is no good PDF generator for go. pdfcpu is verbose as fuck (more a rendering library than anything) and unipdf/unidoc has a fucking license you have to BUY. I am so frustrated, I am thinking of using stdin/stdout methodology and just run PHP as a subprocess, because this exists: I swear, PHP. The old friggin' reliable. xD Never thought I'd see the day. For f'kn real. Just needs mbstring and gd - easy. Good god. I know Go is ran over by kubernetes people (like, a lot xD) but that those folks can't generate a PDF, not even to show numbers to their boss, is kinda impressive. XD Well, okay, they CAN - but i am not gonna sit down and learn a whole 2D library JUST for a school project. @.@
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
"Aged like fine wine"? Nah, not really. They just gave up. XD image
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
Using `bun compile --bundle ...` to target node and bundle, using `esbuild` to change es6 to es5 (kind of, should probably use babel?) using goja + goja_nodejs to run the result. Yep, that's quite a nightmare alright. But I wanna try running something... xD Would be fun! Goja isn't "the fastest", but it might just be "enough" o.o
Ingwie Phoenix (aka. birb)'s avatar
IngwiePhoenix 11 months ago
Man... i wish there were more standalone CSS tools. Tailwind has one, and thats neat, but I am genuenly trying to get _away_ from Tailwind. xD Just doesn't work for me, my limited vision and the therefore resulting lack of "visual understanding". In other words; shit's not lookin' so good for me - literally. But it appears that Goja, a go JS runtime, can run es5.1 stuff. Perhaps...just maybe...there's an absurd hack i can do to use postcss and then chain that into esbuild? : ( )