• 11 Posts
  • 82 Comments
Joined 6 months ago
cake
Cake day: December 28th, 2023

help-circle







  • renzev@lemmy.worldtolinuxmemes@lemmy.worldDon't try this at /home
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    9 days ago

    Things like this are why I don’t put systemd on my machines. It’s too complicated for me. Too many things going on. I’ve moved away from mac os to linux specifically to avoid weird over-engineered solutions, I want to be able to understand my system, not just use it!

    EDIT:

    SystemD/Linux

    We’re not there yet with systemd, but I would argue that Alpine Linux qualifies as “busybox/Linux” lol. It’s literally just the kernel, busybox, openrc, and a package manager stapled together. It’s so minimalist that it barely even exists! I love that distro so much!


  • Well, see, the thing is, minimalist distros like Arch or Void are more stable than “fully-featured” distros like ubuntu, just by virtue of having less software that could break. The reason I wouldn’t suggest them to newbies is because having less software installed by default means that the user is expected to know what software they need, and to know what program to debug if things do go wrong, which isn’t a reasonable thing to expect from someone coming from mac or windows or bsd.





  • good circles and eclipse

    I assume “eclipse” is a typo of ellipse? Anyway, just use the ellipse select tool (keybind: e) to make a selection in the shape that you want, then fill it in with the bucket tool (b). Hold shift while using the bucket tool to fill in the entire selection, ignoring anything that’s drawn inside it. If you want to draw a ring rather than a completely filled circle, use the “border” command from the “select” dropdown menu to replace the ellipse/circle selection with its border.

    how to resize selection by corner

    I’m curious, what is your usecase for this? I’ve never had to do it myself. But if I had to, here’s how I would do it: first, convert the seleciton to a path. Make sure the path is visible from the “Paths” dialog (you have to explicitly show the paths dialog using the “window > dockable dialogs” option. From then on, you can use any of the usual transform tools (perspective, resize, roate, etc) on the path. You just have to select the path icon under "Transform: " in the “tool properties” dialog to make sure you’re transforming the path, not a pixel layer. Once you’ve transformed the path to your liking, you can turn it back to a selection, fill it with color, or stroke it with a brush by right-clicking on it in the “layers” dialog.

    Also, bonus tip: never use the dropdown menus, it’s a huge waste of time. Just press / to pull up for the command palette and search for the tool you need.

    EDIT: I love lovingly ranting about gimp, I can do it four hours on end. I’m not some sort of gimp guru, but I know a thing or two. If anyone has any more questions, feel free to reply to this comment and I’ll do my best to give advice.




  • Jokes aside, LLMs are actually pretty nice, since they lower the barrier to entry for programming. A guy I know has been doing all of his data processing with obscure Excel hacks his entire life. But recently he had to parse a file with like a million or so lines, which would take forever in excel, so now he’s hacking together a python script using ChatGPT and meta ai. And in the process, he’s actually picking up a bit of python knowledge himself. He now knows what lists are, how loops and if statements work, and he even understands “intermediate” features like list comprehension and regex. They said llms would replace programmers, but in reality they’re making more of us lol



  • Gradual typing isn’t reinventing the wheel, it’s a new paradigm. Statically typed code is easier to write and harder to debug. Dynamically typed code is harder to debug, but easier to write. With gradual typing, the idea is that you can first write dynamic code (easier to write), and then – wait for it – GRADUALLY turn it into static code by adding type hints (easier to debug). It separates the typing away from the writing, meaning that the programmer doesn’t have to multitask as much. If you know what you’re doing, mypy really does let you eat your cake and keep it too.






  • renzev@lemmy.worldtoMemes@lemmy.mlIt's all about perspective
    link
    fedilink
    English
    arrow-up
    60
    ·
    3 months ago

    It’s an edit. In the original, the TV screen makes it look like the guy on the left is threatening the guy on the right (the foot looks like a knife). It’s meant to be a commentary on how biased media coverage can essentially reverse the roles of the oppressed and the oppressors. And this edit was made to show how in America, republican media coverage tells people that the democrats are “sucking off” leftists, even though democrats don’t agree on a lot of things with actual leftists in reality. The caption explaining all of that has been cropped of, you’re just meant to know it, which is what makes this meme funny.