• 0 Posts
  • 117 Comments
Joined 3 months ago
cake
Cake day: December 18th, 2024

help-circle


  • dreadbeef@lemmy.dbzer0.comtoProgrammer Humor@programming.devstop
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    5 hours ago

    Okay but partial application of curried functions is a really cool way of doing dependency injection and you haven’t experienced bliss until you create a perfect module of functions that are exactly that

    Also languages with macros and custom operators (where operators are just functions with special syntactic sugar) are so much cooler than those without (Clojure and elixir my beloved)

    Additionally a system where illegal states are made impossible is soooo nice to work in. It’s like a cheat code


  • dreadbeef@lemmy.dbzer0.comtoProgrammer Humor@programming.devstop
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 hours ago

    Not really, it’s just good practice. You write your application in layers, and the outer layer/boundary is where you want your side effects and that outer layer takes the crazy effectful world and turns it sane with nice data types and type classes and whatnot and then your inner layers operate on that. Data goes down the layers then back up, at least in my experience with functional projects in OCaml, F#, Clojure, and Haskell.

    The real sauce is immutability by default/hard-to-do mutation. I love refs in OCaml and Clojure, so much better than mutation. Most of the benefits of FP are that and algebraic data types, in that order imo.





  • Queer used to be a slur (and still can be) and before that it had a different meaning, but it has since changed again to be reclaimed by those it was intended to hurt. Words change, of course, but that must mean they can change back too. I’m not saying we must take the word back, mind you, I’m only suggesting it. I personally think it’s a good idea but I’m not gonna make anyone who doesn’t want to do it. I also am very aware of the challenge to reclaim it, I only brought it up because it was relevant to the thread. Penn Gillette is most likely a left-ish libertarian and doesn’t even know it, but obviously no longer associates with the term for understandable reasons. I am wishing he didn’t have to abandon the term libertarian and instead wish American society was able to comprehend left libertarianism.


  • Trust me I’m very well aware of the libertarian party and its various caucuses etc. They’re part of the problem.

    I still think the root word of liberty has meaning to Americans that can make it easy to grasp anarchist socialism, even if they don’t fully buy in to the anarchist part. As long as Americans don’t associate it with communism or socialism they can often buy socialist anarchist ideas. It’s stupid, but it is what it is


  • The problem is liberals don’t even grasp the concept of a left libertarian. It’s an oxymoron to a liberal. They immediately assume you’re a right winger unfortunately in America at least. Then you have to just say you’re a socialist and then they think you want to put them in the gulags. Then you say well I’m the anarchist kind and then they think you’re going to kill them for liking money or something.

    My primary complaint is liberals believe the right when the right try to say what libertarian means, and I think liberals should instead be educated on the word but they are often can’t be convinced , and it’s often too much energy to even try.

    (I’m including the modern liberal and conservative in that definition of liberal).


  • I still think the word libertarian should be reclaimed by the left. Fuck the ancaps who took it. Westerners are too scared of it, despite it originally meaning a socialist. Places where white peopl aren’t the majority have no issue with the word. My Filipino family understand that liberty is just another word for freedom, but think socialism is just state communism. Socialists will never win against capitalist propaganda without violence. Too many people hate anarchists and “socialists” but are not at all afraid of the principles of anarchist socialism. It needs better branding, and the word libertarians was literally designed for that. And the ignorant western liberals believed them and hate the word libertarian because of it instead of being educated.


  • Gonna be honest, never used ffmpeg for images lol. I often take images from PDFs that have transparency (rpg books to import into my vtt) and they come out of pdfimages with an opaque greyscale alpha mask and an opaque image. I found it easy to apply the mask with imagemagick, though. Ffmpeg can probably do it but just never had a use case. I just use cwebp to convert because that’s my primary use-case: converting pngs to lossy webp files and cwebp is good enough for me for that:)



  • Im recommending them to anyone who wants free software and is willing to invest their time into understanding how to do things for free and without concern over their data. If you aren’t willing to invest the necessary time it isn’t for you and that’s why I said it. It’s okay if these don’t work for you. That’s valid. But it does, in fact, work for many others who are not you.

    I mentioned the manual because you claimed you didn’t know what the commands do. If you read and take the time to learn the manual like you said you can do, you will, in fact, understand how the commands work. Additionally, this is public forum, my post may have been a reply to you but I understand other people may read my comment. Other people may have your frustrations but are not aware of the manuals that tell them exactly how the commands work. It only takes a bit of elbow grease, perhaps people other than you are willing to apply it?

    I’m not sure if you saw it, but I did mention a gui application for converting files. I admit, I don’t use it, but many people also save a lot of money using it, so it might be helpful. I have no idea if it’s useful for your needs though.

    Here’s “ffmpeg in 100 seconds” https://youtu.be/26Mayv5JPz0

    Here’s a video on ffmpeg and imagemagick: https://youtu.be/sKBM4M-kuCg

    Additionally, you can just learn how to read man pages: https://itsfoss.com/linux-man-page-guide/

    There’s a neat little guide that’ll help you learn how to read documentation.

    Once you’ve read through that let me know what confuses you about documentation.