Pebbling Club 🐧🪨

  • Maintaining control of our data with personal databases | N=1 (marcua’s blog)
    Notes
    The fundamental problem is that in using most modern consumer-oriented applications, we lose control of the data we share with those applications. In creating documents, writing emails, or tracking our exercise or other activities, we share data with an application that’s useful for a particular purpose, but also allow the data live in a database controlled by the application’s owner. With the data outside of our control, it can then be restricted, lost, leaked, sold, resold, and exploited. The groups that control these databases accrue most of the benefits, and we accrue most of the costs.
    Feed
    Unfurl
  • Writing Composable SQL using Knex and Pipelines
    Notes
    We have used a query builder to programmatically build SQL queries, and by using higher-order functions (functions that take other functions as arguments) and pipelines, we have: Eliminated the need to pass the query object explicitly. Made it easier to add, remove, or rearrange query modifiers without disrupting the overall structure. Improved maintainability and simplified testing since each query modifier function is a self-contained unit that can be reused across various queries and scenarios.
    Unfurl
  • SQL 3d engine (interactive preview) / Observable
    Notes
    My brain asplode
    Feed
    Unfurl
  • Developing LlamaDB - The pet SQL database
    Notes
    LlamaDB is a home-grown SQL database that I began designing over the course of four weeks. I'm developing LlamaDB to better understand the SQL language and its implementation details.
    Unfurl
  • SQL on Khan Academy enabled by SQLite, sqljs, asm.js and Emscripten
    Notes
    Our implementation of SQL is based off of SQLite which is compiled down to asm.js by Emscripten packaged into sqljs.
    Unfurl
  • SQL pie chart | code.openark.org
    Notes
    "Shown below is a (single query) SQL-generated pie chart. I will walk through the steps towards making this happen, and conclude with what, I hope you’ll agree, are real-world, useful usage samples."
    Feed
    Embed
    Unfurl
  • Web Database - W3C HTML5
    Notes
    "This specification defines an API for storing data in databases that can be queried using a variant of SQL."
    Unfurl
  • Spock Proxy
    Notes
    "Spock Proxy supports range-based horizontal paritioning of a large MySQL database. The proxy intercepts SQL queries from the client, sends queries to the correct databases based on how the database is partitioned, then aggregates the results from each database and returns them to the client as a regular MySQL result set. "
    Unfurl
  • The Phrasebook Pattern
    Notes
    Not unlike templates for (X)HTML? "The Phrasebook pattern is a technique to separate expressions in one language (e.g., SQL) from the main code that is written in another programming language (e.g., Perl). This is done by keeping the expressions in a separate file – the phrasebook. Any specific expression is generated by finding the appropriate entry in the phrasebook and substituting application parameters into it. This separation makes maintenance easier both for the main application code and for the foreign language code."
    Unfurl
  • Storing Hierarchical Data in a Database [PHP & MySQL Tutorials]
    Notes
    "There are two major approaches: the adjacency list model, and the modified preorder tree traversal algorithm. In this article, we'll explore these two methods of saving hierarchical data."
    Unfurl
  • SQL on Rails
    Notes
    "Rails is a short-stack framework for developing database-contained web applications according to the Model-Model-Model pattern."
    Unfurl
  • Twitter, Rails, Hammers, and 11,000 Nails per Second — Thought Palace
    Notes
    "And of course you could keep going with this novel ā€œdistributedā€ idea, and make this into an actually-distributed system, where individual users (or groups of them) can run their own Twitter servers that queue their incoming messages and relay their
    Unfurl
  • Facebook Developers | Facebook Query Language
    Notes
    "FQL is a way to query the same Facebook data you can access through the other API functions, but with a SQL-style interface."
    Unfurl
  • The B-List: JavaScript, ORM and "hiding SQL"
    Notes
    'having ORM isn't "hiding SQL".'
    Unfurl
  • LaughingMeme: In Lieu of the Promised Article on Tags and SQL
    Notes
    "There you go, you no longer have any excuse for building a sub-par tagging system."
    Unfurl
  • Ian Bicking 6.9.2004 - Another less sleepy alternative to Hibernate
    Notes
    "This is all in response to this glimpse of Hibernate, an ORM for Java. Reading those Java config files hurts my soul." SQLObject does indeed rock.
    Unfurl