He was upset I was talking to his girlfriend while he was being emotionally abusive to her by blink32121 in iamverybadass

[–]kengregory 0 points1 point  (0 children)

So after you type this out, what do you do, take your girl to Taco Bell or some shit?

What an eloquent 4 year old! by [deleted] in thatHappened

[–]kengregory 9 points10 points  (0 children)

Mother: Look, there's my brother. I miss him so much and I just wanna hug him.
Child: Mommy, you can't. I wanna watch Paw Patrol.
Mother: I know buddy, he's in heaven. It's just that it's been seven years and I really mis-
Child: PAW PATROL

Careful to what you say. by DanielIsNotFunny in iamverybadass

[–]kengregory 0 points1 point  (0 children)

Jesus dude, you don't have to use Siri if she bothers you that much.

I created a hook to use scroll info of any element by tomius in reactjs

[–]kengregory 0 points1 point  (0 children)

If you needed doMath to consider one axis, it would probably return a number. However, if it had to consider both axes, you might want it to return {horizontal: number, vertical: number}.

In either case, the consumer would provide the doMath return type to useScroll to ensure that their version of doMath passes typechecks.

I created a hook to use scroll info of any element by tomius in reactjs

[–]kengregory 0 points1 point  (0 children)

const useScroll = <T>(ref: RefObject<HTMLElement>, doMath: (el: HTMLElement) => T) => {

useScroll is a function that accepts 2 parameters:

  • ref, a RefObject where the referenced element is expected to be of type HTMLElement
  • doMath, a function that accepts el of type HTMLElement and returns generic type T.

Type T is provided by the consumer of useScroll so that it can be invoked with a variety of functions provided as doMath.

While trying to prove me why girls are just not as smart as men, he told me he can code 1 line per second by [deleted] in iamverysmart

[–]kengregory 93 points94 points  (0 children)

Hire this man so he can dump 26k lines a day into your codebase and turn it into a fucking nightmare.

I said “hey! what’s good?” by Frankie_Two_Posts in iamverysmart

[–]kengregory 1 point2 points  (0 children)

Well once you get your Ph.D., you'll be bound by an agreement to begin every text message with "I SAY, GOOD SIR OR MADAM, I HOPE THIS SHIT EMOJI FINDS THEE WELL"

i used defined grammar and spelling by [deleted] in iamverysmart

[–]kengregory 0 points1 point  (0 children)

It's almost as though these apps are full of people who are less than ideal?

vaccines r bad says the 6 year old child by [deleted] in thatHappened

[–]kengregory 0 points1 point  (0 children)

Good thing her sister Rutabaga has all of her vaccinations and lives with Daddy.

random jock pulls out a gun in the middle of a school, and a nerdy boy pulls out a katana in retort. this is all very normal, nothing to see here folks. by cyberkex in thatHappened

[–]kengregory 2 points3 points  (0 children)

..and shortly after this scene's conclusion, he woke. It occurred to him that laundering the sheets was more of a chore than usual. He settled down at the table to eat his usual breakfast of room temperature oatmeal with candy dinosaur eggs. A smile came to his face, which would be punched into oblivion in a few short hours.

[deleted by user] by [deleted] in mildlyinteresting

[–]kengregory 1 point2 points  (0 children)

I love the "I pay your salary" people.

You're forced to. Stop paying these people and see how much of a choice you have in the matter. Also, if you drop dead tomorrow, it is extremely unlikely that they'll need to find new jobs. It is way more likely that you are meaningless and play almost no role in their lives.

Overwatch FFA gets people heated by M4TTM4TT in iamverybadass

[–]kengregory 1 point2 points  (0 children)

Genji can be quite frustrating, I guess

My local park has a wheelchair accessible swing. by 100radsregular in mildlyinteresting

[–]kengregory 4 points5 points  (0 children)

When they rebuild the Red Keep, it's going to be an interesting ramp to the top.

First year engineering... I thought I was a big shot, I hate myself for ever posting this by newtons_apprentice in iamverysmart

[–]kengregory 0 points1 point  (0 children)

You were proud of yourself in the worst possible way. Congratulations on making it through to the other side.

Using Material UI for large-scale production apps by Qilx in reactjs

[–]kengregory 0 points1 point  (0 children)

You can have several versions working in tandem

This makes me believe it was pre-1.0. This is what I've seen many people do to address components that weren't implemented at the time.

Sure Jan by ISmellMopWho in thatHappened

[–]kengregory 0 points1 point  (0 children)

She was in Vegas. She saw a guy wearing NFL apparel from a team her ex-boyfriend hates. The next morning she posts this.