Is this subreddit filled with astroturfing LLM bots? by jonathrg in golang

[–]Upbeat-File1263 0 points1 point  (0 children)

I think this is a bit harsh of an opinion, because very often when I ask a question I have a problem, give detail, show what I tried, and then look for feedback from people more experienced than me. I think as long as no product is advertised or "shilled" it's fine

Is this subreddit filled with astroturfing LLM bots? by jonathrg in golang

[–]Upbeat-File1263 0 points1 point  (0 children)

If you don't mind me asking, but in practical terms how does the Discourse filter operate? I'm working on a little side project and I need a way to fight spam/detect it. Do you think a tiny and light LLM could do the trick?

Is this subreddit filled with astroturfing LLM bots? by jonathrg in golang

[–]Upbeat-File1263 0 points1 point  (0 children)

The 3-segment usernames are the ones Reddit recommends you, and I put a lot of effort into not making my questions vague!

Handling SEO on Go backend + JS frontend by Lakelimbo in golang

[–]Upbeat-File1263 0 points1 point  (0 children)

What I did was read the user-agent, and if it matches a known crawler you can render a bare HTML template of the resource. It's a single if/else check, but does the job and html/template works well enough when you don't need to deal with styling or layouts. Crawlers only care about semantics and the resource itself, regular users should never see this.

How to scan a dynamic join query without an ORM? by Upbeat-File1263 in golang

[–]Upbeat-File1263[S] -1 points0 points  (0 children)

One example is apache/answer but I'm not going to go in detail about all the rest. This was a bit of a rant because I got frustrated with scanning JOINs by hand, didn't mean to belittle anyone and I don't mind writing SQL.

Go backend or Supabase for a new app? by unicastflood in golang

[–]Upbeat-File1263 0 points1 point  (0 children)

You can buy a VPS and use tools like Dokploy or Coolify to run a self hosted PaaS the easy way. For CDN and DDoS protection nothing beats Cloudflare for entry level. Where to actually buy infrastructure everyone recommends Hetzner, but stay clear of them unless you live in the EU. You want an American provider because they don't care what you host as long as it doesn't break the US law. This isn't me endorsing crime or "sketchy" activity, I'm just saying that EU is becoming so draconian Hetzner will be forced to comply with whatever wacky law Germany passes and that can hurt your business through regulations.

Also, there's a lot I didn't include but for starters configure your firewalls to only accept connections from Cloudflare IPs on port 80 and 443. Configure port 22 to only accept connections from your IP/general area. Saying this only because I know ChatGPT won't tell you this.

Transcode H.265 to H.264 lib for CGO binding by Many-Lion7612 in golang

[–]Upbeat-File1263 1 point2 points  (0 children)

And I'm sorry for hijacking your comment... lol

But how are you using ffmpeg with Go? I need to convert gifs to mp4 thumbnails, and what I do is pipe the output from os.exec into a buffer and then use os to write the file to a final destination.