Maciel Alves

38 posts

Maciel Alves banner
Maciel Alves

Maciel Alves

@macielestudo

Jr. software developer, web/mobile development and software analysis Have a project idea? Send me a message.

Sao Paulo, Brazil Katılım Ağustos 2025
29 Takip Edilen13 Takipçiler
Spacetraveler
Spacetraveler@spacetraveler_1·
@R38TAO Agora é hora de pegar o empréstimo? Hahahahha
Português
1
0
2
1.6K
Renato 38 r38tao
Renato 38 r38tao@R38TAO·
Duas notícias urgentes: Quem esperava promoção: chegou!BTCUSD em menor cotação desde nov/2024 - 5 meses seguidos de queda! É mentira o post que vendi tudo e comprei de prata, vender acima da faixa de isenção só após saída fiscal!
Renato 38 r38tao tweet media
Português
52
15
464
39.5K
Maciel Alves
Maciel Alves@macielestudo·
Hi friends! Happy new year!
English
0
0
0
3
Maciel Alves
Maciel Alves@macielestudo·
It is Sunday my friend.
Sao Paulo, Brazil 🇧🇷 English
0
0
0
4
Jordi Visser
Jordi Visser@jvisserlabs·
The stock market is giving a warning that BTC is about to rally. Pure Vol ( Beta) vs Pure Profitability (Quality) fell hard as BTC fell from 115 to 80. Now Beta vs quality has ripped back to highs in 10 of last 11 days while BTC is trying to gain its footing. Pure Vol vs Qual correlated to PMIs over time. Higher BTC to come.
Jordi Visser tweet media
English
215
577
4.6K
766K
Maciel Alves
Maciel Alves@macielestudo·
Lessons learned: Trust braces, not indentation Linters can save you (enable “curly” or “brace-style” rules) This ambiguity has been around since ALGOL 60—classic CS never dies! Have you ever been burned by dangling else in production? Drop your war stories below 👇 #JavaScript
English
0
0
0
85
Maciel Alves
Maciel Alves@macielestudo·
Even though indentation suggests otherwise, indentation is just for humans—parsers don’t care. The fix? Always use braces (or rewrite the logic):
Maciel Alves tweet media
English
1
0
0
14
Maciel Alves
Maciel Alves@macielestudo·
🧵 Ever been bitten by the classic “dangling else” problem in JavaScript (or C, C++, Java, etc.)? Look at this innocent-looking function:
Maciel Alves tweet media
English
1
0
1
15
Maciel Alves
Maciel Alves@macielestudo·
Have you read it? Amazing! I suggest you to do so.
The Next Fndr@TheNextFndr

Every app you use runs on databases. But how do they actually work? How do they find your data in millions of rows instantly? Here's what's happening when you hit "search": THE BASICS A database is organized storage. Think of it like a massive spreadsheet with tables, rows, and columns. Your user account? One row in a "users" table. Your posts? Rows in a "posts" table. Your likes? Another table linking you to posts. Simple structure, but powerful. WHY SEARCH IS FAST Here's the key: databases use indexes. Without indexes, finding your account means checking every single row. In a database with millions of users, that's slow. With indexes, the database creates a sorted lookup table. Like a book's index, it points directly to where your data lives. Instead of checking 10 million rows, it checks maybe 20. That's why search feels instant. HOW YOU ASK FOR DATA You query databases using commands. The most common language is SQL. Instead of saying "show me all posts by user 12345," you write: SELECT * FROM posts WHERE user_id = 12345 The database translates this, uses its indexes, and returns your data in milliseconds. WHY DATA STAYS CONSISTENT Databases follow ACID principles: Atomic: Operations complete fully or not at all (no half-finished transactions) Consistent: Data follows your rules (no invalid states) Isolated: Multiple operations don't interfere with each other Durable: Once saved, data survives crashes This is why your bank balance doesn't randomly change. SQL VS NOSQL SQL databases (PostgreSQL, MySQL): Structured tables, relationships, strong consistency. Great for financial data, user accounts. NoSQL databases (MongoDB, Redis): Flexible structure, faster for certain tasks, eventual consistency. Great for social feeds, caching. Different tools for different jobs. WHY SCALING IS HARD The problem: As you grow, one database can't handle everything. Reading data? You can add replicas (copies that handle read requests). Writing data? Much harder. You can't just copy—you need to decide which database handles what data. This is called sharding. Most scaling challenges come down to: "How do we split the database without breaking things?" THE TAKEAWAY Databases are organized storage with smart shortcuts (indexes) that make finding data fast. They speak a query language (usually SQL), maintain consistency (ACID), and become incredibly complex at scale. Every app you use depends on databases working correctly, invisibly, billions of times per day.

English
1
0
1
6
Narendra ✨
Narendra ✨@ITSBANASA·
Hey @X algorithm, I’m looking to #CONNECT with people interested in: ✅ DSA 🎨 Frontend 💼 Backend 🧠 Gen AI / Data Science 📊 Data Analyst ✨ Full Stack ⛓️ Leetcode 📐 System Design 🐍 Python ☕ Java 🚀 Let’s build, learn, and grow together—one connection at a time#letsconnect
English
60
1
45
1.5K
Ayush ☘️
Ayush ☘️@ayushHardeniya·
Hey @X 👋Looking to #CONNECT with folks into: 👨‍💻 JavaScript ⚛️ React 🧠 DSA 🌐 Full Stack 🎨Frontend 🧩 Backend ☕ Java 💻 LeetCode 🌱Springboot 🧩Node Let’s grow and together! #LetsConnect #100DaysOfCode
English
55
3
67
2.3K