# Latest

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

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

**Page:** 1816

---

## [Replacing missing, really](https://discourse.julialang.org/t/replacing-missing-really/7952)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 8\
**Last updated:** [February 26, 2020, 11:20pm UTC](https://discourse.julialang.org/t/replacing-missing-really/7952 "2020-02-26T23:20:15Z")

</div>

How can I replace the missing value in a dataframe by, say, 0? There is a Missings.replace function but it does not actually make the replacement. It builds a lazy data structure Missings.EachReplaceMissing{DataFrames.D…

---

## [Multiple Variable Types in JuMP Extensions](https://discourse.julialang.org/t/multiple-variable-types-in-jump-extensions/34948)

<div class="topic-metadata">

**Author:** [@pulsipher](https://discourse.julialang.org/u/pulsipher)\
**Replies:** 6\
**Last updated:** [February 26, 2020, 11:06pm UTC](https://discourse.julialang.org/t/multiple-variable-types-in-jump-extensions/34948 "2020-02-26T23:06:41Z")

</div>

With JuMP 0.21 I was wondering what the might be the recommended way to extend it to allow for mixed variable types? In other words, I am trying to figure out which functions I should extend to permit this behavior. For …

---

## [Extending ==](https://discourse.julialang.org/t/extending/35198)

<div class="topic-metadata">

**Author:** [@SEA](https://discourse.julialang.org/u/SEA)\
**Replies:** 2\
**Last updated:** [February 26, 2020, 10:00pm UTC](https://discourse.julialang.org/t/extending/35198 "2020-02-26T22:00:19Z")

</div>

I am trying to extend the == operator from Base. If I try to access it via the syntax Base.:==, it does not parse. However, Base.:\* does. A workaround is to explicitly import it via import Base: == to extend it. I am usi…

---

## [How to read in really big integers](https://discourse.julialang.org/t/how-to-read-in-really-big-integers/35196)

<div class="topic-metadata">

**Author:** [@lesshaste](https://discourse.julialang.org/u/lesshaste)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 9:47pm UTC](https://discourse.julialang.org/t/how-to-read-in-really-big-integers/35196 "2020-02-26T21:47:19Z")

</div>

I am trying to read in a file such as http://paste.ubuntu.com/p/pxmwPXkNNk/.The list of integers should go into an array. I have learned (How to read in a list of integers into an array - #10 by lesshaste) that using J…

---

## [\[ANN\] Turing 0.9.0](https://discourse.julialang.org/t/ann-turing-0-9-0/35102)

<div class="topic-metadata">

**Author:** [@cpfiffer](https://discourse.julialang.org/u/cpfiffer)\
**Replies:** 6\
**Last updated:** [February 26, 2020, 8:57pm UTC](https://discourse.julialang.org/t/ann-turing-0-9-0/35102 "2020-02-26T20:57:38Z")

</div>

Turing 0.9 has been released. Bugs have been fixed and we’ve got new features and some key performance improvements. Precompilation and using Turing time should be dramatically improved. Informal benchmarks suggest that…

---

## [VS Code extension v0.14.0 beta](https://discourse.julialang.org/t/vs-code-extension-v0-14-0-beta/33879)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 26\
**Last updated:** [February 26, 2020, 8:34pm UTC](https://discourse.julialang.org/t/vs-code-extension-v0-14-0-beta/33879 "2020-02-26T20:34:49Z")

</div>

We just finished the third beta release candidate v0.14.0.beta.1 v0.14.0.beta.2 v0.14.0.beta.3 v0.14.0.rc.1 v0.14.0.rc.2 v0.14.0.rc.3 v0.14.0.rc.4 for the Julia extension for VS code here. We’d much appreciate it if we …

---

## [Confused about logging](https://discourse.julialang.org/t/confused-about-logging/34945)

<div class="topic-metadata">

**Author:** [@jonathan-durbin](https://discourse.julialang.org/u/jonathan-durbin)\
**Replies:** 10\
**Last updated:** [February 26, 2020, 8:30pm UTC](https://discourse.julialang.org/t/confused-about-logging/34945 "2020-02-26T20:30:52Z")

</div>

I’m trying to figure out how the Logging module works. I’ve browsed through the documentation and tried reading through logging.jl, but not much of this makes sense to me, unfortunately. I saw this explanation, which in…

---

## [Composition of functions and method dispatch](https://discourse.julialang.org/t/composition-of-functions-and-method-dispatch/35189)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 6\
**Last updated:** [February 26, 2020, 8:08pm UTC](https://discourse.julialang.org/t/composition-of-functions-and-method-dispatch/35189 "2020-02-26T20:08:53Z")

</div>

I have a number of functions like so gfun(m::Type1,t) gfun(m::Type2,t) gfun(m::Type3,x,t) In every case, I would like to define a different function, call it hfun, that takes the same arguments and just composes a sim…

---

## [JuMP warning messages](https://discourse.julialang.org/t/jump-warning-messages/35143)

<div class="topic-metadata">

**Author:** [@bandaya](https://discourse.julialang.org/u/bandaya)\
**Replies:** 5\
**Last updated:** [February 26, 2020, 8:01pm UTC](https://discourse.julialang.org/t/jump-warning-messages/35143 "2020-02-26T20:01:24Z")

</div>

I get this warning message on some optimization problems. ┌ Warning: The addition operator has been used on JuMP expressions a large number of times. This warning is safe to ignore but may indicate that model generation…

---

## [UI/UX Engineering Role at Beacon Biosignals](https://discourse.julialang.org/t/ui-ux-engineering-role-at-beacon-biosignals/35180)

<div class="topic-metadata">

**Author:** [@jrevels](https://discourse.julialang.org/u/jrevels)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 4:10pm UTC](https://discourse.julialang.org/t/ui-ux-engineering-role-at-beacon-biosignals/35180 "2020-02-26T16:10:27Z")

</div>

Beacon Biosignals is looking for a UI/UX design-focused engineer to help us refine our user-facing applications and empower medical experts with ML-augmented labeling/analysis workflows. This role specifically targets t…

---

## [First time call of (precompiled) functions](https://discourse.julialang.org/t/first-time-call-of-precompiled-functions/35179)

<div class="topic-metadata">

**Author:** [@zhaoli-IHEP](https://discourse.julialang.org/u/zhaoli-IHEP)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 3:54pm UTC](https://discourse.julialang.org/t/first-time-call-of-precompiled-functions/35179 "2020-02-26T15:54:06Z")

</div>

I have created a simple function in a module file “test.jl” module test export test0 function test0( s::Float64 )::Float64 return s\*100 end end Then I create another script main.jl to run this function using …

---

## [Regression from JuMP 0.18 to 0.21](https://discourse.julialang.org/t/regression-from-jump-0-18-to-0-21/35175)

<div class="topic-metadata">

**Author:** [@Lukros](https://discourse.julialang.org/u/Lukros)\
**Replies:** 1\
**Last updated:** [February 26, 2020, 3:20pm UTC](https://discourse.julialang.org/t/regression-from-jump-0-18-to-0-21/35175 "2020-02-26T15:20:47Z")

</div>

Hello, I am updating some functions I coded on JuMP 0.18. There I made used of the next: solve(model, relaxation = true) In JuMP 0.21, I could not find a way to implement it using optimize!(model). Is there any gener…

---

## [Turing.jl - update variables within the model](https://discourse.julialang.org/t/turing-jl-update-variables-within-the-model/35168)

<div class="topic-metadata">

**Author:** [@tpoisot](https://discourse.julialang.org/u/tpoisot)\
**Replies:** 3\
**Last updated:** [February 26, 2020, 2:41pm UTC](https://discourse.julialang.org/t/turing-jl-update-variables-within-the-model/35168 "2020-02-26T14:41:58Z")

</div>

I’m using Turing to fit a model, where every data point is a pair (S,L), as we describe in the following paper: Revisiting the links-species scaling relationship in food webs | bioRxiv In practice, we do not use L to fi…

---

## [Example Chi Square test - why different answers from HypothesisTests and Distances?](https://discourse.julialang.org/t/example-chi-square-test-why-different-answers-from-hypothesistests-and-distances/13392)

<div class="topic-metadata">

**Author:** [@robblackwell](https://discourse.julialang.org/u/robblackwell)\
**Replies:** 6\
**Last updated:** [February 26, 2020, 1:43pm UTC](https://discourse.julialang.org/t/example-chi-square-test-why-different-answers-from-hypothesistests-and-distances/13392 "2020-02-26T13:43:32Z")

</div>

I’m trying to reproduce an example Chi square test given in in the text book, Practical Statistics for Field Biology which compares the histogram of some numbers (O) with expected values (E). The worked example gives 5.2…

---

## [Generic Method with # Methods](https://discourse.julialang.org/t/generic-method-with-methods/35153)

<div class="topic-metadata">

**Author:** [@jtaylor306](https://discourse.julialang.org/u/jtaylor306)\
**Replies:** 3\
**Last updated:** [February 26, 2020, 1:34pm UTC](https://discourse.julialang.org/t/generic-method-with-methods/35153 "2020-02-26T13:34:43Z")

</div>

What exactly does “with # methods” mean? Here are some results that really confuse me. function sayhi(x,y) x+y end Result: sayhi (generic function with 3 methods) function f(x,y) x+y end Result: f (generic f…

---

## [PackageCompiler do not works](https://discourse.julialang.org/t/packagecompiler-do-not-works/35142)

<div class="topic-metadata">

**Author:** [@Darione](https://discourse.julialang.org/u/Darione)\
**Replies:** 4\
**Last updated:** [February 26, 2020, 11:54am UTC](https://discourse.julialang.org/t/packagecompiler-do-not-works/35142 "2020-02-26T11:54:04Z")

</div>

I am studing this page, trying to obtain a standalone app executable: https://julialang.github.io/PackageCompiler.jl/dev/apps/ I am doing these commands, to obtain an executable standalone of the example that there is …

---

## [Keep filter state for frame-wise processing](https://discourse.julialang.org/t/keep-filter-state-for-frame-wise-processing/34867)

<div class="topic-metadata">

**Author:** [@hagi](https://discourse.julialang.org/u/hagi)\
**Replies:** 4\
**Last updated:** [February 26, 2020, 8:53am UTC](https://discourse.julialang.org/t/keep-filter-state-for-frame-wise-processing/34867 "2020-02-26T08:53:46Z")

</div>

When I want to do frame-wise filtering of a longer signal, I want to use the last filter states for processing the next frame. While it is clear how to pass the argument, I don’t get how the states are returned. If I u…

---

## [I cannot import one module although I am able to do so with others](https://discourse.julialang.org/t/i-cannot-import-one-module-although-i-am-able-to-do-so-with-others/35148)

<div class="topic-metadata">

**Author:** [@dave7895](https://discourse.julialang.org/u/dave7895)\
**Replies:** 2\
**Last updated:** [February 26, 2020, 5:16am UTC](https://discourse.julialang.org/t/i-cannot-import-one-module-although-i-am-able-to-do-so-with-others/35148 "2020-02-26T05:16:51Z")

</div>

The title basically says it all. I have a module that Julia does not find. The error message using Pal ERROR: ArgumentError: Package Pal not found in current path: - Run \`import Pkg; Pkg.add("Pal")\` to install the Pal p…

---

## [Looking for artists to help with a game](https://discourse.julialang.org/t/looking-for-artists-to-help-with-a-game/35151)

<div class="topic-metadata">

**Author:** [@johnken](https://discourse.julialang.org/u/johnken)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 4:57am UTC](https://discourse.julialang.org/t/looking-for-artists-to-help-with-a-game/35151 "2020-02-26T04:57:33Z")

</div>

I am planning to make a game. It will be a post-apocalyptic game, inspired by the game “Don’t Starve”, and the movies “The Road” and “The Book of Eli”. I want the game to be realistic and fun to play at the same time. Th…

---

## [ForwardDiff.jacobian of softmax vs analytic Jacobian](https://discourse.julialang.org/t/forwarddiff-jacobian-of-softmax-vs-analytic-jacobian/35147)

<div class="topic-metadata">

**Author:** [@zxzkja](https://discourse.julialang.org/u/zxzkja)\
**Replies:** 0\
**Last updated:** [February 26, 2020, 1:18am UTC](https://discourse.julialang.org/t/forwarddiff-jacobian-of-softmax-vs-analytic-jacobian/35147 "2020-02-26T01:18:24Z")

</div>

I am trying out automatic differentiation on part of my code in place of the analytic derivative, but ForwardDiff.jacobian of softmax seems to take twice as long as the analytic Jacobian. I’m not sure if this is an expec…

---

## [Creating a function that only takes specific units](https://discourse.julialang.org/t/creating-a-function-that-only-takes-specific-units/35108)

<div class="topic-metadata">

**Author:** [@snowgum](https://discourse.julialang.org/u/snowgum)\
**Replies:** 8\
**Last updated:** [February 26, 2020, 12:08am UTC](https://discourse.julialang.org/t/creating-a-function-that-only-takes-specific-units/35108 "2020-02-26T00:08:48Z")

</div>

I’m new to Julia and currently trying to use Unitful.jl to create a function that only accepts arguments of a particular type of unit dimension, for example only length. Ideally, the type of the argument should be an arr…

---

## [Julia running in Git bash in Atom](https://discourse.julialang.org/t/julia-running-in-git-bash-in-atom/25338)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [February 25, 2020, 10:41pm UTC](https://discourse.julialang.org/t/julia-running-in-git-bash-in-atom/25338 "2020-02-25T22:41:11Z")

</div>

The dysfunctional “shell” under Windows is a persistent pain point for me. I asked for Julia to be started in the Git bash, but apparently that is too tricky. It is good to have an idle half-an-hour :). I have somethin…

---

## [Best Practices for Package Resource Location](https://discourse.julialang.org/t/best-practices-for-package-resource-location/35141)

<div class="topic-metadata">

**Author:** [@duncanam](https://discourse.julialang.org/u/duncanam)\
**Replies:** 2\
**Last updated:** [February 25, 2020, 10:19pm UTC](https://discourse.julialang.org/t/best-practices-for-package-resource-location/35141 "2020-02-25T22:19:31Z")

</div>

Hello, I’m creating a package that will perform table lookups on some standardized chemical tables one can find online, and I’d like to inquire as to best practices for where and how to look for these resources once dow…

---

## [\[MOI / JuMP\] Multiple Result Indexing Bug](https://discourse.julialang.org/t/moi-jump-multiple-result-indexing-bug/35140)

<div class="topic-metadata">

**Author:** [@pulsipher](https://discourse.julialang.org/u/pulsipher)\
**Replies:** 2\
**Last updated:** [February 25, 2020, 10:12pm UTC](https://discourse.julialang.org/t/moi-jump-multiple-result-indexing-bug/35140 "2020-02-25T22:12:12Z")

</div>

While developing tests for my JuMP extension in accordance with the newly supported multiple result indexing, I discovered that the same MOI attribute value is returned irrespective of the result index (returning the val…

---

## [Converting a Array of strings to an Array of Char](https://discourse.julialang.org/t/converting-a-array-of-strings-to-an-array-of-char/35123)

<div class="topic-metadata">

**Author:** [@floriano](https://discourse.julialang.org/u/floriano)\
**Replies:** 4\
**Last updated:** [February 25, 2020, 10:06pm UTC](https://discourse.julialang.org/t/converting-a-array-of-strings-to-an-array-of-char/35123 "2020-02-25T22:06:42Z")

</div>

I have an input similar like this: a = \["123"; "456"; "abc"\] display(a) 3-element Array{String,1}: "123" "456" "abc" I want to convert it to something like this: 3×3 Array{Char,2}: '1' '2' '3' '4' '5' '6' '…

---

## [How to retrieve global variable in C](https://discourse.julialang.org/t/how-to-retrieve-global-variable-in-c/35139)

<div class="topic-metadata">

**Author:** [@nnn](https://discourse.julialang.org/u/nnn)\
**Replies:** 4\
**Last updated:** [February 25, 2020, 9:56pm UTC](https://discourse.julialang.org/t/how-to-retrieve-global-variable-in-c/35139 "2020-02-25T21:56:10Z")

</div>

I want to retrieve global variable x I just set in Julia from my C application. Here’s the code I have so far: #include \<julia.h\> void SimpleExecute(char \*command, char \*resultVar, char\* result) { jl\_eval\_string(com…

---

## [Calling Julia algorithm from C](https://discourse.julialang.org/t/calling-julia-algorithm-from-c/35130)

<div class="topic-metadata">

**Author:** [@kevinczimmerman](https://discourse.julialang.org/u/kevinczimmerman)\
**Replies:** 6\
**Last updated:** [February 25, 2020, 8:05pm UTC](https://discourse.julialang.org/t/calling-julia-algorithm-from-c/35130 "2020-02-25T20:05:21Z")

</div>

I am interested in developing algorithms in Julia and compiling the algorithm into a library and then integrating the functionality into large codebases written in C. I’m aware of PackageCompiler.jl but am confused about…

---

## [Cbc with MILP too slow](https://discourse.julialang.org/t/cbc-with-milp-too-slow/35111)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 2\
**Last updated:** [February 25, 2020, 7:46pm UTC](https://discourse.julialang.org/t/cbc-with-milp-too-slow/35111 "2020-02-25T19:46:25Z")

</div>

I have launched a simulation of my MILP and almost 24 hours has been passed and the script is have not finished yet. I have wondering what is the real cause of this : the large amount of binary variables present in my…

---

## [Next (2nd) Julia Munich Meetup](https://discourse.julialang.org/t/next-2nd-julia-munich-meetup/29355)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 9\
**Last updated:** [February 25, 2020, 7:33pm UTC](https://discourse.julialang.org/t/next-2nd-julia-munich-meetup/29355 "2020-02-25T19:33:55Z")

</div>

We had our first Julia Munich Meetup yesterday - thanks to all participants for making this an interesting and fun event, and thanks for all contributions/presentations! We agreed to do this regularly, every two months …

---

## [Ipopt with MathProgBase returns Domain Error for log() function](https://discourse.julialang.org/t/ipopt-with-mathprogbase-returns-domain-error-for-log-function/35097)

<div class="topic-metadata">

**Author:** [@ykc](https://discourse.julialang.org/u/ykc)\
**Replies:** 8\
**Last updated:** [February 25, 2020, 7:25pm UTC](https://discourse.julialang.org/t/ipopt-with-mathprogbase-returns-domain-error-for-log-function/35097 "2020-02-25T19:25:14Z")

</div>

Hi all, I have been estimating a nonlinear model using the Ipopt solver through MathProgBase. The objective function takes sum(log.(x)) for a vector x at the end. From what I understand, if x is ever negative, Ipopt sh…

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

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