
I'm a Full Stack Software Engineer, based in Brazil. 22y
Joined November 2021
- Tweets198
- Following856
- Followers123
- Likes108K
Erickzao retweeted
My dear software engineers, I am excited to present you my latest achievement in the code search area that I've been trying to tackle for the last months:
ACTUALLY WORKING real-time approximate typo-resistant code search. What does it mean?
you: can search any code with any typos
you agent: for every search of UserController with 0 results will automatically suggest UserAuthController without additional cost
It's already live github.com/dmtrKovalenko/fff… you can try it right now as MCP for file search
Erickzao retweeted
In the next version of Bun
Bun goes ad-supported!
![$ bun test bun test v1.3.12-free (alb2c3d) • src/utils.test.ts (42) [0.12ms] x src/auth.test.ts > validates token [0.89ms] SPONSORED error in 5. - Performance issues? More common than you think. Ships in unmarked packages. Take the quiz → - steady A error unlocks after ad 246 pass • 1 fail • [8.21s] Run bun upgrade -pro to disable ads.](https://pbs.twimg.com/media/HEzGnX1boAADLAn.jpg?name=small&format=webp)
ALT $ bun test bun test v1.3.12-free (alb2c3d) • src/utils.test.ts (42) [0.12ms] x src/auth.test.ts > validates token [0.89ms] SPONSORED error in 5. - Performance issues? More common than you think. Ships in unmarked packages. Take the quiz → - steady A error unlocks after ad 246 pass • 1 fail • [8.21s] Run bun upgrade -pro to disable ads.
Erickzao retweeted
paginação cursor-based + virtualização + aggregate counters O(1).
> cada página carrega em <100ms.
> browser só renderiza as rows visíveis.
> a contagem nunca faz scan na tabela.
stack: Convex + @tanstack/react-virtual + ódio no coração. zero infra extra.
depois de enrolar demais resolvi começar a buildar in public, com 90% pronto😅
vou fazer uma thread mostrando a jornada: decisões, cagadas, aprendizados, e o que construí sozinho em
38 dias, pra compensar tudo que deixei de documentar até agora.
qual foi a decisão técnica que vocês mais se arrependeram (ou mais se orgulharam) construindo o produto de vocês?
cc @BolhaDevs @sseraphini @ChristoPy_ @acgfbr
Erickzao retweeted
A maior parte dos devs não fazem ideia do tanto de perf-tuning que o nextjs faz.
Fonte, imagens, Brotli compression e muitas outras coisas.
Por default, o vinext aqui não chegou nem perto do lighthouse do next.
Eu sei disso porque eu levei 5 minutos pra fazer o vertz bater a performance do vinext, e umas 12h pra bater do nextjs.
Erickzao retweeted
📂 SaaS
┃
┣ 📂 Idea
┃ ┣ 📂 Problem Discovery
┃ ┣ 📂 Market Research
┃ ┣ 📂 Niche Selection
┃ ┣ 📂 Competitor Analysis
┃ ┗ 📂 Opportunity Mapping
┃
┣ 📂 Validation
┃ ┣ 📂 Customer Interviews
┃ ┣ 📂 Landing Page Test
┃ ┣ 📂 Waitlist
┃ ┣ 📂 Pre Sales
┃ ┗ 📂 Demand Testing
┃
┣ 📂 Planning
┃ ┣ 📂 Product Roadmap
┃ ┣ 📂 Feature Prioritization
┃ ┣ 📂 MVP Scope
┃ ┣ 📂 Tech Stack
┃ ┗ 📂 Development Plan
┃
┣ 📂 Design
┃ ┣ 📂 Wireframes
┃ ┣ 📂 UI Design
┃ ┣ 📂 UX Flows
┃ ┣ 📂 Prototype
┃ ┗ 📂 Design System
┃
┣ 📂 Development
┃ ┣ 📂 Frontend
┃ ┣ 📂 Backend
┃ ┣ 📂 APIs
┃ ┣ 📂 Database
┃ ┣ 📂 Authentication
┃ ┗ 📂 Integrations
┃
┣ 📂 Infrastructure
┃ ┣ 📂 Cloud Hosting
┃ ┣ 📂 DevOps
┃ ┣ 📂 CI CD
┃ ┣ 📂 Monitoring
┃ ┗ 📂 Security
┃
┣ 📂 Testing
┃ ┣ 📂 Unit Testing
┃ ┣ 📂 Integration Testing
┃ ┣ 📂 Bug Fixing
┃ ┣ 📂 Performance Testing
┃ ┗ 📂 Beta Testing
┃
┣ 📂 Launch
┃ ┣ 📂 Landing Page
┃ ┣ 📂 Product Hunt
┃ ┣ 📂 Beta Users
┃ ┣ 📂 Early Adopters
┃ ┗ 📂 Public Release
┃
┣ 📂 Acquisition
┃ ┣ 📂 SEO Wins
┃ ┣ 📂 Content Marketing
┃ ┣ 📂 Social Media
┃ ┣ 📂 Cold Email
┃ ┣ 📂 Influencer Outreach
┃ ┗ 📂 Affiliate Marketing
┃
┣ 📂 Distribution
┃ ┣ 📂 Directories
┃ ┣ 📂 SaaS Marketplaces
┃ ┣ 📂 Communities
┃ ┣ 📂 Partnerships
┃ ┗ 📂 Integrations
┃
┣ 📂 Conversion
┃ ┣ 📂 Sales Funnel
┃ ┣ 📂 Free Trial
┃ ┣ 📂 Freemium Model
┃ ┣ 📂 Pricing Strategy
┃ ┗ 📂 Checkout Optimization
┃
┣ 📂 Revenue
┃ ┣ 📂 Subscriptions
┃ ┣ 📂 Upsells
┃ ┣ 📂 Add-ons
┃ ┣ 📂 Annual Plans
┃ ┗ 📂 Enterprise Deals
┃
┣ 📂 Analytics
┃ ┣ 📂 User Tracking
┃ ┣ 📂 Funnel Analysis
┃ ┣ 📂 Cohort Analysis
┃ ┣ 📂 KPI Dashboard
┃ ┗ 📂 A/B Testing
┃
┣ 📂 Retention
┃ ┣ 📂 User Onboarding
┃ ┣ 📂 Email Automation
┃ ┣ 📂 Customer Support
┃ ┣ 📂 Feature Adoption
┃ ┗ 📂 Churn Reduction
┃
┣ 📂 Growth
┃ ┣ 📂 Referral Programs
┃ ┣ 📂 Community Building
┃ ┣ 📂 Product Led Growth
┃ ┣ 📂 Viral Loops
┃ ┗ 📂 Expansion Strategy
┃
┗ 📂 Scaling
┣ 📂 Automation
┣ 📂 Hiring
┣ 📂 Systems
┣ 📂 Global Expansion
┗ 📂 Exit Strategy
Erickzao retweeted
SOLID Principles Explained with Clear Examples:
𝐒 - 𝐒𝐢𝐧𝐠𝐥𝐞 𝐑𝐞𝐬𝐩𝐨𝐧𝐬𝐢𝐛𝐢𝐥𝐢𝐭𝐲 𝐏𝐫𝐢𝐧𝐜𝐢𝐩𝐥𝐞
A class should have only one reason to change.
- Example: Instead of one giant User class that handles authentication, profile updates, and sending emails, split it into UserAuth, UserProfile, and EmailService.
𝐎 - 𝐎𝐩𝐞𝐧/𝐂𝐥𝐨𝐬𝐞𝐝 𝐏𝐫𝐢𝐧𝐜𝐢𝐩𝐥𝐞
Classes should be open for extension but closed for modification.
- Example: Define a Shape interface with an area() method. When you need a new shape, just add a Circle or Triangle class that implements it.
𝐋 - 𝐋𝐢𝐬𝐤𝐨𝐯 𝐒𝐮𝐛𝐬𝐭𝐢𝐭𝐮𝐭𝐢𝐨𝐧 𝐏𝐫𝐢𝐧𝐜𝐢𝐩𝐥𝐞
Subtypes must be substitutable for their base types without breaking behavior.
- Example: If Bird has a fly() method, then Eagle and Sparrow should both work anywhere a Bird is expected.
𝐈 - 𝐈𝐧𝐭𝐞𝐫𝐟𝐚𝐜𝐞 𝐒𝐞𝐠𝐫𝐞𝐠𝐚𝐭𝐢𝐨𝐧 𝐏𝐫𝐢𝐧𝐜𝐢𝐩𝐥𝐞
Don't force classes to implement interfaces they don't use.
- Example: Instead of one fat Machine interface with print(), scan(), and fax(), break it into Printable, Scannable, and Faxable. A SimplePrinter only implements Printable.
𝐃 - 𝐃𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐲 𝐈𝐧𝐯𝐞𝐫𝐬𝐢𝐨𝐧 𝐏𝐫𝐢𝐧𝐜𝐢𝐩𝐥𝐞
High-level modules should not depend on low-level modules. Both should depend on abstractions.
- Example: Your OrderService should depend on a PaymentGateway interface, not directly on Stripe or PayPal.
The real power of SOLID is not in following each principle in isolation. It's in how they work together to make your code easier to change, test, and extend.
♻️ Repost to help others in your network
Erickzao retweeted
Okkay I was hovering around excalidraw's code repo and found so much interesting things from their collaboration feature
1/n -- event driven socket architecture
- the server never sees plaintext, the initialization vector and roomKey pattern is AES-GCM encryption
some things to really get from this
> the server doesn't need to read data to route it
> e2e encryption at the socket layer
> iv is sent alongside data so the receiver can decrypt without a shared session
And this is also got divided into layers
JUSTT WAOOWWWW
Erickzao retweeted
Redis is NOT just a cache. Here are top 10 use cases you should know:
1. 𝐂𝐚𝐜𝐡𝐢𝐧𝐠
2. 𝐒𝐞𝐬𝐬𝐢𝐨𝐧 𝐒𝐭𝐨𝐫𝐞
3. 𝐑𝐚𝐭𝐞 𝐋𝐢𝐦𝐢𝐭𝐢𝐧𝐠
4. 𝐋𝐞𝐚𝐝𝐞𝐫𝐛𝐨𝐚𝐫𝐝𝐬
5. 𝐏𝐮𝐛/𝐒𝐮𝐛 𝐌𝐞𝐬𝐬𝐚𝐠𝐢𝐧𝐠
6. 𝐑𝐞𝐚𝐥-𝐓𝐢𝐦𝐞 𝐀𝐧𝐚𝐥𝐲𝐭𝐢𝐜𝐬
7. 𝐃𝐢𝐬𝐭𝐫𝐢𝐛𝐮𝐭𝐞𝐝 𝐋𝐨𝐜𝐤𝐢𝐧𝐠
8. 𝐆𝐞𝐨𝐬𝐩𝐚𝐭𝐢𝐚𝐥 𝐐𝐮𝐞𝐫𝐢𝐞𝐬
9. 𝐌𝐞𝐬𝐬𝐚𝐠𝐞 𝐐𝐮𝐞𝐮𝐞
10. 𝐑𝐞𝐚𝐥-𝐓𝐢𝐦𝐞 𝐍𝐨𝐭𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧𝐬
♻️ Repost to help others in your network.
























