Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

09-26-2019 , 11:43 AM
felchmaster3000
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-26-2019 , 11:47 AM
Thankfully my demo was mostly just powerpoint slides so I search and replaced everything. And since the doc team mostly just took screenshots of those slides for examples, good thing
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-26-2019 , 11:49 AM
Quote:
Originally Posted by RustyBrooks
One of my last projects was a piece of software that gets installed on a lot of computers and reports to a mothership - think something like antivirus although not quite. I used my own computers to do most of the development and I used the same network to record the demos that I presented. And then I realized all my machines are named things like "lolbutts" or "dickshake" etc
No one was shocked and you made the pointy hairs feel better, like they are needed because they are serious people while you silly people play around.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-26-2019 , 08:48 PM
Quote:
Originally Posted by blackize5
I once went to move some code in a coder pad type environment. The copy didn't take so I ended up pasting the last thing I had copied. Which of course was a link to a not very vanilla video on a pornhub like site.
Holy **** lol.

My old roommate was a pretty high up at accenture in bs middle management. Like 1 level below VP. Accenture ha 100s or thousands of vps but anyway.

Hes doing a conference call with his team and his clients team. He sharing screen and tabs to the absolute wrong window which is an IE site of horny-matches.com with some bikinied women in a provocative pose.

Multiple complained and he even got a sexual harassment inquiry. Amazingly they didn't fire him for 6 monthes.

Best part was lol hornymatches is obv a scam site.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-26-2019 , 09:11 PM
Internet Explorer + Windows + scam site is a winning combination. This kid's got upper management written all over him.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-26-2019 , 09:55 PM
Code:
  maskEntry( value ) {
    const mask = [...'+1(999)-999-9999']
    let displayValue = ''
    let i = 0

    while (i < value.length && mask.length) {
      const code = mask.shift()
      displayValue += /9/.test( code ) ? value.charAt(i++) : code
    }

    return displayValue
  }
I'm trying to tweak some text input field masking (for a phone number) code that I think my coworker must have copied verbatim off stack overflow. Painful.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-26-2019 , 11:00 PM
copy paste coding ftw.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-26-2019 , 11:13 PM
Code:
  maskEntry( value ) {
    const mask = [...'+1(999)-999-9999']
    let displayValue = ''
    let i = 0

    if (value === "+1(") {
      return "";
    }
    else if (1*value === 1) {
      return "+1";
    }
    else {

      while (i < value.length && mask.length) {
        const code = mask.shift()
        
        if (/9/.test( code )) {
          displayValue += value.charAt(i++)
        }
        else {
          displayValue += code
        }
      }
      
      return displayValue
    }
  }
Here's what it took to get it to actually work right and handle if the user types a 1 first, or backspaces to delete the stuff in the field. I'd do it completely differently if I started from scratch.

Also I hate this style: maskEntry( value ) - barf - wasted space with no value. maskEntry(value) is correct.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-27-2019 , 03:05 AM
Yikes. That code is disgusting. Start from scratch imo.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-27-2019 , 04:25 PM
Quote:
Originally Posted by suzzer99
Internet Explorer + Windows + scam site is a winning combination. This kid's got upper management written all over him.
ya he would go out for a "date" with some supposed women that he met there and come back just absolutely irate. my guess is that they were hookers and when he showed up they wanted money but I dunno. he was the type that "I would never pay for it".
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-27-2019 , 07:01 PM
I do not believe that Tone Loc said no to $50 to make him holler.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2019 , 02:45 AM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2019 , 09:04 AM
Quote:
Originally Posted by suzzer99
I do not believe that Tone Loc said no to $50 to make him holler.
Right I mean he proly wouldn't been so angry if he had just got off for some trivial amount. And I always told him they are pros for a reason.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2019 , 06:58 PM
Anyone have recommendations for making a simple-ish website for a business (specifically, a brewery)? My questions include...
- better to roll it yourself or use something like Squarespace or w/e? Keep in mind I'm not a professional web dev, but have done a little work in React and stuff like that for personal projects, so it's doable for me but not at the speed that full-time web devs could do it.
- If you do it yourself, what kind of stack would you use these days?

Sample website that's relatively simple and still probably more than what I'm going for: http://harmonicbrewing.com/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2019 , 07:03 PM
I'd probably use squarespace or something similar unless there was some pretty custom stuff I wanted to do with it.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2019 , 07:49 PM
Quote:
Originally Posted by RustyBrooks
I'd probably use squarespace or something similar unless there was some pretty custom stuff I wanted to do with it.
Plus one. If there isn't some dynamic stuff off an api, no reason to over complicate
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-28-2019 , 08:39 PM
I might go for some kind of Untappd integration in the future, but I assume even with a Squarespace-type service I could probably inject some of my own code in there?

Thanks for the recommendation.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 04:58 PM
Quote:
Originally Posted by suzzer99
I don't get it...
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 05:01 PM
Once he leaves the house he's out and has to buy milk. After buying milk he's still out and has to buy milk.

It's like the other one "a programmer's wife said go to the store and get a loaf of bread. If they have eggs get 12" and the guy comes back with 12 loaves of bread
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 05:03 PM
Quote:
Originally Posted by muttiah
I don't get it...
Code:
while (IsOut()) {
  BuyMilk();
}
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 05:32 PM
And the world quickly ran out of milk.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 05:43 PM
OOM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 07:25 PM
Stockers furiously trying to keep the shelves stocked. Delivery trucks clogging all the roads and crashing into each other trying to deliver more milk to the grocery stores. Cows being squeezed to the point they drop dead.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 08:55 PM
until all the matter in the universe was turned into milk like that paperclip game.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
09-29-2019 , 10:36 PM
And the CPU fan of the universe starts going bananas.

Maybe that's what triggered the Big Bang - a runaway while loop.

The Universe has become unresponsive. Continue waiting, or close window?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m