Powermanagement issues

Always when my Thinkpad X13 Gen1 is unplugged, I get power management issues (I think) . The laptop then freezes and makes sometimes a tut-toot-tutely-toot sound.

I have installed CPUFriend and CPUFriendDataProvider.

I generated the CPUFriendDataProvider.kext with CPUFriendFriend and also generated and installed a ssd_data.aml and some IOPlatformPowerProfile.

Here the ssd_data.dsl:

https://pastebin.com/5CcfSi10

And the IOPlatformPowerProfile:

https://pastebin.com/8CrYpETP

Any what could be wrong with these?

reddit.com
u/Electronic_Bad_2046 — 4 hours ago

Kubernetes completions for labels

Does anyone know good fish shell completions with Kubernetes labels support, that work with the already integrated completions for Kubernetes?

I mean if you say

`kubectl get pods -l app=myapp`

to have autocomplete.

Thanks :D

reddit.com
u/Electronic_Bad_2046 — 9 days ago

How to prepare a Hackintosh in a way, that it accepts signed packages from Microsoft with Team ID UBF8T346G9?

I downloaded MS Teams from microsoft.com and it's signed, but my hackintosh cannot use the Team ID in the package not matching the Team ID somehow in the hackintosh.

It's about the library /Applications/Microsoft Teams.app/Contents/Frameworks/OneAuth.framework/Versions/A/OneAuth,

it cannot load load the MS Teams app because it violates against the Team ID. There must be something wrong in my hackintosh. What can I do?

reddit.com
u/Electronic_Bad_2046 — 19 days ago

How can I find out why my hackintosh crashes?

My hackintosh crashes sometimes with a Tut-Tut-Tut-Sound.

I don't know what that can be. There is nothing in the opencore-*.txt log, because MacOS starts. How can I see in MacOS why it crashed?

I guess it's something memory address related or similar.

reddit.com
u/Electronic_Bad_2046 — 28 days ago

Deppenapostroph oder warum schreibt mein Mac immer E-Mails mit Großbuchstaben am Anfang?

Ich weiß, US-System, aber auf der anderen Seite ist German - Standard als Sprachoption eingestellt. Weiß jemand, wie man auf dem Mac diese Sprachoption behalten kann, aber dennoch in Mail, Mails immer mit kleinem Buchstaben beginnen kann? (Nach der Anrede).

Oder sollte wir in Deutschland mal einführen, dass man das auch groß schreiben kann?

reddit.com
u/Electronic_Bad_2046 — 1 month ago

Gibt's die Funktion schon?

Wenn ich auf bahn.de eine Verbindung suche, kann ich dann nur die ICE/IC/EC Strecken als Preis angezeigt bekommen, wenn ich ein D-Ticket habe?

u/Electronic_Bad_2046 — 1 month ago
▲ 0 r/golang

Vendoring broken

HI,

I have a golang project (kubebuilder Kubernetes Operator) and I wanted to ask, why my Golang packages vendoring is broken.

I get the message:

0.138 go: inconsistent vendoring in /workspace:
0.138   github.com/onsi/ginkgo/v2@v2.32.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

Ginkgo is defined in modules.txt as:

# github.com/onsi/ginkgo/v2 v2.32.0
## explicit; go 1.25.0
github.com/onsi/ginkgo/v2
github.com/onsi/ginkgo/v2/config
github.com/onsi/ginkgo/v2/formatter
github.com/onsi/ginkgo/v2/ginkgo
github.com/onsi/ginkgo/v2/ginkgo/automaxprocs
github.com/onsi/ginkgo/v2/ginkgo/build
github.com/onsi/ginkgo/v2/ginkgo/command
github.com/onsi/ginkgo/v2/ginkgo/generators
github.com/onsi/ginkgo/v2/ginkgo/internal
github.com/onsi/ginkgo/v2/ginkgo/labels
github.com/onsi/ginkgo/v2/ginkgo/outline
github.com/onsi/ginkgo/v2/ginkgo/run
github.com/onsi/ginkgo/v2/ginkgo/unfocus
github.com/onsi/ginkgo/v2/ginkgo/watch
github.com/onsi/ginkgo/v2/internal
github.com/onsi/ginkgo/v2/internal/global
github.com/onsi/ginkgo/v2/internal/interrupt_handler
github.com/onsi/ginkgo/v2/internal/parallel_support
github.com/onsi/ginkgo/v2/internal/reporters
github.com/onsi/ginkgo/v2/internal/testingtproxy
github.com/onsi/ginkgo/v2/reporters
github.com/onsi/ginkgo/v2/types

It it is defined as explicit. What's wrong here?

reddit.com
u/Electronic_Bad_2046 — 1 month ago
▲ 4 r/kubebuilder+2 crossposts

Authenticating Git for HTTPS and PAT

How do I do that?

I have

docker-build: 
## Build docker image with the manager.
    
DOCKER_BUILDKIT=1 $(CONTAINER_TOOL) build --secret id=gh_token,env=GH_TOKEN -t ${IMG} .  

in my Makefile and

ENV GOPRIVATE=github.com/user/*
RUN echo "machine github.com" > ~/.netrc
RUN echo "login user" >> ~/.netrc
RUN --mount=type=secret,id=gh_token echo "password $(cat /run/secrets/gh_token)" >> ~/.netrc  

in my Dockerfile, but I still get

fatal: could not read Username for 'https://github.com': terminal prompts disabled

What can I do?

u/Electronic_Bad_2046 — 1 month ago

Kubernetes Kustomize question regarding coding (Go)

Hi,

I have a question regarding coding in Go for Kubernetes automation. It's about teasing in Kubebuilder and Go, basically, and I have the problem that I'm looking for the info object about a resource.

I have the code

typedObj, err := scheme.Scheme.ConvertToVersion(info.Object, info.Mapping.GroupVersionKind.GroupVersion())

which should give me the typed object of a resource, but I have looked around the Krusty repo/project for kustomize, but I don't find any possibility how to extract info

Any ideas or hints?

How in the Kubernetes ecosystem can I access info?

I have the baseline code

kOpts := krusty.MakeDefaultOptions()
kOpts.PluginConfig = kustomize_types.EnabledPluginConfig(kustomize_types.BploUndefined)
kOpts.PluginConfig.HelmConfig.Command = "helm"
k := krusty.MakeKustomizer(kOpts)
m, err := k.Run(filesys.FileSystemOrOnDisk{}, filepath.Join(paths...)) // type ResMap, type error

I want to read CRDs from the filesystem, so I need the m object for k.Run().

Any ideas? Anyone at least knows how I can extract the info from the Kubernetes ecosystem by some functionality with some key?

reddit.com
u/Electronic_Bad_2046 — 2 months ago

Staub

Mein Schreibtisch sieht aus voller Staub, da dort mein Rechner steht und der irgendwie durch viel Benutzung, viel Staub anzieht. Der Prozessor schaltet dann viel und erzeugt elektromagnetische Strahlung, was den Staub anzieht.

Ist das interessant?

reddit.com
u/Electronic_Bad_2046 — 2 months ago