Click here to Skip to main content
15,887,083 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Age Discrimination Pin
dandy725-Oct-22 3:32
dandy725-Oct-22 3:32 
GeneralRe: Age Discrimination Pin
Slow Eddie5-Oct-22 5:14
professionalSlow Eddie5-Oct-22 5:14 
GeneralRe: Age Discrimination Pin
DerekT-P6-Oct-22 11:39
professionalDerekT-P6-Oct-22 11:39 
GeneralRe: Age Discrimination Pin
Matt Bond5-Oct-22 4:14
Matt Bond5-Oct-22 4:14 
GeneralRe: Age Discrimination Pin
Slow Eddie5-Oct-22 5:11
professionalSlow Eddie5-Oct-22 5:11 
GeneralRe: Age Discrimination Pin
Kate-X2575-Oct-22 4:23
Kate-X2575-Oct-22 4:23 
GeneralRe: Age Discrimination Pin
Slow Eddie5-Oct-22 5:09
professionalSlow Eddie5-Oct-22 5:09 
GeneralHooray for requires! Pin
BernardIE53174-Oct-22 1:43
BernardIE53174-Oct-22 1:43 
Yesterday I was getting a C++ compiler error i.e. to wit which described one of my templated string or character processing functions being called w/ optional<basic_string<wchar_t>> as an argument instead of the usual and expected basic_string<argCharType>. How the heck did that optional get in there? Confused | :confused: This project and function have been compiled and run a hundred Xs. Of course it was the result of a recent change. After scratching my head a few times and taking a nap I realized the compiler could tell me whence the optional. I merely inserted a requires CONCEPT_character<argCharType> into all the templated functions w/ that name of which are several one for strings one for characters as it is a resize as needed function. Bingo Presto the compiler found it immediately. As a result of newly created class the header w/ the call had been moved above the header w/ the string processing function but under the header w/ the identically named function for characters . From this I accidentally learned basic_string<any_class_here> compiles as to whether it still works I did not investigate. This brief bug hunt w/ nap was a great relief and even a joyous experience Big Grin | :-D after several days of head pounding. The previous half day resulting from a mere miss-spelling. The previous previous day and a half the result of confusion on my part resulting from some newly written slightly intricate code which if I was more careful and diligent would have found immediately. Why the compiler was not more helpful w/ these I do not know. On another matter there is a story I have wished to tell for some time but as it has little to do w/ programming per se though it involves a FORTRAN project only incidentally as it is a story re/ mathematics I will wait for an opportune time so do not hold your breaths. Again Hooray for requires! Big Grin | :-D Now if only I could fix the bug I am currently working on. Maybe I should take a nap. Sleepy | :zzz: It may even be required.

The three comments below ae why I post so infrequently. I need time to recover.

Below is my "Signature" apologies for not apologies if offends
My sympathies to the SPAM moderator
"I once put instant coffee into the microwave and went back in time." - Steven Wright
"Shut up and calculate" - apparently N. David Mermin possibly Richard Feynman
“I want to sing, I want to cry, I want to laugh. Everything together. And jump and dance. The day has arrived — yippee!” - Desmond Tutu
“When the green flag drops the bullshit stops!”
"It is cheaper to save the world than it is to ruin it."
"I must have had lessons" - Reverend Jim Ignatowski / Christopher Lloyd
"Dripping water hollows out stone, not through force, but through persistence." - Ovid, Roman poet
"... as likely as lightning striking a leprechaun whilst riding a unicorn."
"Don't worry, the planet will do just fine without us."


modified 5-Oct-22 8:24am.

GeneralRe: Hooray for requires! Pin
Eddy Vluggen4-Oct-22 3:56
professionalEddy Vluggen4-Oct-22 3:56 
GeneralRe: Hooray for requires! Pin
Gerry Schmitz4-Oct-22 5:31
mveGerry Schmitz4-Oct-22 5:31 
GeneralRe: Hooray for requires! Pin
BillWoodruff4-Oct-22 6:56
professionalBillWoodruff4-Oct-22 6:56 
GeneralRe: Hooray for requires! Pin
Matt Bond5-Oct-22 4:17
Matt Bond5-Oct-22 4:17 
Generalsmartphones predict suicide ? (FMTOTD) Pin
BillWoodruff4-Oct-22 1:13
professionalBillWoodruff4-Oct-22 1:13 
GeneralRe: smartphones predict suicide ? (FMTOTD) Pin
Marc Clifton4-Oct-22 1:40
mvaMarc Clifton4-Oct-22 1:40 
GeneralRe: smartphones predict suicide ? (FMTOTD) Pin
BillWoodruff4-Oct-22 1:56
professionalBillWoodruff4-Oct-22 1:56 
GeneralRe: smartphones predict suicide ? (FMTOTD) Pin
Sander Rossel4-Oct-22 2:02
professionalSander Rossel4-Oct-22 2:02 
GeneralRe: smartphones predict suicide ? (FMTOTD) Pin
BillWoodruff4-Oct-22 2:05
professionalBillWoodruff4-Oct-22 2:05 
QuestionRe: smartphones predict suicide ? (FMTOTD) Pin
Eddy Vluggen4-Oct-22 4:02
professionalEddy Vluggen4-Oct-22 4:02 
AnswerRe: smartphones predict suicide ? (FMTOTD) Pin
BillWoodruff4-Oct-22 5:34
professionalBillWoodruff4-Oct-22 5:34 
GeneralRe: smartphones predict suicide ? (FMTOTD) Pin
Eddy Vluggen4-Oct-22 7:21
professionalEddy Vluggen4-Oct-22 7:21 
GeneralRe: smartphones predict suicide ? (FMTOTD) Pin
BillWoodruff4-Oct-22 7:54
professionalBillWoodruff4-Oct-22 7:54 
GeneralRe: smartphones predict suicide ? (FMTOTD) Pin
Slow Eddie5-Oct-22 5:16
professionalSlow Eddie5-Oct-22 5:16 
GeneralNobel Prize: what's so strange about entanglement ? Pin
BillWoodruff4-Oct-22 1:02
professionalBillWoodruff4-Oct-22 1:02 
GeneralRe: Nobel Prize: what's so strange about entanglement ? Pin
Ron Anders4-Oct-22 3:37
Ron Anders4-Oct-22 3:37 
GeneralRe: Nobel Prize: what's so strange about entanglement ? Pin
Slow Eddie5-Oct-22 5:19
professionalSlow Eddie5-Oct-22 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.