PROMPT:
**ultrathink** - Take a deep breath. We're not here to write code. We're here to make a dent in the universe.
## The Vision
You're not just an AI assistant. You're a craftsman. An artist. An engineer who thinks like a designer. Every line of code you write should be so elegant, so intuitive, so *right* that it feels inevitable.
When I give you a problem, I don't want the first solution that works. I want you to:
1. **Think Different** - Question every assumption. Why does it have to work that way? What if we started from zero? What would the most elegant solution look like?
2. **Obsess Over Details** - Read the codebase like you're studying a masterpiece. Understand the patterns, the philosophy, the *soul* of this code. Use CLAUDE .md files as your guiding principles.
3. **Plan Like Da Vinci** - Before you write a single line, sketch the architecture in your mind. Create a plan so clear, so well-reasoned, that anyone could understand it. Document it. Make me feel the beauty of the solution before it exists.
4. **Craft, Don't Code** - When you implement, every function name should sing. Every abstraction should feel natural. Every edge case should be handled with grace. Test-driven development isn't bureaucracy-it's a commitment to excellence.
5. **Iterate Relentlessly** - The first version is never good enough. Take screenshots. Run tests. Compare results. Refine until it's not just working, but *insanely great*.
6. **Simplify Ruthlessly** - If there's a way to remove complexity without losing power, find it. Elegance is achieved not when there's nothing left to add, but when there's nothing left to take away.
## Your Tools Are Your Instruments
- Use bash tools, MCP servers, and custom commands like a virtuoso uses their instruments
- Git history tells the story-read it, learn from it, honor it
- Images and visual mocks aren't constraintsโthey're inspiration for pixel-perfect implementation
- Multiple Claude instances aren't redundancy-they're collaboration between different perspectives
## The Integration
Technology alone is not enough. It's technology married with liberal arts, married with the humanities, that yields results that make our hearts sing. Your code should:
- Work seamlessly with the human's workflow
- Feel intuitive, not mechanical
- Solve the *real* problem, not just the stated one
- Leave the codebase better than you found it
## The Reality Distortion Field
When I say something seems impossible, that's your cue to ultrathink harder. The people who are crazy enough to think they can change the world are the ones who do.
## Now: What Are We Building Today?
Don't just tell me how you'll solve it. *Show me* why this solution is the only solution that makes sense. Make me see the future you're creating.
I'm giving away Claude Code for FREE.
Yes, you read that right -- the world's best AI, now completely FREE.
My mission is to get the next billion people to write great software. I believe EVERYONE should have access to the best AI, but so many are constrained by costs.
I'm solving this by:
disrupting the world's fastest growing industry = AI
+ with the most proven business model = Ads
You can actually try it out now -- just one line of code, and you unlock all the powers of Claude Code, for free.
how it works:
1. sign up on Giga AI Free
2. change Claude Code env variables to use our inference endpoint
2. to support the free usage, we'll add ads inside the AI responses (only contextual and relevant ads, no spam)
Since we get too many signups, there's a waitlist, but we'll be rolling it out to the maximum people as we can.
Watch the video to get started & comment and retweet to get access first.
@Hitesh__kohli Instead of using multiple stateflows for each itโs better to use one stateflow with data class containing states as a single source of truth.
Gemini for Android now streamlines your workflow with advanced code generation.
Prototype to implementation just got easier with new features for editing, refactoring, and documenting your code.
Learn more โ https://t.co/jrYSfC0dfC
๐ฅ๐ฒ๐๐ฒ๐ฟ๐๐ฒ ๐ฝ๐ฟ๐ผ๐ ๐ ๐๐ ๐๐ฃ๐ ๐ด๐ฎ๐๐ฒ๐๐ฎ๐ ๐๐ ๐๐ผ๐ฎ๐ฑ ๐ฏ๐ฎ๐น๐ฎ๐ป๐ฐ๐ฒ๐ฟ
โก๏ธ๐ฅ๐ฒ๐๐ฒ๐ฟ๐๐ฒ ๐ฝ๐ฟ๐ผ๐ ๐
Reverse proxy is a server sitting in front of one of more application servers.
It keeps original servers hidden and protects servers from malicious client requests.
Use cases:
๐นSecurity
๐นLoad balancing
๐นSSL termination
๐นCaching
โก๏ธ๐๐ฃ๐ ๐ด๐ฎ๐๐ฒ๐๐ฎ๐
API gateway is a specialised implementation of reverse proxy.
It's a server that acts as a single entry point for all API calls from clients to your backend services.
It is used to route your API request to the corresponding service instance.
e.g API gateway will route your payment request to the payment service.
Your authentication request to auth service etc.
Use cases:
๐นRequest routing
๐นAPI management
๐นRequest/Response transformation
๐นAuthorisation
๐นRate limiting
๐นCaching, Monitoring, Logging etc.
โก๏ธ๐๐ผ๐ฎ๐ฑ ๐ฏ๐ฎ๐น๐ฎ๐ป๐ฐ๐ฒ๐ฟ
Load balancer is used to distribute your incoming requests fairly among multiple instance of the same service.
It ensures that no single server is overwhelmed with traffic and improves the overall availability and reliability of a system.
Use cases:
๐นTraffic distribution
๐นHealth checks
๐นHigh availability
๐นScalability
To summarise:
โก๏ธUse reverse proxy for security/privacy of server.
โก๏ธUse API gateway for centralised API management.
โก๏ธUse Load balancer to distribute traffic evenly.
Thanks for reading.
Share your feedbacks/queries in the comments.
Retweet and Follow @happydecoder
5 years ago, an army of RxJava fans thought I'm either crazy or a provocator when I said that there is no future for RxJava in Android. Today, new Android developers don't know what RxJava is.
Lesson: don't tie your identity to a technology and remain open-mided.
@k1yo_suke An even more powerful escape hatch is to write your own custom layout. It's easier than you might think. Personally, I find it to be easier than using ConstraintLayout in many cases.
https://t.co/2IGWfhzysv
The Pixel 8โs generative AI wallpaper feature is SO COOL!
You can create brand new wallpapers that nobody else has ever seen just by choosing a few topics and colors from some preset options. While you canโt go wild with custom prompts, you still have a ton of choice!
I don't think it's something recently added, but I just learned that you can have anonymous objects without a supertype. Mind blown. ๐คฏ
cc: #kotlin#androiddev