TL;DR – I came up with a very simple solution to handle WebSockets in Django apps. You just install django-websocket-request, run a script and you have WebSockets for your Django app. The cool thing is that this solution makes Django believe its getting a (somewhat) normal HTTP request so you can reuse almost all of you… Continue reading The easiest way to add WebSockets to Django
Auth with JSON Web Tokens
When it comes to implementing authentication on web apps, one solution you’ll definitely hear about first are cookies. Cookie-based authentication uses a server side cookies to authenticate the user on every request. This means that you’ll need to keep a session store, whether it’s on a database or on something like Redis. A solution you’ll… Continue reading Auth with JSON Web Tokens
The Hacker and Designer News Newsletter
After recently building a scraper and web API for The News, I thought it’d be a cool idea to use that data somehow. First thing that came to mind was to build a newsletter. And so The Hacker and Designer News Newsletter was built. Newsletter Every week I’ll send a newsletter with a curated recap… Continue reading The Hacker and Designer News Newsletter
Scraper and Web API for The News
I recently found out about http://thenews.im thanks to @gcollazo. The News is a pretty cool project by ahmetsulek that brings together under one same site LayerVault’s Designer News and Y Combinator’s Hacker News. I decided to take advantage of having all those posts from two different sources together and built a scraper for it with Node.js. Once I had all the posts stored… Continue reading Scraper and Web API for The News
Traveling to Boston
I’ll be visiting Boston for the very first time with my lovely wifey from December 11th to December 15th. It’s definitely not a lot of time for a first time visit, but we want to make the best out of it. Since she’ll be two days in a conference, I’ll probably doing some walking and… Continue reading Traveling to Boston