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?

solidangle, to random
@solidangle@mastodon.gamedev.place avatar

The database feature I really want in my game dev pipeline is queries, not transactions.

"Fetch me all actors in the game that use this combination of properties and are affected by lights with this type of shadow filter"

"Tell me which post process volumes enable depth of field in the game"

sascha, (edited )
@sascha@mastodon.gamedev.place avatar

@mjp @nicebyte @solidangle Decided to have some Sunday programming fun with and . Took me less than 30 minutes to build a (very simplistic) sqlite based recording and replay system for my samples. I've been working with real time graphics and database for decades, but never really combined them in such a way. Combining those two very different things was a lot of fun :)

array, to random
@array@fosstodon.org avatar

I had to implement push notifications on a project that had a particular constraint. Long story short, I can't (can but can't; don't ask) use my backend to store anything. But for this to work, I had to store the subscriptions to the notifications (again, don't ask). And... Enter . There's a npm package ready to use and it works flawlessly, so I can have a full fledged, simple and lightweight SQL database right in my frontend. This solved my problem and I'm grateful for this to exist. :)

fedora, to random
itnewsbot, to linux

Steampipe: All SQL All the Time - Although modern Linux has slightly shifted, the old Unix mantra was: everything’s ... - https://hackaday.com/2024/02/19/steampipe-all-sql-all-the-time/

krinkle, to random
@krinkle@fosstodon.org avatar

Love this headline by The Register: "SQLite creator crucified after code of conduct warns devs to love God".

https://www.theregister.com/2018/10/22/sqlite_code_of_conduct/

kepano, to random
@kepano@mastodon.social avatar

These are all separate vectors:

  1. VC vs user-supported
  2. Files vs databases
  3. Open vs proprietary formats
  4. Open vs closed source
  5. Extensible vs non-extensible
  6. Private vs privacy-invasive

An open source app can be VC-backed, store its data in a proprietary format, have terrible APIs, and include telemetry

teleclimber,
@teleclimber@social.tchncs.de avatar

@kepano Sorry to nitpick but I don't think #2 is valid. If you put enough data in files and directory structures you have a database, though it's a poor one.

All your other points have a clear good/bad angle. With files/databases I don't think it's wise to say files are clearly always superior. If the data gets complex or relational or graph-like, I'll take a DB over some mad yaml or JSON thing any day.

peterrenshaw, to webassembly
@peterrenshaw@ioc.exchange avatar

“WASI Preview 2: What WebAssembly Can and Can’t Do Yet”

light on technical details, worthy as a ‘heads-up’, quick read.

/ / / / <https://thenewstack.io/wasi-preview-2-what-webassembly-can-and-cant-do-yet/>

peterrenshaw,
@peterrenshaw@ioc.exchange avatar

listening to “WebAssembly functions for your -compatible database”

/ / / <https://youtube.com/watch?v=QIDkVM7rCqA>

DiazCarrete, (edited ) to random
@DiazCarrete@hachyderm.io avatar

Researching some doubts I had about serialized theading mode and prepared statements.

It seems that sharing a prepared statement between threads is bad news, even in serialized mode.
🔗 https://www.sqlite.org/threadsafe.html
🔗 https://sqlite.org/forum/forumpost/9d87fe7c8e
🔗 https://sqlite-users.sqlite.narkive.com/6l92EAHJ/serialized-prepared-statement-clarification

jgrg, to PostgreSQL

Wow! I did not know that can connect to , and databases, and freely query and move data between them, all within transactions! (This in addition to its ability to query, import and export , , etc… file format data, which I did know.) This from today's blog post:
https://duckdb.org/2024/01/26/multi-database-support-in-duckdb.html

gbxyz, to webdev

I made something quite cool (IMHO) over the weekend: a 100% client-side search engine for static websites:

https://github.com/gbxyz/webidx

You run a script to generate an database with an index of all the files, publish it, and then embed some which uses sql.js to query the contents of the database and display search results.

Perfect if you use , , etc

ovid, to random
@ovid@fosstodon.org avatar

One of the many things I hate about :

sqlite> select typeof(created_at) from customers;
real
text
null
text
text
integer

For a given column, you have no guarantees about its type at all.

ovid,
@ovid@fosstodon.org avatar

@manwar It's called "type affinity" in . If you have a column defined as "count INTEGER NOT NULL DEFAULT 0", there's nothing to stop you from inserting the value of "foo" into that column.

It's one of the reasons why I strongly recommend not using SQLite to simulate your database in the test suite: the subtle differences in behavior means your test suite might pass, even if your code is going to fail in production.

nixCraft, to random
@nixCraft@mastodon.social avatar

Which database do you have the most experience with? 🤔

artem,
@artem@social.anufrij.de avatar
numist, to random

We take diffing code by line for granted but every time you have a conflict it becomes obvious that:

  1. it only works because lines are a useful proxy for statements
  2. there would be way less manual resolution of conflicts if the tools would recurse into the offending hunk by token (usefully proxied by whitespace and possibly changes in character class)
numist,

Speaking of lines being a useful proxy for statements, you can usefully git diff databases by putting this in your .gitconfig:

[diff "sqlite3"]
binary = true
textconv = echo .dump | sqlite3

(and *.db diff=sqlite3 in your gitattributes, if you're so inclined)

nthcdr, to emacs

As a hobby project to play with I created a page comparing the words of news stories month to month making a word cloud for each month. I like how it came out but its also a bit depressing.

So each month corpus is compared with its preceeding month dito and word clouds are scaled based on the whole year.

Most of all I developed a new respect for which I now think is awesome.

https://normal-monday.neocities.org/

PaulHammond51, to space
@PaulHammond51@fosstodon.org avatar

A look at a small section of Curiosity's workspace in this composite image assembled from 4 Bayer reconstructed R-MastCam frames that were assembled in MS-ICE. The images are from December 27, 2023 (sol 4049) at site 105/1108 after a short drive/climb a few sols earlier. The rover is located at the head of Gediz Vallis (see map) I've also attached the drive data. Image credits: NASA/JPL-Caltech/MSSS/USGS/fredk)

image/png
image/png

65dBnoise,
@65dBnoise@mastodon.social avatar

@PaulHammond51
I need to redo the database, because I designed it initially to run directly in the browser without a web server, and work directly with NASA's API, but I ended up using a local web server for caching all data from NASA, instead. I expect it to shrink to less than 200MB after I convert more fields to floats.

is what I use for almost everything I run locally, even for map data. It's a one file db and very easy to work with.

toflar, to php German

ICYMI: This year, I've built a search engine with only and - try it out and let me know, how it went :) https://github.com/loupe-php/loupe

ferretdb, to postgres

FerretDB enables you to run MongoDB workloads on and .

Since Neon maintains 100% compatibility with any application that uses the official Postgres release, that makes an excellent option to consider as the database backend for FerretDB.

We wrote a blog post on this. Check it out -->
https://buff.ly/4anvTLv

FerretDB is a truly alternative to MongoDB built on

sushee, to random
@sushee@fosstodon.org avatar

I HAVE AN SQLITE DB IN MY CEPH POOL 🎉 (via ceph vfs) ♥️ to my colleague J. from the storage team :)

kjg, to apple
@kjg@hachyderm.io avatar

Seeing an absurd number of messages in my iCloud backup lead me to investigate the internals of the Apple Messages local database. I documented my attempts to clean up some bad records.

https://kevin.glowacz.info/2023/12/20/hacking-the-messages-database.html

If anyone has any insight here please reach out!

#Apple #Messages #iCloud #SQLite #iOS #macOS

mpe, to random
@mpe@ravenation.club avatar

I'm working today on a slightly off-the-wall experiment: can we pack the Crossref database into a usable SQLite file? Working on verifying the schema I've designed against the live data. 75 million records checked, 75 million more to go.

nemobis,
@nemobis@mamot.fr avatar

@mpe Red Hat swore at the last FOSDEM that they're running a 1 TB database without problems.

aeva, to random
@aeva@mastodon.gamedev.place avatar

gonna start calling SQL queries "database shaders"

helge,
@helge@mastodon.social avatar
judell, to postgres
@judell@social.coop avatar

All the Steampipe plugins are now also:

  • standalone Postgres foreign data wrapper (FDW) extensions that translate APIs to foreign tables

  • SQLite extensions that transate APIs to virtual tables

  • standalone binaries that export data from APIs

It's kind of a big deal! I'm especially curious to know what @simon thinks about all the new SQLite extensions that just appeared in the world.

https://steampipe.io/blog/2023-12-sqlite-extensions

realn2s, to random

My impression is, that #SQLCipher is not compatible with the #SQLite Encryption Extension (or the other way around 😞 )

At least I didn't find a way to specify the key in such a way that #SQLite3 works with the database wich works using SQLCipher.

Can someone confirm or point me to some documentation regarding this?

knu,

@realn2s
Indeed #SQLCipher and #SQLite "SEE" are not compatible. I learned that from following the former SQLite mailing list and the current forum, but I don't have a link to a specific article.

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