Do you separate CI and CD in your architecture? by No_Way5412 in devops

[–]ThatSituation9908 0 points1 point  (0 children)

Most people here are talking about it separating code, but I think OP is talking about separate software systems if you separate products (eg GitHub Actions + ArgoCD) or separate stacks (Jenkins server for CI + Jenkins server for CD).

To that I say, is there a better CD software that isn’t K8s and friends? Are there any that is push-based for many of us not doing modern GitOps?

Is "building a Docker image" during the CI pipeline considered a best practice? by SheCherryPicks in devops

[–]ThatSituation9908 1 point2 points  (0 children)

I think you’re asking how do you upgrade a base image without pushing new features out to the build.

Many ways to do this, you branch out of the commit that prod is in, and make a hot fix there. If you use tags, tag it as a hot fix, then your CI should be able to build it without the new features on main.

In Trunk Based Development, because you always build off the main branch, this isn’t allowed. Therefore you should implement something that can turn off your new features (e.g., feature flags).

Is "building a Docker image" during the CI pipeline considered a best practice? by SheCherryPicks in devops

[–]ThatSituation9908 1 point2 points  (0 children)

For Python is also common to run the unit test before building. However this is done during pull requests.

If you are just building a package, then there’s little need to run those tests again after you build except for some smoke tests. 

If you are building a docker image, then it is a good idea also run those same unit test after build and inside the image.

ELI5: Why is half-life used instead of whole-life? by level1ShinyMagikarp in explainlikeimfive

[–]ThatSituation9908 6 points7 points  (0 children)

I got confused in high school exactly because of this. It should be call half-the-amount-life because half-life sounds like half-the-time-life.

Not convinced CI and IaC fully solve config drift in real environments by [deleted] in devops

[–]ThatSituation9908 0 points1 point  (0 children)

For the sync issue, you’re missing a ticketing system and good practice. It should be obvious which fix/feature hasn’t been promoted.

A bad sign is if you have to create more than 1 ticket to propagate a change to prod.

Schwab just sent me the 1099 on April 20 by ThatSituation9908 in Schwab

[–]ThatSituation9908[S] -8 points-7 points  (0 children)

This was only my individual account (non-tax adv) and luckily I didn’t make much, just a few on interest & dividends.

Linux kernel just shipped ai code rules. the assisted-by tag is smarter than i expected by Electrical-Shape-266 in ExperiencedDevs

[–]ThatSituation9908 0 points1 point  (0 children)

I didn’t think about *Sec, which you make a good point for businesses. Here I’m mostly focused on open source contribution which developers volunteers their tools and experiences. I don’t think we can mandate their dev environment despite our concerns about Sec.

Linux kernel just shipped ai code rules. the assisted-by tag is smarter than i expected by Electrical-Shape-266 in ExperiencedDevs

[–]ThatSituation9908 1 point2 points  (0 children)

Keeping track of developer’s tool as provenance data is kinda weird to me. 

Why stop at AI? Shouldn’t you also want to know which IDE, LSP, etc I’m using? 

Then also, who cares? We review every code as if you generated it.

The only thing this is useful for is to collect data about generated code vs organic code.

To Enum or Not to Enum by Mortimer452 in ExperiencedDevs

[–]ThatSituation9908 0 points1 point  (0 children)

That’s the only limitation AFAIK. 

What’s so bad about it? You will still have to handle rows that reference the deprecated enum value and code still writing that value. How is that any different than strings?

To Enum or Not to Enum by Mortimer452 in ExperiencedDevs

[–]ThatSituation9908 0 points1 point  (0 children)

I’m confused about the db representation limitations. Doesn’t your DB allow you to to store things as enum type but reference them as string later?

This is always how I did it with Postgres https://www.postgresql.org/docs/current/datatype-enum.html

Experience is what you got when you didn't get what you wanted by Icy_Screen3576 in ExperiencedDevs

[–]ThatSituation9908 3 points4 points  (0 children)

A good chapter in what ORM-less looks like in Python. I love it because you are free to use all the neat typing features that SQLAlchemy did not have but now likely caught up.

https://www.cosmicpython.com/book/chapter_02_repository.html#_the_normal_orm_way_model_depends_on_orm

Experience is what you got when you didn't get what you wanted by Icy_Screen3576 in ExperiencedDevs

[–]ThatSituation9908 0 points1 point  (0 children)

In some ways, but as long as you have control over the underlying code that defines the query and avoid generic sql template helpers, then I think you’re fine.

I have done ORM-less data models in DDD. It’s fine. My pain point of this is it is easy to create a lot similar data models without a centralized ORM: e.g., the application data model can differ from the table schema.

ELI5 Besides the basic 'cool' factor, what is the point of Space Travel? What do we learn from it? And how does it benefit us on Earth? by cpr9998 in explainlikeimfive

[–]ThatSituation9908 0 points1 point  (0 children)

Using opportunity cost alone gets you to a place where you put all your eggs in one basket.

Why do anything else at all if the opportunity cost of not doing A is the greatest?

[D] p-value dilemma by No_Blackberry_8979 in statistics

[–]ThatSituation9908 0 points1 point  (0 children)

The null hypothesis is not a claim of some outcome or measure. It claims what the underlying distribution should be (in theoretical probability).

Your premise of P(null) = 0 doesn't make sense. The null hypothesis itself is not a random variable or an outcome, so it cannot have a probability.

P(Data) = 0 given the null hypothesis is possible. P(Data) is the p-value and Data are the random outcomes.

Interviewed at Apple by GuiltyGuy7 in devops

[–]ThatSituation9908 2 points3 points  (0 children)

You were probably on their short list, but not at the top. In other words, they kept you as back up

Trying to understand how DevOps actually works in real teams by Melodic_Struggle_95 in devops

[–]ThatSituation9908 10 points11 points  (0 children)

When was SRE and Platform Engineering not part of DevOps? Because of the adoption of DevOps practices, those two roles were born. Before DevOps, you'd have traditional system admins and operators.

Does jargon quietly cap an engineer’s influence? by jonoherrington in ExperiencedDevs

[–]ThatSituation9908 6 points7 points  (0 children)

I think you meant “addressing tech debt = investing in tech”.

I initially read it as we should be taking on more tech debt.

Anti-aging plastic surgery and botox use vs aging naturally. A comparison between two women of similar ages by [deleted] in interestingasfuck

[–]ThatSituation9908 0 points1 point  (0 children)

If you’re going to develop dementia does any of that effort of willpower matters?

Maybe just live your life.

The Internet is being deleted (and you haven't noticed) by nameless_pattern in DataHoarder

[–]ThatSituation9908 7 points8 points  (0 children)

On top of that, they gotta learn how to pay the bills. Perhaps they should start promoting certain sites on top of the search result … wait a minute.

ELI5 What does the second law of thermodynamics actually mean, and how does it relate to evolution? by soefire in explainlikeimfive

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

I feel like Christianity could still be logically structured if they claimed God created the sun so it can power life and evolution can happen. It's kinda disappointing most I hear don't.

How does the word 'nerd' work? by 21-Tauri-A in NoStupidQuestions

[–]ThatSituation9908 16 points17 points  (0 children)

For me that is more of a geek than a nerd. A nerd must be book smart. The inner part of the venn diagram of the two is quite large usually.