profile
viewpoint
Matt Freels freels @fauna Berkeley http://matt.freels.name Co-founder and Chief Architect @fauna

lg/murder 2521

Large scale server deploys using BitTorrent and the BitTornado library (NOTE: project no longer maintained)

freels/table_migrator 219

Zero-downtime table migrations in MySQL

freels/inline_uploader 37

rack endpoint and handler for ajax uploads

freels/kestrel-client 34

Ruby client for the Kestrel queue server

freels/radiant-extensions 16

Various and sundry extensions written for Radiant CMS (http://radiantcms.org)

imownbey/twitter_sicp 15

A group excursion of twitter employees into computation via scheme

entombedvirus/cache_fu 10

Everyone's favorite memcached plugin for ActiveRecord.

freels/acts_as_continuable 9

Continuations in your ActionController actions.

freels/extractors 9

scala library for extracting case classes from collections

startedmicah5/ace-attorney-reddit-bot

started time in 4 hours

startededdyb/sobek

started time in 6 hours

PR opened fauna/vscode

DRV-390 Can’t run multi line queries

The issue here that the plugin support executing multiple queries by writing query per line or separate them using ; https://github.com/fauna/vscode/blob/master/src/fql.ts#L226

The fix is to remove \n as a query separator. the plugin still able to handle multiple queries with ; for example

Paginate(
  Collections()
);
Paginate(Indexes())
+4 -3

0 comment

1 changed file

pr created time in 6 hours

startedrhysd/vim-grammarous

started time in 14 hours

startedcauthmann/sled-typed

started time in 15 hours

PR opened fauna/vscode

fix: split queries properly

This PR allows a single query to span many lines, but multiple queries at once are still possible.

The parser is pretty simple. It looks for opening and closing parens/braces to know when a query ends. It also handles quote characters (" and ') to avoid false positives.

Test plan

const tests = [
  // One query on many lines
  `A(B("'", {
     c: C() 
   }))`,
  // Many queries on many lines
  `A(
    B('{'),
    {}
   )
   C()
   D()`,
  // Top-level object
  `{
     a: A(),
     b: B()
   }`
]

tests.forEach(code => {
  console.log('in:  %O', code)
  console.log('out: %O', splitQueries(code))
})
+39 -9

0 comment

1 changed file

pr created time in 4 days

startedxacrimon/flize

started time in 4 days

startedloiclec/fuzzcheck-rs

started time in 5 days

startedfuturice/terraform-examples

started time in 5 days

startedJordanKnott/taskcafe

started time in 5 days

startedvi/sledtool

started time in 6 days

startedpoteto/hiring-without-whiteboards

started time in 6 days

startedjgehrcke/covid-19-germany-gae

started time in 7 days

startedjuicedata/juicefs

started time in 8 days

fork Hoverbear/Mayastor

A cloud native declarative data plane in containers for containers

fork in 8 days

startednobiot/Zero-to-Emacs-and-Org-roam

started time in 10 days

startedmitsuhiko/indicatif

started time in 11 days

startedmfikes/goby

started time in 11 days

startedkennytilton/kennytilton.github.io

started time in 11 days

startedfreels/statsite

started time in 11 days

startedfreels/jamm

started time in 11 days

startedfreels/scalafmt

started time in 11 days

startedfreels/faunadb-rust

started time in 11 days

startedfreels/table_migrator

started time in 12 days

startedlocalstack/localstack

started time in 12 days

startednsriram/lambda-the-terraform-way

started time in 12 days

startedmjuenema/python-terrascript

started time in 12 days

startedbenavento/mac9p

started time in 12 days

startedryantimpe/brickr

started time in 13 days

startedtensorbase/tensorbase

started time in 13 days

more