[julia-users] Type parameters and Numbers

2016-03-09 Thread jw3126
I want to construct an immutable parametrized by a number dim, which has a field of type Tuple{Int64, Int64, ... } where Int64 is repeated dim times. I tried immutable SomeType{dim} x :: Tuple{repeat([Int64], outer = [dim])...} end However this gives the following error: LoadError: TypeEr

Re: [julia-users] Type parameters and Numbers

2016-03-09 Thread Milan Bouchet-Valat
Le mercredi 09 mars 2016 à 01:41 -0800, jw3126 a écrit : > I want to construct an immutable parametrized by a number dim, which > has a field of type Tuple{Int64, Int64, ... } where Int64 is repeated > dim times. I tried  > > immutable SomeType{dim} >     x :: Tuple{repeat([Int64], outer = [dim]).

Re: [julia-users] Meshgrid function

2016-03-09 Thread Christoph Ortner
Nice list of alternatives. But it doesn't change the fact that meshgrid is very easy to use, and very easy to read. New idioms should not be forced on developers. I know in what ways mesh grid is inefficient and when that matters then I won't use it. But more often than not I just want a quick

Re: [julia-users] Meshgrid function

2016-03-09 Thread 'Tobias Knopp' via julia-users
I also don't see the major issue with the inefficiency of meshgrid. We do provide functions for evaluating c = a * b with a, b being vectors and we know that it is not efficient to do so (due to the temporary vector introduced) Tobi Am Mittwoch, 9. März 2016 10:54:18 UTC+1 schrieb Christoph Or

Re: [julia-users] Type parameters and Numbers

2016-03-09 Thread jw3126
Nice this is much cleaner! On Wednesday, March 9, 2016 at 10:49:03 AM UTC+1, Milan Bouchet-Valat wrote: > > Le mercredi 09 mars 2016 à 01:41 -0800, jw3126 a écrit : > > I want to construct an immutable parametrized by a number dim, which > > has a field of type Tuple{Int64, Int64, ... } where In

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

2016-03-09 Thread Liye zhang
I use "Eclipse IDE for Java Developers" version 4.5 and it works. http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/mars2 I use JuliaDT to edit the code and use "Julia Debug" to debug the code. It is OK for the daily work. The debugger for julia can be found according to the

[julia-users] Re: ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Hans-Peter
There is a new discourse blog post were Discourse offers free hosting for 'community friendly Github projects'. I think Julia would qualify and this would solve the question about self-host

Re: [julia-users] ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Viral Shah
Yeah, we should qualify. The next step would be to have a someone (Jonathan Malmud?) come up with a migrating plan, and we should also formally appoint a group of list admins to carry out the day to day activities, enforce community standards, etc. -viral > On 09-Mar-2016, at 4:31 PM, Hans-P

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

2016-03-09 Thread Avik Sengupta
Fair enough. Eclipse is, in many ways, a "buy into the ecosystem" proposition. For many that do, that is the simplest way to work. But if you don't, Juno/Atom is great, and Mike's been hard at work making it better. Regards - Avik On Tuesday, 8 March 2016 20:22:45 UTC, J Luis wrote: > > Ok, th

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

2016-03-09 Thread Andreas Lobinger
Hello colleagues, i need a bigger picture of the status of v0.5, dates, timelines, missing features, missing testing, expected closing. Just go to github and select the v0.5 milestone gives me a diverse picture. Wishing ahappy day, Andreas

[julia-users] Re: ANN: JuMP 0.12 released

2016-03-09 Thread Miles Lubin
On Wednesday, March 9, 2016 at 12:52:38 AM UTC-5, Evan Fields wrote: > > Great to hear. Two minor questions which aren't clear (to me) from the > documentation: > - Once a user defined function has been defined and registered, can it be > incorporated into NL expressions via @defNLExpr? > Yes.

Re: [julia-users] Meshgrid function

2016-03-09 Thread Tomas Lycken
Temporary arrays for other things, like C = A * B (or, more relevant, C = A .* B), is an optimization issue actively being worked on. But it’s a hard one to solve, unlike avoiding meshgrid. Furthermore; if you avoid using meshgrid, you’ll avoid falling on this performance bottleneck too, as yo

Re: [julia-users] Is it slow to load packages inside function ?

2016-03-09 Thread Stefan Karpinski
It's hard to say anything useful without some kind of example. Could you provide one? On Tue, Mar 8, 2016 at 10:54 PM, Fei Ma wrote: > Hello everyone : > > I am working on a signal processing project. And I have found something > strange. > > When I using"plot" function from the PyPlot , and

Re: [julia-users] ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Stefan Karpinski
Yes, I think we should give this a shot. On Wed, Mar 9, 2016 at 6:28 AM, Viral Shah wrote: > Yeah, we should qualify. The next step would be to have a someone > (Jonathan Malmud?) come up with a migrating plan, and we should also > formally appoint a group of list admins to carry out the day to

[julia-users] Google Summer of Code 2016

2016-03-09 Thread Mike Innes
Hey All, As you may have heard by now, the Julia language is proud to be part of Google Summer of Code 2016! We’re inviting students to get paid to work on a Julia-related project of their choice during their summer break. I’ll

[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] ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Tom Breloff
Is it possible to auto-forward new posts from google to discourse? What about an automated warning to direct users to the new site? +1 for moving On Wed, Mar 9, 2016 at 8:47 AM, Stefan Karpinski wrote: > Yes, I think we should give this a shot. > > On Wed, Mar 9, 2016 at 6:28 AM, Viral Shah w

Re: [julia-users] ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Stefan Karpinski
It seems like we can import the email list from julia-users and julia-dev, and you can reply on Discourse by email, so people who interact with groups via email won't necessarily even notice much difference. For people who interact via the web interface, I think that once the Discourse setup is rea

[julia-users] Re: String interpolation question

2016-03-09 Thread J Luis
Worked for me julia> s="I like $x" "I like 2" quarta-feira, 9 de Março de 2016 às 13:59:47 UTC, Eric Forgy escreveu: > > If I have > > x = 2 > s = "I like \$x" > > > Is there a nice way to get > > "I like 2" > > > ? > >

Re: [julia-users] String interpolation question

2016-03-09 Thread Yichao Yu
On Wed, Mar 9, 2016 at 8:59 AM, Eric Forgy wrote: > If I have > > x = 2 > s = "I like \$x" > > > Is there a nice way to get > > "I like 2" I think it depend on what you need. If you just need to substitute with simple variables, the right way is likely to just process the string yourself (See htt

Re: [julia-users] Google Summer of Code 2016

2016-03-09 Thread Tom Breloff
The julia-soc-2014 address doesn't work... is there another one to replace it? On Wed, Mar 9, 2016 at 8:53 AM, Mike Innes wrote: > Hey All, > > As you may have heard by now, the Julia language is proud to be part of Google > Summer of Code >

Re: [julia-users] ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Johan Sigfrids
What about other lists like julia-stats and julia-opt? Would they also move to Discourse or be left behind? On Wednesday, March 9, 2016 at 4:05:24 PM UTC+2, Stefan Karpinski wrote: > > It seems like we can import the email list from julia-users and julia-dev, > and you can reply on Discourse by

Re: [julia-users] Google Summer of Code 2016

2016-03-09 Thread Mike Innes
My mistake; it's julia-gsoc-2...@googlegroups.com. Thanks for reporting. On Wed, 9 Mar 2016 at 14:10 Tom Breloff wrote: > The julia-soc-2014 address doesn't work... is there another one to replace > it? > > On Wed, Mar 9, 2016 at 8:53 AM, Mike Innes wrote: > >> Hey All, >> >> As you may have hea

Re: [julia-users] The "contact mail" on the GSoC page does not exist

2016-03-09 Thread Mike Innes
Ok, it's julia-gsoc-2...@googlegroups.com On Tuesday, 8 March 2016 03:38:39 UTC, Dawei Si wrote: > > I still get a failure after sending a mail to the new address.. > > 在 2016年3月8日星期二 UTC+8上午12:37:34,Mike Innes写道: >> >> Whoops, sorry about that! The correct group is julia-soc-2014 and it >> shoul

Re: [julia-users] ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Miles Lubin
I suspect julia-opt will wait and see how the julia-users transition goes. julia-opt has much lower volume than julia-users. On Wednesday, March 9, 2016 at 9:12:11 AM UTC-5, Johan Sigfrids wrote: > > What about other lists like julia-stats and julia-opt? Would they also > move to Discourse or be

Re: [julia-users] ANN: A potential new Discourse-based Julia forum

2016-03-09 Thread Viral Shah
Perhaps we should move over julia-dev first, and julia-users later once julia-dev is stable. Can we have multiple channels like stats and opt in discourse? Or would these have to be separate discourse lists? Of course, the choice is up to the admins of those lists. There is a limit on the numbe

[julia-users] Plotsly

2016-03-09 Thread Tom Breloff
For anyone interested, Spencer Lyon and I have been trying to get his great PlotlyJS package working with the Plots.jl API... here's a little demo: https://youtu.be/ctlRKL4CSIs You'll need the master branch of both packages: Pkg.checkout("Plots"); Pkg.checkout("PlotlyJS") Enjoy! Tom

Re: [julia-users] Meshgrid function

2016-03-09 Thread Christoph Ortner
" and as long as it’s not in Base there’s a good chance that beginner Julians will pick up more performant idioms." Hi Tomas, I think this is a big mistake so many Julia developers (not all) are making: Julia should not just be great for performance of code but also for performance of the prog

Re: [julia-users] Julia on Android (and/or the web) - a scientific calculator on steroids.. good for tablets

2016-03-09 Thread Lutfullah Tomak
Sure I can write a proposal or suggestion and if there is an interested student I can help the work. I use my phone a substitute for pc so much and right now I use a linux chroot app for julia but it is slow compared to native apps like termux provides. The thing is I've recently started to a

Re: [julia-users] GSoC project - "Calling Julia from Python"

2016-03-09 Thread Mike Innes
Hey Manu, Glad to see you're interested in this project! There's already some work on this over at pyjulia , and it'll probably be relevant to take a look at PyCall.jl as well. I recommend starting out by taking a look o

[julia-users] Re: String interpolation question

2016-03-09 Thread Scott Jones
If you're interested, try out what I was working on in https://github.com/ScottPJones/StringUtils.jl/pull/1, combination of Swift style interpolation, Emoji, LaTex and Unicode character literals, and in-line formatting for interpolated expressions. On Wednesday, March 9, 2016 at 8:59:47 AM UTC-

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

2016-03-09 Thread Scott Jones
I'm curious about the when the following change will make it into v0.5, originally it was said that it would be done early after v0.4 split off of master: *julia> **a = [[1],[2],[3]]* *WARNING: [a,b,...] concatenation is deprecated; use [a;b;...] instead* in depwarn(::ASCIIString, ::Symbol) a

[julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Jeffrey Sarnoff
I am trying to wrap this so it will (a) print to STDOUT (b) (if possible) print to a string: void arf_fprint(FILE ** file*, const arf_t * x*)¶ Prints *x* as an integer mantissa and exponent to the stream *

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Milan Bouchet-Valat
Le mercredi 09 mars 2016 à 09:38 -0800, Jeffrey Sarnoff a écrit : > I am trying to wrap this so it will (a) print to STDOUT (b) (if > possible) print to a string: > void arf_fprint(FILE * file, const arf_t x)¶ > Prints x as an integer mantissa and exponent to the stream file. > > arf_t is made wit

Re: [julia-users] Re: Eigenvalues of symmetric dense n=10^6 matrix (ScaLAPACK.jl?)

2016-03-09 Thread Erik Schnetter
Jack Elemental's HermitianEig routines are already wrapped. I'm using them, and this seems to work fine. I will need about 10^5 of the 10^6 eigenvalues, so HermitianEig seems to be the way to go. Thanks for Elemental! -erik On Tue, Mar 8, 2016 at 11:23 PM, Jack Poulson wrote: > Scratch that;

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Yichao Yu
On Mar 9, 2016 12:38 PM, "Jeffrey Sarnoff" wrote: > > I am trying to wrap this so it will (a) print to STDOUT (b) (if possible) print to a string: > void arf_fprint(FILE * file, const arf_t x)¶ > > Prints x as an integer mantissa and exponent to the stream file. > > > arf_t is made with arf(x), t

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Jeffrey Sarnoff
I am bound to the api, at least for calling into the application. I don't know how to do either of the things you recommend. Could you point me to an example? On Wednesday, March 9, 2016 at 12:58:20 PM UTC-5, Yichao Yu wrote: > > > On Mar 9, 2016 12:38 PM, "Jeffrey Sarnoff" > wrote: > > > > I

[julia-users] Re: Plotsly

2016-03-09 Thread Diego Javier Zea
Awesome work, guys. Plots + PlotlyJS is my favorite plotting combination right now :D El miércoles, 9 de marzo de 2016, 13:14:48 (UTC-3), Tom Breloff escribió: > > For anyone interested, Spencer Lyon and I have been trying to get his > great PlotlyJS package working with the Plots.jl API... here

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

2016-03-09 Thread John Myles White
I think it's fair to say that the reason your questions aren't already answered by GitHub is because there's no one who's made an executive decision about the answers to those questions. -- John On Wednesday, March 9, 2016 at 4:44:28 AM UTC-8, Andreas Lobinger wrote: > > Hello colleagues, > >

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

2016-03-09 Thread David Anthoff
At some point in the summer there was communication from the core team that v0.5 would be a short release cycle that was all about the arraypocalypse theme. My sense is that this original plan is off the table, and that (as John said) there is no new time plan to replace the original one, or at

[julia-users] Re: Documentation on Base.uncompressed_ast/ Core.Inference.typeinf_uncached

2016-03-09 Thread Julia Tylors
I was trying to convert the captured variables to parameters, and from looks of it i should use Base.uncompressed_ast or at least some call to jl_uncompress_ast using ccall. Can you suggest me something? the proper way. On Tuesday, March 8, 2016 at 6:18:33 PM UTC-8, Julia Tylors wrote: > > I w

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

2016-03-09 Thread Stefan Karpinski
The sticking point has been the decision – which seemed to have already been made as of last summer – about whether slices should be views or not. There has been fierce debate about that and no apparent consensus. Part of the problem is that we do not yet have all of the compiler support required t

Re: [julia-users] Meshgrid function

2016-03-09 Thread J Luis
> I think this is a big mistake so many Julia developers (not all) are > making: > > I agree with this. For all those in future that are not necessarily programmers (and Julia hopes to attract many of those, I believe) and will need a meshgrid, the time will take them to find out the alternat

[julia-users] Memory increase when using parallel processing with Julia 0.4.3 instead of 0.4.0

2016-03-09 Thread Eduardo Lenz
Hi. Running the same code with Julia 0.4.3 and with julia 0.4.0, I observed the following memory usage (figure below). The beginning is related to the code running in Julia 0.4.0, then, the process is canceled (memory drops) and the same code is executed with Julia 0.4.3. As one can see in this

Re: [julia-users] Meshgrid function

2016-03-09 Thread STAR0SS
Julia devs are working hard trying to make a language than is consistent and elegant, they don't want to add functions in Base only because they are convenient for people coming from a particular background when there's a more "Julian" way of doing it. Plus if you start adding matlab's function,

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Yichao Yu
On Wed, Mar 9, 2016 at 1:05 PM, Jeffrey Sarnoff wrote: > I am bound to the api, at least for calling into the application. I don't > know how to do either of the things you recommend. Could you point me to an > example? See below. Note that the `open_memstream` API may not be widely available o

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Jeffrey Sarnoff
Thank you, much appreciated. On Wednesday, March 9, 2016 at 2:52:01 PM UTC-5, Yichao Yu wrote: > > On Wed, Mar 9, 2016 at 1:05 PM, Jeffrey Sarnoff > > wrote: > > I am bound to the api, at least for calling into the application. I > don't > > know how to do either of the things you recommend.

Re: [julia-users] Re: Documentation on Base.uncompressed_ast/ Core.Inference.typeinf_uncached

2016-03-09 Thread Tim Holy
You're definitely digging into internals, where the code itself is sometimes the only documentation. Check out the implementation of code_lowered in base/reflection.jl. Best, --Tim On Wednesday, March 09, 2016 10:46:07 AM Julia Tylors wrote: > I was trying to convert the captured variables to p

[julia-users] Output to a C file does not write until after julia exits

2016-03-09 Thread Samuel Massinon
Tried looking for a solution but couldn't find anything. If I'm doing anything wrong please let me know. :) If I run the following, foo = open("foo" ,"w") ccall(:fprintf, Int, (Ptr{Void}, Cstring), Libc.FILE(foo).ptr, "hello, world\n") flush(foo) close(foo) foo will exists as a file in my curren

Re: [julia-users] Meshgrid function

2016-03-09 Thread Christoph Ortner
On Wednesday, 9 March 2016 19:47:11 UTC, STAR0SS wrote: > > Julia devs are working hard trying to make a language than is consistent > and elegant, they don't want to add functions in Base only because they are > convenient for people coming from a particular background when there's a > more "

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

2016-03-09 Thread Jeffrey Sarnoff
With the ability to add methods to an abstract type, so we do not lose that important capability; makes sense to me. On Wednesday, March 9, 2016 at 2:14:27 PM UTC-5, Stefan Karpinski wrote: > > The sticking point has been the decision – which seemed to have already > been made as of last summer

[julia-users] Google Summer of Code 2016

2016-03-09 Thread Jorge
Hi Mike, Do you know who are Julia's GSoC 2016 org admins? Best, Jorge

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Jeffrey Sarnoff
In both version 0.4 and 0.5-dev everything is as you show until: pointer_to_array(Ptr{UInt8}(ptr[]), sz[], true) then julia> pointer_to_array(Ptr{UInt8}(ptr[]), sz[], true) 140685948747867-element Array{UInt8,1}: signal (11): Segmentation fault while loading no file, in expression starting on li

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

2016-03-09 Thread jmarcellopereira
I did not understand how to use the "A". "A" is a vector tuple ...? Em domingo, 28 de fevereiro de 2016 18:32:23 UTC-3, Tomas Lycken escreveu: > > Gridded here is the *interpolation scheme*, as opposed to (implicitly > uniform) BSpline interpolation; it’s simply the way Interpolations.jl > let

Re: [julia-users] Google Summer of Code 2016

2016-03-09 Thread Mike Innes
Hey Jorge, me and Shashi Gowda are organising GSoC this year and there are a few others with admin access – why do you ask? On Wed, 9 Mar 2016 at 22:17 Jorge wrote: > Hi Mike, > > Do you know who are Julia's GSoC 2016 org admins? > > Best, > Jorge

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Yichao Yu
On Wed, Mar 9, 2016 at 5:21 PM, Jeffrey Sarnoff wrote: > In both version 0.4 and 0.5-dev everything is as you show until: > pointer_to_array(Ptr{UInt8}(ptr[]), sz[], true) > then > julia> pointer_to_array(Ptr{UInt8}(ptr[]), sz[], true) > 140685948747867-element Array{UInt8,1}: What I see is that

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

2016-03-09 Thread Jeff Bezanson
The 0.5.0 milestone on github does in fact reflect our best understanding of what's in the release. Perhaps there is a presentation or UI problem here, but fundamentally I don't see why a list of issues wouldn't work for this. One problem seems to be that people too often add fairly minor items to

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

2016-03-09 Thread Jeffrey Sarnoff
https://github.com/JuliaLang/julia/milestones/0.5.0 On Wednesday, March 9, 2016 at 5:38:42 PM UTC-5, Jeff Bezanson wrote: > > The 0.5.0 milestone on github does in fact reflect our best > understanding of what's in the release. Perhaps there is a > presentation or UI problem here, but fundamenta

Re: [julia-users] Output to a C file does not write until after julia exits

2016-03-09 Thread Erik Schnetter
I assume that `Libc.FILE(foo)` creates a new file descriptor that is independent of `file`, and which needs to be closed as well. -erik On Wed, Mar 9, 2016 at 3:07 PM, Samuel Massinon wrote: > Tried looking for a solution but couldn't find anything. If I'm doing > anything wrong please let me kn

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Yichao Yu
On Wed, Mar 9, 2016 at 5:36 PM, Yichao Yu wrote: > On Wed, Mar 9, 2016 at 5:21 PM, Jeffrey Sarnoff > wrote: >> In both version 0.4 and 0.5-dev everything is as you show until: >> pointer_to_array(Ptr{UInt8}(ptr[]), sz[], true) >> then >> julia> pointer_to_array(Ptr{UInt8}(ptr[]), sz[], true) >> 1

Re: [julia-users] Output to a C file does not write until after julia exits

2016-03-09 Thread Samuel Massinon
You are correct, julia> open("foo" ,"w") do file libcf = Libc.FILE(file) ccall(:fprintf, Int, (Ptr{Void}, Cstring), libcf.ptr, "hello, world\n") display(readstring("foo")) close(libcf) display(readstring("foo")) end "" "hello, world\n"

[julia-users] Parallel Julia - Base.TCPServer(init) is not initialized

2016-03-09 Thread Eric Sabo
I have no problem running Julia in parallel on my laptop or desktop machines, but when I try to run it on a (really small) cluster (more like a workstation) I get the error ERROR: ArgumentError: Base.TCPServer(init) is not initialized in isopen at ./stream.jl:317 in close at ./stream.jl:378 in

[julia-users] error while loading shared libraries: libjulia.so

2016-03-09 Thread Manu Jain
My julia code compile successfully. But when I try to run the excecutable it shows - "error while loading shared libraries: libjulia.so: cannot open shared object file: No such file or directory". Please help.

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Jeffrey Sarnoff
can it be used to convert a c FILE (STDOUT) to a specific julia IO object? On Wed, Mar 9, 2016 at 6:43 PM, Yichao Yu wrote: > On Wed, Mar 9, 2016 at 5:36 PM, Yichao Yu wrote: > > On Wed, Mar 9, 2016 at 5:21 PM, Jeffrey Sarnoff > > wrote: > >> In both version 0.4 and 0.5-dev everything is as yo

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

2016-03-09 Thread Tim Holy
A is the array of values you want to interpolate. x are the positions. Effectively, `A = [f(xx) for xx in x]` assuming you want to interpolate the function `f`. --Tim On Wednesday, March 09, 2016 02:25:24 PM jmarcellopere...@ufpi.edu.br wrote: > I did not understand how to use the "A". "A" is a

[julia-users] Comparing GlobalRef

2016-03-09 Thread Julia Tylors
Hi fellows, func = macroexpand(fdef); editDownload(expand(func)) function editDownload(func::Expr) Helper.replace(func) do expr if isa(expr,Expr) && expr.head == :call *func = expr.args[1] # (top(getfield))(Main.Download,:task)* *if func == Glob

Re: [julia-users] Comparing GlobalRef

2016-03-09 Thread Yichao Yu
On Wed, Mar 9, 2016 at 9:53 PM, Julia Tylors wrote: > Hi fellows, > > func = macroexpand(fdef); > editDownload(expand(func)) > > > > function editDownload(func::Expr) > Helper.replace(func) do expr > if isa(expr,Expr) && expr.head == :call > func =

[julia-users] Re: String interpolation question

2016-03-09 Thread Eric Forgy
Thanks Scott. I thought of that, but couldn't see immediately how to do what I wanted. Could you help? :) Btw, J Luis, thanks but notice the "\$" :) It certainly works without the "\" already :) I was also trying my package StringInterpolations.jl. I could get this to work: x = 2 @interpolate

Re: [julia-users] Julia on Android (and/or the web) - a scientific calculator on steroids.. good for tablets

2016-03-09 Thread Ismael Venegas Castelló
Here is a keep recap of what I've been able to achieve so far: * https://gitter.im/termux/termux?at=56e0f41a6fde057c26856001 El miércoles, 9 de marzo de 2016, 10:35:53 (UTC-6), Lutfullah Tom

Re: [julia-users] Google Summer of Code 2016

2016-03-09 Thread Jorge
Thanks Mike! I'm preparing my proposal to apply as a student this year, so, just wanted to know who could I contact if I ever have a question for you guys! -J On Wednesday, March 9, 2016 at 4:28:51 PM UTC-6, Mike Innes wrote: > > Hey Jorge, me and Shashi Gowda are organising GSoC this year and

Re: [julia-users] ccall using streams and printing to STDOUT, string

2016-03-09 Thread Jeffrey Sarnoff
Thanks again. I found a way through the apps' internal get_string. On Wednesday, March 9, 2016 at 7:41:32 PM UTC-5, Jeffrey Sarnoff wrote: > > can it be used to convert a c FILE (STDOUT) to a specific julia IO object? > > On Wed, Mar 9, 2016 at 6:43 PM, Yichao Yu wrote: > >> On Wed, Mar 9, 2016

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

2016-03-09 Thread Viral Shah
This is about the right time to start the triage for the various 0.5 issues. With all the amazing compiler improvements, LLVM upgrade, Cxx readiness, thread-safety (will probably remain disabled for 0.5 potentially unless it receives significant testing) and a number of other cool things, I agr

Re: [julia-users] ZMQ poll

2016-03-09 Thread Leonardo
I've found a related issue: https://github.com/JuliaLang/ZMQ.jl/issues/52 I will make some experiment to understand if Julia multitasking can be a substitute for ZMQ poll(). Has anyone some experience about this? Thanks Leonardo Il 03/03/2016 22:54, Leonardo ha scritto: Hello, if anyone ca

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: Plotsly

2016-03-09 Thread Christoph Ortner
Pkg.add("Plots") seems to be broken? julia> Pkg.add("Plots") fatal: Not a git repository (or any of the parent directories): .git

[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 like \$x" > @interpolate s > > In the former case, the argu