• 7 Posts
  • 141 Comments
Joined 2 years ago
cake
Cake day: August 4th, 2023

help-circle

  • I had a friend who wasn’t very technical who had some issue where he couldn’t boot into his OS (Windows) and bought a new computer, but wanted the files off the old computer. So he asked me for help. I remember bringing a Knoppix live CD (remember Knoppix?) And when I was there, I realized I had a severe lack of general networking equipment. (I didn’t have a switch, so I couldn’t plug both computers into the network so they could communicate with each other and the internet.)

    So I started up the old computer in Knoppix, plugged it into the network, and installed a bunch of networking packages like a DHCP server and such. And then I used the Ethernet cable to plug the two computers into each other, letting the Knoppix box give the new Windows machine its IP. And then I installed Putty on the Windows machine and used it to SCP the files from the old machine to the new one.

    The whole thing went way smoother than I’d have expected, never having attempted that before. But I felt like such a hacker that day. Lol.



  • TootSweet@lemmy.worldtolinuxmemes@lemmy.worldCommand line tip of the day
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    6 days ago

    Huh. Only 11 days on the Raspberry Pi I’m using as a “desktop system” right now. (Arch Linux Arm, btw… though Arch Linux Arm sucks now-a-days.)

    Let’s check my RPi-based NAS:

    [tootsweet@mynasserver ~]$ uptime
     19:56:07 up 212 days, 18:43,  4 users,  load average: 0.16, 0.04, 0.01
    

    Also not as long as I’d have guessed.




  • Mom wanted me to go into music performance. I went into computer science both because “holy shit how cool is that” and to get out of music performance.

    My alma mater had three computer departments: CSC/CompSci, CIS/Computer Information Systems, and Graphic Design. I’ve never been artistic, really, so I didn’t have a lot of interest in Graphic Design. But I didn’t know the difference really between CIS and CSC going into college.

    I went to the head of the CIS department to ask about the difference and he was like “CSC is about building the plane, CIS is about flying the plane.” Misinterpreting that to mean CSC was about hardware and CIS was about software, I thought I wanted CIS. When I met with the CSC head, he met with me in a little lab in the CSC department. And on the shelves on the walls, there were robotic coin sorters and Lego robots and stuff. And that’s basically when I realized the CSC department was my people.








  • If your a software engineer, memorizing an ASCII table (particularly the hex numbers of each character code) is definitely helpful. If for no other reason than so that you can read things that are randomly written in binary without having to consult a table.

    Something not really otherwise terribly useful that nonetheless helped me keep my sanity: learn how to convert to base64 in your head. At work, we had really boring 8-hours-a-day training for a couple of weeks. To pass the time, I came up with random strings to base64 encode in my head. “Hat is 48 61 7a. The first six bits are 010010 which in base64 is an S. The next six bits would be 000110 which in base64 is G.” Etc. I’d write down the base64 strings character by character as I derived them and then check my results for errors when I got back to my desk.




  • The costs of distribution aren’t really that expensive for big companies.

    You can’t really trust that users are going to be willing to donate hard drive space and upload bandwidth to help your maps service or whatever work. (Though, to be fair, you did mention things like OpenStreetMap which is probably more likely for users to be willing to support that way.)

    Bittorrent isn’t something you can seamlessly integrate into browser-based apps.

    But also, there are newer technologes based on a very Bittorrent-like P2P way of doing things. IPFS is basically reskinned Bittorrent. And Peertube uses in-browser P2P to distribute videos. I don’t think there’s any standard in, say, HTML5 that allows for P2P without some hacks, but it sounds like there’s a good chance such a standard is likely to make its way into browsers in the relatively near future. Also, it sounds like Chrome supports more than Firefox in that area right now.