ProgerHub
4.86K subscribers
137 photos
2 videos
64 files
301 links
Ads & contact: @crazydev93

A channel with programming news and tips and tricks, nice for beginners but also for experienced programmers. πŸ’»
Download Telegram
Floci is a free, open-source local AWS emulator for development, testing, and CI.

It gives you AWS-shaped services on your machine without requiring a cloud account, an auth token, or paid feature gates. Point your AWS SDK, CLI, Terraform, CDK, OpenTofu, or test suite at http://localhost:4566 and keep your existing workflows.

https://github.com/floci-io/floci
Things Every Engineer Should Know: SQL Execution Order.

Source
Two ways to keep a user logged in.

And they fail in very different ways.

After login, you need to remember who the user is.

There's typically two common approaches:
β€’ Session token: a random ID. The server stores the session and looks it up each request.
β€’ JWT: a signed token holding the user's info. The server just verifies the signature, no lookup.

JWTs scale well because there's no server-side storage. That's also their weakness.

This is because you can't easily revoke a JWT before it expires. A logged-out user's token still works until it times out. Sessions you can kill instantly.

The solution, which is still not ideal, for JWTs is short expiration and token blacklisting.

Stateless is convenient, but "can't revoke" is a real security tradeoff.

Source
gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop.

https://www.gevent.org/api/gevent.greenlet.html
Media is too big
VIEW IN TELEGRAM
Redis Pub/Sub vs Kafka

Source
This media is not supported in your browser
VIEW IN TELEGRAM
IRIS is a shell auto-completion tool that works like code editor's IntelliSense

Github
❀1
The #1 Open-Source CRM

- TypeScript
- Nx
- NestJS, with BullMQ, PostgreSQL, Redis
- React, with Jotai, Linaria and Lingui

https://github.com/twentyhq/twenty
❀3
πŸ‘2
❀5πŸ‘4
Django 6.1's tip Fetch Modes: #python #django #fetch_modes

Django 6.1 fixes N+1 without you rewriting your queries you never touch the for loop. You just tell the queryset how permissive it should be about surprise trips to the database β€” and FETCH_PEERS quietly turns "101 queries" into "2 queries" with zero extra code at the call site.

Docs
❀3
Caching
πŸ”₯2
πŸ”₯2πŸ‘1
Qdrant (read: quadrant) is a vector similarity search engine and vector database. It provides a production-ready service with a convenient API to store, search, and manage pointsβ€”vectors with an additional payload. Qdrant is tailored for extended filtering support, making it useful for all sorts of neural-network or semantic-based matching, faceted search, and other applications.

https://github.com/qdrant/qdrant
❀1
FastrAPI is a high-performance web framework that supercharges your Python APIs with the power of Rust. Built on Axum and PyO3, it delivers unmatched speed, type safety, and developer-friendly Python syntax. Create robust, async-ready APIs with minimal overhead and maximum throughput. FastrAPI is your drop-in replacement for FastAPI, offering familiar syntax with up to 6x faster performance.

https://github.com/ppmpreetham/fastrapi
❀2πŸ‘1