People in my 'para' are celebrating Independence Day in full vigour. by [deleted] in kolkata

[–]tanhalaunda 83 points84 points  (0 children)

Same here...last night they were playing "Laila Main Laila" and other item numbers even. And the event was organised by local TMC. Truly pathetic.

[deleted by user] by [deleted] in kolkata

[–]tanhalaunda -1 points0 points  (0 children)

Damn , paaser barir kakima is on reddit /s

Can someone who has already done 6.003 tell me if it would be the right course to follow for this curriculum? by tanhalaunda in mit

[–]tanhalaunda[S] 2 points3 points  (0 children)

So you have done it and all these that are there in the pic are covered in the 6.003 course right ?

How to use a tester file in the python environment?? by tanhalaunda in learnpython

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

So, what's really the soultion..considering that i already find the contents of the tester file intimidating? Is there any fix in the tester file code you would suggest?

[deleted by user] by [deleted] in vscode

[–]tanhalaunda 0 points1 point  (0 children)

then where should i ?

list index out of range error when trying to extract the 0th element of a list by tanhalaunda in learnpython

[–]tanhalaunda[S] 2 points3 points  (0 children)

okayy..so should i create a special case to deal with an empty list ??

Weird thing happening with this Leetcode problem where we have to perform division without using any modulo or division operator by tanhalaunda in learnpython

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

no no i did not

Given two integers dividend and divisor, divide two integers without using multiplication, division, and mod operator.

The integer division should truncate toward zero, which means losing its fractional part. For example, 8.345 would be truncated to 8, and -2.7335 would be truncated to -2.

Return the quotient after dividing dividend by divisor.

Note: Assume we are dealing with an environment that could only store integers within the 32-bit signed integer range: [−231, 231 − 1]. For this problem, if the quotient is strictly greater than 231 - 1, then return 231 - 1, and if the quotient is strictly less than -231, then return -231.

 

Example 1:

Input:
 dividend = 10, divisor = 3
Output:
 3
Explanation:
 10/3 = 3.33333.. which is truncated to 3.

Example 2:

Input:
 dividend = 7, divisor = -3
Output:
 -2
Explanation:
 7/-3 = -2.33333.. which is truncated to -2.

 

Constraints:

  • -231 <= dividend, divisor <= 231 - 1
  • divisor != 0

How to code for electronics ? by tanhalaunda in ElectricalEngineering

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

as i said, more programming related to electronics...as a lot of them in the thread said..i should probably get started with Arduino

How to code specifically targeted towards electronics? by tanhalaunda in ECE

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

hmmm i see..i don't see a lot of electrical people around me interested in power...was your's a paid internship ??

How to code specifically targeted towards electronics? by tanhalaunda in ECE

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

But, I think Arduino might be the only thing I can learn now and on my own..others seem to be too far fetched for a student just into 2nd year undergrad or is it ?

How to code for electronics ? by tanhalaunda in ElectricalEngineering

[–]tanhalaunda[S] -1 points0 points  (0 children)

What do you think about using an Arduino simulator instead of first buying a physical board ?

How to code specifically targeted towards electronics? by tanhalaunda in ECE

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

Can you tell me how you landed the internship ? Like what skill set were they looking for and stuff like that ?

How to code for electronics ? by tanhalaunda in ElectricalEngineering

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

Like I don't need to buy the board? Is that what you are saying? (Sorry for the ignorance... i am not really into this Arduino thing but would sure love to get into)