# Latest

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

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

**Page:** 1924

---

## [ChemometricsTools.jl a machine learning library for chemists(or really anyone)](https://discourse.julialang.org/t/chemometricstools-jl-a-machine-learning-library-for-chemists-or-really-anyone/23301)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 6\
**Last updated:** [September 10, 2019, 11:29am UTC](https://discourse.julialang.org/t/chemometricstools-jl-a-machine-learning-library-for-chemists-or-really-anyone/23301 "2019-09-10T11:29:43Z")

</div>

I am sharing this a little early, but I received some good feedback from a first vocal visitor. I’m eager to hear some more before I buff this package a bit more. So far it’s a one man show building this package from t…

---

## [Installation of packed Winston](https://discourse.julialang.org/t/installation-of-packed-winston/28591)

<div class="topic-metadata">

**Author:** [@Claus](https://discourse.julialang.org/u/Claus)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 9:40am UTC](https://discourse.julialang.org/t/installation-of-packed-winston/28591 "2019-09-10T09:40:56Z")

</div>

Hi As a newbe to Julia I have problem with adding packed e.g. Winston for plot to my PC. i get several errors like: julia\> Pkg.add(“Winston”) Cloning default registries into C:\\Users\\CSJN\\.julia Cloning registry fr…

---

## [Little parallel speedup on binary tree structure in Julia 1.3.0-rc1](https://discourse.julialang.org/t/little-parallel-speedup-on-binary-tree-structure-in-julia-1-3-0-rc1/28594)

<div class="topic-metadata">

**Author:** [@nmatzke](https://discourse.julialang.org/u/nmatzke)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 9:18am UTC](https://discourse.julialang.org/t/little-parallel-speedup-on-binary-tree-structure-in-julia-1-3-0-rc1/28594 "2019-09-10T09:18:23Z")

</div>

Hi all, I am trying to use @spawn in Julia 1.3.0-rc1 to parallelize some slow calculations. My data is in a binary tree structure, where the calculations have to first be done at the tips, then the nodes ancestral to t…

---

## [New package: Trello.jl:](https://discourse.julialang.org/t/new-package-trello-jl/28593)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 9:14am UTC](https://discourse.julialang.org/t/new-package-trello-jl/28593 "2019-09-10T09:14:16Z")

</div>

I have released Trello.jl It is a julialang wrapper of the Trello REST API. It is not a entirely direct wrapper as some of the standard behavior is not intuitive. So it’s a bit better than that. It’s also incomplete,…

---

## [Simulating CIR model with Differential Equation Package](https://discourse.julialang.org/t/simulating-cir-model-with-differential-equation-package/28569)

<div class="topic-metadata">

**Author:** [@Ajaychat3](https://discourse.julialang.org/u/Ajaychat3)\
**Replies:** 13\
**Last updated:** [September 10, 2019, 8:56am UTC](https://discourse.julialang.org/t/simulating-cir-model-with-differential-equation-package/28569 "2019-09-10T08:56:18Z")

</div>

I am trying to solve CIR model DiffEq.but get the following error. Please help me resolving this issue. # dx=a(b−x)dt+σdWt Vaiscek Model # dx=a(b−x)dt+σ\*sqrt(x)\*dWt CIR model α=0.2;σ=0.2;u₀=0.04;β=0.041 f(u,p,t) = α\*(…

---

## [Plots.jl attributes can be broadcasted? Changing linestyle for example](https://discourse.julialang.org/t/plots-jl-attributes-can-be-broadcasted-changing-linestyle-for-example/19559)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 9\
**Last updated:** [September 10, 2019, 7:34am UTC](https://discourse.julialang.org/t/plots-jl-attributes-can-be-broadcasted-changing-linestyle-for-example/19559 "2019-09-10T07:34:33Z")

</div>

Hi, When using Plots, I can specify the color like using Plots ls = vcat(fill(:red,5),fill(:green,5)) plot(rand(10),linecolor = ls) but somehow this does not work ls = vcat(fill(:dash,5),fill(:solid,5)) plot(rand(10)…

---

## [ANN: TimeSeriesClustering.jl](https://discourse.julialang.org/t/ann-timeseriesclustering-jl/28587)

<div class="topic-metadata">

**Author:** [@holger](https://discourse.julialang.org/u/holger)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 3:31am UTC](https://discourse.julialang.org/t/ann-timeseriesclustering-jl/28587 "2019-09-10T03:31:38Z")

</div>

TimeSeriesClustering.jl is a Julia implementation of unsupervised learning methods for time series datasets. It provides functionality for clustering and aggregating, detecting motifs, and quantifying similarity between …

---

## [Julia's Release Process](https://discourse.julialang.org/t/julias-release-process/28122)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 19\
**Last updated:** [September 10, 2019, 1:21am UTC](https://discourse.julialang.org/t/julias-release-process/28122 "2019-09-10T01:21:10Z")

</div>

I wrote a blog post explaining Julia’s release process, collecting information from various places: Also being discussed on Hacker News right now if anyone cares to join that conversation.

---

## [How to change string in local scope](https://discourse.julialang.org/t/how-to-change-string-in-local-scope/28572)

<div class="topic-metadata">

**Author:** [@sergeypospelov](https://discourse.julialang.org/u/sergeypospelov)\
**Replies:** 10\
**Last updated:** [September 9, 2019, 10:09pm UTC](https://discourse.julialang.org/t/how-to-change-string-in-local-scope/28572 "2019-09-09T22:09:43Z")

</div>

Hello, guys! I am new to Julia. Help me please. I want to change my string initialized in upper local scope, and then use it there text = "abacaba" text\_result = "" #string must be changed for rule in 1:5 if i % 2 …

---

## [Getting Mouse position on a Julia Gtk Canvas](https://discourse.julialang.org/t/getting-mouse-position-on-a-julia-gtk-canvas/28520)

<div class="topic-metadata">

**Author:** [@rverdier](https://discourse.julialang.org/u/rverdier)\
**Replies:** 2\
**Last updated:** [September 9, 2019, 9:18pm UTC](https://discourse.julialang.org/t/getting-mouse-position-on-a-julia-gtk-canvas/28520 "2019-09-09T21:18:08Z")

</div>

Is there a callback function in Julia Gtk that gives the mouse position when clicked on a Canvas?

---

## [\[ANN\] MsgPack.jl v1.0.0](https://discourse.julialang.org/t/ann-msgpack-jl-v1-0-0/28575)

<div class="topic-metadata">

**Author:** [@jrevels](https://discourse.julialang.org/u/jrevels)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 7:40pm UTC](https://discourse.julialang.org/t/ann-msgpack-jl-v1-0-0/28575 "2019-09-09T19:40:33Z")

</div>

Hello! I’m pleased to share that MsgPack.jl will soon be updated to v1.0.0. This major version bump brings a variety of features/improvements (many of which are inspired by @quinnj’s awesome JSON3.jl!): overloadable …

---

## [Lagrange multipliers (duals) in JuMP 0.19](https://discourse.julialang.org/t/lagrange-multipliers-duals-in-jump-0-19/28328)

<div class="topic-metadata">

**Author:** [@ko56](https://discourse.julialang.org/u/ko56)\
**Replies:** 15\
**Last updated:** [September 9, 2019, 6:06pm UTC](https://discourse.julialang.org/t/lagrange-multipliers-duals-in-jump-0-19/28328 "2019-09-09T18:06:59Z")

</div>

I have Julia 1.1.1 and JuMP 0.19. I am solving a concave maximization problem with linear constraints with Ipopt. I am confused with what is happening to the signs of the Lagrange multipliers: The correct multipliers a…

---

## [How can I handle uuid and jsob in PGSQL](https://discourse.julialang.org/t/how-can-i-handle-uuid-and-jsob-in-pgsql/28539)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 4\
**Last updated:** [September 9, 2019, 5:35pm UTC](https://discourse.julialang.org/t/how-can-i-handle-uuid-and-jsob-in-pgsql/28539 "2019-09-09T17:35:28Z")

</div>

In my database, I’ve the below structure: CREATE TABLE public.devices ( id uuid, data jsonb ) When I run my query using this package, I got the below, how can I read the output properly?

---

## [Bar chart with rotated x label for each bar](https://discourse.julialang.org/t/bar-chart-with-rotated-x-label-for-each-bar/28554)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 5\
**Last updated:** [September 9, 2019, 5:32pm UTC](https://discourse.julialang.org/t/bar-chart-with-rotated-x-label-for-each-bar/28554 "2019-09-09T17:32:38Z")

</div>

I’m having a hard time plotting a simple bar chart with Plots.jl that has a label below each bar. The data are stored in a DataFrame that looks like this: julia\> merged\[:, \[1,5,6\]\] 85×3 DataFrame │ Row │ naics │ % of to…

---

## [Solving a PDE which comes from an HJB in DifferentialEquations.jl](https://discourse.julialang.org/t/solving-a-pde-which-comes-from-an-hjb-in-differentialequations-jl/8617)

<div class="topic-metadata">

**Author:** [@MaximilianJHuber](https://discourse.julialang.org/u/MaximilianJHuber)\
**Replies:** 15\
**Last updated:** [September 9, 2019, 4:27pm UTC](https://discourse.julialang.org/t/solving-a-pde-which-comes-from-an-hjb-in-differentialequations-jl/8617 "2019-09-09T16:27:37Z")

</div>

I was wondering whether one could use the Finite Difference Method developed in the recent GSoC project DiffEqOperators.jl to solve the following PDE, which comes from an HJB that describes a household consumption/saving…

---

## [Julia for live control of USB3.0 camera and DAC/ADC boards, with GUI?](https://discourse.julialang.org/t/julia-for-live-control-of-usb3-0-camera-and-dac-adc-boards-with-gui/14195)

<div class="topic-metadata">

**Author:** [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Replies:** 19\
**Last updated:** [September 9, 2019, 4:24pm UTC](https://discourse.julialang.org/t/julia-for-live-control-of-usb3-0-camera-and-dac-adc-boards-with-gui/14195 "2019-09-09T16:24:18Z")

</div>

I’ve prototyped a system in LabView that has the functionality I want, but I’m coming up against speed issues and would like to avoid developing further in a commercially licensed language. The current labview system co…

---

## [JuMP v0.20 has been released](https://discourse.julialang.org/t/jump-v0-20-has-been-released/28221)

<div class="topic-metadata">

**Author:** [@blegat](https://discourse.julialang.org/u/blegat)\
**Replies:** 4\
**Last updated:** [September 9, 2019, 3:49pm UTC](https://discourse.julialang.org/t/jump-v0-20-has-been-released/28221 "2019-09-09T15:49:54Z")

</div>

We are pleased to announce the release of JuMP v0.20 and MathOptInterface (MOI) v0.9. This release is an incremental improvement over JuMP v0.19, with the majority of breaking changes affecting only solver developers. We…

---

## [JuMP/GLPK with equal upper and lower bounds](https://discourse.julialang.org/t/jump-glpk-with-equal-upper-and-lower-bounds/28469)

<div class="topic-metadata">

**Author:** [@pierre-haessig](https://discourse.julialang.org/u/pierre-haessig)\
**Replies:** 5\
**Last updated:** [September 9, 2019, 2:57pm UTC](https://discourse.julialang.org/t/jump-glpk-with-equal-upper-and-lower-bounds/28469 "2019-09-09T14:57:42Z")

</div>

Hello, I’m solving a linear optimization problem with JuMP (0.19.2) using GLPK.jl (0.10.0) as the solver. I’m struggling with the situation where the lower and upper bounds of a variable are equal (and because it’s in a…

---

## [Read binary data of arbitrary dims and type](https://discourse.julialang.org/t/read-binary-data-of-arbitrary-dims-and-type/28560)

<div class="topic-metadata">

**Author:** [@David\_Mc](https://discourse.julialang.org/u/David_Mc)\
**Replies:** 8\
**Last updated:** [September 9, 2019, 2:28pm UTC](https://discourse.julialang.org/t/read-binary-data-of-arbitrary-dims-and-type/28560 "2019-09-09T14:28:56Z")

</div>

Hi, I’m new to Julia (julia 1.1.1 1.0.4). I’m trying to read binary data and struggling to understand how dimensions are handled. There are a few other posts about this but they only address 1-D cases. Typically ou…

---

## [Error in runtime](https://discourse.julialang.org/t/error-in-runtime/28559)

<div class="topic-metadata">

**Author:** [@Carlyle](https://discourse.julialang.org/u/Carlyle)\
**Replies:** 0\
**Last updated:** [September 9, 2019, 12:59pm UTC](https://discourse.julialang.org/t/error-in-runtime/28559 "2019-09-09T12:59:44Z")

</div>

Hello, When trying to use the documentation tab, before I even start using Julia in atom, I type something, press enter to do a search, and I get the following error: julia\> ┌ Warning: compare(dist::PreMetric, s1::Abst…

---

## [Is there a way to replace a "top-level" module in a running session?](https://discourse.julialang.org/t/is-there-a-way-to-replace-a-top-level-module-in-a-running-session/28521)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 7\
**Last updated:** [September 9, 2019, 9:47am UTC](https://discourse.julialang.org/t/is-there-a-way-to-replace-a-top-level-module-in-a-running-session/28521 "2019-09-09T09:47:12Z")

</div>

The way I usually use Juno for package development is that I open up the main Foo.jl file for my project Foo, select all, and evaluate. This gives me a Main.Foo module. I then go around to different files included from F…

---

## [Best practice approach for caching data in objects](https://discourse.julialang.org/t/best-practice-approach-for-caching-data-in-objects/20419)

<div class="topic-metadata">

**Author:** [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Replies:** 7\
**Last updated:** [September 9, 2019, 9:45am UTC](https://discourse.julialang.org/t/best-practice-approach-for-caching-data-in-objects/20419 "2019-09-09T09:45:07Z")

</div>

Something that’s come up repeatedly for me this last week in different contexts (and also many times before) is how do you approach the case where you sometimes want to be able to store intermediary results? For a clear…

---

## [Calculus with in place functions](https://discourse.julialang.org/t/calculus-with-in-place-functions/28546)

<div class="topic-metadata">

**Author:** [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Replies:** 12\
**Last updated:** [September 9, 2019, 9:29am UTC](https://discourse.julialang.org/t/calculus-with-in-place-functions/28546 "2019-09-09T09:29:47Z")

</div>

I want to understand how in place functions are treatet when used like in this example function g!(u) u\[:\] .= 2\*u\[:\] end u=\[1\] julia \> g!(u) .\*(u .+ g!(u)) 1-element Array{Int64,1}: 32 For my understanding, t…

---

## [DataFrame Manipulation](https://discourse.julialang.org/t/dataframe-manipulation/28552)

<div class="topic-metadata">

**Author:** [@Ajaychat3](https://discourse.julialang.org/u/Ajaychat3)\
**Replies:** 2\
**Last updated:** [September 9, 2019, 7:50am UTC](https://discourse.julialang.org/t/dataframe-manipulation/28552 "2019-09-09T07:50:14Z")

</div>

I am using some operation on DataFrame and getting the following warning. How am I supposed to change the syntax for col in \[:A,:B,:D\] df\[(df\[col\] .=="yy"),col\] .="xxxx" end Warning: \`getindex(df::DataFrame, col\_i…

---

## [Read file with CSV.read](https://discourse.julialang.org/t/read-file-with-csv-read/7838)

<div class="topic-metadata">

**Author:** [@Olivier\_Merchiers](https://discourse.julialang.org/u/Olivier_Merchiers)\
**Replies:** 8\
**Last updated:** [September 9, 2019, 7:24am UTC](https://discourse.julialang.org/t/read-file-with-csv-read/7838 "2019-09-09T07:24:02Z")

</div>

Hello everyone, I’m having trouble reading a simple file with CSV.read. I have the following data: 1.0 2.462558e-04 11 -1.18791031e-04 +1.18791031e-04 +8.96777973e+02 +3.88470836e+02 1.0 2.462558e-04 12 +1.18790872e-0…

---

## [Reading repr() string to object?](https://discourse.julialang.org/t/reading-repr-string-to-object/28548)

<div class="topic-metadata">

**Author:** [@nmatzke](https://discourse.julialang.org/u/nmatzke)\
**Replies:** 2\
**Last updated:** [September 9, 2019, 2:34am UTC](https://discourse.julialang.org/t/reading-repr-string-to-object/28548 "2019-09-09T02:34:14Z")

</div>

Hi all, In R, the functions dput() and dget() let you output an object to a string representation, and read it back in. This is handy for quickly reproducing objects for e.g. reproducible tests or for help. In Julia, …

---

## [GraphPlot: how to control the output plot size in Juno's Plots pane?](https://discourse.julialang.org/t/graphplot-how-to-control-the-output-plot-size-in-junos-plots-pane/28494)

<div class="topic-metadata">

**Author:** [@Anselm\_Jeong](https://discourse.julialang.org/u/Anselm_Jeong)\
**Replies:** 1\
**Last updated:** [September 8, 2019, 11:02pm UTC](https://discourse.julialang.org/t/graphplot-how-to-control-the-output-plot-size-in-junos-plots-pane/28494 "2019-09-08T23:02:27Z")

</div>

Dear all, I’ve been using GraphPlot in Juno IDE environment (add-on on ATOM). The output from gplot() command in Plots pane in Juno is so small so that it is hard to identify node or edge labels. Unlike ordinary outpu…

---

## [Anything like Distributions.jl for GPU?](https://discourse.julialang.org/t/anything-like-distributions-jl-for-gpu/17147)

<div class="topic-metadata">

**Author:** [@dfdx](https://discourse.julialang.org/u/dfdx)\
**Replies:** 15\
**Last updated:** [September 8, 2019, 9:29pm UTC](https://discourse.julialang.org/t/anything-like-distributions-jl-for-gpu/17147 "2019-09-08T21:29:42Z")

</div>

Is there any package supporting multivariate distributions and basic operations on them like sampling and log pdf, but working on GPU?

---

## [Build dataframe from Dict](https://discourse.julialang.org/t/build-dataframe-from-dict/28538)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 5\
**Last updated:** [September 8, 2019, 6:26pm UTC](https://discourse.julialang.org/t/build-dataframe-from-dict/28538 "2019-09-08T18:26:21Z")

</div>

UPDATE You can jump here to make the long story short :slight\_smile: Question start point I’m reading set of pdf files, and based on the content I add tag(s) in a dic that have the file name and tags, so some of the n…

---

## [How do I write a @generated inner constructor?](https://discourse.julialang.org/t/how-do-i-write-a-generated-inner-constructor/2817)

<div class="topic-metadata">

**Author:** [@Per](https://discourse.julialang.org/u/Per)\
**Replies:** 11\
**Last updated:** [September 8, 2019, 8:10pm UTC](https://discourse.julialang.org/t/how-do-i-write-a-generated-inner-constructor/2817 "2019-09-08T20:10:22Z")

</div>

I’m trying to create a type with an @generated inner constructor, but it seems I’m doing something wrong? Or maybe generated inner constructors are not permitted? Here’s my attempt: julia\> immutable T @generat…

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

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