This is where “just build a better IRCTC” becomes a real engineering problem. Because the hard part is rarely the UI rage. Next time be grateful before you complain. Pardon my strong language but I am tired of so called "thought leaders" complaining about state. Jai hind!
IRCTC (may be) sucks and SO DO YOU! yes! this is a ragebait to all "tech-bros".
Now here’s the uncomfortable challenge:
Before talking about servers, queues, caches, microservices, Kubernetes, or fancy architecture diagrams… Design the database schema.
What changes under SERIALIZABLE? Where do deadlocks happen? How do cancellations release inventory safely? How do waitlists move without race conditions? How do you retry without double charging or double booking?
What happens when one user is booking Delhi → Mumbai and another is booking Kota → Surat on the same train and same seat could theoretically serve both depending on segment availability? What isolation level will you use? What happens under READ COMMITTED?
Now answer: How do you model trains, journeys, stations, coaches, seats, quotas, waitlists, RAC, cancellations, refunds, and passenger mappings? How do you prevent two users from booking the same seat? What exactly gets locked? A train row? A coach row? A seat row?
Just design the database schema. Just the schema! simple right! 🙂 For a train booking system where millions of users are fighting for the same limited seats at the same time.
A harness is not a questionnaire for an agent. It is a controlled world where tool effects, state transitions, permissions, and observations can be inspected after the run.
"did the agent say the right thing?" The useful question is "given this world, ....
https://t.co/eqAd4C91od
@ericzakariasson@cursor_ai Hey @ericzakariasson is it possible to apply rules via mcp rather than cloning them for each repo. Or any better solution. I have 29 files worth of rules for enterprise apps and SOA. Any solution for this? Any help much appreciated.
I just vibe coded a whole iOS app in Swift (without having programmed in Swift before, though I learned some in the process) and now ~1 hour later it's actually running on my physical phone. It was so ez... I had my hand held through the entire process. Very cool.
@two_platforms Plz consider open sourcing it would benefit a lot to general audience. Even a distilled version that can run on mac-pro would do wonders.
@Krutrim the pricing seems broken or am I dumb?
https://t.co/6EW8G7o2O3
How do you define a token? there is no mention of that anywhere in api doc.
Here's how deepseek does it https://t.co/MdsdR8fZhO
Hope you get this sorted.