I’m currently learning how to code (currently Python, then maybe JavaScript), but I’m not always around my desktop, and learning on my phone is not always an option (also, it can be quite cumbersome at times). Therefore, I’m looking into purchasing a laptop just for learning how to code and stuff.

I don’t want to get a Chromebook because I want to be able to wipe the drive and install Linux on it (probably Linux Mint). Maybe it’s changed since 2013, but the last time I had a Chromebook, it was a pain in the ass to install even bog-standard Ubuntu on it.

Problem is, I’m also heavily limited by space & budget: no more than 11 in (280 mm) total laptop width and 330 USD base price.

Does anyone have any suggestions?

Please forgive me if this is not the right space for this kind of question. Lemme know if it is and I’ll delete it. :)

  • slowbyrne@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    Now that apple has their own silicon, all the older intel based MacBooks are pretty cheap. I just replaced my wife’s 2013 MacBook Airs battery, upgraded the drive, and installed Linux. It’s been a solid little laptop. Not the fastest but there’s probably a few pro models within your price range. Just make sure to get at least a 16gb model since the ram is soldered. Might have issues with the webcam, but the wifi drivers are pretty good.

      • ranok@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        10 months ago

        The Intel ones are quite a bit easier, but still not as easy as a PC. You need to disable some FW security settings to allow for a non Apple kernel to boot.

  • Fonzie!@ttrpg.network
    link
    fedilink
    arrow-up
    0
    ·
    10 months ago

    Used Dell XPS, Thorvalds’ own choice of laptop, and often ranked well on iFixIt reparability ratings

    I’ve been using a Dell XPS-15 9560 for over six years now, the keyboard needed to be cleaned after four years and and the charging port needed to be replaced (€10 inc service) recently. The battery no longer lasts 11 or so hours but it lasts 2 or so which I’ll take, for about €100 I could replace just the battery.
    All of which, for how fast devices tend to break on me, is an incredibly good mileage I’d say!

    And oh yeah, whatever Linux I’ve been distro hopping to has worked swimmingly!

  • veer66@lemmy.one
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I’m using Lenovo ThinkBook, which is cheaper than Thinkpad, and the keyboard layout is different. It supports upto 40GB of RAM.

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    if you can compromise on the width, a used thinkpad t480 is under budget, upgrade-able, works fine with any linux and is plenty good enough to do what you need.

  • pumpkinseedoil@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    If you really want to you can combine:

    • a raspberry pi (with case)
    • a power bank
    • a small USB keyboard
    • a small portable display
    • a mouse

    It doesn’t take more space than a laptop :))

      • pumpkinseedoil@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        10 months ago

        No, just download Raspbian (Debian for RaPi) or any other popular distribution on your main computer and copy it to your RaPi’s SD card. Oh and if your mouse “lags” - you can increase your mouse refresh rate in settings.

        Also while the setup obviously works and does its job (and is really fun to use) it’s probably not better than a laptop. It’s more of a thing you use because you can…

        …anyway, if you already have some of the parts it’s the cheapest you can get, and it is just as practical as a laptop. I already had a pi4 with case, a keyboard and a mouse, so only was missing a portable monitor and a powerbank (but buying a powerbank never is a bad idea anyway).

  • Charadon@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    You can find good used Dell Latitude’s on ebay for pretty cheap. I’d avoid thinkpads as they have wifi-card blacklists on them.

      • Steamymoomilk@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        11 months ago

        I belive hes refering to lenovos bios blocks certain wifi cards? I remember before buying my t440p i watched a stupid amount of videos of people moding them. Some of which were bios mods for newer wifi cards.

        • bobslaede@feddit.dk
          link
          fedilink
          dansk
          arrow-up
          0
          ·
          11 months ago

          Probably a non-issue for this use case then. A relatively cheap Lenovo for programming, would not be too old to have a decent wifi card already in it. Even the pretty old ones I got for my kids have decent wifi cards, some even 4g. No issues at all with running Linux.

    • DigitalDilemma@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      Some of the cheaper Thinkpads are terribly poor quality. Once a by word for ruggedness, now just another name.

    • Kualk@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      11 months ago

      My ASUS laptop runs Linux well. It was around $800 5 years ago, when I bought it.

      I am still using it.

      • TheAnonymouseJoker@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        https://ahoneybun.net/blog/Thinkpad-X13s-review/

        If you knew how to disable Microsoft Secure feature, maybe you could be competent enough to load Linux on it. But you will now run around calling Lenovo bad for Linux and all that, spreading the myth someone invented like a disease, even though you are the one considering these ARM devices over a proper x86 machine with freedom. Maybe avoid ARM machines for a while, and avoid MS Secure Boot crap?

        • const_void@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          10 months ago

          You’re the one that made the claim that they’re the “only mainstream brand that cares about Linux”. It’s up to you to prove it.

          • TheAnonymouseJoker@lemmy.ml
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            10 months ago

            It is proven already. If they do well outside of anomalies you are cherry picking, then you are the one being obtuse. Also the link I provided clearly shows Arm devices can be loaded up with Linux. You are incompetent.

      • Pasta Dental@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        11 months ago

        This is exactly the shit that gets me worried about ARM laptops becoming the norm. Obviously, the CPU has ✨full upstream support✨, but what some people seem to forget is that they will likely not support ACPI via Arm System Ready which is exactly how android phones work. (This is the total opposite of what we want btw) So now we will be at the mercy of OEMs releasing blobs or some people will have to spend lots of time creating DTBs for each possible SKU (Snapdragon Elite X’s Linux post even mentions booting with Device Trees, but nobody seemed to notice this for some reason?).

        Like, sure, mainline support for the SoC is crucial, but most ARM processors have okayish support, even the mobile chips have say GPU support. The thing is the support of the SoC is only part of the equation when you also have a display, a boatload of controllers for charging, IO, display, etc. etc. that also need to be recognized and supported for the computer to be usable.

        I have faith that Dell and Lenovo will offer DTBs for their enterprise devices, since they currently officially support Linux, but for all the other ones, Asus, regular XPS, non ThinkPad Lenovo, Microsoft surface, Samsung, Acer etc. I can almost guarantee they will be troublesome.

        I desperately hope to be proven wrong when these laptops get into customers hands, but my hopes are really low.

        • 0x0@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          11 months ago

          I have faith

          I don’t, linux is niche for these companies, not worth their time/money.

  • thisNotMyName@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    The good thing about Linux is, it’s not very ressouce demanding. If you pick the xfce version of Mint, you can get away with 4GB of RAM. But you won’t have that much fun coding as soon as you start something more ressource heavy (big data sets, ML, …) so this depends a little in which direction you want to go. However see if you can find something used, preferably something you can open from the back side to upgrade components like SSD and RAM (cheaper than buying higher specs)

    • Pup Biru@aussie.zone
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      getting a small laptop as a dumb terminal and using a cloud server as a more beefy “as needed” machine isn’t a bad option either

  • Hominine@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I have an 8 year old Acer aspire and it works great for coding. I’ve learned a lot about both of those languages with zero worries and recently moved the OS over to nix with excellent results.

  • constantokra@lemmy.one
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    I recommend the Thinkpad yoga 11e, which is their education edition. They’re out of stock at the moment, but they’ll come back soon. They always do. It’s an 11 inch laptop with a flip around touch screen and integrated stylus. Works perfectly with Linux. It’s not super fast, but it’s under 300 dollars new. And it’s made for kids so it’s durable. I have one and I love it. You can get one used if you like, but at that point you’re probably better off with an older model.

  • hendrik@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    10 months ago

    Refurbished Dell 7390? ~$250 has an 13" display with relatively small bezels. I think if you want it even smaller, you’d need some mini laptop or a tablet or steam deck. But that has other downsides. And having a device with an full-size keyboard is nice if you want to type / code.