#sqlite3 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #sqlite3, aggregated by home.social.
-
Hi folks! ✌️
Here's a little app that I've made for this one day.
👉 https://codeberg.org/xolatgames/BYSU
It will help you to create backups of your games' saves.
It has ugly, but workable GUI, and let you create a "backups' list" for multiple games.
Then you will need to push "Create backups!" button, and then your backups was be made.
Thanks for reading, and I will see you in the next time! 😉👋✌️
#backups #imgui #sdl #sdl3 #cpp #cplusplus #cmake #opensource #sqlite #sqlite3 #app #apps #soft #software
-
Hi folks! ✌️
Here's a little app that I've made for this one day.
👉 https://codeberg.org/xolatgames/BYSU
It will help you to create backups of your games' saves.
It has ugly, but workable GUI, and let you create a "backups' list" for multiple games.
Then you will need to push "Create backups!" button, and then your backups was be made.
Thanks for reading, and I will see you in the next time! 😉👋✌️
#backups #imgui #sdl #sdl3 #cpp #cplusplus #cmake #opensource #sqlite #sqlite3 #app #apps #soft #software
-
But now I want to tell you about another one project. It calls as "Django Blog ✍️".
🏔️👉 https://codeberg.org/xolatgames/Django-Blog
These are my "tries" in Django now. There you can see a start page, and a blog page where you can leave your own posts. But! ☝️ These posts will stores only on your locally device. As a "backend" here uses a SQLite 🪶 database.
#django #python #python3 #sql #sqlite #sqlite3 #codeberg #opensource #html #css #pencil2d
-
But now I want to tell you about another one project. It calls as "Django Blog ✍️".
🏔️👉 https://codeberg.org/xolatgames/Django-Blog
These are my "tries" in Django now. There you can see a start page, and a blog page where you can leave your own posts. But! ☝️ These posts will stores only on your locally device. As a "backend" here uses a SQLite 🪶 database.
#django #python #python3 #sql #sqlite #sqlite3 #codeberg #opensource #html #css #pencil2d
-
-
Базовые оконные функции
Статья-разбор оконных функций для тех, кто их еще никогда не использовал, с примерами кода и данных: - разница оконных функций и агрегации; - зачем нужна конструкция OVER(); - особенности PARTITION BY; - как задавать порядок расчета (ORDER BY); - примеры функций ранжирования и базовых агрегаций.
https://habr.com/ru/articles/1014468/
#старт_карьеры #sql #sql_server #sqlite #sqlite3 #оконные_функции #оконные_функции_sql #аналитика_данных #аналитик_данных_обучение #аналитика_данных_для_новичков
-
Базовые оконные функции
Статья-разбор оконных функций для тех, кто их еще никогда не использовал, с примерами кода и данных: - разница оконных функций и агрегации; - зачем нужна конструкция OVER(); - особенности PARTITION BY; - как задавать порядок расчета (ORDER BY); - примеры функций ранжирования и базовых агрегаций.
https://habr.com/ru/articles/1014468/
#старт_карьеры #sql #sql_server #sqlite #sqlite3 #оконные_функции #оконные_функции_sql #аналитика_данных #аналитик_данных_обучение #аналитика_данных_для_новичков
-
Базовые оконные функции
Статья-разбор оконных функций для тех, кто их еще никогда не использовал, с примерами кода и данных: - разница оконных функций и агрегации; - зачем нужна конструкция OVER(); - особенности PARTITION BY; - как задавать порядок расчета (ORDER BY); - примеры функций ранжирования и базовых агрегаций.
https://habr.com/ru/articles/1014468/
#старт_карьеры #sql #sql_server #sqlite #sqlite3 #оконные_функции #оконные_функции_sql #аналитика_данных #аналитик_данных_обучение #аналитика_данных_для_новичков
-
Базовые оконные функции
Статья-разбор оконных функций для тех, кто их еще никогда не использовал, с примерами кода и данных: - разница оконных функций и агрегации; - зачем нужна конструкция OVER(); - особенности PARTITION BY; - как задавать порядок расчета (ORDER BY); - примеры функций ранжирования и базовых агрегаций.
https://habr.com/ru/articles/1014468/
#старт_карьеры #sql #sql_server #sqlite #sqlite3 #оконные_функции #оконные_функции_sql #аналитика_данных #аналитик_данных_обучение #аналитика_данных_для_новичков
-
Hi folks! ✌️
Here's the new version of "Crisps Chat 🍟" 👉 https://codeberg.org/xolatgames/Crisps-Chat/releases/tag/v0.7.2 with bugfixing 🪲 and new sounds for incoming messages 🎶📩 (Thanks for sounds to Kronbits 🙂)
Have a good day! 😉
#chat #chats #communication #cpp #cplusplus #sdl #sdl2 #imgui #linux #appimage #inkscape #codelite #app #apps #soft #software #dearimgui #sqlite #sqlite3 #opensource #messaging #MessagingApp #cmake #jsonc #codeberg
-
Hi folks! ✌️
Here's the new version of "Crisps Chat 🍟" 👉 https://codeberg.org/xolatgames/Crisps-Chat/releases/tag/v0.7.2 with bugfixing 🪲 and new sounds for incoming messages 🎶📩 (Thanks for sounds to Kronbits 🙂)
Have a good day! 😉
#chat #chats #communication #cpp #cplusplus #sdl #sdl2 #imgui #linux #appimage #inkscape #codelite #app #apps #soft #software #dearimgui #sqlite #sqlite3 #opensource #messaging #MessagingApp #cmake #jsonc #codeberg
-
🛢️ #usql — універсальний інтерфейс командного рядка для #PostgreSQL, #MySQL, #Oracle Database, #SQLite3, Microsoft SQL Server та інших баз даних, включаючи #NoSQL та нереляційні бази даних.
usql підтримує більшість основних функцій psql, а також має додаткові функції, яких немає в psql, такі як підтримка кількох баз даних, копіювання між базами, підсвічування синтаксису, контекстне автодоповнення та інше.
-
@cybertailor
Очень рекомендую эту статью:
https://remusao.github.io/posts/few-tips-sqlite-perf.html
#SQLite3 #Python -
More Perl hacking to analyse the gopher log files - gotta love SQLite! Anyways, early analysis of February this year (so far) reflects what's on peoples' minds. In case you're wondering Epstein-related stuff is at 49 visits... I'm developing the reporting as we speak...
-
Is there a good sql query builder library for #ruby for chainable wheres?
I've got a ~1000 line toy project that I spurted out this week as an exercise in building a web application with minimal dependencies, and right now it's just #rack, #puma, and #sqlite3...
I've spent too much time database wrangling, and I don't _mind_ that but would like something light-and-tight that is small enough I can read most of the code in an afternoon...
Mostly what I really want is something to make chainable where statements 😅
-
One Open-source Project Daily
a Disqus alternative
https://github.com/isso-comments/isso
#1ospd #opensource #commenting #disqus #javascript #selfhosted #sqlite3 -
Gotosocial有点傻福了,Apple也是傻福,我更是傻福
已解决 Solved
我开启注册后,决定尝试申请注册[email protected],第一个蠢事来了。
iCloud过期,收不到邮件
我的apple icloud早就爆满了,5G的空间大小塞了47GB的图片视频(icloud+订阅过期了),所以自从11月16号,我的icloud就没有接受过邮件了。
当我清理完图片,又发现邮件没有像deepseek所说那样在存储恢复后受到邮件,好,白清空了,所以我需要去清理admin和我的[email protected]邮件。通过清理数据库来删除admin和[email protected]邮件
因为我没有办法验证这个邮件地址,所以就算我接受了这个账户,也无法登陆它。
我需要完全清除,再重新注册。
cd data sudo apt update && apt install sqlite3 cp sqlite.db sqlite.db.bak sqlite3 sqlite.db SELECT id, username FROM accounts WHERE username = 'admin'; # 查看这三个 admin 账户的完整信息 SELECT a.id, a.username, a.created_at, a.uri, u.id as user_id, u.email, u.admin, u.moderator, u.disabled FROM accounts a LEFT JOIN users u ON u.account_id = a.id WHERE a.username = 'admin'; # 找到本地admin而不是其他实例的admin,要一起执行 DELETE FROM users WHERE account_id = 'xxx'; DELETE FROM accounts WHERE id = 'xxx'; SELECT id, username FROM accounts WHERE username = 'admin'; .quit docker compse down docker compose up -d再次注册,然后在Mail上验证邮件,管理员批准admin
- 更傻福的来了
在那个批准界面,approve后,我看见suspended的提示,我也没多想就直接确实suspended了,然后才发现suspended让账户不可登陆,不可撤销。
我就需要用./gotosocial CLI去取消suspended,目前发现好像就算取消suspended了,只会有个gts.feddit.social/@admin,后段管理和webui是无法登陆的,我是个傻福,我需要再次进行第二步操作了。等我好消息。
#gotosocial #mastodon #admin #sysadmin #icloud #apple #socialmedia #db #sqlite #ssh #mail #suspend #sqlite3
-
Пишем Telegram-бота на Python: прикручиваем оплату Telegram Stars, систему промокодов и OpenAI
Привет, Хабр! В качестве пет-проекта для работы с API и базами данных решил написать своего бота-ассистента. Идея простая: прокси к OpenAI, но с нюансами: хотел разобраться, как работать с относительно новой внутренней валютой Telegram Stars, реализовать собственную систему промокодов и админку без использования громоздких фреймворков, оставаясь на библиотеке telebot (pyTelegramBotAPI).
https://habr.com/ru/articles/969080/
#python #openai_api #telegram_bot #api #telegram_stars #github #sqlite3
-
Пишем Telegram-бота на Python: прикручиваем оплату Telegram Stars, систему промокодов и OpenAI
Привет, Хабр! В качестве пет-проекта для работы с API и базами данных решил написать своего бота-ассистента. Идея простая: прокси к OpenAI, но с нюансами: хотел разобраться, как работать с относительно новой внутренней валютой Telegram Stars, реализовать собственную систему промокодов и админку без использования громоздких фреймворков, оставаясь на библиотеке telebot (pyTelegramBotAPI).
https://habr.com/ru/articles/969080/
#python #openai_api #telegram_bot #api #telegram_stars #github #sqlite3
-
Пишем Telegram-бота на Python: прикручиваем оплату Telegram Stars, систему промокодов и OpenAI
Привет, Хабр! В качестве пет-проекта для работы с API и базами данных решил написать своего бота-ассистента. Идея простая: прокси к OpenAI, но с нюансами: хотел разобраться, как работать с относительно новой внутренней валютой Telegram Stars, реализовать собственную систему промокодов и админку без использования громоздких фреймворков, оставаясь на библиотеке telebot (pyTelegramBotAPI).
https://habr.com/ru/articles/969080/
#python #openai_api #telegram_bot #api #telegram_stars #github #sqlite3
-
Пишем Telegram-бота на Python: прикручиваем оплату Telegram Stars, систему промокодов и OpenAI
Привет, Хабр! В качестве пет-проекта для работы с API и базами данных решил написать своего бота-ассистента. Идея простая: прокси к OpenAI, но с нюансами: хотел разобраться, как работать с относительно новой внутренней валютой Telegram Stars, реализовать собственную систему промокодов и админку без использования громоздких фреймворков, оставаясь на библиотеке telebot (pyTelegramBotAPI).
https://habr.com/ru/articles/969080/
#python #openai_api #telegram_bot #api #telegram_stars #github #sqlite3
-
I built a side-project. I used #PostgreSQL to preserve state. I'm coming to regret that decision. When I deployed, I had to boot up a PG cluster, and now I have to worry about backups (the data is important).
My only worry is full-text search and storing XML in the database (less structured data).
I should have just used #sqlite3.
Luckily, I deployed to bare-metal, so I can change my mind quite quickly.
-
Second new: I decided to fully recode "Crisps Chat 🍟" On my opinion - that was a dirty code.
It's a long story, alas...
The recoded version is located here 👉 https://codeberg.org/xolatgames/Crisps-Chat-Recoding
I wish you a nice, and a cool day! ✌️😜
#cpp #cplusplus #app #apps #soft #software #imgui #sdl #sdl2 #messaging #sqlite #sqlite3 #communication #opensource #codeberg #git #cmake #make #makefile #application #applications #linux #DearImGui #messages #chat #chatting #chats
-
- Two #DOjS releases and a #win32 port
- A new release of #jSH
- Contributed #DJGPP patches to #mbedTLS and #jasper
- Updated my #BuildRoot GeodeLX repo
- Updated DOSQLite (#SQLite for MS-DOS)
- 11 Updates to #DOStodon (#MastodonClient for MS-DOS)
- Three updates to #httpDOS (#HTTPS server for MS-DOS)
#MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing
-
Игра 2048 в вашем Telegram-боте: как создать MiniApp с помощью FastAPI и Aiogram за несколько шагов
Превращаем известную игру 2048 в увлекательный Telegram-бот! Расскажу, как за несколько шагов создать MiniApp с помощью FastAPI и Aiogram, интегрировать API и настроить базы данных. Пошаговое руководство для тех, кто хочет освоить разработку на новом уровне.
https://habr.com/ru/companies/amvera/articles/853870/
#telegram #telegram_mini_app #telegram_web_app #telegrambot #python #fastapi #sqlite3 #sqlalchemy_20 #alembic
-
@tomayac Just finished watching the recording of the Fugu Chat from BlinkOn 17. I particularly enjoyed the very last remark by Ben Morss: https://yewtu.be/watch?v=5Yzd3nCvIAM&t=27m25s
He refers to the recent beta release of sqlite3 WebAssembly which enables to create AND persist a sqlite database in your browser: https://sqlite.org/releaselog/3_40_0.html
For persisting the database they are using a (theoretically) unlimited 👀 browser-side storage (OPFS): https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/
-
Создание меню/кнопок в pyTelegramBotAPI на основе SQL запроса
В данной статье планирую поделиться с вами своей наработкой, которая позволяет создавать меню и кнопки вашего Telegram бота на основе данных хранящихся в БД. Реализовывать все это будем на Python и нам потребуются библиотеки.
https://habr.com/ru/articles/832342/
#pytelegrambotapi #sqlite3 #python #telegram #inlinekeyboard #inlinekeyboardmarkup #кнопки #меню #база_дынных
-
I've been also using #SQLite3 databases with many random writes on #Btrfs with older #SSD. What a nightmare! I'm really curious what the Write Amplification Factor (WAF) actually is, when I increment counter. I could test that just for fun. I'm sure it's something horrible. CREATE TABLE tab (count); UPDATE tab SET count = count + 1; Just a table with a single counter column and a single row. And then call the update many times in individual transactions. How many bytes will be erased from SSD and how many #IOPs the OS I/O counters will show. -
EDIT: this problem was fixed using trim() on the variable.
Need a little help with SQLITE3 and PHP.
When I use the following code:
$statement = $db->prepare('SELECT * FROM programme WHERE progchanname = :progchanname');$statement->bindValue(':progchanname', $channel);
$res = $statement->execute();
Nothing is returned.
But if I substitute the variable $channel with 'HGTV' I get results.Why is the variable not being accepted?
-
It is so cool that likely one of the fastest (especially compared to `better-sqlite3`) sqlite bindings for Node.js out there is the one we use for Signal Desktop client.
https://github.com/signalapp/node-sqlcipher
I should find motivation to upstream my ideas to back to Node.js core (JS level parameter binding and row parsing through a compiled function), but I’m… too lazy for that. Happy to explain how it all works to anyone interested, though!
-
Aaand upgrade done, overall took ~30min to migrate my family #Nextcloud from #Sqlite3 to #Postgres
It does feel much snappier now, especially when loading many thumbnails.
Unfortunately the process does take a software engineering degree to finish (--clean-schema does not work due to missing `drop table oc_news_* ... *cascade*`), it's a lot of babysitting and manual corrections.
-
Turns out #sqlite3 does not have a built-in function to validate #utf8 - it just does GIGO (garbage in, garbage out): https://sqlite.org/invalidutf.html
So one quick hack of a utf8 validation loadable extension, I ran `select * from oc_filecache where isutf8(name) is null` and there was one (!!!) among the 3.5M entries (it was an external file).
`delete from oc_filecache where fileid=287791` and I'm ready to go again. Setting `cpupower frequency-set -g performance` and now it's just 20min left.
-
☠️ Oh joy, yet another tale of how #SQLite3 becomes a sardine can when you try to cram in #multitenancy with Rails! 🐟 Apparently, the author's groundbreaking revelation is that ignoring #multithreading makes your app collapse faster than my interest in reading this. 🚀
https://blog.julik.nl/2025/04/a-can-of-shardines #Rails #Issues #SardineCan #HackerNews #ngated -
Shardines: SQLite3 Database-per-Tenant with ActiveRecord
https://blog.julik.nl/2025/04/a-can-of-shardines
#HackerNews #Shardines #SQLite3 #ActiveRecord #DatabasePerTenant #HackerNews
-
My first experience with #sqlite3 (well, #Sqlite then)
~2005 I had an mp3 player with a mini HDD (yes, hard drive [1]) that only allowed uploading music via a tool. I managed to find the files on the drive, but their names were "mangled" (e.g. 18274521.mp3)
I found a weird looking file that looked like it might contain some interesting data with "sqlite" at start of hexdump. I found sqlite online and managed to find the way to map the file names back to metadata.
[1] https://en.wikipedia.org/wiki/Portable_media_player#Hard_drive
-
Codeby.Games. CTF TASK «ТЕТРИС»/«TETRIS»
Приветствую всех любителей CTF и этичного хакинга на стороне Red Team! В этой статье мы рассмотрим прохождение легкого таска "ТЕТРИС", разработанного пентестерами из команды Codeby.Games . Справка: codeby.games - отечественный условно бесплатный веб-проект, где каждый может попрактиковаться в оттачивании навыков наступательной кибербезопасности. Таски (задания) представлены в широком спектре: начиная от использования методов OSINT и заканчивая компрометацией учебного домена Active Directory. CTF разделяются на три группы - "Легкий", "Средний", "Сложный" в различных категориях. Но подробнее об этом - на официальном сайте проекта. Задание "Тетрис" находится в категории "Веб". Категория посвящена оттачиванию практических навыков в рамках OWASP Top 10. Цель этого задания - получить доступ к панели администратора веб-приложения и захватить флаг. Общий план решения CTF выглядит так:
-
Greetings Programs! We're back at it working towards @pidgin 3.0 Experimental 2!
We're going to continue with some library work tonight, working on our #sqlite3 helper library and if there's time getting back to our #sasl library!
Come on by!!
https://twitch.tv/rw_grim
https://youtube.com/@rw_grim#Pidgin #OpenSource #OpenSourceLive #C #GTK #Chat #Messaging
-
FastAPI + APScheduler: Простой пошаговый гайд по созданию асинхронного API для мониторинга валют по расписанию на Python
Как создать асинхронный API для мониторинга курсов валют на Python? В этом практическом руководстве мы разработаем сервис на FastAPI с интеграцией APScheduler, который будет отслеживать курсы USD и EUR в банках России. Вы узнаете, как реализовать асинхронный парсинг данных, настроить планировщик задач и развернуть приложение в облаке. Проект включает систему аутентификации, фильтрацию данных и REST API — идеальный пример для изучения современной веб-разработки на Python.
https://habr.com/ru/companies/amvera/articles/859990/
#restapi #fastapi #python_api #sqlalchemy_20 #sqlite3 #aiosqlite #парсинг_данных #асинхронный_парсинг_данных #aiohttp #курс_валют_на_python
-
SQLAlchemy 2.0 для новичков
Данная статья представляет собой ознакомление с базовым синтаксисом SQLAlchemy 2.0, информации здесь хватит для того, чтобы сразу начать пользоваться и удовлетворить 80% ваших нужд, да и на неё вы потратите меньше времени, чем на чтение документации). Предполагается, что вы знакомы с базовым синтаксисом языка Python и, возможно, новичок в программировании, как я :-)
https://habr.com/ru/articles/848592/
#sqlalchemy_20 #sqlalchemy #python #python3 #sqlite #sqlite3
-
One of the great things about #golang is easy cross-compilation. However, most #golang #sqlite3 drivers make it considerably less easy by wrapping around the C implementation, requiring #cgo. Now there's a new `database/sql` compatible driver that gets rid of #cgo by wrapping the #sqlite #wasm build instead. Neat!
[2/2]
-
Большая иерархия в SQL запросе + PostgreSQL
Сначала запрос адаптирован для работы в PostgreSQL 15.6. Затем работа запроса проверена на достаточно объемной иерархии - в качестве источника данных использована структура архива jdk-master.zip из OpenJDK 22
https://habr.com/ru/articles/811523/
#MySQL #SQL #common_table_expression #cte #with_recursive #Иерархические_структуры_в_SQL #Обобщенные_табличные_выражения #sqlite #sqlite3 #postgresql
-
Отображение части иерархии в SQL запросе
Продолжение статьи, в которой предложено решение задачи визуализации иерархической структуры средствами SQL запросов, на примере MySQL и SQLite В этой части производится доработка запросов для отображения части иерархии, начиная с конкретных узлов, и анализируются возможные связанные ошибки
https://habr.com/ru/articles/810855/
#MySQL #SQL #Common_Table_Expression #CTE #with_recursive #Иерархические_структуры_в_SQL #Обобщенные_табличные_выражения #sqlite #sqlite3
-
- Two #DOjS releases and a #win32 port
- A new release of #jSH
- Contributed #DJGPP patches to #mbedTLS and #jasper
- Updated my #BuildRoot GeodeLX repo
- Updated DOSQLite (#SQLite for MS-DOS)
- 11 Updates to #DOStodon (#MastodonClient for MS-DOS)
- Three updates to #httpDOS (#HTTPS server for MS-DOS)
#MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing
-
- Two #DOjS releases and a #win32 port
- A new release of #jSH
- Contributed #DJGPP patches to #mbedTLS and #jasper
- Updated my #BuildRoot GeodeLX repo
- Updated DOSQLite (#SQLite for MS-DOS)
- 11 Updates to #DOStodon (#MastodonClient for MS-DOS)
- Three updates to #httpDOS (#HTTPS server for MS-DOS)
#MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing
-
- Two #DOjS releases and a #win32 port
- A new release of #jSH
- Contributed #DJGPP patches to #mbedTLS and #jasper
- Updated my #BuildRoot GeodeLX repo
- Updated DOSQLite (#SQLite for MS-DOS)
- 11 Updates to #DOStodon (#MastodonClient for MS-DOS)
- Three updates to #httpDOS (#HTTPS server for MS-DOS)
#MSDOS #RetroComputing #recap2024 #JavaScript #SQLite3 #FreeDOS #creativecoding #p5js #retrodev #retrodevelopment #3dfx #OpenGL #Processing