• 0 Posts
  • 224 Comments
Joined 1 year ago
cake
Cake day: August 12th, 2023

help-circle
  • I think we kinda misunderstand what the other person is saying/what they imagine the outcome to be. There’s a crass culture difference here.

    In the UK (and presumably most other European countries) the police would 100% escalate things if they see someone with a gun near a large aggregation of people. Carrying guns like that is simply illegal and the only reasonable deduction is that you carry a gun because you want to use it - i.e. you are about to commit murder.

    Police violence against protesters is usually limited to water cannons and tear gas, maybe rubber bullets. Protester violence is rare, sometimes throwing rocks, maybe Molotov cocktails and burning cars.










  • I have never seen banding before, the image seems specifically picked to show the effect. I know it’s common when converting to less than 256 but color, e.g. if you turn images into svgs for some reason, or gifs (actual gifs, not video)

    Also dithering exists.

    Anyway, it’ll surely be standard at some point in the future, but it’s very much a small quality improvement and not something one definitely needs.


  • Turun@feddit.detoSelfhosted@lemmy.worldTarallo - selfhostable FOSS Trello alternative
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    7 months ago

    A basic image is really easy. It’s basically just

    Dockerfile

    FROM debian  # start with a minimal Linux system. There are probably better options than debian. Some images are made especially for docker (i.e. very minimal and light weight). 
    RUN apt install dependencies  # do what ever you need to get your app running. 
    RUN echo "options and stuff" >> /etc/a/config/file  # you can also edit system files
    COPY . /app  # copy your project into the docker container.
    EXPOSE 8080  # doesn't actually do anything, but documents where the app will be listening
    CMD server-binary run /app/main.php  # I have actually no idea how php server stuff works
    

    (Docs https://docs.docker.com/reference/dockerfile/)

    Then people can run your project with docker.

    Edit: checking the readme some small changes would be required. Config.php should read in environment variables and the DB init SQL should be run automatically somehow.




  • A new database specifically designed for financial transactions.

    I’m not an expert on finance software, so I can’t critically assert how good they really are. But they claim much much higher throughput than traditional databases, higher fault tolerance, self healing networks if several replicas are running, etc.
    From a purely technical standpoint it’s interesting for being written in zig. Because the database scope is so narrow they know exactly how much memory they will need on startup and just allocate all required memory on startup and never allocate more, nor free the aquired memory.


  • They never would have been able to get the same performance from any solution that incorporates a general purpose database.

    Their requirements/explicitly-not-required-ments include that it’s fine to drop 1s of data. That would be an insane proposition for any other database. Also their read/write rates and latency requirements are unusual to say the least.

    It’s the same thing as tiger beetle. Ridiculously narrow domains allow for ridiculous performance improvements compared to of-the-shelf solutions.