Leonardo Freire

11.3K posts

Leonardo Freire banner
Leonardo Freire

Leonardo Freire

@lfreiredev

Burned out 2x while in the corporate world. Now I work on my own terms and help other devs do the same.

Portugal Katılım Mayıs 2013
187 Takip Edilen923 Takipçiler
Leonardo Freire
Leonardo Freire@lfreiredev·
@ashoKumar89 So the circuit breaker basically allows you to acknowledge the error faster, right?
English
1
0
1
14
Ashok Sahoo
Ashok Sahoo@ashoKumar89·
Your service is healthy until the dependency it calls starts failing. Without protection, failure spreads. That is why the Circuit Breaker Pattern exists 👇 Circuit Breaker Pattern prevents a system from repeatedly calling a failing service. Instead of continuously retrying and exhausting resources, it “breaks the circuit” and stops calls temporarily. It is inspired by electrical circuit breakers. The problem Service A calls Service B. Service B becomes slow or starts returning errors. If A keeps retrying: - Threads get blocked - Connection pools get exhausted - Latency increases - Failure cascades One failing dependency can bring down the entire system. How Circuit Breaker works It has three states: 1. Closed → Normal operation. Requests flow normally. Failures are monitored. 2. Open → Failure threshold exceeded. Requests fail immediately without calling the dependency. 3. Half-Open → After a timeout, a few test requests are allowed.If successful → switch to Closed.If failures continue → go back to Open. Why it matters - Prevents cascading failures - Protects system resources - Improves overall resilience - Fails fast instead of hanging Failing fast is often safer than retrying blindly. When to use it - Microservices architecture - External API integrations - Payment gateways - Database or cache dependencies - High-traffic distributed systems Avoid it in simple monoliths without remote dependencies. Circuit Breaker does not prevent failure. It prevents failure from spreading. Resilience is not about avoiding outages. It is about containing them.
English
3
2
17
2.7K
Jon Yongfook
Jon Yongfook@yongfook·
There is a viral AI app that is absolutely spamming the shit out of my inbox with no way to unsubscribe. These are all from the same app, different usernames and email addresses. The founder is going on podcasts bragging about going from zero to 6 figure MRR in 90 days or whatever. I highly suspect it’s all a bunch of sleazy scumbag bullshit fake it till you make it crap. I’m so sick of it.
Jon Yongfook tweet media
English
82
2
263
35.8K
Leonardo Freire
Leonardo Freire@lfreiredev·
@kylegawley The amount of useful software coming out is unbelievable, can't even keep up with it
English
0
0
0
6
Kyle Gawley
Kyle Gawley@kylegawley·
it's absolutely insane what's happening right now literally everyone is building software from 2 month old babies to grandparents and even dogs
English
117
5
194
9.2K
Klaas
Klaas@forgebitz·
i seriously think that every single comment on linkedin is now ai
English
197
2
313
17.7K
Leonardo Freire
Leonardo Freire@lfreiredev·
@joaoninamatos Go ask your personal trainer to vibecode his form submissions SaaS to save 20€/m and you'll see his answer
English
0
0
0
11
João Nina Matos
João Nina Matos@joaoninamatos·
ok i see why saas is dying. i stopped paying $20/mo for form submissions & analytics because it was dead easy to just build myself. my AI assistant built it in full, I didn't touch any code, have full visibility over step-by-step conversions, responses, etc. literally no need for SaaS
English
4
0
5
407
Leonardo Freire
Leonardo Freire@lfreiredev·
@forgebitz Nah I don't think it will - good recruitment will always need human interaction.
English
0
0
0
5
Klaas
Klaas@forgebitz·
recruitment is one of those fields that should easily be fixed by ai you can make a perfect matching engine yet all we got was resume and job spam, and now in-person interviews are back
English
22
1
55
3.5K
Leonardo Freire
Leonardo Freire@lfreiredev·
@tiagopita Ainda é mais fácil falar com alguém para resolver um problema do que utilizar as maioria das apps merdosas que andam por aí...
Português
0
0
0
104
Alex Kehr
Alex Kehr@alexkehr·
hot take: any software engineer who is not already at close to 100% ai coding output should be cut within the next 3 months not only are they inefficient, but they’ve also shown a lack of curiosity and willingness to learn
English
356
140
2.8K
588K
Mike Scully
Mike Scully@Mike_Scully_·
There's an accountancy firm two streets from where you're reading this right now. Been open since 1987. Three partners. Twelve staff. Full client list and a waitlist to get on it. Every January they drown. Tax season hits and the same thing happens every year. Junior staff manually pulling figures from client emails, copying numbers into spreadsheets, chasing documents, typing the same update emails over and over. They bill $400 an hour and spend half their time on $10 an hour work. But nobody has ever suggested doing it differently. Because this is just how accounting firms work. Always has been. Now here's the thing. That firm is not your competition. That firm is your client. The owner isn't resistant to change. He's just never had the time to look up from the business long enough to see that change was possible. We signed a $12,000 contract last month with a farm shop that was manually processing 7,000 invoices a year by hand. Not a tech company. Not a startup. A farm shop. They had no idea a solution existed until we walked in and showed them the ROI in 10 minutes. Every industry has that firm. That shop. That agency. Drowning in manual work, completely unaware that the tools to fix it exist, and more than willing to pay someone who does. Hormozi is right. The incumbents aren't your obstacle. They're the opportunity.
Alex Hormozi@AlexHormozi

There's never been a better time to start an AI-first business to disrupt an existing market because all the people in that existing market are busy running their businesses rather than learning AI and using words like "AI-first" rather than actually being AI-first.

English
3
2
74
15.5K
Leonardo Freire
Leonardo Freire@lfreiredev·
Um programador a escrever o código com requisitos escritos pelo advogado. Isto não vai mudar tão cedo como muitos fazem crer.
Português
0
0
0
12
Pedro Araújo
Pedro Araújo@pedrospective·
First weekend in a while without touching any code Offline mode > Online mode I guess all I needed was for the sun to come back
Pedro Araújo tweet media
English
3
0
5
153
IP
IP@ipwanciu·
If you understand these types 👇, you are officially no longer a vibe-coder, or you have never been! Show me a better solution! 🤟 #typescript
IP tweet media
English
18
4
305
51.2K
Ilia Stepin
Ilia Stepin@martbln_dev·
My monthly cost of living in Lisbon 🇵🇹 🏠 1300€ rent for the apartment 🥐 80€ pastéis de nata ☀️ 0€ vitamin D - it’s free here 🍷 120€ wine because it costs less than water 💻 200€ pretending to work from cafés ✈️ 400€ flights back to see people who actually have careers Total: 4,180€/month
Ilia Stepin tweet mediaIlia Stepin tweet mediaIlia Stepin tweet mediaIlia Stepin tweet media
Thomas Sanlis 🥐@T_Zahil

My monthly cost of living in France 🇫🇷 🏠 1,400€ loan for the appartment 🥗 450€ food, organic only, with meat fish etc 📦 300€ average for various expenses (bars, orders, etc) ⚡160€ electricity + gaz 📱 45€ phone + internet 🚌 17€ average for transportation Total: 2,372€/month

English
18
3
40
6K
Josh Hamilton
Josh Hamilton@nearbycoder·
@lfreiredev @Shpigford It was a one click for the engineer for the most part but also that puts pressure on the engineer to decide if they should pull the fire alarm or not. Easy to second guess yourself
English
1
0
1
13
Josh Pigford
Josh Pigford@Shpigford·
hear me out: status pages, but where companies actually use them.
English
15
0
37
4.3K
Josh Hamilton
Josh Hamilton@nearbycoder·
Status pages where the trigger for reporting isn’t human required! Working in Incident Management one thing it’s taught me is having the human in the loop during an incident declaration puts pressure on if and when to call something an incident to your customers! Automate it so the human is removed, worse case you declare a false alarm which no one really will be effected by that!
English
1
0
1
69
🧞‍♂️Martin Donadieu - oss/acc
My monthly cost of living in Portugal, Madeira 🇵🇹 for 2 🏠1000€ loan + insurance apartment( 2 bedroom 🚗 1000€ Tesla performance loan + insurance 🥗 1000€ food made by a chef delivered twice a week (5 days a week) 🏋700€ private trainer twice a week at home 🤪 500€ eating and working outside 🧹300€ cleaning lady twice a week 🐶 200€ dog food and toys 🚙 120€ wife car insurance ⚡️120€ electricity home and car 🛜 40€ internet home and mobile Total: 4.940€/month
🧞‍♂️Martin Donadieu - oss/acc tweet media🧞‍♂️Martin Donadieu - oss/acc tweet media🧞‍♂️Martin Donadieu - oss/acc tweet media🧞‍♂️Martin Donadieu - oss/acc tweet media
Thomas Sanlis 🥐@T_Zahil

My monthly cost of living in France 🇫🇷 🏠 1,400€ loan for the appartment 🥗 450€ food, organic only, with meat fish etc 📦 300€ average for various expenses (bars, orders, etc) ⚡160€ electricity + gaz 📱 45€ phone + internet 🚌 17€ average for transportation Total: 2,372€/month

English
33
25
352
62.5K
Baretto (tiny.host)⚡
Baretto (tiny.host)⚡@_baretto·
Taking your LLM to a Portuguese cafe to code by itself is important. Remember to reward your bots.
Baretto (tiny.host)⚡ tweet media
English
49
2
172
7.4K