------ Added modules - MINOR ------
Element.Keyed
------ Changes to module Element - MINOR ------
Added:
------ Added modules - MINOR ------
Element.Keyed
------ Changes to module Element - MINOR ------
Added:
| -- A Color Palette is a record that tracks | |
| -- border, text and background color | |
| primary = | |
| Style.Color.palette | |
| { border = Color.blue | |
| , text = Color.red | |
| , background = Color.white | |
| } |
| ---------------------- | |
| --Curve.Path.elm | |
| -------------------------------- | |
| -- This module is meant to be a complete interface | |
| -- constructors would be exposed as functions. | |
| type Path | |
| = Path (List Curve) | |
| | Closed (List Curve) | |
| # This is a dictionary for the file-type information when | |
| # building the manifest entries in the OPF. | |
| entry_dict = ({"xhtml": 'application/xhtml+xml', | |
| "html": 'application/xhtml+xml', | |
| "css": 'text/css', | |
| "png": 'image/png', | |
| "jpg": 'image/jpeg', | |
| "jpeg": 'image/jpeg', | |
| "tiff": 'image/tiff', | |
| "gif": 'image/gif', |
First off, disclaimer: this is an experiment :) I present some of these ideas in an opinionated way, but I realize there may be a lot of cases I'm not accounting for and probably a good number. Also who knows if this approach ultimately makes sense! Huray experimentation!
I believe there are a few reasons that css is irritating.
| // LDA Model | |
| { | |
| "kind": "lda", | |
| "signature": "H9fdnifsd89" // A unique identifier for a given lda model. Could be a hash of num topics ++ input data | |
| "tokenCache": ["word","in","cache"] // A token id is its index in the list. This might make more sense as a record. | |
| "topics": { 1 : {1:431,2:32} // a where key == token id, and value == word count. Though it might make sense to normalize them before storing the lda. | |
| , 2 : {1:32,2:0} | |
| , "emailBackgroundNoise" : {1:32,2:0} | |
| , "twitterBackgroundNoise" : {1:32,2:0} |
| import Style exposing (..) | |
| import Style.Elements exposing (..) | |
| baseText : Style.Text | |
| baseText = | |
| { font = "georgia" | |
| , size = 16 | |
| , characterOffset = Nothing |
| docker-machine create --driver virtualbox my-docker-machine | |
| # focus on new machine | |
| eval $(docker-machine env my-docker-machine) | |
| # Run docker and drop into a bash session | |
| docker run -it my-docker-image /bin/bash |