Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

lamp, to random
@lamp@kitty.haus avatar

5 dollars per tb

lamp, to random
@lamp@kitty.haus avatar

japanese ppl have such good taste ong

lamp, to random
@lamp@kitty.haus avatar

tiny

lamp, to random
@lamp@kitty.haus avatar

why

mia,

@icedquinn @lamp also it’s writing bytes there not numbers converted to strings

lamp,
@lamp@kitty.haus avatar

@mia @icedquinn HOW I CONVERT TO FUKING STIRING

lamp, to random
@lamp@kitty.haus avatar

I guess all I can do is have it send events through serial to a userspace program that emulates a keyboard or game controller

or just simulates the key presses directly however things like ahk do that

icedquinn,
@icedquinn@blob.cat avatar

@lamp autohotkey does it with some windows functions to inject inputs. it breaks when those asian anticheat things are running.

some of the fancier things do work now by just creating virtual joysticks/keyboards and they communicate with those in some out of band way. thus all the games see input from "VeryLegitCo Keeb 200 Keys" or "Virtual X360."

you can inject evdev directly on linux but it needs root. you'd have to do a setuid proxy to do it that way.

lamp, to random
@lamp@kitty.haus avatar
const int buttonPins[] = {2,3,4,5,6,7};
int lastBtnState[6] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};
unsigned long lastBtnTime[6];

void setup() {
  for (int i = 0; i < 6; i++) {
    pinMode(buttonPins[i], INPUT_PULLUP);
  }
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  for (int i = 0; i < 6; i++) {
    int btnState = digitalRead(buttonPins[i]);
    if (btnState != lastBtnState[i]) {
      if (micros() - lastBtnTime[i] > 1000) {
        OnBtnStateChange(i, !btnState);
      }
      lastBtnState[i] = btnState;
      lastBtnTime[i] = micros();
    }
  }
}

void OnBtnStateChange(int btn, bool pressed) {
  Serial.print(btn);
  Serial.println(pressed);
  digitalWrite(LED_BUILTIN, pressed);
}
lamp,
@lamp@kitty.haus avatar

@gentoobro it uses up ram? doesnt it just rewrite the same variables?

icedquinn,
@icedquinn@blob.cat avatar

@lamp @gentoobro defining the counters uses up some of your RAM. 4-byte integers add up when you only have like 4k of memory for the whole firmware.

lamp, to random
@lamp@kitty.haus avatar

People avoiding minors like the plague is uncanny, I don't get it... If they're willing to LIE about their age and force themselves into your spaces, that is 100% their problem not yours... I only see it for legal reasons but still, as long as you clearly don't allow minors you should be fine?

I'm seeing a discord server completely shut down and require proof of identity in the new one, fuck no i'm not giving some random moron on the internet my ID just to bitch about getting pinged 100 times a day

lamp, to random
@lamp@kitty.haus avatar

I wonder how this feature works. You can share a 's optical disc drive to use on other macs over the network. Is it possible to set up server to do the same? Cause my server has an optical drive..

icedquinn,
@icedquinn@blob.cat avatar

@lamp there is probably some way to forward a block device. i've never done it.

lamp, to random
@lamp@kitty.haus avatar

x3

gamercat,
@gamercat@shota.house avatar

@lamp х3?

disabled,
@disabled@shota.house avatar
lamp, to random
@lamp@kitty.haus avatar

There should be the opposite of fediblock, something to declare what instances and users you are willing to federate with and why.

There are lists everywhere telling everyone how horrible you are but there's nothing to let you know how you are appreciated and why you should stay around.

lamp, to random
@lamp@kitty.haus avatar

This new i3-N300 as good as i5-10300H using only 7 watts wtf!

icedquinn,
@icedquinn@blob.cat avatar

@lamp i have one of these shrub computers but i haven't plugged it in since getting it :neocat_woozy:

lamp, to random
@lamp@kitty.haus avatar

I don't know if these are the original plugs or not but if they are then they have 201k miles on them.

None of the insulators are broken, unlike on gen 3 the original broke insulators and caused DTCs at 150k.

But I changed them cause I noticed some misfiring and nobody knows when they were changed.

The tips look a bit eroded so maybe the new ones with the pointy tip will help.

image/jpeg
image/jpeg
image/jpeg

icedquinn,
@icedquinn@blob.cat avatar

@lamp how do you end up working on such weird things all the time

lamp,
@lamp@kitty.haus avatar

@icedquinn neighbor

now i will fix ipad

image/jpeg

lamp, to random
@lamp@kitty.haus avatar

I need a motion sensor switch with a timer so it only turns on automatically during daytime hours so it doesn't blind night walkers. Does such exist?

lamp, to random
@lamp@kitty.haus avatar

brushed all bus bars

icedquinn,
@icedquinn@blob.cat avatar

@lamp that must have taken a while :comfyeyes:

lamp, to random
@lamp@kitty.haus avatar

How I should clean these?

icedquinn,
@icedquinn@blob.cat avatar

@lamp ultrasonic cleaner i'd say. not sure if those are pure metal parts though. i think you'd take the rubber parts out first for that

icedquinn,
@icedquinn@blob.cat avatar

@lamp depending on the grime, soap or small volumes of gasoline in a jar with the pure metal parts. seal up the jar and put it in the ultrasound tank. give it a while in there.

the jar trick is to keep the gasoline out of the basin

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines