• 0 Posts
  • 54 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2024

help-circle

  • i understand your point, i just don’t agree with it. I don’t need Counter-Strike to change the sameway i don’t need a specific boardgame to change. the fact that counter-strike is pretty much unchaged for over 20 years is what allowed it to develop the depth it has as a competitive game, that’s what makes solid tactics and individual skill important because i can’t abuse a new poorly understood mechanic, that only exists for a month. CS core is so solid that we could even play the same unchaged maps for another 20 years and would gradually play them differently year over year. i know this, because we did.

    change for the sake of change is the biggest issue of live service games, if you ignore the stupid monetization schemes, sooner or later they all devolve into a barely recognizable mess.




  • I am playing almost exclusively in linux since 2012 (diablo3 came out, it worked on Linux, i sank an ungodly amount of hours into it.) the only thing that made me reinstall windows was to play counter-strike go on faceit, because their client did not work on linux.

    proton made so much, so much easier that it almost became frictionless to play on linux. wine made huge strides before, but it never was so smooth before proton.

    what often was a problem where laptops with dedicated and integraded graphics cards, or nvidia cards on rolling release distribution often having issues after kernel updates, which is why i was on fedora for a long time, because there the akmod stuff worked better in my experience.

    overall: when it works on the deck its almost guranteed that it runs just as easy on other linux distributions, maybe don’t pick a rolling release distro if you have an nvidia card, and most of the time you can forget about the fact, that you are gaming on linux.




  • I have read about this related to how FB does it. In general this means that fetching from the DB and keep it in memory to work with right? So we assume that the cached data is outdated to some extend?

    correct, introducing caching can result in returning outdated data for awhile, which is usually not a huge deal. those caches can get tricky, but they should take pressure from your db, if you’re scenario is read heavy, which is often the case. Research existing caching solutions before running ahead and implementing something from scratch, especially if you need a cache distirbuted between multiple instances of your service. In the Java world that would be something like Infinispan, but your ecosystem might over better integration with other solutions.

    I was able to convince management to put money into a new server (SSD thank god). So thank you for your emphasizes. We are also migrating to PostgreSQL from SQL server, and refactor the whole approach and design in general.

    having management on board is great and the new hardware should help a lot, migrating to another RDBMS sounds scary, but probably worth it if your organisation has more expertise with it.

    generate indexes

    they won’t help you with your duplicates, they will help speed up your reads but could slow down writes. building a good index is not trivial, but nothing is when it comes to performance tuning a database, it’s tradeoff after tradeoff. The best way to handle identical rows of data is to not write them usually, but i don’t know your system nor its history, maybe there is or was a good reason for its current state.



    • spent time to generate/optomize your indexes.
    • faster storage/cpu/ram for your rdbms
    • get the data needed by specific services into the service, only get the data from a central place if you have to (spinning up a new instance, another service changes state of data you need, which is a warning sign in itself that your architecture is brittle…)
    • faster storage/cpu/ram
    • generate indexes
    • 2nd level cache shared between services
    • establish a faster datastore for often requested data thats used by multiple services (that might be something like redis, or another rdbms on beefier hardware)
    • optimize queries
    • generate indexes
    • faster storage/cpu/ram



  • oh, i was not aware that there is a head first just about desgin patterns, thanks for the heads up.

    And Archicture is something that gets more and more important for devs, because it’s likely that the code we write is just a part of a complex system of which we don’t control every part and understanding communication channels and the reasoning behind the setup of the system allows us to write our part in a way that it works well in the bigger thing and not something others (or worse, we) have to work around later.


    • Refactoring by Martin Fowler, having patterns to help identify parts of code that could be changed for the better helps a lot.
    • Test-Driven Development with Python, because testing is important and you should atleast have tests in mind when writing you code, even if you dont write them first. I like this one, because it’s very hands-on.
    • Head first java by Sierra and Bates, good introduction to programming with languages that offer object orientation and not as dry as the gang of four book, but definitely aimed at beginners
    • Fundamentals of Software Architecture by Richards and Ford, working as a programmer often means talking with big picture people or being one yourself, and they have their own strange language.
    • Domain Driven Design by Evans, for a similiar reason as Fundamentals of Software Architecture.
    • Neuromancer by William Gibson, because fun is important ;)





  • not an authentik user, but after skimming their docs i think you have to:

    1. create a role “ocisAdmin” via authentiks admin interface
    2. give this role to a group in the admin interface or create one.
    3. assign a user thats supposed to be an owncloud admin to the group

    it might be that you also have to define somekind of mapper to include this in the informations owncloud receives from authentik, but as i said i only skimmed the docs and would personally just try it without the mapper.