[julia-users] Re: ANN: Book --- Julia Programming for Operations Research

2016-10-05 Thread mmh
I haven't read to book, but I just wanted to say lovely cover! Care to share some more details behind its origin and design. On Thursday, June 2, 2016 at 9:01:30 AM UTC-4, Chang Kwon wrote: > > I wrote a book on julia programming, focusing on optimization problems > from operations research and

Re: [julia-users] Simple test functions generates different codegen

2016-10-04 Thread mmh
lang looks similar, but it > appears to constant fold and reduce down to identical assembly at `-O1` and > above. The fact that Julia doesn't is probably due to difference in LLVM > optimization passes or order. > > As far as style, personally I think the first one is cleaner. > > On

Re: [julia-users] Re: Julia-i18n logo proposal

2016-10-04 Thread mmh
Cool logo, IMO the "J" at the top looks a little out of place and not balanced with the other two glyphs

[julia-users] Simple test functions generates different codegen

2016-09-30 Thread mmh
I would have that thought that these two function would produce the same code, but they do not. Could someone care to explain the difference and which is preferred and why http://pastebin.com/GJ8YPfV3 function test1(x) y = 2.0 u = 2.320 x < 0 && (u = 32.0) x > 1 && (u = 1.0) return u + y end

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

2016-09-22 Thread mmh
9, 2016 at 3:01 PM Stefan Karpinski <ste...@karpinski.org > > wrote: > >> I got the go ahead from Jeff and Viral to give this a try, then it didn't >> end up panning out. It would still be worth a try, imo. >> >> On Sat, Sep 17, 2016 at 11:55 AM, mm

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

2016-09-17 Thread mmh
Hi Jonathan, Seems like this has kind of burnt out. Is there still an impetus on a transition. On Saturday, September 19, 2015 at 8:16:36 PM UTC-4, Jonathan Malmaud wrote: > > Hi all, > There's been some chatter about maybe switching to a new, more modern > forum platform for Julia that could

[julia-users] Re: Idea: Julia Standard Libraries and Distributions

2016-09-13 Thread mmh
What about sysimage for these pkgs out of base? On Tuesday, September 13, 2016 at 4:39:15 AM UTC-4, Chris Rackauckas wrote: > > I think one major point of contention when talking about what should be > included in Base due to competing factors: > > >1. Some people would like a "lean Base"

Re: [julia-users] code_native complex for simple snippet

2016-08-30 Thread mmh
Is there an unsafe version of >> and << that does not do range checks? On Tuesday, August 30, 2016 at 6:46:36 PM UTC-4, Yichao Yu wrote: > > > > On Tue, Aug 30, 2016 at 6:25 PM, mmh <mum...@gmail.com > > wrote: > >> >> <https://lh3.googleu

[julia-users] code_native complex for simple snippet

2016-08-30 Thread mmh

Re: [julia-users] Re: successfully built julia using windows subsystem for linux but getting '`: not enough memory (ENOMEM) when trying to use Compat

2016-08-24 Thread mmh
Thanks, didnt' see that before. On Wednesday, August 24, 2016 at 5:30:23 PM UTC-4, Isaiah wrote: > > Please see > https://groups.google.com/d/msg/julia-users/K3AKvD6EYT8/vGcchWRlAgAJ > > On Wed, Aug 24, 2016 at 5:26 PM, mmh <mum...@gmail.com > > wrote: > >>

[julia-users] Re: successfully built julia using windows subsystem for linux but getting '`: not enough memory (ENOMEM) when trying to use Compat

2016-08-24 Thread mmh
versioninfo() Julia Version 0.6.0-dev.390 Commit 3ab4d76 (2016-08-24 18:18 UTC) Platform Info: System: Linux (x86_64-linux-gnu) CPU: unknown WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) LAPACK: libopenblas64_ LIBM: libopenlibm LLVM: libLLVM-3.7.1

[julia-users] Re: successfully built julia using windows subsystem for linux but getting '`: not enough memory (ENOMEM) when trying to use Compat

2016-08-24 Thread mmh
| Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.6.0-dev.390 (2016-08-24 18:18 UTC) _/ |\__'_|_|_|\__'_| | Commit 3ab4d76 (0 days old master) |__/ | x86_64-linux-gnu On Wednesday, August 24, 2016 at 5:25:18 PM UTC-4, mmh wro

[julia-users] successfully built julia using windows subsystem for linux but getting '`: not enough memory (ENOMEM) when trying to use Compat

2016-08-24 Thread mmh
successfully built julia using windows subsystem for linux but getting '`: not enough memory (ENOMEM) when trying to use Compat julia> using Compat INFO: Precompiling module Compat... ERROR: could not spawn `/home/me/julia/usr/bin/julia -Cnative -J/home/me/julia/usr/lib/julia/sys.so

[julia-users] Re: chol() more strict in v0.5?

2016-08-04 Thread mmh
In matlab i always add a little nugget to the diagonal to stabilize the cholesky On Thursday, August 4, 2016 at 10:15:49 AM UTC-4, Chris wrote: > > The reasoning makes sense to me, it's just a minor annoyance to have it > fail due to rounding errors, essentially. I think going further

[julia-users] Re: How to make a variable length tuple with inferred type

2016-08-02 Thread mmh
On Monday, August 1, 2016 at 11:40:25 AM UTC-4, Kristoffer Carlsson wrote: > > Nope. nuple(::Function, ::Int) is not type stable because the return type > depends on the value of the integer. > > On Monday, August 1, 2016 at 5:17:10 PM UTC+2, mmh wrote: >> >> Is this a

[julia-users] Re: How to make a variable length tuple with inferred type

2016-08-01 Thread mmh
Is this a known bug/regression? On Sunday, July 31, 2016 at 10:53:11 PM UTC-4, Sheehan Olver wrote: > > It still doesn't infer the type in 0.5: > > *julia> **@code_warntype ntuple( x -> 0, 3)* > > Variables: > > #self#::Base.#ntuple > > f::##5#6 > > n::Int64 > > > Body: > > begin > >

[julia-users] Re: Dear Sublime Text Users

2016-07-09 Thread mmh
Thanks you! I keep trying Atom (but it's painfully slow) and on many occasions am forced to use it due to its better Julia support. This is a very welcomed package. How does reverse lookup work? I selected some text and then entered reverse look up but nothing happened? Also what kind of font

[julia-users] Re: Master list of constants

2016-07-05 Thread mmh
On v0.5 this gives: ERROR: UndefVarError: @MIME not defined in eval(::Module, ::Any) at .\boot.jl:234 in macro expansion; at .\REPL[4]:2 [inlined] in anonymous at .\:? in eval(::Module, ::Any) at .\boot.jl:234 in macro expansion at .\REPL.jl:92 [inlined] in

Re: [julia-users] Re: JuliaCon schedule announced

2016-06-28 Thread mmh
Hi Viral, we have an eta on when the talks will be up on youtube? On Wednesday, June 22, 2016 at 11:13:25 AM UTC-4, Viral Shah wrote: > > Live streaming was too expensive and we did not do it this year, but we > certainly want to next year. > > -viral > On Jun 22, 2016 10:33 AM, "Gabriel