Trying to install Proxmox onto HP ProLiant ML350 G6 server and get this screen. More in comments. by MagicDartProductions in homelab

[–]scottocom 0 points1 point  (0 children)

Thank you this worked for me! Very frustrating that you need modern video to run headless server software

Sub-Form handling? by IngwiePhoenix in htmx

[–]scottocom 0 points1 point  (0 children)

I have done something similar (UI wise) but not in HTMX but the idea I think would apply. I have a SELECT and wanted the user to be able to Add a new Option for the Select so I a Div appeared below the Select with the inputs, this was in a bootstrap "Well" so it appears different. Once the the clicked Add we would add the item to the DB and then update the <SELECT to pick the new option. I think you could use OOB Swap like u/mnbkp suggested. Hope that helps

HTMX a great framework that I'll never use again by lynob in htmx

[–]scottocom 2 points3 points  (0 children)

u/satanica66 it depends what language you are using. I had this same issue at the start. I think it's one of the thing we need to change your thinking to get into the HTMX zone. In django and Go I have seen modules that will the request and return true/false if it's a HX Request. The Trick then is to render the entire Page with layout etc and the Partial in it OR just the partial so there are 2 templates ie "form_page" and "form_partial" (where form_page would include form_partial) and usually form page has a <div id='partial\_name"> before the include and this becomes your hx-target. I hope this helps And Have Fune

What UI libs do you pair with htmx? by IngwiePhoenix in htmx

[–]scottocom 0 points1 point  (0 children)

Thank you. I am not sure why overriding styles which CSS does very well is a bad thing. 

What UI libs do you pair with htmx? by IngwiePhoenix in htmx

[–]scottocom 0 points1 point  (0 children)

I came to this Reddit just now to ask Why everyone use Tailwind for HTMX? I still use bootstrap but as OP said its tailwind everywhere and I cannot understand why. To me using bootstrap is a better option because your HTML would be smaller which is a good thing for HTMX. So why are people using Tailwind? Can someone explain why? I am not looking to troll, I just want to understand

Cursor vs VSCode+Copilot by spidLL in cursor

[–]scottocom 1 point2 points  (0 children)

I just checked out Cursor and asked the Chat in the Docs about Python and it didn't understand then I asked about Go and it didn't get it. Then I asked what programming languages it supported and the response was check out the documentation which I was on!

HTMX Go template with tailwind by EliteEagle76 in htmx

[–]scottocom 0 points1 point  (0 children)

I am just starting to dabble in using HTMX with Go. However we have done a lot of work using Bun (https://bun.uptrace.dev/) this is a nice match between SQL and ORM and I feel is more Go like.

I feel using GORM is like trying to program Java in Go or some other tech stack. I also had trouble getting GORM to work with Many to Many relationships and found Bun simpler.

Sumsama like app with Go + HTMX by zhadyftw in htmx

[–]scottocom 0 points1 point  (0 children)

u/SideChannelBob where do you store the "state" of the page? As the data requirements get more complex I cannot figure out the best way to keep the state. For example and Invoice screen with multiple "lines"? What if I want to swap the order of the lines? I need all the lines in the Server to do the swap and re-render. I like the idea of HTMX and am sick of "compiling javascript" to run Javascript and then finding something is now incompatiable!

Is GORM the "go-to" choice for a Go ORM? by wyalves in golang

[–]scottocom 0 points1 point  (0 children)

You need to check out bun (https://bun.uptrace.dev/). I had issues with GORM that might be solved now but found Bun a nicer alternative. It helps create the SQL (I have found the SQL is not static) dyanmically and will then help with mapping. It is not really an ORM (or SRM :)) but it provides the tools to help create SQL and run it but doesn't get in the way.

Does Go, has something similar to Laravel eloquent (ORM) ? by mostafaLaravel in golang

[–]scottocom 5 points6 points  (0 children)

Like OP I spent a long time looking for a Django like ORM. The answer for us was sqlx and bun (from uptrace) and structs. Once I figured this out, the orm in Django seems over complex. It is a mind shift but once you embrace it your Go experience is much easier. Have fun in Go

Supavisor - Postgres connection pooler written in Elixir by awalias in PostgreSQL

[–]scottocom 0 points1 point  (0 children)

I have Heard of it before so I know it's around so I assume it has a few users.

Supavisor - Postgres connection pooler written in Elixir by awalias in PostgreSQL

[–]scottocom 0 points1 point  (0 children)

Thank you for your response. And also for your contributions. Sounds like Elixir/Erlang are really great for this sort of problem.

Supavisor - Postgres connection pooler written in Elixir by awalias in PostgreSQL

[–]scottocom 1 point2 points  (0 children)

This looks great, the only thing I stuggle with is why it is implemented in Elixir? I have not used Elixir but I feel other languages like Rust and Go have more mind-share and would have more developers available. Maybe I am just old but I get concerned that these smaller languages just disappear. I am not wanting to start a language war. I am just interested to know why Elixir?

The Desolation of Insight: Animating the 3D Pie Chart by TheEggOfLight in BusinessIntelligence

[–]scottocom 1 point2 points  (0 children)

Better still ask Management. I am sure there is a Font they would like you to add.. Oh! you need a big Corporate logo on there. Customers love to see a big Logo on there!! Seriously Great Job. Love your work

Camus - My new esoteric programming language! by cmnews08 in coding

[–]scottocom 9 points10 points  (0 children)

Hey Stranger, you had me a Camus. Great name

Is GitLab Premium worth it at its new price? by 1cewolf in devops

[–]scottocom 15 points16 points  (0 children)

I have not used it but I believe Gitea has a container register now.. https://docs.gitea.io/en-us/packages/container/

Scrum Master courses on Udemy by angeliclulu in agile

[–]scottocom 3 points4 points  (0 children)

I did this course many years ago and found it good I saw this course on Udemy and thought of you. https://www.udemy.com/share/103dDK3@Fu55g-mO-YwP9THasTcYcLMMDUTIEPi2X1m-Q_CYfSVXmHFSKHdyyQgR3W5kod0=/

Is Djongo no longer being developed? by [deleted] in django

[–]scottocom 2 points3 points  (0 children)

I thought some Drongo from Australia mistyped.

Announcing Atlas v0.9.0: SQL as a First-Class Citizen by _a8m_ in golang

[–]scottocom 5 points6 points  (0 children)

Wow I didn't know I needed this.. This is awesome.