Click here to Skip to main content
15,886,685 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: ...the future looks great ... non computer related rant Pin
Roger Wright24-Jun-22 15:42
professionalRoger Wright24-Jun-22 15:42 
GeneralRe: ...the future looks great ... non computer related rant Pin
dandy7224-Jun-22 11:33
dandy7224-Jun-22 11:33 
GeneralRe: ...the future looks great ... non computer related rant Pin
Sander Rossel25-Jun-22 1:13
professionalSander Rossel25-Jun-22 1:13 
GeneralRe: ...the future looks great ... non computer related rant Pin
honey the codewitch25-Jun-22 3:50
mvahoney the codewitch25-Jun-22 3:50 
GeneralRe: ...the future looks great ... non computer related rant Pin
Sander Rossel25-Jun-22 5:13
professionalSander Rossel25-Jun-22 5:13 
GeneralRe: ...the future looks great ... non computer related rant Pin
honey the codewitch25-Jun-22 5:15
mvahoney the codewitch25-Jun-22 5:15 
GeneralRe: ...the future looks great ... non computer related rant Pin
Sander Rossel25-Jun-22 5:27
professionalSander Rossel25-Jun-22 5:27 
GeneralRe: ...the future looks great ... non computer related rant Pin
honey the codewitch25-Jun-22 5:56
mvahoney the codewitch25-Jun-22 5:56 
This is how I know I'm mad. Laugh | :laugh:

C++
void epd_push_pixels(const rect16 &area, short time, int color) {
    uint8_t row[EPD_LINE_BYTES] = {0};
    int w = area.width();
    int h = area.height();

    for (uint32_t i = 0; i < w; i++) {
        uint32_t position = i + area.x1 % 4;
        uint8_t mask =
            (color ? CLEAR_BYTE : DARK_BYTE) & (0b00000011 << (2 * (position % 4)));
        row[area.x1 / 4 + position / 4] |= mask;
    }
    reorder_line_buffer((uint32_t *)row);

    epd_start_frame();

    for (int i = 0; i < EPD_HEIGHT; i++) {
        // before are of interest: skip
        if (i < area.y1) {
            skip_row(time);
            // start area of interest: set row data
        } else if (i == area.y1) {
            epd_switch_buffer();
            memcpy(epd_get_current_buffer(), row, EPD_LINE_BYTES);
            epd_switch_buffer();
            memcpy(epd_get_current_buffer(), row, EPD_LINE_BYTES);

            write_row(time * 10);
            // load nop row if done with area
        } else if (i >= area.y1 + h) {
            skip_row(time);
            // output the same as before
        } else {
            write_row(time * 10);
        }
    }
    // Since we "pipeline" row output, we still have to latch out the last row.
    write_row(time * 10);

    epd_end_frame();
}


But to be serious, my mental health is managed enough with medication that online I come across as relatively together, but online hides a lot of deficiencies. Besides last time I saw things that weren't there, and believed things that weren't real I was under a tremendous amount of stress, which can trigger that kind of thing if your wiring is already predisposed to it.
To err is human. Fortune favors the monsters.

GeneralRe: ...the future looks great ... non computer related rant Pin
Sander Rossel25-Jun-22 7:31
professionalSander Rossel25-Jun-22 7:31 
GeneralMessage Closed Pin
26-Jun-22 11:18
Member 1496877126-Jun-22 11:18 
GeneralRe: ...the future looks great ... non computer related rant Pin
den2k8826-Jun-22 20:45
professionalden2k8826-Jun-22 20:45 
GeneralRe: ...the future looks great ... non computer related rant Pin
Sander Rossel26-Jun-22 20:58
professionalSander Rossel26-Jun-22 20:58 
GeneralMessage Closed Pin
26-Jun-22 11:41
Member 1496877126-Jun-22 11:41 
GeneralRe: ...the future looks great ... non computer related rant Pin
Sander Rossel26-Jun-22 21:08
professionalSander Rossel26-Jun-22 21:08 
GeneralRe: ...the future looks great ... non computer related rant Pin
Gerry Schmitz25-Jun-22 5:52
mveGerry Schmitz25-Jun-22 5:52 
GeneralRe: ...the future looks great ... non computer related rant Pin
englebart26-Jun-22 11:48
professionalenglebart26-Jun-22 11:48 
GeneralPCIe lanes Pin
trønderen24-Jun-22 6:42
trønderen24-Jun-22 6:42 
GeneralRe: PCIe lanes Pin
harold aptroot24-Jun-22 9:43
harold aptroot24-Jun-22 9:43 
GeneralRe: PCIe lanes Pin
trønderen24-Jun-22 16:56
trønderen24-Jun-22 16:56 
GeneralRe: PCIe lanes Pin
harold aptroot24-Jun-22 17:14
harold aptroot24-Jun-22 17:14 
GeneralRe: PCIe lanes Pin
matblue2524-Jun-22 17:21
professionalmatblue2524-Jun-22 17:21 
GeneralRe: PCIe lanes Pin
Dan Neely27-Jun-22 3:13
Dan Neely27-Jun-22 3:13 
GeneralTo autoupdate or not to autoupdate Pin
honey the codewitch24-Jun-22 5:23
mvahoney the codewitch24-Jun-22 5:23 
GeneralRe: To autoupdate or not to autoupdate Pin
rnbergren24-Jun-22 5:30
rnbergren24-Jun-22 5:30 
GeneralRe: To autoupdate or not to autoupdate Pin
Chris Maunder24-Jun-22 5:55
cofounderChris Maunder24-Jun-22 5:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.