SteveTech

joined 2 years ago
[–] SteveTech@programming.dev 2 points 6 months ago

This format's from 2017 I'm pretty sure.

https://hepwori.github.io/execorder/

[–] SteveTech@programming.dev 4 points 6 months ago (1 children)

Ahh okay, that description kinda sounds like floppy drive power, but it probably is a proprietary thing.

Floppy disk drive power connector

[–] SteveTech@programming.dev 1 points 6 months ago (1 children)

Could also be slimline sata.

A slimline sata adaptor and DVD drive with a slimline sata connector

[–] SteveTech@programming.dev 2 points 7 months ago

Probably a long shot, but if you live in Australia (or maybe also New Zealand), Jaycar often sells the Ender 3 V3 SE for AU$250, which seemed like a really good price compared to other places I found.

[–] SteveTech@programming.dev 16 points 7 months ago

I couldn't find a hard answer to whether this supports EPYC only, or Ryzen too; so I put together this script to read the CPUID to detect for INVLPGB support according to the AMD64 Programmer’s Manual, and my 7800X3D does not support INVLPGB.

(Let me know if I've made an error though!)

Code

#include <stdio.h>
#include <stdint.h>

int main() {
    uint32_t eax, ebx, ecx, edx;

    eax = 0x80000008;

    __asm__ __volatile__ (
        "cpuid"
        : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx)
        : "a" (eax)
    );

    printf("EBX: 0x%x\n", ebx);

    if (ebx & (1 << 3)) {
        printf("CPU supports INVLPGB\n");
    } else {
        printf("CPU does not support INVLPGB\n");
    }

    return 0;
}

[–] SteveTech@programming.dev 10 points 7 months ago

That's INVLPG which has been there since the 486. The AMD64 Programmer's Manual has some info on the differences between INVLPG, INVLPGA, and INVLPGB though.

[–] SteveTech@programming.dev 3 points 8 months ago

I've got one of the official Home Assistant SkyConnect dongles, and I just stick to the IKEA ZigBee stuff, most other ZigBee devices should work too though.

[–] SteveTech@programming.dev 51 points 8 months ago (4 children)

ghost is just GitHub's way of saying deleted user.

[–] SteveTech@programming.dev 18 points 8 months ago (1 children)

TCP and UDP can listen on the same port, DNS is a great example of such. You’d generally need it to be part of the same process as ports are generally bound to the same process

They don't even need to be the same process. I'm pretty sure that's just a common practice if something needs both protocols, but there's nothing stopping you from having a web server on TCP 443 and a VPN server on UDP 443. Ports are an abstraction brought by each protocol, they aren't in anyway related.

[–] SteveTech@programming.dev 6 points 9 months ago (4 children)

Probably because there's also permission to use the X11 socket.

[–] SteveTech@programming.dev 3 points 9 months ago (5 children)
[–] SteveTech@programming.dev 13 points 9 months ago* (last edited 9 months ago)

Title text too:

Wow, that's less than $200 per ... uh ... that's a good deal!

https://xkcd.com/670/

view more: ‹ prev next ›