• 1 Post
  • 64 Comments
Joined 1 year ago
cake
Cake day: July 20th, 2023

help-circle

  • That’s beyond my experience but I would say functional languages can perform similiarly.

    I suppose - and honestly do not know if - aggregation is done via synchronization into some persistance unit.

    Therefore I would eypect that a functional language like Elixir, Lisp etc. would outperform a language with manual memory management in terms of maintainability.

    Depending on the capabilties of packing structs into close memory or traceability and elaboration of compiler it may outperform single or multi-threaded.

    Though outperforming recent JREs may be hard, since they may trace hot paths. Default configuration Java vs. a proficient developer of a functional language I assume that latter at least go even.

    But I can’t judge. Even on the repository of said program I did not even bother to look at the contents of the gradle.build or Dockerfile to be honest.

    I do think that maintainability of functional languages, when only the common denominator between any functional language is used, is better to spaghetti Java source code. But that’s another issue, right?

    // edit: Spaghetti Source Code is a good thing in my opinion. And sincr I did not adsress your question directly: A proficent developer is more likely to write faster Java then functional code, since Java is just a layer above C with one of the best compilers there is. Functional languages require carrying some non-neglectable knowledge of the compiler to make use of the fastest paths through the code. On the other hand Java is just ALGOL-Syntax and therefore imperative; Which translates more easier into *.asm.

    // edit2: Synchronization into some db isn’t depending on the nature of the language but there may be overhead where some concepts of languages simply perform better. So I would expect that transitions from some interpreted language is slower then compiled languages. Note that even though Java belongs to the former it is conceptually compatible with the latter. I’m out. You called me out. I’m a still a newbie. Had to append so much.


  • There is Sublink but it’s written in Java, I don’t think I want to deal with Java’s runtime environment.

    Don’t hate Java just for the sake of it. According to the repository they ship a Dockerfile and use gradle to build it. Everything should be abstracted for you.

    When comparing environments for a program between Java and Python you should probably prefer Java’s. Years of experience and build from the ground up for enterprise deployment. Python module system is hacked together. It ain’t even be fair for python to compare itself in this regard.

    Also this project is spot-on within Java’s main territory. It makes absolutely sense to me to use Java for such a program.

    Plus monitoring/maintaining a Java application is way better then any python program.





  • I think he’s coming from here:

    As an developer you create a solution to a problem from yours. You release it under a FOSS license.

    Your job is done - You shared your work. The community may find your project useful and builds upon it. Their interest is to get their changes upstream. You have no obligation to help with onboarding and implementing features for others.

    So if they are requesting a merge you may reject it since it does not meet your standards. Maybe you have to make your stance clear and create a CONTRIBUTION alongside your code.

    With this mindset you wouldn’t hang out on a non-indexable platform.

    Your project mostlikely is requesting explicit participation. Maybe this is the point in between you guys.

    Now go on with the discussion :)



  • mryessir@lemmy.sdf.orgtoLemmy@lemmy.mlDocumentation for writing Lemmy Plugins
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Plugins may introduce some risks imo. Non-standard behaviour may be a b*tch.

    E.g. the idea of a plugin which posts tags:

    How are these elected and shares across instances? And displayed on clients? Are they modifying the actual data written by the user in order to sync?

    Maybe they are attractive to admins. But they can mostlikely already query and modify the database, right?

    I do not want to be against it just mentioning that it may introduce problems on its own which in turn needs to get adressed. E.g.: When multiple plugins do a task at the same hook; How is the ordering managed? When are transactions committed? Should there be a maximal amount of time spend on plugins at some hook? How are resources shared then?

    Let’s think about bad actors: Meta deploys provides a plugin which compresses and decompresses post content and saves plenty of ressources for the admin. After a couple of years they put it to the grave or change the compression methods such that old posts cant be retrieved. But their instance surely still can access those.

    I admire beeing lean. Had some projects where bad plugins raised in popularity and become the defacto standard. But they were resource-hungry and badly written or barely maintained. Workarounds spread back to the original program.

    Just looked the first time into the lemmy code and it appears to be very neat and clean. I would recommend to stick to it. But then I am no maintainer and a nobody shrugs

    //edit: To me plugins are good to aid customization and enlarging the user base. I do not see how this contributes to the fediverse and instances in the long run.


  • Why a regex? What do you actually want to filter out? Could it be descriminating?

    Do you want to prohibit specific phrases? What abt dfrnt spllngs?

    The original comment I replied to did not include considerations about future extensions.

    So my - downvoted - comment is even more relevant. There are more important things to put valuable manpower on it. centsdroppedandleave

    What U C is What U Get, huh?


  • mryessir@lemmy.sdf.orgtoOpen Source@lemmy.mlit is what it is
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    2 months ago

    I see where you came from.

    There are people submitting code with wrong licenses or no attribution. There are people just submitting for the sake of submitting - I dare github profiles for this. There are people who could need some feedback on their code, so that future contributions have better quality.

    And it can be very burdensome for a maintainer, assuming he maintains within its free time, to perfectly communicate and elaborate on each contribution.

    Also, maybe the project has a feature freeze because in the aimed architecture the same solution would be implemented externally.

    Its just not that simple and people generalizing or concluding too fast are mostlikely in the wrong. Bad PR travles faster and further though.