The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Considering the amount of energy drinks and junk food spammers probably consume, I doubt you'd get that approved for human consumption anywhere in the world except for the US..
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
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.
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!
Been there almost.. It's a bliss! Last year, I unlocked a Windows notebook that had french keypad. The guy who sent it to me, forgot the exact password, but gave some hints around the actual word and then vanished. I had to think a bit hard about the possibilities of the word, and the moment login screen said "Welcome!".. It was like[^]...
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
Had a very similar issue with a client. When a new customer registers for an account, he or she is required to enter a password. So they try to enter one, and get an error message that the password is not "complex" enough and to try again. Unfortunately it never says what the minimum password requirements are, so you have to keep guessing...
So the manager there asked me to figure out what this should be. I go into the code and find this horrendously complex regex expression in it. Fortunately there was also a comment stating that you need to have
Minimum 8 characters at least 1 Uppercase Alphabet, 1 Lowercase Alphabet, 1 Number and 1 Special Character: @$!%*?&
And checking against the regex this appeared to be correct. So I forward this information to the manager.
A few weeks later I get a call back from the manager, stating that he is attempting to set up one of the new staff members in the system, and he is still having that issue with the password, despite following the above conventions. The password was something like
So, I am testing this out again, using a regex tester and this password. Finally figured out that it was restricting the password to only those characters, and that the "#" at the end was failing the test.
My wife runs a medical billing business, and the primary software she uses to do her work is the web-based application of some service provider whose name I can't remember at the moment.
Still awake? Good! Here comes the interesting part.
Here I am, poking around in Firefox, snooping at this application's HTML code, and what do I find? An <applet> tag! My wife, being a bit startled by my intense GASP, asked what was wrong. I mentioned that "these guys" are still using Java Applets, which as far as I know are not supported anymore by anyone. She acknowledged this and immediately responded that the new version, which is in beta, does not use Java at all, and proceeded to load the new version up in her browser.
Any of you guys still coding JSF or Applets? If not, when was the last time you've come across either in your work?
On the other hand, you have different fingers. - Steven Wright