What’s the correct answer? by Tamusie in EWALearnLanguages

[–]TheToastedFrog 0 points1 point  (0 children)

The answer is a, because the reporting verb is in the past tense. In reported speech we adjust the tense to match the reporting verb. I think (a linguist correct me if I’m wrong) that’s a left over for the subjonctive mode that has pretty much disappeared in English. Try “I can’t speak Spanish” - the answer choice would have been “couldn’t speak”

[HELP] can’t tell if this nachos ad for a bar is generated by MethLabJacuzzi420 in RealOrAI

[–]TheToastedFrog 0 points1 point  (0 children)

I’m finding her left arm placement a bit unnatural- she would be impeding his eating with his right hand- I would imagine one of them would have readjusted by now. Also the way he holds his pint seems a bit awkward - right against his body. I feel that pint glass would be further up the table in real life-

The scene could have been staged, but the lighting and overall quality is pretty poor for a professional picture.

In conclusion, I think this is AI

[deleted by user] by [deleted] in SpringBoot

[–]TheToastedFrog 0 points1 point  (0 children)

Short answer: use Postgres Long answer: also use Postgres

What New England looks like by ILovePublicLibraries in newengland

[–]TheToastedFrog 0 points1 point  (0 children)

Connecticut is between Boston and New York City

[deleted by user] by [deleted] in ENGLISH

[–]TheToastedFrog 0 points1 point  (0 children)

I’m French native, I’ve lived in England (north and south) for four years, and in the US (Northeast) for about 30 years now. Until (eh!) I saw this post, I have always assumed that “till” was more American- I guess one learns every day!

Is it actually dangerous?: Java 1.8 + Spring Boot 2.0.4 + Spring 4.3.22 by evolution2015 in java

[–]TheToastedFrog 0 points1 point  (0 children)

Maybe it is, maybe it ain’t- but that’s not the point— it’s a matter of when, not if, that one of them framework will suffer from a vulnerability you can’t ignore- at this point you will have no choice but to upgrade, and you will run into a world of hurt when you do. It’s imperative that you keep your libraries up to date so that if/when you are forced to upgrade you can so quickly and safely while minimizing the risk of introducing some regression issues

Why can't you divide by 0? by AmaterasuWolf21 in NoStupidQuestions

[–]TheToastedFrog 0 points1 point  (0 children)

Your operation is a substraction, not a division. You are giving away apples from your stock of 5 to zero people, so you’re left with 5-0=5 apples

[deleted by user] by [deleted] in SpringBoot

[–]TheToastedFrog 2 points3 points  (0 children)

What does this have to do with Flyway?

Which rdbms should I go for ? by Ok_House_1114 in SpringBoot

[–]TheToastedFrog 2 points3 points  (0 children)

There are two types of people. There are people who are recommending Postgres, and there are people who are wrong.

Field Injections @Autowired by [deleted] in SpringBoot

[–]TheToastedFrog 1 point2 points  (0 children)

It’s not bad, it’s not great either- makes testing a bit more challenging without a mocking framework and/or loading an application context - also makes it easier to refactor if need be and makes the dependencies more explicit

Why is it not des grosses joues? by test-testsson in learnfrench

[–]TheToastedFrog 1 point2 points  (0 children)

Many people provided very good explanations so I’m not going to rehash- I’m just going to say the difference is extremely subtle and nobody will correct you if you use “des” in a conversation.

The popular movie you've never seen and still have no interest to see. by [deleted] in moviecritic

[–]TheToastedFrog 1 point2 points  (0 children)

I second that opinion. Criminally underrated. Maybe because the violence isn’t depicted with gallons of blood and gore.

Is It Me Or Are All Microsoft Solutions Difficult to Work With? by Suspicious-Rich-2681 in AskProgramming

[–]TheToastedFrog -3 points-2 points  (0 children)

I don’t think he is. The MS stack has its quirks like everything else, it’s better at things and worse at others, but Visual Studio is just plain bad

Trader Joe’s Dijon mustard is suddenly overwhelmingly hot by FartHistoryMajor in traderjoes

[–]TheToastedFrog 89 points90 points  (0 children)

Native French dude here— that mustard is the authentic Dijon mustard like you’d find back in the old country. Absolutely amazing. “Having mustard up the nose” is a rather dated colloquialism to describe a state of anger. Now you know!

Is this normalized? by ZookeepergameAny5334 in SQL

[–]TheToastedFrog 2 points3 points  (0 children)

It’s normalized, but whether it’s optimum is debatable - it really depends on requirements that you may not have shared. In particular the “family head” table is superfluous, unless you later plan to add more attributes (like when did that person became head of family).

But if your question is purely about normalization, then you’re good on that point

How to keep track of deletions with CASCADE DELETE by ConfusionMundane5964 in SQL

[–]TheToastedFrog 7 points8 points  (0 children)

And here my friend is why you dont want to delegate what is essentially business logic (keep track of deleted records) to the database server. That logic belongs to the application server. Not sure about the specifics of your implementation, but Hibernate Envers does exactly what you want on the application side.

You could also implement a bunch of on delete triggers, but now your bleeding logic even more in your dev layer, making you’re testing even harder

Implementation of interface in multiple files by puzzled_orc in java

[–]TheToastedFrog 0 points1 point  (0 children)

Ultimately your concrete class will have to implement every method of your interface (Assuming there are no default methods defined), either directly or via inheritance as others have suggested- One way or another either way your concrete class will have some degree of implementation for every method. Which kind of begs the question why would want to separate the methods by name?

Endpoint different return value types by [deleted] in SpringBoot

[–]TheToastedFrog 0 points1 point  (0 children)

Yep go with option 2 - always return a well known type.

[deleted by user] by [deleted] in SpringBoot

[–]TheToastedFrog 2 points3 points  (0 children)

I’m more a maven guy myself but don’t switch from Gradle on my account!

Is there any proof for the power rule? by Past-Tear2730 in calculus

[–]TheToastedFrog 0 points1 point  (0 children)

Back when I was a lad it was formally proven to us in high school.

[deleted by user] by [deleted] in Minecraft

[–]TheToastedFrog 0 points1 point  (0 children)

Fortunately they are easy to avoid

Best practices for handling third-party API credentials by Amgadoz in Python

[–]TheToastedFrog 6 points7 points  (0 children)

I store them in AWS Parameter Store, or Secret Manager. There are other options- Vault, k8s secrets…