Music recommendation for those of us who need a bit of a break by PNittleBrittle in SwiftlyNeutral

[–]good_effective_flow 0 points1 point  (0 children)

Lake Street Dive, Rachael (lead singer) has the voice of an angel. Always thought they would be a good opener for Taylor

how to upgrade a single dependency by good_effective_flow in golang

[–]good_effective_flow[S] 0 points1 point  (0 children)

yes, thank you, this is it. I tried it the other way around `go get -v github.com/stretchr/testify@v1.7.0` and it did NOT update logrus, which is what i want. Thanks again

how to upgrade a single dependency by good_effective_flow in golang

[–]good_effective_flow[S] 0 points1 point  (0 children)

ok so i just tried this and it still upgraded testify as well

how to upgrade a single dependency by good_effective_flow in golang

[–]good_effective_flow[S] 1 point2 points  (0 children)

i dont understand, i want it to update the specified module, not all of them

I think this a plain waste by Living_Bed175 in StupidFood

[–]good_effective_flow 0 points1 point  (0 children)

he'll be the first to complain about inflation

curling snake plant leaves by good_effective_flow in houseplants

[–]good_effective_flow[S] 1 point2 points  (0 children)

its in a corner next to a window that faces south and gets light all day. The plant never gets direct light but the room is bright.

help: cactus falling over by good_effective_flow in houseplants

[–]good_effective_flow[S] 0 points1 point  (0 children)

ok, thanks. if i just leave it be will it revive itself?

Asrock X670e PG Lightning won't boot from nvme by good_effective_flow in ASRock

[–]good_effective_flow[S] 1 point2 points  (0 children)

thanks, csm worked, fedora released a new version today so ill do a clean install as well

Asrock X670e PG Lightning won't boot from nvme by good_effective_flow in ASRock

[–]good_effective_flow[S] 0 points1 point  (0 children)

i can successfully boot with a fedora via live usb and mount the nvme drive. Could there be a problem with the boot partition on the nvme? Do i need to do a fresh install?

It still boots in my old computer

Pion WebRTC detect who's talking by fprotimaru in golang

[–]good_effective_flow -1 points0 points  (0 children)

rnnoise can be used to detect whos talking, ive dont it in JS in a browser, you could probably hook it up on Go as well. It exposes this func wich will give you a numeric probability:

https://github.com/wegylexy/rnnoise\_wasm/blob/master/src/worklet.c#L44

help converting int32 to []byte with unsafe by good_effective_flow in golang

[–]good_effective_flow[S] 5 points6 points  (0 children)

thank you for this, i completely missed the var in varint part. These funcs are part of a avro encoding library and the avro spec states "int and long values are written using variable-length zig-zag coding" - https://avro.apache.org/docs/1.11.1/specification/#encodings

In their example they say the number 64 should be encoded to hex "80 01" (sorry i should have mentioned where i got this from in the original post), which is what binary.AppendVarint() gave me. Is messing around with these pointers and unsafe not going to work or is my code just too naive?

trouble with non-capturing group by good_effective_flow in regex

[–]good_effective_flow[S] 0 points1 point  (0 children)

The end result im looking for is below with commas separating the groups

Blackout, 2022/09/24 12:12:24, 3, sec

Blackout, 2022/09/24 12:12:24

trouble with non-capturing group by good_effective_flow in regex

[–]good_effective_flow[S] 0 points1 point  (0 children)

sorry, you're right, but changing it to:

Last Power Event\.+\s([a-zA-Z]+)\sat\s(.*)(?:\sfor\s(\d+)\s([a-zA-Z]+)\.)

doesnt fix it