prakhar987
Alphacode to participate in Codeforces contest today
Re:Ask HN: How best to prepare for Python interviews starting in 3 mon...
on Tuesday November 23, 2021 @10:45AM (#29319133)
Few questions to get started:
- __init__ vs __new__
- Difference between list and set
- Abstract classes use
- Generators vs iterators
- How yield works
- Is python call by ref/val or both. How to implement each
- How python list allocates space, how it is implemented
- what is cpython, pypy
Re:Ask HN: Low self confidence and self esteem. How to improve?
on Monday May 20, 2019 @11:26AM (#19961336)
I believe being anti social and lacking confidence has been advantageous to me. When i was in college, i was hesitant to go out due to low self esteem and depression. So i would spend my time alone while others had a social life. But during times like semester examinations, i was able to study with no distraction.
Today i have a CS degree from a top college and i work as a Quant.
To outsiders my life seems perfect but i know its not. But i have come to accept the fact that you can't have everything. To gain some you have to lose some.
When someone asks me you have good money why can't you find a girl, i think to myself i couldn't find a girl so i have good money. Might not be the case for everyone, but i have come to peace with my shortcomings and try to see the good in worst situations.
Re:JupyterHub 1.0
on Saturday May 04, 2019 @12:27PM (#19827425)
I once tried running jupyter inside docker...the downside i saw was conda install of jupyter is around 1.2 gb, making the container pretty heavy...if you are fine with this then all thats left is to expose the port to the container on which you want your jupyter server to run and changing some config after generating jupyter_config file for remote access.
Re:JupyterHub 1.0
on Saturday May 04, 2019 @12:20PM (#19827377)
I would be really hesitant to comapre Jupyter Notebook to an IDE.....an example is a debugger...the only visual debugger that i have come across for jupyter is pixie debugger, which is miles behind the debugger of an IDE like Pycharm.... there is a huge list of features that jupyter needs before you can compare it to an IDE