lurch

joined 2 years ago
MODERATOR OF
[–] lurch@sh.itjust.works 1 points 18 minutes ago

You can't believe what russian politicians or magats say. Half of it is lies.

It was never about NATO. putin new damn well NATO is a defense alliance. If NATO members attack someone, it's not a NATO attack and other members don't need to (and usually won't) help them when they get destroyed in response.

No, putin is a maniac and wanted to attack and plunder other countries all along. He just needed some lies so more russians fall in line and some of his planned victim countries don't join NATO, which he knows will beat his army easily, if he attacks a member.

trump could be a russian puppet, but he's also a fascist nazi. He admires ppl like hitler and putin. That's why he's turning the US into a fascist hellhole and starting wars.

Yes, he's also burning bridges and isolating the US, but that's his politics and propaganda focusing on the US somehow being entitled to everything and it's others fault for not handing it over. Unlike other parties, he and his little trumpets don't care about EU or NATO. So when he attacks Greenland and EU or NATO help Greenland, it doesn't bother him that it therefore becomes slightly less painful for putins goons in glorious Ukraine or that it creates an opportunity for russia to attack EU.

It's not some giant master plan tho. trump just doesn't care if he's playing into putins hands. They will likely also attack each other at some point, because they're rivals, not friends.

[–] lurch@sh.itjust.works 3 points 5 hours ago

watch so called conservatives conserve absolutely nothing and destroy everything instead

[–] lurch@sh.itjust.works 2 points 5 hours ago

yeah, but it is flattering from the fascists point of view. the downvoters want to stop and hide the propaganda pic, while the upvoters want to get the ugly truth out. it's both valid points.

i think the whole matter would be much less confusing if he was dead.

[–] lurch@sh.itjust.works 1 points 1 day ago

It would change NATO, but it wouldn't be the end of it. Maybe NATO members would later make a new, better alliance without the US tho.

[–] lurch@sh.itjust.works 3 points 1 day ago

Always check the pockets before washing. Turn them inside out, if possible. This should be part of your routine.

I learned this the hard way, when I forgot still wrapped sugar-free chewing gum in my jeans pocket and during washing it unwrapped and got kinda chewed into the fabric of the pocket. I never got it completely out.

[–] lurch@sh.itjust.works 8 points 1 day ago (3 children)

Sush. Don't say things like that or they'll make the characters in anine explain their every single thought or decision, even in mid battle.

[–] lurch@sh.itjust.works 1 points 1 day ago

no, interesting entries would be further up

[–] lurch@sh.itjust.works 1 points 2 days ago (1 children)

compared to other fuels, an additional danger is that it can burn with invisible flame

[–] lurch@sh.itjust.works 3 points 2 days ago

Hasn't always been like that tho. Oh how the turntables.

[–] lurch@sh.itjust.works 3 points 2 days ago (1 children)

if OP zoomed out there would be like 500 more imporrant problem booths. some of which are on fire, others attacked by masked ppl with guns and flashbangs.

[–] lurch@sh.itjust.works 3 points 2 days ago (2 children)

Do not just execute curl output. What if the site got hacked? There are no signatures or anything. Download it. Check for malicious code. Then you can run it.

[–] lurch@sh.itjust.works 2 points 4 days ago* (last edited 4 days ago) (1 children)

it doesn't have anything to do with ethnicity, but sulphurated fruit or other plant parts cause vile farts, for example dried candied hibiscus flowers.

99
Learn flute in 25 minutes (sh.itjust.works)
submitted 1 month ago* (last edited 1 month ago) by lurch@sh.itjust.works to c/Risa@lemmy.dbzer0.com
 

Image descriptionmeme picture of the Kataan probe that installed a lifetime of memories in picards head captioned: Learn flute in 25 minutes, with this one simple trick.

 

Photo of flower pot with red houseleek and some grass coming out between the remnants of the Edelweiss that died a few months ago and a fresh hole with a single acorn in it.

6
submitted 3 months ago* (last edited 2 months ago) by lurch@sh.itjust.works to c/einfachposten@feddit.org
 

ELECOM Trackball EX-G Modelle haben ein neues Chipset, das (mal wieder) die Anzahl Buttons falsch meldet. Für einige Chipsets gibt es dafür schon Workaround-Code im Linux Kernel. Wenn dein extra Button nicht geht, kannst Du seine Clicks mit diesem Beispiel C-Programm (kompilieren mit gcc) detektieren und vllt. irgendwas machen:

#define _GNU_SOURCE
#include <fcntl.h>
#include <unistd.h>
#include <linux/hiddev.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <spawn.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include <errno.h>
#include <string.h>

void sigio_handler(int signo) {
    // Dummy handler to "nudge" the process
    //write(STDERR_FILENO, "SIGIO received\n", 15);
}

int main(int argc, char *argv[] /*, char *envp[]*/) {
    if (argc != 2 ) {
        printf("Usage: %s /dev/usb/hiddev?\nWhere \"?\" is a number.\n", argv[0]);
        return 1;
    }
    int fd = open(argv[1], O_RDONLY);
    if (fd < 0) { perror("open"); return 1; }
    char *xdotoolargs[] = { "pxdotool", "key", "p", NULL };
    extern char **environ;
    struct hiddev_event ev;
    int buttonNr=0;
    bool pressed=false;
    int status=-1;
    pid_t pid;

    // Set up dummy SIGIO handler
    struct sigaction sa;
    sa.sa_handler = sigio_handler;
    sigemptyset(&sa.sa_mask);
    sa.sa_flags = 0;
    if (sigaction(SIGIO, &sa, NULL) < 0) {
        perror("sigaction");
        close(fd);
        return 1;
    }

    // Set ownership and signal
    if (fcntl(fd, F_SETOWN, getpid()) < 0) {
        perror("fcntl F_SETOWN");
        close(fd);
        return 1;
    }

    if (fcntl(fd, F_SETSIG, SIGIO) < 0) {
        perror("fcntl F_SETSIG");
        close(fd);
        return 1;
    }

    // Enable asynchronous I/O
    int flags = fcntl(fd, F_GETFL);
    if (fcntl(fd, F_SETFL, flags | O_ASYNC) < 0) {
        perror("fcntl F_SETFL O_ASYNC");
        close(fd);
        return 1;
    }

    int ev_size = sizeof(ev);
    while (1) {
        ssize_t n = read(fd, &ev, ev_size);
        if (n < 0 || n < ev_size) {
            if (errno == EINTR) continue; // Interrupted by signal
            perror("read");
            break;
        }
        if ( ev.hid == 589829) {
            if ( buttonNr == 1) {
                if ( ev.value == 1 ) {
                    if (!pressed) {
                        // extra button mouse down
                        printf(">>> HID event: button=%d, type=%d, value=%d\n",
                                            buttonNr,  ev.hid, ev.value);
                        fflush(stdout);
                        if(status==0){
                                waitpid(pid, &status, 0);
                        }
                        status = posix_spawn(&pid, "/usr/bin/xdotool", NULL, NULL, xdotoolargs, environ);
                        pressed=true;
                    }
                } else if(pressed) {
                    // extra button mouse up
                    //printf("<<< HID event: button=%d, type=%d, value=%d\n",
                    //                        buttonNr,  ev.hid, ev.value);
                    //fflush(stdout);
                    pressed=false;
                }
            //} else {
            //   // some other button with same event ID the kernel/X/wayland can handle (up or down)
            //   printf("--- HID event: button=%d, type=%d, value=%d\n",
            //                           buttonNr,  ev.hid, ev.value);
            //   fflush(stdout);
            }
            buttonNr++;
        } else {
            // more buttons or mouse events, but with different IDs
            //printf("    HID event: button=%d, type=%d, value=%d\n",
            //                        buttonNr,  ev.hid, ev.value);
            //fflush(stdout);
            buttonNr=0;
        }
    }
    if(status==0){
        waitpid(pid, &status, 0);
    }
    printf("Read all. Closing.");
    close(fd);
    return 0;
}

//edit: fixed read stalling after a while; launching xdotool as an example directly

249
submitted 5 months ago* (last edited 5 months ago) by lurch@sh.itjust.works to c/memes@lemmy.world
 

"is for me?" meme with devil horns and stinger added, captioned:

Me: *opens window to let moisture out after shower*

The wasp: (is for me?)

 

France will participate in a capital increase by satellite operator Eutelsat to the tune of €717 million (US$826 million) to help the company finance the expansion of its constellation of low-orbit communication satellites and create a sovereign European alternative to Starlink.

 

In den Osterferien ist eine aus Afghanistan stammende Familie nach Indien abgeschoben worden. Die früheren Mitschüler der beiden Söhne sind geschockt - und gingen in Frankfurt auf die Straße.

 

"Kotzt ihnen ins Gesicht": Auch die Generalstaatsanwaltschaft Köln sieht nach Peter Fischers deftiger AfD-Schelte keinen Anfangsverdacht für eine Straftat. Die Beschwerden gegen Eintracht Frankfurts Ex-Präsidenten hatten keinen Erfolg.

5
submitted 8 months ago* (last edited 8 months ago) by lurch@sh.itjust.works to c/dreams@redlemmy.com
 

I dreamt that I was loading the dishwasher. I had the top compartment full. My brother was making all sorts of food and was in the living room now. There was an unpacked frozen pizza with tomatos and cheese on the stovetop ready to be put in the oven. But then, for some reason, I had a tiny stainless steel grate that I needed to mount to the bottom to the dishwasher instead of the normal basket that goes there. I had some sort of plug for it, but it wouldn't fit. I asked my brother in the living room and also mentioned the pizza not yet in the oven. He gave me a weird kitchen scissors that might work as a plug and said it wasn't time to put the pizza in the oven yet. I found 2 holes for plugs at the bottom of the dishwasher, but the scissors wouldn't fit. My brother was standing beside me. Then I noticed and mentiomed the scissors aren't even dishwasher safe. Before I woke up, I was thinking, we need asbestos arsenide plugs, beacause those would withstand the environment in the dishwasher, but were they safe to put with dishes? (I don't think asbestos arsenide is a thing IRL.)

 

I dreamt that humans, dragons in humanoid form and atrifial liforms called seekers also in humanoid form lived together in harmony, but it wasn't always that way. Seekers were historically designed to kill dragons. An ancient device had caused a virus to revert a seekers programming to kill dragons again.

The white haired but youthful, human looking dragon queen lives in the water of some sort of open air temple with water cascades and bonsai trees. A seeker girl in abody suit of rough synthetic material wants to warn the dragon queen about the reprogrammed seeker, but the dragon queen swims around in some sort of ritual with chants and whenever the girl is about to talk, the queen jumps down a water cascade and dives into the next pond. There are dragons on the sides of the ponds and standig atop the small waterfalls. They laugh about the seeker girl being confused. The girl carries a chunky device that has a flat base and some sort of saucer shaped thing above it and contains some sort of proof. With that thing she has trouble following the queen. She still jumps after her into the next pond.

There is a scene cut like in a movie. A human guy and a tall seeker guy with a grey fedora stand in a room in a high rise building. The window behind them shows cityscape. They are detective partners at a crime scene that is mostly out of view. Suddenly the seekees face becomes some sort of flat blue display and shows a circle of text in ancient glyphs slowly rotating and changing in bright colors. The human looks at it and jokes it's just like the old times. The seeker replies he recieved an old signal from a compromised seeker.

The scene switches back to the water temple. The seeker girl stands at the bottom of a big cascade finally delivering the news to the queen. On the other side in the background is a cityscape.

Then I woke up.

 

Beim Scrollen werden ähnliche Ereignisse in der Geschichte der NSDAP durch welche der AfD ersetzt.

Screenshot NSSAP

Screenshot nach scrollen ersetzt durch AfD

 

I dreamt there was a hard cover comic book for children and also for abuse victims, called Is It My Fault. It shows various situations in which something bad happened, with speech bubbles. The reader had to guess whether it's the main characters fault and it had a little built in feature whete you had to fold a lens and a tiny piece of film out and peek through it to see if you guessed correctly.

 

I dreamt I waa a youth at a sunny ancient port town (but in modern day) with stone docks made from white matte stone with grey and yellow lines. It wasn't busy only few crates stood around. No ships in sight. We had the super funny idea to let a goat loose with a GPS tracker. We did it. Then I woke up worrying the goat might eat farmers crops and precious garden flowers on it's way to the mountains and realized it was just a dream and there is no goat on the lose 😅

view more: next ›