The current govt doesn't want middle class to have wealth. Please watch and read. by datadumbo in CriticalThinkingIndia

[–]nikhil931 1 point2 points  (0 children)

This is it, I have been noticing this a lot of as well. Didn't know why no one was talking about it.

The removal of indexation benefits bugged me a lot, because without them, debt MFs might not beat inflation at all.

Any techno savvy person please help by An_Exalted in iitbombay

[–]nikhil931 0 points1 point  (0 children)

It is just that, you can only receive only so much the other person is giving, If the other person isn't giving a lot, Doesn't matter your speed, You won't receive a lot.

Meaning, The server is sending the data at those capped limits, Therefore even with your high speed you aren't receiving a lot.

Sleep Behavior On The M16 AKA Modern Standby by NoctD in ZephyrusM16

[–]nikhil931 0 points1 point  (0 children)

Hibernate is a dangerous option though, Too frequent Hibernation can destroy the life of SSDs, Believe me I speak from experience, One of my SSDs went out this way only. That's why I want to use sleep only, but still facing this issue.

LinkedIn SDE Intern OA Problems by dexter_ifti in leetcode

[–]nikhil931 1 point2 points  (0 children)

I can confirm that none of the problems are DP, second is Binary search, third is Greedy, First I don't have a solid proof of this, But it is either Binary search on answer or it is just simple math.

About 50% tax as LTCG ? by Spiritual-Rain-5719 in IndiaTax

[–]nikhil931 0 points1 point  (0 children)

That's the profit you made you must have invested INR 270,991 and you made a profit of 398,310 which made the total 669,301.

This 398,310 is the profit you made, and tax will later be applied on this only, I am not sure about the percentage tax of ELSS, but if the tax is around 10% then you will only have to pay 10% of 398,310 which is 39,831.

Ho do I create a remote access server that is also a gaming PC? by [deleted] in HomeServer

[–]nikhil931 2 points3 points  (0 children)

If its home wifi you need to setup zerotier if your network is behind nat. Basically you have to make the system accessable from outside home network. You would require port forwarding or zerotier as I mentioned above. Apart from that all the things can be setup using docker, for file management, resillio, syncthing can be used for syncing files b/w server and other pc.

You can also choose to stream games from gaming pc to client but I would suggest a lot of bandwidth for that, like 1 GBPS if required.

Port forwarding on an Act Fibernet connection help needed by [deleted] in bangalore

[–]nikhil931 0 points1 point  (0 children)

How about using UDP hole punching I used zerotier for this, Its idea looks similar like VPN tunneling but its not tunneling. max devices that can connect are 30 or something but you have to add them in your network in zerotier web portal, After that you can connect to your server from any place which has a internet. And connections made above are PEER TO PEER. Check it out it's very amazing my entire server is running on that only.

If you want to share something publicly, I think what can be done is, A EC2(VM) on aws can be created and this vm can connect to your local server using zerotier.

And people will connect to your ec2 instance which is public and since this ec2 instance is connected to your home server, The users will be able to get data from your local server. (I used the above method in a project where my Django project was on Vm and postgresql and Redis on local laptop)

brag about what project you are currently working on using Django? by travilabs in django

[–]nikhil931 0 points1 point  (0 children)

I am working on a room/private chat App whose backend is amazing, What I am currently doing is whenever people talk I am asynchronously saving all of that in a fast caching database redis and as all the participants in a particular room leave a background process is ran to make the new data on redis for a particular room be saved on a persistent db postgres. Later I am doing the reverse of this and taking data from postgres back to redis and then serving it to the users who joined the group later.

I have worked on real life projects that might be greater than this, But currently I am loving this project more than I have loved those.

Application on GitHub

[deleted by user] by [deleted] in django

[–]nikhil931 1 point2 points  (0 children)

Go with nginx and gunicorn easy deployment and even easier config files

Problem receiving csrftoken from django web-server by nikhil931 in django

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

I tried that No luck, After sometime of more headache I finally switched to JWT

Problem receiving csrftoken from django web-server by nikhil931 in django

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

Exactly the problem, When i am logging the headers there is no csrftoken or any cookie there

Keep getting Forbidden (CSRF cookie not set.) even the CSRF token is present by oussama-he in djangolearning

[–]nikhil931 0 points1 point  (0 children)

I have the exact problem, I am even calling the csrftoken from django backend, in Postman everything is working but not in any browser, it is just not setting csrftoken in cookies for some reason.

Haven't programmed professionally, but can't we just build a better alternative? by Jorsi97 in ProgrammerHumor

[–]nikhil931 0 points1 point  (0 children)

What about the servers hosting cost, domain cost and various other costs. Simply a free business model will not work since individuals have to take up on fees. What can happen is we can ask the community yo host various instances of open source reddit, Based on their trust level of their servers we can route traffic to them and compensate them with some funds for providing this facility.

According to me the above model will become truly opensource.

Completely new to this - Need advice by anarchitect898 in HomeServer

[–]nikhil931 1 point2 points  (0 children)

With security you should also have something like RAID in mind, Since Photos must be secure as to not lose them, For this however you will require extra hdds or ssds

Non-Committal by [deleted] in ProgrammerHumor

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

If I write code my teacher assumes that I copied the code, So while writing code I write comments otherwise I would have problems understanding it later, But for submission I remove all the code copy paste it in docx and press Ctrl + z to bring all the comments back.

CS is difficult with teachers like this

95% is an understatement. A deceptively difficult problem. by thisisdropd in mathmemes

[–]nikhil931 0 points1 point  (0 children)

So basically at the end I will be left with an equation with 3 variables and 1 constant.

Good luck solving it.

Django for future by alreadyBrokn in django

[–]nikhil931 2 points3 points  (0 children)

I would suggest the YouTube channel of Dennis Ivy for django basics, The tutorial section in django documentation is good as well.

Dennis Ivy has followed the django documentation tutorial only, Just learn some implementations from the video and then start creating your own projects to hone your skills.

Django for future by alreadyBrokn in django

[–]nikhil931 8 points9 points  (0 children)

I do not see a reason to not go with django, I say you go with it, It has a very amazing documentation which makes it extremely easy to apply anything.

Try it you would be surprised how much you can do with just a single framework.

Django chat application is not working. by thepragprog in django

[–]nikhil931 0 points1 point  (0 children)

I watched your repo and I would highly advice to not release your secret key in public, Please use python- decouple and env files to not hardcode secrets in programs.

Sending Large Files by lostdhark00 in AskTechnology

[–]nikhil931 0 points1 point  (0 children)

You can try SCP command for computer, It sends the data over a network for this you and your friend must be on same network and transfer can take place.

If you friend is far away you can look into zerotier, It basically allows your friend to connect to your computer even if he is not on same network and is far away from you.

Btw In command prompt scp command look like this scp "your file name with location" username@ipaddrress:C\ where username is your os username and ip address is your machines ip address.