I did one of these threads several months ago, when the site was new, and thought now was a good time to do another.

Message me if you

  • Want to try installing Linux for the first time
  • Want to try Linux but don't want to install it
  • Have some Linux-related problem you want another pair of eyeballs on
  • Want to learn a programming language
  • Want to build a computer
  • Want tutoring in any of the above
  • Need help with any old technical problem

(also play Arma with me)

  • TillieNeuen [she/her]
    ·
    4 years ago

    I'm saving this post for the next time I have some kind of tech problem that brings me to the verge of tears. Prepare yourself!

  • Katieushka [they/them,she/her]
    ·
    4 years ago

    Oh gosh i really want to learn how to code anything someday, my father wants ne to do it as well, but i never bother starting,,,

  • princeofsin [he/him]
    ·
    4 years ago

    First, thank you for taking the time to do the original thread. Second, I applied but never got a response, comrade. I want to learn programming as i'm a DACA recipient in USA and can't go to school.

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      Hi,

      By 'applied' do you mean that you messaged me or posted a comment? I double checked my message history and the original post, and I couldn't find your name. It's possible it never made it through to the site.

      I'd be more than happy to teach you whatever I can. I can message you and schedule some sessions if you'd like.

      • princeofsin [he/him]
        ·
        edit-2
        4 years ago

        Bloodshot, thank you for responding back. I think it was via google docs or maybe im not remembering it right but i did post on the thread too where you did a follow up about the original post. If its ok and you have time I can do it based on when its convenient for you. I'm just laying low. Please let me know and thank you again for even offering to help me.

        • Bloodshot [he/him,any]
          hexagon
          ·
          4 years ago

          Hey

          I never used Google docs, or made a follow up post. I think there was a Chapo Community IT thread that never materialised. I wasn't involved with that.

          I'll message you about details w.r.t tutoring.

          I'd probably scrub that extra detail from this comment, I wouldn't want it getting seen or getting associated with your real person

          • princeofsin [he/him]
            ·
            edit-2
            4 years ago

            I'm sorry about my mistake and will correct it. Thank you for willing to help me and the community

            Chapo Community IT thread that never materialised. I wasn’t involved with that.

            I'm sorry for confusing you with someone else

  • Mehrunes_Laser [comrade/them, any]
    ·
    edit-2
    4 years ago

    A month ago, I knocked my computer over while playing beat saber, and now one of my hhds won't work. I've opened the case up and I've verified that the power and sata cable are still attached and everything looks ok.

    The biggest problem is that my computer is still trying to find the drive, and it thinks programs are still installed that were on that drive. Is there anyway to recover the drive? Or if I have to replace it, how do I get the pc to recognize that old drive is gone so I can reinstall the programs that were on the old drive? Right now I can't reinstall until I uninstall the programs, but I can't because they aren't there to uninstall.

    I'm 100% fine if I can't save the drive and have to replace it, but how do I get the pc to stop thinking stuff is installed so I can redownload and install them?

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      I can't tell you whether the drive is recoverable or not with no other information. It's possible it responds to SATA commands but cannot read from sectors. It's possible that it's mostly fine but there are some bad sectors that prevent the filesystem from being recognised. It's possible the platters are completely destroyed.

      If there's data you care about, and if the drive is actually bad, I don't know of a better tool to recover drives than ddrescue, which works at a low level and will try its best to read every byte it can off a failing drive. It's also very slow, and you'll require a space big enough to put the data from the failing drive.

      As for the software side, if you're using Windows, I can't really help you. I haven't used Windows in a decade and don't really know how it works.

      • Neckbeard_Prime [they/them,he/him]
        ·
        4 years ago

        Seconding DDRescue from a Linux LiveCD, preferably with an external USB hard drive to contain the backup image. Trying to read the drive under Windows is a great way to trash what's left of it, because Windows will keep thrashing on those bad sectors.

        Regarding Windows-based tools, Spinrite, the de facto Windows drive recovery, works by retrying a failed sector over and over and over again before moving on -- as in, it doesn't skip and return to failed sectors like DDRescue does. As a result, it tends to destroy a failing/damaged drive before it even recovers all of the salvageable data. Don't use Spinrite. Spinrite is terrible. Unless you have an old Maxtor DiamondMax ATA/100 with noisy bearings and you're trying to piss off the neighbors. It's pretty good for that. But not data recovery.

    • Slaanesh [he/him, comrade/them]
      ·
      4 years ago

      In the start tray, search for "Disk Management" and you'll get to the partition controller. Here you can remove/uninstall the disc. You'll still wind up with broken shortcuts however.

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      Sorry if this is too technical.

      lol this is my wheelhouse.

      chmod, as well as a lot of other commands, support recursively operating on a path themselves; chmod -R.

      More generally, I'd recommend using find -exec (man find), which you can pass flags to filter what you want (e.g. -type f for only files).

      While most commands expect a list of files to operate on as their arguments and not in stdin, xargs transforms lines from stdin to command line arguments.

      In simple cases, you can use a shell for loop as follows:

      for file in directory/* ; do
        echo "$file"
        do_something "$file"
      done
      

      I wouldn't recommend ever using ls in scripts; it's made to output human-readable text and not something that a script can reliably parse (think of edge cases like a filename with embedded newlines).

  • AliceBToklas [she/her]
    ·
    4 years ago

    you got any advice on how to pretend to give a shit when you're looking for a job?

    • tofunaut [he/him]
      ·
      4 years ago

      smile and nod, laugh at dumb jokes

      being an easy person to be around is way more valuable than 5 years of experience with "backend technologies"

      • AliceBToklas [she/her]
        ·
        4 years ago

        heh yeah, I think I used to be able to do that pretty well, but then I transitioned and boom, I get fewer responses from applications than I used to get as cold-emails.

        • Bloodshot [he/him,any]
          hexagon
          ·
          4 years ago

          That's always the fucking thing, isn't it, doesn't matter how good you are at whatever fucking technical thing, or how great of a person you are to work with if some 27 year old bay area white guy "doesn't feel like you'd be a good fit" for some unshared reason he's never bothered to interrogate, and you never fucking know because they're not required to tell you why you didn't get a response, and if they told you they aren't required to be honest, and if they were they wouldn't even be conscious of it anyway. So you just feel gaslit by every fucking company because "You're skills aren't really in-line with the requirements of this role" is not fucking true and you know it.

          Be white, be cis, be het, get lucky, I guess.

          • AliceBToklas [she/her]
            ·
            4 years ago

            Yeah, that whole part of it just makes me want to like get myself involved in screening/hiring processes for a big ol company somehow just so I can do the exact opposite but based on the recent tweet thread from the google diversity director that doesn't seem like their highest priority.....

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      lmao not really. "Good" jobs won't give a shit if you give a shit, it'll be a professional arrangement. But it's a crapshoot as to whether you're going to get one of those, or even get to the interview stage.

      I've noped out early in the application process because I decided I'd have to be mostly brainworm in order to work there.

      Depending on the place, a completely different person will be deciding whether to pass you on to the interview process than the people actually interviewing you. I.e. screened by HR/recruitment, and interviewed by potential coworkers. Focus on keywords with HR, in your cover letter, resume, and then with fellow engineers you can mostly be chill and actually talk about technology. HR/recruitment will be looking to check off all the boxes for knowing each and every little technology they use, so try and tune that stuff to the listing, but be honest when talking to fellow engineers, as they can draw a distinction between "knowing Javascript" (made a webpage in college) and knowing Javascript.

      You probably know all that though, and I can't really offer too much to help. It just sucks.

      • Bloodshot [he/him,any]
        hexagon
        ·
        4 years ago

        Oh, and if a company wants you to performatively care about the thing they're making, you can usually pivot into being excited about the technologies used to make it, which can be more sincere.

        Since you don't give a shit about their shitty Twitter clone, instead say you're really fascinated by the challenges of maintaining such a large, distributed set of services, and you'd love the chance to work with a company pushing the boundaries of scale. Or whatever.

        • AliceBToklas [she/her]
          ·
          4 years ago

          Yeah, that's basically as close as I can ever get to the HR people's platonic ideal of a worker. It does help being legitimately interested in how literally anything gets done but that only ever works with the engineers, for the HR people I just feel like they can hear that I'm lying when I say I'm a self starter or how I looooove being part of a 24/7 on call rotation.

          • Bloodshot [he/him,any]
            hexagon
            ·
            4 years ago

            You can often reframe it in terms of what value you were able to provide during your previous positions, which is what HR wants to hear anyway.

            Instead of saying "I love being on call 24/7!" say "Via all-hours alterting and rapid incident response, I was able to solve production-critical issues within thirty minutes or less, allowing us to maintain a xx% uptime". You may have hated doing it but it gets you in the door so...

      • AliceBToklas [she/her]
        ·
        4 years ago

        wtf this is no help. why couldn't you just fix capitalism for me? giving you 1 star on the customer satisfaction survey 😤

  • Ithorian [comrade/them]
    ·
    edit-2
    4 years ago

    I run an online pathfinder game and I have like 50g of assets for it. Do you know of a way that I can add tags to the files? Like if I have a map tag it with Mountain, Day Time, Forest, Summer. Then if I need a day time forest map all those tags will pop up instead of me having to copy the same file to a half dozen folders to get everything organized. Windows or Linux would work.

    Also mad props for doing this kinda thread!

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      ext4 and other Linux-native filesystems support extended file metadata, where you can put that information right in the file. I think KDE's Dolphin file browser has support for tags using these.

      What you're essentially asking for, though, is how to make a database that correlates those assets with some metadata.

      One solution is to use the filesystem as a "poor man's" database, like you suggest. I would recommend using symlinks for this: instead of copying the files, you just reference them in multiple locations. This has the advantage of all your tools supporting it out of the box, since they're just regular files on the filesystem

      Another is to use a text document of some format, essentially a spreadsheet, that matches metadata with file path.

      You could use SQL with a real database. This is a heavyweight and very powerful tool, might be overkill.

      Finally, there are probably third party tools geared towards this already. Think of something like itunes but more general. You'd probably be able to find them by searching for "Music tagger" or "photograph tagger".

      • Ithorian [comrade/them]
        ·
        4 years ago

        Sweet thanks for the info, I'd had dolphin recommended to me before but haven't messed with it yet, sounds like now's the time. If that doesn't work I'm sure one of your other solutions will.

  • tofunaut [he/him]
    ·
    4 years ago

    I'm over here trying to understand how to build a google sheets web app with a shared drive like -> :(

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      Never used sheets before, can try to help if you're having a specific problem

      • tofunaut [he/him]
        ·
        edit-2
        4 years ago

        I figured it out. I used some code from this project: https://spreadapi.com/ and figured out the quirks with google web apps. A big one was kinda dumb, you have to publish as a "New" version if you want you updated code to run, you can't just save your script in their web app.

        I haven't figured out the shared drive, but basically I think it'll end up being the shared sheet pointing to a sheet on my personal company drive.

        Anyway now I have sort of a REST api working with google sheets, which is very limited but good for non-techies who mostly just use spread sheets to format and sanitize a bunch of columns and rows to show to the boss.

  • Sushi_Desires
    ·
    4 years ago

    Is python a good first pick if I primarily want ro tinker with electronics? I was thinking about trying to do the "automate the boring stuff" thing

      • Bloodshot [he/him,any]
        hexagon
        ·
        4 years ago

        Guess it depends on what you're using. If you're using Pis or similar SoCs, and interfacing via GPIO, you can stick to high level.

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      Sure, lots of libraries for sensors, controllers, etc. are available in Python. I'd say it's a great first pick.

  • read_freire [they/them]
    ·
    edit-2
    4 years ago

    Can you go fix the nixos-unstable branch in hydra? It's been broken for two weeks and I'm too lazy to either fix it myself or use my local nixpkgs workaround for all my installed programs. nvm someone fixed it last night. Fuck yeah

    On a serious note, props for this. More leftist techies should be mentoring noobs

  • goldsound [he/him]
    ·
    4 years ago

    So I haven't touched Linux in well over 5 years when I played around with Ubuntu a bit im HS. What's the go to distro/top ones nowadays? And is it better to ease back in by dual booting before going whole hog?

    • Bloodshot [he/him,any]
      hexagon
      ·
      edit-2
      4 years ago

      I've worked with Linux professionally for years, and here's a secret: distro doesn't matter all that much, especially if you're just a desktop user. Since they're packaging mostly the same software differently, you can just pick which one you'd like.

      • Debian is a community distribution with actual democracy behind it
      • Red Hat distros have corporate support
      • Arch Linux is very rolling release
      • Ubuntu is Ubuntu
      • Gentoo compiles stuff from source, which appeals to some people

      etc.

      As for dual booting, if you want to keep using Windows or whatever for anything, there's no real reason you ever have to stop dual booting. You can keep it there if you need it. Some people remove it because they truly don't need it, some people remove it because they like to commit and if they don't they'll never learn Linux, and a lot of people just have Windows there indefinitely.

      A note on Debian since that's what I use: Debian, when you install it, is entirely free software. If you want to download non-free things (like NVIDIA drivers, wifi drivers) you have to enable that and then install them. If Debian runs slow but Ubuntu is fast, it's probably the graphics drivers, as Ubuntu gets most of its packages from Debian.

      • VHS [he/him]
        ·
        edit-2
        4 years ago

        only dual boot if you have a second ssd IMO

        or a spinning drive (HDD) for those of us that aren't living in the future

      • goldsound [he/him]
        ·
        4 years ago

        I actually switched to a ssd boot/hdd storage dual drive setup this year, and the hdd is 1tb so if I wanted to I could at least experiment on the hdd and keep them separated. Thanks for the tip. Mentioning boot loader corruption has brought up flashbacks from my first attempts with everything. Desperately trying to get a rig I built out of some new parts in an old pc to run a dual boot taught me more about computers than just about anything else lol.

      • AliceBToklas [she/her]
        ·
        4 years ago

        I dual booted my most recent build and its been updating fine, the main issue is that by default the installer does clobber your boot partition or something so IIRC you have to install windows on a partition first and then install linux and then rewrite the windows bootloader with GRUB and your linux install. but it's not that bad to get both working together on the same ssd.

      • culdrought [he/him]
        ·
        4 years ago

        Even with a second ssd windows sometimes still overwrites the bootloader after an update. Easy enough to fix, but still annoying.

  • Dan [they/them,undecided]
    ·
    4 years ago

    Do you have experience with hardware? I tried soldering for the first time not too long ago, but it was a kit, so I wasn't doing any of the decision making. What kinda projects would you recommend? Also, I'd love to build a PC someday, but it will be quite a while until I have the money; I program professionally and want to start getting into more computationally expensive problems, so I feel like I need to save for a good one.

    • Bloodshot [he/him,any]
      hexagon
      ·
      4 years ago

      Not really much experience with electronics/soldering, aside from like watching Ben Eater, sorry. Have a friend I could bug, but that's all.

      Someone else DM'd me for tips on PC building, and I could paste my response here if that'd be useful.

  • cummunist [he/him,they/them]
    ·
    4 years ago

    Hello comrade. So we know each other and I'm a jester but this is not a bit. I'm posting here cause steam messaging you feels awkward to me (don't ask why).

    I've just switched over to Manjaro KDE for reasons you probably already are aware of and I'm struggling to make my drawing tablet work.

    It worked almost just fine at first, I just needed to tweak the settings to make it stick to only one monitor and not strech out ; to access the settings, I needed to install the package kcm-wacomtablet.

    Now that this is done, I do have the settings panel available, but the tablet is just no longer recognized anymore. I can connect it with Bluetooth, but the "tablet finder" utility will just not detect any device. USB doesn't work either. Uninstalling kcm-wacom-tablet it doesn't fix the problem.

    I have tried re-installing input-wacom but I'm getting some compilation error (cursed hardware ya know).

    I'd like to know if you can think of any solution for this! Also, since you mention it in your post, I'd indeed like to learn C++ and how to be more "fluent" with Linux and eventually manage to fix my own issues when it comes to it.

    Hopefully your offer still stands!

    Yours truly (still not a bit)