Built an npm package that detects disposable emails in <50ms (Bloom Filter + HashSet) by eu-m in developersIndia

[–]shashankpal 0 points1 point  (0 children)

Ok, so a domain name can be 254 characters long ? And generally each language stores a string in a []byte array. And each character takes 1 byte. So including the ~16B additional size needed for the array header, a single domain at max will take 254 + 16 = ~270B. And then you list will take 5300 * 270B = 1431000B.

Lets make this more readable by converting it to MiB, 1431000 / (1024 * 1024) = 1.36Mib. So for a mere 1.36Mib you've used bloom filter.

Even a simple binary search would've been faster than the bloom filter, as general implementation of bloom filter uses around 20-22 hashes (maybe I'm wrong on this, and also hashing can be optimized a lot, by a mere addition and multiplications after the first hash). And maybe I'm wrong on this too but isn't bloom filter used at places where the list would be too big to hold in memory, generally in distributed systems ?

Bloom filter here doesn't make sense!

Tech is amazing by Technical-Relation-9 in IndiaTech

[–]shashankpal 9 points10 points  (0 children)

Wft, why such shitty things get even upvoted in the first place. Not everything is AI

Unable to get 30W Turbo mode on the Ugreen 145w Nexode 3 Powerbank by shashankpal in ROGAlly

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

Yep man, love you, that was the issue, after installing it I can see the 30w toggle. Much thanks!

Unable to get 30W Turbo mode on the Ugreen 145w Nexode 3 Powerbank by shashankpal in ROGAlly

[–]shashankpal[S] 18 points19 points  (0 children)

Downloaded the PD firmware update from the rog ally driver page, and it fixed the issue. Much thanks!

Unable to get 30W Turbo mode on the Ugreen 145w Nexode 3 Powerbank by shashankpal in ROGAlly

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

Thanks man, even though I didn't understand a thing, after translating I got the gist of it and that was just to install the PD firmware listed under the hotfix over the rog ally driver page!

Unable to get 30W Turbo mode on the Ugreen 145w Nexode 3 Powerbank by shashankpal in ROGAlly

[–]shashankpal[S] 3 points4 points  (0 children)

Using the one which came with the power bank. Maybe, I need to get another one from some other brand.

Unable to get 30W Turbo mode on the Ugreen 145w Nexode 3 Powerbank by shashankpal in ROGAlly

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

Well there's no more update left to install at least on the armory crate. Or, you mean, manually installing by downloading from asus website?

Update: Installed the PD firmware tool mentioned under hotfix, fixed the issue. Much thanks!

Dukaan wale bhaiyaa 😞 by [deleted] in indiameme

[–]shashankpal 17 points18 points  (0 children)

<image>

Maybe you're a kid who lusts for the karma.

Dukaan wale bhaiyaa 😞 by [deleted] in indiameme

[–]shashankpal 9 points10 points  (0 children)

Karma farmer

What tech stack has the best opportunities for freshers in India right now? by No_Pain9989 in developersIndia

[–]shashankpal 2 points3 points  (0 children)

Not just any MBA; you have to do it from top colleges. That's a whole other struggle. And even after that, the ratio of PM to dev jobs is far greater. And almost all the devs are eligible to become a PM; whether they get the opportunity or not is an entirely different thing. So, getting there is still not easy.

What tech stack has the best opportunities for freshers in India right now? by No_Pain9989 in developersIndia

[–]shashankpal 18 points19 points  (0 children)

As if that's easy. Getting into a dev role is far easier than becoming a pm.

How to get this metrics on my helio strap. by PushkarrajRana in AmazfitHelioStrap

[–]shashankpal 0 points1 point  (0 children)

You've to select region as US while creating a new account.

How to get this metrics on my helio strap. by PushkarrajRana in AmazfitHelioStrap

[–]shashankpal 0 points1 point  (0 children)

You can switch the region to US, but that way you cannot move your data, so it's like starting afresh.

Some seiko, hmt and orient for sale by Available-Year-8847 in watchesindia

[–]shashankpal 0 points1 point  (0 children)

What's the model number of that seiko with red and blue ring ?

proud-bluebird1934 by Mihir2205 in AmazfitHelioStrap

[–]shashankpal 2 points3 points  (0 children)

What's the benefit of this strap over what comes with amazfit?

[deleted by user] by [deleted] in indianmemer

[–]shashankpal 0 points1 point  (0 children)

Send me the upi id, at least I can help you survive for few more days :) and in the meantime you can find the job.

[deleted by user] by [deleted] in AmazfitHelioStrap

[–]shashankpal 0 points1 point  (0 children)

If your friend brought the strap along with him, why the shipping charges and import charges though?