Click here to Skip to main content
15,901,122 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: Working in C# and... Pin
RickZeeland21-Sep-17 7:02
mveRickZeeland21-Sep-17 7:02 
GeneralRe: Working in C# and... Pin
Leng Vang22-Sep-17 6:44
Leng Vang22-Sep-17 6:44 
GeneralI was sent this, and... Pin
OriginalGriff20-Sep-17 23:02
mveOriginalGriff20-Sep-17 23:02 
GeneralRe: I was sent this, and... Pin
Brisingr Aerowing20-Sep-17 23:39
professionalBrisingr Aerowing20-Sep-17 23:39 
GeneralRe: I was sent this, and... Pin
OriginalGriff21-Sep-17 0:03
mveOriginalGriff21-Sep-17 0:03 
GeneralRe: I was sent this, and... Pin
User 1013254621-Sep-17 0:55
User 1013254621-Sep-17 0:55 
GeneralRe: I was sent this, and... Pin
Foothill21-Sep-17 3:11
professionalFoothill21-Sep-17 3:11 
GeneralThis is why you need a programmer living in the house Pin
Marc Clifton20-Sep-17 14:44
mvaMarc Clifton20-Sep-17 14:44 
My gf had to file an incident report for something that happened at her work for one of the juveniles (she's a clinician at this facility) and the incident report (some Justice Dept website) required a phone number.

Well, the site said (and I kid you not) enter your phone number like this:

((xxx) xxx-xxxx), for example, ((619) 555-1212)

It didn't work. She tried a variety of other combinations, none of which worked. So she cried for help and I tried a couple things, none of which worked either. So I decided to look at the source (not bad source code, written in Angular 2). Search the js files for "phone", I found the regex, which did not allow for parens. So, contrary to the instructions, you had to enter:

xxx xxx-xxxx or xxx-xxx-xxxx or even xxx+xxx+xxxx, I assume to actually handle international numbers like +xx xxx xxx-xxxx, or maybe extensions, whatever, basically, any combination of digits, +'s and -'s between length 7 and 30.

Problem solved! Jig | [Dance]

Of course, you wouldn't have really needed a programmer if she'd simply tried it without any parens, but the instructions were so wrong and got even me thinking in a particular mindset, that I didn't try without any parens either!
Latest Article - Class-less Coding - Minimalist C# and Why F# and Function Programming Has Some Advantages

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: This is why you need a programmer living in the house Pin
Ron Anders20-Sep-17 14:49
Ron Anders20-Sep-17 14:49 
GeneralRe: This is why you need a programmer living in the house Pin
Marc Clifton20-Sep-17 15:15
mvaMarc Clifton20-Sep-17 15:15 
GeneralRe: This is why you need a programmer living in the house Pin
OriginalGriff20-Sep-17 21:06
mveOriginalGriff20-Sep-17 21:06 
GeneralRe: This is why you need a programmer living in the house Pin
Marc Clifton21-Sep-17 1:33
mvaMarc Clifton21-Sep-17 1:33 
GeneralRe: This is why you need a programmer living in the house Pin
OriginalGriff21-Sep-17 1:40
mveOriginalGriff21-Sep-17 1:40 
GeneralRe: This is why you need a programmer living in the house Pin
H.Brydon24-Sep-17 17:32
professionalH.Brydon24-Sep-17 17:32 
GeneralRe: This is why you need a programmer living in the house Pin
Peter Shaw22-Sep-17 0:44
professionalPeter Shaw22-Sep-17 0:44 
GeneralRe: This is why you need a programmer living in the house Pin
MadMyche21-Sep-17 6:40
professionalMadMyche21-Sep-17 6:40 
GeneralRe: This is why you need a programmer living in the house Pin
Eytukan20-Sep-17 21:39
Eytukan20-Sep-17 21:39 
GeneralRe: This is why you need a programmer living in the house Pin
Marc Clifton21-Sep-17 1:54
mvaMarc Clifton21-Sep-17 1:54 
GeneralRe: This is why you need a programmer living in the house Pin
Eytukan21-Sep-17 3:15
Eytukan21-Sep-17 3:15 
QuestionRe: This is why you need a programmer living in the house Pin
David Crow21-Sep-17 3:52
David Crow21-Sep-17 3:52 
GeneralRe: This is why you need a programmer living in the house Pin
Nish Nishant21-Sep-17 4:13
sitebuilderNish Nishant21-Sep-17 4:13 
GeneralRe: This is why you need a programmer living in the house Pin
Andreas Mertens21-Sep-17 4:29
professionalAndreas Mertens21-Sep-17 4:29 
GeneralRe: This is why you need a programmer living in the house Pin
Joe Woodbury21-Sep-17 8:54
professionalJoe Woodbury21-Sep-17 8:54 
GeneralRe: This is why you need a programmer living in the house Pin
theoldfool22-Sep-17 2:33
professionaltheoldfool22-Sep-17 2:33 
GeneralRe: This is why you need a programmer living in the house Pin
Kirk 1038982122-Sep-17 4:03
Kirk 1038982122-Sep-17 4:03 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   501 votes