If there's interest I want to make this into a library and open source a django-specific solution as it's my everyday framework. The discussion applies to ALL web frameworks.
110 karma · joined March 10, 2013
If there's interest I want to make this into a library and open source a django-specific solution as it's my everyday framework. The discussion applies to ALL web frameworks.
Hey everyone, I wanted to share some tips and insights about caching. I'm a firm believer caching is very important/effective but you have to be very careful and engineer-minded while designing it. It's a 7-minute read.
Some problems include serving stale objects or not having central logic to calculate cache efficiency. This part 1 is more like an introduction but I'm willing to share a very good library and middleware that will help you in 2 things. First is solving cache-related bugs, and second is measuring cache efficiency. Tune in for part 2 :)
that's why I wanted to make this process transparent to the user, I created a library "django-rotate-secret-key" which helps you rotate your secret key and still accept sessions with the old key for limited amount of time, and I explained how to use in this medium post.
obviously this is not something you want if your key is compromised, but if you want to rotate just as a best security practice this library is for you!
what I love about this library is, once you pass that window where you accept both keys, you can delete/revert everything so there is no residue with this solution! not a single line of code you need to maintain in the future.
Feedbacks welcome, thank you very much!
some require session authentication, so bot needs to login and THEN verify.
I think this was a nice experiment and still usable for many services.
Thanks!
This blog post would make sense if it talked about why incrementing block-size is not feasible, which is feasible. Storage gets cheaper every year and block-size has no effect on compute power.
Coinbase already has, but with 1.5% fee!!
How do you make sure the transaction happens? What if my order doesn't get executed, and then 5 of them executed next week then it's not DCA anymore.
Changed my database server, should give no errors as of now ;)
(Switched to PostgreSQL in a hot-change fashion!)
We also have some cool features like embeddable calendar creation, Spotify playlist sharing and many more. Subdomains are for free ({username}.watchme.lol) whereas if a streamer wants his own domain he can upgrade to a premium plan.
An example website is https://alican.tv
First I thought this as a way to let websites their users login easier, but this requires wide-spread of the app as you said.
Then I thought this as a password vault + chrome extension, that every security-aware person can use, regardless if website supports it.
But on mobile websites since you can't have browser extension, the website developers may implement this natively. But that would be version 2.0