| Agent | Trigger Threshold | Compression Strategy | Auxiliary Model | Token Tracking |
|---|---|---|---|---|
| Phosphor | 80% (configurable) | LLM summary; optional embedded dlgo model | Yes — main, small, or embedded (dlgo) |
(chars + 3) / 4 estimate |
| Oh-My-Pi | 80% (configurable) | 3 strategies: context-full, handoff, snapcompact (bitmap images) | Optional handoff task | Model-aware token budget |
| Hermes-Agent | 50% (configurable) | Pluggable ContextEngine (lossy LLM summary default) | Yes (configurable auxiliary model/provider) | API-reported + rough char estimate |
| OpenCode | Budget-based (window - buffer) | Checkpoint (summary + serialized context) | No | Local estimate vs. reserved headroom |
| FROM alpine:3.3 | |
| MAINTAINER Tom Maiaroto <tom@outdoorsy.co> | |
| # Install packages | |
| RUN apk --update --repository http://dl-3.alpinelinux.org/alpine/edge/main add \ | |
| freetype-dev \ | |
| libjpeg-turbo-dev \ | |
| libpng-dev \ | |
| libwebp-dev \ | |
| php7 \ |
| # | |
| # A virtual host using mix of IP-, name-, and port-based configuration. | |
| # This is based on using Homebrew for OS X. You can use this in other | |
| # cases though, but you'll likely need to adjust some of the paths below. | |
| # | |
| server { | |
| # Replace this port with the right one for your requirements | |
| # listen 80 [default|default_server]; #could also be 1.2.3.4:80 |
| # Feel free to change this path of course (and keys_zone value as well, but also change the usage of it below). | |
| proxy_cache_path /var/www/cache/resized levels=1:2 keys_zone=resizedimages:10m max_size=1G; | |
| # Gzip was on in another conf file of mine...You may need to uncomment the next line. | |
| #gzip on; | |
| gzip_disable msie6; | |
| gzip_static on; | |
| gzip_comp_level 4; | |
| gzip_proxied any; | |
| # Again, be careful that you aren't overwriting some other setting from another config's http {} section. |
| // A handy map of US state codes to full names | |
| var usc = map[string]string{ | |
| "AL": "Alabama", | |
| "AK": "Alaska", | |
| "AZ": "Arizona", | |
| "AR": "Arkansas", | |
| "CA": "California", | |
| "CO": "Colorado", | |
| "CT": "Connecticut", |
http://amundsen.com/media-types/collection/examples/
This format takes into consideration collections (much like Siren). It also takes into consideration versioning. However, I'm not certain version matters in the data set if it pertains to an API version. That is best left being in the API URL. It could pertain to collection version, but I'm not sure the point. Documentation says each collection should have a version - but says nothing more about meaning or why.
Items are clearly distinct in this format and are organizationally positioned separate from links.
This is by far the most collision free structure.
However, the data format itself is a bit strange...Every field being an array. Data is always an array of objects. I understand the flexibility this presents and am not 100% against it. I just believe it's perhaps not needed as things could change based on the client application.
| module.exports = function(grunt) { | |
| require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
| grunt.initConfig({ | |
| shell: { | |
| options: { | |
| stdout: true | |
| }, | |
| server: { |
| 4r5e | |
| 5h1t | |
| 5hit | |
| a55 | |
| anal | |
| anus | |
| ar5e | |
| arrse | |
| arse | |
| ass |
| import * as Sequelize from "sequelize"; | |
| import uuidv1 = require("uuid/v4"); | |
| import { SequelizeModelStatic } from "./sequelize"; | |
| import * as pLimit from "p-limit"; | |
| import _ = require("lodash"); | |
| /** | |
| * Get generated SQL query from sequelize. Returns a promise that: | |
| * 1. Adds a hook that receives the prepared options from Sequelize | |
| * - Since hooks work on the whole model, |
| // Looks at User Agent to determine if IE and which version | |
| function GetIEVersion() { | |
| var sAgent = window.navigator.userAgent; | |
| var idx = sAgent.indexOf("MSIE"); | |
| var versionNumber = 0; | |
| // If IE, return version number. | |
| if (idx) { | |
| try { | |
| versionNumber = parseInt(sAgent.substring(idx+ 5, sAgent.indexOf(".", idx))); |