|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
|
Bob is watching. Bob is always watching...
Jeremy Falcon
|
|
|
|
|
Why does the column name in my code have to match the column name in the database?
It just feels so.... restrictive.
|
|
|
|
|
It doesn't. SQL allows you to alias names. You can also use a view. You can also map things in a slew of other ways too.
For $19.95 USD, I'll show you how. Inflation...
Jeremy Falcon
|
|
|
|
|
And if this was a joke on the programming question issue.... mad respect. That was quite nice.
Jeremy Falcon
|
|
|
|
|
Because it makes sense.
What reason, to have the name 'X' in database and in the code it is 'Y'.... If you like that, happy confusion in the future 
|
|
|
|
|
It sort of like calling people by another name, that is not theirs.
"Hey Bob, how are you today?"
"I'm not Bob, I'm Charlie!"
"Who's Charlie? You must mean Debra. Wait right here, I'll get her/she/they/them."

|
|
|
|
|
You use column names in your code?
|
|
|
|
|
Having worked on a system that used some of Jeremy's mapping alternatives I recommend that you NEVER do this, attempting to track through from a field name on a form/class that is different to the column name in the database is a nightmare.
You would be just adding complexity for the sake of it, adding multiples to the support cost and the supporting dev will have a wax effigy of you and be sticking needles in it!
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Mycroft Holmes wrote: Having worked on a system that used some of Jeremy's mapping alternatives I recommend that you NEVER do this I'm trying to collect $20 though...
Jeremy Falcon
|
|
|
|
|
I have frequently seen that kind of arguments, and very similar ones, used to justify that end user with a vague idea about the meaning of English terms nevertheless have to accept them, because those are their real names, and using anything else would be confusing and misleading.
It would be fascinating if Chinese hardware and software developer switched to a similar approach.
|
|
|
|
|
More of a guideline really.
|
|
|
|
|
string MyName => SomeOtherName;
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Q. What do you call a bear with no teeth?
A. A gummy bear.
|
|
|
|
|
Q. What does a 400lb bear eat?
A. Anything it wants.
I'll just grab my coat and see myself out.
PartsBin an Electronics Part Organizer - An updated version available!
JaxCoder.com
|
|
|
|
|
Should've went with gummy bears. 
|
|
|
|
|
Yeah, but it was already taken.
I could have went with;
Out in north west US they have grizzly bears, which are a very ferocious beast so they make all the hikers wear small bells around their necks to scare the bears away.
You know how you can tell a black bear from a grizzly?
Grizzly poop has little bells in it.
PartsBin an Electronics Part Organizer - An updated version available!
JaxCoder.com
|
|
|
|
|
No no.... he eats gummy bears.
Ah well, I've got nothing.
|
|
|
|
|
They do the same in Japan except the explanation is so you let the bears know you are approaching, a startled bear apparently is rather dangerous.
Thankfully Oz only had drop bears.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
I keep finding methods that seem outdated and/or don't have all the functionality I need.
I'm using vb.net in VS 2017. The webcam is a Logitech Brio.
I need the ability to take still photos, and acquire video. In both cases data from another source will be overlaid in the image, as it is recorded.
Any suggestions would be appreciated. Links to examples/demos would be great too.
thanks!
|
|
|
|
|
Wrong place to ask: see the sentence above that ends in red. Then try here: Ask a Question[^]
But ... tell us what you tried, exactly - and what happened when you did. That way, we don't waste our time or your time giving you "solutions" you have already rejected ...
And see here: Asking questions is a skill[^]
"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!
|
|
|
|
|
Turn it on.
Face camera.
Was it really that hard?
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
|
|
|
|
|
If you're going to ask a programming question here, you need to use a thinly veiled disguise as something else. Perhaps, asking for opinions first or saying tabs are better than spaces.
Jeremy Falcon
|
|
|
|
|
Apparently, you can ask programming questions now in the Lounge. No one seems to care anymore, one way or another.
|
|
|
|