Let's say you have implemented a small data pipeline library to replace LINQ.
module TrivialStream =
type Receiver<'T> = 'T -> unit
type Stream<'T> = Receiver<'T> -> unit
module Details =
using System; | |
using MathNet.Numerics.LinearAlgebra.Double; | |
using MathNet.Numerics.LinearAlgebra.Double.Factorization; | |
namespace PolyRegressionCoefficients | |
{ | |
class Program | |
{ | |
public static void DrawRegression(double[] coeffs, double[] xList) |
unsafe private static void ShowAddress(string name, int[] item) | |
{ | |
fixed (int* addr = item) | |
{ | |
Console.Write($"\t0x{(ulong)addr:X}"); | |
} | |
} |
# coding: utf8 | |
import tushare as ts | |
import pandas as pd | |
def calcOneMinuteBar(): | |
# data_frame = pd.read_csv('AUDJPY-2016-01.csv', names=['Symbol', 'Date_Time', 'Bid', 'Ask'], | |
# index_col=1, parse_dates=True) | |
df = ts.get_tick_data('002743', date='2016-10-28') | |
# df.tail(10) |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.
:
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
using Microsoft.Diagnostics.Tracing; | |
using Microsoft.Diagnostics.Tracing.Session; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Threading; | |
namespace ClrDacManaged | |
{ | |
class Program |