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

08-13-2018 , 12:13 AM
I mean we do stupid insecure stuff with security on our own network but there’s only 8 of us. 1500+ wtfwtf
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 12:14 AM
I'm guessing it started out much smaller?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 07:44 AM
It doesn't just expose all passwords, it likely exposes every single thing stored for every user. So a % of those 1500 people will have stuff like email/password the same in other places.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 08:08 AM
Quote:
Originally Posted by Larry Legend
It doesn't just expose all passwords, it likely exposes every single thing stored for every user. So a % of those 1500 people will have stuff like email/password the same in other places.
No, it does. The passwords are not hashed and you can query the database directly from javascript.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 08:26 AM
Yea I mean I'm just being way too kind in saying maybe in some .01% scenario that only that table exists at that insecure endpoint and it only has username/password.

But obviously its everything.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 08:30 AM
Oh, I missed the "just" in your sentence. I thought you were saying it doesn't expose passwords
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 10:19 AM
robert drop tables strikes again
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 10:47 AM
Not that it's the worst part at all, but I laughed the hardest at "if true === true return false"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 11:03 AM
“Hmm i need a guaranteed way to return false after this loop exits... Eureka!”
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 11:11 AM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 11:42 AM
Quote:
Originally Posted by well named
Not that it's the worst part at all, but I laughed the hardest at "if true === true return false"
Yea that was def the funniest.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 11:52 AM
Quote:
Originally Posted by well named
Not that it's the worst part at all, but I laughed the hardest at "if true === true return false"
Not just that, but the it's the string, not boolean - if ("true" === "true").

How the hell did that evolve?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 12:01 PM
I think it's what happens when you don't really understand how things work, or what's allowed in a language, but you stumble upon some idea that does in fact work. So it seems like the coder had the idea that you could only have a return statement inside a conditional block. I don't know why. Maybe they also didn't realize you could use a boolean for both sides of a comparison, maybe they thought only the RHS could be a boolean? Something like that, I'd imagine.

I know I've done things that are conceptually similar, i.e. written bizarrely unnecessary code out of some confusion about what the code really does. Hopefully nothing that simple :P
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 12:22 PM
But isn't your first instinct to try the most obvious thing which is return false there without the if statement and see if it works? Even if you don't know javascript very well doesn't every other language just evaluate line by line? :thinking:
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 12:43 PM
I feel like there must have been some kind of other test there at some point and maybe an if/else block.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 12:50 PM
"how did this happen?" is way more fun than code golf :P
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 12:54 PM


Quote:
So far so good – though that UserComponentHelpers.js file is kind of a grab-bag of functions, where you’ve got fullName(user) sitting next to formatDate(date).

And then you get a new story to show users’ full names in the navbar. Okay, so now you’re going to need that fullName function in two places. Maybe toss it in a generic utils file? That’s not great.

And then, a few months later, you’re looking at the FriendsComponent, and find out someone else had already implemented fullName in there. Oops. So now the next time you need a user-related function, you check to see if there’s one already implemented. But to do that, you have to check at least UserComponent, UserComponentHelpers, and FriendsComponent, and also UserApiService, which is doing some User conversion.
What's wrong with a generic utils file with small helper functions?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 03:10 PM
https://flexboxfroggy.com/

level 24 is so confusing.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 04:24 PM
I reached out to my new boss about what I should study up on, I guess here's my new job synopsis:

Quote:
I’m excited about initiating Ecommerce Re-architecture project with your help. The success of the project depends on two middleware platforms – an API layer that sits in between our CRM system and web applications, and a IDM solution that consolidates different user accounts and provides single sign on. I’d like to try serverless approach for both solutions. We should be able to utilize AWS Lambda and API gateway service for most of our API needs, and I’m looking into AWS Cognito for a serverless authentication and authorization solution. It’ll be really helpful if you could familiarize yourself with these AWS services…we can start with some use cases for POC when you come onboard.
Sounds pretty straightforward except does anyone know what IDM stands for here? Ok I guess it's Identity Management. Which should really me IM imo.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 04:26 PM
Identity Management
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 05:37 PM
Any clue what kind of request volume you'll be working with Suzzer?

Serverless has been nothing but pain for me tbh, esp in the API space. Doing simple things like triggers when a file drops in S3 are basically a perfect use case, but I have had nothing but issues integrating into a "long living" scenario, like api requests
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 05:49 PM
Quote:
Originally Posted by PJo336
Any clue what kind of request volume you'll be working with Suzzer?

Serverless has been nothing but pain for me tbh, esp in the API space. Doing simple things like triggers when a file drops in S3 are basically a perfect use case, but I have had nothing but issues integrating into a "long living" scenario, like api requests
I'm not really a fan of lambda for everything, but isn't the max timeout for a request in lambda like... 5 minutes?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 05:57 PM
Quote:
Originally Posted by OmgGlutten!
https://flexboxfroggy.com/

level 24 is so confusing.
First reaction: Yes, a programming game!
Second reaction: Flexbox? NOPE


Speaking of programming games, Exapunks is new from Zachtronics (makers of TIS-100 and Shenzhen I/O) and it is AWESOME
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 06:18 PM
re: programming is not always slamming 100's of lines of code a day -

Today I spent multiple hours on an issue and the fix/solution ended up being removing precisely one line.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
08-13-2018 , 06:21 PM
According to your boss' changed lines of code metric you had a very unproductive day.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m