|
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
|
|
|
|
|
#realJSOP wrote: Why are you so angry lately? mmm... I think he is more or less the same grumpy as usually, only that today is writing more answers than usually
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
They're vastly more pedantic and just plain more rude.
I argued with some CP dude because he didn't understand why/how my question was C# related.
I'd still go to dinner with that dude before I'd walk through an SO meetup to use the restroom.
|
|
|
|
|
ORMS have never ever been a very good idea imo.
|
|
|
|
|
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 16hrs 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.
|
|
|
|
|
From my perspective (which I've shared here on more than one occasion), SO is great for small(-ish) snippets that just so happen to directly address what you came searching for. But it's not the place to ASK questions, unless you went in early and are already part of the clique and have the reputation points (or whatever system it is they're using). It's too much of a catch-22 to be newbie-friendly.
And without the equivalent of a lounge, it's not the place to make friends and become part of the clique either. Overall, I find it very unwelcoming. At least on CP, if you have a question, as long as you ask it intelligently and demonstrate you've put some effort into it (aka NOT "do my homework for me"), you'll get real, useful help.
I've found many answers on SO, typically as links Google provided as responses to my searches. But as I'm writing this, suddenly I realize I now tend to use ChatGPT to get code snippets, and as a result, haven't gone back / been redirected to SO for quite a while. ChatGPT undoubtedly scrapes SO for its info, but as long as it can provide usable answers, I find myself having no reason to go back to SO.
Recent events here on CP notwithstanding, personally I see SO as being the one with the more limited future. There, I said it.
|
|
|
|
|
I have found SO very useful, but I don't ask questions, I just search for answers and then compare the sometimes myriad results until I find the inspiration to produce a result relevant to me. Failing that, since I have already exhausted CP before going to SO, I reread M$ docs until the screaming dies down and and I figure it out myself!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Way back when I was still making the transition from VB6 which I was lucky to have been
a member of a interactive group moderated by John Smiley where the vibe was like CP
I had some real unpleasant encounters on SO might have been my wording for the questions
though I always explained I was a novice at VBNet every now and then a more polite person
would respond with a answer or a website with information to help with the question.
When I first joined Code Project it was to ask a question about VB.Net and Visual Studio
I was very lucky the response came from Original Griff need I say more.
YES every now and then the tone on CP is sharp and of no help but that is seldom
and I just take this members reply as he has forgotten what it was like to not
know what you are doing when trying to learn to code in a new language.
The big issue with SO has always been the idea of points for posting an answer
and begging for accepting the answer. The most worthless reply is one that goes like this
"You should NOT be doing it that way" with no reply how to do it I just delete the question which you can not do now
YES Stack Overflow is NOT of great value
|
|
|
|
|
I have found it to be a very good collection of knowledge from previously asked questions. I refrain from asking questions there though. Thankfully, I have rarely had a question that I did not find an answer for either here or there.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
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
⬜🟨🟨⬜⬜
⬜⬜🟩⬜🟨
🟩🟩🟩🟩🟩
|
|
|
|