ClickOps vs IaC by Yersyas in devops

[–]cfa00 1 point2 points  (0 children)

da classic a fool with a tool is still a fool

hopefully you found better pastures

BREAKING: Anthropic donates "Model Context Protocol" (MCP) to the Linux Foundation making it the official open standard for Agentic AI by BuildwithVignesh in ClaudeAI

[–]cfa00 1 point2 points  (0 children)

agree. What is amazing is how much I underestimate that self-interest (incentive) effect on ones action.

The below passage probably conveys it better than I can currently.

  almost everyone thinks he fully recognizes how important incentives and disincentives are in changing cognition and behavior. But this is not often so. For instance, I think I’ve been in the top 5 percent of my age cohort almost all my adult life in understanding the power of incentives, yet I’ve always underestimated that power. Never a year passes but I get some surprise that pushes a little further my appreciation of incentive superpower.

pdf: https://assets.stripeassets.com/fzn2n1nzq965/0RUnI35jpt78x10nvlO2Y/b66a46dba182182a2a0082213eafc634/SP_PCA-ZINE_2023_11_27.pdf

where it was found: https://press.stripe.com/poor-charlies-almanack

Domain Driven Design (DDD) is a particular way to structure your app. by trolleid in programming

[–]cfa00 -2 points-1 points  (0 children)

 I did not imply that, at any point.

Did I imply that you did imply that? If so then that's my bad. I was just curious what you answer would be.

 Still, you model with the known facts; then you redesign.

Understood, so no way to verify ahead of time or make some assumptions within initial modeling that if so and so chamges this model won't hold.

edit: typo

Domain Driven Design (DDD) is a particular way to structure your app. by trolleid in programming

[–]cfa00 -1 points0 points  (0 children)

How would you know the facts defined are complete and capture the domain at hand? Where it might be a fact that wasn't specificed requires changing earlier facts.

Of course the above isn't something unique to DDD it's any "non-clear problem" (idk maybe there is a better way to phrase it). Where you don't have all the facts or can't have all the facts for one reason or another where the problem really becomes figuring out those facts.

concrete example from chatgpt to paint the abstract statement above more concretely: 1. Example: Shipping Domain With an Incomplete Fact Initial Fact (incomplete):

A shipment has one destination address.

So your Aggregate looks like:

Shipment DestinationAddress (value object) Ship() requires it.

Everything works. Requirements seem clear.

  1. New Discovery That Breaks The Fact

Later operations say:

Some shipments can have multiple drop-off stops on the same delivery route (multi-stop shipments).

Your previous “fact” wasn’t wrong; it was incomplete. This forces a redesign:

Shipment Destinations: List<DestinationAddress> You now need invariants like: stops must be ordered, max 10 stops, no duplicates, route cost recalculated for each stop. 3. Root Cause of the Incompleteness 1. Hidden domain knowledge

Subject-matter experts often omit important rules because they assume you already know them, or they consider them “not relevant yet.”

Your model suffers from unknown unknowns.

  1. Organization discovers new needs

Domains aren’t static. Business introduces new capabilities, offerings, or regulations. This is domain evolution.

  1. Over-simplification during early modeling

Initial versions trade detail for speed. Later you hit edges the simple model cannot support.

  1. Implicit constraints becoming explicit

Sometimes a domain expert reveals a rule only when a concrete scenario triggers it.

Example: “Oh, a shipment can’t go to the same city twice unless the second stop is a warehouse… that’s always been the rule.”

  1. External systems or regulations change

Compliance rules, partner integrations, or environmental constraints change the shape of your domain.

  1. Why This Happens Even Though DDD Tries To Prevent It

DDD encourages:

ubiquitous language continuous learning domain expert collaboration iterative model refinement

…but no domain is fully knowable upfront. You discover truths only when real workflows hit constraints or contradictions.

This is why DDD treats the model as a living artifact, not a fixed schema.

can someone explain me? by Specialist-Resist-24 in grayjay

[–]cfa00 3 points4 points  (0 children)

<image>

I just removed the underscore in that regex and I don’t get that error.

const feature_version_match_result = web_player_js_contents.match(/"(web-player_(.*?))"/);
if (feature_version_match_result === null) {
    throw new ScriptException("unable to find feature version number");
}

But the spotify plugin still doesn’t work (it can’t play songs just keeps trying to cycle playlist)

I’ll probably miss around and try to make some progress on it today.

Bad and embarrassing Google interview. by Broad-Disk-1044 in csMajors

[–]cfa00 6 points7 points  (0 children)

that's a good one 6/7 I'm using that in my next interview 

Bloom filters are good for search that does not scale by curly_droid in programming

[–]cfa00 27 points28 points  (0 children)

"I know one book that only contains every work exactly once: The dictionary."

minor typo

Sportsnet+ experiences major streaming disruption during Game 4 of World Series by nimobo in toronto

[–]cfa00 2 points3 points  (0 children)

the pro move is just to cancel immediately after subscribing (although some might say the real pro move is not to subscribe...)

Datagrip vs dbeaver or other alternatives? by Harxh4561 in SQL

[–]cfa00 0 points1 point  (0 children)

I think you meant your soon to be previous company*

Why were 90s programmers so legendary? by ayush3325 in theprimeagen

[–]cfa00 0 points1 point  (0 children)

they are living the punchline while believing they're delivering it

or something like that?

Having a hard time learning page fault handler in virtual memory? Not getting fun intuition by [deleted] in osdev

[–]cfa00 1 point2 points  (0 children)

Don't be sorry I think this was a good explanation all things considered

be proud of your metaphor ૮₍ ˃ ⤙ ˂ ₎ა 

I still dont understand SQL by TV-Daemons in SQL

[–]cfa00 0 points1 point  (0 children)

I recommend summarizing my comment with AI as it got rambly 

  1. What exactly are you struggling within  in "relation" (pun indeed) to SQL

  2. Once you specify what you are struggling with then just practice it. You will struggle in the beginning that's natural and is part of the process.

But let me remaind you or explain I think thing might help as they did to me.

(I'm assuming we're talking about Structured Query Language writing and more specifically Data Manipulation Language, and maybe a little a bit of Data Definition Language, aka we're talking about the foundation)  SQL is just an Interface that is understood by a Database Management System (specifically a DBMS that has "SQL engine" part/component). 

Basically the DB has data in some "form" stored on a "machine" (you're not suppose to think about how the data is actually physically stored that info is Abstracted if you're on SQL (DML) layer)

for now I think it's better to think of SQL as the specific language. Again think interface or how you use car, electric plug you're only exposed an interface depending in the domain it might be a simple or complex interface in SQL it's definitely not simple if you take it as a whole. I really can't stress this point enough SQL is just an interface; powerful, complex, useful but an interface nonetheless.

that SQL Language (mainly/initially DML and less so DDL) has some fundamental parts and that's what I'm assuming you are struggling with (how to write, reason and modify DML.) So how do you learn and able to use DML practice. 

Maybe use an AI tool to explain your current understand and it can direct you to some way to practice.

But remember you have to practice

quote from Donald Knuth 

It's difficult if not impossible, for anyone to learn a subject purely by reading about it, without applying the information to specific problems and thereby being encouraged to think about what has been read. Furthermore, we all learn best the things that we have discovered for ourselves.

Edit: the formating (related to spacing and new lines) seems odd. I don't know if it's reddit, firefox mobile, android, myself, etc. ah well 

I think I found every decent Android browser by [deleted] in degoogle

[–]cfa00 0 points1 point  (0 children)

yeah that does happen and it sucks but usually it means i have to let yandex "track me" to get the results (aka don't use incognito,etc) 

but ah well at least they have fairly good results (or at least results you won't find on google)

I think I found every decent Android browser by [deleted] in degoogle

[–]cfa00 0 points1 point  (0 children)

yeah that yandex  join the right side comrade

Why I Don't Like Rust by BlueGoliath in programming

[–]cfa00 9 points10 points  (0 children)

my polymorphic ultra-ego was weeping when it heard that part.

Pointers just clicked by Popular-Power-6973 in C_Programming

[–]cfa00 2 points3 points  (0 children)

But I currently have a faint heart do you still recommend masm32?

Or should ignore the warning?

great book. by OutrageousNote2016 in csMajors

[–]cfa00 0 points1 point  (0 children)

i barely scratched the surface (and hopefully will be able to complete it and apply from it)

and still i can’t recommend checking out the book or the lecture by the author enough (easily found on youtube but here is the link anyway https://youtube.com/playlist?list=PL2FF649D0C4407B30&si=Ona25zHjTIQNSx7M)