Re: [julia-users] Options for constructing a 3D surface from a point cloud

2016-02-20 Thread Steve Kelly
Do you have a sample dataset? The algorithms for triangulating a signed distance field can be found in Meshing.jl. I implemented Marching Cubes recently and started Marching Squares today, but have yet to tag a release because I need to settle on an API. I currently am working on solid modeling vi

Re: [julia-users] Re: how to run julia without the llvm jit

2016-02-10 Thread Steve Kelly
Jameson, this is really great. I think many of us have been nibbling around the edges of the compiler for a long time and this will give us a great boost to make more integrations happen! I have a question regarding generated functions. It seems to me the claim that generated functions are black b

Re: [julia-users] Using Dot Syntax in Julia

2016-01-17 Thread Steve Kelly
It has always been this way because of multiple dispatch. However you can do something like: type Wallet dotTest::Function end Which might have ambiguous performance impact. On Jan 17, 2016 12:45 PM, "Bryan Rivera" wrote: > I have seen some code out in the wild that allows us to use dot synta

Re: [julia-users] Re: ANN: Kip.jl an alternative module system

2015-12-20 Thread Steve Kelly
I've been using NixOS the past month to try and gain some perspective on this problem. Their approach is very good, and I recommend reading the white papers and source notes. On Dec 20, 2015 10:05 AM, "Tom Breloff" wrote: > My reaction is the same as Tim Holy's. While I agree there are aspects o

Re: [julia-users] Re: Ray tracing for complex geometry

2015-11-23 Thread Steve Kelly
I think most of the people working on mesh related geometry are doing it part-time and building these libraries is part of the learning experience. Asking questions is important, since it is the only way to gain insight. If you have more questions about Meshes, I'd be happy to help on the github bu

Re: [julia-users] Ray tracing for complex geometry

2015-11-20 Thread Steve Kelly
How is your geometry defined? If it is an implicit function, ShaderToy.jl (built on GLVisualize) has a raymarching example. https://github.com/SimonDanisch/ShaderToy.jl/blob/master/examples/rayprimitive.frag The method can be generalized to generating distance fields, but I haven't gotten to it ye

Re: [julia-users] Google releases TensorFlow as open source

2015-11-10 Thread Steve Kelly
FWIW I think this may be the C API: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/public/tensor_c_api.h On Nov 10, 2015 11:05 AM, "Stefan Karpinski" wrote: > Time for a JuliaML org? > > On Tuesday, November 10, 2015, Tom Breloff wrote: > >> I'm interested as well. Who wan

Re: [julia-users] Using Meshes.ji

2015-11-09 Thread Steve Kelly
The faces can be accessed with faces(load("foo.obj")) or mesh.faces. Probably the easiest way to display the mesh at this point is with ThreeJS.jl: https://github.com/rohitvarkey/ThreeJS.jl/blob/master/examples/mesh.jl. This approach should work in IJulia and Blink. GLVisualize has some good demo

Re: [julia-users] Re: Anaconda Python

2015-11-02 Thread Steve Kelly
Conda.jl is a community contribution as a package, not part of the core language. Likewise it is not strictly required. It does make using PyCall significantly more convenient. Maybe you might consider making a Pip.jl package that does something similar? On Mon, Nov 2, 2015 at 4:18 PM, wrote: >

Re: [julia-users] Anaconda Python

2015-11-02 Thread Steve Kelly
The context is not clear. Is this regarding Conda.jl? On Mon, Nov 2, 2015 at 4:00 PM, wrote: > > I don't think you should support Anaconda Python. I realize it is > convenient. Providing a sort of private copy of Python and its packages > makes sense. It simplifies installation and maintenan

Re: [julia-users] Travis build failing

2015-10-02 Thread Steve Kelly
Looks like it is reported: https://github.com/JuliaLang/julia/issues/13399 On Oct 2, 2015 7:07 PM, "Júlio Hoffimann" wrote: > Hi, > > All my packages are failing the build on Travis/Linux even though I didn't > touch the code recently. The build on Travis/Mac is working. > > For instance: https:

Re: [julia-users] Re: [ANN] FixedSizeArrays

2015-09-05 Thread Steve Kelly
It is 0.4 only so you can't add it from 0.3. On Sat, Sep 5, 2015 at 7:06 PM, David P. Sanders wrote: > > > El sábado, 5 de septiembre de 2015, 22:09:20 (UTC+1), Simon Danisch > escribió: >> >> Hi everyone, >> >> FixedSizeArrays offers >> an abs

Re: [julia-users] Julia will always be open source

2015-05-09 Thread Steve Kelly
Could Julia Computing be a way to sponsor the core team to do full-time development? How is it going to work when there are consulting jobs that bring in revenue, yet take time away from core development? On Sat, May 9, 2015 at 4:20 PM, Viral Shah wrote: > Hello all, > > You may have seen today’

Re: [julia-users] [ANN] JuliaIO and FileIO

2015-04-04 Thread Steve Kelly
Simon, I think this is a great idea! However I am kind of confused with the separation of interface here. Is the idea that FileIO.jl will have definitions for each package? I think the power of the Require.jl package is that packages can define their own interface. For example Meshes.jl can have

Re: [julia-users] Julia on Raspberry Pi 2

2015-02-14 Thread Steve Kelly
Sto, I got Julia running on a BeagleBone Black running Debian Jessie a couple months back using this process: https://github.com/JuliaLang/julia/blob/master/README.arm.md. It depends on a few system libraries to run, so I needed to update from Wheezy to Jessie so it would work. I think some improv

[julia-users] ANN: Clipper.jl

2015-02-12 Thread Steve Kelly
Julians, The past few months we have been working on using Cxx.jl to wrap Clipper ( http://www.angusj.com/delphi/clipper.php ) for polygon and polyline set operations and offsetting. We have been testing it with our path planning software (written in Julia) and the results are really exciting. The

Re: [julia-users] Re: why does in(x,y) not follow the usual semantics of built-ins?

2015-01-11 Thread Steve Kelly
The contains method also has the arg order switched. On Jan 11, 2015 5:28 PM, "Stefan Karpinski" wrote: > We also, when it makes linguistic sense tend to have the order > verb(subj,obj). The in operator is a case of this. > > > > On Jan 11, 2015, at 8:10 PM, Steven G. Johnson > wrote: > > > > Fo

Re: [julia-users] very rough sketch of future release targets

2014-12-20 Thread Steve Kelly
I think the closest thing is the GitHub milestones: https://github.com/julialang/julia/milestones On Sat, Dec 20, 2014 at 7:40 PM, ivo welch wrote: > > is there a (living) document that sketches rough planned release target > dates and release features? note I did not call them "schedule." >

Re: [julia-users] Rust and Julia - Together? Advice

2014-12-17 Thread Steve Kelly
I am currently building a path planner for 3D printers in Julia. We are also using a ZeroMQ interface to separate the web interface from the path planner. This is working very well for us now. We will also be using JuliaBox for packaging our application. On Wed, Dec 17, 2014 at 8:05 PM, Eric Forgy

Re: [julia-users] Re: Displaying a polygon mesh

2014-11-11 Thread Steve Kelly
If you pull from master you should be able to just use threejs in IJulia: https://baconscript.github.io/Meshes.jl/ On Tue, Nov 11, 2014 at 3:13 PM, Tracy Wadleigh wrote: > When developing Meshes.jl, I would dump a PLY (which, unlike STL, > preserves topology) and view it with meshlab >

Re: [julia-users] Re: PSA: Choosing between Julia 0.3 vs Julia 0.4

2014-09-26 Thread Steve Kelly
This is how I set up my environment to stay involved: julia -> master julia3 -> release-0.3 julia4on3-> use 0.4 packages on julia3 (this is helpful since I like to develop in the v0.4 directory) julia-multi -> run something with 0.4 packages on julia and julia3 (I normally only use this with 'juli

Re: [julia-users] Re: PSA: Choosing between Julia 0.3 vs Julia 0.4

2014-09-25 Thread Steve Kelly
Case and point: https://github.com/JuliaLang/julia/commit/2ef8d31b6b05ed0a8934c7a13f6490939a30b24b :) On Thu, Sep 25, 2014 at 11:46 PM, Isaiah Norton wrote: > Checking out the release branch is fine; the 0.3.1 tag is on that branch. > > On Thu, Sep 25, 2014 at 11:12 PM, John Myles White < > joh

Re: [julia-users] Re: new REPL

2014-09-22 Thread Steve Kelly
The prompt is defined here: https://github.com/JuliaLang/julia/blob/2eee58701052caf6b6927604732e197b1054ac7b/base/REPL.jl#L191 I was looking into it so I could number lines for my SaveREPL.jl package, but it looked like a lot of refactoring. On Mon, Sep 22, 2014 at 10:10 PM, cdm wrote: > > i su

Re: [julia-users] Faster than CGAL!

2014-09-17 Thread Steve Kelly
Your analysis was excellent and informative, thanks for sharing! I have noticed similar performance qualities with the greiner-hormann clipping algorithm. On Wed, Sep 17, 2014 at 1:03 PM, Toivo Henningsson wrote: > Nice! >

Re: [julia-users] Re: C Global Structs

2014-09-15 Thread Steve Kelly
coverage is enabled :) > > On Mon, Sep 15, 2014 at 9:30 PM, Steve Kelly wrote: > >> This works excellent, thank you both! >> >> Do you think this would be useful to have these user-facing in Base? >> >> On Mon, Sep 15, 2014 at 12:46 PM, Jake Bolews

Re: [julia-users] Re: C Global Structs

2014-09-15 Thread Steve Kelly
Opts(Ptr{Int8} @0x,0,0,0,0,0,1) > > On Monday, September 15, 2014 12:30:48 PM UTC-4, Steve Kelly wrote: >> >> I'd like to see if Julia is running in code-coverage mode or not. >> >> In the REPL I can do the following: >> >> julia>

[julia-users] C Global Structs

2014-09-15 Thread Steve Kelly
I'd like to see if Julia is running in code-coverage mode or not. In the REPL I can do the following: julia> a = cglobal(:(jl_compileropts)) Ptr{Void} @0x7fa3e01bbc90 The struct is defined like so: https://github.com/JuliaLang/julia/blob/aab2c6e67b5aaee7f23bc5a52897f7219473c153/src/julia.h#

Re: [julia-users] Re: BeagleBone Black

2014-09-11 Thread Steve Kelly
Okay I am on GCC 4.9. I will try to get the build running on Wheezy as well. On Thu, Sep 11, 2014 at 12:02 PM, Viral Shah wrote: > I am using GCC 4.8 and building LLVM 3.5 as part of the build. > > -viral > On 11 Sep 2014 21:21, "Steve Kelly" wrote: > >> Viral,

Re: [julia-users] Re: BeagleBone Black

2014-09-11 Thread Steve Kelly
rsday, September 4, 2014 11:14:18 AM UTC+5:30, Steve Kelly wrote: >> >> I can confirm the arm-make3 branch does not build on the BBB. My company >> is interested in getting Julia on ARM. I think the biggest issue is that >> ubiquitous ARM devices are poor for building sof

Re: [julia-users] Re: BeagleBone Black

2014-09-03 Thread Steve Kelly
I can confirm the arm-make3 branch does not build on the BBB. My company is interested in getting Julia on ARM. I think the biggest issue is that ubiquitous ARM devices are poor for building software quickly. Also with Red Hat and possibly Amazon entering the ARM server space this will become more

Re: [julia-users] Re: Conditional import within a function

2014-08-22 Thread Steve Kelly
Main conflicts with an existing > identifier. > > julia> plot_err(a) > ERROR: plot not defined > in plot_err at none:20 > > In another session to see plot_eval(a): > > julia> plot_eval(a) > INFO: Loading help data... > Warning: using PyPlot.plot in module Main con

Re: [julia-users] Re: Conditional import within a function

2014-08-22 Thread Steve Kelly
Peter Simon, very cool. When I ran hit this problem I saw it as an opportunity to make my code more Julian. :P Eval FTW. On Fri, Aug 22, 2014 at 12:16 PM, Peter Simon wrote: > From https://groups.google.com/d/topic/julia-users/AWCerAdDLQo/discussion > : > > eval(Expr(:using,:PyPlot)) > > can b

Re: [julia-users] Conditional import within a function

2014-08-22 Thread Steve Kelly
What I've been doing is very similar. I leave the plotting package up to the user, but they are first required to do one of: using PyPlot or using Gadfly inside their script. I then have a function similar to yours (named plot(x::MyType), to take advantage of multiple dispatch) that checks for isd

Re: [julia-users] Re: Clipping Algorithm

2014-08-14 Thread Steve Kelly
two very nice packages (namely Color.jl and > Meshes.jl), without a lot of unnecessary conversions. > > I'm very well aware, that not everyone wants to put the extra effort into > developing in OpenCL. > That's why I wrote: "lets start with julia and add OpenCL later&q

Re: [julia-users] Re: Clipping Algorithm

2014-08-14 Thread Steve Kelly
I implemented the Greiner-Hormann algorithm for clipping and Hormann-Agathos algorithm for point-in-polygon here: https://github.com/sjkelly/PolygonClipping.jl I made a specialized implementation for generating infill for 3D printing paths. I am currently working on merging this package with Geome

Re: [julia-users] Type Expr Construction

2014-08-06 Thread Steve Kelly
>> >> Probably a bug in dump: >> >> julia> a.args[2].args >> 2-element Array{Any,1}: >> :FooBar >> :(T<:Number) >> >> julia> a.args[3].args >> 4-element Array{Any,1}: >> :( # line 2:) >> :(a::T) >> :( # line 3:)

[julia-users] Type Expr Construction

2014-08-06 Thread Steve Kelly
Julians, I have a question about the construction of the type Expr. I would like to create a macro to generate types. julia> a = :(type FooBar{T<:Number} a::T b::T end) :(type FooBar{T<:Number} # line 2:

Re: [julia-users] Pitching Julia to company. IJulia live slideshow mode?

2014-07-28 Thread Steve Kelly
+1 for what Stefan said. In addition if it is a small and keen audience, when someone asks a question you can easily add examples. On Mon, Jul 28, 2014 at 4:05 PM, Daniel Jones wrote: > > It's a little hidden, but from the notebook you change the “Cell Toolbar” > option at the top to “Slideshow

Re: [julia-users] Re: Help needed, running slow

2014-07-24 Thread Steve Kelly
In my package tests I normally run Lint.jl as the last thing with... # run lint println("Running Lint...") lintpkg("MyPkg") Maybe it would help if we put Lint into the default REQUIRE in package generation and the above lines into test/runtests.jl? On Thu, Jul 24, 2014 at 12:54 PM, John Myles

Re: [julia-users] Static Analysis in Julia talk

2014-07-21 Thread Steve Kelly
This was excellent and informative. Thanks for sharing! On Mon, Jul 21, 2014 at 6:19 PM, Leah Hanson wrote: > I've spoken twice about TypeCheck.jl in the past couple of weeks (at > JuliaCon and Midwest.io). The Midwest.io talk has been posted: > https://www.youtube.com/watch?v=mL1Ow03G8tk&featu

Re: [julia-users] ++ as string concatenation operator

2014-07-21 Thread Steve Kelly
I think the issue is that ++ is not an operator in julia. On Mon, Jul 21, 2014 at 5:51 PM, Hans W Borchers wrote: > I was interested to define "++" as operator for concatenating strings. I > can define "+" for this purpose, but for "++" I get > > julia> function ++(x::String, y::String) >

Re: [julia-users] Pass Keyword Argument Dictionary

2014-06-18 Thread Steve Kelly
; >> >> You need the `...` to splice the varargs into the function call, and you >> need to put them after the `;` in the call to make the keyword arguments >> (rather than normal varargs). >> >> -- Leah >> >> >> >> On Wed, Jun 18, 2014

[julia-users] Pass Keyword Argument Dictionary

2014-06-18 Thread Steve Kelly
I have the following code that takes some keywords and does some operations. This is for a wrapper for Gcode (talking to 3D printers), so I'd like to specify an arbitrary axis to control. Below is what I would like to do. function print_args(;args...) > # do some formatting > str = "" >

Re: [julia-users] Compilation to hardware (ASICs)

2014-05-29 Thread Steve Kelly
I am currently working on a path planner for 3D printing written in Julia. I also am going to be working on solid modeling with Julia scripts and functional representation for my undergraduate thesis. So maybe we can meet half way :) On Thu, May 29, 2014 at 6:00 PM, Matt Bauman wrote: > It seems

Re: [julia-users] What's with the Nothing type?

2014-05-24 Thread Steve Kelly
I've done some quick experiments with None and Nothing, and I am seeing nearly identical performance and memory allocation. It seems 'Nothing' is more idiomatic Julia considering the role it plays in function return. Another insight I would like to add is the role it plays in type unions. In the R

Re: [julia-users] Re: Clipping Algorithm

2014-05-12 Thread Steve Kelly
11:13:06 PM UTC+2, Steve Kelly wrote: >> >> I am going to be developing some software for 3D printing. For path >> planning, we will need to use the clipping algorithm. >> >> Graphics.jl mentions a clip function. >> https://github.com/JuliaLang/julia/blo

[julia-users] Clipping Algorithm

2014-05-09 Thread Steve Kelly
I am going to be developing some software for 3D printing. For path planning, we will need to use the clipping algorithm. Graphics.jl mentions a clip function. https://github.com/JuliaLang/julia/blob/master/base/graphics.jl Cairo.jl uses the C implementation in Cairo. I would like to implement