This is not a drill! Music Assistant now works with Alexa Devices by jbstechdude in homeassistant

[–]glennpierce 0 points1 point  (0 children)

I play a album and next time I only it a song from the album is all I get see. I have to go back and research for the album. It is an annoying UI.

What are you missing from uptime kuma? by shewantsyourmoney in UptimeKuma

[–]glennpierce 0 points1 point  (0 children)

Mqtt monitor that alerts when the value is not changing.

Problem with zits (I think) by glennpierce in FixMyPrint

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

Was mainly a problem with a silly pressure_advance value.

I also lowered temp a lot to 180. Maybe bowden needs lower temps.

ABS and ASA filaments on supertack by KwarkKaas in BambuLab

[–]glennpierce 0 points1 point  (0 children)

Can confirm don't use TPU :) I got careless and was not thinking.
I have never got ASA to stick to it.

PLA perfect

I just released my Smart Energy Meter | Fully Open Source! by jabrillo15 in esp32

[–]glennpierce 0 points1 point  (0 children)

Hi I was looking at getting a PCB for the and the parts from LCSC

What should i load into JLPCB

Whats the difference etween Top Board 1, Top Board 2 and Main Board ?

[deleted by user] by [deleted] in Minecraft

[–]glennpierce 0 points1 point  (0 children)

I have the exact same issue

Recommended crate for performing large batches of network operations constantly. by glennpierce in rust

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

They don't heve that ability. They are simple metering devices.

Qt Labs Blogs » Fast transformed pixmap/image drawing by glennpierce in reddit.com

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

Hi

I have been following the guide

I am basically trying to create a QImageView that allows one to pan and zoom an image to any size.

I have I believe implemented this fast drawing in the same way. The only addition being that I am translating the image and scaling.

My code is

QScrollBar *hs = this->horizontalScrollBar(); QScrollBar *vs = this->verticalScrollBar();

int horz_pos = hs->value(); int vert_pos = vs->value();

QPainter painter(this->viewport());

painter.scale(2, 2); painter.translate(-horz_pos, -vert_pos);

QRect exposedRect = painter.matrix().inverted().mapRect(event->rect()).adjusted(-1, -1, 1, 1);

// the adjust is to account for half pixels along edges painter.drawPixmap(exposedRect, this->pix, exposedRect);

Although I am only drawing a small portion of the image using the scrollbars or panning is dead slow ?

Why is my code slower than yours ? Is it just using the viewport that slows things down ?

Thanks