[julia-users] Re: LaTeX labels in Winston

2014-10-08 Thread Alex
So lasme+Winston would look like in the attached picture. There are still some rough edges: I am not sure the alignment and bounding boxes for the rotated text are correct and the fontsize is fixed to whatever lasme gives back (I think it is 10pt). The nice thing is that one could use almost

Re: [julia-users] How do Julia view the complete array ? ( not just the first and last lines...)

2014-10-08 Thread Paul Analyst
Somebody now ? W dniu 2014-10-07 o 17:56, Jacob Quinn pisze: Sorry I'm not familiar with anything like that. On Tue, Oct 7, 2014 at 4:21 AM, Paul Analyst paul.anal...@mail.com mailto:paul.anal...@mail.com wrote: In Julia 1.0 was command somethink like header()... I forgot but it

[julia-users] Re: LaTeX labels in Winston

2014-10-08 Thread Paweł Biernat
I would definitely be an improvement over the current text renderer. By the way, do you have an idea of how will it affect the speed of plotting? On the other hand, what is the main reason for not using the system LaTeX renderer and use lasme (or any other built-in renderer) as a fallback? I

[julia-users] Re: LaTeX labels in Winston

2014-10-08 Thread Alex
I have not tested the speed of lasme, but using it would very likely be slower than the current code since it has to convert tex to mathml and then parse that to render the formula. I guess for most use cases one could optimize this difference almost away by caching the mathml (DOM) or even

[julia-users] Re: LaTeX labels in Winston

2014-10-08 Thread Paweł Biernat
I think TikzPictures.jl [1] is what you are looking for, but it does not seem to work with Julia 0.4 out of the box (judging by the automatic PackageEvaluator issue it broke only recently [2]). I fixed the issue (at least I think I did) and it now works as expected so you can get it from my

Re: [julia-users] How do Julia view the complete array ? ( not just the first and last lines...)

2014-10-08 Thread Keith Campbell
As Jacob suggested, if you load your data into a DataFrame and showall() on that, you should get a nicer display.

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

2014-10-08 Thread Nils Gudat
Hi Spencer, Can I just hop in with a question on your integration/quadrature routine? I'm working on a value function iteration in a fairly large state space (think of the order of 500,000 to 1m grid points per period) and hence have to do calculate a lot of expected values. Naturally, I tried

[julia-users] Re: Installing Julia Studio properly on Windows 7 - Step by Step Instructions

2014-10-08 Thread pamjervis
Hi, After I started Julia Studio I received this message in the Output Console window: ERROR: package directory C:\Users\pamela_j\Documents\v0.3 doesn't exist; run Pkg.init() to create it. in error at error.jl:21 in cd at pkg/dir.jl:25 while loading C:\Program

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

2014-10-08 Thread Spencer Lyon
Hey Nils, That is very interesting. I hadn't noticed any cases where `quadgk` is faster. I'm not sure I can give a great answer here without seeing your code and really digging into the `quadgk` implementation. I can say, however, that [`do_quad` is a very simple

Re: [julia-users] iterating through permutations in parallel

2014-10-08 Thread David Gonzales
here is more source code sample for parallel permutation processing. this code goes over all permutation of `keys` and counts the number of cycles into `resall`: https://gist.github.com/dvdgonzales17/2ebb7fd07af9c93994fc#file-parallel-permutation-loop On Wednesday, October 8, 2014 3:20:12 AM

Re: [julia-users] Re: ANN: revamped Images based on Color, FixedPointNumbers

2014-10-08 Thread Tim Holy
On Monday, October 06, 2014 01:39:04 AM Jan Kybic wrote: reinterpret(Uint8, separate(img)) It does not currently work for me: Argh. Should be fixed now. --Tim

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

2014-10-08 Thread Hans W Borchers
The integration function appears to have difficulties when the value of the integral is (very near to) zero. Perhaps it attempts to keep the error term smaller than the value and therefore needs many more iterations. I consider this a kind of bug or oversight in the implementation of quadgk,

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

2014-10-08 Thread Nils Gudat
Hi Spencer, hi Hans, Thanks for both of your replies. Spencer, you make a good point about the nodes - of course 65 are way too many here, and stuffing that many nodes in a small interval is bound to make your `do_quad` function unnecessarily slow. In fact, in my own implementation, I get

[julia-users] Re: passing additional parameters to DArray init function

2014-10-08 Thread Amit Murthy
Something like this? addprocs(2) foogen = (x,y) - begin (I) - (println(I); fill!(Array(Int, map(length, I)), x+y)) end d=DArray(foogen(2,2), (10,)) From worker 3: (6:10,) From worker 2: (1:5,) 10-element DArray{Int64,1,Array{Int64,1}}: 4 4 4 4 4 4 4

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

2014-10-08 Thread Spencer Lyon
That’s great! One more tip. If you know that the integration bounds are going to be constant over certain iterations (which is likely given that you are doing value function iteration), it helps performance significantly if you precompute the nodes and weights before the iterations begin,

Re: [julia-users] Re: 0.3.1 load time regression?

2014-10-08 Thread Elliot Saba
I've uploaded a new 0.3.1 binary. Please redownload and see if the startup time has gotten any better. -E

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

2014-10-08 Thread Nils Gudat
I do have changing bounds unfortunately, so I'm stuck with computing the nodes and weights each time. Using the helper function now, but this doesn't affect performance - is this just meant to reduce the number of lines of code I have to write?

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

2014-10-08 Thread Spencer Lyon
Oh ok. Yeas, the helper function is just that: a helper to reduce repetitive code. It should have no impact on performance. On Wednesday, October 8, 2014 11:27:55 AM UTC-4, Nils Gudat wrote: I do have changing bounds unfortunately, so I'm stuck with computing the nodes and weights each

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

2014-10-08 Thread Nils Gudat
In any case, very cool project, I read through the QuantEcon book a while ago when learning Python to do some data analysis and visualization, but now that I'm back to heavier computational stuff Julia is the language of choice. Do you have any sort of documentation anywhere that includes all

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

2014-10-08 Thread Spencer Lyon
Right now we don’t have any documentation specific to QuantEcon.jl. We are waiting for this issue https://github.com/JuliaLang/julia/issues/8514 to be closed in the main Julia repo so that we can have a more stable backend for generating documentation. All the functionality from QuantEcon.py

Re: [julia-users] Re: parametrized type weirdness? or Julia bug?

2014-10-08 Thread vavasis
I created another issue for my question., so I guess any more followups should go to the issue discussion rather than this forum. https://github.com/JuliaLang/julia/issues/8625 -- Steve On Tuesday, October 7, 2014 4:11:31 PM UTC-4, Jutho wrote: There are some open issues with type alias ,

[julia-users] Re: Installing Julia Studio properly on Windows 7 - Step by Step Instructions

2014-10-08 Thread Iain Dunning
I'm not even sure JuliaStudio works with 0.3, which it looks like its trying to do. On Wednesday, October 8, 2014 7:29:46 AM UTC-4, pamj...@gmail.com wrote: Hi, After I started Julia Studio I received this message in the Output Console window: ERROR: package directory

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

2014-10-08 Thread Hans W Borchers
If calculating the nodes and weights is the bottleneck, another suggestion might be on spot: Sometimes Clenshaw-Curtis is considered to be faster than Gauss-Legendre as it computes nodes and weights using the Fast Fourier Transform (FFT). In my own tests some time ago (not in Julia at that

Re: [julia-users] How do Julia view the complete array ? ( not just the first and last lines...)

2014-10-08 Thread Paul Analyst
Big Thx, W dniu 2014-10-08 o 12:18, Keith Campbell pisze: As Jacob suggested, if you load your data into a DataFrame and showall() on that, you should get a nicer display.

[julia-users] pkg.julialang.org

2014-10-08 Thread Dan Luu
As far as I can tell, pkg.julialang.org is down. Is there some alternative way of browsing packages while it's down and/or has it move somewhere else? Pkg.available() is a bit terse for me.

[julia-users] DataFrame groupby error

2014-10-08 Thread Frederico Novaes
Hi, I have a DataFrame with 10 columns, say :c1 to :c10. I need to do a groupby, grouping by 4 of these columns. When I try, $ groupby(df,[:c1,:c3,:c4,:c7]) I get the following error: MemoryError() while loading In[13], in expression starting on line 1 in groupsort_indexer at

[julia-users] Re: pkg.julialang.org

2014-10-08 Thread Ariel Keselman
all of julialang.org seems down

[julia-users] Re: pkg.julialang.org

2014-10-08 Thread Ivar Nesje
It's up for me in Norway. kl. 21:43:08 UTC+2 onsdag 8. oktober 2014 skrev Ariel Keselman følgende: all of julialang.org seems down

Re: [julia-users] Re: pkg.julialang.org

2014-10-08 Thread Dan Luu
Interesting. julialang.org is up for me, but pkg.julialang.org is down for me and downforeveryoneorjustme.com also shows it as down. On Wed, Oct 8, 2014 at 2:49 PM, Ivar Nesje iva...@gmail.com wrote: It's up for me in Norway. kl. 21:43:08 UTC+2 onsdag 8. oktober 2014 skrev Ariel Keselman

Re: [julia-users] pkg.julialang.org

2014-10-08 Thread Stefan Karpinski
This is a DNS issue. I was just on the phone with 11 http://www.1and1.com/ which is the domain registrar I use and which provides DNS service for julialang.org. They're having some name server issue and the name servers that are responsible for julialang.org aren't responding to DNS requests and

Re: [julia-users] Re: pkg.julialang.org

2014-10-08 Thread Stefan Karpinski
This all depends on your upstream DNS servers and whether they have these A records cached or not. So everyone's going to see different stuff. On Wed, Oct 8, 2014 at 3:49 PM, Ivar Nesje iva...@gmail.com wrote: It's up for me in Norway. kl. 21:43:08 UTC+2 onsdag 8. oktober 2014 skrev Ariel

Re: [julia-users] Re: pkg.julialang.org

2014-10-08 Thread Dan Luu
FWIW, I've had a good experience with Gandi and they generally have a pretty good reputation (I switched to them because of some HN thread where someone polled people for their experience with DNS providers, and they had the most positive responses). On Wed, Oct 8, 2014 at 2:50 PM, Stefan

Re: [julia-users] Re: pkg.julialang.org

2014-10-08 Thread Stefan Karpinski
I like their trademarked tagline: no bullshit™. On Wed, Oct 8, 2014 at 3:57 PM, Dan Luu dan...@gmail.com wrote: FWIW, I've had a good experience with Gandi and they generally have a pretty good reputation (I switched to them because of some HN thread where someone polled people for their

Re: [julia-users] PPA for Ubuntu 14.04 (Trusty Tahr)

2014-10-08 Thread Helios De Rosario
Hi again, I saw that the 0.3.1 version of Julia was already available to install from the juliareleases repository, and tried to install it. But when I start Julia now it crashes. It generates a core file and suggests sending a report (I accepted). Somebody else has experienced this? I am using

Re: [julia-users] PPA for Ubuntu 14.04 (Trusty Tahr)

2014-10-08 Thread K Leo
On Xubuntu 14.04 64, it seems to work fine: _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type help() for help. | | | | | | |/ _` | | | | |_| | | | (_| | |

[julia-users] 64 bit system: Force Float default to Float32

2014-10-08 Thread Hubert Soyer
Hello everybody, I have just implemented my first project in Julia on a 64 bit system. I re-implemented a C program and even after optimizing my code using the profiler I can only reach roughly half of its speed. Most of the CPU time is spend in methods from the Base.LinAlg.BLAS module. Playing

[julia-users] Re: 64 bit system: Force Float default to Float32

2014-10-08 Thread Patrick O'Leary
On Wednesday, October 8, 2014 7:58:19 PM UTC-5, Hubert Soyer wrote: Since I am on a 64 bit system, every float that I directly specify (x = 1.0) will be a Float64 by default, and therefore, converting every float variable to Float32 will mess up my code considerably. From reading the

[julia-users] JUNO: Couldn't Connect to Julia

2014-10-08 Thread Thomas Moore
I've been trying to get Juno to work (a Julia plugin for Light Table), but after following the installation instructions on their website http://junolab.org/docs/installing.html I end up getting the following error, both on startup and when attempting to execute Julia commands: Couldn't

Re: [julia-users] 64 bit system: Force Float default to Float32

2014-10-08 Thread Pontus Stenetorp
On 9 October 2014 09:58, Hubert Soyer hubert.so...@gmail.com wrote: Is there any way to make floats in Julia default to 32 bit on a 64 bit system? At least in a lot of my work 32 bit precision is just fine and the speed I could potentially gain by simply switching is enormous. I think

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

2014-10-08 Thread Spencer Lyon
Florian, this sounds very cool. I'll keep my eye on it and check it out when you feel it is more ready to go. Thanks for letting me know about it. On Monday, October 6, 2014 12:08:02 PM UTC-4, Florian Oswald wrote: If I may, I've got an implementation of linear interpolation that I'm quite

[julia-users] JUNO: Couldn't Connect to Julia

2014-10-08 Thread Ivar Nesje
The errors seem to be due to breaking changes on the master branch. You'll either have to help the relevant package authors stay compatible, wait until someone else fixes the problem, or use one of the 0.3.X versions. How did you install Julia?