• 0 Posts
  • 43 Comments
Joined 3 years ago
cake
Cake day: June 10th, 2023

help-circle









  • Back when I was studying, I had a final exam on my last year (so basically one of the most important exams in my career) that was about PHP. It was 3h, and we had to complete a theory part and then code a bunch of stuff.

    I attended that exam while completely drunk. So much so that I don’t remember anything about it. Somehow I didn’t get kicked out.

    I genuinely expected to fail it, and instead I got my best grade up to that point, an 8/10.



  • black0ut@pawb.socialtoLinux@lemmy.ml•BSOD
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    2 months ago

    The theory is that the site just hosts a small JS snippet that locally decodes and shows you your logs.

    But yeah, now that you mention it, it would be trivial for the site to get and store the logs, and you wouldn’t even notice.


  • black0ut@pawb.socialtoLinux@lemmy.ml•BSOD
    link
    fedilink
    arrow-up
    31
    arrow-down
    7
    ·
    2 months ago

    The QR code contains the panic stack trace text, directly encoded into a URL and a parameter. When you scan it, it goes to the website, which takes the parameter, decodes it and displays it as plain text.

    Personally, I think it’s a terrible idea compared to just showing the logs, because now you need internet and a phone with a camera to read a kernel panic log.

    Edit: yes, it was Systemd who implemented it.


  • Back at the beginning of times ethernet, you needed the crossover cables to connect routers to routers, switches to switches or end devices to end devices. They wouldn’t work with the straight cables.

    The standard still needs those cables to be crossover, but nowadays the port itself can detect what type of cable you connected, what type of cable it needs, and rewire itself to accept whatever you throw at it.

    The same thing happens when you directly connect 2 PCs together without a switch in the middle. But the ports also adapt themselves and work it out.

    You could also use a crossover cable, and your devices would figure it out too.





  • Up until very recently (its system drive blew up) I was running a server (raspberry pi zero 2 w) with 512MB of RAM. It werked fine. At any moment I had ~1/4 of the RAM free. And I was running a bunch of services, like ssh, unbound, pi-hole, opentracker and a test website.

    I also have another machine with 2GB of RAM running bookstack, an ssh gateway, opentracker, a KMS for activating windows machines, another website, naemon with the thruk frontend and probably something else I’m forgetting abt.