• 1 Post
  • 29 Comments
Joined 1 year ago
cake
Cake day: August 6th, 2023

help-circle
  • Hi, I am a building a platform with the goal of supporting apps like this, and I would be interested to develop a plugin for your use-case as an experiment (no fee).

    I am working alone on this and this is not my first priority, so I cannot make any guarantees about the timeline, or the scope of the plugin. But, if you are interested we can have a chat on matrix.

    The project is not open source yet, but I am planning on doing so once (a) I figure out how to properly apply licensing, and (b) remove any potentially critical information (credentials) from the repository.




  • In it, Walz argues that the lessons of the “Jewish Holocaust” should be taught “in the greater context of human rights abuses,” rather than as a unique historical anomaly or as part of a larger unit on World War II. “To exclude other acts of genocide severely limited students’ ability to synthesize the lessons of the Holocaust and the ability to apply them elsewhere,” he wrote.

    What an antisemite, he wants people to learn so such acts of horror never happen again.

    Edit: Obviously, I am being sarcastic, I totally agree with Walz.


  • It depends on the field you are studying. I was into CS, using Linux was recommended because the machines they used to test our code were also running linux.

    Most fields are going to be okay with linux, the only exception being fields that rely on specialized software like architects, engineers, and audio/video editing. Also, some software like MatLab are possible to run on Linux but it’s a pain to set them up.












  • twelve factor app

    Great resource!

    Write database migrations in both directions so people can downgrade on failures.

    Good point. Personally, I take backups before upgrades and restore if anything goes wrong. But, I understand how downgrading sometimes is just easier.

    I have trouble coming up with a migration procedure that makes sense to me. I have the following in mind:

    1. Provide init scripts that produce a schema that matches beginning state of the current major.
    2. Provide major to major migration scripts.
    3. For every major, provide minor to minor migration scripts.
    4. Schema changes require at least a minor release.

    Make it possible to configure your system via ENV variables, ENV files and config files.

    I am bit worried about this one, environment variables can be a security concern. Specifically, I am not sure if I should allow providing secrets (like db connection strings) through environment variables. I am inclined to let people do what they want to, but issue a warning.

    Make it possible to disable authentication to add Authelia or LDAP through the webserver. Make clear that this is only to be used for external authentication.

    I am considering adding support for oauth through keycloak. My assumption is that if you are going to host your own LDAP, you can probably configure keycloak too. Do you think that makes sense?

    Make it possible to run multiple parallel instances of your software without affecting the database consistency, e.g. for high availability or horizontal scaling.

    Ideally, an instance shouldn’t be big enough to need it. I know, famous last words, but in my case I think it’s a bad problem to have. I am going out of scope, but I am wondering where is the line between discouraging large scale deployments and designing something pre-destined to obscurity.

    Telemetry

    Not even on my radar, thanks for bringing it into my attention 🙏






  • souperk@reddthat.comtoProgrammer Humor@lemmy.mltitle
    link
    fedilink
    arrow-up
    18
    ·
    11 months ago

    Most people get over it during uni when everyone is arguing over “X vs Y” language or “vim vs productivity”. At some point you realize how pointless these debates are and continue with your life.

    For anyone wanting to publish their code, remember it’s probably better than most OSS code. If you don’t believe that go read a python or js library:

    1. python’s celery for example has hard coded timeouts on every control operation
    2. react mui has so overcomplicated types that they break webstorm inspections
    3. I once found a typing hack on an python library where they reversed a string in order to conditionally import types only when mypy was running in order to avoid cyclic imports.

    I still love those libraries, use them at my work and will recommend them to anyone with similar needs as I.

    Last but not least, if you aren’t using git something is wrong with you 🤣.