sheharyarn
Delta is a format to describe documents' contents and how it changes over time. This is a core piece of technology at Slab, that powers our real-time collaboration engine, thanks to the built-in support for Operational Transform (think multiple users working together in Google docs).
Though we've been using it internally for almost 4 years now, we're finally open-sourcing it to the wider Elixir community.
Would love your feedback!
Slab is a multi-tenant Phoenix app where all tables in our database, including pivot tables, have an `org_id` foreign key that references the team the data belongs to. Using association defaults enforces that the correct `org_id` value is automatically set for all resources.
We combine this with an `OrgRepo` module that wraps around our default `Repo`, which can only write or read other resources with the same `org_id`, ensuring that data for one team has no possibility of accidentally leaking to another team (using `Repo` is forbidden in our codebase).
An added bonus is; when we eventually have to scale our databases via something like sharding and have to vertically partition the data based on `org_id`, we would already have this system in place to support us.
Building secure Multi-tenant applications in Elixir
Opening the black box of vision AI algorithms
Defensive Bash Programming
Grayscale is buying 100% of mined Bitcoins since halving
Reflections on the color of my skin
Your Indie game dev team will fail
Why I'm Betting on Gutenberg
Show HN: Que – Distributed Job Processing in Elixir with Mnesia
Show HN: Memento – Real-Time Distributed Database (Mnesia) in Elixir
Elixir 1.9.0-RC released
Apple makes zsh default shell on macOS
Show HN: Memento – Mnesia Real-time Distributed Database in Elixir
Andy Grove Formed Modern Startup Culture
How Elon's writing style hurts Tesla
Interview with Alan Kay (2012)
Don't use the greater-than sign in programming (2016)
Erlang – The Movie (1990)
The Mine: CSS Only Adventure Game (No Javascript!)
Memento – Mnesia Distributed DB in Elixir
YOLO v3 – Object Detection Model [pdf]
DenseNet Image Segmentation in Tensorflow
Writing Custom CSS vs. Using Front End Frameworks
A quantitative socio-economic study of Tinder
- Programming Hackathons / Conferences
- Music (Alternative / Indie)
- TV Shows and Anime (I waste too much time on them)
- Yoga
- Cooking
- Learning other languages
- Non-Fiction Books