# Latest

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

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

**Page:** 1968

---

## [Maintaining Julia native GPU codegen vs relying on MLIR](https://discourse.julialang.org/t/maintaining-julia-native-gpu-codegen-vs-relying-on-mlir/25615)

<div class="topic-metadata">

**Author:** [@datnamer](https://discourse.julialang.org/u/datnamer)\
**Replies:** 5\
**Last updated:** [July 2, 2019, 7:38pm UTC](https://discourse.julialang.org/t/maintaining-julia-native-gpu-codegen-vs-relying-on-mlir/25615 "2019-07-02T19:38:29Z")

</div>

Apparently swift will be getting GPU kernel generation capability through MLIR. As far as I understand it, Julia relies already on LLVM to generate Cuda code. What are the costs and benefits of maintaining an extra laye…

---

## [Interact Layout over Grid](https://discourse.julialang.org/t/interact-layout-over-grid/25940)

<div class="topic-metadata">

**Author:** [@rand5](https://discourse.julialang.org/u/rand5)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 7:37pm UTC](https://discourse.julialang.org/t/interact-layout-over-grid/25940 "2019-07-02T19:37:57Z")

</div>

I am trying to create a grid of drop down menus. I was hoping something along the lines of the following would work: using Interact M = 2 N = 3 options = Observable(\["a", "b"\]) c = repeat(\[dropdown(options)\],M,N) displa…

---

## [Differential Equations and Parameter Estimation](https://discourse.julialang.org/t/differential-equations-and-parameter-estimation/24246)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 21\
**Last updated:** [July 2, 2019, 7:20pm UTC](https://discourse.julialang.org/t/differential-equations-and-parameter-estimation/24246 "2019-07-02T19:20:09Z")

</div>

I’m about to attempt parameter estimation using DifferentialEquations, and have a couple of questions – I hope someone can share their experience. I’ve read the tutorial, and some previous discussion. My problem is a s…

---

## [Multivariable numerical integration with changing limits](https://discourse.julialang.org/t/multivariable-numerical-integration-with-changing-limits/25862)

<div class="topic-metadata">

**Author:** [@sevimora](https://discourse.julialang.org/u/sevimora)\
**Replies:** 4\
**Last updated:** [July 2, 2019, 5:02pm UTC](https://discourse.julialang.org/t/multivariable-numerical-integration-with-changing-limits/25862 "2019-07-02T17:02:34Z")

</div>

Hi! I am not very proficient in Julia (or in numerical methods, for that matter), so please be forgiving with my ignorance… I am trying to numerically integrate a function of the form: \\int\_a^b \\int\_{\\underline x(w)}…

---

## [Ccall library as a variable string](https://discourse.julialang.org/t/ccall-library-as-a-variable-string/25923)

<div class="topic-metadata">

**Author:** [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Replies:** 2\
**Last updated:** [July 2, 2019, 3:47pm UTC](https://discourse.julialang.org/t/ccall-library-as-a-variable-string/25923 "2019-07-02T15:47:27Z")

</div>

This works right, ccall((:lwrite, “/home/mikel/mylibraries/libCbin\_IO”), void, ()) But if I define a variable to specify the library, it does not work. mylib=/home/mikel/mylibraries/libCbin\_IO" ccall((:lwrite,mylib),…

---

## [PSA: breaking changes in StatsModels v0.6.0 (Terms 2.0: Son of Terms)](https://discourse.julialang.org/t/psa-breaking-changes-in-statsmodels-v0-6-0-terms-2-0-son-of-terms/25626)

<div class="topic-metadata">

**Author:** [@dave.f.kleinschmidt](https://discourse.julialang.org/u/dave.f.kleinschmidt)\
**Replies:** 6\
**Last updated:** [July 2, 2019, 2:53pm UTC](https://discourse.julialang.org/t/psa-breaking-changes-in-statsmodels-v0-6-0-terms-2-0-son-of-terms/25626 "2019-07-02T14:53:28Z")

</div>

It’s finally time to release version 0.6.0 of StatsModels.jl, which includes the radically re-designed internals introduced in Terms 2.0: Son of Terms (announcement here). Most of these changes should not affect end use…

---

## [DataFrames. Cannot change missing values](https://discourse.julialang.org/t/dataframes-cannot-change-missing-values/25922)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 1\
**Last updated:** [July 2, 2019, 2:23pm UTC](https://discourse.julialang.org/t/dataframes-cannot-change-missing-values/25922 "2019-07-02T14:23:30Z")

</div>

Hi. Would you help me? I have a DataFrame. Add a new column with missing values, but later I can not change the value. insert!(df,15,DataFrames.missing,:b) df\[1,:b\]=2 MethodError: Cannot convert an object of type I…

---

## [Utilities for Reactive.jl](https://discourse.julialang.org/t/utilities-for-reactive-jl/6970)

<div class="topic-metadata">

**Author:** [@pkairys](https://discourse.julialang.org/u/pkairys)\
**Replies:** 3\
**Last updated:** [July 2, 2019, 1:35pm UTC](https://discourse.julialang.org/t/utilities-for-reactive-jl/6970 "2019-07-02T13:35:10Z")

</div>

I don’t know if this is the best title, but I’d really like to use Reactive.jl in an upcoming project where we stream data from a scientific instrument to our cluster for analysis. Using OnlineStats.jl for analysis and t…

---

## [Data stream library comparable to Python streamz or tributary](https://discourse.julialang.org/t/data-stream-library-comparable-to-python-streamz-or-tributary/25925)

<div class="topic-metadata">

**Author:** [@FemtoTrader](https://discourse.julialang.org/u/FemtoTrader)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 1:32pm UTC](https://discourse.julialang.org/t/data-stream-library-comparable-to-python-streamz-or-tributary/25925 "2019-07-02T13:32:27Z")

</div>

Hello, I wonder if Julia currently have libraries to deal with data stream / real-time stream processing comparable to Python streamz or tributary. https://github.com/python-streamz/streamz https://github.com/timkpain…

---

## [Plots and truncating numbers?](https://discourse.julialang.org/t/plots-and-truncating-numbers/25893)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 9\
**Last updated:** [July 2, 2019, 12:41pm UTC](https://discourse.julialang.org/t/plots-and-truncating-numbers/25893 "2019-07-02T12:41:32Z")

</div>

I’m plotting tiny subplots in a 4x4 matrix. Some of the subplots contain a large number of digits… making the plot really ugly: I’m trying to map the trunc() function on the plots, e.g., x = ... Y = ... fg = \[\] for …

---

## [\[ANN\] BitConverter.jl](https://discourse.julialang.org/t/ann-bitconverter-jl/25913)

<div class="topic-metadata">

**Author:** [@roshii](https://discourse.julialang.org/u/roshii)\
**Replies:** 4\
**Last updated:** [July 2, 2019, 12:13pm UTC](https://discourse.julialang.org/t/ann-bitconverter-jl/25913 "2019-07-02T12:13:54Z")

</div>

Pleased to announce BitConverter which allows conversion of Integer to an array of bytes and back, support any base data types is planned but yet to be added.

---

## [ReadOnlyMemoryError in CSV.read](https://discourse.julialang.org/t/readonlymemoryerror-in-csv-read/25224)

<div class="topic-metadata">

**Author:** [@e\_johnson](https://discourse.julialang.org/u/e_johnson)\
**Replies:** 12\
**Last updated:** [July 2, 2019, 11:58am UTC](https://discourse.julialang.org/t/readonlymemoryerror-in-csv-read/25224 "2019-07-02T11:58:24Z")

</div>

Hello, I am trying to read in space separated files, but I am getting a ReadOnlyMemoryError when calling CSV.read. My minimum working example runs fine on my laptop, but it fails on my desktop. I am using Julia 1.1.1 a…

---

## [Multivariate Nonlinear Regression](https://discourse.julialang.org/t/multivariate-nonlinear-regression/25887)

<div class="topic-metadata">

**Author:** [@MLackner](https://discourse.julialang.org/u/MLackner)\
**Replies:** 9\
**Last updated:** [July 2, 2019, 11:44am UTC](https://discourse.julialang.org/t/multivariate-nonlinear-regression/25887 "2019-07-02T11:44:01Z")

</div>

Greetings! I am trying to perform a multivariate nonlinear regression (2D curve fitting). Let’s assume my data has the following form: function multimodel(x, p) a = x\[1\] t = x\[2\] α = p\[1\] τ = p\[2\] (…

---

## [\[ANN\] TestProgressMeter](https://discourse.julialang.org/t/ann-testprogressmeter/25916)

<div class="topic-metadata">

**Author:** [@under-Peter](https://discourse.julialang.org/u/under-Peter)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 8:52am UTC](https://discourse.julialang.org/t/ann-testprogressmeter/25916 "2019-07-02T08:52:05Z")

</div>

Running tests can be stressful, especially if they take a bit longer. Is anything even still happening? Is one of your functions stuck in an infinite loop? Has time itself frozen? For that purpose, I wrote TestProgressM…

---

## [ERROR: Unsatisfiable requirements detected for package Cpp \[2859d429\]](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-cpp-2859d429/25914)

<div class="topic-metadata">

**Author:** [@Volker](https://discourse.julialang.org/u/Volker)\
**Replies:** 2\
**Last updated:** [July 2, 2019, 8:37am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-cpp-2859d429/25914 "2019-07-02T08:37:11Z")

</div>

Hi, I would like to use the package Cpp, but when I tried to add it via the package manager I got the following error. Does somebody know what I´m doing wrong? First I tried julia Pkg.add("Cpp") and then I tried julia …

---

## [Weird MethodError with custom logger](https://discourse.julialang.org/t/weird-methoderror-with-custom-logger/25897)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 9\
**Last updated:** [July 2, 2019, 7:37am UTC](https://discourse.julialang.org/t/weird-methoderror-with-custom-logger/25897 "2019-07-02T07:37:03Z")

</div>

I’m trying to construct a custom logger and getting a weird MethodError. For MWE, I copied SimpleLogger and changed its name to TestLogger. Here’s the logger code (testlog.jl): using Logging using Logging: Info # Test…

---

## [Automatic differentiation and missing values](https://discourse.julialang.org/t/automatic-differentiation-and-missing-values/25764)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 2\
**Last updated:** [July 2, 2019, 6:57am UTC](https://discourse.julialang.org/t/automatic-differentiation-and-missing-values/25764 "2019-07-02T06:57:51Z")

</div>

I am trying to calculate the Jacobian matrix of a function that is robust with missing values and want to use one of the great Julia packages that do automatic differentiation and have hit some kind of a roadblock: usin…

---

## [Gtk menubar (and gtkglarea) question](https://discourse.julialang.org/t/gtk-menubar-and-gtkglarea-question/25876)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 4\
**Last updated:** [July 1, 2019, 8:31pm UTC](https://discourse.julialang.org/t/gtk-menubar-and-gtkglarea-question/25876 "2019-07-01T20:31:16Z")

</div>

I hate to ask this question here, but I’m wondering if this might be a julia gtk issue. Everything I’ve seen says i should simply connect the “activate” signal to the menu item and it should work. but I’m not seeing it …

---

## [Help me Improve my poker hand evaluator](https://discourse.julialang.org/t/help-me-improve-my-poker-hand-evaluator/19360)

<div class="topic-metadata">

**Author:** [@rapasite](https://discourse.julialang.org/u/rapasite)\
**Replies:** 11\
**Last updated:** [January 14, 2019, 9:32am UTC](https://discourse.julialang.org/t/help-me-improve-my-poker-hand-evaluator/19360 "2019-01-14T09:32:53Z")

</div>

Hi, I am making a poker hand evaluator for fun. the deck of card is represent by the 52 first bits (low value) of a UInt64 like so: 0000/0000/0000/AAAA/KKKK/QQQQ/JJJJ/10,10,10,10/9999/8888/7777/6666/5555/4444/3333/222…

---

## [Different way of accessing python objects (difference between pyimport("sys").path and pyimport("sys")."path")](https://discourse.julialang.org/t/different-way-of-accessing-python-objects-difference-between-pyimport-sys-path-and-pyimport-sys-path/25859)

<div class="topic-metadata">

**Author:** [@nitin-ppnp](https://discourse.julialang.org/u/nitin-ppnp)\
**Replies:** 2\
**Last updated:** [July 1, 2019, 6:45pm UTC](https://discourse.julialang.org/t/different-way-of-accessing-python-objects-difference-between-pyimport-sys-path-and-pyimport-sys-path/25859 "2019-07-01T18:45:55Z")

</div>

When I do pushfirst!(PyVector(pyimport("sys").path),"") and check with pyimport("sys").path it remains unchanged. However, if I do pushfirst!(PyVector(pyimport("sys")."path"),""), pyimport("sys").path shows the mo…

---

## [Pmap in function/module](https://discourse.julialang.org/t/pmap-in-function-module/25896)

<div class="topic-metadata">

**Author:** [@jmboehm](https://discourse.julialang.org/u/jmboehm)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 6:23pm UTC](https://discourse.julialang.org/t/pmap-in-function-module/25896 "2019-07-01T18:23:41Z")

</div>

I’m having trouble running pmap when it’s inside a function in a module. Here is a MWE: In myModule.jl module myModule using Distributed function myOuterFunction() myVec = collect(1.0:0.1:10.0) …

---

## [\`splice!\` for vector of structs](https://discourse.julialang.org/t/splice-for-vector-of-structs/25898)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 1\
**Last updated:** [July 1, 2019, 5:13pm UTC](https://discourse.julialang.org/t/splice-for-vector-of-structs/25898 "2019-07-01T17:13:08Z")

</div>

I’m trying to splice! a custom structure into an array containing my custom structures, something like: mutable struct MyType a::Int64 b::Float64 c::Bool end MyType() = MyType(0, 0.0, false) myvec = \[MyType(…

---

## [\[ANN\] AugmentedGaussianProcesses.jl](https://discourse.julialang.org/t/ann-augmentedgaussianprocesses-jl/22952)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 4:02pm UTC](https://discourse.julialang.org/t/ann-augmentedgaussianprocesses-jl/22952 "2019-07-01T16:02:06Z")

</div>

Hi, Just want to make so shameless advertisement for my Gaussian Process package : AugmentedGaussianProcesses.jl With it you can work efficiently with non-gaussian likelihood (as well as gaussian of course) while scali…

---

## [Mutation of constants](https://discourse.julialang.org/t/mutation-of-constants/25894)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 6\
**Last updated:** [July 1, 2019, 3:43pm UTC](https://discourse.julialang.org/t/mutation-of-constants/25894 "2019-07-01T15:43:58Z")

</div>

As documented, why do we even allow these in the first place? Why and how would they be useful? Constant mutated to a different memory location without warning. julia\> const s1 = "1" "1" julia\> s2 = "1" "1" julia\> …

---

## [Pair out of nowhere (I wanted a dictionary)](https://discourse.julialang.org/t/pair-out-of-nowhere-i-wanted-a-dictionary/25895)

<div class="topic-metadata">

**Author:** [@dburch](https://discourse.julialang.org/u/dburch)\
**Replies:** 2\
**Last updated:** [July 1, 2019, 3:01pm UTC](https://discourse.julialang.org/t/pair-out-of-nowhere-i-wanted-a-dictionary/25895 "2019-07-01T15:01:13Z")

</div>

Pairs are driving me a little bit crazy here. I don’t really understand the difference between a Dictionary and a Pair, and I don’t mentally see how a Dictionary type is inadequate. See this example. I’m trying to create…

---

## [How to ensure \`inv()\` is multi-threaded?](https://discourse.julialang.org/t/how-to-ensure-inv-is-multi-threaded/25846)

<div class="topic-metadata">

**Author:** [@hsgg](https://discourse.julialang.org/u/hsgg)\
**Replies:** 2\
**Last updated:** [July 1, 2019, 2:43pm UTC](https://discourse.julialang.org/t/how-to-ensure-inv-is-multi-threaded/25846 "2019-07-01T14:43:04Z")

</div>

I’m running a code that constructs Fisher matrices and then inverts them to obtain the covariance matrices. The matrices end up ~16000x16000 in size. On my laptop the call to inv() is multi-threaded, but on the local un…

---

## [CUDA streams do not overlap](https://discourse.julialang.org/t/cuda-streams-do-not-overlap/24879)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 6\
**Last updated:** [July 1, 2019, 10:12am UTC](https://discourse.julialang.org/t/cuda-streams-do-not-overlap/24879 "2019-07-01T10:12:57Z")

</div>

I have troubles to make streams overlap. So, I created the following simple example, where the streams s1 and s2 should overlap; yet they don’t: using CUDAdrv, CUDAnative, CuArrays function memcopy!(A, B) ix = (blo…

---

## [Test Explorer UI](https://discourse.julialang.org/t/test-explorer-ui/16084)

<div class="topic-metadata">

**Author:** [@wherrera](https://discourse.julialang.org/u/wherrera)\
**Replies:** 19\
**Last updated:** [July 1, 2019, 2:25pm UTC](https://discourse.julialang.org/t/test-explorer-ui/16084 "2019-07-01T14:25:21Z")

</div>

Is there any chance of getting a Test Adapter to allow automatic unit testing in Julia with the Test Explorer extension?

---

## [Legend bug in Plots?](https://discourse.julialang.org/t/legend-bug-in-plots/25891)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 1\
**Last updated:** [July 1, 2019, 1:44pm UTC](https://discourse.julialang.org/t/legend-bug-in-plots/25891 "2019-07-01T13:44:03Z")

</div>

I’m plotting a series of sub-plots using Plots. To illustrate things: x = range(-2pi,2pi,length=100) fig = \[plot(x,sin.(x),legend=:top)\] push!(fig,plot(x,cos.(x),legend=:top)) plot(fig...) produces …which is not wh…

---

## [Can I specify the sysimage inside a Julia file?](https://discourse.julialang.org/t/can-i-specify-the-sysimage-inside-a-julia-file/25886)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 12:11pm UTC](https://discourse.julialang.org/t/can-i-specify-the-sysimage-inside-a-julia-file/25886 "2019-07-01T12:11:05Z")

</div>

Is it possible to set the parameters of the interpreter by the Julia file which is executed? Maybe something similar to modelines. I would have two usecases in mind: Run a script with compile=min to be closer to a scri…

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

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