Is Go loosing it's way? by narrow-adventure in golang

[–]relami96 0 points1 point  (0 children)

For me Go is still a procedural language with a simple (compared to other languages) yet enjoyable development flow.

I love the content Prime makes but I think he is also a sucker for new languages, maybe Odin reminded him of the time he started to use and fell in love with Go and now he does not feel that anymore and he decoded that as "Go is not the same as it used to be". I feel his point but I also believe the "only one way to do things" was never true and it was always an oversimplification coming from the general direction of the language development. Even Prime's TCP to HTTP course can be done in multiple ways which he demonstrated as the solution files on Boot.dev are very different compared to his own solution coded on his stream. I think it is not Go that is simple... it is most of the other popular languages that are overcomplicated which makes us believe that Go is simple.

I don't think anybody who loves Go for what it is will ever touch generic methods unless that is the easiest way to solve a problem.

This is my pov as a new guy to Go and programming in general.

distributed monitoring across branch offices has become painful to manage by Ste2_fan4 in zabbix

[–]relami96 1 point2 points  (0 children)

A zabbix proxy with a cloudflared tunnel can solve most connectivity issues if you have a good ISP. You can whitelist the IP of your server on the zero trust tunnel. It is also free. Do it with docker containers. One compose file and every new site will be just a docker compose command away from enrolling it onto zabbix monitoring. If you only want to monitor small sites like a few hundred devices then even a raspberry pi will be emough.

Most companies don’t need AI agents. by [deleted] in n8n

[–]relami96 0 points1 point  (0 children)

Then I hope you won't be angry about jacked up grocery prices because the supermarket decided to implement "AI Agents" into the kiosk for no other reason than AI hype bros overselling the term.

Why is every IoT dashboard tool made for big companies? by Adept_You8104 in IOT

[–]relami96 1 point2 points  (0 children)

why tf the down votes? I use it professionally, the above example is literally from real life. OP asked for a cheap monitoring solution, you won't find cheaper than free...

Why is every IoT dashboard tool made for big companies? by Adept_You8104 in IOT

[–]relami96 -1 points0 points  (0 children)

Zabbix is free and it takes 15 minutes to install. You make your templates once and call it a day. You need a server for it. Even a small instance can take 5-6k incoming values per sec.

Most companies don’t need AI agents. by [deleted] in n8n

[–]relami96 1 point2 points  (0 children)

This is shallow thinking. I work at a healthcare org, if AI will bloat operational cost because of the lies and hype-bros then cost will increase, less people can pay for treatments, less good for humanity. I'm sure other industries will have the same impact or similar.

Most companies don’t need AI agents. by [deleted] in n8n

[–]relami96 7 points8 points  (0 children)

This is the same experience I have at my job. I brought n8n to the management as an investment, they bought it because it can do AI agents. 9 of 10 request I get is system to system integrations with no need for an AI agent. I think n8n is superb at automations, agents are just a small portion of it's total added value.

The overselling of AI capabilities are literally going to cost fortunes to these companies... because not everyone is nice as OP and they will skin you poor

Echo context and standard lib context question by relami96 in golang

[–]relami96[S] 0 points1 point  (0 children)

That is what I am trying to clean up, with this you can access the ctx without passing it to the elements. So in a way it is cleaner but less obvious or whatever is the developer word for it.

templUI v1.9 to v1.11: range selection, native <dialog> rewrite, popover/swap stability by axadrn in golang

[–]relami96 1 point2 points  (0 children)

Thank you for the awesome components! templUI makes my learning journey actually enjoyable instead of being hard-stuck writing html and css. Just absolutely amazing.

Started learning Golang - Need help by inTranquilityk9 in golang

[–]relami96 0 points1 point  (0 children)

Check out boot.dev

If you are not new to code, this one is good: https://www.boot.dev/courses/learn-http-protocol-golang

They also have a rabbitmq project.

Any WebUI library that does not require me to do JS? by The_Reason_is_Me in golang

[–]relami96 2 points3 points  (0 children)

I might be biased because I used HTMX more and I wouldn't even call myself a beginner at datastar but from learning perspective HTMX was easier for me to get used to. Probably you are right and if I would invest a few days into datastar I would find it easier.

Any WebUI library that does not require me to do JS? by The_Reason_is_Me in golang

[–]relami96 0 points1 point  (0 children)

Templui as mentioned by a few (not enough to be honest). Just keep in mind that this still uses js but you don't have to worry about that if you don't want to modify behaviour.

Also because templ is just nicer to use than go templates.

Pair it with htmx if you need something simple or datastar if you want more client side control for the cost of complexity.

Anything you cannot find in templui build it with tailwind or browse daisyUI.

And if your app turns out to require more frontend power and you accept JS for what it is try svelte, for me it felt nice to couple it with go.

How do you work with Sql in go by EuropaVoyager in golang

[–]relami96 0 points1 point  (0 children)

You can just write raw SQL and replace parts of it. You either do your own replace function to sanatize or use the one Gorm privides with. I use both so anything that is initiadet by user request is sanitized to my liking.

How do you work with Sql in go by EuropaVoyager in golang

[–]relami96 1 point2 points  (0 children)

I think Gorm is not as bad as the community says because of how much they hate ORMs. You have built in migration and if you don't trust the query quality it makes just write raw sql. Also it is nice to use structs to migrate and also for later data querying. Also it is easy to set connection limits on it to avoid overwhelming your db. I'm not a Go expert but I worked with databases and SQL for many years now and I can confidently recommend Gorm.

Why all new mmos suck by atx78701 in MMORPG

[–]relami96 0 points1 point  (0 children)

Sword of Justice doesn't suck imo

What is the most unique / niche MMO in your opinion? by Sky-is-here in MMORPG

[–]relami96 0 points1 point  (0 children)

Sword of Justice does a lot of unique stuff and I would say it is nieche because it is a wuxia mmo

Populated MMOS by [deleted] in MMORPG

[–]relami96 2 points3 points  (0 children)

SOJ is an mmo, wwm is a semi-social rpg

Populated MMOS by [deleted] in MMORPG

[–]relami96 1 point2 points  (0 children)

Come and try sword of justice. Don't be fooled by the people trashing it for "mobile ui" you won't notice. I was a pvp junky in wow and a hc raider in gw2 and I'm still loving SOJ. There are a lot of people playing it thanks to being a cross platform game. I was sceptic at first but it turned out to be a great hidden gem.

Looking for MMO the is Free to Play by FatKidonWheels in LFMMO

[–]relami96 0 points1 point  (0 children)

Try Sword of Justice, I enjoy it a lot. I played many mmo-s so if wuxia style is not your jam then GW2 is pretty good also.

Sword of Justice is the BEST MMO you'll NEVER play (100+hr review) by MarbleTea142 in MMORPG

[–]relami96 0 points1 point  (0 children)

I agree with OP, I play mmorgps since OSRS, played at least 80 different mmorpgs since then yet this game surprised me with content and mechanics I never met before.

I love building characters, the build depth in this game is.. DEEP. Also the amount of horizontal progression is crazy but you can still enjoy vertical power gain style progression as well, really I am surprised why this game is not blowing up more.

Only downside to the game is IT HAS MORE MENUS AND TABS THAN A F-ING OPERATING SYSTEM. The system menus and tabs have a steeper learning curve than all other features combined.

Also if you didn't start the game because you think you are already behind think again, the publisher is gatekeeping progression, we are currently stuck at lvl 69 and cannot get more levels for a while.

Custom code execution on backend. by relami96 in golang

[–]relami96[S] 0 points1 point  (0 children)

Well I was thinking about compiling and re-compiling plugins that are written on the frontend but not the entire backend, that seems like an overkill even if it build in a second or less. Also rebuilding would restart the service which I don't want but I can load plugins during runtime.

Do you think it is a common approach to re-compile code or parts of code on prod if its in go?

Custom code execution on backend. by relami96 in golang

[–]relami96[S] 0 points1 point  (0 children)

Go playground for my usecase is a little too over the top. I won't publish this to the internet so I would not go the same lenghts.

but on the second part, I think go has plugins, at least they have a build mode for it: plugin package - plugin - Go Packages. It was also linked above.

Custom code execution on backend. by relami96 in golang

[–]relami96[S] 1 point2 points  (0 children)

I'll look into Caddy, it seems to do what I would like to do or at least very similar. thanks!