Bill Hunt

Results 126 comments of Bill Hunt

As of Jekyll 3 (which is used by GitHub Pages), you'll need to change the workaround to use the new `layout` metadata instead of `page`. In `_includes/JB/setup` change the line...

The only issue here is that you need as much memory as you've got data. Considering how large our dataset is we're only going to get a benefit from pure...

Between the current documentation, and what I've written [here](http://krues8dr.com/blog/2016/08/01/what-i-wish-i-had-known-about-decoding-the-law/) I think most of this is covered. I'll add a link to my blog post from the main documentation; otherwise, do...

I only copied over the important bits from the DC Code branch, which were actually really simple. Then I juggled the error handling a bit and added a new requirement...

This probably could do with some testing - I plan tomorrow to use our generated JSON files to see if this will work as expected.

(@waldoj no worries. As an aside, I'm generally only closing things that I know that you've already looked at, or that I generally feel don't really need any looking over....

Ugh. I just wasted the entire morning trying to get this to actually run on our exported JSON files, but the format of those seems to be very different from...

For future reference: for test files, I just ran our xml files through https://github.com/hay/xml2json ``` ls ./import-data/ | xargs -I {} python ~/Downloads/xml2json-master/xml2json.py -t xml2json ./import-data/{} -o ./json/{}.json ``` and...

... which means that a lot of this relies on `SimpleXMLElements`, which don't _actually_ act like standard `StdClass`es. The normal `json_decode(json_encode($obj))` isn't working to swap types here, so I'm trying...

"SimpleXMLElement::children() returns a node object no matter if the current node has children or not." http://php.net/manual/en/simplexmlelement.children.php :rage: