Jump to content

Breadpudding

Member
  • Posts

    59
  • Joined

  • Last visited

Everything posted by Breadpudding

  1. As long as you have some kind of protocol in place to pass information back and forth, the two parts can communicate with each other. The type of connection used depends on what you hope to achieve and how you want them to communicate.
  2. I'm not worried about that since I use Debian as my main operating system. My only goal here is to read from floppies. Writing to them would be more of a luxury than a necessity. I don't have the old computer unfortunately. My father has a nasty habit of getting rid of anything that he deems to be simply taking up space. That includes the RGBI monitor that came with the computer. Without RGBI, that made the computer useless. All I have left of it is an i8088, BIOS chip from the video card, and the 5.25" floppy drive.
  3. Let me explain. Each character is 16 bits wide since that's what UEFI wants(hence the u16). C had a simple way of doing this by simply appending a string with the letter L. With Rust however, it seems to be more complicated as it doesn't seem to have UTF-16 support out of the box. What I'm trying to figure out is how I can turn a Unicode string into a pointer to an array of 16 bit characters.
  4. Because I have an actual 5.25" floppy I salvaged from an old computer.
  5. Discontinued. I have a feeling that this is going to be a fun journey.
  6. You just made the same mistake I did. While you have the correct cable(I do too), you have the wrong controller(which is the reason I made this thread)! These are the things I bought: https://www.amazon.com/gp/product/B07KDJTMGP/ref=ppx_yo_dt_b_asin_title_o01_s01?ie=UTF8&psc=1 https://www.amazon.com/gp/product/B000YAX13Y/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
  7. If you're new to Linux I'd recommend Debian over Ubuntu server. Just get the standard system utilities so you don't have a GUI hogging resources. ~Breadpudding
  8. The first thing you should do is make sure you're booted via UEFI still. One of the updates may have broken that. If you have confirmed that you are booted via UEFI you can add this to your grub.cfg: menuentry 'System setup' $menuentry_id_option 'uefi-firmware' { fwsetup } Reboot and the option should appear. Let me know how it works! ~Breadpudding Edit: This was found in the grub.cfg on my Debian system. Compatibility may vary with Mint.
  9. If you look at the following diagram they're identical minus the PWM pin which is useless since your fan doesn't support it anyway. (Credit to whoever posted it on this site before)
  10. So I recently made a purchase on Amazon to put together an adapter for my 5.25" floppy drive. However, when I received the package today, I realized that the cable I ordered wasn't an IDE cable, but rather IDC34. This meant that my PCIe to IDE adapter(which I tested with an older drive and is working) would ultimately do nothing. Would it be possible to find a similar device for IDC34? I have PCIe, PCI, and SATA ports available. Thanks in advance, Breadpudding
  11. The title says it all. How would one create a UTF-16 string in Rust and pass it to C as a *const u16? Thanks in advance, Breadpudding
  12. I haven't thought about velcro. That's a pretty good idea and I might do that.
  13. Unfortunately I can't drill any new holes since the entire case is made out of metal(actual metal not the cheap crap that comes in most cases). I'm not sure how I would mount the HDD to the air flow holes but it's an idea worth exploring as long as I leave one of the sides open. As for the double-sided tape I don't have any actual double-sided tape but I can make a loop out of regular tape(not that it'll keep it from vibrating at all). I'm planning on not having any PCIe cards for two reasons: This is supposed to be a server The case prevents me from putting any "standard" PCIe cards in without modification I do want to keep it secure to the case because this will be running for long periods of time.
  14. So I decided to try to build the smallest computer possible using parts I already have. I've had success thus far, however I didn't think about the HDD until I tried to put it into the case. Since the motherboard(MicroATX) is bigger than the previous one(FlexATX), it doesn't have any room for the HDD bracket anymore. That's fine because I wasn't planning on having a full-sized desktop HDD, but I still don't have a place to put my laptop HDD. Does anybody have any ideas for mounting it? Thanks in advance, Breadpudding
  15. I haven't had any issues with the non-free Nvidia driver. Nouveau had a couple of issues for me though. Debian-based distributions tend to have outdated software. With Debian you can upgrade to Sid(unstable) but your computer may or may not survive the upgrade. For this reason I don't really recommend Debian for people anymore but for whatever reason I can't stop using it myself.
  16. I'm using Debian Sid for my home PC. I personally don't have a problem with compiling a kernel(especially since all you have to do is run make a few times). The answer is yes. I'm doing both from the latest source found on kernel.org. I have lzop so I don't really understand why it fails. I had issues with it earlier in the compilation so I installed it, removed the partially compiled version and started over.
  17. This topic is highly opinionated, so here's mine: Use anything Red Hat based. This includes(but is certainly not limited to): Fedora, OpenSUSE, CentOS, Mageia, and even Red Hat itself(assuming you aren't afraid to pay for an OS). Personally, I use OpenSUSE because it's free and uses YaST which makes server management easy. On top of all that, it's extremely stable and secure. The only thing I wouldn't recommend about it is the learning curve if you're familiar with a Debian-based distribution(such as Ubuntu, Linux Mint or Pop! OS). Otherwise, go right ahead and install a Red Hat system.
  18. The reason I did is because the latest kernel prevented me from booting and the old kernel I was booted from didn't support my ath10k drivers anymore.
  19. Hello everyone, I have decided to compile the linux kernel myself after a series of issues with my computer. I ended up going with xz compression for my laptop, but I'd like to try and get LZO compression working. Whenever I try to build bzImage, the makefile errors with the following: DESCEND objtool CALL scripts/atomic/check-atomics.sh CALL scripts/checksyscalls.sh CHK include/generated/compile.h MKPIGGY arch/x86/boot/compressed/piggy.S arch/x86/boot/compressed/vmlinux.bin.lzo: Invalid argument arch/x86/boot/compressed/vmlinux.bin.lzo: Invalid argument make[2]: *** [arch/x86/boot/compressed/Makefile:160: arch/x86/boot/compressed/piggy.S] Error 1 make[2]: *** Deleting file 'arch/x86/boot/compressed/piggy.S' make[1]: *** [arch/x86/boot/Makefile:112: arch/x86/boot/compressed/vmlinux] Error 2 make: *** [arch/x86/Makefile:283: bzImage] Error 2 If anybody with experience in this field would like to help, it would be very much appreciated. Thanks in advance! ~Breadpudding
  20. The x86 architecture is crap piled on top of more crap. I think it's getting to the point where I believe Intel engineers don't even know what their own CPU looks like anymore. This is why I have hope for RISC-V. We need a new architecture that lacks the backwards compatibility Intel chips need to succeed. UEFI is a step in the right direction with platform independent operating systems. However, the chance of having a new architecture succeed in today's world is slim but I'm still waiting for something to eventually put the final nail in the coffin of x86.
  21. Technically I can make an operating system within a day. That doesn't mean it'll be a good operating system, just a usable one(maybe).
  22. I'm right handed and I use a mouse in my left hand. I just got used to doing it that way so it's not an issue for me.
  23. Hello everyone, I recently watched LTT's video on the G502 and I posted a comment stating that being left-handed was a reason to not get it. This sparked a bit of conversation so I decided to post it here to see what everyone thought. In my case, I have no problem with using a regular mouse, but I have issues with gaming mice. Gaming mice often are "shaped to your palm" and provide "easy access" to extra buttons. For someone who is left handed, not all gaming mice are are shaped to fit my hand and many of the extra buttons are not accessible at all. I'm curious if anybody else is left-handed, would be interested in having more ambi/lefty gaming mice on the market, and/or has/had the same problems that I do. ~Breadpudding
  24. Your if statement on line 8 isn't checking if the variable is equal to true. It's setting the value to true instead. If the value is a boolean, simply make it: if(bot) return; Also about detecting which emoji you're placing: Don't use emoji in your code. There's a reference about using emoji with discord.js here: https://discord.js.org/#/docs/main/stable/class/ReactionEmoji Maybe name isn't what you think it is? Try logging the result of getting the emoji's name to see if it prints something similar to "regional_indicator_k". I haven't dealt with reactions myself but it's worth a shot.
×