This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import markdown | |
import sys | |
option_defaults = { | |
'html_replacement_text' : '[HTML_REMOVED]', | |
'tab_length' : 4, | |
'enable_attributes' : True, | |
'smart_emphasis' : True, | |
'lazy_ol' : True, | |
'doc_tag' : 'document', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import json | |
import tempfile | |
import sys | |
import os | |
data = json.load(sys.stdin) | |
cols = [] | |
for item in data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.Research.Naiad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.Research.Naiad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Microsoft.Research.Naiad; | |
namespace DCModel | |
{ | |
public struct RenamedStruct : IEquatable<RenamedStruct> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:33:08.2490351, Graph 0 failed on scheduler 0 with exception: | |
System.NullReferenceException: Object reference not set to an instance of an object | |
at DCModel.RenamedStruct.GetHashCode () [0x00064] in /Users/utaal/Src/ETH/dsl/DCModel/states/trace/RenamedStruct.cs:45 | |
at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,DCModel.RenamedStruct) <IL 0x00008, 0x00018> | |
at Microsoft.Research.Naiad.Dataflow.Stage/<NewInput>c__AnonStorey0`2<DCModel.RenamedStruct, Microsoft.Research.Naiad.Dataflow.Epoch>.<>m__0 (DCModel.RenamedStruct[],int[],int) [0x00017] in /Users/utaal/Src/ETH/dsl/Naiad/Dataflow/Stage.cs:107 | |
at Microsoft.Research.Naiad.Dataflow.Channels.BufferingPostbox`2<DCModel.RenamedStruct, Microsoft.Research.Naiad.Dataflow.Epoch>.ComputeDestinations (Microsoft.Research.Naiad.Dataflow.Message`2<DCModel.RenamedStruct, Microsoft.Research.Naiad.Dataflow.Epoch>) [0x0005f] in /Users/utaal/Src/ETH/dsl/Naiad/Channels/MessageDelivery.cs:320 | |
at Microsoft.Research.Naiad.Dataflow.Channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macro iff { | |
rule { | |
($x:expr) { | |
$truebody | |
... | |
$truelast:expr | |
} els { | |
$falsebody | |
... | |
$falselast:expr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// run with: node --harmony experiment.js | |
var R = require('ramda'); | |
var PromiseScheduler = (function() { | |
function PromiseScheduler() { | |
this.nodes = {}; | |
} | |
PromiseScheduler.prototype.add = function(id, fetcher, dependencies) { | |
this.nodes[id] = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project/target/ | |
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[trace] Stack trace suppressed: run last macrosJS/compile:compileIncremental for the full output. | |
[trace] Stack trace suppressed: run last macrosJVM/compile:compileIncremental for the full output. | |
[error] (macrosJS/compile:compileIncremental) scala.meta.internal.hosts.scalac.converters.ConvertException: unexpected tree during scala.reflect -> scala.meta conversion: | |
[error] Import(Select(Ident(scala), scala.reflect), List(ImportSelector(TermName("NameTransformer"), 50, TermName("NameTransformer"), 50))) | |
[error] (PackageDef) package macros { import scala.reflect.NameTransformer; o... | |
[error] (PackageDef) package cats { package macros { import scala.reflect.N... | |
[error] (macrosJVM/compile:compileIncremental) scala.meta.internal.hosts.scalac.converters.ConvertException: unexpected tree during scala.reflect -> scala.meta conversion: | |
[error] Import(Select(Ident(scala), scala.reflect), List(ImportSelector(TermName("NameTransformer"), 50, TermName("NameTransformer"), 50))) | |
[error] (PackageDef) package macro |