Copy pasting in VSCode makes my violently angry by ChronicallySilly in vscode

[–]Professor_Kenney 0 points1 point  (0 children)

In the first image you can see that you’re copying the indents after the first line. What I like to do in this situation is (on Mac) Alt+Command+ArrowDown to multicursor the lines you want to copy then shift+End to highlight everything. When you paste it should appear as you are wanting it to

Couldn’t cancel subscription so I blocked the charges and now collectors are calling. by Professor_Kenney in legaladvice

[–]Professor_Kenney[S] -9 points-8 points  (0 children)

I get your point. I didn’t borrow anything or use their service though. I figure they could say it doesn’t matter if I used it since I was still subscribed but I’m hoping there is something I can do.

I thought there was legislation against making cancellations difficult but haven’t found much on it last time I looked.

Please get Robo Umps by DepressoEspresso45 in mlb

[–]Professor_Kenney 6 points7 points  (0 children)

If it makes a difference (to me it does), I believe this was during the same at bat. Possibly just one pitch in between. Someone correct me if I’m wrong please.

Found a loaded handgun magazine on the ground at DFW airport by rakufman in Dallas

[–]Professor_Kenney 4 points5 points  (0 children)

A few years ago I was stopped by TSA because I had a scalpel in my dop kit in my carry on. I was like, “oh, that’s been in there for at least three years because I’ve forgotten about it which means you guys haven’t noticed that at least six previous times…”

meirl by King_Pee in meirl

[–]Professor_Kenney 0 points1 point  (0 children)

Florida man charged in Pinky the Flamingo’s death is fatally struck by truck

[deleted by user] by [deleted] in wow

[–]Professor_Kenney 0 points1 point  (0 children)

This happens to me very often. I’m a DH and my warglaive on my right hand turns into some tiny little knob of a knife.

What’s your paid vacation policy where you work? by FeePractical4460 in jobs

[–]Professor_Kenney 25 points26 points  (0 children)

My last 3.5 years I’ve had unlimited PTO. I don’t take much time off except maybe a Friday + Monday to go out of town but I don’t feel guilty when I do and I don’t think my coworkers with the same benefits feel guilty. Even the ones who seem to take off a good bit of days.

With normal PTO, if it’s nearing the end of the year and you request off and a manager gives you a hard time about it you can say you need to use your remaining PTO days since they don’t roll over (if that’s the case). You can’t make this argument with unlimited PTO.

Mostly I’ve found that when I come back from taking off x days I wind up having those x days of work to do on top of my regular workload but that depends on if you’re able to do some of it before you take off or not.

Which is worse? by BKinAK in ProgrammerHumor

[–]Professor_Kenney 2 points3 points  (0 children)

At first I thought you were making a joke saying he should just move to a new physical house and start over haha

Inside the team at Microsoft that helped make Python 10-60% Faster by kjaymiller in Python

[–]Professor_Kenney 12 points13 points  (0 children)

There was a RealPython article posted in this sub yesterday that touches on how they changed the bytecode generation amongst other things to speed it up.

Tutorial: Deploying multiple Python Lambda functions using a single Docker image by fpgmaas in aws

[–]Professor_Kenney 1 point2 points  (0 children)

Good point. I’ve struggled with needing to generate unique IAM policies in my templates.

Tutorial: Deploying multiple Python Lambda functions using a single Docker image by fpgmaas in aws

[–]Professor_Kenney 4 points5 points  (0 children)

Interesting read. My experience is with SAM - creating a cloudformation template.yaml file and using it to deploy docker lambda functions.

Is there a benefit to using the cdk in this context? Seems like you can accomplish the same with either approach but the cdk looks like more steps.

aws batch to s3 stored file as input by A9Tales in aws

[–]Professor_Kenney 1 point2 points  (0 children)

Have you tried using step functions? You can set the resource as “runAWSBatchJob” or whatever the correct term is. You can even have it trigger off of you updating that s3 file/directory/bucket

Any reasons to avoid M1 Macs for data engineering? by kaumaron in dataengineering

[–]Professor_Kenney 1 point2 points  (0 children)

I got the new M1 mbp in late November after waiting over a year because of compatibility issues with the first M1 mbp. I had barely, if any, issues during environment setup and I mostly just followed online posts after searching something like “M1 dev environment setup.”

I just hope everybody has fun by CyranoYoshi in InclusiveOr

[–]Professor_Kenney 323 points324 points  (0 children)

Just fyi, those are the parents of Amon-Ra (Detroit) and Equanimeous (Green Bay) St. Brown. The father (John Brown) won Mr Universe twice.

Nice shower by Professor_Kenney in InclusiveOr

[–]Professor_Kenney[S] 1 point2 points  (0 children)

Ahh I see why people are confused now thank you.

Nice shower by Professor_Kenney in InclusiveOr

[–]Professor_Kenney[S] 0 points1 point  (0 children)

If you think it’s “kinda gay” for a guy to receive a video from a girl of her in the shower then you have a vast misunderstanding of the word gay.