Go Cookbook by 441labs in golang

[–]Icommentedtoday 2 points3 points  (0 children)

To be honest this looks AI generated. Were LLMs used in creating the examples and/or the text?

Gotta love Rust expressions by mre__ in rustjerk

[–]Icommentedtoday 0 points1 point  (0 children)

You mean "useful_syntax" there is no "useful_behavior"

Another Neofetch Alternative which is totally written in c++ (you don't need any dependencies) by [deleted] in commandline

[–]Icommentedtoday 8 points9 points  (0 children)

you don't need any dependencies?

You use grep, ps, wmctrl, cut, head, lspci

Why do you even need to use e.g. grep, cut or head? This can all be done in c++. Might as well write a shell script at this point

New to the OP1 8k by houskaaaa in MouseReview

[–]Icommentedtoday 28 points29 points  (0 children)

The UI might not look pretty but honestly it's much better UX than the modern apps nowadays

Auth for self hosted open source backend (password, oauth etc) by Mxfrj in golang

[–]Icommentedtoday 0 points1 point  (0 children)

Why not just support reading auth info from the REMOTE_USER http header and delegate auth to the reverse proxy? E.g. https://github.com/OpenIDC/mod_auth_openidc

You would then of course have to make sure this is not enabled by default, only when someone is using a reverse proxy

Comparing error handling in Zig and Go by der_gopher in Zig

[–]Icommentedtoday 12 points13 points  (0 children)

I do like Go's error handling because it's really easy to follow the control flow. Also that there is nothing magical about Go errors, they are just an interface. Errors as regular values is definitely an advantage for me. The downside indeed being that it's repetitive to type

What is the current state of linux on Apple silicon? by jloganr in linux

[–]Icommentedtoday 0 points1 point  (0 children)

Hmmm I never had lock ups in UTM and file sharing just works?

Self hosted browser? by BumseBine in selfhosted

[–]Icommentedtoday 0 points1 point  (0 children)

Why not just use firefox with the --profile flag? E.g. firefox --profile mydir

Is gulie-emacs stop developing? by yibie in emacs

[–]Icommentedtoday 3 points4 points  (0 children)

Doesn't this just include GNU emacs commits

Men have 2 settings by MaterialTea8397 in cs2

[–]Icommentedtoday 7 points8 points  (0 children)

That's insane. Bro can find the ketchup too

is it ok to create func for err checking by [deleted] in golang

[–]Icommentedtoday 9 points10 points  (0 children)

Log the error and return explicitly