paulox, (edited ) to django
@paulox@fosstodon.org avatar

I published an introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0 🤖

I'd be very happy to have your feedback on my article 🤗

https://www.paulox.net/2023/11/07/database-generated-columns-part-1-django-and-sqlite/

#Django #Database #Python #SQL #SQLite #GeneratedColumn #GeneratedField #ORM #DjangoCon

ArmouredWizard, to android
@ArmouredWizard@dice.camp avatar

Slightly different database question today:
I am interested in online, remote database for my Android Apps
Is there anywhere (cheap/free) that I can use, or do I have to set up my own (I have a domain/website)
I know about Firebase, but that is NoSQL/document-database.

Any ideas?

#database #android #androidDev #sql

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

J'ai presque fini de ranger mon Notion.
Il faut partager le savoir donc jusqu'à la fin du mois, voici un fil :
un jour une base de donnée.

Jour #1

Worldcat

Un site vous permettant de trouver dans quelle bibliothèque près (ou loin) de chez vous se trouve ce bouquin rarissime que vous aimeriez bien consulter pour votre recherche de niche.

https://search.worldcat.org/fr

markwyner, to IT
@markwyner@mas.to avatar

Friends. I’m seeking advice for my niece.

She’s being asked to take on new responsibilities at her job and wants to be properly compensated. They’re asking her to do Microsoft Access work. Her role isn’t technical and has nothing to do with it. (She’s also a Black woman who doesn’t want to get walked over because of it.)

Does anyone have any advice or info about what compensation looks like for that kind of work? Thanks in advance!

#IT #Database #Career #Microsoft #MicrosoftAccess

timwilson, to php

I've got a PHP website with a PostreSQL backend. It's entirely read-only in production, and its largest table has about 10,000 rows. Postgres, PHP, and a Caddy proxy all run in separate Docker containers.

Is it crazy to think that a simple system like this would run just fine with SQLite instead? In the longer term I’d like to move the whole thing to running with the Django Rest Framework and rework the front-end bit entirely.

array, to programming
@array@fosstodon.org avatar

I have a silly question for you, Fedi. I have a 1:N relationship between artists and countries table. I know countries may change, but let's assume that it's a fixed list for now. What would you do to retrieve the countries data to use in a form to create a new artist: query the DB, or just declare a constant array in the form view, and why? Thank you in advance. :)
#Programming #Database

einenlum, to linux

Anyone for a good alternative to on ? I'm excluding MySQLWorkbench, DBeaver, PHPMyAdmin and Adminer.

Any GUI that does the job well and does not crash?

I want to be able to use

aral, to SmallWeb
@aral@mastodon.ar.al avatar

Kitten¹ now keeps two JSDB² databases per project: an internal one ('kitten._db) that holds data Kitten manages (sessions, uploads, etc.) and the default one (kitten.db`) that holds your own tables.

You’ll mostly only care about the latter.

I also took the opportunity to create a Database App Module example and document it in the readme:

https://codeberg.org/kitten/app#database-app-module

¹ https://codeberg.org/kitten/app
² https://codeberg.org/small-tech/jsdb

#Kitten #SmallWeb #web #dev #database #JavaScriptDatabase #jsdb

glyph, to random
@glyph@mastodon.social avatar

New release of DBXS today, my #python #database access library, mostly for the much-improved README, explaining why you'd want it: https://pypi.org/project/dbxs/0.0.5/

peter, to random
@peter@area51.social avatar

They should be sanitising their database inputs rather than change the input data!

"A local authority has announced it will ban apostrophes on street signs to avoid problems with computer systems."

North Yorkshire Council to phase out apostrophe use on street signs - BBC News
https://www.bbc.co.uk/news/uk-england-york-north-yorkshire-68942321

#database #bobbyTables

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Anyone out there in land still using EF and the EDMX format to access their ?

jonny, to random
@jonny@neuromatch.social avatar

I'm sort of afraid to ask but amidst all the ai blog spam I can't find good information. what's da deal with yno the different lib? I understand the difference between dbs with fundamentally different architectures like mongodb and couchdb, but like what's the deal with postgres vs MySQL vs mariadb and whatnot, and how come ppl seem to love to hate postgres?

orsvarn, to rust
@orsvarn@peoplemaking.games avatar

I’m writing a “database” lib where each entry is a file, to avoid having to load the entire DB for most operations.

I think it might be a good fit for the rewrite of my time tracking app. 🤔

Writing this DB feels illegal. Please let me know why this won’t work. 😆

#RustLang #Database

kellogh, to llm
@kellogh@hachyderm.io avatar

does anyone out there know of an in-process vector DB that runs in the same process as the application? like SQLite but for vector stores? #LLM #LLMs #AI #vector #database

vwbusguy, to opensource
@vwbusguy@mastodon.online avatar
amoroso, to retrocomputing
@amoroso@fosstodon.org avatar

This is the most comprehensive history of Ashton-Tate dBASE I've seen, an amazing story of technical achievements and facepalming mismanagement. I didn't know the product is still around and available for sale.

https://anotherboringtopic.substack.com/p/the-rise-fall-and-surprising-survival-e70

ArmouredWizard, to Kotlin
@ArmouredWizard@dice.camp avatar

...and I've run into the same problem I hit before...
I have 3 Entities (Scoundrels, Crews, Contacts)
I have "Scoundrel with Crew" working (Each scoundrel is in exactly 1 Crew. A Crew can have 0+ Scoundrels)
I need to add Contacts. Each Contact can be known to many Scoundrels, and Many Crews.
Each Contact also has a Rating ("Friend", "Neutral" or "Hostile") with each relationship.
I'd like to start by building adding Scoundrels/Contacts relationships

#code #kotlin #room #database #androidDev

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

I'm asking for the community that uses as their

marcosh, to random

which tool are people using nowadays for #database #migrations? Are you using a library in your application programming language or an external tool? What are the current best practices?

aral, (edited ) to SmallWeb
@aral@mastodon.ar.al avatar

Sitting at the hotel bar in Paris, sipping some red wine and adding a new database command to the Kitten¹ command-line interface.

You can now tail JavaScript Database (JSDB)² tables with:

kitten db <table name>

(Remember that JSDB writes its tables as append-only JavaScript logs.)

¹ https://codeberg.org/kitten/app
² https://codeberg.org/small-tech/jsdb

#Kitten #SmallWeb #JavaScript #database #JSDB

sapiens, to music

Cantus: A Database for Latin Ecclesiastical Chant - Inventories of Chant Sources | Cantus Manuscript Database
https://cantus.uwaterloo.ca/

"Cantus is a database of the Latin chants found in manuscripts and early printed books, primarily from medieval Europe. This searchable digital archive holds inventories of antiphoners and breviaries -- the main sources for the music sung in the Latin liturgical Office -- as well as graduals and other sources for music of the Mass."

#music #database #cantus #latin #ecclesiastical_chant #manuscripts #medieval

mikestreety, to php
@mikestreety@hachyderm.io avatar

Branch/feature based review apps are a PITA when you have a

Does anyone have any examples/processes/tools used when auto creating for a based application?

starbreaker, to random

I wanted to create a "jukebox" page for my #website where I list albums in my collection.

I could just write in #markdown but if the page gets big enough it'll be a pain.

Besides, I'm a techie by trade, I can automate this. I figure I'll use a #plaintext #database and a #shellscript that looks for two files:

"${BAND}.tsv": tab separated, 2 fields: band name, band description
"${BAND}.psv" pipe separated, 4 fields: year, album, label, MusicBrainz link

Then I can update my #makefile.

testing my "jukebox.sh" shell script in a terminal window. It prints Markdown text to standard output and appears to work.

hypolite, to random

Question for the / buffs, I have three tables defined thus:

CREATE TABLE IF NOT EXISTS `user` (
	`uid` mediumint unsigned NOT NULL auto_increment COMMENT 'sequential ID',
	...
	 PRIMARY KEY(`uid`)
);
CREATE TABLE IF NOT EXISTS `gserver` (
	`id` int unsigned NOT NULL auto_increment COMMENT 'sequential ID',
	...
	 PRIMARY KEY(`id`)
);

CREATE TABLE IF NOT EXISTS `user-gserver` (
	`uid` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Owner User id',
	`gsid` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Gserver id',
	...
	PRIMARY KEY(`uid`,`gsid`),
	FOREIGN KEY (`uid`) REFERENCES `user` (`uid`) ON UPDATE RESTRICT ON DELETE CASCADE,
	FOREIGN KEY (`gsid`) REFERENCES `gserver` (`id`) ON UPDATE RESTRICT ON DELETE CASCADE
);

Running the last query triggers the error Foreign key constraint is incorrectly formed. Is there no way to reference multiple tables in foreign keys out of a compound primary key?

hack13, to random
@hack13@cyberfurz.social avatar

I want to use , but I am unsure if it is safe enough to use in a hobby project. I know many people have already started using it, and I doubt anything I make will get heavy usage... but it’s such a powerful, different type of I really want to try leveraging it.

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