auto-epp-go is a program that manages the energy performance preferences (EPP) of your #AMD CPU using the AMD-Pstate driver. It adjusts the EPP settings based on whether your system is running on AC or battery power, helping optimize power consumption and performance.
https://github.com/tfkhdyt/auto-epp-go
This project is a rewrite of the original Python version [auto-epp](https://github.com/jothi-prasath/auto-epp) in #Golang, aiming to improve memory efficiency and overall performance.
#FOSS #Linux #ryzen #pstate #Golang #amd
@appliedgo Additional note regarding blogposts etc: using the hashtag #golang (like I just did) is fine and will make the article findable.
Hey hey! Last week I was a guest host at GopherCon UK 2023. Here's a little review of the conference! #golang
Link: https://www.jaminologist.com/gophercon-uk-2023-the-ultimate-review-were-so-back/
If I wanted to roll out a small single sign on solution for a team of < 10 users, to replace a bunch of htaccess-protected resources, would you recommend Ory, Authelia or Casdoor? And why?
I’d like to keep things simple, but also still maintained in 5 years from now :)
(I’d prefer a #golang implementation over something like Keycloak for resource usage and familiarity.)
@danielquinn if you use cobra, you don’t have to write sub commands. You can just pass everything to root. And it gives you bash completions out of the box.
It’s not great that autocompletions aren’t provided by #golang directly, but given all the different shell flavors one might use or attempt to support, it makes sense why it’s not.
So I have been looking at #golang v1.21, and while I like the slog package in principle, it really annoys me that there is no way to get a new slog Logger *that I can specify the underlying log.Logger for*.
It seems I have to implement a complete slog.Handler myself, which is six miles of code I don't really want to do anything different (than the default slog.Logger), except using a newly-created log.Logger (with a different flag bitset). Am I missing something?
I may have been a _little_ release happy with my rss reader project. 22 releases in *checks watch* three weeks.
It's proving to be a nice distraction for an overly busy brain. Programming is generally relaxing for me because it engages me so fully that those other thoughts can't get a look in.
#Golang #htmx #googlereader #RSS #rssole
Golang dependency management is __fucked__. Right now something called "spacemonkey" is fucking me over because maybe I have the wrong version of OpenSSL? The github issue on their repo says to downgrade to Ubuntu 20. Bitch I'm on mac. #golang #dependency #management is #fucked
#Golang #dependency #management #fucked
#gopls v0.13.0 will be released next week. See what is coming.🎁🕊️
https://github.com/golang/tools/releases/tag/gopls%2Fv0.13.0-pre.3
Please give it a try and give us feedback. :blobaww:
#Golang forces me to slow down and think about what I'm trying to do. Its brevity is a healthy constraint that I don't get from other languages like #charp or #javascript.
Writing unit tests for #code where the original #developer didn't consider testability is painful! Because now they have to refactor a bunch of code so it is testable. TDD isn't about writing tests first and the implementation second. It's about being proactive and intentional in your implementation and code quality.
#Golang #tdd #redgreenrefactor #Developer #Code