FastAPI folks — I’m puzzled. Why does a malformed JSON body trigger a 422 instead of a 400? How do you handle this behavior in production?
#FastAPI #Python
github.com/fastapi/fast...
FastAPI folks — I’m puzzled. Why does a malformed JSON body trigger a 422 instead of a 400? How do you handle this behavior in production?
#FastAPI #Python
github.com/fastapi/fast...
It's gorgeous!
Just wrapped the capstone project for the Flutter beginner series from @roadmapsh.bsky.social
The best part was learning about Flutter's transformation widget to achieve the 3d effect and the material you support.
🌐Web Demo: architxkumar.github.io/flashcard/
🔗GitHub Repo: github.com/architxkumar...
It really looks cool, definitely worth the desktop wallpaper. Can you share the file link, if possible?
I kept thinking about whether Turso's probably the next big thing for edge devices.
At least it ain't cloud strike outage bad bad.
Just working on this ✨delightful flash card app
#Flutter
From what I am seeing on the internet, it's like 90% of the world relied on the us-east-1 😂
A smartphone displaying a grid of colorful landscape and nature photos is held in front of a laptop, which shows the same grid layout on its larger screen. Both devices are surrounded by a dark background, with the laptop keyboard glowing purple, illustrating responsive design across different screen sizes.
Just created a Flutter app to practise responsive grids!
#Flutter
Database entity relationship diagram showing six interconnected tables: USERS (top) with fields including user_id, username, email, password_hash, first_name, last_name, and profile_picture; ACCOUNTS (left) containing account_id, user_id, name, balance, currency, type, logo, created_at, and updated_at; TRANSACTIONS (bottom left) with transaction_id, account_id, amount, type, date, description, category_id, user_id, created_at, and updated_at; CATEGORIES (right) showing category_id, name, profile_picture, user_id; TAGS (bottom right) with tag_id, name, user_id; and TRANSACTION_TAGS (bottom center) as a junction table containing transaction_id and tag_id. The tables are connected by relationship lines showing foreign key associations, with USERS at the center connecting to ACCOUNTS and CATEGORIES, ACCOUNTS linking to TRANSACTIONS, TRANSACTIONS connecting to both CATEGORIES and TRANSACTION_TAGS, and TAGS linking to TRANSACTION_TAGS. Primary keys are marked with 'PK' and foreign keys with 'FK'
Created the ⛃ database schema for my backend "Expense Tracker API" project. Would love to have your feedback!
#Golang #Postgres #database
Today, taking inspiration from play.google.com/store/apps/d....
I decided to reverse-engineer the database design and improve upon it in Postgres. Here is a snippet of the work in progress.
Today, taking inspiration from play.google.com/store/apps/d....
I decided to reverse-engineer the database design and improve upon it in Postgres. Here is a snippet of the work in progress.
I just started using linter rules in #flutter like "always_use_package_imports" and "directives_ordering" . The sheer number of recommended linters on dart.dev/tools/linter... seemed overwhelming. Are there some essential linters worth using?
Just kick-started working on a fresh new project from
@roadmapsh.bsky.social
by jumping straight to the🗄️database data modelling.
Looks great! I have to admit it looks like loading spinner in a space game.
I couldn't agree more with that! I still feel that a lot of classes rely on rote learning which needs to change.
I bet you asked, "Is Jordan Schlansky real? Who writes his stuff?"
I just learned that Golang has merely 25 keywords, as opposed to C++'s 95 keywords (which, although no one uses all at once), but still, I think it's enough to highlight the language's emphasis on simplicity.
#golang
Thanks a lot!
Is there any specific design philosphy behind this?
I have a question about unit testing around databases in #golang. In the lib/pq's documentation, it states that I need to have a live PostgreSQL server to test it out. However, in unit testing, shouldn't the external dependencies be mocked?
github.com/lib/pq/blob/...
Even after 7 years, it's a blast to watch #TheBoringFlutterShow.
It's amazing to see the effort @redbrogdon.dev, Philip, and the rest of the Flutter team have put into each episode.
P.S. Also, I am curious why it has stopped airing?
#Flutter
Just wrapped up a fun Flutter web app - Oscar the Grouch's Resume 🗑️
It was a fun way to understand Flutter's MediaQuery, responsive padding, and snappy CI/CD to GitHub pages
via GitHub Action.
🌐Check it out at: architxkumar.github.io/oscar-the-gr...
#flutter #OscarTheGrouch #BuildInPublic
Happy to be here.
One question bugs me that if nginx too can also cache responses and gin/fiber can too. Which one should I consider?
Right now the focus is on iOS and Android. I haven't given wasm a shot. What's your advice for wasm?
I am finding it challenging and fun at the same time. Fun in the sense that it rally avoids the OOP hell and challenging in the sense that most Baas don't really support golang serverless function except for google cloud which makes things a bit harder.
Do you use redis for caching?
Hey Dima,
It's nice to meet you. Looking forward to learn from you.