Corey Cleary

266 posts

Corey Cleary banner
Corey Cleary

Corey Cleary

@ccleary00

Katılım Mayıs 2013
348 Takip Edilen154 Takipçiler
Heshie Brody
Heshie Brody@heshie·
*opens cursor* “Add a nav, do not use a side bar”
Heshie Brody tweet media
English
2
0
5
209
Corey Cleary
Corey Cleary@ccleary00·
@heshie i don't have to imagine explaining this... i have actually explained this 😂
English
1
0
1
16
Heshie Brody
Heshie Brody@heshie·
Imagine explaining this to offline people
Heshie Brody tweet media
English
4
0
10
256
Raul Junco
Raul Junco@RaulJuncoV·
Feature flags don’t belong in your core logic. Period. Sprinkling them across your codebase looks flexible; until it isn’t. Suddenly, you're testing flag combinations instead of features. Your logic becomes harder to read, reason about, and extend. You think you're moving fast. But you're just stacking complexity. Here’s the smarter way: 1. Use feature flags to choose behavior once, not to drive logic inline. 2. Build strategies that encapsulate behavior tied to flags. 3. Inject them into your codebase so each handles logic in isolation. This way, your business code stays focused. Your flags stay manageable. You will have: • Fewer test permutations (no more exponential growth) • Cleaner rollback paths • Focused, testable code • Easier flag cleanup (no more “wait, where did we use this?”) Flags are a decision-making tool, not a scattershot override system. Have you seen this problem before?
Raul Junco tweet media
English
6
9
55
3.8K
Corey Cleary
Corey Cleary@ccleary00·
@RaulJuncoV both ES & CDC both often use an event stream, especially if there are multiple consumers that need to process the same data so there is an overlap there too although still diff concepts. typically CDC will use a limited stream size/you will have a purge trigger to evict old data
English
1
0
1
54
Raul Junco
Raul Junco@RaulJuncoV·
Some questions separate Pros from Averages. Can you explain the difference between Event Sourcing vs. Change Data Capture (CDC)? Event Sourcing and CDC are related concepts that distributed systems use to propagate data changes to interested consumers and downstream services. They both deal with events, but they serve different purposes. Event Sourcing With Event Sourcing, the event log is the source of truth. Instead of storing only the latest state, you persist every state change as an event. This enables: • Auditing • Debugging • State reconstruction Change Data Capture (CDC) CDC listens to database-level changes and propagates them to other services. It ensures data consistency across systems without requiring them to query the source database directly. This works at the database level and tracks: • Inserts • Updates • Deletes While distinct, these concepts can be complementary: • You can use Event Sourcing to manage internal domain events and preserve history. • And use CDC to capture relevant changes and distribute them to external systems. Example: 1. A fintech app records TransactionInitiated and TransactionCompleted events using Event Sourcing. 2. A CDC pipeline listens for updates in the transaction database and syncs data to reporting, fraud detection, and notifications. I can't think of a better analogy than this. Could you? Event Sourcing is like a ledger—every transaction is logged for future reference. CDC is like a courier—it detects changes and notifies other systems but doesn’t store history.
Raul Junco tweet media
English
7
40
233
13.4K
Heshie Brody
Heshie Brody@heshie·
green line test passed ✅
Heshie Brody tweet media
English
3
0
12
310
Corey Cleary retweetledi
EFF
EFF@EFF·
Without notice, X has opted all users into training its "Grok" AI Model. To turn off this setting and stop your "posts, interactions, inputs, and results" from being used for training and fine-tuning Grok, visit x.com/settings/grok_… and uncheck the checkbox.
EFF tweet media
English
110
1.7K
2.4K
537K
Corey Cleary
Corey Cleary@ccleary00·
forgot how to return an object literal from an "inline" arrow function today: #Returning_object_literals" target="_blank" rel="nofollow noopener">developer.mozilla.org/en-US/docs/Web…
English
0
0
1
0
Corey Cleary retweetledi
DEV Community
DEV Community@ThePracticalDev·
When you’re starting up an Express project, it can be confusing to figure out all the modules you need… I’ll talk about a few that I use in most of my Express REST API’s, and when you might need to use them in your project. { author: @ccleary00 } dev.to/ccleary00/expr…
English
0
7
36
0
Corey Cleary retweetledi
🔎Julia Evans🔍
🔎Julia Evans🔍@b0rk·
container networking
🔎Julia Evans🔍 tweet media
English
12
497
2.1K
0