Plutus, Haskell, Nix, Purescript, Swift/Kotlin. laser-focused on FP: formality, purity, and totality; repulsed by pragmatic, unsafe, “move fast and break things” approaches


AC24 1DE5 AE92 3B37 E584 02BA AAF9 795E 393B 4DA0

  • 1 Post
  • 27 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle
  • demesisx@infosec.pubtoTechnology@lemmy.mlDon’t Get Fooled Again by Crypto
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    2
    ·
    edit-2
    2 months ago

    For those reading, don’t buy into whatever this dude is selling. It’s a purposeful misrepresentation of the ideology.

    😂😂😂😂

    brainwashed identity politics sheep

    Please, educate me. Where did I misrepresent anything? I simply defined fascism then added some links that clearly support my hypothesis. Your rebuttal was , “don’t believe this person. Believe me even though I offer absolutely no rebuttal in the form of facts.”

    Did you not go down that list and see that it ALSO closely resembles the establishment Democrat MO? Or are you going to pretend that you did?

    For those reading, think for yourself. This person is actually terrified that you will realize that this country has two fascist parties and that you actually have no voice at all if you’re a leftist. 😂😂😂.

    Ps. Thanks for the biggest laugh I’ve had today. What will you do when the impotent candidate that the DNC is running loses? (Just so it doesn’t blind-side you: Kamala’s going to lose and it won’t be because of sexism. She can’t even pretend to have any authenticity whatsoever…and most of her allies even know that.) We’ve had three presidential election cycles in a row where the DNC said, “the voice of the left doesn’t matter. We’re going to install our most blatantly corrupt candidate rather than allow democracy to speak through a fair primary and then shame the voters into voting for this unelected candidate instead of trying to represent the left wing of the political spectrum.” And you eat it up and ask for more!

    Our oceans are boiling and our world is crumbling as a result of rampant regulatory capture, runaway corporatism, and the corruption of our leaders and here you are fighting tooth and nail the people trying to wake you the fuck up to that fact.


  • demesisx@infosec.pubtoTechnology@lemmy.mlDon’t Get Fooled Again by Crypto
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    edit-2
    2 months ago

    Fascism:

    Fascism (/ˈfæʃɪzəm/ FASH-iz-əm) is a far-right, authoritarian, ultranationalist political ideology and movement,[1][2][3] characterized by a dictatorial leader, centralized autocracy, militarism, forcible suppression of opposition, belief in a natural social hierarchy, subordination of individual interests for the perceived good of the nation or race, and strong regimentation of society and the economy.[2][3] Opposed to anarchism, democracy, pluralism, egalitarianism, liberalism, socialism, and Marxism,[4][5] fascism is placed on the far-right wing within the traditional left–right spectrum.[6][5][7]

    I’m guessing that I have to wake you up and inform you that these things are happening with BOTH Democrats and Republicans in office. The only difference is the branding and which specific corporations benefit from having their team capture regulatory agencies. Case in point: try speaking up about the genocide happening in Palestine and watch yourself be either prosecuted or fired for “antisemitism” or try speaking up about the militarized police training facility in Georgia referred to as cop city. These are things Biden and Kamala enthusiastically support. In fact, I’d call cop city Kamala Harris’s raison d’être.

    Further reading: https://en.wikipedia.org/wiki/Anti-BDS_laws

    Here’s a Kamala speech dripping with what I would characterize as FASCISM: https://youtu.be/McK8bPR8pzU?si=nVLjs5SjYfogmYTF

    Oh look! Yet another example of fascism: https://www.congress.gov/bill/118th-congress/house-resolution/845

    Edit: imagine downvoting this comment. I guess it’s something that the people who think Kamala is the only thing standing in the way of fascism don’t want to hear.



  • demesisx@infosec.pubtoTechnology@lemmy.mlDon’t Get Fooled Again by Crypto
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    3
    ·
    edit-2
    2 months ago

    You got a chance to participate in Democracy/vote in the DNC primary this year? That’s crazy! How did you do it?!?!?!?

    Did you cast a vote for Kamala Harris? That’s super interesting!!!

    Here I was thinking that they just installed her as the new candidate while not holding a primary because she is so unpalatable to EVERYONE that she couldn’t have possibly won a primary against ANYONE. It certainly can’t be because they intentionally tried to run a pile of barely living bones and flesh who has been pretending to run the country and has had severe dementia since 2016 because of TRADITION and finally had to admit it because even the brainwashed libs were starting to question who was behind the curtain.


  • demesisx@infosec.pubtoTechnology@lemmy.mlDon’t Get Fooled Again by Crypto
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    6
    ·
    edit-2
    2 months ago

    I can’t imagine being braindead enough where you read that and thought I have made a decision. Did you even read it or did your shitlib dog whistle brainwashing kick in and cause you to reflexively/involuntarily smugly chime in here?

    neoliberal clap back

    The subject of the article was crypto. It’s a subject that I know a ton about. I spoke truthfully about how each of the pieces of shit that we’re expected to cast a vote for are aligned in regards to impending fascism.

    Edit: actually I accidentally deleted my other comment. Our discussion wasn’t THAT infuriating. I just want to express my opinion without someone jumping down my throat as a Trump supporter or reflexively downvoting me. Truth be told, I hate Trump very much but understand that it’s the power vacuum and corruption on the “left” that has allowed Trumpism to gain a foothold in the US.



  • demesisx@infosec.pubtoTechnology@lemmy.mlDon’t Get Fooled Again by Crypto
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    2
    ·
    edit-2
    2 months ago

    Problem is, for the smart contracts to run, someone needs to profit. If crypto was stable (stablecoins) no one would have any incentive to mine or run a stake pool. Investment/greed is literally the oil that this machine runs on. It’s just a new way of paying for computation. Our current system also runs on greed. It’s just that only one party benefits from running one server.

    We already pay for server time. Now, we can pay for server time and the payment goes to many small actors rather than one rich server farm operator.

    The truly decentralized projects (non scam projects) have already achieved this and then some…it’s just that our media has a tendency to zoom in on projects that did violate trust while others hum along without a single blip, truly decentralized. They like to highlight the scam projects because our media is owned by banksters and people that benefit from the dollar. They seek to edge out their competition and love to conflate scam projects with all crypto projects. However, the reality is that there are currencies other than the dollar that I’d rather have my money stored in because I live in a country that may not exist in 20 years and I want my belongings not to be within reach of the banksters that fuck me at every opportunity.

    Scams: Funny thing is, I’ve never been scammed in the crypto world. You know how I did it? I could tell which projects were a scam from a mile away.

    There are four questions you have to ask yourself: 1.) is this project TRULY decentralized? 2.) is this project open source? 3.) were the initial tokens allocated only to insiders? 4.) are they promising a return on investment?

    FTX wasn’t even decentralized. Two seconds of vetting/research caused me to stay miles away. Terra Luna as well. They weren’t even remotely decentralized and the protocol was closed source. Whoever looked at the insane, promised 30% ROI/Y from Terra Luna and believed it wasnt too good to be true deserved to be scammed.


  • demesisx@infosec.pubtoTechnology@lemmy.mlDon’t Get Fooled Again by Crypto
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    13
    ·
    edit-2
    2 months ago

    To paraphrase: “Just because Kamala Harris is literally a puppet of banksters who want to convert the dollar to a CDBC and prosecute any potential competition (real crypto projects that are actually decentralized), allowing the government to revoke your money any time they want, you should still vote for her because Trump and Kennedy bad.”

    If the big banks had their way, any company working on crypto will either dissolve or leave this country for fear of being the next target of the bankster’s attack dog, the SEC.

    This article says that you should vote for Kamala Harris because she isn’t the corrupt hucksters Trump or Kennedy. Honestly, I don’t think any of our choices are appealing in the slightest.

    People tell me that Trump will bring about fascism. I agree. However, I also posit that what we get under this crop of Democrats is just another flavor of fascism (flagrant corporatism perhaps?) where CDBC’s (the digital dollar) are forced upon us while the SEC attacks truly decentralized projects with integrity, calling them “securities” just because they invade on the territory of their impending (and VERY centralized, fascist) CDBC.



  • demesisx@infosec.pubOPtoProgrammer Humor@lemmy.mlPrincipal Skinner on Immutable Distros
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    2 months ago

    I think some of these replies have perhaps missed the powerful idea that made me fall in love with Eelco Dolstra’s idea. Here’s what won me over.

    For example: THE main feature is that you could have a different version of say Python (for the sake of this example) installed for each dependency in your system. Let’s say you had Brave working with one version of Python and another piece of software needed a previous version of Python. In an FHS style system, this would be challenging and you’d have to manually patch things to make sure the dependencies didn’t step on eachother. When you updated, your patches would likely have to be changed as well. So, system administration and updating can really break things.

    In a Nix store where things can be content-addressed and linked by symlinks to their specific dependencies, they would just work alongside each other due to their unique, hash based folder locations. Each folder in the Nix store is named based on the sha256 hash of that piece of software’s ENTIRE dependency graph, which has powerful implications.

    Because of this hash, they’re effectively hermetically sealed from each other and cannot step on each other. The software in the Nix store talks to eachother through symlimks that were made upon compilation of the system.

    This is the very definition of Nix and taken far enough to define a whole OS is SUPER powerful concept.


  • I’d actually argue the opposite in regards to clutter. If I switch to a new config without the software I don’t want anymore, that software goes away entirely when I do a garbage collect and there’s nothing left over like there might be in ‘’~/.config’’ on a non-immutable system.

    IMO, the actual realization of Dolstra’s dream is flakes and home manager. They allow you to boil your whole config down to a git repo where you can track changes and rollback the lock file if needed.

    I find it nice to open my config in an IDE and search by string inside of my config where I can comment out whatever I don’t need. Laziness also makes that pretty convenient too. Nix will only attempt to interpret what is accessible in code. If I comment out an import, that whole part of the config seamlessly shuts off. It’s quite elegant.

    I’m even more envious of the atomicity of GUIX but IMO, it’s a little too much building the world from scratch for a newb like me.


  • I HIGHLY recommend forking a nix-config that uses flakes, home-manager, and whatever window manager you prefer. Since Nix is so versatile (and the documentation of flakes and home-manager are BAD), I found it absolutely crucial to reuse a well-architected config and slowly modify it in a VM to sketch out my config until it was stable enough to try on a real machine.


  • demesisx@infosec.pubOPtoProgrammer Humor@lemmy.mlPrincipal Skinner on Immutable Distros
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    2
    ·
    edit-2
    2 months ago

    Clearly, it’s not a skill issue with you but with the dude that inspired this, my assessment was that he was flat out unwilling to learn and flat out unwilling to acknowledge that there er clearly some benefits to this way. Seems like you already grasp it but don’t feel like committing the time. I respect that much more than the blind dismissal that inspired my meme. ✌️



  • nd of interesting shit you can do in Nix, at one point I had zfs and ipfs entries in one of my configs. I got away from it all before flakes started to get popular.

    I tried it as a docker host; the declarative formatting drove me around the bend. I get a fair bit of disaster proofing on my docker host with git and webhooks, besides us

    I suspect that the whole Docker thing will improve exponentially now that Nix is on the Docker’s radar. I found the OCI implementation to be superior to the actual Docker implementation in Nix…at least for now. I think the way that Docker isolates things to layers is the biggest barrier to them working together seamlessly at the moment…but I think they’ll start to converge technolgically over the coming 10 years to the point where they might work together as a standard someday.


  • to try to replicate my current desktop in an immutable model, it would involve a lot of manual labour in scripting or checkpointing every time I installed or configured something, to save a few hours of labour in 2 years time when I get a new drive or do a full install.

    If you have only one system, you might find the benefits not to be worth the bikeshedding effort.

    However, I suspect that you’d be surprised with how easy it can be using home-manager. I have literally nothing that I need to do to a newly compiled NixOS system from my config because EVERYTHING is declared and provided inside of that config.

    If you don’t mind, can you give me an example of something in your config that you think is impossible or difficult to port to the Nix style? I’d be happy to attempt to Nixify it to prove my point. I’ve pretty much figured out how to do everything in the Nix way.

    and I don’t mind if I end up being incredibly wrong on this point and promise to be intellectually honest about it if I am indeed wrong. It just sounds like a fun exercise for me.


  • demesisx@infosec.pubOPtoProgrammer Humor@lemmy.mlPrincipal Skinner on Immutable Distros
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    edit-2
    2 months ago

    for a user that isn’t trying to maintain a dev environment, it’s a bloody lot of hassle

    I agree but I prefer it to things like ansible for sure. I’m also happy to never have to run 400 apt install commands in a specific order lest I have to start again from scratch on a new system.

    Another place I swear by it is in the declaration of drives. I used to have to use a bash script on boot that would update fstab every time I booted (I mount an NFS volume in my LAN as if it were native to my machine) then unmount it on shutdown. With nix, I haven’t had to invent solutions for that weird quirk (and any other quirks) since day one because I simply declared it like so:

    {
      config,
      lib,
      pkgs,
      inputs,
      ...
    }: {
      fileSystems."/boot" = {
        device = "/dev/disk/by-uuid/bort";
        fsType = "vfat";
      };
    
      fileSystems."/" = {
        device = "/dev/disk/by-uuid/lisa";
        fsType = "ext4";
      };
    
      swapDevices = [
        {device = "/dev/disk/by-uuid/homer";}
      ];
    
      fileSystems."/home/mrskinner/video" = {
        device = "192.168.8.130:/volume/video";
        options = ["x-systemd.automount" "noauto"];
        fsType = "nfs";
      };
    
      fileSystems."/home/mrskinner/Programming" = {
        device = "192.168.8.130:/volume/Programming";
        options = ["x-systemd.automount" "noauto"];
        fsType = "nfs";
      };
    
      fileSystems."/home/mrskinner/music" = {
        device = "192.168.8.130:/volume/music";
        options = ["x-systemd.automount" "noauto"];
        fsType = "nfs";
      };
    }
    

    IMO, where they really shine is in the context of declarative dev environments where the dependencies can be locked in place FOREVER if needed. I even use Nix to build OCI/Docker containers with their definitions declared right inside of my dev flake for situations where I have to work with people who hate the Nix way.


  • I really didn’t declare myself the winner. IMO, I won’t have to when the software will do that when this way of working usurps container-style development as the de-facto standard.

    As an actual old man who was able to adapt, I simply pointed out that OP sounds like an old man, unable to acknowledge an obvious trend where immutable systems are clearly gaining popularity and are seen by many as the correct way to provision a mission-critical system.