Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
Skin
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Web Site

Forum federato con il resto del mondo. Non contano le istanze, contano le persone

  1. Home
  2. Categorie
  3. Senza categoria
  4. hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point.

hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point.

Pianificato Fissato Bloccato Spostato Senza categoria
8 Post 4 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • Eniko Foxundefined Questo utente è esterno a questo forum
    Eniko Foxundefined Questo utente è esterno a questo forum
    Eniko Fox
    scritto su ultima modifica di
    #1

    hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point. do you have any recommendations? it must be a file-based database, obviously. and game data doesn't usually neatly conform to the boring numbered rows with named columns table design of traditional databases for websites and stuff

    i think ideally i'd just be able to store raw binary data

    Eniko Foxundefined 1 Risposta Ultima Risposta
    • Eniko Foxundefined Eniko Fox

      hey fedi programmer folks, this isn't urgent but i'm going to have to store my block game's world data in some kind of acid compliant database at some point. do you have any recommendations? it must be a file-based database, obviously. and game data doesn't usually neatly conform to the boring numbered rows with named columns table design of traditional databases for websites and stuff

      i think ideally i'd just be able to store raw binary data

      Eniko Foxundefined Questo utente è esterno a questo forum
      Eniko Foxundefined Questo utente è esterno a questo forum
      Eniko Fox
      scritto su ultima modifica di
      #2

      i mostly ask because databases are for boring stuff and i make games so i have no idea what the hotness in databases is

      Eniko Foxundefined 1 Risposta Ultima Risposta
      • Eniko Foxundefined Eniko Fox

        i mostly ask because databases are for boring stuff and i make games so i have no idea what the hotness in databases is

        Eniko Foxundefined Questo utente è esterno a questo forum
        Eniko Foxundefined Questo utente è esterno a questo forum
        Eniko Fox
        scritto su ultima modifica di
        #3

        people put hundreds, thousands of hours into block game worlds. entire communities rely on them in the case of multiplayer servers. whatever i use has to be acid compliant so that people don't get screwed over by save corruption cause i decided reinventing the wheel would be a cool project

        mortundefined 1 Risposta Ultima Risposta
        • Eniko Foxundefined Eniko Fox

          people put hundreds, thousands of hours into block game worlds. entire communities rely on them in the case of multiplayer servers. whatever i use has to be acid compliant so that people don't get screwed over by save corruption cause i decided reinventing the wheel would be a cool project

          mortundefined Questo utente è esterno a questo forum
          mortundefined Questo utente è esterno a questo forum
          mort
          scritto su ultima modifica di
          #4

          @eniko SQLite is almost certainly what you want. Old, slow-moving and reliable project made by people who take seriously the fact that their software messing up could means cars crash and planes fall out of the sky.

          The only alternative I'd take seriously is to use the old "write out everything to a new file and rewrite it into place" trick, but that gets tricky if worlds are big and you only wanna load and save parts of it at a time

          Eniko Foxundefined 1 Risposta Ultima Risposta
          • mortundefined mort

            @eniko SQLite is almost certainly what you want. Old, slow-moving and reliable project made by people who take seriously the fact that their software messing up could means cars crash and planes fall out of the sky.

            The only alternative I'd take seriously is to use the old "write out everything to a new file and rewrite it into place" trick, but that gets tricky if worlds are big and you only wanna load and save parts of it at a time

            Eniko Foxundefined Questo utente è esterno a questo forum
            Eniko Foxundefined Questo utente è esterno a questo forum
            Eniko Fox
            scritto su ultima modifica di
            #5

            @mort i honestly do not trust any filesystem more than an sqlite database >_>

            Izzy 🪄 Scaledeepundefined 1 Risposta Ultima Risposta
            • Eniko Foxundefined Eniko Fox

              @mort i honestly do not trust any filesystem more than an sqlite database >_>

              Izzy 🪄 Scaledeepundefined Questo utente è esterno a questo forum
              Izzy 🪄 Scaledeepundefined Questo utente è esterno a questo forum
              Izzy 🪄 Scaledeep
              scritto su ultima modifica di
              #6

              @eniko @mort SQLite is quite safe, with proper WAL setting. As with any DB there is always a risk to have corrupted files. You create snapshots, and save daily or on hour basis.

              aevaundefined 1 Risposta Ultima Risposta
              • Izzy 🪄 Scaledeepundefined Izzy 🪄 Scaledeep

                @eniko @mort SQLite is quite safe, with proper WAL setting. As with any DB there is always a risk to have corrupted files. You create snapshots, and save daily or on hour basis.

                aevaundefined Questo utente è esterno a questo forum
                aevaundefined Questo utente è esterno a questo forum
                aeva
                scritto su ultima modifica di
                #7

                @darkgnostic @eniko @mort sqlite is what I plan on using as a data store for my games. it is very fast, and very very stable

                aevaundefined 1 Risposta Ultima Risposta
                • aevaundefined aeva

                  @darkgnostic @eniko @mort sqlite is what I plan on using as a data store for my games. it is very fast, and very very stable

                  aevaundefined Questo utente è esterno a questo forum
                  aevaundefined Questo utente è esterno a questo forum
                  aeva
                  scritto su ultima modifica di aeva@mastodon.gamedev.place
                  #8

                  @darkgnostic @eniko @mort this is somewhat motivated by me being traumatized by geniuous game developers thinking they're too smart to use normal software and inventing the worst relational databases you've ever seen (and then having to clean up their messes)

                  1 Risposta Ultima Risposta
                  Rispondi
                  • Topic risposta
                  Effettua l'accesso per rispondere
                  • Da Vecchi a Nuovi
                  • Da Nuovi a Vecchi
                  • Più Voti


                  Gli ultimi otto messaggi ricevuti dalla Federazione
                  • informapirata ⁂ :privacypride:undefined
                    informapirata ⁂ :privacypride:

                    @mrbrown eh... Purtroppo sì.

                    Forse anche del Secolo... 😬

                    per saperne di più

                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    [BZ] Tanti partecipanti al presidio contro Leonardo spa, Flying Basket e IDV. Guerra e genocidio partono anche da qui.
                    @anarchia
                    Giovedì 11 settembre 2025, a 52 anni dal colpo di stato fascista in Cile sostenuto dagli Stati Uniti d’America, tanti compagni e solidali con il popolo palestinese hanno partecipato al presidio di fronte https://www.rivoluzioneanarchica.it/bz-tanti-partecipanti-al-presidio-contro-leonardo-spa-flying-basket-e-idv-guerra-e-genocidio-partono-anche-da-qui/

                    per saperne di più

                  • mr brown :unverified: :nona:undefined
                    mr brown :unverified: :nona:

                    Perché MPS che compra Mediobanca è la notizia economica dell'anno - Il Post https://share.google/KIb7F1UObzDTZTvrs

                    "abbiamo una (medio)banca" (semicit.)

                    per saperne di più

                  • Fra'.jpgundefined
                    Fra'.jpg

                    @capetaun Anche. Ma nel mio caso, giusto sui suoi capricci posso contare.

                    per saperne di più

                  • CapeTaunundefined
                    CapeTaun

                    @FraEmme un algoritmo che puoi sbilanciare sborsando soldi, vorrai dire

                    per saperne di più

                  • Fra'.jpgundefined
                    Fra'.jpg

                    Certo che se mi metto a pensare che il ""successo"" (capitemi) di una cosa che faccio è determinato dal capriccio di un algoritmo...

                    per saperne di più

                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    “ASSALTO AL CIELO” La lotta armata negli anni’70
                    @anarchia

                    https://www.rivoluzioneanarchica.it/assalto-al-cielo-la-lotta-armata-negli-anni70/

                    per saperne di più

                  • Poliverso - notizie dal Fediverso ⁂undefined
                    Poliverso - notizie dal Fediverso ⁂

                    @enzoa24 qui òìaccount @FediTips lo spiega molto bene:

                    In generale, il tuo server può vedere i seguenti contenuti:

                    - Tutti gli account sul tuo server
                    - Tutti i post pubblicati dagli account sul tuo server
                    - Tutti i post condivisi da almeno un account sul tuo server
                    - Tutti gli account che hanno almeno un follower sul tuo server
                    - Tutti i post pubblicati da account che hanno almeno un follower sul tuo server
                    - Tutti i post condivisi dagli account che hanno almeno un follower sul tuo server
                    - Tutti i post dei gruppi che hanno almeno un follower sul tuo server
                    - Tutte le risposte ai post sul tuo server
                    - Tutti i post che menzionano account sul tuo server
                    - Tutti gli account che hanno risposto ai post sul tuo server o hanno menzionato account sul tuo server
                    - Tutti i post che sono stati cercati tramite l'indirizzo web della loro pagina originale
                    - Tutti gli account che sono stati cercati tramite il loro indirizzo account
                    - Tutti gli account che sono stati menzionati nei post che il tuo server ha notato
                    - Tutti i post vengono inviati al tuo server da un server relay, i relay vengono aggiunti ai server dagli amministratori
                    - Tutti i post vengono inviati al tuo server tramite script, ad esempio lo script Hypebot invia i post di tendenza da altri server al tuo. Gli script vengono generalmente aggiunti da amministratori tecnicamente qualificati.

                    Ma tieni presente che Friendica mostra la timeline in modo diverso: quando un thread di un utente che segui riceve un nuovo commento (oppure quando un thread riceve un nuovo commento di un utente che segui), quel thread lo vedi di nuovo al primo posto nella tua timeline.
                    In un certo senso la visualizzazione di Mastodon è quella tipica di twitter, quella di Friendica è tipica di facebook, con la differenza che l'unico algoritmo è puramente "cronologico" e non condizionato dalla presunzione preferenziale della piattaforma

                    @max

                    per saperne di più
                  • Accedi

                  • Accedi o registrati per effettuare la ricerca.
                  Powered by NodeBB Contributors
                  • Primo post
                    Ultimo post