• 20 Posts
  • 986 Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle

  • Yeah, I always plead for as much as possible to be automated offline. Ideally, I’d like the CI/CD job to trigger just one command, which is what you’d trigger offline as well.

    In practice, that doesn’t always work out. Because the runners aren’t insanely beefy, you need to split up your tasks into multiple jobs, so that they can be put onto multiple runners.
    And that means you need to trigger multiple partial commands and need additional logic in the CI/CD to download any previous artifacts and upload the results.
    It also means you can restart intermediate jobs.

    But yeah, I do often wonder whether that’s really worth the added complexity…






  • What I find tricky, is that you’re always describing a work-in-progress. I also wanted it to be useful as soon as possible, so I started building the actual core logic first and documented that part of it.

    But to actually use it, you need several steps before, which need to be documented, but preferably automated or ideally eliminated.
    So, you kind of don’t want to invest time documenting that, because you know it’ll change a lot still.

    And just as well, any quirks you document, it’s always like, okay, but what if I fixed this quirk instead?

    Obviously, one has to strike some kind of balance. Things will never be 100% perfect or final. And I am most definitely lying to myself, when I figure that fixing it won’t take much longer than documenting it. But yeah, it’s just a constant struggle to find that balance…


  • Yeah, this is one of those issues that I feel separates the seniors from the, uh, less experienced seniors. (Let’s be real, as a junior, you know jackshit about this.)

    Knowing when to use an ORM, when to use SQL vs. NoSQL, all of that is stuff you basically only learn through experience. And experience means building multiple larger applications with different database technologies, bringing them into production and seeing them evolve over time.

    It takes multiple years to do that for one application, so you need a decade or more experience to be able to have somewhat of an opinion.
    And of course, it is all too easy to never explore outside of your pond, to always have similar problems to solve, where an SQL database does the job well enough, so a decade of experience is not a guarantee of anything either…


  • Ephera@lemmy.mltoMemes@sopuli.xyz*stares*
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 days ago

    Hmm, is it an ATM where you just scan your card once? All the ATMs I’ve ever used required your card to be physically in the machine throughout the whole process. As soon as you pulled out, it would go back to the home screen until the next person put in their card…





  • Ephera@lemmy.mltoComic Strips@lemmy.worldFaithful
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 days ago

    Personally, I say “there is no god”, because I also say “there is no pink space unicorn hiding behind Pluto”. I don’t know either for sure, but if a kid asks me and I start humming and hawing whether there might be pink space unicorns behind Pluto, then that sends entirely the wrong message.

    So, the difference between agnosticism and atheism is pure semantics to me. I do not claim to know that there is no god. But I assume there is no god until proven otherwise.



  • I do agree, yeah, although I can certainly also understand LISP fans being annoyed that someone created a custom DSL for something that is adequately solved by the LISPs. I’m also certainly not enamored with the Nix syntax myself, but do find it easier to parse than a million parentheses.

    But yeah, ultimately the complexity of Nix and Guix isn’t in the particular symbols you type out. The complexity comes from them being expression-based (which does make sense for the use-case, but isn’t as familiar as e.g. imperative languages), as well as just having to learn tons of modules for the different things you want to configure…


  • Wikipedia seems to do a decent enough job defining it:

    Authoritarianism is a political system characterized by the rejection of political plurality, the use of strong central power to preserve the political status quo, and reductions in democracy, separation of powers, civil liberties, and the rule of law.

    But basically, my point is:

    • If your government represents the people, then it is possible for your people to elect authoritarianism, especially if they are unhappy, like the meme describes, and/or when there’s foreign nations trying to destabilize the system.
    • If your government does not represent the people, then it is likely to devolve into authoritarianism on its own, because individuals or individual groups will want to assume all power and limit the rights of others.

    Basically, my opinion is that politics is a constant work in progress, no matter the political system.



  • Don’t think the original LISP is used much anymore, but there’s various dialects like Scheme, Racket and Clojure.

    Some examples where it’s used, off the top of my head:

    • Lilypond for when you need your sheet music to be turing-complete. Uses Scheme.
    • Emacs, for configuring the whole editor. (Has an own dialect, Elisp.)
    • GNU Guix, which uses Scheme for configuring the entire operating system.

    Obviously, you can also use them for general software development. A few years ago, I read of some project that used Clojure for a larger backend service, with the author gushing all over the place.
    Some folks are really passionate about the LISPs, but yeah, not terribly popular in the corporate world…