Skip to content

u/mixedCase_

In this archive from Jul 2015 to Nov 2023

0
posts
278
comments
0
media
1.3k
score

For developers I recommend either modern Fedora if you don't mind adapting to the GNOME way of doing things, or EndeavourOS to get an Arch-based system running quickly.

Arch really puts everything in your hands for development between the best documentation across all distros, and the packages available in default repos and the AUR which are super convenient and you can quickly learn how to make your own packages otherwise. Everything's really easy to do once you learn the distro inside and out. Endeavour provides a nice installer with an "out of the box" experience ready to go, so you don't need to know what things make up your system just to get started, although I'd recommend you at least try installing proper Arch Linux in a VM to get that experience.

Fedora is more of a take-it-or-leave-it relatively well designed desktop experience; everything seems very cohesive and what is ready to go should work well, but if you're trying out something not packaged for Fedora nor as a Flatpak/AppImage you may end up in a lot of pain with a system half-managed by a package manager and half-managed by compiling things yourself because its packaging system is a nightmare and the documentation sucks.

2 points

20.04 < 20.10

20.04 means April (month 4) of 2020

20.10 means October (month 10) of 2020

Upgrade. And you really don't want to use LTS versions of Ubuntu on the desktop unless it's a business desktop focused on one very narrow job that you can set-up once and leave unattended forever. I'd go one step further and recommend not using Ubuntu if you're at the level you want to customize your desktop this much, but at least upgrading to a modern version should help you out overall.

2 points

Wayland is the only method to get different per-monitor fractional scaling working in any sane, well-supported way. You have 4 options:

  • Wait it out with uncomfortable DPI until driver version 470 comes out and see if you can use Wayland then
  • Get an AMD card
  • Don't use fractional scaling either by using different monitors or by tolerating the incorrect scaling
  • Use Windows
1 points

Every language was developed for a purpose. If you are unfamiliar with a language and use it for a different purpose, or try to use it in a way you’re familiar with (but not how the language was meant to be used), will yield in a lesser result.

PHP was developed as a templating engine. The PHP community nowadays largely considers writing templating pages like that "old-style PHP" and actively discourages it, instead mostly recommending it be used like other dynamically-typed procedural languages with first class objects, like Ruby, Python and to a slightly lesser-degree, modern JavaScript. What am I to make of PHP given that axiom?

PHP, Java, JavaScript, C# aswel as similar languages such as Swift, Kotlin and TypeScript.

This confirms what I was thinking. You're underexposed to different language ideas.

Think of it like this: If you were to distill all of those languages to their essence, the way they make you think about your code and how to architect it, you would get only two very similar languages, and one offshoot. These are all procedural languages with object capabilities and ALGOL-derived syntax. One is dynamically typed (PHP, JavaScript), the other is statically typed (Swift, Kotlin, TypeScript), code written in both of them being extremely similar with only a handful of patterns showing up in one but not the other. The third language is just like the typed one but with a twist, where you can only bind classes to root namespaces (Java, C#), and this twist is enough to consider it a "third" language because it changes (or rather, tries to change) the way you think about your programs by focusing more on "objects" instead of procedures.

Within this very narrow subset, it's normal to think "PHP has never been a bad language". It feels just like a slightly annoying version of "the dynamic language".

But now try introducing more language ideas into the mix. Within the dynamic arena, try to compare it to a Lisp like any of the Schemes, and suddenly PHP feels way less powerful. You can observe how code is organized very differently and the way you approach problems altogether changes. No longer are you doing everything as a series of steps and loops, suddenly data transformation is the name of the game and you're forced to frame your iterative problems in a recursive fashion until it feels natural and obvious. Your code is no longer "just code", the language allows you to "tap into the interpreter" and new language constructs can be defined within your own application code; giving you a more elegant tool to deal with things you've previously would've considered doing via monkey patching or not at all.

Then try to compare it to something like OCaml, or F# (almost the same language, when distilled down) and you notice how you make an even more brutal change, you're more inclined to design your code around well-defined data structures first, with procedures merely filling out the details rather. You think less of "what the program has to do" or "where is execution going to go", and more "how to model constraints" and "treating functions and data structures as legos".

Add something like Haskell or PureScript to the mix, and you take that even further. Purity means your side-effects always take a back-seat to your data structures and pure logic, you're naturally led to push the ugly details that can go wrong to the outer boundaries of your program, naturally isolating the sources of error and the language almost forcing you to make your code more robust.

And that's just a small sample that's outside of the world that PHP, JS, Kotlin, Swift, TypeScript, C# and Java live in. There are more things like Idris, Prolog or APL that take you to new avenues of thinking about your problems. And once exposed to all these other ways of approaching problems and the functionality provided by these languages, PHP feels like a language that doesn't even fit its original "templating engine" design very well, let alone its "modern PHP" incarnation that hammered it back to the same language that Python, Ruby and mainstream JavaScript are.

2 points

PHP has never been a bad language

Saying something is bad because you can’t use it

For some context on your judgment, can you share what languages are you familiar with? If too many to list, start with the expression-based ones. My gut reaction is that you may be missing some experience on languages that are meaningfully different from PHP, but I could be way off base.

1 points

I have a discrete AMD GPU and I only plan to continue buying discrete AMD GPUs unless Intel comes up with something competitive, and I can safely say that AMD is the worst of the big three's drivers.

Yes it is open source. Yes it supports Wayland. But before this I had been using Nvidia cards on Linux, all the way from a FX 5500 up to a GTX 970 before I moved to this 5700XT which, again, I will be replacing with another AMD GPU. But never have I had as many issues with my GPU as with this card.

I still want to support the company giving us desktop-grade GPUs with open source drivers, and I still want to run first-class Wayland with working FreeSync. But the drivers are a nightmare chock-full of bugs that often don't get fixed after years and there are no downvotes that are going to fix that.

9 points

This is one of those moments when TryItAndSee™ is the best solution. After all, you can always get it back on macOS.

With that said: The capture card seems to be compatible with Linux. People are running Linux on the MBP 2015. I think the worst case scenario, you'll have to get a wifi dongle because Macs tend to ship shitty Broadcom chipsets.

Dual-booting is a pain if you have to upgrade the proprietary OS, so I'd recommend an all-or-nothing approach.

Good luck!

4 points

Hey, not right now but for whatever it's worth: if I were to use .NET for anything serious I couldn't care less about the system package.

I'd get it from asdf-vm or Nix since I can't guarantee other people that may use whatever I'm writing will have the same system package available. Arch is rolling release and fairly bleeding edge, so it's not uncommon to accidentally depend on something that might be out of reach of most Linux users for months if not years.

4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.