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
                  • aevaundefined
                    aeva

                    @mym I see that's not you I hear snoring off in the distance

                    per saperne di più

                  • aevaundefined
                    aeva

                    @mym toot

                    per saperne di più

                  • alephoto85 :endeavourOS: :netbsd: :freebsd: :xmpp:undefined
                    alephoto85 :endeavourOS: :netbsd: :freebsd: :xmpp:

                    Par🇮🇹le n°1347 5/6

                    ⬛⬛🟨⬛🟨
                    🟩🟩⬛⬛⬛
                    🟩🟩⬛🟨⬛
                    🟩🟩⬛⬛🟩
                    🟩🟩🟩🟩🟩

                    https://pietroppeter.github.io/wordle-it/

                    per saperne di più

                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    Il ruolo della casualità nel successo professionale
                    @news
                    https://www.babilonmagazine.it/lavoro-successo-casualita-destino/
                    Avete mai sentito la storia di come Jack Ma sia diventato miliardario? Nel 1995, durante un viaggio negli USA, un […]
                    L'articolo Il ruolo della casualità nel successo professionale proviene da Babilon Magazine.

                    per saperne di più

                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    Quanto è messa male l’economia della Francia
                    @politica
                    https://pagellapolitica.it/articoli/crisi-economia-francia
                    Perché la seconda economia dell’Eurozona è finita nella stessa trappola del debito che da anni pesa sull’Italia

                    per saperne di più

                  • Giorgio Sartoundefined
                    Giorgio Sarto

                    Sicurezza in casa: Come proteggersi dai raggi UV
                    @lavoro
                    https://www.puntosicuro.it/sicurezza-delle-persone-C-92/sicurezza-in-casa-come-proteggersi-dai-raggi-uv-AR-25665/
                    Non c'è niente di meglio che fare giardinaggio in una bella giornata di sole. Ma il sole può anche essere dannoso se non ci si protegge in modo adeguato: una buona protezione solare è quindi essenziale.

                    per saperne di più

                  • OrionBelt©undefined
                    OrionBelt©

                    @italyviolin @tecnologia @attualita
                    purtroppo questa è una di quelle situazioni un cui arrivo quasi ad "odiare" le mie convinzioni, così non fosse augurerei a questi compagni di merende di sedere su una sedia più moderna,ma non troppo e confortevole,insomma più tecnologica, tipo quelle col telecomando, intendo elettrica,insomma come quella di ...
                    Here's to you (feat. Joan Baez)
                    https://www.youtube.com/watch?v=R4xWbRBLj2I

                    per saperne di più

                  • L'Anarchiversitarioundefined
                    L'Anarchiversitario

                    VOGLIAMO TUTT’ALTRO: l’assemblea dei lavorat* dello spettacolo
                    @anarchia
                    L’8 settembre si è svolta l’assemblea nazionale di #Vogliamo tutt’altro, dei lavoratori e delle lavoratrici dello spettacolo. Una giornata di assemblee plenarie, tavoli di lavoro e pratiche collettive; immaginare organizzare convergere insorgere sono gli spazi che son stati creati per discutere tutt*...https://www.rivoluzioneanarchica.it/vogliamo-tuttaltro-lassemblea-dei-lavorat-dello-spettacolo/

                    per saperne di più
                  • Accedi

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