profile
viewpoint
Dominic Tarr dominictarr LeastAuthority New Zealand https://dominictarr.com antipodean wandering albatross

creationix/dukluv 252

LibUV bindings for duktape JS engine

deanlandolt/bytewise 110

Binary serialization of arbitrarily complex structures that sort bytewise

dawsbot/config-chain 96

Handle configuration once and for all

depject/depject 90

simplest dependency injection

bentomas/node-async-testing 61

A Node.js test runner for testing asynchronous code

dominictarr/adiff 56

diff and patch operations on arrays.

dominictarr/assertions 9

loads of useful assertion functions

issue commentdominictarr/stack-expression

I'm confused about RESCURSE internals

recurse now works totally differently. instead you pass a function, which is called with a reference to it self.

for example, this parser accepts any number of nested ()

Recurse(function (value) {
  return Maybe(And('(', value, ')'))
})
nrkn

comment created time in 12 hours

push eventdominictarr/stack-expression

Dominic

commit sha aa4fd7795a3e00e36f3d17e576f08b668980805a

markdown code block language

view details

push time in 19 hours

push eventdominictarr/stack-expression

Dominic

commit sha 9a9f3aa01a5922f2d13b81b0ff07e9db778a692e

rewrite with less allocations

view details

Dominic

commit sha 30e106d1145ff992db56a5f86907890421d8202e

update tests

view details

Dominic

commit sha a68739d9d5f6497f3d3eb23ffa0090339bc38d52

update tests

view details

Dominic

commit sha cc349fa51597ed1ded13c0a83fef57b7fa6e61c2

wasn't testing peek, so rename

view details

Dominic

commit sha dcfe2e1bf9a2e3857dcac034845fe1d2757f28e0

rewrite recurse to make it look more like what it does

view details

Dominic

commit sha 34e3430c653a4139b0e5d74b26885f5268cb2636

much nicer explain.md

view details

Dominic

commit sha 0489ec2a626ba8535e28208c69e485677a15be1b

fix typo in explain

view details

Dominic

commit sha 2e6efc2744b8d3527d08253a1f7bdae60caf77ce

port changes from explain into index.js

view details

Dominic

commit sha 809687a833c79cb02679cf7dfdec94606675837e

remove unused functions

view details

Dominic

commit sha e37dc8225cf446f389258625282834ee95dd31fc

rewrite RECURSE

view details

Dominic

commit sha 2a7fb515aee4586cd3faed3380dd18d6b5e97340

decided to change to Capital case

view details

Dominic

commit sha 409c3d75c7517e49ad2c8c615d8db94838eb0bef

change that was CAPSLOCK to Capitalized

view details

Dominic

commit sha 7412202128ec90edfb734e9bb5fc0449da2909ae

rewrite docs

view details

Dominic

commit sha 833a1133dbd114692388ab766037e38d1430c6f0

2.0.0

view details

push time in 20 hours

fork dominictarr/gsn-1

GSN v2 - Ethereum Gas Station Network

https://opengsn.org/

fork in 5 days

issue openedxibyte/jsketcher

weird constraints on sketcher

first I gotta say, I love the 2d sketcher! it's very intuitive!

I was able to find some weird behaviors though, making arcs, joining them with tangential lines (making the shape of a door on my boat) then moving things around, sometimes the circles go inside out...

inside-out

I can think of ways to solve the problem but not with the currently available constraints. such a constraint that the center point always be between two bounding lines.

created time in a month

issue openedxibyte/jsketcher

cannot subtract torus from aligned cylinder

I am trying to create a cylinder with a groove in the outside. I think I have found a bug. If the torus is around the cylinder, and I try to subtract the torus from the cylinder, it doesn't subtract anything. but if the torus is off center by even 0.1 then it does work.

here is the downloaded json (github wouldn't allow me to attach it)

{
"model":
{"history":[{"type":"TORUS","params":{"radius":250,"tube":50}},{"type":"CYLINDER","params":{"radius":100,"height":250}},{"type":"SUBTRACT","params":{"operandA":"S:1","operandB":"S:0"}},{"type":"DATUM_CREATE","params":{"x":"0","y":"0","z":"0"}},{"type":"DATUM_MOVE","params":{"datum":"D:0","x":"0","y":"30","z":"0.1","copy":false}},{"type":"DATUM_ROTATE","params":{"datum":"D:1","axis":"X","angle":"90"}},{"type":"TORUS","params":{"datum":"D:2","radius":"100","tube":"20"}},{"type":"SUBTRACT","params":{"operandA":"S:2","operandB":"S:3"}}],"expressions":""},
 "sketches": []
}

I couldn't see if there was a way to import a file, but I did manage to set this to localStorage (by taking the model property) and then open it in a new tab.

It looks like there is an extra datum in there? is it that the datum rotate is always a copy? I was getting some "datum does not exist" problems when messing around trying to get this to work.

created time in a month

issue openedxibyte/jsketcher

can't figure out how to revolve

I managed to use extrude and loft, but I can't figure out how to make revolve work. I tried to make a torus. I created a plane and drew a circle on it. I could see that I needed to select two things. I clicked on my circle and it seemed to take it, but then for axis I tried to click a datum pointer that was parallel to the face of the circle... but it wouldn't fill the "axis" slot.

then I tried drawing another circle, on a perpendicular plane, this did select as the "axis" but nothing happened.

I don't know what I'm doing wrong, the software looks really good! I can't figure out how it works.

created time in a month

push eventpatchless/patchcompose-mentioned-recipients

Dominic

commit sha f8d31a63c603a8e09218e361de56698b9d8b1c63

flip filter logic

view details

Dominic

commit sha dc509c9f9ad8bc374934139c0273fb5814bc9fb5

1.0.3

view details

push time in 3 months

more