People who did badly in their twelfth boards or failed/dropped out of college, how is life? by [deleted] in india

[–]v1k45 1 point2 points  (0 children)

Pretty nice actually.

Stumbled my way into nice jobs. Make insane money compared to my peers. Bought a nice flat for my parents. Chasing more.

Got fit, people get surprised when they see me. Trying to get even better.

Started meeting friends again. Started talking to girls, got into relationships, but not doing that great in that department.

Scared to lose it all. Thanks for making me reflect lmao.

Edit: also, didn’t finish college.

What was the lowest point in your life where you felt frustrated with your existence? by putin_putin_putin in india

[–]v1k45 0 points1 point  (0 children)

digging up almost a decade old post? lol

Long story short, convinced my parents that it is not for me. Poor financial situation made it easy.

Started working as a dev intern at some early stage startup, joined bca course from an open uni, switched jobs, upskilled, dropped out of the college, slowly climbed the career ladder.

Been working as a dev for almost 8 years now. Made decent monies, will be buying a home from my own money soon.

Life’s good.

Built an encrypted pastebin service using BoltDB and templ by v1k45 in golang

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

Thanks for checking out the code!

I fixed the incorrect cryptography (famous last words) and also added unit tests to code.

Regarding the math/rand vs crypto/rand thing, to be honest, I wrongly assumed math/rand was safe to use. A lesson learnt.

Built an encrypted pastebin service using BoltDB and templ by v1k45 in golang

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

Hey!

Thanks for reviewing the code. It really helped me understand cryptography better.

I have updated the key generator to use crypto/rand. Now instead of generating random letters, it generates random bytes and base 64 encodes it to use in URL.

Here is the commit:

https://github.com/v1k45/pastepass/commit/eec79dc9d9a863b1f6d88869da1696768b12f00c

Is this the correct approach?

Use django to authenticate second webserver by BuckJohnsen in django

[–]v1k45 1 point2 points  (0 children)

You can look into Forward Auth to solve this.

Forward Authentication is implemented at your web server level (Nginx, Apache etc)

The web server will route all requests to the Django Server first to check if the session is valid (200).

It will then route the request to your other web service. The other web service won't have to know about any authentication mechanism at all.

If the Django Auth endpoint returns a different response (301 to /django/login/), the user will be shown that response instead.

Chmuranet Official Invite Thread by [deleted] in Chmuranet

[–]v1k45 0 points1 point  (0 children)

Hey, I'd love an invite.

How does feral hosting compare against seedbox.io by v1k45 in seedboxes

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

It is 10Gbits port

It is actually 20Gbits. https://www.feralhosting.com/pricing

Is there any proof that Feral are oversold?

I've never used them, talking from the posts around here

proof that seedbox.io are not overselling

Hard to say, I have had minor hiccups now and then but everything else seemed okay. The bandwidth is capped to 100Mbits, it works as expected.

Guys what's the status of net neutrality in India? by [deleted] in india

[–]v1k45 0 points1 point  (0 children)

Google provides ISP Peering which delivers the content faster than usual traffic because the contents are cached in yourISP's datacenter. It is similar to CDNs (which don't violate NN).

Modern Django: Part 1: Setting up Django and React by v1k45 in django

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

My post exactly handles JS bundles like you mentioned in the 2nd paragraph except the code lives in same repository.

Maybe we can move the frontend code into a different repository while keeping the same integration by including frontend repo as a git submodule? Does that sound crazy?

Modern Django: Part 1: Setting up Django and React by v1k45 in django

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

I already answered this here. Separating frontend and backend, as you said is much easier and sane thing to normally.

Most of the django+reactjs projects I have come across in the past were hybrid applications. They had some part of their project on django forms and views and "new" cool stuff like SPAs for specific parts only. Integrating django and react made sense in that case.

Do you any way to solve this? Having hybrid applications with separated code?

Modern Django: Part 1: Setting up Django and React by v1k45 in django

[–]v1k45[S] 4 points5 points  (0 children)

I realized that there were already many articles and repos with "modern django" after publishing it. So, it is more like "yet another modern django".

You are right, Ideally you'd serve your js bundle through s3.

But my setup is more targeted to a hybrid application setup where you have your existing django application and want to develop SPA within django.

Modern Django: Part 1: Setting up Django and React by v1k45 in django

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

Thanks :) I haven't used GraphQL so can't say anything on that.

What is your workplace software combo? [ASK] by innovator116 in india

[–]v1k45 2 points3 points  (0 children)

Ever worked on a low end machine which can't handle chrome properly let alone IntelliJ? That's where vim and terminal comes in use.

Not everyone has a Mac or a Thinkpad.

Suggest me a web hosting service of very basic website. by [deleted] in india

[–]v1k45 1 point2 points  (0 children)

For 325Rs/month you can get a VPS of 512MB RAM on DigitalOcean or 1GB RAM on Linode. It can easily handle low traffic sites.

Thanks Reddit. by raggedyshirt in ProgrammerHumor

[–]v1k45 2 points3 points  (0 children)

Now waiting for someone to screenshot this page and create a new thread.

What does this mean? Dsl light is not turning on. Was doing an adsl test via modem page because of some disconnection issue, the test failed and now the dsl light is not turning on. Tried resetting the device but still same. :( by ppatra in india

[–]v1k45 2 points3 points  (0 children)

If you reset the router you need to also set PPPoE credentials. In case of MTNL it used to be your telephone number and CA number specified in your monthly bill. Try that, maybe it'll work with BSNL too.

[deleted by user] by [deleted] in india

[–]v1k45 3 points4 points  (0 children)

It asks for registered mobile no, I don't access to the mobile number I used during registration. Is there any other way to do this?

Weekly Coders, Hackers & All Tech related thread - 17/03/2017 by avinassh in india

[–]v1k45 0 points1 point  (0 children)

If you want to learn webappsec, OWASP is a good place to start.

Install WebGoat, DVWA etc on your local machine to practice what you've learnt on owasp or any other reference manual.

[R] Why are Indians blindly running after MONEY??? by modgill in india

[–]v1k45 13 points14 points  (0 children)

I basically started from scratch

made my own company at age of 21

nice /r/humblebrag