Content Warning

CONTENT WARNING

You may view NSFW content!

If you are under 18 years old you are not allowed to continue!

Lemmy.NRDBLG.de
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
irelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 21 days ago

: (

lemmy.dbzer0.com

message-square
29
link
fedilink
285

: (

lemmy.dbzer0.com

irelephant [he/him]@lemmy.dbzer0.com to Programmer Humor@programming.dev · 21 days ago
message-square
29
link
fedilink
  • RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    45
    ·
    21 days ago

    I think you got the wrong caption. It’s the world if SQLite supported multiple concurent writes.

    Stupid transaction deadlocks…

    • irelephant [he/him]@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      10
      ·
      21 days ago

      In my case, I want to use sqlite locally, for development, but I don’t want to add a load of jank to handle booleans for sqlite.

      • RustyNova@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        21 days ago

        I use rust’s SQLx which map bools to numbers so it must be a problem with your connector maybe

        • irelephant [he/him]@lemmy.dbzer0.comOP
          link
          fedilink
          arrow-up
          4
          ·
          21 days ago

          Yeah I should probably open an issue.

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          21 days ago

          username checks out

          so it must be a problem with your connector maybe

          or with their programming language

          • RustyNova@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            21 days ago

            I actually started using rust well after picking this username :P

      • nilloc@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        7
        ·
        21 days ago

        That’s what I like about Ruby ORMs. They did all the conversion for you, and you could have SQLite on your dev box, Postgres on the test server and MySQL on the annoying production host that wouldn’t run anything else.

        This was 18 years ago though.

        • ℍ𝕂-𝟞𝟝@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          18 days ago

          Are not all ORMs like that? I only used ActiveRecord before fucking off from backend 10 years ago

      • qevlarr@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        21 days ago

        This is sqlite’s intended use case. To replace configure files and local data

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 673 users / day
  • 3.67K users / week
  • 7.4K users / month
  • 8.12K users / 6 months
  • 1 local subscriber
  • 31.6K subscribers
  • 354 Posts
  • 3.43K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org