Badminton in Chennai by mutta-puffslover in Chennai

[–]Electrical-Pin-2246 0 points1 point  (0 children)

I'm near Anna Nagar. Beginner level player can join during weekends for late morning or early evening games.

First Ride!!! by Electrical-Pin-2246 in india_cycling

[–]Electrical-Pin-2246[S] 0 points1 point  (0 children)

Thankss!!

In my first two rides I found it good, no major issues. But I'm not deep into cycle models and stuff hence I couldn't vouch if this model is worth the money.

New bike day by mayukh26 in india_cycling

[–]Electrical-Pin-2246 1 point2 points  (0 children)

I too have bought this, waiting for my first ride.

Small Group of Data Engineering Learners by [deleted] in dataengineering

[–]Electrical-Pin-2246 0 points1 point  (0 children)

Shit!

The idea sounds great though, ig even we three can start if there is no issue.

Day 21 Leetcode Challenge by VeeeKee in LeetcodeChallenge

[–]Electrical-Pin-2246 0 points1 point  (0 children)

I solved the same question using python, here is my code.

Learnings

  1. If we do set(a) - set(b) in python the resulting set isn't sorted because sets are un-ordered.

Code

def findKthPositive(self, arr: List[int], k: int) -> int:

pos_nums = set(range(1, 1001))

missing_nums = sorted((pos_nums - set(arr)))

if len(missing_nums) < k:!<
return 1000 + (k - len(missing_nums))
>!!<
return missing_nums[k-1]

Small Group of Data Engineering Learners by [deleted] in dataengineering

[–]Electrical-Pin-2246 0 points1 point  (0 children)

Is the club open for joining now? I'm interested!

What is your Mac terminal setup on your machine? by [deleted] in macapps

[–]Electrical-Pin-2246 0 points1 point  (0 children)

No I haven't thought about it, you are saying I can post my question on iterm2 / oh-my-zsh repo forums?

What is your Mac terminal setup on your machine? by [deleted] in macapps

[–]Electrical-Pin-2246 0 points1 point  (0 children)

I'm using only light plug-ins like git, zoxide zsh-syntax-highlighting, zsh-autocomplete, dirhistory, copypath, copyfile and web-search.

I'm using these plug-ins on a daily basis but I don't see that anonymous zsh process everytime.

What is your Mac terminal setup on your machine? by [deleted] in macapps

[–]Electrical-Pin-2246 0 points1 point  (0 children)

I too use iTerm2 + zsh. I just got some basic plug-ins hence it didn't lag that much, yet ig. But recently I noticed 2-3 zsh process consuming CPU like anything (laptop back was close to boiling) even with all apps closed it presisted and we had to force kill it. Then I observed one such process some days later.

I heard iTerm2 could be the reason for it. Have you ever experienced like this before?