This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| source ~/.bashrc_local | |
This file contains hidden or 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
| PATH=$PATH:/Users/utaal/Applications/bin | |
| if [ -f ~/.bashrc ]; then | |
| source ~/.bashrc | |
| fi |
OlderNewer