// from the flitter/orm project - src/proxy/model/LimitProxy.js/** * @module flitter-orm/src/proxy/model/LimitProxy */const ModelProxy = require('./ModelProxy')/** * Proxy that limits the number of records in the reference's result set. * @extends module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy */class LimitProxy extends ModelProxy {  /**   * Instantiate the proxy   * @param {module:flitter-orm/src/model/Model~Model|module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy} model - proxy ref   * @param {number} limit - the number to limit to   * @param {module:flitter-orm/src/model/CursorBuilder~CursorBuilder} [builder] - optionally, the cursor builder to use   */  constructor(model, limit, builder = undefined) {    super(model, builder)    this._limit = limit    this.builder.limit(limit)  }}module.exports = exports = LimitProxy// from the flitter/orm project - src/proxy/model/LimitProxy.js/** * @module flitter-orm/src/proxy/model/LimitProxy */const ModelProxy = require('./ModelProxy')/** * Proxy that limits the number of records in the reference's result set. * @extends module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy */class LimitProxy extends ModelProxy {  /**   * Instantiate the proxy   * @param {module:flitter-orm/src/model/Model~Model|module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy} model - proxy ref   * @param {number} limit - the number to limit to   * @param {module:flitter-orm/src/model/CursorBuilder~CursorBuilder} [builder] - optionally, the cursor builder to use   */  constructor(model, limit, builder = undefined) {    super(model, builder)    this._limit = limit    this.builder.limit(limit)  }}module.exports = exports = LimitProxy// from the flitter/orm project - src/proxy/model/LimitProxy.js/** * @module flitter-orm/src/proxy/model/LimitProxy */const ModelProxy = require('./ModelProxy')/** * Proxy that limits the number of records in the reference's result set. * @extends module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy */class LimitProxy extends ModelProxy {  /**   * Instantiate the proxy   * @param {module:flitter-orm/src/model/Model~Model|module:flitter-orm/src/proxy/model/ModelProxy~ModelProxy} model - proxy ref   * @param {number} limit - the number to limit to   * @param {module:flitter-orm/src/model/CursorBuilder~CursorBuilder} [builder] - optionally, the cursor builder to use   */  constructor(model, limit, builder = undefined) {    super(model, builder)    this._limit = limit    this.builder.limit(limit)  }}module.exports = exports = LimitProxy

Hi, there.

My name is Garrett.

I'm a speaker, developer, and designer.

Hi, there.

My name is Garrett.

I'm a speaker, developer, and designer.

about me

Hi! My name is Garrett. Welcome to my little corner of the internet. I'm a self-taught developer and tech-nerd. I create software that I hope makes people's lives better. I created the Flitter web framework, and a couple other fun projects. I love to communicate my work, and help others pursue their projects, which is why I've got a long history of sharing about my passion. I write blog posts, create video tutorials, hold talks, and publish code from my projects in the hope that others will find it useful.

A bit more background: I grew up in the rural mid-west, so I taught myself everything I know. I'm a big fan of learning to code this way. I'm currently studying computer science at the University of Kansas.

about me

Hi! My name is Garrett. Welcome to my little corner of the internet. I'm a self-taught developer and tech-nerd. I create software that I hope makes people's lives better. I created the Flitter web framework, and a couple other fun projects. I love to communicate my work, and help others pursue their projects, which is why I've got a long history of sharing about my passion. I write blog posts, create video tutorials, hold talks, and publish code from my projects in the hope that others will find it useful.

A bit more background: I grew up in the rural mid-west, so I taught myself everything I know. I'm a big fan of learning to code this way. I'm currently studying computer science at the University of Kansas.

get in touch

I'd love to hear from you if you have questions or inquiries related to me or my projects. You can get in touch by text, e-mail, or using this form. I also tweet sometimes, and share thoughts on my blog.

E-Mail: garrett@glmdev.tech
Phone: (913) 730-7124

I'd love to hear from you if you have questions or inquiries related to me or my projects. You can get in touch by text, e-mail, or using this form. I also tweet sometimes, and share thoughts on my blog.

E-Mail: garrett@glmdev.tech
Phone: (913) 730-7124

what I've been up to

Side Project

Side Project

Connect-4 Webtoy

I've built a simple Connect-4 webtoy as a project for EECS 368 at the University of Kansas. You can play with it here.

4/8/2020, 2:20:25 PM

Blog Post

Blog Post

Code Freedom with Gitea & Drone - Part I

In my never-ending quest to self-host all the things, I've deployed a combination of Gitea and Drone CI for a feature-for-feature, self-hosted alternative to GitHub. Here's how.

3/7/2020, 5:10:49 AM

HackKU 2020

HackKU 2020

Noded - Free-Form Notes & Databases

I recently attended the annual University of Kansas hackathon, where me and a couple friends built Noded.

Noded is a tree-based note taking app based on reusable page elements. It provides support for basic notes, uploaded files, a built-in code editor, customizable databases, static website exports, and sub-tree sharing. Check it out here.

2/25/2020, 1:28:06 AM

Code Release

Code Release

flitter-di@0.1

Flitter-DI is the second-generation dependency-injector used by the Flitter framework. It was pulled from the libflitter project in the hope that it can remain independent from the rest of Flitter and can be used in other projects. More info here.

12/19/2019, 9:19:39 PM

Blog Post

Blog Post

Dependency Injection in Less Than 100 Lines of Pure JavaScript

DI is a powerful pattern for segmenting code to keep it efficient and easy to reuse. In this article, we're going to build a basic DI in <100 lines of pure ES6. Read about it here.

11/16/2019, 7:18:49 PM

Blog Post

Blog Post

A New Platform - My Relentless Pursuit of Privacy

I've finally moved the home of my blog from Medium.com over to a self-hosted Hexo blog. Why? Read more here.

11/15/2019, 7:49:14 AM

Code Release

Code Release

flitter-auth@0.13

This release of Flitter's auth provider brings an OAuth2 server, OAuth2 client, and refinements to the login flow structure. More details here.

11/1/2019, 4:19:46 PM

Speaking

Speaking

Computing in the Kubernetes Framework

Recently I had the pleasure of presenting at the University of Kansas' Center for Research Methods and Data Analysis Weekly Colloquium. You can find resources from my talk on using k8s for scientific computing here.

11/1/2019, 3:49:18 PM

Blog Post

Blog Post

Building a Raspberry Pi Cluster - Part 3

In the third installment of my miniature-HPC series, we discuss OpenMPI, Python3, and running parallel jobs. Read more here.

11/1/2019, 3:46:47 PM

Garrett Mills
Copyright © 2020 Garrett Mills