home.social

#sqlite — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sqlite, aggregated by home.social.

fetched live
  1. Заметки как чаты: почему я перестал искать папку и начал искать сообщение

    Всем привет я Артур Валиев, пятничная статья, поехали. Я каждый день кидаю заметки не в специальное приложение, а в Избранное в Telegram — просто потому, что там приятнее писать: пружинный отскок сообщения, ноль лагов, мгновенный отклик клавиатуры. Это натолкнуло меня на мысль — а что, если взять не идею мессенджера, а буквально инженерный подход Telegram к рендерингу и анимациям, и применить его к заметкам? В статье — сначала идея: почему классические заметки-стикеры умерли как формат, и как выглядела бы лента заметок на движке уровня Telegram. Дальше — техническая часть с кодом: виртуализация списка, spring-анимации через transform/opacity вместо layout-свойств, оптимистичный рендер, отказ от polling, полнотекстовый поиск через SQLite FTS5. И под конец — честный разбор, почему нативный C++ структурно обходит любой JS-рантайм: отсутствие пауз GC, плотность памяти, JIT-разогрев, реальная многопоточность без сериализации.;) Проверить

    habr.com/ru/articles/1070702/

    #Telegram #UX #производительность #анимации #рендеринг #C++ #SQLite #FTS5 #React #android

  2. There's a very interesting write up about a very rare bug hitting @tailscale usage of #SQLite databases:

    tailscale.com/blog/sqlite-wal-
    > At the end of last year, our uptime was pretty shaky. [...] Many of these outages were caused by a single bug, deep in SQLite. It took months of intense forensics to track it down.

    > We’re publishing this blog post to explain what went wrong, how we responded, and how we ultimately helped to uncover a long-standing bug in the heart of the SQLite database.

  3. There's a very interesting write up about a very rare bug hitting @tailscale usage of #SQLite databases:

    tailscale.com/blog/sqlite-wal-
    > At the end of last year, our uptime was pretty shaky. [...] Many of these outages were caused by a single bug, deep in SQLite. It took months of intense forensics to track it down.

    > We’re publishing this blog post to explain what went wrong, how we responded, and how we ultimately helped to uncover a long-standing bug in the heart of the SQLite database.

  4. Книга: «Основы Go»

    Привет, Хаброжители! Язык Go востребован в разработке облачных сервисов и распределенных систем благодаря простоте, высокой производительности и встроенной поддержке конкурентности. Книга выходит за рамки синтаксиса и фокусируется на проектировании гибких и масштабируемых архитектур. Вы сразу приступите к созданию проекта, который будет постепенно изменяться и усложняться от простых скриптов до полноценного клиент-серверного приложения. В процессе работы вы познакомитесь с конкурентным программированием с использованием горутин, работой с SQLite, написанием тестов, обработкой ошибок, работой с файловой системой, а также с объектно-ориентированным подходом.

    habr.com/ru/companies/piter/ar

    #sqlite #тестирование_itсистем #облачные_сервисы #микросервисы #devops #serverless #параллельное_программирование #горутины #ооп

  5. Another key difference between #LMDB and #SQLite's B+tree code: while both are single writer and both support multiprocess access, SQLite uses shared/exclusive reader/writer locks. That means while any process has write access to the DB, all other processes are blocked. In LMDB, writers don't block readers, readers never block.

    That blocking behavior in SQLite makes even small deployments feel sluggish, making people turn to solutions that are way overkill. xda-developers.com/replaced-ho

  6. Another key difference between #LMDB and #SQLite's B+tree code: while both are single writer and both support multiprocess access, SQLite uses shared/exclusive reader/writer locks. That means while any process has write access to the DB, all other processes are blocked. In LMDB, writers don't block readers, readers never block.

    That blocking behavior in SQLite makes even small deployments feel sluggish, making people turn to solutions that are way overkill. xda-developers.com/replaced-ho

  7. Pro tip: if your project already uses both #SQLite and #LMDB , you'd probably be better off using LumoSQL instead of plain SQLite.

    lumosql.org/

  8. Pro tip: if your project already uses both #SQLite and #LMDB , you'd probably be better off using LumoSQL instead of plain SQLite.

    lumosql.org/

  9. StackRender - Database Schema Diagram Editor & SQL Migration Generator links.shikiryu.com/shaare/iLfq MySQLWorkBench mais pour toutes sortes de BDD à relations et dans le navigateur (une petite commande docker et le bouzin est installé)
    #MySQL #sqlite #browser #selfhosted

  10. my #gotosocial install has a 13GB #SQLite database now. I don't mind but I annoyingly need to attach a bigger block device to my Droplet at #DigitalOcean. Time to migrate to a #RaspberryPi. Just need to order a M.2 or NVMe disk / HAT for it to use... although I do have an old Time Machine SSD that could work over USB-C? But... probably will draw too much power? 🤔

    50GB attached storage in a Droplet is like $5/month 😤

  11. my #gotosocial install has a 13GB #SQLite database now. I don't mind but I annoyingly need to attach a bigger block device to my Droplet at #DigitalOcean. Time to migrate to a #RaspberryPi. Just need to order a M.2 or NVMe disk / HAT for it to use... although I do have an old Time Machine SSD that could work over USB-C? But... probably will draw too much power? 🤔

    50GB attached storage in a Droplet is like $5/month 😤

  12. Tired of Wazuh false positives from broad rule groups like 'syslog' or 'generic'? Query wazuh.db directly: join rules & groups tables to count per group, then tighten overly permissive ones. Works on Wazuh 4.x. #wazuh #sqlite #ValtersIT

    valtersit.com/vault/detect-ove

  13. Локальная база на клиенте: Blazor WebAssembly и MAUI на SQLite — без EF DbContext, Include и миграций

    Офлайн-хранилище со сложным графом и outbox: быстрый старт в MAUI и в браузере, базовые операции и почему в этой роли EF Core только мешает. Курьер спустился в подвал склада — связи нет. Кладовщик третий час принимает поставку в зоне, где вайфай добивает через раз. Пользователь заполнил форму на четыре экрана и нажал «Сохранить» в момент, когда сервер уехал на деплой. Приложение должно продолжать работать. Значит ему нужна своя база на устройстве : не кеш ответов, а полноценное локальное хранилище, где живут незавершённые документы, локальные состояния и очередь изменений на отправку — тот самый outbox, который дошлёт всё, когда связь вернётся. И вот тут начинается знакомое.

    habr.com/ru/articles/1068388/

    #c#_net #sqlite #blazor #maui #embedded #orm #redb #opensource

  14. Ménage sur mon VPS cet après-midi. `docker system df` me sort un volume Docker à 9,95 Go. Il n'y a qu'un seul volume nommé sur la machine : celui de n8n.

    Dedans, `database.sqlite` : 9,2 Go. Pour zéro exécution en base — la purge automatique à 7 jours est active et fait son travail.

    Recherche : c'est connu et documenté. SQLite ne rend jamais l'espace au disque quand on supprime des lignes, il le marque simplement réutilisable en interne. Le fichier reste à son pic historique. Deux mois d'écritures à haute fréquence l'avaient gonflé, la purge a vidé les lignes, le fichier est resté tel quel.

    n8n prévoit le cas. Une variable à ajouter dans le docker-compose.yml :

    DB_SQLITE_VACUUM_ON_STARTUP=true

    Relance instantanée. `database.sqlite` : 3,8 Mo. Le volume entier : 170 Mo.

    Si vous hébergez n8n sur SQLite, allez regarder la taille de votre `database.sqlite`. La purge des exécutions ne suffit pas à récupérer la place.

    #n8n #SelfHosting #SQLite #Docker #Autohebergement

  15. SQLite does not take patches from strangers. A contributor signs an affidavit dedicating the work to the public domain. The signed original sits in a firesafe at the project offices.

    Attaching a 9.8 critical rating cost far less. An account with no name and zero followers filed 27 advisories against SQLite. The US cyber agency scored three of them.

    MITRE published them without asking SQLite. Its lead, D. Richard Hipp, heard about them from security analysts.

    #SQLite
    medium.com/@canartuc/1-trillio

  16. Нейронки опрокинули гипотезы, которым было по 50–90 лет. И тут есть нюанс

    Любая гипотеза жива ровно до тех пор, пока о ней не спросят языковую модель в правильном настроении. Звучит как шутка. Но за последние недели эта шутка перестала быть шуткой трижды — и каждый раз по-разному эффектно. 1) Сначала чувак из Anthropic между таймами финала ЧМ опроверг гипотезу, которой было 87 лет — прямо в X. 2) Потом модель OpenAI закрыла проблему Эрдёша про расстояния на плоскости, 80 лет никто не мог. 3) А следом — доказательство полувековой гипотезы о двойном покрытии циклами в графах, добытое за час силами 64 параллельных субагентов. Если это совпадение, то очень организованное. Короче, собираю всё в один текст — с разбором что вообще происходило, как выглядели твиты и доказательства, и почему у истории тревожный постскриптум - ту самую модель OpenAI, которая размотала Эрдёша, позже пришлось приостанавливать, потому что она слишком настойчиво вылезала из песочницы.

    habr.com/ru/companies/gptunnel

    #Anthropic #математика #OpenAI #Левент_Альпёге #Claude_Fable_5 #Эрдёш #Lean #SQLite

  17. watching hipp's talk about #SQLite from SSW :)

  18. watching hipp's talk about #SQLite from SSW :)

  19. A note-taking app is only as good as the foundation it's built on.

    Joplin uses SQLite because it's fast, reliable, and scales effortlessly - from a handful of notes to thousands.

    Learn more: joplinapp.org/help/dev/spec/ar

    #Joplin #SQLite #OpenSource #Productivity

  20. A note-taking app is only as good as the foundation it's built on.

    Joplin uses SQLite because it's fast, reliable, and scales effortlessly - from a handful of notes to thousands.

    Learn more: joplinapp.org/help/dev/spec/ar

    #Joplin #SQLite #OpenSource #Productivity

  21. 🚨 Ah yes, the perilous saga of imaginary #SQLite #vulnerabilities - where #JFrog #Security bravely fights against the fearsome specter of non-existent code. 🙄 #NVD and #CISA, always on the pulse of non-issues, declared a crisis, but JFrog heroically deduced the obvious: the boogeyman doesn’t exist. 👏
    research.jfrog.com/post/sqlite #Cybersecurity #Humor #HackerNews #ngated

  22. Had a bit of a scare last night as I attempted to migrate my single-user #Gitea instance from the overkill #PostgreSQL to the smaller-footprint #SQLite.

    I needed AI support to pinpoint what was wrong with my #Docker Compose file.

    I updated my blog post:

    ricard.dev/moving-away-from-gi

  23. Show HN: Kedge – Full-stack cloud with forkable VM snapshots and global SQLite

    kedge.dev/

    #sqlite

  24. Liebes @certbund - Team, SQLite ist eine Embedded Database, die von sich aus keinen Netzwerk-Endpunkt bereitstellt. Wie kann es da einen "entfernten, anonymen Angreifer" geben?

    wid.cert-bund.de/portal/wid/se

    #cve #security #sqlite