# Latest

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

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

**Page:** 1846

---

## [How get username from :headers in AMQPClient with using RabbitMQ?](https://discourse.julialang.org/t/how-get-username-from-headers-in-amqpclient-with-using-rabbitmq/26793)

<div class="topic-metadata">

**Author:** [@Martin\_Florek](https://discourse.julialang.org/u/Martin_Florek)\
**Replies:** 8\
**Last updated:** [January 14, 2020, 7:15pm UTC](https://discourse.julialang.org/t/how-get-username-from-headers-in-amqpclient-with-using-rabbitmq/26793 "2020-01-14T19:15:50Z")

</div>

All or @tanmaykm I’m using AMQPClient and I would like get user name from message. When I run commands gChannel = channel(conn, AMQPClient.UNUSED\_CHANNEL, true) msg = basic\_get(gChannel, “rQueue”, false) I get Me…

---

## [New scope solution](https://discourse.julialang.org/t/new-scope-solution/16707)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 233\
**Last updated:** [January 14, 2020, 5:47pm UTC](https://discourse.julialang.org/t/new-scope-solution/16707 "2020-01-14T17:47:28Z")

</div>

I have an alternate, non-breaking solution to the scope issue previously discussed on discourse and github. The new potential solution is the following rule to decide whether a variable, x, which is not marked as explici…

---

## [Capitalization matters on Windows](https://discourse.julialang.org/t/capitalization-matters-on-windows/33345)

<div class="topic-metadata">

**Author:** [@bocc](https://discourse.julialang.org/u/bocc)\
**Replies:** 1\
**Last updated:** [January 14, 2020, 4:41pm UTC](https://discourse.julialang.org/t/capitalization-matters-on-windows/33345 "2020-01-14T16:41:31Z")

</div>

I wanted to share an experience of mine, should someone also encounter this. I am developing my package on Windows, it’s name is an all-capitalized abbreviation in Project.toml, but src/prjname.jl was not capitalized. T…

---

## [LoopVectorization fails to install on AMD 8350](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342)

<div class="topic-metadata">

**Author:** [@lesshaste](https://discourse.julialang.org/u/lesshaste)\
**Replies:** 5\
**Last updated:** [January 14, 2020, 4:13pm UTC](https://discourse.julialang.org/t/loopvectorization-fails-to-install-on-amd-8350/33342 "2020-01-14T16:13:15Z")

</div>

I am 100% new to Julia but wanted to try out LoopVectorization. I installed Julia 1.3.1 and did .Pkg.add(“LoopVectorization”). It failed with: \[8dfed614\] + Test Building VectorizationBase → ~/.julia/packages/Vectoriza…

---

## [Solution of underdetermined systems using LAPACK](https://discourse.julialang.org/t/solution-of-underdetermined-systems-using-lapack/33000)

<div class="topic-metadata">

**Author:** [@lucas711642](https://discourse.julialang.org/u/lucas711642)\
**Replies:** 9\
**Last updated:** [January 14, 2020, 9:19am UTC](https://discourse.julialang.org/t/solution-of-underdetermined-systems-using-lapack/33000 "2020-01-14T09:19:12Z")

</div>

I need to get any solution of a bunch of underdetermined systems A\*x = b fastly and cheaply. My first thought is to compute a minimum norm solution using the LQ decomposition of A (which can be used as workspace to minim…

---

## [First Munich area Julia meetup](https://discourse.julialang.org/t/first-munich-area-julia-meetup/26951)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 24\
**Last updated:** [January 14, 2020, 8:22am UTC](https://discourse.julialang.org/t/first-munich-area-julia-meetup/26951 "2020-01-14T08:22:41Z")

</div>

Hi everyone, I met a a few people from the Munich area at JuliaCon, and we thought about starting a regular Julia meetup here. Who’s interested? Here’s a an initial Doodle poll, to identify weeks that might suit for a …

---

## [Make numbers from literature keep their reference](https://discourse.julialang.org/t/make-numbers-from-literature-keep-their-reference/33337)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 8:06am UTC](https://discourse.julialang.org/t/make-numbers-from-literature-keep-their-reference/33337 "2020-01-14T08:06:38Z")

</div>

Julia is capable of defining new numbers, which can be used in conjunction with regular ones. To keep track of the source of the number(some material parameter) it should be possible to keep the DOI associated with it du…

---

## [System Images, source code and implementation protection and portability (environment distribution)](https://discourse.julialang.org/t/system-images-source-code-and-implementation-protection-and-portability-environment-distribution/33334)

<div class="topic-metadata">

**Author:** [@MikeErd](https://discourse.julialang.org/u/MikeErd)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 7:30am UTC](https://discourse.julialang.org/t/system-images-source-code-and-implementation-protection-and-portability-environment-distribution/33334 "2020-01-14T07:30:29Z")

</div>

Hi all! As far as I understoodd system images, the main idea behind this mechanism is, to reduce Julia startup times by removing the need to spend compile time at startup. Has anybody an idea, how to solve the followin…

---

## [Technical questions about forking packages](https://discourse.julialang.org/t/technical-questions-about-forking-packages/33297)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [January 14, 2020, 6:23am UTC](https://discourse.julialang.org/t/technical-questions-about-forking-packages/33297 "2020-01-14T06:23:50Z")

</div>

Forking packages has been surprisingly rare in the Julia ecosystem, so I could not find any guidelines or examples on it. I am wondering about the following: I am assuming that the fork needs a new UUID, and while tec…

---

## [Issues installing IJulia](https://discourse.julialang.org/t/issues-installing-ijulia/33211)

<div class="topic-metadata">

**Author:** [@Romero\_Azzalini](https://discourse.julialang.org/u/Romero_Azzalini)\
**Replies:** 8\
**Last updated:** [January 14, 2020, 5:47am UTC](https://discourse.julialang.org/t/issues-installing-ijulia/33211 "2020-01-14T05:47:17Z")

</div>

Hi, unfortunately I’m not the most experienced Linux user and when I try to Pkg.build(“IJulia”) I always get the following error msg INFO: Building Conda INFO: Building MbedTLS INFO: Building ZMQ INFO: Building IJulia …

---

## [Sampling from a tuple of arrays](https://discourse.julialang.org/t/sampling-from-a-tuple-of-arrays/33332)

<div class="topic-metadata">

**Author:** [@btrentini](https://discourse.julialang.org/u/btrentini)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 5:32am UTC](https://discourse.julialang.org/t/sampling-from-a-tuple-of-arrays/33332 "2020-01-14T05:32:16Z")

</div>

Hi Everyone, I am new to Julia and this is my first post in the forum. I love the language, but I still struggle a little bit. For example, I am using flux to train a Neural Network for MNIST and I now need to sample a…

---

## [How to differentiate on ODEProblem (built from other problem) w.r.t. its parameters](https://discourse.julialang.org/t/how-to-differentiate-on-odeproblem-built-from-other-problem-w-r-t-its-parameters/33321)

<div class="topic-metadata">

**Author:** [@Antomek](https://discourse.julialang.org/u/Antomek)\
**Replies:** 1\
**Last updated:** [January 14, 2020, 5:11am UTC](https://discourse.julialang.org/t/how-to-differentiate-on-odeproblem-built-from-other-problem-w-r-t-its-parameters/33321 "2020-01-14T05:11:04Z")

</div>

Hi everyone, The basic issue is: differentiating (using ForwardDiff.jl) an ODEProblem from DifferentialEquations.jl with respect to parameters, where the ODEProblem is built from another ODEProblem. My problem arises i…

---

## [How to let PyCall print out results in a Jupyter Notebook](https://discourse.julialang.org/t/how-to-let-pycall-print-out-results-in-a-jupyter-notebook/33330)

<div class="topic-metadata">

**Author:** [@Tianzhu\_Xiong](https://discourse.julialang.org/u/Tianzhu_Xiong)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 4:43am UTC](https://discourse.julialang.org/t/how-to-let-pycall-print-out-results-in-a-jupyter-notebook/33330 "2020-01-14T04:43:49Z")

</div>

I noticed that if we ask julia to execute the following code in a Jupyter Notebook: using PyCall py""" print('Hello World') """ Nothing is shown in the notebook, but if you execute the same code in a regular Julia cons…

---

## [Is it possible to get the fieldnames of a struct inside a macro?](https://discourse.julialang.org/t/is-it-possible-to-get-the-fieldnames-of-a-struct-inside-a-macro/33314)

<div class="topic-metadata">

**Author:** [@rvignolo](https://discourse.julialang.org/u/rvignolo)\
**Replies:** 18\
**Last updated:** [January 14, 2020, 3:00am UTC](https://discourse.julialang.org/t/is-it-possible-to-get-the-fieldnames-of-a-struct-inside-a-macro/33314 "2020-01-14T03:00:53Z")

</div>

Hi all, I was wondering if it is possible to expand or get fieldnames of a DataType inside a macro. My instinct says it is not possible, but maybe someone knows a trick or something… struct DummyStruct a b end # r…

---

## [Programmatic retrieval of const documentation](https://discourse.julialang.org/t/programmatic-retrieval-of-const-documentation/33308)

<div class="topic-metadata">

**Author:** [@Zach\_Christensen](https://discourse.julialang.org/u/Zach_Christensen)\
**Replies:** 7\
**Last updated:** [January 14, 2020, 1:13am UTC](https://discourse.julialang.org/t/programmatic-retrieval-of-const-documentation/33308 "2020-01-14T01:13:13Z")

</div>

How do I programmatically get the documentation for a documented constant? module MyMod """ This is MyAlias """ const MyAlias = Val{:Alias} end using .MyMod Docs.doc(MyMod.MyAlias) .... “…” just gives the documen…

---

## [Vega-Lite width and height in heatmap in Juno sometimes doesn't work!](https://discourse.julialang.org/t/vega-lite-width-and-height-in-heatmap-in-juno-sometimes-doesnt-work/33262)

<div class="topic-metadata">

**Author:** [@babaq](https://discourse.julialang.org/u/babaq)\
**Replies:** 8\
**Last updated:** [January 13, 2020, 10:57pm UTC](https://discourse.julialang.org/t/vega-lite-width-and-height-in-heatmap-in-juno-sometimes-doesnt-work/33262 "2020-01-13T22:57:15Z")

</div>

Hi, I tested the heatmap samples from the Vega-Lite.jl, such as, d=60 x = \[j for i in -d:d, j in -d:d\] y = \[i for i in -d:d, j in -d:d\] z = x.^2 .+ y.^2 data = DataFrame(x=vec(x'),y=vec(y'),z=vec(z')) data |\> @vlplot(…

---

## [Julia 1.3 Package Manager Problem](https://discourse.julialang.org/t/julia-1-3-package-manager-problem/33318)

<div class="topic-metadata">

**Author:** [@David\_Hoffman](https://discourse.julialang.org/u/David_Hoffman)\
**Replies:** 2\
**Last updated:** [January 13, 2020, 10:36pm UTC](https://discourse.julialang.org/t/julia-1-3-package-manager-problem/33318 "2020-01-13T22:36:41Z")

</div>

I am creating a RungeKutta.jl for personal use (and as a learning exercise). I have been working on if off and on for a while, and have been using Git and the package manager for some time. I recently added some unit tes…

---

## [Specifying integer edge weights in SimpleWeightedGraph](https://discourse.julialang.org/t/specifying-integer-edge-weights-in-simpleweightedgraph/33315)

<div class="topic-metadata">

**Author:** [@rkurchin](https://discourse.julialang.org/u/rkurchin)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 9:01pm UTC](https://discourse.julialang.org/t/specifying-integer-edge-weights-in-simpleweightedgraph/33315 "2020-01-13T21:01:43Z")

</div>

Hi, I hope this is the right place to post this. It’s sort of a followup to this question but on a somewhat different aspect. In particular, I want to construct a SimpleWeightedGraph (which will eventually be passed to …

---

## [Call for Conference Speaker: balticecon 2020 conference in Tartu, Estonia](https://discourse.julialang.org/t/call-for-conference-speaker-balticecon-2020-conference-in-tartu-estonia/33307)

<div class="topic-metadata">

**Author:** [@Nicolas\_Reigl](https://discourse.julialang.org/u/Nicolas_Reigl)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 6:23pm UTC](https://discourse.julialang.org/t/call-for-conference-speaker-balticecon-2020-conference-in-tartu-estonia/33307 "2020-01-13T18:23:50Z")

</div>

Hi all, We are currently organising the annual Baltic Economic Association conference, which takes place on the 8th and 9th of June 2020 in Tartu, Estonia. We are searching for an economist (or related profession) who …

---

## [Multiple Remote Calls before completion](https://discourse.julialang.org/t/multiple-remote-calls-before-completion/33305)

<div class="topic-metadata">

**Author:** [@Paul\_McVay](https://discourse.julialang.org/u/Paul_McVay)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 4:39pm UTC](https://discourse.julialang.org/t/multiple-remote-calls-before-completion/33305 "2020-01-13T16:39:57Z")

</div>

I’m brand new to the julia multi-core system. If I send another remotecall to a process still running a previous remotecall, will it wait for the first call to finish and then run the second function? Or will it try to s…

---

## [Even after PackageCompile, the binary still runs slower than in REPL](https://discourse.julialang.org/t/even-after-packagecompile-the-binary-still-runs-slower-than-in-repl/33165)

<div class="topic-metadata">

**Author:** [@cuchxq](https://discourse.julialang.org/u/cuchxq)\
**Replies:** 11\
**Last updated:** [January 13, 2020, 4:35pm UTC](https://discourse.julialang.org/t/even-after-packagecompile-the-binary-still-runs-slower-than-in-repl/33165 "2020-01-13T16:35:23Z")

</div>

I am trying to find a way to finally deploy the program I have written in Julia. And having a binary seems to be the way to go, since I don’t expect the user to have Julia installed. So I use PackageCompiler.jl. I compi…

---

## [\[ANN\] SurrogateModelOptim.jl](https://discourse.julialang.org/t/ann-surrogatemodeloptim-jl/25584)

<div class="topic-metadata">

**Author:** [@MrUrq](https://discourse.julialang.org/u/MrUrq)\
**Replies:** 3\
**Last updated:** [January 13, 2020, 1:11pm UTC](https://discourse.julialang.org/t/ann-surrogatemodeloptim-jl/25584 "2020-01-13T13:11:50Z")

</div>

Happy to announce SurrogateModelOptim.jl a Radial Basis Function based optimization package. It is intended for smooth and expensive functions. Expensive in this case is functions that evaluates in several minutes to ho…

---

## [KernelError: recursion is currently not supported](https://discourse.julialang.org/t/kernelerror-recursion-is-currently-not-supported/33233)

<div class="topic-metadata">

**Author:** [@FujiwaraTakumiEH](https://discourse.julialang.org/u/FujiwaraTakumiEH)\
**Replies:** 4\
**Last updated:** [January 13, 2020, 10:40am UTC](https://discourse.julialang.org/t/kernelerror-recursion-is-currently-not-supported/33233 "2020-01-13T10:40:07Z")

</div>

Background: I changed my task to a simple example for description: I will take every element in array x, make it into a third-order matrix and calculate its determinant, and then assign the value of the determinant to…

---

## [Problem in @NLobjective](https://discourse.julialang.org/t/problem-in-nlobjective/33190)

<div class="topic-metadata">

**Author:** [@GiuliaM](https://discourse.julialang.org/u/GiuliaM)\
**Replies:** 2\
**Last updated:** [January 13, 2020, 10:22am UTC](https://discourse.julialang.org/t/problem-in-nlobjective/33190 "2020-01-13T10:22:00Z")

</div>

Hi everyone! I’m a new Julia user. I am using Julia 1.2 and JuMP v0.20.0 for some optimization problems. I have a constrained nonlinear optimization and I would like to define a nonlinear objective function composed b…

---

## [How to access a layer's parameters in Flux 0.10?](https://discourse.julialang.org/t/how-to-access-a-layers-parameters-in-flux-0-10/33201)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 2\
**Last updated:** [January 13, 2020, 9:53am UTC](https://discourse.julialang.org/t/how-to-access-a-layers-parameters-in-flux-0-10/33201 "2020-01-13T09:53:20Z")

</div>

In Flux 0.10 par = params(model) returns a Zygote.Params object, which is an iterable but not indexed. How to get the parameters of the 2nd layer, for example?

---

## [Pmap but with control over which workers do the tasks?](https://discourse.julialang.org/t/pmap-but-with-control-over-which-workers-do-the-tasks/33270)

<div class="topic-metadata">

**Author:** [@Alan\_Crawford](https://discourse.julialang.org/u/Alan_Crawford)\
**Replies:** 0\
**Last updated:** [January 12, 2020, 5:51pm UTC](https://discourse.julialang.org/t/pmap-but-with-control-over-which-workers-do-the-tasks/33270 "2020-01-12T17:51:08Z")

</div>

I am wondering how to parallelize an expensive computation but where I specify which workers do the work? By way of background, in my use case each worker does a large computation on worker-specific objects (i.e. store…

---

## [My startup for revise juno](https://discourse.julialang.org/t/my-startup-for-revise-juno/33288)

<div class="topic-metadata">

**Author:** [@mactuan12](https://discourse.julialang.org/u/mactuan12)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 6:44am UTC](https://discourse.julialang.org/t/my-startup-for-revise-juno/33288 "2020-01-13T06:44:02Z")

</div>

So with the new Debugger integration into Juno there’s a lot more incentive to have Revise loaded within a Juno session, but I ran into some issues where loading Revise in my startup.jl was problematic because Atom was…

---

## [Geometric DL library for Julia](https://discourse.julialang.org/t/geometric-dl-library-for-julia/22901)

<div class="topic-metadata">

**Author:** [@Azamat](https://discourse.julialang.org/u/Azamat)\
**Replies:** 5\
**Last updated:** [January 13, 2020, 6:25am UTC](https://discourse.julialang.org/t/geometric-dl-library-for-julia/22901 "2020-01-13T06:25:34Z")

</div>

I’m currently implementing geometric deep learning library. In particular, I’m extending Flux.jl to graphs and manifolds (taking advantage of the excellent LightGraphs.jl library). It’s working name is FluxGeometric.jl. …

---

## [What is the best way to use a module inside a function](https://discourse.julialang.org/t/what-is-the-best-way-to-use-a-module-inside-a-function/33285)

<div class="topic-metadata">

**Author:** [@asavasci](https://discourse.julialang.org/u/asavasci)\
**Replies:** 3\
**Last updated:** [January 13, 2020, 5:19am UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-use-a-module-inside-a-function/33285 "2020-01-13T05:19:31Z")

</div>

I am not able to use the function syntax below function f() using DataFrames return Dataframe(x=\[1,2\],y=\[3,4\]) end gives syntax: "using" expression not at top level error message, I searched the error m…

---

## [What is the best way to set the path to julia on Windows 10?](https://discourse.julialang.org/t/what-is-the-best-way-to-set-the-path-to-julia-on-windows-10/16467)

<div class="topic-metadata">

**Author:** [@w1res](https://discourse.julialang.org/u/w1res)\
**Replies:** 12\
**Last updated:** [January 13, 2020, 3:39am UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-set-the-path-to-julia-on-windows-10/16467 "2020-01-13T03:39:01Z")

</div>

I just installed Julia 1.0.1. I noticed that the executable wasn’t added to path, so I was wondering what is the best way to add julia to path? I’m using Windows 10. I thought about simply adding C:\\Users\\NAME\\AppData\\…

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

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