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

help-circle
  • Damn why doesn’t git just use sql instead of Merkle trees I guess that’s just stupid tell Linus to get to using SQLite asap!!!

    But no, you’re wrong. Cryptographically verifiable merkle trees are a valuable way to store changing data. Unlike your recommendations, they don’t satisfy the needs of verification, which is literally a great use-case for ssns. Now I’ll admit that the SSN db doesn’t need to be distributed, which is the only thing a blockchain adds to that equation. But you are just flat out wrong for suggesting a sql db 😂



  • Im merely making a value proposition because im an engineer and I’ve had this same exact problem and desire. Call it experience — a static blog is fine since I can build one of those in my sleep, but for me I wanted to post on it when I was away and only had my phone. Now do I put it on my git? A separate notebook that is synced somewhere? I have ADHD—if I want to write I have to write and I can’t just hope to remember it sometime later. Now what’s the point of my blog if I can’t write on it when I need to but simply don’t have my desktop nearby? Also you have to have pay for a CI to do the building anyway for a static site generator, that ain’t free and even if you found a service that provides CI for free you’re just externalizing your costs somewhere else. Laws of thermodynamics still apply. So instead of paying for CI to build your static site, I’d argue just pay for the server rendered site. Why choose to have a 1gb ram build server for a blog when you can just use that server to run the blog.

    And they want federation support. Ghost is working on that as well speak. What static site generator supports federation?


  • dreadbeef@lemmy.dbzer0.comtoSelfhosted@lemmy.worldlightweight blog ?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    9 hours ago

    It costs like $3/mo to host it. If that’s too resource intensive then I don’t know what your limits are. Compute isn’t free—that literally breaks the laws of thermodynamics, no matter what you’re told by hosting services, and ghost does server side rendering and has a dynamic admin dashboard and can even work headless… and it costs less than $3/mo for your own personal open source cms.

    If you need something that costs less then you can just build your own I guess, but how many hours of your time is that worth when you could just be spending $3/mo. If you make minimum wage at $7/hr one hour of work gets you two months of running a website.





  • dreadbeef@lemmy.dbzer0.comtoProgrammer Humor@programming.devstop
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    2 days 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
    4
    ·
    edit-2
    2 days 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.




  • 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.