# Latest

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

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

**Page:** 1795

---

## [How to get the version of Pkg](https://discourse.julialang.org/t/how-to-get-the-version-of-pkg/36388)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 1\
**Last updated:** [March 23, 2020, 11:57am UTC](https://discourse.julialang.org/t/how-to-get-the-version-of-pkg/36388 "2020-03-23T11:57:24Z")

</div>

Hi, I want to check which version of Pkg is used inside my julia 1.4 install. How can I get the version of an included library?

---

## [Strange broadcasting results](https://discourse.julialang.org/t/strange-broadcasting-results/36387)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 1\
**Last updated:** [March 23, 2020, 11:55am UTC](https://discourse.julialang.org/t/strange-broadcasting-results/36387 "2020-03-23T11:55:20Z")

</div>

F = 59411.4 n = 12 K = \[220.0, 900.0\] @show S\_1 = F/(n\*K\[1\]) @show S\_2 = F/(n\*K\[2\]) @show S\_dot = F./(K.\*n) @show S\_nodot = F/(n\*K) @. S\_atdot = F/(K\*n) # S\_alldots .= F./(K.\*n) # UndefVarError: S\_alldots not defined p…

---

## [Julia 'sometimes' hangs (until a key is pressed) - Windows10 - Does anybody ever encounter that?](https://discourse.julialang.org/t/julia-sometimes-hangs-until-a-key-is-pressed-windows10-does-anybody-ever-encounter-that/6768)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 10\
**Last updated:** [March 23, 2020, 10:40am UTC](https://discourse.julialang.org/t/julia-sometimes-hangs-until-a-key-is-pressed-windows10-does-anybody-ever-encounter-that/6768 "2020-03-23T10:40:05Z")

</div>

Sometimes when I am calculating a lot of ‘models’ Julia will hang. This happens in ‘cmd’ but also with Powershell. In my case, my code continuously produces output to the console (files that are being written, progress,…

---

## [A lot of memory allocations which I do not understand](https://discourse.julialang.org/t/a-lot-of-memory-allocations-which-i-do-not-understand/36381)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 2\
**Last updated:** [March 23, 2020, 9:39am UTC](https://discourse.julialang.org/t/a-lot-of-memory-allocations-which-i-do-not-understand/36381 "2020-03-23T09:39:06Z")

</div>

I try to mimic the DifferentialEquations.jl solver where, as an example, I consider out of place second order Runge-Kutta method. The code below is the content of the .mem file obtained by running Julia with “–track-allo…

---

## [What's the difference between fields and properties?](https://discourse.julialang.org/t/whats-the-difference-between-fields-and-properties/12495)

<div class="topic-metadata">

**Author:** [@anon32405968](https://discourse.julialang.org/u/anon32405968)\
**Replies:** 8\
**Last updated:** [March 23, 2020, 7:32am UTC](https://discourse.julialang.org/t/whats-the-difference-between-fields-and-properties/12495 "2020-03-23T07:32:56Z")

</div>

I’m trying to understand this pull request which will be implemented in V0.7/V1.0: https://github.com/JuliaLang/julia/pull/25311 I read the V0.7 documentation but I coudn’t find any clarification on the specific differ…

---

## [Install a packages from a list](https://discourse.julialang.org/t/install-a-packages-from-a-list/30920)

<div class="topic-metadata">

**Author:** [@ilango3](https://discourse.julialang.org/u/ilango3)\
**Replies:** 6\
**Last updated:** [March 23, 2020, 7:01am UTC](https://discourse.julialang.org/t/install-a-packages-from-a-list/30920 "2020-03-23T07:01:39Z")

</div>

Hi , I need to install packages from a list. I was wondering if julia has an a command to install from list. like python’s "pip install -r requirements.txt " ? Thanks.

---

## [Ipopt in different Julia versions](https://discourse.julialang.org/t/ipopt-in-different-julia-versions/36373)

<div class="topic-metadata">

**Author:** [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Replies:** 0\
**Last updated:** [March 23, 2020, 2:43am UTC](https://discourse.julialang.org/t/ipopt-in-different-julia-versions/36373 "2020-03-23T02:43:51Z")

</div>

I get this error with Ipopt (version v0.6.1): ERROR: LoadError: could not load library "C:\\Users\\plowman\\.julia\\packages\\Ipopt\\ruIXY\\deps\\usr\\bin\\libipopt-1.dll" The specified module could not be found. I’m using Julia…

---

## [How to generate the permutation of a vector with elements selected from a certain set](https://discourse.julialang.org/t/how-to-generate-the-permutation-of-a-vector-with-elements-selected-from-a-certain-set/36032)

<div class="topic-metadata">

**Author:** [@Ujku\_KU](https://discourse.julialang.org/u/Ujku_KU)\
**Replies:** 4\
**Last updated:** [March 23, 2020, 12:01am UTC](https://discourse.julialang.org/t/how-to-generate-the-permutation-of-a-vector-with-elements-selected-from-a-certain-set/36032 "2020-03-23T00:01:18Z")

</div>

Hi guys I am looking for some function that generates the permutation of a vector of a certain length with elements taken from a certain set. For example let us say we are generating the permutation of vectors of length …

---

## [User interface](https://discourse.julialang.org/t/user-interface/36371)

<div class="topic-metadata">

**Author:** [@Smith](https://discourse.julialang.org/u/Smith)\
**Replies:** 0\
**Last updated:** [March 22, 2020, 11:38pm UTC](https://discourse.julialang.org/t/user-interface/36371 "2020-03-22T23:38:03Z")

</div>

Hi, Are there are any stable Julia packages for creating a basic user interface? For example, an interface that allows a user to enter relevant inputs and run the relevant code by click of a button (like forms in VBA). …

---

## [Question about arguments passed to the filter function](https://discourse.julialang.org/t/question-about-arguments-passed-to-the-filter-function/36364)

<div class="topic-metadata">

**Author:** [@CH-8](https://discourse.julialang.org/u/CH-8)\
**Replies:** 2\
**Last updated:** [March 22, 2020, 11:08pm UTC](https://discourse.julialang.org/t/question-about-arguments-passed-to-the-filter-function/36364 "2020-03-22T23:08:40Z")

</div>

Hi, The code block below achieves its purpose but Julia provides a warning for how the argument is passed. key1 = \[ 1, 1, 2, 3, 3, 4\]; key2 = \[ 2, 3, 4, 4, 5, 5\] value = \[0.3, 0.145, 0.032, 0.260, 0.320, 0.500\] Dat…

---

## [Debugger.jl + CSV.jl =\> crash](https://discourse.julialang.org/t/debugger-jl-csv-jl-crash/33713)

<div class="topic-metadata">

**Author:** [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Replies:** 3\
**Last updated:** [March 22, 2020, 10:39pm UTC](https://discourse.julialang.org/t/debugger-jl-csv-jl-crash/33713 "2020-03-22T22:39:58Z")

</div>

How to fix the following crash: using Debugger using CSV function csv1() fPath = joinpath(@\_\_DIR\_\_, "test1.csv"); @assert isfile(fPath) csvFile = CSV.File(fPath, header = true, delim = '\\t'); @bp …

---

## [JuliaImages organization temporarily unvailable](https://discourse.julialang.org/t/juliaimages-organization-temporarily-unvailable/36367)

<div class="topic-metadata">

**Author:** [@Keno](https://discourse.julialang.org/u/Keno)\
**Replies:** 1\
**Last updated:** [March 22, 2020, 10:30pm UTC](https://discourse.julialang.org/t/juliaimages-organization-temporarily-unvailable/36367 "2020-03-22T22:30:56Z")

</div>

GitHub appears to have suspended the JuliaImages organization for as of yet unknown reasons. We have contacted GitHub and are awaiting a reply, but in the meantime installations of packages from JuliaImages or those pack…

---

## [Change color of circle with trackbars](https://discourse.julialang.org/t/change-color-of-circle-with-trackbars/36355)

<div class="topic-metadata">

**Author:** [@asamanta1920](https://discourse.julialang.org/u/asamanta1920)\
**Replies:** 2\
**Last updated:** [March 22, 2020, 9:47pm UTC](https://discourse.julialang.org/t/change-color-of-circle-with-trackbars/36355 "2020-03-22T21:47:07Z")

</div>

I am trying to draw a circle and then change the color of the circle based on the values from the trackbars. So far, I can draw the circle(picture of the code is attached). I can make the trackbar but the trackbar chang…

---

## [Modify/reasign objective function of a model in JuMP](https://discourse.julialang.org/t/modify-reasign-objective-function-of-a-model-in-jump/36363)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 1\
**Last updated:** [March 22, 2020, 9:19pm UTC](https://discourse.julialang.org/t/modify-reasign-objective-function-of-a-model-in-jump/36363 "2020-03-22T21:19:53Z")

</div>

I’m implementing a consensus ADMM model, and for that I wold like to iteratively solve two models, exchange information between them and solve them again with a modified objective function. The problem I’m facing right …

---

## [Parallelization from v1.1.1 to v1.4](https://discourse.julialang.org/t/parallelization-from-v1-1-1-to-v1-4/36365)

<div class="topic-metadata">

**Author:** [@swishmas](https://discourse.julialang.org/u/swishmas)\
**Replies:** 0\
**Last updated:** [March 22, 2020, 9:04pm UTC](https://discourse.julialang.org/t/parallelization-from-v1-1-1-to-v1-4/36365 "2020-03-22T21:04:00Z")

</div>

I just want to know if I missed anything or if there’s a future fix planned. I have code written in v1.1.1 that uses a lot of the multi-threading parallelization listed here When v1.2 and v1.3 came out, there was an att…

---

## [JuliaPDE: Survey of PDE Packages](https://discourse.julialang.org/t/juliapde-survey-of-pde-packages/35672)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 28\
**Last updated:** [March 22, 2020, 8:56pm UTC](https://discourse.julialang.org/t/juliapde-survey-of-pde-packages/35672 "2020-03-22T20:56:18Z")

</div>

Request for comment: The survey is certainly far from complete. Hence my request: If you think something was missed, if you’d like to amend or complement the information, or if, for any reason, you wish your software n…

---

## [Why is this closure over keyword arguments causing such a dramatic slowdown?](https://discourse.julialang.org/t/why-is-this-closure-over-keyword-arguments-causing-such-a-dramatic-slowdown/36308)

<div class="topic-metadata">

**Author:** [@anon32405968](https://discourse.julialang.org/u/anon32405968)\
**Replies:** 19\
**Last updated:** [March 22, 2020, 8:43pm UTC](https://discourse.julialang.org/t/why-is-this-closure-over-keyword-arguments-causing-such-a-dramatic-slowdown/36308 "2020-03-22T20:43:15Z")

</div>

I’m writing a function that allows a user to freeze some variables of a function (needs to be generic with respect to the names and number of keyword arguments). Design-wise, I now have exactly what I need and the code i…

---

## [Embedding Julia in C++, packages can not be found from embedded script](https://discourse.julialang.org/t/embedding-julia-in-c-packages-can-not-be-found-from-embedded-script/36306)

<div class="topic-metadata">

**Author:** [@gobrad](https://discourse.julialang.org/u/gobrad)\
**Replies:** 1\
**Last updated:** [March 22, 2020, 8:31pm UTC](https://discourse.julialang.org/t/embedding-julia-in-c-packages-can-not-be-found-from-embedded-script/36306 "2020-03-22T20:31:12Z")

</div>

Hi I am working on embedding Julia in a C++ application. Simple Julia programs work fine, I can call Julia functions, access variables etc. But, trying to use any package in Julia, e.g. adding “using Measurements” or “…

---

## [Does anybody know how to get the crumb of YahooFinance?](https://discourse.julialang.org/t/does-anybody-know-how-to-get-the-crumb-of-yahoofinance/31504)

<div class="topic-metadata">

**Author:** [@markushhh](https://discourse.julialang.org/u/markushhh)\
**Replies:** 4\
**Last updated:** [March 22, 2020, 7:40pm UTC](https://discourse.julialang.org/t/does-anybody-know-how-to-get-the-crumb-of-yahoofinance/31504 "2020-03-22T19:40:03Z")

</div>

I am trying for weeks now to find out how HTTP and the YahooFinance API work together. Would love if someone can give me a hint. Thanks!

---

## [Franklin + API keys](https://discourse.julialang.org/t/franklin-api-keys/36321)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 5\
**Last updated:** [March 22, 2020, 7:35pm UTC](https://discourse.julialang.org/t/franklin-api-keys/36321 "2020-03-22T19:35:40Z")

</div>

I am trying to build a website that just displays some sexy PlotlyJS plots using Franklin. So far, so good! But part of my code will rely on GitHub - micahjsmith/FredData.jl: Pull data from Federal Reserve Economic Data …

---

## [Modules and files](https://discourse.julialang.org/t/modules-and-files/36330)

<div class="topic-metadata">

**Author:** [@vinhphunguyen](https://discourse.julialang.org/u/vinhphunguyen)\
**Replies:** 4\
**Last updated:** [March 22, 2020, 5:57pm UTC](https://discourse.julialang.org/t/modules-and-files/36330 "2020-03-22T17:57:01Z")

</div>

Hi all, I have this code with 3 files: MaterialPoint.jl for module MaterialPoint as follows module MaterialPoint using LinearAlgebra export mpmMaterialPoint\_2D\_Classic,createMaterialDomain\_Circle mutable s…

---

## [Finding eigenvectors (simple problems)](https://discourse.julialang.org/t/finding-eigenvectors-simple-problems/36315)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 10\
**Last updated:** [March 22, 2020, 5:36pm UTC](https://discourse.julialang.org/t/finding-eigenvectors-simple-problems/36315 "2020-03-22T17:36:21Z")

</div>

I’m studying linear algebra and I’ve run into an issue that I’ve figured out how to solve with Julia, but I’m hoping there’s a better way. Given some simple 2 x 2 transformation matrices, I have to determine which vector…

---

## [Feedback needed on improving Emacs inferior-julia](https://discourse.julialang.org/t/feedback-needed-on-improving-emacs-inferior-julia/36317)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 7\
**Last updated:** [March 22, 2020, 4:59pm UTC](https://discourse.julialang.org/t/feedback-needed-on-improving-emacs-inferior-julia/36317 "2020-03-22T16:59:58Z")

</div>

I’ve made some improvements to inferior-julia Julia REPL packaged with julia-mode and would like community feedback on whether pushing further in this direction is worthwhile. My hope is to have a good working Julia REPL…

---

## [Speed difference when storing annonymous function in variable vs. function](https://discourse.julialang.org/t/speed-difference-when-storing-annonymous-function-in-variable-vs-function/36350)

<div class="topic-metadata">

**Author:** [@anon32405968](https://discourse.julialang.org/u/anon32405968)\
**Replies:** 2\
**Last updated:** [March 22, 2020, 4:51pm UTC](https://discourse.julialang.org/t/speed-difference-when-storing-annonymous-function-in-variable-vs-function/36350 "2020-03-22T16:51:18Z")

</div>

Apologies if I am making a mistake with my benchmarking here, but I am wondering why there is such a significant speed difference between using an annonymous function stored in a variable vs. stored in a function, as in …

---

## [Empty Named Tuple](https://discourse.julialang.org/t/empty-named-tuple/36314)

<div class="topic-metadata">

**Author:** [@alphasig329](https://discourse.julialang.org/u/alphasig329)\
**Replies:** 4\
**Last updated:** [March 22, 2020, 3:24pm UTC](https://discourse.julialang.org/t/empty-named-tuple/36314 "2020-03-22T15:24:49Z")

</div>

Is it possible to initialize an empty NamedTuple with the appropriate keys and types for values? Can you then push future NamedTuples into this empty NamedTuple? Thanks!

---

## [Reading fixed-width files?](https://discourse.julialang.org/t/reading-fixed-width-files/30163)

<div class="topic-metadata">

**Author:** [@braamvandyk](https://discourse.julialang.org/u/braamvandyk)\
**Replies:** 22\
**Last updated:** [March 22, 2020, 1:35pm UTC](https://discourse.julialang.org/t/reading-fixed-width-files/30163 "2020-03-22T13:35:19Z")

</div>

I have data files (containing parameters for a 3rd-party, proprietary model) that are supplied in fixed-width format. Unfortunately, the specific format is for Fortran’s fixed field widths, with the effect that some valu…

---

## [TimerOutputs.jl](https://discourse.julialang.org/t/timeroutputs-jl/36313)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 3\
**Last updated:** [March 22, 2020, 1:01pm UTC](https://discourse.julialang.org/t/timeroutputs-jl/36313 "2020-03-22T13:01:44Z")

</div>

I am trying to time a piece of code. Here is a MWE: using TimerOutputs function x() @timeit to "Timing" a = 3 + 4 end x() I get the error: “to” is not defined. What is my error? Thanks.

---

## [\[ANN\] New Version of AstroTime.jl v0.4.0](https://discourse.julialang.org/t/ann-new-version-of-astrotime-jl-v0-4-0/36340)

<div class="topic-metadata">

**Author:** [@helgee](https://discourse.julialang.org/u/helgee)\
**Replies:** 0\
**Last updated:** [March 22, 2020, 10:15am UTC](https://discourse.julialang.org/t/ann-new-version-of-astrotime-jl-v0-4-0/36340 "2020-03-22T10:15:15Z")

</div>

Hey folks, There is a new version of AstroTime.jl which is sufficiently different to warrant a new announcement here :tada: While the user-facing API has remained fairly stable, one of the most important features, tran…

---

## [Unable to generate random tuples](https://discourse.julialang.org/t/unable-to-generate-random-tuples/36285)

<div class="topic-metadata">

**Author:** [@mindaslab](https://discourse.julialang.org/u/mindaslab)\
**Replies:** 5\
**Last updated:** [March 22, 2020, 5:58am UTC](https://discourse.julialang.org/t/unable-to-generate-random-tuples/36285 "2020-03-22T05:58:57Z")

</div>

Can some one explain why I am unable to generate random tuples. The code is here: Generating random tuples in julia ($1955383) · Snippets · Snippets · GitLab Thank you.

---

## [Help testing new features of PrettyTables.jl](https://discourse.julialang.org/t/help-testing-new-features-of-prettytables-jl/36283)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 12\
**Last updated:** [March 22, 2020, 1:23am UTC](https://discourse.julialang.org/t/help-testing-new-features-of-prettytables-jl/36283 "2020-03-22T01:23:08Z")

</div>

Hi guys! First all, I would like to apologize. When I started to develop PrettyTables.jl I thought it will be a very small project just to replicate the functionality in this website. However, it became much bigger, wit…

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

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