???
Every time I think “perhaps I should give Golang another try”, it’s shit like this that keeps me noping out
Every time I think “perhaps I should give Golang another try”, it’s shit like this that keeps me noping out
I run two local physical servers, one production and one dev (and a third prod2 kept in case of a prod1 failure), and two remote production/backup servers all running Proxmox, and two VPSs. Most apps are dockerised inside LXC containers (on Proxmox) or just docker on Ubuntu (VPSs). Each of the three locations runs a Synology NAS in addition to the server. Backups run automatically, and I manually run apt updates on everything each weekend with a single ansible playbook. Every host runs a little golang program that exposes the memory and disk use percent as a JSON endpoint, and I use two instances of Uptime Kuma (one local, and one on fly.io) to monitor all of those with keywords. So - weekly: 10 minutes to run the update playbook, and I usually ssh into the VPS’s, have a look at the Fail2Ban stats and reboot them if needed. I also look at each of the Proxmox GUIs to check the backs have been working as expected. Monthly: stop the local prod machine and switch to the prod2 machine (from backups) for a few days. Probably 30 minutes each way, most of it waiting for backups. From time to time (if I hear of a security update), but generally every three months: Look through my container versions and see if I want to update them. They’re on docker compose so the steps are just backup the LXC, docker down, pull, up - probs 5 minutes per container. Yearly: consider if I need to do operating systems - eg to Proxmox 8, or a new Debian or Ubuntu LTS Yearly: visit the remotes and have a proper check/clean up/updates
there’s a three character limit on community names for some reason. how about go_lang? or golang? and Go for the community name?
Backend: golang/python Frontend: js/ts Scripting: bash If i had to choose one it’d be go.
From @palkan: Learn how to temporarily stream verbose logs from your @golang applications without restarts and even without changing the application-level logging settings. https://evilmartians.com/chronicles/realtime-diagnostic-logging-or-how-to-really-spy-on-your-go-web-apps
Looking at it again, I’m guessing the part where sum.golang.org/lookup tries to query my behind-netbird server is why the lookup is failing. But is there a way to gave Go not rely on an external service like that? Or have it run the query locally instead of from the sum.golang.org server?
Lihat kiriman asli pada platform media sosial terkait.
Golangs web server is production grade and used in production. (Of course everyone uses some high performance proxy like NGINX for serving static pages, that’s another story.) Technically you are right that java has no production web server, which I don’t like, OTOH Java has standard APIs WebServers and Spring is the defacto standard for web applications. (I totally would not mind to move Spring into the OpenJDK.) My point is simple: Instead of having Rust edtion 2020, 2021 etc. and tweaking the syntax ad infinitum, I’d rather have a community which invests in a good/broad standard library and good tooling. The only platform widely used in production w/o a big standard library is Node.js/JavaScript, mostly for historical reasons and look at the problems that Node.js has for a decade now because of the missing standard library.
I think this https://github.com/golang/go/discussions/56413 is the discussion. Also an interesting read from Russ Cox: https://research.swtch.com/coro I’d like to add that in my perception you’re a little bit overreacting. I can’t say that I got the same impression that you apparently got from the first comment. To me it sounds as if it’s primarily about missing some depth and could use some more advanced examples - especially when compared to the post Russ Cox wrote 😅 no offense!
Lihat kiriman asli pada platform media sosial terkait.
Lihat kiriman asli pada platform media sosial terkait.
Cybersecurity researchers have uncovered a new botnet called Zergeca that’s capable of conducting distributed denial-of-service (DDoS) attacks. Written in Golang, the botnet is so named for its reference to a string named “ootheca” present in the command-and-control (C2) servers (“ootheca[.]pw” and “ootheca[.]top”). "Functionally, Zergeca is not just a typical DDoS botnet; besides supporting six
publicado de forma cruzada desde: https://slrpnk.net/post/10600535 GoToSocial is an ActivityPub social network server, written in Golang.
GoToSocial is an ActivityPub social network server, written in Golang.
Yeah. Putting my old man crankiness aside, for a moment, I adore goLang. GoLang is like having a youngest grandchild. It can do whatever it wants and I’ll praise it.
SQL generation: Golang’s builder pattern vs Clojure’s persistent map https://dev.to/veer66/sql-generation-builder-pattern-vs-persistent-map-1bfl I worked on a TODO code assignment for showing off my skills, and more importantly, showing my weak points. I coded in Golang and Masterminds/squirrel. Later, I ported only the SQL generation part to Clojure to compare and discuss why I prefer… #clojure #clj #cljs [email protected] @clojure
this is early testing phase. I have created and deployed a lemmy server and mattermost modules successfully and it works great. technical details: all this works via cloud instances kinda like architecture, i create a instance (container or vm based on software req) and launch automated scripts to setup everything so people don’t have to mess up working with insecure configurations. The backend api is golang and frontend is vuejs. I also have a WAF and security protocols to mitigate basic security flaws and botnet attacks. I need feedback on what our oss community surfers the most when hosting federated communities. business side: I dont intend to charge for things in testing phase cause all i need is good feedback but as the server demands grows i’ll be working with whatever you’ll be paying for private instance (idk like $2 a month ?). motivation: people use proprietary products cause they are already hosted and just avaiable. If we make this with oss products people will start using it. Making lemmy easy to setup will boost more community interaction and make lifes of current community mods easier :)
I’m looking for a programming language that can help me build a desktop application for Windows, macOS, and Linux that’s not big but not small either. Additionally, I’d like to be able to build a website with the same language. I’ve been considering Ruby, Python, Golang and JavaScript. Python seems to be mainly used for scripting and ai, so I’m not sure if it’s the best fit. JavaScript has a lot of negative opinions surrounding it, while Ruby sounds interesting. Can anyone recommend a language that meets my requirements?
I used to use and love miniflux, but then they migrated to Golang and PostgreSQL, neither which are supported by my shared hosting (namecheap). I use Freshrss now.
cross-posted from: https://discuss.online/post/8349829 Hello, We’re looking for GoLang contributors to help with the federation service. We’re happy to have people that contribute code or help with code reviews. If you know anyone or if you’re interested please reach out! Email: [email protected] Mastodon: https://utter.online/@sublinks Online form: https://sublinks.org/join_organization.html Thanks, jgrim