As the title says, I am currently learning to be a programmer, and my tablet does not suffice for the job.

I have already finished a small MEAN-Stack application for learning Typescript, learned some Java syntax (I expect nothing more exciting than a sorting algorithm, but exam language is Java, so…) and the next stop will most likely be plain vanilla C to learn about handling hardware.

Windows I hate with a passion, and I don’t know squat about Macs, so I am thinking of getting myself a decently sized laptop for a sensible Linux install.

History (I started my Liux journey with SuSE Linux 4.4.1, way back when) taught me to be very wary of driver issues on laptops, so I thought I could ask you for recommendations that play fair with Linux.

(as an aside, if I could play GuildWars2 on it in the evening and attach my two big monitors when at home, that would be super cool)

  • jg1i@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    2 years ago

    Linux is the correct (and only) choice for programmers. 99.9% of the internet runs on Linux. When you get a job, you’ll most likely deploy to Linux servers. Other people (MacOS/Winblows) will spend a significant amount of time trying to emulate a Linux environment.

    My daily driver is a Dell XPS 13 9310. The build and finish is pretty good. All the hardware works out of the box.

    I also used a Lenovo X1 Carbon for a few years. Also very good. I think the speakers sounded better on the X1 compared to the XPS. I think at this point all the hardware is supported by the latest kernel. When I had it, I think I had to wait for microphone support because the X1 had some fancy array of microphones. Eventually the software support caught up though.

    Not recommend: I’ve also tried a System76 laptop. I quickly returned it because the build quality felt super cheap and I had a dead pixel. I also didn’t like that the power adapter was a barrel plug. (Although, yes, you can also charge with USB-C, but then you still have a useless barrel plug.)

    Not recommend: Framework laptops. They seem cool, and they are, but the build quality is not as good as the XPS or the X1 Carbon. Also, the biggest reason to avoid Framework is due to the poorly supported HiDPI display. This goes for all laptops, by the way.

    Finally, I’d also like to mention to be successful in Linux, you have to adopt a different mindset too. If you go into Linux expecting MacOS or expecting Winblows, you’re going to be disappointed. Linux is Linux. It’s great for computer science. It’s not great for video/image editing, music production, gaming. Sure, technically you can find a way to run those apps, but it’s not going to be the best experience. Similarly, it doesn’t make sense for me to go to MacOS and complain that I can’t use systemd or LUKS.

    tl;dr

    • Linux is the right choice, can’t avoid it.
    • I’d recommend the Dell XPS 13 or the Lenovo X1 Carbon.
    • Avoid HiDPI displays (unless you want to debug issues and still end up with slightly fuzzy apps)
    • Avoid NVIDIA
    • Different tools for different jobs
    • priapus@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 years ago

      I disagree with your take on the framework. The inferior build quality alone is not a good enough reason to say they aren’t worth it over an X1 Carbon or XPS. Neither of those offer easy repairability and the XPS has atroucious IO.

      I use a Framework and have run it primarily using Plasma Wayland and Hyprland. Both of these have had fantastic HiDPI support. Both can scale Wayland and Xwayland apps seperately so that you do not have any fuzziness and both support Wayland’s newest fractional scaling protocol.

      If you’re running a modern distro (one with good wayland support), you should have no problem with hidpi. The more recent comments in the thread you linked support this.

    • itchy_lizard@feddit.it
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I highly recommend the X1 carbon too. I run it and fucking love it.

      At work we used to roll-out the XPS 13" because Dell officially supports Linux. I personally don’t like it because there’s no USB-A port, but our employees were very happy with it.

    • boonhet@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Now Linux is obviously a great OS for development, but there’s so much misinfo here.

      Other people (MacOS/Winblows) will spend a significant amount of time trying to emulate a Linux environment.

      It’s 2023, most shit is either platform-agnostic (Anything front-end, Java, etc) or runs in Docker nowadays. Or both. I run plenty of Java shit in Docker despite the fact that it’d run natively on any major desktop OS. It’s easier to guarantee an environment in a container than get a bunch of Linux users to agree on an environment. Otherwise you get one dev with Java 8 as default as per company spec and then another with Java 17 because some tool they use requires it and they’re too lazy to set 8 as the default and invoke 17 specially for that use case.

      Matter of fact, I know most companies I know people at, either use Macbooks or give you a choice.

      Does it really take a significant amount of time trying to emulate a Linux environment? Eh, I suppose. I first install brew and THEN install docker. Whereas on Linux, I’d just use the distro’s built-in package manager to install docker, because everything gets deployed in containers for k8s anyway, so why would I run it without docker locally and complicate things?

      Linux is the correct (and only) choice for programmers

      Also, funnily enough, according to the latest Stack Overflow survey, Windows is actually the most popular OS among developers. Probably because of all the ancient legacy win32 shit. MacOS is second, but if Linux wasn’t split into different distros, it would likely be second (multiple choice survey, so y’know, can’t just add them together linearly), but it’d be a close call anyway.

      99.9% of the internet runs on Linux. When you get a job, you’ll most likely deploy to Linux servers

      This part is technically true (I believe the real number is closer to 96%, with Windows Server and FreeBSD accounting for the rest), but it’s highly irrelevant because most modern backend applications run on multiple layers of abstraction to the point where it doesn’t matter if the development takes place in Windows, Linux or MacOS.

      At the end of the day, I want my dev machines to always work, so they’re Macs. My personal desktop is mostly used for gaming and tinkering, so it doesn’t matter if I fuck something up and have downtime. That runs on Gentoo. That said, OP is a student and should use Linux precisely because they can probably afford the downtime so what better time to tinker? But for work, reliable and polished > tinkering and infinite customizability.> 99.9% of the internet runs on Linux. When you get a job, you’ll most likely deploy to Linux servers