# Latest

**URL:** https://discourse.julialang.org/latest.md?page=1940

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 1941

---

## [Running Julia v1.0.4 code from Atom on OSX](https://discourse.julialang.org/t/running-julia-v1-0-4-code-from-atom-on-osx/27556)

<div class="topic-metadata">

**Author:** [@JdG](https://discourse.julialang.org/u/JdG)\
**Replies:** 7\
**Last updated:** [August 16, 2019, 9:57am UTC](https://discourse.julialang.org/t/running-julia-v1-0-4-code-from-atom-on-osx/27556 "2019-08-16T09:57:35Z")

</div>

After upgrading from version 0.6 to 1.0.4 I can’t get my code running from Atom anymore. I upgraded Julia-client to the latest version.

---

## [How to enable Juno on non-jl file types (e.g. \*.adoc)?](https://discourse.julialang.org/t/how-to-enable-juno-on-non-jl-file-types-e-g-adoc/27498)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [August 16, 2019, 9:41am UTC](https://discourse.julialang.org/t/how-to-enable-juno-on-non-jl-file-types-e-g-adoc/27498 "2019-08-16T09:41:57Z")

</div>

On Juno, the possibility to run Julia code seems to be reserved to .jl files. I look for how to add it to my \*.adoc files, so I don’t need to copy/rename them in order to run code snippets on them, but it’s not in the p…

---

## [Pkg error in julia:latest Docker image](https://discourse.julialang.org/t/pkg-error-in-julia-latest-docker-image/27605)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 5\
**Last updated:** [August 16, 2019, 9:38am UTC](https://discourse.julialang.org/t/pkg-error-in-julia-latest-docker-image/27605 "2019-08-16T09:38:17Z")

</div>

I’m having a problem with the julia:latest docker image. Upon attempting to build upon it, I get: # output omitted Installed MbedTLS ───────────────────── v0.6.8 Installed IteratorInterfaceExtensions ─ v1.0.0 ERROR: t…

---

## [Easy saving of Dict{Tuple,Number} to JSON?](https://discourse.julialang.org/t/easy-saving-of-dict-tuple-number-to-json/27607)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 0\
**Last updated:** [August 16, 2019, 9:30am UTC](https://discourse.julialang.org/t/easy-saving-of-dict-tuple-number-to-json/27607 "2019-08-16T09:30:44Z")

</div>

Hello, I was wondering if there was an easy way to save a Dict{Tuple,Number} (see example below) to JSON. d = Dict((1,:A) =\> 1, (1,:B) =\> 2, (2,:A) =\> 3, (2,:B) =\> 4) I think JSON3 or LazyJSON might be what I’m lookin…

---

## [Codecov vs Coverall](https://discourse.julialang.org/t/codecov-vs-coverall/27595)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 3\
**Last updated:** [August 16, 2019, 7:26am UTC](https://discourse.julialang.org/t/codecov-vs-coverall/27595 "2019-08-16T07:26:27Z")

</div>

Many Julia projects use both coverage tools. What does everyone like or dislike about each service in terms of usability, accuracy, stability, etc?

---

## [Any rational behind Symbol("true") != :true?](https://discourse.julialang.org/t/any-rational-behind-symbol-true-true/27597)

<div class="topic-metadata">

**Author:** [@o314](https://discourse.julialang.org/u/o314)\
**Replies:** 8\
**Last updated:** [August 16, 2019, 1:22am UTC](https://discourse.julialang.org/t/any-rational-behind-symbol-true-true/27597 "2019-08-16T01:22:20Z")

</div>

It seems strange to me that using Test @test Symbol("true") != :true Since @test Symbol("foo") == :foo @test Symbol("bar") == :bar @test Symbol("baz") == :baz # ... Suppose we have a function that generate a symbol f…

---

## [Hermitian representation of a matrix](https://discourse.julialang.org/t/hermitian-representation-of-a-matrix/27594)

<div class="topic-metadata">

**Author:** [@darknoob](https://discourse.julialang.org/u/darknoob)\
**Replies:** 5\
**Last updated:** [August 15, 2019, 11:30pm UTC](https://discourse.julialang.org/t/hermitian-representation-of-a-matrix/27594 "2019-08-15T23:30:13Z")

</div>

Hi! I have the following problem: I have done some computations in order to obtain three 4x4-matrices represented as a 12x4-array, aka a span V of 4 linear independet vectors comming from C^12; these 4 vectors build a b…

---

## [Juno slow then crashes](https://discourse.julialang.org/t/juno-slow-then-crashes/27551)

<div class="topic-metadata">

**Author:** [@clizama](https://discourse.julialang.org/u/clizama)\
**Replies:** 5\
**Last updated:** [August 15, 2019, 6:50pm UTC](https://discourse.julialang.org/t/juno-slow-then-crashes/27551 "2019-08-15T18:50:09Z")

</div>

Juno is being super slow lately. When I type in the REPL it shows some partial results, then it takes some time (15 or 20 seconds, easily) and then it finishes showing the results. Furthermore, when I try to run a funct…

---

## [Output the same type of struct in function](https://discourse.julialang.org/t/output-the-same-type-of-struct-in-function/27218)

<div class="topic-metadata">

**Author:** [@mrVeng](https://discourse.julialang.org/u/mrVeng)\
**Replies:** 11\
**Last updated:** [August 15, 2019, 5:06pm UTC](https://discourse.julialang.org/t/output-the-same-type-of-struct-in-function/27218 "2019-08-15T17:06:43Z")

</div>

Hi everyone, I have a questions regarding return types in functions. In principle, I have 2 similar structs (one is bigger, one smaller) defined, and for convenience, I want to auto-fill some fields with default values …

---

## [More basic Revise usage with module](https://discourse.julialang.org/t/more-basic-revise-usage-with-module/27517)

<div class="topic-metadata">

**Author:** [@pearlzli](https://discourse.julialang.org/u/pearlzli)\
**Replies:** 9\
**Last updated:** [August 15, 2019, 5:15pm UTC](https://discourse.julialang.org/t/more-basic-revise-usage-with-module/27517 "2019-08-15T17:15:53Z")

</div>

Hello, I’m having trouble getting Revise to track changes to my module. I have using Revise in my startup.jl, and I’ve checked that it is indeed being loaded on startup. I then try: (v1.1) pkg\> generate MyPackage Genera…

---

## [Strange behavior of Pkg's version resolver](https://discourse.julialang.org/t/strange-behavior-of-pkgs-version-resolver/27588)

<div class="topic-metadata">

**Author:** [@s-broda](https://discourse.julialang.org/u/s-broda)\
**Replies:** 2\
**Last updated:** [August 15, 2019, 5:11pm UTC](https://discourse.julialang.org/t/strange-behavior-of-pkgs-version-resolver/27588 "2019-08-15T17:11:17Z")

</div>

I have the following Project.toml in https://github.com/s-broda/ARCHModels.jl name = "ARCHModels" uuid = "6d3278bc-c23a-5105-85e5-0d57d2bf684f" authors = \["Simon Broda \<simon.broda@uzh.ch\>"\] version = "0.4.0" \[deps\] Da…

---

## [Quote expressions](https://discourse.julialang.org/t/quote-expressions/27584)

<div class="topic-metadata">

**Author:** [@Dito](https://discourse.julialang.org/u/Dito)\
**Replies:** 1\
**Last updated:** [August 15, 2019, 2:36pm UTC](https://discourse.julialang.org/t/quote-expressions/27584 "2019-08-15T14:36:44Z")

</div>

I can’t understand True and False outputs julia\> x=:(1+2); julia\> e₁=quote quote $x end end quote #= REPL\[2\]:1 =# $(Expr(:quote, quote #= REPL\[2\]:1 =# $(Expr(:$, :x)) end)) end julia\> eval(e₁) quote …

---

## [Thread-local storage initialization](https://discourse.julialang.org/t/thread-local-storage-initialization/27579)

<div class="topic-metadata">

**Author:** [@Reimer](https://discourse.julialang.org/u/Reimer)\
**Replies:** 2\
**Last updated:** [August 15, 2019, 1:57pm UTC](https://discourse.julialang.org/t/thread-local-storage-initialization/27579 "2019-08-15T13:57:26Z")

</div>

I have a problem with a couple (possibly three) C/C++ modules that I interface with Julia. Namely, these modules rely on thread-local state that needs to be initialized with thread-specific state before any code is calle…

---

## [How do I pass a function-like object as argument to a PeriodicCallback in DifferentialEquations?](https://discourse.julialang.org/t/how-do-i-pass-a-function-like-object-as-argument-to-a-periodiccallback-in-differentialequations/27535)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 2\
**Last updated:** [August 15, 2019, 1:14pm UTC](https://discourse.julialang.org/t/how-do-i-pass-a-function-like-object-as-argument-to-a-periodiccallback-in-differentialequations/27535 "2019-08-15T13:14:06Z")

</div>

\[EDIT: I can no longer recreate my original error and can confirm that function-like objects can be used as callback functions to pass to solve in DifferentialEquations.jl.\] If I create a struct and a function-like obje…

---

## [Parametric Types](https://discourse.julialang.org/t/parametric-types/27580)

<div class="topic-metadata">

**Author:** [@mischmi](https://discourse.julialang.org/u/mischmi)\
**Replies:** 2\
**Last updated:** [August 15, 2019, 11:53am UTC](https://discourse.julialang.org/t/parametric-types/27580 "2019-08-15T11:53:09Z")

</div>

Hi there, I have a quick question regarding types. This is my code: struct SomeStruct{L} v::Vector{Int64} function SomeStruct{L}() where L::Integer new( zeros( Int64, L ) ) end end If I want to compile it, I g…

---

## [Translating Fortran to Julia](https://discourse.julialang.org/t/translating-fortran-to-julia/27518)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 7\
**Last updated:** [August 15, 2019, 10:22am UTC](https://discourse.julialang.org/t/translating-fortran-to-julia/27518 "2019-08-15T10:22:48Z")

</div>

I’m translating some old Fortran code to Julia. It’s pretty straightforward, but I only picked up Fortran to be able to translate this project. I see at some points things like c OPENING FILES FOR OUTPUT WRITING …

---

## [Loop over multi-dimensional array optimization](https://discourse.julialang.org/t/loop-over-multi-dimensional-array-optimization/27539)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 9\
**Last updated:** [August 15, 2019, 9:29am UTC](https://discourse.julialang.org/t/loop-over-multi-dimensional-array-optimization/27539 "2019-08-15T09:29:51Z")

</div>

Hi, I encountered a performance bottleneck for array operations. I tried two versions: dot fusion and explicit loop. To my surprise, not only does dot fusion take less time, it also takes less memory, which contradicts …

---

## [Named for loops?](https://discourse.julialang.org/t/named-for-loops/27564)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 3\
**Last updated:** [August 15, 2019, 9:23am UTC](https://discourse.julialang.org/t/named-for-loops/27564 "2019-08-15T09:23:24Z")

</div>

Does Julia have a way of “naming” for loops so that one can break out of specific loops? For example, I recently came across this example in Fortran: program nestedLoop implicit none integer:: i, j, k iloop: do i …

---

## [Array of Arrays + Array of Scalar](https://discourse.julialang.org/t/array-of-arrays-array-of-scalar/27577)

<div class="topic-metadata">

**Author:** [@suiato](https://discourse.julialang.org/u/suiato)\
**Replies:** 3\
**Last updated:** [August 15, 2019, 9:13am UTC](https://discourse.julialang.org/t/array-of-arrays-array-of-scalar/27577 "2019-08-15T09:13:13Z")

</div>

The following code used to work on ver.0.6.4, issues a warning on ver.0.7, and outputs an error on ver.1.0.4 as shown. What will be the right way to do in ver.1? a = \[\[1 2; 3 4\], \[5 6; 7 8\]\] 2-element Array{Array{Int64…

---

## [Native (oversimplified) Julia gemm implementation](https://discourse.julialang.org/t/native-oversimplified-julia-gemm-implementation/27530)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 6\
**Last updated:** [August 15, 2019, 7:58am UTC](https://discourse.julialang.org/t/native-oversimplified-julia-gemm-implementation/27530 "2019-08-15T07:58:55Z")

</div>

Hi Julians, In the context of a Julia lecture preparation, I have implemented the following (over)simplfied mygemm matrix-matrix product implementation (150 lines): mygemm.jlusing BenchmarkTools using LinearAlgebra usi…

---

## [Selective deconstruction of NamedTuples to local variables?](https://discourse.julialang.org/t/selective-deconstruction-of-namedtuples-to-local-variables/27545)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 2\
**Last updated:** [August 15, 2019, 7:42am UTC](https://discourse.julialang.org/t/selective-deconstruction-of-namedtuples-to-local-variables/27545 "2019-08-15T07:42:24Z")

</div>

Do we have something like nt = (a = 1, b = 2, c = 3, d = 4, e = 5) @some\_macro a, c, d = nt resulting in the creation of local variables a = nt.a c = nt.c d = nt.d somewhere? NamedTuple deconstruction that extracts v…

---

## [Problem Building Arpack / Windows Administrator Privileges](https://discourse.julialang.org/t/problem-building-arpack-windows-administrator-privileges/24113)

<div class="topic-metadata">

**Author:** [@JP\_91](https://discourse.julialang.org/u/JP_91)\
**Replies:** 6\
**Last updated:** [August 15, 2019, 6:27am UTC](https://discourse.julialang.org/t/problem-building-arpack-windows-administrator-privileges/24113 "2019-08-15T06:27:10Z")

</div>

Hi Everyone, I am having some trouble installing Arpack. The error reads as “Warning: On Windows, creating file symlinks requires Administrator privileges”. I checked whether my user has Administrator privileges, and th…

---

## [AIBECS.jl for modeling marine biogeochemical tracers](https://discourse.julialang.org/t/aibecs-jl-for-modeling-marine-biogeochemical-tracers/27295)

<div class="topic-metadata">

**Author:** [@briochemc](https://discourse.julialang.org/u/briochemc)\
**Replies:** 3\
**Last updated:** [August 15, 2019, 3:08am UTC](https://discourse.julialang.org/t/aibecs-jl-for-modeling-marine-biogeochemical-tracers/27295 "2019-08-15T03:08:33Z")

</div>

Dear Julians, I would like to present AIBECS.jl. I am making this announcement in the hopes to get people to try the AIBECS. Better would be to get some Julian-expert feedback… And even better would be some direct c…

---

## [How to optimize ForwardDiff.jacobian for large system of equations?](https://discourse.julialang.org/t/how-to-optimize-forwarddiff-jacobian-for-large-system-of-equations/27546)

<div class="topic-metadata">

**Author:** [@josimar](https://discourse.julialang.org/u/josimar)\
**Replies:** 4\
**Last updated:** [August 15, 2019, 12:10am UTC](https://discourse.julialang.org/t/how-to-optimize-forwarddiff-jacobian-for-large-system-of-equations/27546 "2019-08-15T00:10:48Z")

</div>

Hi, I am trying to use ForwardDiff to compute the jacobian of a system of equations that I anticipate will be very large. Below is a very simplified working code that illustrate what I am trying to do. When I run the c…

---

## [How to convert \_\_source\_\_.file to string?](https://discourse.julialang.org/t/how-to-convert-source-file-to-string/27533)

<div class="topic-metadata">

**Author:** [@epogrebnyak](https://discourse.julialang.org/u/epogrebnyak)\
**Replies:** 13\
**Last updated:** [August 14, 2019, 11:33pm UTC](https://discourse.julialang.org/t/how-to-convert-source-file-to-string/27533 "2019-08-14T23:33:06Z")

</div>

I’m trying to extract filename as string from \_\_source\_\_.file. When running code below everything works, typeof(g) is String and it contains path filename. macro file1() return QuoteNode(\_\_source\_\_.file) end f = @fil…

---

## [Ticket Sales NaNd](https://discourse.julialang.org/t/ticket-sales-nand/26526)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [July 19, 2019, 3:21am UTC](https://discourse.julialang.org/t/ticket-sales-nand/26526 "2019-07-19T03:21:39Z")

</div>

Sadly I could not afford to travel to JuliaCon this year. I found the last one stimulating and a real breath of fresh air. On the conference page Ticket Sales end in NaN days. I guess this is a bit of humour.

---

## [JuliaCon 2019 - Baltimore Accommodation Guide](https://discourse.julialang.org/t/juliacon-2019-baltimore-accommodation-guide/22449)

<div class="topic-metadata">

**Author:** [@DragonflyStats](https://discourse.julialang.org/u/DragonflyStats)\
**Replies:** 0\
**Last updated:** [March 28, 2019, 9:56am UTC](https://discourse.julialang.org/t/juliacon-2019-baltimore-accommodation-guide/22449 "2019-03-28T09:56:54Z")

</div>

Our preferred conference hotel is the Baltimore Marriott Inner Harbour at Camden Yards, which is conveniently located two blocks away from the venue. We have attractive group rates negotiated, which you can book using t…

---

## [JuliaCon 2019 financial assistance application](https://discourse.julialang.org/t/juliacon-2019-financial-assistance-application/20726)

<div class="topic-metadata">

**Author:** [@DragonflyStats](https://discourse.julialang.org/u/DragonflyStats)\
**Replies:** 0\
**Last updated:** [February 12, 2019, 9:51pm UTC](https://discourse.julialang.org/t/juliacon-2019-financial-assistance-application/20726 "2019-02-12T21:51:38Z")

</div>

JuliaCon 2019 aims to be an inclusive event. In an effort to reduce the degree to which cost may deter community members from attending this event, we offer financial assistance\* to GSoC students, accepted speakers, and …

---

## [JuliaCon on LinkedIn](https://discourse.julialang.org/t/juliacon-on-linkedin/21827)

<div class="topic-metadata">

**Author:** [@DragonflyStats](https://discourse.julialang.org/u/DragonflyStats)\
**Replies:** 0\
**Last updated:** [March 13, 2019, 3:22pm UTC](https://discourse.julialang.org/t/juliacon-on-linkedin/21827 "2019-03-13T15:22:27Z")

</div>

Hi folks, please follow JuliaCon 2019 on LinkedIn https://www.linkedin.com/company/teamjuliacon/ In order to reach to new users and grow the community, please actively share our posts, and encourage your colleagues to …

---

## [JuliaCon 2019 Ticket sales now live](https://discourse.julialang.org/t/juliacon-2019-ticket-sales-now-live/20152)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 0\
**Last updated:** [January 27, 2019, 4:49pm UTC](https://discourse.julialang.org/t/juliacon-2019-ticket-sales-now-live/20152 "2019-01-27T16:49:47Z")

</div>

The JuilaCon 2019 committee is pleased to announce that tickets for the conference are now available for sale. Prices are in a similar range as last year, with flat 50% reduction for students. This year, the workshops a…

[Previous page](https://discourse.julialang.org/latest.md?page=1939)

[Next page](https://discourse.julialang.org/latest.md?page=1941)
