Daily Shaarli
January 17, 2023
Good points! I have use cases where a frontend database approach will work perfectly!
Numbers:
const formatter = Intl.NumberFormat(LOCALE, { notation: 'compact' })
Currency:
Intl.NumberFormat(LOCALE, {
notation: 'compact',
style: 'currency',
currency: 'ZWD'
})
And the related project to use SQLite in memory of a frontend app.
The database file is loaded from a server or a local file... which can be convenient for offline databases!
If the database is available online, it is still ok if it is small and the SQLite file can be downloaded :)
SASU, Portage salarial, Micro-entreprise, SASU pour en tirer un SMIC + dividences, EIRL ou EURL.
Par contre, pour convaincre d’autres citoyen·nes d’essayer, il faut avoir des arguments : des alternatives, des recettes, un discours construit sur la nécessité de consommer moins de viande, des idées pour y arriver et une autorité qui s’acquiert, en partie, par l’exemple.
Mangez moins de viande n’est pas une attaque envers les un·es, les autres, les traditions ou les valeurs du groupe. Vous pouvez manger moins de viande et déguster un chapon à Noël. Manger moins de viande et apprécier celle que vous achetez. L’objectif, c’est d’en consommer moins. C’est un impératif de survie.
The deficiencies of SQL to use it as frontend databases:
- Standard SQL doesn’t support nesting
- SQL syntax is verbose and non-uniform.
- SQL’s scalar expression language is weird and limited
- SQL doesn't have good tools for metaprogramming and changing the shape of a query at runtime
A bit of thought about Rust that will replace C/C++ little by little. and how Rust will be (and is) wider used than Zig because of its safety.