Skip to content

Instantly share code, notes, and snippets.

View IainNZ's full-sized avatar

Iain Dunning IainNZ

View GitHub Profile
pmedian
elapsed time: 0.074902602 seconds
Warning, MPS does not support maximization sense. Flipping objective coefficients.
elapsed time: 0.37340717 seconds
numLoc 1000 buildTime 0.075 writeTime 0.373 totalTime 0.448 MPS
elapsed time: 0.075964869 seconds
Warning, MPS does not support maximization sense. Flipping objective coefficients.
elapsed time: 0.3107861 seconds
numLoc 1000 buildTime 0.076 writeTime 0.311 totalTime 0.387 MPS
@IainNZ
IainNZ / gist:2f32bbf96b5d595ee0fe
Last active August 29, 2015 14:01
[PackageEvaluator.jl] Your package DataFrames may have a testing issue.

This issue is being filed by a script, but if you reply, I will see it.

PackageEvaluator.jl is a script that runs nightly. It attempts to load all Julia packages and run their test (if available) on both the stable version of Julia (0.2) and the nightly build of the unstable version (0.3).

The results of this script are used to generate a package listing enhanced with testing results.

The status of this package, DataFrames, on...

# solver.jl
module Solver
export solve
function solve_sub()
y = rand(1000,1000)
for busy = 1:100
y *= 10
y /= 10
{
"metadata": {
"name": "What is multiple dispatch?"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@IainNZ
IainNZ / julep2.md
Last active December 20, 2015 06:29
Julep 2: Package Requirements and Quality Standards
@IainNZ
IainNZ / raytracer.jl
Last active September 17, 2019 06:56
Raytracer in Julia
const delta = sqrt(eps(Float64))
immutable Vec
x::Float64
y::Float64
z::Float64
end
+(a::Vec, b::Vec) = Vec(a.x+b.x, a.y+b.y, a.z+b.z)
-(a::Vec, b::Vec) = Vec(a.x-b.x, a.y-b.y, a.z-b.z)
*(a::Float64, b::Vec) = Vec(a*b.x, a*b.y, a*b.z)