|
Jeremy Falcon wrote: To be fair… the same can happen on CP. Could happen, however people are usually welcomed here.
Maybe we're not great experts, but, more often than not, try to help.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Nope. I disagree. It has its uses.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Agreed. It has helped me on so many occasions!
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
I’ve gotten more answers from SO Googling than any other website, bar none. Don’t see the reason for all the hate… which isn’t really helpful and compromises 90% of I see in the lounge.
Jeremy Falcon
|
|
|
|
|
SO is not friendly for people asking questions, especially if one of their "elites" insist that you post code for a non-code question (as you found out).
EF making assumptions is precisely why I hate and abhor ORMs of any description, and I rolled my own entity factory and DAL code (back in the day when I was still writing real code instead of this javascript crap I'm dealing with now). If you're interested and have the freedom to move away from EF, I've written some articles with regards to entity generation based on database contents, as well as a generic ADO assembly. It's all .net framework code, but you shouldn't have any probs moving it to .net core if that's a requirement.
Entity Factory - Get Your ORM-less Freak On![^]
Generic DAL for ADO.Net - A Revisit[^]
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
How is SO any different than the IRC days back in the 90s? Or the BBS days in the 80s? We're supposed to be mature, professional seniors here and yet we still think the problem is specific to one site? You ever ask a question on CP? You'll need to do the same exact thing with phrasing. Same thing goes with managing devs IRL, or anyone for that matter (including non-devs).
And funny how people only come out of the wood works to complain.
This is the part where you argue now...
Jeremy Falcon
|
|
|
|
|
I didn't say it was specific to SO. SO was merely the qualifying criteria for the discussion.
Yeah, CP can be just as bad, but for different reasons. I don't see many/any homework questions (of the ilk, "I need you to do my homework for me) on SO, but that used to be a real problem here. Since I don't really haunt the Q/A section anymore, I don't know it it's still a problem. Besides that, we're talking about SO, not CP.
Why are you so angry lately?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Yes, and no.
It is a great repository of knowledge, and if you phrase your Google search correctly, it will often give you exactly what you want. OTOH, you must put on your asbestos underwear before asking a question there.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: OTOH, you must put on your asbestos underwear before asking a question there. It's the same thing with Reddit, CP, etc. too though. Nerds will be nerds. Which means most will pretend to know something they don't (and deflect with insults) and they love to be angry and argue.
I mean, just look at the lounge... clearly they have unhappy people here too. Same goes for any tech site. Especially popular ones. We're supposed to be the mature, older group but I'd contest just older only.
Jeremy Falcon
modified 1hr 5mins ago.
|
|
|
|
|
BTW - the way to configure Postgres style naming is to use a snake name casing setting. Here's one I used earlier:
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection") ??
throw new InvalidOperationException("Connection string 'DefaultConnection' not found.");
builder.Services.AddDbContext<ApplicationDbContext>(options =>
{
options.UseNpgsql(connectionString, o => o.UseQuerySplittingBehavior(QuerySplittingBehavior.SplitQuery))
.UseSnakeCaseNamingConvention()
.ConfigureWarnings(warnings => warnings.Throw(RelationalEventId.QueryPossibleUnintendedUseOfEqualsWarning));
}); You can also override the OnModelCreating to override the naming convention for your foreign keys:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
foreach (var relationship in modelBuilder.Model.GetEntityTypes().SelectMany(e => e.GetForeignKeys()))
{
relationship.SetConstraintName(relationship.GetConstraintName().Replace("_id", "_key"));
}
base.OnModelCreating(modelBuilder);
} But that's just CodeProject. Where people aren't always arsey and rep-hunting.
|
|
|
|
|
StackOverflow is great for a certain class of questions.
Anything more than simple things is hard to either ask a proper question or get a proper answer because there are too many variables.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Christian Graus wrote: EF
"Well, there's your problem." -- Adam savage
I've never used it, so I wouldn't know, but it seems like the kind of thing which is a reason not to use it.
Some colleagues of mine also say that the tools they use require that everything have a primary key, even when it provides no benefit, and I tell them to get better tools.
|
|
|
|
|
Wordle 1,195 4/6*
⬜⬜🟩🟨⬜
⬜⬜🟩⬜🟨
🟩⬜🟩⬜🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,195 4/6
⬜🟨⬜⬜🟨
🟨🟨⬜⬜⬜
🟩⬜⬜🟨🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,195 4/6*
🟨⬜⬜⬜⬜
⬜⬜🟩⬜🟨
⬜🟩🟩🟩🟨
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I gave this a go (have not played for ages).
I have a standard sequence of words. First - 2 letters. Second and third - nothing. Fourth - two letters. It was then I realised that high contrast was not on, and I thought my letters were in the correct place because I am color blind. Got it in the fifth
|
|
|
|
|
Wordle 1,195 4/6
⬜⬜🟩🟩⬜
⬜⬜🟩🟩⬜
🟩⬜🟩🟩⬜
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,195 3/6
⬜🟨🟨⬜⬜
⬜⬜🟩⬜🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1.195 4/6
⬛🟨⬛⬛⬛
⬛⬛⬛🟩⬛
🟩⬛⬛🟨⬛
🟩🟩🟩🟩🟩
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Wordle 1,195 4/6*
🟨🟨⬛🟩⬛
⬛🟨⬛🟩🟨
⬛🟨🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,195 3/6*
⬜⬜🟩🟨⬜
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 1,195 4/6
🟨⬛⬛⬛⬛
⬛🟨🟩⬛🟨
⬛⬛🟩🟩🟨
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Morass : excerpted from one of my emails today: "the [redacted] effort to support this died in the morass of approvals required to implement mining the data"
I think tomorrow's word will be quagmire (in the Vietnam War sense, not Family Guy).
Software Zen: delete this;
|
|
|
|
|
I think of something else when I see the word MoreAss.
A home without books is a body without soul. Marcus Tullius Cicero
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|
I almost used the phrase "python mating ball[^]" instead of "morass", but I knew my audience wouldn't get it.
Software Zen: delete this;
|
|
|
|