• 1 Post
  • 105 Comments
Joined 1 year ago
cake
Cake day: July 8th, 2023

help-circle


  • If I see comments explaining every other line, especially describing “what” instead of “why”, I assume the code was written by a recent grad and is going to be bad. Describing what you are doing looks like you are doing a homework assignment.

    Like on that line, obviously we’re initializing a variable, but why 1 instead of 0? Could be relevant to a loop somewhere else, but I guess I’ll have to figure that out by reading the code anyways.




  • Because the hush money case is the only case that is likely to happen before the election.

    The J6 case in DC got screwed by the Supreme Court refusing to take the appeal before waiting for the DC appeals court to rule. It was obvious that the Supreme Court was going to step in and rule, so Jack Smith requested them to just take the case and they declined saying they wanted to let the DC court decide first. Then they took the appeal a month or so later anyways. Now they have held hearings, but even if they rule against Trump, all they have to do is delay until late July and they know that the justice department won’t be able to resume the trial in time.

    In the documents case, which is the most fundamentally simple case, Eileen Cannon has ratfucked the whole process to the point that it’s unlikely to start before July. It should be an open and shut case, but she’s entertaining all sorts of crazy legal theories and giving them months to elaborate on them.





  • In all those scenarios though, the cert in question would be listed as something else. It’s not that I’m against Coursera or think it’s a bad platform.

    There are a lot of certs out there and most of them are worthless, and a lot of them happen to be on Coursera, I guess. I’ve talked to people who had AWS certs and couldn’t explain the difference between S3 and EBS. Certs just don’t mean much.


  • Once you get your first job, the certs of all kinds just become resume fluff, but since you are pursuing your first job, they might be useful.

    As an interviewer, I think that certs are only useful if you take the test with a different company than you studied with. So I don’t think I’d care if you have a coursera cert, because I’d assume it just meant you finished the course that you paid for.

    What certs are you thinking about doing, and more importantly, what are you looking to get out of them? I know “a job”, but what kind of job are you looking for?









  • Equipment

    The Raspberry Pi won’t be able to supply enough power for a 3.5-inch hard drive.

    Steps

    1. Connect the hard drive to the adapter:

      • Carefully plug the SATA power and data cables from the SATA to USB adapter into the corresponding ports on the HGST Ultrastar He12 drive.
    2. Connect to the Raspberry Pi:

      • Plug the USB end of the SATA to USB adapter into an available USB port on your Raspberry Pi.
    3. Power the hard drive:

      • Connect the external power supply to the hard drive. Do not attempt to power it solely through the Raspberry Pi.
    4. Mount the hard drive (on the Raspberry Pi):

      • Check if the drive is detected: Use the command lsblk to list connected block devices. Your hard drive should show up (e.g., /dev/sda1).
    • Format: The hard drive might come pre-formatted with a filesystem that Raspberry Pi doesn’t recognize. You may need to format it using a Linux-compatible filesystem like ext4. Use mkfs.ext4 /dev/sda1 (replace ‘/dev/sda1’ if necessary).
    • Create a mount point: Use the command sudo mkdir /mnt/mydrive (you can replace ‘mydrive’ with any name you prefer).
      • Mount the drive: Use the command sudo mount /dev/sda1 /mnt/mydrive (replace ‘/dev/sda1’ with the actual device name if different).

    Important Considerations

    • Power: Raspberry Pi’s USB ports cannot provide enough power for a large hard drive. Using an external power supply is crucial to avoid damaging the Raspberry Pi or causing the hard drive to malfunction.

    • Automatic Mounting: To automatically mount the drive on startup, you’ll need to edit your /etc/fstab file.

    Additional Tips

    • Enclosure: Consider getting an enclosure for the hard drive and its adapter for protection and portability.
    • Data Transfer: File transfers over USB 2.0 (if your Raspberry Pi has that) will be slower than directly connected SATA.

    PS: I’m a human who started typing out half of this, then wanted to see if the AI could come up with a better response. I gave it the image from the posting above and said “I want to connect this to a Raspberry Pi” and I thought it came out with a better response. Mine originally only mentioned the USB-SATA part, while the LLM came back with instructions (I had to reorder them, but otherwise they looked good)