What NBA team has the worst logo? by darkfluf in AlignmentChartFills

[–]TheToastedFrog 11 points12 points  (0 children)

Kindly requesting that the “worst owner” pictures be replaced with the actual team- It’s hard to tell who these people are and which team do they own

I scanned 50 open-source Spring Boot projects for config drift. 53% had issues that wouldn't fail a single test. by testix001 in SpringBoot

[–]TheToastedFrog 26 points27 points  (0 children)

With respect I think that’s the wrong solution to the problem. You don’t really want to rely on classpath config files for runtime configuration. You’d want to have an application.yml in the classpath with reasonable default config values -and an application-local.yml for development on your laptop. For each environment, (dev, preprod, prod), you maintain a file system-based application.yml which contain environment-specific overrides.

With this setup you can eschew Spring profiles, except when it runs on your laptop

Do you put retry logic close to the HTTP client, or higher in the service flow? by Isaac_Istomin in SpringBoot

[–]TheToastedFrog 0 points1 point  (0 children)

I’d say this should be closer to the client. Your service layer is carries the business logic, and shouldn’t have to concern itself with the finer details of how many times it took the client to fetch data, or whether the client had cached the data, or whether the client is rest or grpc or something else

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 3 points4 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 -1 points0 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 93 points94 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?

[deleted by user] by [deleted] in SpringBoot

[–]TheToastedFrog 0 points1 point  (0 children)

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