When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}
$ EXPLAIN SELECT base.* FROM base LEFT JOIN relation ON relation.base_id = base.id WHERE relation.id IS NULL ORDER BY id LIMIT 1000;
QUERY PLAN
---------------------------------------------------------------------------------------------------
Limit (cost=755508.94..755508.95 rows=1 width=54)
-> Sort (cost=755508.94..755508.95 rows=1 width=54)
Sort Key: base.id
-> Hash Left Join (cost=44.65..755508.93 rows=1 width=54)
Hash Cond: (base.id = relation.base_id)
This article is now published on my website: A one-off git repo server.
// Prereq: underscore.js and jquery loaded | |
var p1 = $.Deferred(); | |
var p2 = $.Deferred(); | |
// We want something that chains promises, so something like... | |
//p1.done( | |
// function addNext() { | |
// p2.done( | |
// function addNext() { |