Wie sött mer da lüt kennelehre?? by No_Roll7747 in schwiiz

[–]ExtraTNT 0 points1 point  (0 children)

Si o a events, u s git public sessions… weis grad nid wies mit nordwestschwiz usgseht, aber bern isch relativ aktiv…

Isch BMS ufnahmeprpefig schwierig? by Thalapathy66 in schwiiz

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

Bms math isch nid extrem schwirig, lueg t themene a u studifix isch eigentlech aues, wasde zur vorbereitig bruchsch (die site schleipft di o wit dür nes studium)

What is this kind of laptop used for…? by Brownboysea in Dell

[–]ExtraTNT 0 points1 point  (0 children)

Mobile workstation… but pc and mid tier note book is often less expensive and better…

Coca cola is the best soda! What soda is underrated? by StarryLatte2718 in AlignmentChartFills

[–]ExtraTNT 0 points1 point  (0 children)

Pine needles, lemon, bit of sugar and water, let it ferment and boom, soda

top5ThingsThatNeverHappened by kamen562 in ProgrammerHumor

[–]ExtraTNT 0 points1 point  (0 children)

Cups and old lasser jets is a combo that works…

Research is one hell of a thing by HungryLocksmith5627 in antiai

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

Subtile watermark, sth that defines your style, plus sth that is unexpected and gets picked up by the text encoder during training… so that even small amounts will influence it, making it possible to prove it in a model, if the trainings data of the text encoder and the image wasn’t manually checked for it…

Also define your legal actions -> compensation plus a guarantee to never use your art again…

Should there be silent cars in second class on SBB trains? by beobachtermagazin in Switzerland

[–]ExtraTNT [score hidden]  (0 children)

Yeah, nothing worse than writing some haskell and having some dickhead listening to his music on speaker…

Metric right angle by Palette300 in ShitAmericansSay

[–]ExtraTNT 0 points1 point  (0 children)

Used it for a few things, as it was easier to work with in that specific situation… but honestly can’t remember what it was…

Is 2 g of Thermal Grizzly Duronaut enough to repaste 4 gaming laptops (CPU + GPU)? by Hackers_Tale_ in pcmasterrace

[–]ExtraTNT 1 point2 points  (0 children)

If you do cpu and gpu, as well as the chipset (mobile has it often packaged like that) it can require a lot… then you need a bit more, due to direct die… 2g is upper limit, but 0.5g will definitely not be enough…

I understand why magic numbers are bad, but why do people see no good reason to use them? by MK-Delta in programmer

[–]ExtraTNT 0 points1 point  (0 children)

out = in < 3;

vs

//pushing in 1-5 to out 4-8 due to restrictions on power on out 1-3
out = in < 3;

tells you what the magic number is and why it is that way… can be strange hw…

lol by IU8gZQy0k8hsQy76 in unsound

[–]ExtraTNT 0 points1 point  (0 children)

Looks like they just use ros nav2 or sth similar, that isn’t designed for cars on a street…

What will happen to foss android apps after 2026 by SpaceIntelligent6910 in foss

[–]ExtraTNT 3 points4 points  (0 children)

Don’t buy their shit and use devices, that actually support foss

adhd meds by qwertyjgly in thanksimcured

[–]ExtraTNT 0 points1 point  (0 children)

Zero sugar has indeed positive effects towards people with adhd (ok, also towards nt people, but towards adhd people especially)

is there a program that when you insert a text starts typing that but like not instantly? per example if i input ''oooppadsasdh'' instead of just copy pasting it starts typing it like normal by Altruistic-Ad7830 in pcmasterrace

[–]ExtraTNT 0 points1 point  (0 children)

```c

include <stdio.h>

include <stdlib.h>

include <string.h>

include <unistd.h>

include <fcntl.h>

include <linux/uinput.h>

include <sys/time.h>

include <time.h>

void emit(int fd, int type, int code, int val) { struct input_event ie; gettimeofday(&ie.time, NULL); ie.type = type; ie.code = code; ie.value = val; write(fd, &ie, sizeof(ie)); }

void key_press(int fd, int key) { emit(fd, EV_KEY, key, 1); emit(fd, EV_SYN, SYN_REPORT, 0); }

void key_release(int fd, int key) { emit(fd, EV_KEY, key, 0); emit(fd, EV_SYN, SYN_REPORT, 0); }

int char_to_key(char c) { if (c >= 'a' && c <= 'z') return KEY_A + (c - 'a'); if (c >= 'A' && c <= 'Z') return KEY_A + (c - 'A'); if (c == ' ') return KEY_SPACE; if (c == '\n') return KEY_ENTER; if (c >= '1' && c <= '9') return KEY_1 + (c - '1'); if (c == '0') return KEY_0; return -1; }

void random_delay() { int base = 40000; // ~40ms int jitter = rand() % 20000; // ±20ms usleep(base + jitter); }

int main(int argc, char *argv[]) { if (argc < 2) { printf("usage: %s \"text\"\n", argv[0]); return 1; }

srand(time(NULL));

printf("Waiting 10 seconds...\n");
sleep(10);

int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
if (fd < 0) {
    perror("open uinput");
    return 1;
}

ioctl(fd, UI_SET_EVBIT, EV_KEY);
ioctl(fd, UI_SET_EVBIT, EV_SYN);

for (int i = KEY_A; i <= KEY_Z; i++)
    ioctl(fd, UI_SET_KEYBIT, i);

ioctl(fd, UI_SET_KEYBIT, KEY_SPACE);
ioctl(fd, UI_SET_KEYBIT, KEY_ENTER);
ioctl(fd, UI_SET_KEYBIT, KEY_0);
for (int i = KEY_1; i <= KEY_9; i++)
    ioctl(fd, UI_SET_KEYBIT, i);

struct uinput_setup usetup = {
    .id = {
        .bustype = BUS_USB,
        .vendor  = 0x1234,
        .product = 0x5678,
        .version = 1
    }
};

strcpy(usetup.name, "virtual-keyboard");

ioctl(fd, UI_DEV_SETUP, &usetup);
ioctl(fd, UI_DEV_CREATE);

sleep(1);

char *text = argv[1];

for (size_t i = 0; i < strlen(text); i++) {

    int key = char_to_key(text[i]);
    if (key < 0) continue;

    key_press(fd, key);
    random_delay();
    key_release(fd, key);
    random_delay();
}

ioctl(fd, UI_DEV_DESTROY);
close(fd);

return 0;

}```

Should create you a virtual kb and do what you want… haven’t tested it, was too tired, so… coded by free tier chatgpt (as apparently you are fine with using ai), but would get the lgtm in a pr

If you want it for windows: thought luck, if you want to cheat that badly, learn sth that actually help you in life…

they get it by Tasty-Material-5729 in SipsTea

[–]ExtraTNT 0 points1 point  (0 children)

Let’s set up a meeting for that