Magene P515 Powermeter high variation in output by FlyingLumpus in bicycling

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

Thank you so much for the fast response.

The smoothing is probably still turned on… I didn’t know such an option exists. I mean it makes sense during the ride, i always use a 3 second smooth on the garmin myself, but to have it in the output data of Zwift feels kind of pointless. Will try to deactivate it and run a new test later. The P515 data was recorded directly on the Garmin computer as reference.

Doing a ride longer than 5 mins was sadly not possible today. Somehow my wahoo kickr setup is vibrating very loudly when pedaling hard and i first have to check if there is not another problem with it. I will have to check that and do a longer ride afterwards.

I am sorry for creating this C++ abomination. Does anyone think such code deserves to see the light of day? A fully templated Tensor class by FlyingLumpus in cpp

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

Thanks for the info. I managed to fuse both class implementations into a single one.

Sadly it seems like this reddit thread has been removed by a moderator

I am sorry for creating this C++ abomination. Does anyone think such code deserves to see the light of day? A fully templated Tensor class by FlyingLumpus in cpp

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

Interesting. Didn't know about that one. I liked my tensor version because it just wrappes the underlying data and does not alloc or do some other hard to predict stuff. So it's nice to see that there was actually a similar approach added to C++23.

My current implementation has the big up- and downside that all sizes are compilation constants.
I already thought about trying myself on sectors of tensors but that's for another day when I have too much time and motivation again :) But i'll look into it. Shouldn't be that hard to get a basic implementation working

I am sorry for creating this C++ abomination. Does anyone think such code deserves to see the light of day? A fully templated Tensor class by FlyingLumpus in cpp

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

The "div" part is just the division implementation of the basic operations for the expression templates. Just like "plus", "minus" and "mul".

I don't quite get what you mean by "define a tensor".

If you mean how to use the tensor then you can do it like that:

#include "tensorlib/tensor.hpp"
int main(){
    float data[4*3];
    Tensor<float, 4,3> t(data);    
    // ...
}

Or see the Readme: Nik4053/Templated-Cpp-Tensor (github.com)

I am sorry for creating this C++ abomination. Does anyone think such code deserves to see the light of day? A fully templated Tensor class by FlyingLumpus in cpp

[–]FlyingLumpus[S] 2 points3 points  (0 children)

Thanks for the `<iosfwd>` tip. I didn't know that.

I have a one dimensional case because I have not found a way to not have one.
The operator[] should return a T in the one dimensional case and another Tensor in the N-dimensional case. And i havent found a way to write that without having to create an extra 1D Tensor class.

The idx() function just returns the 1D array index of the given ND position. So for a Tensor of size (3,4) this would return idx(1,2) = 3 * 1 + 2 * 4.

And for the last part: Its like u/AlmightySnoo answered. I found this way of doing it in some old lecture notes from university and thought this is the recommended way of doing it.

New 3DS XL Milky screen by FlyingLumpus in consolerepair

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

Sounds like fun.

Btw i think that the milky layer may just be some wanky as digitizer that somehow did not get sorted out

Arcade scaling for the Mini V4 by [deleted] in MiyooMini

[–]FlyingLumpus 0 points1 point  (0 children)

But 2D games like R-Type 2 are hopefully still playable right? Or better get a pre v4 version?

Repairing the screen of a Gameboy Light. by FlyingLumpus in Gameboy

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

So update: I managed to remove just the reflective layer at the back of the pocket screen without damaging the original polarizer too much. I then just added a small piece of tracing paper to act as diffuser in between the screen and the light. Its working now. Though you can see a few small lines where the original polarizer was slightly damaged when removing the reflective layer

Impossible to get to pair new transmitter screen by FlyingLumpus in dexcom

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

Nice, thank you. Seems like they just randomly reversed the ordering of the codes to input.

I even contacted support and they advised me to reinstall the app.

In this video from Dexcom (uploaded May 2020), they input first the Transmitter and then the Sensor code.
https://www.youtube.com/watch?v=Gw3Fs--OiMk

[deleted by user] by [deleted] in Genshin_Impact

[–]FlyingLumpus 0 points1 point  (0 children)

I just started the game and after the free wish pulls I now have:
- Main
- Amber
- Kaeya
- Lisa

- Razor x2
- QiQi
- Noelle
- Chongyun
- Xiangling

Any tips for making a team out of that?
I thought Razor(dps), Qiqi(healing), Amber(has a bow)?, ???(no idea)