helge, to PostgreSQL
@helge@mastodon.social avatar

Did I mention that it would be really nice to have #PostgreSQL as an embeddable library similar to #SQLite? Size wise that should be fine, I think the whole PG daemon is just ~5MB.
I know that the architecture doesn't lean to it, but someone has to do this eventually! 🙂

irfan, to windows

' upcoming feature is enabled by default btw in the OOBE setup and CANNOT be disabled directly - you will need to disable it in the Settings app instead, afterwards.

I don't know if you'd trust to actually respect that setting either, wouldn't be the first and only setting on Windows that doesn't actually do anything you'd want it to (or not to) do.

OH and also - Microsoft stores all the Recall data in an database in plaintext, so you KNOW it's secure and definitely not easy to steal away from you by anyone that gains physical or remote access to your device <3

🔗 https://x.com/tomwarren/status/1796681578984182066

🔗 https://x.com/GossiTheDog/status/1796218726808748367

mackuba, (edited ) to random
@mackuba@martianbase.net avatar

Ok, #SQL wizards plz help 🥺

I have a table posts (#SQLite), with a string repo (user DID) and int thread_id. Thread_id references the thread root post, around 1/6 of posts have thread_id NULL, the rest are replies. There's an index on repo+time and one on thread_id.

I want to select recent posts from one or more users that have thread_id NULL. But this very smart query planner uses the thread_id index to find posts, even though that will make it check 1/6 of all posts…

kubikpixel, to PostgreSQL
@kubikpixel@chaos.social avatar

SQL Injection Cheatsheet:

This is an SQL injection cheatsheet with tried and true payloads / techniques that cover the 5 most popular database variants and their derivatives.

🔧 https://tib3rius.com/sqli


scy, to random
@scy@chaos.social avatar

Did you know that you can have a #SQLite CLI config file? Pretty handy for changing the default memory limit, output format, or even print a nice banner.

Here's mine:
https://codeberg.org/scy/dotfiles/src/commit/dbe858184c07634d16065773e31bf6c1cb50b357/.sqliterc

It allows SQLite to use up to 1 GiB of page cache, uses nice Unicode box drawing characters, and tracks the runtime of queries by default. It also reminds me of how to turn these things off again.

(Pro tip: Set .timer on last, else it will print the stats for each of the start-up commands … 😬)

#CLI

preslavrachev, to programming
@preslavrachev@mastodon.social avatar

Let's put an end to the age-old database debate, shall we?


#programming #sqlite #postgresql

jonyoder, to random
@jonyoder@mstdn.social avatar

TIL that #SQLite is not great for multithreaded applications. sigh

lefebvre, to programming
@lefebvre@hachyderm.io avatar

Save 20% on Xojo, a bargain at any price! Also, SQLVue (my SQLite database editor) is only $12 during this sale!

https://www.xojo.com/store/

(Click on Extras tab for SQLVue.)

#programming #sqlite

joel, (edited ) to Miyoo
@joel@fosstodon.org avatar

I rarely do #tutorials on my #blog, but when I face a problem and I can't find a solution, I may as well share it in my #website.

How to fix duplicate entries in the Activity Tracker app on #MiyooMiniPlus!

day 43 of #100DayToOffload and post 11 of #WeblogPoMo2024

https://joelchrono.xyz/blog/fix-activity-tracker-duplicates-miyoo-mini-plus

#sqlite #guide #tutorial #emulation

njoseph, to random
@njoseph@social.masto.host avatar

> The Stack Overflow Podcast: Supporting the world’s most-used database engine through 2050

Episode webpage: https://stackoverflow.blog/podcast/

#SQLite

markus, to golang
@markus@hachyderm.io avatar

I released a new version of my module for persistent message queues based on today. I added a basic job runner, since that’s one of the things I most use a queue for. Check it out at https://www.goqite.com

bohwaz, to random French
@bohwaz@mamot.fr avatar

Richard Hipp, developer of #SQLite, on a podcast, talking about open contributions in FOSS: "They come to you and say, “Well, I've got this cool feature. Why don't you just take it? I don't understand.” What they're really saying to me is, “Hey, I made this hack that's useful to me. Why don't you take it, test it, and maintain it for me for 25 years for free?”"

https://the-stack-overflow-podcast.simplecast.com/episodes/supporting-the-worlds-most-used-database-engine-through-2050/transcript

vwbusguy, (edited ) to random
@vwbusguy@mastodon.online avatar

Doing datetime evals in always makes me a bit sad that 's built in datetime is so janky.

knu,
@knu@toot.community avatar

@vwbusguy
Suggestion:
import sqlite3 and use the SQLite date/time functions. No database required. It will be faster than shelling out to bash al the time.

https://www.sqlite.org/lang_datefunc.html

mackuba, to random
@mackuba@martianbase.net avatar

Very nice tool for converting an #SQLite database into #MySQL: https://github.com/techouse/sqlite3-to-mysql. I'm planning to experiment with switching from SQLite to MySQL or Postgres (and maybe DuckDB?) for the feeds database and see how it behaves and how the performance differs… 🤔

helge, to random
@helge@mastodon.social avatar

It is a bit unfortunate that one can't backup to and restore a database from a byte buffer. Otherwise one could also use it to send serialized data over the network 🙈

ferki, to opensource
@ferki@fosstodon.org avatar

I accept a few new clients in the coming weeks.

I specialize in making IT infrastructure and software delivery solutions faster and cheaper in the cloud and on-premises.

My clients hire me because of my no-nonsense approach: transparent, pragmatic, and holistic.

I often work with well-known projects such as , , and , as well as niche ones like and .

Please DM if interested, and boost for reach!

gjergjiramku, to PostgreSQL
@gjergjiramku@mastodon.social avatar

What's your go to db for side projects?

From now on mine will be sqlite.

So many benefits compared to other database, where do I start from?

scy, to random
@scy@chaos.social avatar

Okay, if you have 250 GB of disk space available, and a few gigs of RAM, is impressive. A query like localhost:2322/api?q=rathausstr+17, with no further qualifiers, bounding box, or whatever, returned after 1048 ms.

That's on my laptop. Searching over all of the addresses on the globe.

https://photon.komoot.io/

scy,
@scy@chaos.social avatar

So, uhm, not to dunk on Photon, but I've just built a proof of concept #SQLite database containing all of the addresses in OpenStreetMap and created a full-text search index over them.

A query like "give me all OSM objects where any of the address fields starts with 'Frankf'" takes 36 ms and uses 11 MB of RAM.

That's a FTS5 trigraph search over 13.5 million unique strings and then joining them with nodes & ways.

The database takes 25 GB, compared to Photon's 230 GB.

I'm impressed.

linuxiac, to linux
@linuxiac@mastodon.social avatar

Redka is a work-in-progress server that blends Redis and SQLite. It supports data beyond RAM, ensuring robust performance and flexibility.
https://linuxiac.com/redka-new-redis-alternative-with-sqlite-integration/

#linux #redis #nosql #sqlite #database

gregorni, to programming
@gregorni@fosstodon.org avatar

What does your development environment look like right now?

(IDE/Text Editor? Terminal Multiplexer? Package Manager? Shell? Programming Language? Containerization? Command Runner? Terminal Emulator?)

blainsmith,
@blainsmith@fosstodon.org avatar

@gregorni

Editor: #HelixEditor
Terminal emulator: #GNOME terminal
Terminal multiplexer: #tmux
Shell: #zsh
Linux Desktop: @system76 #Pop_OS !
Langs: #GoLang #RustLang #HareLang
DB: #PostgreSQL #SQLite
Containerization: #Podman
SCM: #git #lazygit

sushee, to random
@sushee@fosstodon.org avatar

this really IS a really cool article about #sqlite :) https://kerkour.com/sqlite-for-servers

paul, to random
@paul@fedi.nlpagan.net avatar

I have a Sqlite database with 1 table. The table has 30 entries.
I feel like figuring out how much faster the Sqlite version is, with reads, updates and inserts, vs a text file.

#SQlite

PuercoPop, to emacs
@PuercoPop@mastodon.social avatar

#sqlite in #emacs is encouraging people to write their customized PIM tool in #emacs https://github.com/jinder1s/pkm

jamesog, to random
@jamesog@mastodon.social avatar

“DuckDB as the New jq” is a short but good read. I'd heard of DuckDB but not looked into it. This is a cool use-case.

https://www.pgrs.net/2024/03/21/duckdb-as-the-new-jq/

btaroli,
@btaroli@federate.social avatar

@jamesog thanks for sharing this! I’m going to have to play with it. I have some complex #JSON cases that might really benefit. I also see promise in cases where today I might translate #XLSX to #CSV and then import into #SQLite. Why do all that if I can query the original directly? Awesome!

#DuckDB #jq

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

And to start of Monday, we have "This database engine does not support fulltext search operations.” when running local tests in sqlite, even though we have verified that fts5 is enabled.

¯_(ツ)_/¯

Is it Friday yet?

#pest #laravel #sqlite

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • megavids
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • JUstTest
  • All magazines