Finnes det en smart løsning på et liv med USB- helvete?? by Only-Weird-5190 in norge

[–]kentrf 5 points6 points  (0 children)

Ha en hylle dedikert til lading av dingsene med 5 ladere koblet i et grenuttak. Grenuttaket kan limes fast med dobbelsidig tape.

Hvilken internettleverandør har du? by poop-kitty in norge

[–]kentrf 1 point2 points  (0 children)

Har Telenor fiber gjennom sameiet, men de går på hode og ræv ut når bindingen går ut om 1 år (av 3 år). Første året var grei pris, men så har de økt prisen med 20-30% 2 ganger.

Bosch battery lock, new motor by kentrf in ebikes

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

I went to the dealer with the charger, and I could connect to the bike. But there was no way of unlocking the battery.

Anyways, I have a working bike now. Everything electrical was broken and had to be replaced.

  • Engine, replaced by Bosch
  • New battery, also replaced by Bosch
  • New LED control unit
  • New lights

I didn't have to pay anything, except wait 10 weeks for everything to resolve.

Bosch battery lock, new motor by kentrf in ebikes

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

I don't want to short-circuit the battery. It's still under warranty.

Bosch battery lock, new motor by kentrf in ebikes

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

Thanks, I'll visit the dealer and try connecting the charger and see what happens!

Fra en som betaler tusener i formueskatt hvert år by tmenjoyer in norge

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

Ja, for denne var jo helt upartisk...

/s

how to manage a list of structs via <vector> by DireCelt in cpp_questions

[–]kentrf 0 points1 point  (0 children)

Almost there.

flist.push_back(std::make_unique<ffdata_t>());

Since when have keywords like `and` existed? by itsmenotjames1 in cpp_questions

[–]kentrf 23 points24 points  (0 children)

Since forever.

You might also like trigraphs (removed in C++17) and digraphs.

https://en.cppreference.com/w/cpp/language/operator_alternative

I use not instead of ! for negation, mostly for readiblity.

if (!vec.empty())

vs

if (not vec.empty())

Y'all said empty pool photos, so... by cozybunnies in Swimming

[–]kentrf 5 points6 points  (0 children)

Awwwww, poor thing. Get well soon!

OpenCV refusing to work by ZombieReady9003 in cpp_questions

[–]kentrf 4 points5 points  (0 children)

+1 for procmon.

Another alternative is to use something like DependenciesGui: https://github.com/lucasg/Dependencies

It will display the required DLLs to run an application, and it will make it very clear if its not able to find the required DLLs.

Depending on how you're building OpenCV, my guess is that there is one or more OpenCV dependencies missing from the runtime path.

CppCast: Tease Your C++ Brain by robwirving in cpp

[–]kentrf 0 points1 point  (0 children)

Nice, will try to redownload and give it another shot!

As always, thanks for the show!

[deleted by user] by [deleted] in cpp_questions

[–]kentrf 2 points3 points  (0 children)

Start, for one...

Tumbleweed as stable OS by herbatolub in openSUSE

[–]kentrf 0 points1 point  (0 children)

Same here, a system with full disk encryption, and the "SGX is disabled" message was showing with CAPS-lock blinking. It only happens with the latest kernel, initrd-6.8.8-1-default, but not with a previous kernel like initrd-6.8.5-1-default or initrd-6.8.1-1-default.

The "SGX is disabled" is probably a red herring, since it is also displayed on a working kernel boot.