qatanah | 10 months ago | on: OpenAI releases image generation in the API
qatanah's comments
qatanah | 1 year ago | on: Ask HN: Who is hiring? (April 2024)
qatanah | 2 years ago | on: Ask HN: Did you encounter any leap year bugs today?
qatanah | 3 years ago | on: Just use Postgres for everything
qatanah | 3 years ago | on: Ask HN: I want to be an expert in many things but my lifetime won't be enough
"skilfulness takes time and life is short"
qatanah | 3 years ago | on: Redis vs. KeyDB vs. Dragonfly vs. Skytable
qatanah | 3 years ago | on: PyPI loops on redirect while downloading dependencies
qatanah | 3 years ago | on: Building a fullstack app with Flask and Htmx
qatanah | 4 years ago | on: Postgres Auditing in 150 lines of SQL
https://github.com/cmabastar/audit-trigger
It uses the old and tested http://wiki.postgresql.org/wiki/Audit_trigger_91plus
but with JSONB instead of HSTORE, and automatically creates partitioned tables by month (Requires PG11+).
qatanah | 4 years ago | on: We saved millions in SSD costs by upgrading our filesystem
qatanah | 4 years ago | on: How Laravel Livewire works
qatanah | 4 years ago | on: MeiliSearch: A Minimalist Full-Text Search Engine
https://correlate.meetglimpse.com/
If you're doing some test products and just want to have a search that is easier to setup than ES. Meilisearch is a great alternative.
qatanah | 4 years ago | on: Windows 96
Where is my minesweeper and freecell?
qatanah | 4 years ago | on: Do you really need Redis? How to get away with just PostgreSQL
qatanah | 4 years ago | on: Ask HN: What novel tools are you using to write web sites/apps?
- React/ Js framework
- Deploy Static Files to S3
- Cloudfront for cdn
- Cloudflare pointing to cloudfront cdn
- Cloudfare Page rules for protected sites / no need create login/auth
- Flask
- Postgres
qatanah | 5 years ago | on: Migrating to SQLAlchemy 2.0
I like SQL and I like the ORM. When things go tough like doing complicated JOINs or OLAP. I just go raw sql. If it's OLTP, updates and simple lookups, ORM makes the code readable.
The alembic migration is also great! I can craft the models to design with postgres features (index, multi key index, pk uuid) and etc..
I'd would love sqlalchemy to invest more on scaling. Although scaling is an entire book of discussion. Not much resources are there for handling multiple db, sharding (maybe too much to ask).
My opinion is, love SQL and Love the ORM. You'll need both to appreciate it's power. It's like learning VIM, a long term investment tool and hard to :wq
qatanah | 5 years ago | on: New 10 Terapixel Image of the Night Sky Contains 1B Galaxies
qatanah | 5 years ago | on: An Introduction to ZFS
I'm trying to test it out on an i3a.large instance with 1.2TB NVME ssd and benchmarking postgres on it. Trying to move out of RDS since time to time I have an heavy iops scripts.
Only thing left is doing zfs snapshots next for my backups. zfs snapshots or pg_dump snapshots? I wonder what's better.
qatanah | 5 years ago | on: Show HN: A simple SSH CA service with only 150 lines of Python code
qatanah | 5 years ago | on: PostgreSQL 13