Re: [julia-users] Re: ANN: SimpleTraits.jl

2016-09-17 Thread Eric Forgy
Thanks Mauro and Tim. This looks really clever +1

[julia-users] Re: electron framework / javascript / LLVM / Julia numerics?

2016-09-17 Thread Eric Forgy
Here is an old issue where some thoughts were discussed. I remain hopeful this will be possible someday in the not-too-distant future: https://github.com/JuliaLang/julia/issues/9430

Re: [julia-users] Website issue

2016-08-15 Thread Eric Forgy
Would be nice if julialang.org were hosted on a Julia server. Just saying :) On Monday, August 15, 2016 at 10:53:33 PM UTC+8, Stefan Karpinski wrote: > > Unless GitHub adds support or we change hosting, julialang.org won't > support HTTPS. >

Re: [julia-users] Re: CALL TO ACTION for package devs

2016-08-04 Thread Eric Forgy
gt;> On Friday, August 5, 2016 at 1:45:46 AM UTC+2, Eric Forgy wrote: >> I agree. Another consequence of v0.5 updates on master that are not tagged >> is that newbies, wanting to help, end up fixing things that are already >> fixed not realizing. I've done this a couple of times and it is frustrating.

[julia-users] CALL TO ACTION for package devs

2016-08-04 Thread Eric Forgy
I agree. Another consequence of v0.5 updates on master that are not tagged is that newbies, wanting to help, end up fixing things that are already fixed not realizing. I've done this a couple of times and it is frustrating.

[julia-users] Re: Unexpected Performance Behaviour

2016-08-01 Thread Eric Forgy
I still don't understand the details of the new functions in v0.5. but I'd be inclined to think this test depends on whether you're on v0.4.6 or v0.5.0. On Tuesday, August 2, 2016 at 12:53:27 PM UTC+8, Greg Plowman wrote: > > I get timing/allocations the other way around. (test1, hard-coded

[julia-users] Re: Fast higher order differentiation

2016-07-18 Thread Eric Forgy
Hi Young Chun, Welcome to Julia! Like Jeffrey, I think your question was a good one and the outcome is even better. I don't know how others feel, but as an "oldie", it is super encouraging to me that: 1. People can even ask questions like this 2. Julia provides a highly satisfactory

Re: [julia-users] JuliaCon schedule announced

2016-07-11 Thread Eric Forgy
Anyone else having trouble watching Stefan's talk? It keeps stalling (feels like I'm on a modem), but my connection is fairly decent On Tuesday, July 12, 2016

[julia-users] Re: ANN: New Julia Packages website

2016-07-08 Thread Eric Forgy
Btw, Genie.jl also looks super cool +1. Are you on Gitter or? On Friday, July 8, 2016 at 10:37:59 PM UTC+8, Eric Forgy wrote: > > This looks pretty awesome. Thanks! > > I found a bunch of awesome looking new packages too with this, e.g. > Rust.jl :heart_eyes: >

[julia-users] Re: ANN: New Julia Packages website

2016-07-08 Thread Eric Forgy
This looks pretty awesome. Thanks! I found a bunch of awesome looking new packages too with this, e.g. Rust.jl :heart_eyes:

[julia-users] Re: FENS16

2016-07-05 Thread Eric Forgy
To save other curious onlookers a few seconds of Googling, here is a link :) http://forum2016.fens.org

Re: [julia-users] JuliaCon schedule announced

2016-06-30 Thread Eric Forgy
Just noticed a small set of videos have appeared already +1 On Wednesday, June 29, 2016 at 10:47:30 PM UTC+8, Viral Shah wrote: > > We are hopeful they should be up by next week. >

[julia-users] Re: Multiple JULIA_PKGDIR directories in a hierarchy for supporting a shared environment

2016-06-27 Thread Eric Forgy
Hi David, I'm not a pro, but I had similar issues and went with a main Julia package that contains many other Julia packages as Git submodules. In this way, my team can just clone the main Julia package and do a "git submodule init" and "git submodule update" and they get all the packages from

[julia-users] Re: VS code extension

2016-06-22 Thread Eric Forgy
On Thursday, June 23, 2016 at 10:36:58 AM UTC+8, Gabriel Gellner wrote: > > Are there benefits to using this over atom? Why are people moving over? > Pros, Cons? > Hi Gabriel, In my case, we are using Visual Studio (not VS Code) for ASP.NET and Julia in Atom/Juno (.NET & Julia talk to each

Re: [julia-users] Re: VS code extension

2016-06-22 Thread Eric Forgy
Hi David, This is awesome. Thanks for this. Out of curiosity, is this the same syntax highlighting used in Juno? It feels a little different and I've gotten used to Juno. I was able to get the same Julia.tmBundle to work in Visual Studio (not VS Code) and filed an issue here

[julia-users] Re: Git-maggedon

2016-06-21 Thread Eric Forgy
s. Any ideas? On Wednesday, June 22, 2016 at 12:37:50 AM UTC+8, Eric Forgy wrote: > > I just upgraded to v0.4.6 on Windows, but I think this problem might > predate the upgrade (I think the upgrade was partially in hopes of > resolving this). > > I don't know if this is a Julia issue o

[julia-users] Git-maggedon

2016-06-21 Thread Eric Forgy
I just upgraded to v0.4.6 on Windows, but I think this problem might predate the upgrade (I think the upgrade was partially in hopes of resolving this). I don't know if this is a Julia issue or a Git issue, but if I add any package, e.g. julia> Pkg.add("JSON") The package gets added to my

[julia-users] Re: Tips for optimizing this short code snippet

2016-06-18 Thread Eric Forgy
I'd be curious to see if any magic happens if you try to run it with v0.5 :) Although not anonymous, you're still passing functions as arguments and I think that might be faster in v0.5, but I'm not sure.

[julia-users] Re: Tips for optimizing this short code snippet

2016-06-18 Thread Eric Forgy
Which version of Julia are you using? One thing that stands out is the anonymous function y->1/g(y) being passed as an argument to quadgk. I'm not an expert, but I've heard this is slow in v0.4 and below, but should be fast in v0.5. Just a though. On Saturday, June 18, 2016 at 8:53:57 PM

[julia-users] Re: ANN: Documenter.jl

2016-06-18 Thread Eric Forgy
A documentation package with no documentation? How can that be? :D

Re: [julia-users] Re: Pkg.update() installing a package I never Pkg.add()'ed

2016-06-16 Thread Eric Forgy
Thanks Yichao. Pkg.dependents("A") came up empty. It turns out the same thing happened to two of my private packages that had same-name public packages: "A.jl" and "B.jl". Pkg.dependends("A") and Pkg.dependents("B") both came up empty. Somehow, Julia really did install new packages on

[julia-users] Re: Pkg.update() installing a package I never Pkg.add()'ed

2016-06-16 Thread Eric Forgy
Thanks Tony. Pkg.status() tells me "A.jl" is one of the required packages, but I can't think of what is requiring it. It is a small somewhat obscure package. Any idea how to determine which package is requiring "A.jl"? On Friday, June 17, 2016 at 6:03:58 AM UTC+8, Tony Kelman wrote: > > Check

[julia-users] Pkg.update() installing a package I never Pkg.add()'ed

2016-06-16 Thread Eric Forgy
Hi, I have a private package "A.jl" and it turns out there is also a public package "A.jl" I didn't know about. I manually moved my package folder from my package directory to another folder, updated LOAD_PATH so everything still worked and did a Pkg.update(). For some reason, Pkg.update()

[julia-users] Re: Git submodules vs Julia submodules

2016-06-15 Thread Eric Forgy
Hi Tony, I'm not sure I understand. I am using Julia 0.4.5 (Windows), but not using anything explicit from package manager to handle the Git submodules. I just do a `git submodule add ...` from the command line (not REPL). I can't imagine package manager breaking this in 0.5. Will it? This

[julia-users] Git submodules vs Julia submodules

2016-06-15 Thread Eric Forgy
Hi, I have a large private package that depends on many other private packages and each smaller package may depends on other private packages. It is a bit tangled, but working. For example: # A,B,C,D are all private packages module A using B, C, D ... end with module D using B, C ...

[julia-users] Re: Changing the year in two digit year using DateTime

2016-06-14 Thread Eric Forgy
How's this? julia> v1 = ["96/15/03", "15/15/03"] 2-element Array{ASCIIString,1}: "96/15/03" "15/15/03" julia> dt = DateTime(v1,"yy/dd/mm") 2-element Array{DateTime,1}: 0096-03-15T00:00:00 0015-03-15T00:00:00 julia> [Dates.year(d) > 16 ? d+Dates.Year(1900) : d+Dates.Year(2000) for d in dt]

Re: [julia-users] Standard wrapper for global variable optimization hack?

2016-06-13 Thread Eric Forgy
he vector, > though I suppose I could sprinkle @inbounds to eliminate it. > > On Mon, Jun 13, 2016 at 6:40 PM, Eric Forgy <eric@gmail.com > > wrote: > >> Not sure if this is the best way (curious about 'Ref'), but you could >> also make x a 1-element vector: >> >> const x = [0] >> >> x[1] += 1 >> > >

[julia-users] Standard wrapper for global variable optimization hack?

2016-06-13 Thread Eric Forgy
Not sure if this is the best way (curious about 'Ref'), but you could also make x a 1-element vector: const x = [0] x[1] += 1

[julia-users] Re: ANN: DC.jl - automagical linked plots in your IJulia Notebook

2016-06-12 Thread Eric Forgy
What about DCJS.jl to be consistent with PlotlyJS.jl and ThreeJS.jl? The JS library is DC.js and is known as such so I would think DCJS.jl would be alright.

Re: [julia-users] Re: why not make the ternary operator into an optional binary operator?

2016-06-08 Thread Eric Forgy
Sorry for my terse response. I was in a taxi on the way to a meeting and was trying to be helpful :sweat_smile: Hopefully it is clear now.

[julia-users] why not make the ternary operator into an optional binary operator?

2016-06-08 Thread Eric Forgy
This is already available using '&&' expression && do_something

Re: [julia-users] Differential Equations Package

2016-06-07 Thread Eric Forgy
Hi Chris (et al) It sounds like you've got a lot on your plate, but we apparently have some common interests. When the smoke settles for you and you're looking for some night time reading (i.e. cure for insomnia), you might have a look at some of my old papers: - - Noncommutative

Re: [julia-users] Differential Equations Package

2016-06-06 Thread Eric Forgy
Sounds awesome Chris +1

[julia-users] Re: parametrized type with inner constructor fails

2016-06-03 Thread Eric Forgy
I've been bitten by this many times and see so many others being bitten. I know the docs explain this as well as I could, but it would be great if someone could come up with some educational magic to improve the docs a bit more. On Saturday, June 4, 2016 at 10:17:16 AM UTC+8, David P. Sanders

[julia-users] Re: Thanks Julia

2016-06-03 Thread Eric Forgy
The Abstract looks awesome. All-optical processors is something I've been looking forward to since nearly going to University of Arizona to study the topic back in 1994 :) On Friday, June 3, 2016 at 10:37:54 PM UTC+8, M. Zahirul ALAM wrote: > > I have started using Julia roughly two summers

Re: [julia-users] Re: Congratulations to Keno

2016-05-28 Thread Eric Forgy
Ah yes. I see. If you go to the link Jeff posted and read down through more than 30 rows of a table, you can find a row: Harvard University Commencement May 28 (Th) May 26 (Th) May 25 (Th) May 24 (Th) May 30 (Th) If you scroll back up to the top again, you will find that the third column `May

Re: [julia-users] Re: Congratulations to Keno

2016-05-27 Thread Eric Forgy
It must be a very public secret since they won't tell us :) I would love to congratulate Keno too, but feels a little hollow not knowing why :)

Re: [julia-users] Re: Congratulations to Keno

2016-05-27 Thread Eric Forgy
I still don't get it. Must be good though :) On Friday, May 27, 2016 at 12:40:24 PM UTC+8, Jeff Bezanson wrote: > > http://www.registrar.fas.harvard.edu/calendar/five-year-calendar > > Congratulations indeed! > > On Thu, May 26, 2016 at 11:15 PM, Eric Forgy <eric

[julia-users] Re: Congratulations to Keno

2016-05-26 Thread Eric Forgy
Context? Link? :) On Friday, May 27, 2016 at 7:01:25 AM UTC+8, Josef Sachs wrote: > > Well done! Onward and upward! >

Re: [julia-users] Re: Lack of an explicit return in Julia, heartache or happiness?

2016-05-24 Thread Eric Forgy
On Wednesday, May 25, 2016 at 6:30:19 AM UTC+8, Stefan Karpinski wrote: > > That way unless you put an explicit return in a long form function, it > automatically returns nothing, avoiding accidentally returning the value of > the last expression. > This makes sense to me. The current behavior

Re: [julia-users] Lack of an explicit return in Julia, heartache or happiness?

2016-05-24 Thread Eric Forgy
On Wednesday, May 25, 2016 at 1:34:56 AM UTC+8, David Anthoff wrote: > > I like that idea. > Me too +1. Not a big deal though,

[julia-users] Re: Plots problem ?

2016-05-23 Thread Eric Forgy
Try x.^2. On Tuesday, May 24, 2016 at 12:48:49 AM UTC+8, Henri Girard wrote: > > Hi, > I don't know why this plot doesn't work ? > It tells me the domain is wrong ? > I don't understand why ? > Any help ? > Regards > Henri > > > using Plots > x=linspace(-2,2) > f(x) = sqrt(4-x^2) > g(x) =

[julia-users] Re: linreg strangely picky about inputs

2016-05-23 Thread Eric Forgy
20x speedup sounds pretty good to me. I was going to say, "Come on! You can do better than that!" but was afraid the sarcasm wouldn't come across as intended :) Nice work and hope to see more from you. I'm sure I can learn a lot :) On Monday, May 23, 2016 at 11:37:45 PM UTC+8, Gabriel Gellner

Re: [julia-users] Slow reading of file

2016-05-14 Thread Eric Forgy
I don't see any "Please help me speed up my code"s or even any question marks at all. I just see complaints about Julia even after receiving initial suggestions from busy people (without any "Thank you"s). That may be one reason you're not receiving more helpful responses. Just a thought...

[julia-users] Re: Strange behavior with docstring

2016-05-13 Thread Eric Forgy
On Friday, May 13, 2016 at 6:56:43 PM UTC+8, Michael Hatherly wrote: > > Yes, do blocks can’t be documented, but perhaps a nicer error message > would be more useful. Could you open an issue so this doesn’t get lost. > Thanks. > Sure. Issue #16359

[julia-users] Re: Strange behavior with docstring

2016-05-13 Thread Eric Forgy
uot;) do name if haskey(conditions,name) notify(conditions[name]) else error("""Condition "$name" was not found.""") end end I guess I shouldn't use docstring in this case. My bad :) On Friday, May 13, 2016 at 6:16:25 PM UTC+8, Eric Forgy w

[julia-users] Strange behavior with docstring

2016-05-13 Thread Eric Forgy
`argtype` has no method matching argtype(::ASCIIString) in include at boot.jl:261 in include_from_node1 at loading.jl:320 in include at boot.jl:261 in include_from_node1 at loading.jl:320 in require at loading.jl:259 while loading C:\Users\Eric Forgy\.julia\v0.4\Pages\src\callbacks.jl, in expression s

[julia-users] Re: Julia Utopia: Share your tips and tricks to efficient coding in Julia

2016-05-12 Thread Eric Forgy
I'm also interested in this question. Having been lurking around for more than a year, I've seen this kind of question come up a few times and don't remember the answers, but remember seeing answers and they were helpful. I think it would be cool/helpful if Julia Computing had an "About Us

[julia-users] Re: [ANN] Book: Julia High Performance

2016-05-11 Thread Eric Forgy
The discount price was only available a couple days. I missed it too, but still bought it. Oops :)

Re: [julia-users] using subscripts \_1, \_2, ... as field names

2016-05-10 Thread Eric Forgy
Maybe you could override getindex so that A[1,1] is the interior nxn matrix, A[1,2] and A[2,1] are the bounding vectors and A[2,2] is the scalar?

[julia-users] Re: TensorSpace in ApproxFun

2016-05-04 Thread Eric Forgy
To save others two minutes of their lives :) https://gitter.im/ApproxFun/ApproxFun.jl On Wednesday, May 4, 2016 at 3:02:21 PM UTC+8, Sheehan Olver wrote: > > Hi Michele, > > I'll reply to this in ApproxFun's Gitter, which is is a better forum for > ApproxFun specific questions. > > Cheers, >

[julia-users] Re: ANN: Optim.jl v0.4.5 released

2016-05-03 Thread Eric Forgy
Thank you guys. That makes perfect sense :+1:

[julia-users] Re: ANN: Optim.jl v0.4.5 released

2016-05-03 Thread Eric Forgy
This sounds great and your changes with the API and dispatch are reassuring because I recently implemented something similar (for a totally unrelated package). A general question... You wrote optimize(df, x0, BFGS()) I'm curious why you didn't make this optimize(df, x0, BFGS) Is there any

Re: [julia-users] Cloning private package with 0.5

2016-04-24 Thread Eric Forgy
Thanks Jacob. I'll have a look at that, but would that help with Travis and Appveyor? In Git for Windows, am I really going to have to change all my remotes for all my private repos now? That will be a huge pain. Can Pkg please do this for me? Where would be a good place to raise this issue?

RE: [julia-users] Cloning private package with 0.5

2016-04-22 Thread Eric Forgy
I have the same problem (on Windows) and really hoping this gets fixed before 0.5 is released. I have a ton of private repos. I'd prefer a solution that lets me keep my remotes at g...@github.com:EricForgy/MyPrivateRepo.jl. It would be more than a little annoying if I have to change every one

Re: [julia-users] 'do' notation in documentation?

2016-04-17 Thread Eric Forgy
Hi Andreas, I don't know how to improve the documentation, but I was also confused by the "do" notation. It seemed kind of mysterious to me at first. Now, I think I got it and use it often. Basically, it is a nice way to rewrite a function whose FIRST argument is a function. For example, say

Re: [julia-users] Re: Parametric types which add or delete fields.

2016-04-16 Thread Eric Forgy
Thank you Tim! That is some excellent wisdom. I appreciate that and shared it with my team. On Friday, April 15, 2016 at 10:35:02 PM UTC+8, Tim Holy wrote: > > Your best bet is always to benchmark. Here's how I make such decisions: > > # The type-based system: > julia> immutable Container1{T}

Re: [julia-users] Re: Parametric types which add or delete fields.

2016-04-15 Thread Eric Forgy
On Friday, April 15, 2016 at 6:40:37 PM UTC+8, Tim Holy wrote: > > If in contrast item[i+1] has a different type than item[i], and the amount > of > processing is quite modest, then it may not be worth it. Because julia > can't > predict the type at compile-time, it has to look up the type at

[julia-users] Re: Setting min()=Inf and max()=-Inf

2016-04-12 Thread Eric Forgy
Hi Anonymous, One of the nice things about Julia is that if you want that feature in your code, you just need to do this: import Base: min, max min() = Inf max() = -Inf Voila. It will be a good/fast as if it was in Base (because it is now - for you and anyone using your package) :) I hope

[julia-users] Re: I am trying to figure out how to pass DataTypes for a dataframe to @ListStore in Gtk.jl

2016-04-12 Thread Eric Forgy
Hi, I'm not sitting at a computer at the moment, but just curious if you've tried ls = @ListStore(eltypes(df)...) Sorry for the noise if that doesn't work :)

[julia-users] Re: package testing, other OSs

2016-04-11 Thread Eric Forgy
Hi Andreas, For Windows CI, you can use https://www.appveyor.com/ Hope this helps. Eric On Monday, April 11, 2016 at 3:48:04 PM UTC+8, Andreas Lobinger wrote: > > Hello colleagues, > > i think i asked this here some time before, but maybe there is an update... > > 1) Is there a recommendation

Re: [julia-users] What is the correct way to use the type alias Vector and Matrix in multiple dispatch?

2016-04-08 Thread Eric Forgy
julia> foo{T}(A::Vector{Matrix{T}}) = 1 This says: foo is a function with parameter "T" that takes an argument of type "Vector{Matrix{T}}". No problem. julia> bar(A::Vector{Matrix}) = 1 This says: bar is a function with no parameters that takes an argument of type "Vector{Matrix}".

[julia-users] Small packages?

2016-04-04 Thread Eric Forgy
Hi, I've been working with Julia for a little while now and notice that I'm starting to develop a number of very small packages that I use and reuse all the time. I was curious about your opinions on publishing very small "utility" packages? For example, I am consider making a very tiny

Re: [julia-users] WARNING: Base.String is deprecated [Help defining my own "String"]

2016-04-04 Thread Eric Forgy
On Monday, April 4, 2016 at 11:32:23 PM UTC+8, Milan Bouchet-Valat wrote: > > Even if that's a bug, calling a type String isn't a great idea given > that it's going to be the new name for ASCIIString/UTF8String in Base. > Better choose something more explicit. > I hear you, but I do want types

Re: [julia-users] WARNING: Base.String is deprecated [Help defining my own "String"]

2016-04-04 Thread Eric Forgy
On Monday, April 4, 2016 at 10:54:42 PM UTC+8, Yichao Yu wrote: > > Just tried it on master and this looks like a bug. Please file this on > the issue tracker. > Ok. Thanks for looking into it Yichao. https://github.com/JuliaLang/julia/issues/15760

Re: [julia-users] WARNING: Base.String is deprecated [Help defining my own "String"]

2016-04-04 Thread Eric Forgy
Hi Yichao, > On 4 Apr 2016, at 10:53 PM, Yichao Yu wrote: > Do you define your own `String` type in `MyModule` that is different > from `Base.String`. Yeah. I just left the office and in a taxi, but this is it: type String{T<:AbstractString} value::T End

[julia-users] WARNING: Base.String is deprecated [Help defining my own "String"]

2016-04-04 Thread Eric Forgy
Hello, I am doing some work trying to get Julia to play nice with .NET and want to define some Julia types corresponding to the Entity Data Model . So far everything is good, but I am getting irritating deprecation warnings about

Re: [julia-users] Re: Julia is a great idea, but it disqualifies itself for a big portion of its potential consumers

2016-04-03 Thread Eric Forgy
Just thinking out loud... On Sunday, April 3, 2016 at 11:49:33 PM UTC+8, Scott Jones wrote: > > What do you think about adding \\ as an integer division operator to Julia? > What about just writing some package to allow indexing arrays with rationals if this is so important to some people? If

[julia-users] Re: programatically unquote something

2016-04-01 Thread Eric Forgy
he macro returns something > I'm not even sure I'm asking the right questions here; there's a chance > I've set up the whole thing the wrong way, but I'm pretty sure it's > necessary to translate the forms returned by the macro back into julia > (since they come out as s-expressions) a

[julia-users] Re: programatically unquote something

2016-04-01 Thread Eric Forgy
Hi Visesh, I'm interested in your questions and they are similar to things I've struggled with, but I can't help much so I hope someone else can. BUT... I wonder if you can explain a bit more about what is the big picture you are trying to achieve? It feels to me that you are trying to do

Re: [julia-users] git protocol packages

2016-03-31 Thread Eric Forgy
PS: This also means Travis and Appveyor no longer work for me when the package I'm testing depends on other private repos. I really hope a solution to this problem can be found.

Re: [julia-users] git protocol packages

2016-03-31 Thread Eric Forgy
I have the same issue with private repos and SSH on Windows. It was working fine before the switch.

Re: [julia-users] ANN: Quantumoptics.jl - a quantum optics toolbox for julia

2016-03-26 Thread Eric Forgy
Hi Sebastian, I agree with the above comments. The documentation is super nice. Makes me wish I had a use for the package, but my days of QM are far behind me :) It looks like there might be some minor formatting issue on this page though:

[julia-users] Re: string function for expressions: surgically add a specific method to a recursion chain

2016-03-23 Thread Eric Forgy
Hi Vishesh, I'm not an expert, but one thought that comes to mind is to* not* import Base.string. Then you can just define a "string" function local to your module and then call Base.string, when you want to use the Base Julia "string". By importing Base.string and then defining string, you

Re: [julia-users] DataFrame from string

2016-03-22 Thread Eric Forgy
On Tuesday, March 22, 2016 at 5:12:35 PM UTC+8, Milan Bouchet-Valat wrote: > > I never said it would be added to Base. I should have been a bit more > explicit, but I was referring to the next version of DataFrames.jl. > Phew. That makes sense. So I was confused. Not the first time and won't be

Re: [julia-users] DataFrame from string

2016-03-21 Thread Eric Forgy
On Tuesday, March 22, 2016 at 12:09:32 AM UTC+8, Milan Bouchet-Valat wrote: > > And with the next release (available from git master) you will be able > to do this directly: > df = csv""" > 1, 7.6 > 2, 45.6 > 3, 12.1 > ... > """ > This looks cool and my first reaction was, "Neat!", but

[julia-users] Re: Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-20 Thread Eric Forgy
*drool* That looks awesome. Can't wait to try it out. Thanks!

[julia-users] Re: SI prefixes (M, k, m, u, n, ...)

2016-03-15 Thread Eric Forgy
Hi MA, I like your idea and I also wonder about registering small packages. I'm actually a fan of it so I'd say go for it, but curious to know what others think. Have you seen SIUnits.jl ? It shares some similarities, but in the context of SI units, e.g. it

[julia-users] Re: can't get pyjulia to work

2016-03-14 Thread Eric Forgy
Btw, I had a quick look at pyjulia. It is very cool and works with PyCall.jl to handles conversions etc. My solution is much less grand, but would work if the arguments to your calls to Julia are simple and could be serialized to JSON. On Tuesday, March 15, 2016 at 8:34:03 AM UTC+8, Eric Forgy

[julia-users] Re: can't get pyjulia to work

2016-03-14 Thread Eric Forgy
I have never used Python, but hearing your scenario, I wonder if a Julia API might be acceptable? Yesterday, I've submitted a package to METADATA I use quite a lot for my own work with similar scenarios (Pages ). I use it mostly for calling Julia from

[julia-users] Re: Julia crashes at startup on Windows

2016-03-14 Thread Eric Forgy
I had something similar happen on one of my machines and the answer was the antivirus software thought Julia was a virus. Have a look at the antivirus software and make sure that Julia is clear. Hope this helps. On Tuesday, March 15, 2016 at 6:39:23 AM UTC+8, danie...@gmail.com wrote: > > A

Re: [julia-users] Re: a excellent Julia IDE, JuliaDT

2016-03-10 Thread Eric Forgy
On Friday, March 11, 2016 at 10:29:12 AM UTC+8, Eric Forgy wrote: > > Hope this gets sorted soon :pray: :D > Prayers answered. It is working for me again. Thanks! :)

Re: [julia-users] Re: a excellent Julia IDE, JuliaDT

2016-03-10 Thread Eric Forgy
On Thursday, March 10, 2016 at 10:43:12 PM UTC+8, Mike Innes wrote: > > Yes, the old Juno on LightTable was starting to code rot badly – we've > taken those binaries down now. In Atom you'll find that you can get the > same features through the julia-client plugin. > But woe be to you if you

[julia-users] Re: String interpolation question

2016-03-09 Thread Eric Forgy
On Thursday, March 10, 2016 at 12:08:25 PM UTC+8, Eric Forgy wrote: > > I was also trying my package StringInterpolations.jl. I could get this to > work: > > x = 2 > @interpolate "I like \$x" > > But this did not work > > x = 2 > s = "I l

Re: [julia-users] Re: What to read to understand finishing v0.5?

2016-03-09 Thread Eric Forgy
On Thursday, March 10, 2016 at 2:00:46 PM UTC+8, Viral Shah wrote: > > Not relevant here, but I also feel that we are closing in on 1.0. Maybe > another release or two after 0.5. > +1 (or should that be +1.0) :D

[julia-users] Re: String interpolation question

2016-03-09 Thread Eric Forgy
Fgithub.com%2FScottPJones%2FStringUtils.jl%2Fpull%2F1=D=1=AFQjCNGrR-Zq17BBxXUWpTPkdQEJA-NHnQ>, > > combination of Swift style interpolation, Emoji, LaTex and Unicode > character literals, and in-line formatting for interpolated expressions. > > On Wednesday, March 9, 2016 at

[julia-users] String interpolation question

2016-03-09 Thread Eric Forgy
If I have x = 2 s = "I like \$x" Is there a nice way to get "I like 2" ?

Re: [julia-users] Meshgrid function

2016-03-07 Thread Eric Forgy
That's awesome Tomas. Thanks for the lesson :D

[julia-users] Re: Julia for app development using react native and emscripten/WASM (or other)

2016-03-05 Thread Eric Forgy
Hi datnamer, Have you seen this? - Support compiling to JavaScript with Emscripten I am looking forward to this capability. WebAssembly looks very promising too. Cheers, Eric On Sunday, March

[julia-users] OAuth 2.0 and Azure AD

2016-03-05 Thread Eric Forgy
Hi, I am trying to write a "trusted" application in Julia that can login silently to Azure AD using known credentials (username/password). I found some ways to do this with .NET libraries, but having trouble reverse engineering them to a point I can implement the same in Julia. It is probably

[julia-users] Re: 3D scatter / meshed surface color map

2016-03-02 Thread Eric Forgy
I'm a fan of PlotlyJS . julia> include(Pkg.dir("PlotlyJS","examples","3d.jl")) scatter_3d (generic function with 1 method) julia> scatter_3d() It's interactive.

Re: [julia-users] Re: Non-uniform interpolation in 1D

2016-02-27 Thread Eric Forgy
Quick note... Grid.jl has some support for irregular grids, but is not documented (If I recall). I'm using it with linear interpolation on irregular grids, but don't remember if it can do irregular splines.

[julia-users] Re: Json and enums

2016-02-21 Thread Eric Forgy
PR submitted. Thanks :) On Monday, February 22, 2016 at 1:55:45 AM UTC+8, David P. Sanders wrote: > > > > El domingo, 21 de febrero de 2016, 9:35:54 (UTC-5), Eric Forgy escribió: >> >> julia> @enum Test T1 T2 T3 >> >> julia> JSON.json(T1) >&

[julia-users] Json and enums

2016-02-21 Thread Eric Forgy
julia> @enum Test T1 T2 T3 julia> JSON.json(T1) "{}" How can I get this to print "\"T1\""? I've been experimenting with "show" and "print", but can't seem to get it to work. Thanks for any help. PS: I already filed an issue (that references

Re: [julia-users] Appveyor: Private repos using private repos

2016-02-20 Thread Eric Forgy
s suggestion doesn't help, start here: > https://github.com/JuliaLang/julia/issues/13472 > > On Sat, Feb 20, 2016 at 12:27 PM, Eric Forgy <eric@gmail.com > > wrote: > >> Thanks Isaiah. >> >> I bit the bullet and tried the "ssh stuff". I

Re: [julia-users] Appveyor: Private repos using private repos

2016-02-20 Thread Eric Forgy
Thanks Isaiah. I bit the bullet and tried the "ssh stuff". I was able to get it to work and my tests passed for Julia 0.4 (yay!), but the tests on latest master failed with an error: INFO: Cloning Pages from g...@github.com:EricForgy/Pages.jl.git ERROR: GitError(Code:ERROR, Class:Net,

[julia-users] Re: Appveyor: Private repos using private repos

2016-02-20 Thread Eric Forgy
Smalll correction: INFO: Cloning B from https://github.com/EricForgy/B.jl.git bash: /dev/tty: No such device or address error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https://github.com': Invalid argument ERROR: chmod: no such file or directory (ENOENT)

[julia-users] Appveyor: Private repos using private repos

2016-02-20 Thread Eric Forgy
Hi, This is more of an Appveyor question, but it is for a Julia repo, so I hope it is ok to ask here. I have a private repo A.jl. This repo uses another private repo B.jl, so in my appveyor.yml, I am trying to clone B.jl when building A.jl. This is the build script: build_script: # Need to

[julia-users] Re: Unitful.jl for physical units

2016-02-17 Thread Eric Forgy
This is cool (Unitful.jl and SIUnits.jl). I imagine similar work can be done for currencies?

[julia-users] Re: Anonymous functions now faster? Need for functors?

2016-02-01 Thread Eric Forgy
I'd love to understand this better. I've read the comments in the merged PR , but a blog post or pointers to new docs would be great.

  1   2   3   >