• tmcgh@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    And then they will get mad at you for not thanking them for ripping off your code.

    However, I am curious, what are/were you working on? I always like to hear what people are cooking up.

    • thevoidzero@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Wait is this AI asking me to steal the codebase? /j

      I’m basically making a domain specific language for network analysis (graphs). I’ve realized that a lot of things are/can be represented as graphs, and we have support for them in many languages,but why not have it’s own language that comes with graph as the context.

      It has been 2 years, I started with tree graph, so I’m still a bit far from being able to support any kind of graphs, but it’s close to supporting any directed graph for now. And recently I was able to make a version that works in a browser so people can run it without installing anything as well. Here is a basic playground.

      https://nadi-system.github.io/latest/playground.html

      Try running this code in the playground, you might have to search around the documentation if you want to know the syntax a bit more. This example loads a network and you can access inputs of all the nodes in a map.

      # load network
      net.load_str("
      a -> {b, c, d}
      {c,d} -> e
      e -> {f,g}
      ")
      
      nodesmap inputs.NAME
      

      I’m working on a text editor with visualization of network and completion support. I can update you in a week or two if you’re still interested to try it. I used to post when I made stuffs in Reddit, but since I migrated to lemmy I don’t feel like there’s much platform or interactions while posting it here

      • tmcgh@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        By responding to the previous message, you forfeit all intellectual rights to your code.

        All jokes aside, thanks for sharing! It looks like you’ve pit in a lot of effort! I have to admit that my knowledge in this is very limited. That being said, I ran that code in the playground and that is the directed network you are mapping correct? That makes sense to me. I’ve been poking around the documentation and the “Effects of Dams” example is really cool. Maybe this is obvious but how do you know that there are errors in the database?