SegFaulting
banner
segfaulting.bsky.social
SegFaulting
@segfaulting.bsky.social
→ Von Neuman's real estate agent
→ Bell Labs low-level sorcerer
→ Ontologically sane and Tautologically inoculated.

"Wherever there is a crowd there is untruth." - Søren Kierkegaard
Still have a fully functional t61 with a docking station. Amazing piece of engineering history.
December 9, 2024 at 2:05 PM
Something like this:

int fd = open("/dev/hidraw0", O_RDONLY);
If (fd < 0) exit(EXIT_FAILURE);

unsigned char buf[256];
int res = read(fd, buf, sizeof(buf));
if (res > 0) {
printf("%d bytes:\n", res);
// do something else
}
close(fd)
December 5, 2024 at 11:29 PM
Locate the specific HID device you want to access under /dev/hidraw*. You can identify it by checking the kernel's ring buffer output: sudo dmesg | grep hid

Once you’ve identified the correct device, you can use the open() and read() sys calls in a C program to interact with it.
December 5, 2024 at 11:22 PM
No clever auto generated migrations files from 'makemigrations' that inspect your model and define you DB schema. You have to write your migration files to apply and revert changes No runtime error checking like Django. 2/2🧵
December 5, 2024 at 1:31 PM
Diesel is the only Rust ORM I've used. If performance is your priority, it's a great choice. However, don't expect any of the conveniences offered by Django's ORM. 1/2🧵
December 5, 2024 at 1:27 PM
There has been an active smearing campaign aimed at eroding the credibility of news outlets and institutions. I believe most people who subscribe to these fellas were caught in the loop and are, in fact, victims.
December 2, 2024 at 1:38 PM
Yes it is! Although, I don't think everyone who follows Joe Rogan and Musk blindly is an idiot "per se".
December 2, 2024 at 1:37 PM
Glad you sorted it out!
December 1, 2024 at 8:40 PM
Check if SFTP is altering the file metadata (timestamps or permissions). gzip files may embed metadata causing size discrepancies.
December 1, 2024 at 4:03 PM
gentoo baby!
December 1, 2024 at 3:46 PM
Gotta say, my PCRE skills are my biggest flex and the least employable skill I possess lol
December 1, 2024 at 3:00 PM
As a follow-up to your tweet, I don't know if you were already aware of this, but it's worth keeping an eye on the compiled lists from this account.
This account will be only used to monitor and create lists so far right groups and others who are attempting to manipulate the platform and target every day users with hate, conspiracy, and misinformation are removed from your feeds.
December 1, 2024 at 2:36 PM
Exactly this!
December 1, 2024 at 1:40 PM
This alias should be named yolo
December 1, 2024 at 9:54 AM
Would I give up spending 10+ hours carefully setting up my .bashrc scripts to sync my laptop display's color temperature with the smart lamps in my office for some bloated OS that 'just works'? No, thank you!
November 30, 2024 at 4:08 PM