[julia-users] Julia vs Seed7, why languages succeed or fail

2016-10-05 Thread Páll Haraldsson
A. I just [re?]discovered Seed7 language, one of the few languages with multiple dispatch, also extensible (not though macros). https://groups.google.com/forum/#!topic/comp.programming/_C08U8t4dRg "Seed7 has more then 90 libraries now." [in 2013, after 7 years] They hit Top100 (93? top) on TIOB

[julia-users] REPL sometimes really slow in 0.5

2016-10-06 Thread Páll Haraldsson
Has anyone noticed, for such simple stuff as: a=[1,2,3,1] [something like 10 seconds, but yes, instantly after closing Julia and opening again.] just now in Version 0.5.0-rc4+0 Yes, I do have something else running (a web browser, Firefox, always at 100% CPU..). I ignored this the first tim

Re: [julia-users] Julia vs Seed7, why languages succeed or fail

2016-10-06 Thread Páll Haraldsson
You both have excellent responses, I'm just commenting on those in case people find interesting and/or want to compare and contract with Seed7 or other languages. Can anyone look at Julia (and Seed7) at: https://en.wikipedia.org/wiki/Comparison_of_programming_languages confirm info is correct,

Re: [julia-users] REPL sometimes really slow in 0.5

2016-10-06 Thread Páll Haraldsson
machine I got..] > On Thu, Oct 6, 2016 at 9:29 AM, Páll Haraldsson > wrote: > >> Has anyone noticed, for such simple stuff as: >> >> a=[1,2,3,1] >> >> [something like 10 seconds, but yes, instantly after closing Julia and >> opening again.] >> &

[julia-users] Re: julz: a command line utility for creating scalable Julia applications

2016-10-06 Thread Páll Haraldsson
On Thursday, October 6, 2016 at 2:12:21 PM UTC, Dan Segal wrote: > > *Code* > >- github repo: https://github.com/djsegal/julz >- (see readme.rst as well as included dummy Julia project) > > *Summary* > > Julz is a command line utility for creating ambitious Julia applications. > I see you

[julia-users] Re: Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Páll Haraldsson
On Saturday, October 8, 2016 at 10:23:00 AM UTC, Femto Trader wrote: > > Hello, > > my main development environment is under Mac OS X > but I'm looking for a Linux distribution (that I will run under VirtualBox) > that have Julia 0.5.0 support (out of the box) > > Even Debian Sid is 0.4.7 (October

[julia-users] New SPEC - open to Julia[applications]?

2016-10-08 Thread Páll Haraldsson
https://www.spec.org/cpuv6/ It would be cool (and publicity) if Julia would make it into SPEC version 6. Anyway, might be of interest to people here. SPEC used C or Fortran last I looked, I see only references to "languages", "C/C++" and "portable": https://www.spec.org/cpuv6/ "SPEC holds to

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

2016-10-08 Thread Páll Haraldsson
On Monday, September 26, 2016 at 1:59:15 PM UTC, David Smith wrote: > > Hi, Isaiah. This is a valid question. > > 0. As a preface, I'd like to say I'm not trying to replace anything. I > wrote RawArray to solve a problem we have in magnetic resonance imaging > (quickly saving and loading large

[julia-users] Re: New SPEC - open to Julia[applications]?

2016-10-10 Thread Páll Haraldsson
On Saturday, October 8, 2016 at 7:31:47 PM UTC, Chris Rackauckas wrote: > > From your second link: > > >>- Submissions for the first step in the search program will be >>accepted by SPEC beginning 11 November 2008 and ending 30 June 2010 >> (11:59 >>pm, Pacific Standard Time). >> >>

[julia-users] Re: New SPEC - open to Julia[applications]?

2016-10-10 Thread Páll Haraldsson
On Monday, October 10, 2016 at 2:09:01 PM UTC, Páll Haraldsson wrote: > In case they update again.. and allow Julia later > This could happen, there's a precedent for one "dynamic" language (seem no longer in later versions of SPEC): https://www.spec.org/cpu2000/CINT2000

[julia-users] Julia Unicode (UTF-8) support (vs. Perl..); Also includes humourous, educational, list (part of, adviced to read all if you program [in Perl]..)

2016-10-12 Thread Páll Haraldsson
I'm aware of UTF-8 only in Julia 0.5 and LegacyEncodings.jl (and some of the proposed changes in 0.6, still I think only for basic UTF-8 support, not full Unicode, e.g. collation). [What/which language would have gold-standard Unicode (UTF-8) support, if not Perl; Rust (or Go)? Julia? Pytho

[julia-users] What is really "big data" for Julia (or otherwise), 1D or multi-dimensional?

2016-10-12 Thread Páll Haraldsson
I'm thinking of a new algorithm for Julia.. I'm most concerned, about how much needs to fit in *RAM*, and curious what is considered big, in RAM (or not..). A. For 2D (or more), dense or sparse (including non-square), is at most a 2 billion for any highest dimensional a big limit? Note for squ

[julia-users] Re: What is really "big data" for Julia (or otherwise), 1D or multi-dimensional?

2016-10-13 Thread Páll Haraldsson
file systems before 64-bit [x86] CPUs, so bitness of CPU doesn't (didn't, yes better(?) fro memory mapped I/O..) have to align with big files (and we already have 128-bit ZFS is 278 but individual files are still limited to 64-bit). > > ~ cdm > > > On Wednesday, October 12,

[julia-users] Re: Julia and the Tower of Babel

2016-10-13 Thread Páll Haraldsson
On Friday, October 7, 2016 at 3:35:46 PM UTC, Gabriel Gellner wrote: > `atol/rtol` versus > > `abstol/reltol` versus `abs_tol/rel_tol` > For the latter "versus" at least (and other examples), this would be solved by style-insensitivity, as in Nimrod (or Nim) language, the only one I've hea

Re: [julia-users] Re: Julia and the Tower of Babel

2016-10-13 Thread Páll Haraldsson
On Sunday, October 9, 2016 at 9:59:12 AM UTC, Michael Borregaard wrote: > > > So when I came to julia I was struck by how structured the package > ecosystem appears to be, yet, in spite of the micropackaging. [..] I think > there are a number of reasons for this difference, but I also believe tha

[julia-users] Re: How do I move an array of strings from C to Julia?

2016-10-13 Thread Páll Haraldsson
On Wednesday, October 12, 2016 at 4:19:17 PM UTC, Michael Eastwood wrote: > > So what is the best way to get an array of strings from C back into Julia? > I want Julia to take ownership of the memory. Do I need to query the length > of each string ahead of time? > I'm kind of guessing here, but

[julia-users] Re: How do I move an array of strings from C to Julia?

2016-10-13 Thread Páll Haraldsson
rays, allocated in Julia and C/C++ (and some other languages, Fortran, Haskell(?)) as one allocation, e.g. true multidimensional arrays. Julia does them however better than C for other reasons. On Thursday, October 13, 2016 at 12:39:21 PM UTC, Páll Haraldsson wrote: > > On Wednesday

[julia-users] Re: canonical binary representation for Array

2016-10-13 Thread Páll Haraldsson
RawArray.jl (or alternatives..) may be what you need, at least helpful/informative discussion (and looking at code, maybe telling you what you need to know): https://groups.google.com/forum/#!searchin/julia-users/rawarray%7Csort:relevance/julia-users/ulkiPhGcv-0/TqyX8g9LBwAJ On Thursday, Octob

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

2016-10-13 Thread Páll Haraldsson
[Explaining more, and correcting typo..] On Sunday, October 9, 2016 at 12:04:35 AM UTC, Páll Haraldsson wrote: > FLIF is not a replacement for all uses (multidimensional, would be > interesting to know if could to be extended to..), but seem to be the best > option for non-lo

[julia-users] return Bool [and casting to Bool]

2016-10-14 Thread Páll Haraldsson
It's great to see explicit return types in the language as of 0.5. About return [or it's implicit nature, I only read about half as very long..]: https://groups.google.com/forum/#!topic/julia-users/4RVR8qQDrUg Disallowinging implicit return, would be a breaking change. Is there some room fo

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

2016-10-14 Thread Páll Haraldsson
On Thursday, October 13, 2016 at 6:00:30 PM UTC, Tim Holy wrote: > > If you just want a raw dump of memory, you can get that, and if it's big > it uses `Mmap.mmap` when it reads the data back in. So you can read > terabyte-sized arrays. > [Not clear on mmap.. just a possibility, kind or requirem

[julia-users] Re: What is really "big data" for Julia (or otherwise), 1D or multi-dimensional?

2016-10-14 Thread Páll Haraldsson
On Thursday, October 13, 2016 at 7:49:51 PM UTC, cdm wrote: > > from CloudArray.jl: > > "If you are dealing with big data, i.e., your RAM memory is not enough to > store your data, you can create a CloudArray from a file." > > > https://github.com/gsd-ufal/CloudArray.jl#creating-a-cloudarray-f

[julia-users] Re: eachline() work with pmap() is slow

2016-10-14 Thread Páll Haraldsson
On Friday, October 14, 2016 at 3:45:36 AM UTC, love...@gmail.com wrote: > > I want to process each line of a large text file (100G) in parallel using > the following code > > pmap(process_fun, eachline(the_file)) > > however, it seems that pmap is slow. following is a dummy experiment: > >

[julia-users] linspace question; bug?

2016-10-14 Thread Páll Haraldsson
I mistook third param for step, and got confusing error: julia> linspace(1, 2, 1) ERROR: linspace(1.0, 2.0, 1.0): endpoints differ in linspace(::Float64, ::Float64, ::Float64) at ./range.jl:212 in linspace(::Float64, ::Float64, ::Int64) at ./range.jl:251 in linspace(::Int64, ::Int64, ::Int64)

Re: [julia-users] Most effective way to build a large string?

2016-10-14 Thread Páll Haraldsson
On Friday, October 14, 2016 at 5:17:45 PM UTC, Diego Javier Zea wrote: > > Hi! > I have a function that uses `IOBuffer` for this creating one `String` like > the example. > Is it needed or recommended `close` the IOBuffer after `takebuf_string`? > I find it unlikely. help?> takebuf_string sear

Re: [julia-users] Most effective way to build a large string?

2016-10-14 Thread Páll Haraldsson
On Friday, October 14, 2016 at 10:44:47 PM UTC, Páll Haraldsson wrote: > > On Friday, October 14, 2016 at 5:17:45 PM UTC, Diego Javier Zea wrote: >> >> Hi! >> I have a function that uses `IOBuffer` for this creating one `String` >> like the example. >> Is

Re: [julia-users] linspace question; bug?

2016-10-14 Thread Páll Haraldsson
2016-10-14 22:58 GMT+00:00 Stefan Karpinski : > I'll answer your question with a riddle: How can you have a length-one > collection whose first and last value are different? > I know that; yes, it's a degenerate case, and as I said "may not matter too much" [Nobody makes a one element linspace i

[julia-users] Some questions on array comprehensions; e.g. disabling bounds checking possible? And correct way for non-1-based

2016-10-16 Thread Páll Haraldsson
I was prototyping: julia> a=[1,2,3,1,2] julia> b=[a[i] b=[@inbounds a[i] b=[(@inbounds (a[i]

[julia-users] Re: eachline() work with pmap() is slow

2016-10-16 Thread Páll Haraldsson
On Saturday, October 15, 2016 at 2:54:53 AM UTC, love...@gmail.com wrote: > > I have change the code to parallel on files rather than lines. codes are > available here > if > anyone have interests. > However, the speed is not

[julia-users] Re: eachline() work with pmap() is slow

2016-10-16 Thread Páll Haraldsson
On Sunday, October 16, 2016 at 5:57:49 PM UTC, Páll Haraldsson wrote: > > > > On Saturday, October 15, 2016 at 2:54:53 AM UTC, love...@gmail.com wrote: >> >> @Páll, do you mean that pmap will first do a ``collect`` operation, >> > > yes and no.. > Should

Re: [julia-users] Some questions on array comprehensions; e.g. disabling bounds checking possible? And correct way for non-1-based

2016-10-16 Thread Páll Haraldsson
On Sunday, October 16, 2016 at 4:54:45 PM UTC, Yichao Yu wrote: > > > > On Sun, Oct 16, 2016 at 12:01 PM, Páll Haraldsson > wrote: > >> >> I was prototyping: >> >> julia> a=[1,2,3,1,2] >> >> julia> b=[a[i]> 4-element Array{B

[julia-users] Re: ImageView very slow

2016-10-16 Thread Páll Haraldsson
On Sunday, October 16, 2016 at 4:45:00 PM UTC, Paul B. wrote: > into some issues with deprecated functionality > I think they can make slower, not sure if by this much. I see: "fix julia 0.5 deprecations 19 days ago" Maybe if you update the package this will be ok?

[julia-users] Re: I am getting a stack over flow error when using the optimize function from Optim package

2016-10-21 Thread Páll Haraldsson
On Friday, October 21, 2016 at 1:50:13 PM UTC, SajeelBongale wrote: > > > *This is my cost function:* > "This function calculates the cost and gradient at a given theta" > function costFunction( initial_theta,X, y) > I find it likely, this should go to julia-opt. See: http://julialang.org/communi

Re: [julia-users] Re: canonical binary representation for Array

2016-10-21 Thread Páll Haraldsson
On Wednesday, October 19, 2016 at 7:03:49 AM UTC, Michele Zaffalon wrote: > > On Thursday, October 13, 2016 at 3:38:36 PM UTC+2, Steven G. Johnson wrote: >> >> write on a numeric array will output the raw bytes, i.e. Column-major >> data in the native byte order. >> >> >> Would it be a reasonab

[julia-users] Re: Call Julia from Pyspark

2016-11-04 Thread Páll Haraldsson
I'm not sure this is helpful but could you use?: https://github.com/dfdx/Spark.jl css.csail.mit.edu/6.824/2014/projects/dennisw.pdf I'm not familiar with PySpark or the above, so I'm not sure what the problem with scalability is or if this helps.. On Thursday, November 3, 2016 at 1:45:31 AM U

[julia-users] Re: Recursive data structures with Julia

2016-11-04 Thread Páll Haraldsson
On Thursday, October 27, 2016 at 2:03:27 PM UTC, Ángel de Vicente wrote: > > Hi, > > I've been trying to implement some code to build Binary Search Trees. Is this a genuine need or an exercise? I quickly looked at Datastructures.jl: "The containers internally use a 2-3 tree, which is a kind of

[julia-users] Re: ANN: new blog post on array indexing, iteration, and multidimensional algorithms

2016-11-07 Thread Páll Haraldsson
On Monday, February 1, 2016 at 6:55:06 PM UTC, Tim Holy wrote: > > This new blog post > > http://julialang.org/blog/2016/02/iteration/ For others to know, it's http://julialang.org/blog/2016/02/iteration without the / Should servers ignore extra / ? Do some?

[julia-users] Julia 0.5.0 together with Codec.jl (Base64) slower than on 0.4.5

2016-11-08 Thread Páll Haraldsson
I was running [not my code..]: https://github.com/kostya/benchmarks/blob/master/base64/test.jl [and looking into why Base64-benchmark was slower than in Ruby.. and then even slower under 0.5] and lines 12, 13 and 21 (e.g. here add 2 to what profile says) seem predictable slow. A. Why is i

Re: [julia-users] Multiple dispatch algorithm.

2016-11-08 Thread Páll Haraldsson
On Friday, November 4, 2016 at 8:05:30 PM UTC, Matt Bauman wrote: > > I posted an answer to this a year ago on Stack Overflow: > http://stackoverflow.com/a/32148113/176071 > Thanks. I see "so it's just a linear search to check if the type of the argument tuple is a subtype of the signature. So

[julia-users] Is something interesting happening with Julia pulse; 0.6 breaking changes?

2016-11-25 Thread Páll Haraldsson
http://pkg.julialang.org/pulse.html Not only red dipped a lot, also blue (0.4) (and black (0.5)) for a while.. [Red there may not be the best color, while I understand to be 0.6, not 0.2..] Anyway, I was just looking since I saw tests for both versions, currently, failing for: https://gith

[julia-users] Re: Running octave scrips from julia

2015-02-10 Thread Páll Haraldsson
Since it should be possible to call any Python module, I'm not sure there is much benefit to be able to call Octave directly. Except maybe: There is a way to call MATLAB directly (and back) that doesn't involve Python (I think). I haven't looked too much into it as I do not have to do this per

Re: [julia-users] Int and Float

2015-02-10 Thread Páll Haraldsson
On Monday, February 9, 2015 at 10:22:52 PM UTC, Jiahao Chen wrote: > > > It would be somewhat overkill to define foo(maxiter::Integer) as Julia > will generate not only the method foo(::Int), but also foo(::Int8), > foo(::BigInt) and so on for each subtype of Integer. > Is this for sure true? I

[julia-users] Getting people to switch to Julia - tales of no(?) success

2015-03-04 Thread Páll Haraldsson
Hi, Have you guys tried to influence others to use Julia, and failed, for research or teaching and/or production? What has been your best argument(s) (or the most difficult counter-argument)? Do people just have to discover Julia at their own pace? Note, I have convinced myself, *I* would use

[julia-users] Re: Getting people to switch to Julia - tales of no(?) success

2015-03-04 Thread Páll Haraldsson
On Wednesday, March 4, 2015 at 2:20:38 PM UTC, Iain Dunning wrote: > > I guess I (or rather, we) have had disproportional success recruiting new > Julia users. > You may have one more user.. >[your competion] "either proprietary or slow" I forget the name of the package our professor used but y

Re: [julia-users] Re: Getting people to switch to Julia - tales of no(?) success

2015-03-05 Thread Páll Haraldsson
On Wednesday, March 4, 2015 at 4:52:43 PM UTC, Tamas Papp wrote: > > Even outside stats, Julia is a moving target, with nontrivial changes in > syntax and semantics in the core language, and large changes in library > code. > I'm getting some mixed signals on this.. [regarding the core languag

[julia-users] Re: Getting people to switch to Julia - tales of no(?) success

2015-03-05 Thread Páll Haraldsson
On Thursday, March 5, 2015 at 2:52:06 PM UTC, Daniel Carrera wrote: > > > > On Wednesday, 4 March 2015 14:19:39 UTC+1, Páll Haraldsson wrote: >> >> 2. A friend, [..] Says MATLAB is standard in the scientific world, what >> you use when publishing articles.. Also isn

[julia-users] FUI: Go and GXUI cross platform GUI

2015-03-23 Thread Páll Haraldsson
Just out of curiosity, could Julia support GXUI? That is, can Julia (already) call Go that it is written in? https://news.ycombinator.com/item?id=9228099 Since GXUI is from Google, I assume they support Android. And since "cross platform" at least Windows. Would be great if this helped somehow

[julia-users] Re: Online Database + IDE for Julia

2015-03-27 Thread Páll Haraldsson
[I just want to say good luck with your system and it seems it would be useful. Still, I do not think Julia's success depends on it. It would only help it to be that much more powerful than other languages. Maybe it would also work with other languages?] What you say is also my feeling (and co

[julia-users] Out-of-memory errors

2015-04-30 Thread Páll Haraldsson
In 0.3.5. julia> @time sum(rand(1)) ERROR: MemoryError() in rand at random.jl:123 julia> gc() julia> @time sum(rand(1)) elapsed time: 4.127246913 seconds (80168 bytes allocated, 0.83% gc time) 4.999858681707974e7 julia> gc() julia> @time sum(rand(10)) # ten time m

[julia-users] Performance variability - can we expect Julia to be the fastest (best) language?

2015-04-30 Thread Páll Haraldsson
Hi, [As a best language is subjective, I'll put that aside for a moment.] Part I. The goal, as I understand, for Julia is at least within a factor of two of C and already matching it mostly and long term beating that (and C++). [What other goals are there? How about 0.4 now or even 1.0..?] W

[julia-users] Re: .jl to .exe

2015-04-30 Thread Páll Haraldsson
[People answered literally.] As answered, "cross-compile" no, but is it really a problem? You would just install Julia on Windows (and Mac OS X, etc.) and compile from there. I assume it's possible in this indirect way to cross-compile in any direction. I assume the script works on all platform

[julia-users] Re: .jl to .exe

2015-04-30 Thread Páll Haraldsson
> > A Windows license - I assume you could use Wine. > I wasn't clear for those who do not know Wine. It's a way to not have to have a Windows license. It helps you run Windows software on Linux (and Mac OS X I think). It can't handle all software. I think it should handle Julia (didn't check)

Re: [julia-users] Re: Performance variability - can we expect Julia to be the fastest (best) language?

2015-04-30 Thread Páll Haraldsson
too. > As far as I know, Python interpret does some mysterious optimizations. For > example `(x**2)**2` is 100x faster than `x**4`. > > > > > On Thursday, April 30, 2015 at 9:58:35 PM UTC+2, Páll Haraldsson wrote: >> >> >> Hi, >> >> [As a best lang

Re: [julia-users] Re: Performance variability - can we expect Julia to be the fastest (best) language?

2015-04-30 Thread Páll Haraldsson
ll win on string processing... esp. with Python 3... I > quickly ran into things that were > 800x faster in Python... > (I hope to help change that though!) > > Scott > > On Thursday, April 30, 2015 at 6:01:45 PM UTC-4, Páll Haraldsson wrote: >> >> I wouldn't e

Re: [julia-users] Re: Performance variability - can we expect Julia to be the fastest (best) language?

2015-04-30 Thread Páll Haraldsson
ions. > I would also like to know why poorly written Julia code sometimes performs > worse than similar python code, especially when tuples are involved. Did > you say it was fixed? > > On Thursday, April 30, 2015 at 9:58:35 PM UTC+2, Páll Haraldsson wrote: > >> >> Hi, &

[julia-users] Re: [ANN] DecFP.jl - decimal floating-point math

2015-04-30 Thread Páll Haraldsson
[Thanks for this addition..! I've been putting this off as I didn't really need this personally. Just Wrapped PyDecimal as an exercise..] As far as I know, numbers in JSON are defined to be binary floating point.. (as that is what JavaScript only has) but allowed to be taken otherwise or someth

[julia-users] Re: [ANN] DecFP.jl - decimal floating-point math

2015-04-30 Thread Páll Haraldsson
"In general, you should be able to use the DecFP types in any context where you would have used binary floating-point types: arrays, complex arithmetic, and linear algebra should all work, for the most part." Way better than what I was going for - I thought only +, -, *, / was needed and maybe

[julia-users] Re: [ANN] DecFP.jl - decimal floating-point math

2015-04-30 Thread Páll Haraldsson
li. On Thursday, April 30, 2015 at 11:56:28 PM UTC, Páll Haraldsson wrote: > > "In general, you should be able to use the DecFP types in any context > where you would have used binary floating-point types: arrays, complex > arithmetic, and linear algebra should all work, for th

[julia-users] Re: [ANN] DecFP.jl - decimal floating-point math

2015-04-30 Thread Páll Haraldsson
On Thursday, April 30, 2015 at 11:56:28 PM UTC, Páll Haraldsson wrote: > > "In general, you should be able to use the DecFP types in any context > where you would have used binary floating-point types: arrays, complex > arithmetic, and linear algebra should all work, for the mo

Re: [julia-users] Re: Performance variability - can we expect Julia to be the fastest (best) language?

2015-05-02 Thread Páll Haraldsson
2015-05-01 16:42 GMT+00:00 Steven G. Johnson : > > In Julia, Ruby, Java, Go, and many other languages, concatenation > allocates a new string and hence building a string by repeated > concatenation is O(n^2). That doesn't mean that those other languages > "lose" on string processing to Python, i

Re: [julia-users] Re: Julia and Microsoft Visual Studio

2015-05-09 Thread Páll Haraldsson
On Monday, December 1, 2014 at 7:39:20 PM UTC, David Anthoff wrote: > > The Python Tools for Visual Studio are developed by MS, but are completely > open source, so I guess one might be able to get all the info on how to > develop a new language plugin for VS from that code. > I'm NOT saying we

Re: [julia-users] Re: Performance variability - can we expect Julia to be the fastest (best) language?

2015-05-09 Thread Páll Haraldsson
On Friday, May 1, 2015 at 5:23:40 PM UTC, Steven G. Johnson wrote: > > On Friday, May 1, 2015 at 1:12:00 PM UTC-4, Steven Sagaert wrote: >> >> That wasn't what I was saying. I like the philosophy behind julia. But in >> practice (as of now) even in julia you still have to code in a certain >> st

[julia-users] Biggest Julia program so far?

2015-05-13 Thread Páll Haraldsson
I'm thinking how well Julia scales up. I would think very well.. Doesn't have to be math code.. I think much of your (average) scientist Julia (and Fortran?) code (so far..) is small. There might, however, be much of complexity in it.. [McCabe's cyclomatic complexity maybe..? Function points..?

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

2015-05-13 Thread Páll Haraldsson
On Tuesday, May 12, 2015 at 9:03:37 AM UTC, Viral Shah wrote: > > I think this is a great idea. We will add our commitment to open source > Julia to the website. > I for one am not worried. I can at least see both sides, it's good that there is a company/consulting to point to. Playing devil's

Re: [julia-users] Suspending Garbage Collection for Performance...good idea or bad idea?

2015-05-13 Thread Páll Haraldsson
On Monday, May 11, 2015 at 10:03:20 PM UTC, Michael Louwrens wrote: > > I am starting to read "Region-Based Memory Management for a > Dynamically-Typed Language > " it > proposes a second inference system, region inference. > In

Re: [julia-users] Biggest Julia program so far?

2015-05-13 Thread Páll Haraldsson
On Wednesday, May 13, 2015 at 4:32:01 PM UTC, Tim Holy wrote: > > No clue how this fares, but my lab has a code base of approximately 35k > lines > if you include tests. This does not include documentation, nor does it > include > any packages. > Thanks, Anyone want to "raise"? :) Now, that

Re: [julia-users] Access Windows registry from Julia?

2015-05-13 Thread Páll Haraldsson
Note it may be an optional package. It's a question what version of Windows you/Julia wants to support.. Not optional in all but Windows Server 2008 and EOLed XP (pre-SP2) that you still may want to support (or just document)? Just checked on Wikipedia: "PowerShell 1.0 was released in 2006 fo

[julia-users] Why does language X beat Julia?

2015-05-15 Thread Páll Haraldsson
Do I need to be worried? My guess is 0.4 might be faster and maybe already be faster in all the cases below (do you know?): From: http://julialang.org/ mandel: Julia 0.87 Lua 0.71 Java 0.68 [Interesting that all beat C (I guess C *could* match all languages..).] fib ("doubly recursive") Julia

[julia-users] What would be a good complementary language to Julia?

2015-05-15 Thread Páll Haraldsson
To answer my own question, I think Rust might be it (for manual memory management/"secure"): http://blog.rust-lang.org/2015/04/03/Rust-1.0-beta.html "The final Rust 1.0 release is scheduled for May 15th" - today. There probably will not be any official "complementary language". I'm aware of PyC

Re: [julia-users] Biggest Julia program so far?

2015-05-15 Thread Páll Haraldsson
On Thursday, May 14, 2015 at 2:35:09 PM UTC, Stefan Karpinski wrote: > > I've seen a few proprietary code bases that are 2-3x that big, which is > not huge, but pretty substantial. I suspect that not many Julia code bases > have had time to grow much larger than that. I think that this is large

[julia-users] Re: Julia in IBM Power7 using OS IBM AIX

2015-05-15 Thread Páll Haraldsson
On Wednesday, May 13, 2015 at 10:45:12 PM UTC, Pedro Rafael wrote: > > The problem is that architecture is new to me. > Not sure that is the only problem.. But (soon?) fixed. > This computer runs the IBM AIX operating system. > Julia works on Linux, Windows and OS X - officially. There are m

[julia-users] Documentation to 0.4 missing and more

2015-05-15 Thread Páll Haraldsson
I was going to look up pipe. In 0.3 it can't be found (I guess |> can). I used to be able to go to 0.4 (a thingy in the down-left corner, that is now missing). I'm not saying pipe, etc. should be in 0.3 docs (or maybe 0.4 things clearly marked?), but shouldn't Compat.jl be there: http://docs.j

Re: [julia-users] What would be a good complementary language to Julia?

2015-05-15 Thread Páll Haraldsson
On Friday, May 15, 2015 at 12:53:07 PM UTC, Isaiah wrote: > > Topics on the Julia mailing lists should generally be concrete and > focused. Questions about actual Julia usage are always welcomed, but there > are many other, more suitable venues on the internet for > open-ended/speculative discus

[julia-users] Re: Why does language X beat Julia?

2015-05-15 Thread Páll Haraldsson
On Friday, May 15, 2015 at 4:39:33 PM UTC, Kuba Roth wrote: > > Awesome answer! You answer is awesome too. > I too agree bringing up these numbers have little sense, at least form the > perspective of solving "real world" problems. Julia has much more to offer > then raw speed. > So if i we

[julia-users] Re: Julia Summer of Code

2015-05-17 Thread Páll Haraldsson
I saw an interesting project: https://github.com/JuliaLang/julialang.github.com/blob/master/gsoc/2015/index.md#project-simple-persistent-distributed-storage "This project proposes to implement a very simple persistent storage mechanism for Julia variables so that data can be saved to and loaded f

[julia-users] Julia #111th most popular

2015-05-19 Thread Páll Haraldsson
[Sadly, the popularity number is not in binary.] I'm not sure I should be quoting a private e-mail in public (but doesn't seems sensitive). It basically says, going by last months jump, should hit top 100 after two months. I didn't think "they" where tracking Julia since it hasn't hit top 100,

[julia-users] Re: Julia Summer of Code

2015-05-19 Thread Páll Haraldsson
On Sunday, May 17, 2015 at 3:30:49 PM UTC, Páll Haraldsson wrote: > > > I saw an interesting project: > > https://github.com/JuliaLang/julialang.github.com/blob/master/gsoc/2015/index.md#project-simple-persistent-distributed-storage > "This project proposes to implement a

Re: [julia-users] Julia #111th most popular

2015-05-19 Thread Páll Haraldsson
On Tuesday, May 19, 2015 at 4:55:22 PM UTC, Stefan Karpinski wrote: > > It's unclear what ranking you're referring to here. > Certainly not, by most interesting language. :) The guys who rank language never do. I just want Julia to get the recognition it deserves. When it hits this list more peo

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

2015-05-28 Thread Páll Haraldsson
I've noticed: "I guess we can announce alpha support for arm in 0.4 as well." (and the other thread on Julia on ARM). Now, Android runs on x86 (already covered, then if you have that kind of device, no need to wait for ARM support), ARM, and MIPS (actually do not know of a single device that u

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

2015-05-29 Thread Páll Haraldsson
if everything comes along really great, we might be able to > use Julia as a foundation for a terrific, high performance, > GUI/Visualization library, which runs everywhere LLVM can spit out assembly > for. > > > Am Donnerstag, 28. Mai 2015 16:17:08 UTC+2 schrieb Páll Haraldsson

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

2015-05-29 Thread Páll Haraldsson
And extending it can be done by Julia programmers easily, so we would have > more freedom to evolve the GUI ecosystem in our way, specialized for Julia > and scientific computing. > > Some trivia you might be interested in (to support..): http://www.androidcentral.com/you-can-now-buy-

[julia-users] Re: Does union() imply worse performance?

2015-05-29 Thread Páll Haraldsson
I'm pretty sure yes. And it seems like a little strange thing to do.. You can use the code_native function to see the code and I did something wrong so I'm not sure I confirmed, but you could try out with and without bool (and Union). If you get lots of code then the length (longer) should be a

[julia-users] [Specification of Julia]'s GC - pointers into middle of arrays ok?

2015-06-06 Thread Páll Haraldsson
Hi, [General issue on specification [promise] in B.] A. [Are all allocations in Julia cache-line aligned (or at least 32-byte aligned, that is the common size)? I'm not asking for a specification of 32-byte aligned or whatever the size of cache-line is, but a big/ger, appropriate for speed, al

[julia-users] Re: [Specification of Julia]'s GC - pointers into middle of arrays ok?

2015-06-06 Thread Páll Haraldsson
On Saturday, June 6, 2015 at 3:42:11 PM UTC, Matt Bauman wrote: > > You questions seem to be predominantly focused on arrays. The array > layout is very nicely specified (with lots of comments) here: > https://github.com/JuliaLang/julia/blob/01abdc3f2bc0e3611cf14aa331cdc6a10f0dfa0e/src/julia.h#L

[julia-users] Re: Announcement: Escher.jl - a toolkit for beautiful Web UIs in pure Julia

2015-06-09 Thread Páll Haraldsson
On Monday, June 8, 2015 at 4:23:21 PM UTC, Shashi Gowda wrote: > > My aim is to converge at a UI toolkit that any Julia programmer can use to > create rich interactive GUIs and deploy them over the web, *within > minutes*. > I see, world domination for Julia is getting a lot closer.. :) A. Whil

[julia-users] Integer overflows

2015-08-12 Thread Páll Haraldsson
I've seen Julia's non-checking of integer overflows questioned (and I know the answer/performance section (and BigInt alternative, that is just slow/overkill), and recall a discussion in the forums). Just now I noticed: https://github.com/JuliaLang/julia/issues/855 [for 1.0 milestone - after

[julia-users] Julia and databases abstraction (ORM/"Independence mismatch")

2015-08-12 Thread Páll Haraldsson
Hi, [As a database guy, that uses SQL (PostgreSQL); and not really object relational mapping (ORM) or recommending it.. or NoSQL. Or haven't used LINQ in C# (just vaguely familiar), I wander what the best way would be in Julia to access databases.] I know about the driver situation (most rece

[julia-users] Re: Julia as first programming language

2015-08-12 Thread Páll Haraldsson
On Wednesday, August 5, 2015 at 5:33:59 PM UTC, David Gold wrote: > > I've been learning Julia as my first programming language, if I don't > count the VB I learned in high school tech and the small amount of R I > learned to pass STAT 201. > > For me, Julia has been an excellent first first lan

[julia-users] Re: A cheat page for Julia

2015-08-20 Thread Páll Haraldsson
This is great! I've seen something similar, but not in a cheat sheet form this nice that I would print myself and hang on the wall (missing then hovering over or clicking that is nice) or recommend to do. Everything I can point to, book, free or not, especially for beginners or non-math people

Re: [julia-users] Re: A cheat page for Julia

2015-08-23 Thread Páll Haraldsson
Is Juno only an editor (I should try, but I haven't..) as you say. They say, "environment". Should you say IDE? If/when Julia adoption doubles, wee never know - maybe the cheat sheet helped a lot..:) To me Julia is good enough (an understatement) and people just have to know about it and have the

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

2015-08-27 Thread Páll Haraldsson
Julia issue, to > collect milestones and issues that need to get resolved in order to get > Julia to Android && IOS (&& Windows Phone). > > Am Donnerstag, 28. Mai 2015 16:17:08 UTC+2 schrieb Páll Haraldsson: >> >> >> I've noticed: "I guess w

[julia-users] Re: Protect Julia Code against reverse engineering / copying

2015-08-27 Thread Páll Haraldsson
I would also like to know an answer to this (that is, is my answer complete.. this would be an issue for many proprietary makers.. (and I hate for people to have excuses to not use Julia) say making games.. might be more of a deal-breaker to most, not whether Julia could actually work for [high

Re: [julia-users] Julia as scripting language for larger project

2015-08-27 Thread Páll Haraldsson
On Wednesday, August 26, 2015 at 5:17:06 PM UTC, Stefan Karpinski wrote: > > Is JavaScript actually easy to integrate with Java? > Not really..(?) up to recently. Java was just confused with JavaScript in the beginning. There is some new work, forget name, to get Java to work in a browser, with

[julia-users] Re: Julia as scripting language for larger project

2015-08-27 Thread Páll Haraldsson
On Wednesday, August 26, 2015 at 4:23:29 PM UTC, Fengyang Wang wrote: > > Hi, > > I learned Julia recently, and I must say it has been incredible for > scientific work. I am in love with the clean, modern syntax. Props to the > developers for their tireless efforts to improve this language even f

[julia-users] Re: Protect Julia Code against reverse engineering / copying

2015-08-27 Thread Páll Haraldsson
Strictly speaking, according to Stallman himself compilers do not affect the license of binary produced by a compiler. However, the the C library, that you usually incorporate, that is GPL, it would make the whole binary GPL, if it were not for the GPL exception used. I wander what would be tru

[julia-users] Trivia question: Quaternions (ℍ), Octonions (𝕆), Sedenions (𝕊) etc. numbers are not supported, but are the in libraries or needed? And complex, vs. in others, say MATLAB..

2015-08-28 Thread Páll Haraldsson
Mostly about math (that I do not know to well, this advanced, above complex numbers), just seems relevant to generic programming..: In e.g.: https://en.wikipedia.org/wiki/Complex_number in the template at the bottom: Real numbers and extensions: Real numbers (ℝ) Complex numbers (ℂ) Quaternions

[julia-users] Re: Trivia question: Quaternions (ℍ), Octonions (𝕆), Sedenions (𝕊) etc. numbers are not supported, but are the in libraries or needed? And complex, vs. in others, say MATLAB..

2015-08-28 Thread Páll Haraldsson
t 28, 2015 at 11:43:52 AM UTC, Kristoffer Carlsson wrote: > > I am confused, what is the question? > > You seem to generally write quite long posts and it is hard to understand > what the actual question is. > > Usually, a short, to the point, example followed with the ques

Re: [julia-users] How do you distribute your Julia projects?

2015-09-02 Thread Páll Haraldsson
I didn't check. Is this from the Wikipedia page then wrong (to you not get on package with the runtime and LLVM included?): In version 0.4,[24] a standalone "executable that do

Re: [julia-users] How do you distribute your Julia projects?

2015-09-02 Thread Páll Haraldsson
14:50, Isaiah Norton wrote: The executable produced by that script still links against libjulia, libLLVM, etc. (possibly statically on some platforms, but they are still required). On Wed, Sep 2, 2015 at 10:41 AM, Páll Haraldsson mailto:pall.haralds...@gmail.com>> wrote: I didn'

[julia-users] Re: Trivia question: Quaternions (ℍ), Octonions (𝕆), Sedenions (𝕊) etc. numbers are not supported, but are the in libraries or needed? And complex, vs. in others, say MATLAB..

2015-09-06 Thread Páll Haraldsson
On Friday, August 28, 2015 at 10:28:39 AM UTC, Andreas Lobinger wrote: > > >> that is the right thing. I wander what MATLAB does, since all numbers(?) >> are stored as complex. 0im special cased? >> > > yes. Only real part is compared, if you need abs(a) > abs(b) or similar. > I wander, since MAT

  1   2   3   >