Just your normal everyday casual software dev. Nothing to see here.

People can share differing opinions without immediately being on the reverse side. Avoid looking at things as black and white. You can like both waffles and pancakes, just like you can hate both waffles and pancakes.

  • 0 Posts
  • 837 Comments
Joined 2 years ago
cake
Cake day: August 15th, 2023

help-circle





  • Because it is. I understand the want for privacy and such, but it still sucks to have a prolonged topic, just to have the OP nuke the parent post which deletes the entire comment tree. I have communities that I have blocked or unfollowed because a good chunk of their posts just get deleted a few days after posting. It makes it hard to want to contribute to the communities due to it.





  • Pika@sh.itjust.workstolinuxmemes@lemmy.worldRTFM is Sage
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    16 hours ago

    In the admins defense. “Closed by peer” can indicate everything from a safe closure to an unsafe closure to a server connection terminating which causes the peer to terminate.

    Like that’s a fair point of confusion.

    What bugs me is when the error says something stupid specific and obvious such as JavaScript heap out of memory or dd: error writing *pathname*: No space left on device


  • Pika@sh.itjust.workstolinuxmemes@lemmy.worldRTFM is Sage
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    16 hours ago

    that’s why any manual worth their salt has a “quick start” section at the beginning (I say this knowing most man pages fail at this or put it at the end which is super unhelpful)

    Just give me common uses and flags, you can have your more indepth stuff at the end


  • Pika@sh.itjust.workstomemes@lemmy.worldRIP Minecraft, I'll miss you
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    16 hours ago

    I hard passed on vintage story. I was looking into the game, took one look at the community and the toxicity on their support forums and went “yep thats a hard pass”.

    IMO the company should really do some cleansing on their starting topics. It doesn’t look good for a game when there’s active toxicity in the community forums arguing over if the game needs to be changed and telling people to get gud and that they didn’t have such things when starting out when they make super basic suggestions like starter equipment, or an actual tutorial.

    They may have fixed that since then since its been a year or two, but that was a hard turnoff for me. A lesser known game needs community support to function and survive. Even minecraft mods have a vast amount of wikis and community support. An actively hostile community on the official community forums is not a good starting POV.


  • the main issue will be if they do a major API update right before they do it. Remember the great “flattening”? We lost many great mods when they did that because of the amount of changes they did to base code while simultaneously changing every ID in the game, while forge was also actively undergoing a major API change in how it worked. So as a result many mods stopped being developed at 1.12.

    If they did a massive API rewrite right before fully ending support for java, the community will either have to accept another divide or completly forgo the new update and stay locked on the previous.


  • Pika@sh.itjust.workstomemes@lemmy.worldRIP Minecraft, I'll miss you
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    16 hours ago

    that is correct, you can use Geyser to allow bedrock to join java players. For console or any bedrock client that lacks the direct connection with servers you need to also do some DNS shenanigans on the client where you use a jumper server to jump to the server you actually wanna join though.

    I also recommend something like floodgate for authentication so you don’t need to have the server in offline mode or have the player need both a java and a bedrock account

    edit: I forgot to mention, keep in mind that this is still using JAVA edition as a backend. So when there is feature disparity between bedrock and Java, the java mechanic is what takes precedence. The biggest whiplash for bedrock vs java is usually the fact that java edition minecraft has the stamina system for attacking, so you can’t just button mash to attack or you waste durability and have lower attack damage.


  • Pika@sh.itjust.workstoAsk Lemmy@lemmy.worldWhy did you join Lemmy?
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    3 days ago

    I joined when reddit killed third party apps, and then compared the existing volunteer mod teams that was following what their revolting user-base wanted, to a landed gentry while also threatening to reopen closed reddit’s that had voted via their user-base to close in regards to this protest.

    I came across the link in a protest forum, saw the general flow of tech based things and decided to give it a try.



  • Is the main issue that you are using test and extra indentation with fish? Like, does this help?

    yes that is better, I do like the clearer differentiation on what is a command vs part of the flow control. I do find that using [] or [[]] is cleaner looking than using the standard test command, but the main point of it was showing the flow; functions having a beginning { and an ending }, conditionals clearly using if to mark the beginning, ; then to mark when the conditional portion of the flow ends and the processing portion begins, and the fi to indicate when the processing portion ended. Flow control statements like that. Could I be able to decipher it manually like I have to with python? yes, but it’s just something that as a personal preference I would prefer not to do if avoidable.

    its easier to let me know that the previous line wasn’t done, and that I should be expecting the conditional to continue instead of start to work on the next line. The most noticeable would be with really long conditionals, I think its nice since bash and fish don’t use {} outside of functions to indicate open and close like other non-tab oriented languages. Moving longer lines to dedicated functions works well but doesn’t help when the entire conditional is related so it would just be in the main function block instead.

    It’s a very subjective thing, definitely more of a minor thing since I already have to deal with it with tab oriented languages on the rare occasion I deal with them. My main issues with it were definitely was the lack of usage leading to fewer examples and documentation on how it worked, and then the piping issue was just the final nail in the coffin that made me drop it.

    Maybe you are thinking about fish more as a programming language? Whereas I’m thinking about it more like a series of commands (I guess more like a “purer” scripting language of sorts)?

    Yes, that is likely the differentiation. I understand that bash is more command based but, I do a lot of stuff in java, node and Rust, and those all have clear differentiation of start and end (although rust’s can be a pain at times)


  • I would describe windows Office as a combination Spyware Malware. It actively collects data on you using obscure means, in an attempt to prevent you from knowing how it’s collecting it. It will also actively change your settings without your knowledge. With recent updates I would even classify it as potentially adware as well, since they mentioned adding advertisements to the start menu and explorer. since they hard push their office products.

    Honestly, with the fact that it also now force installs software against the users will on updates, the argument could be made that it’s slipping into trojan territory as well, it’s just lacking the backdoor access, but since they are hard pushing MS account authorization for login, I guess you don’t really need a backdoor when if you wanted to you could just force a password change and be able to login via the native login system.

    edit: I thought this post was based off MAS as in to activate windows, I just now realized it was MAS for office activation. I still think that the same applies, just not the trojan aspect. I have edited it to reflect it.


  • I find that fish

    function foo
        if test "$foo" = 1
          echo "found"
        else
          echo "not found"
        end
    end
    

    vs bash

    function foo () {
      if [[ "$foo" == 1 ]]; then
        echo "found"
      else
        echo "not found"
      fi
    }
    

    is a downgrade in flow comprehensibility. Like I can see why it could be easier to read, but I prefer not having to analyze where statements, conditionals and functions begin and end. It’s very similar to how python works, and I disliked that in python. At the end of the day flow layout is subjective so you may or may not agree, but thats my mentality on it.

    As for the piping example, I don’t have that snippet available anymore. I eventually remade the code from scratch and when I did I got rid of zenity as a dependancy which removed the need of having the pipe. It was a wget pipe into sed into zenity in order to use a progress bar for the download, and fish did not like that pipe at all, I’m not sure if it was because it was multiple pipes or if something else underlying was happening, but I could take that same pipe sequence and throw it into bash and it would function no issue, but with fish zenity wouldn’t give progress updates on it, so it was modifying the pipe somewhere.

    Bias wise I wouldn’t say I was bias towards bash, I tried fish after recommendation from a friend because I hadn’t heard of it, and I had a bad experience. I moved to ZSH instead of going back to bash after all. I just found it easier to use over fish, and it was easier to research into issues when problems arose as it has a larger user-base and remained POSIX compatible (mostly). To me it made no sense to re-invent the wheel via fish. I’m sure fish had it’s advantages. I just didn’t see any during the week I was trialing it.


  • You mean its if and switch statements? For and while loops? Just like bash and zsh has?

    No i mean the flow in general. It’s ugly and not transparent when compared to bash or any other language

    the lack of indication where it starts to where it ends

    Yes and no, I mean how it chooses to start and end, there is no punctuation, it seems to emulate a tab oriented language without being a tab oriented language.

    Piping something “via the function layout”? I’m not even sure what that means. I’d love to know more if you would.

    Two separate complaints, I dislike how they manage functions (but yes bash does similar on this case). Piping and redirecting are badly implemented and what would be an accepted pipe in ZSH or Bash will fail in fish. I made a script that had to pipe a file via wget and it wouldn’t function unless I used a pager which wasn’t needed in Bash or Zsh and wasn’t documented as a requirement anywhere on their piping or redirection documentation. Took me almost an hour of troubleshooting why the command was failing and how to fix it due to it.

    I mean… It took me like an hour to read through the documentation, and all the syntax is so small you can memorize the entire language.

    Maybe this has changed since I last tried about a year or two ago, but last time I tried to read the documentation it sucked hardcore and lacked examples of more advanced parts of the shell.

    It kind of sounds like you were fighting fish rather than it fighting you, every step of the way. That sounds absolutely crazy compared to my experience.

    I would rather take the path of least resistance for a program, with fish it had way too much resistance trying to use it, so I went to the path that had a lesser resistance, which was ZSH, and then just proceeded to add fish’s core capabilities to zsh. This let me use a scripting language that has a lot of documentation and examples to assist in learning, while having the benefits of the shell. Plus it lets me actually share the scripts with friends because it’s already hard to find someone on linux, and its even moreso difficult to find someone who uses fish shell.