# Latest

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

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

**Page:** 1389

---

## [Is it bad style to write \`a = foo()\` instead of \`a, \_ = foo()\`?](https://discourse.julialang.org/t/is-it-bad-style-to-write-a-foo-instead-of-a-foo/61340)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 8:42pm UTC](https://discourse.julialang.org/t/is-it-bad-style-to-write-a-foo-instead-of-a-foo/61340 "2021-05-18T20:42:28Z")

</div>

Suppose I have a function that returns two values, but I am usually only interested in the first one. function foo() nit = 0 res = 1. while res \> 0.1 && nit \< 500 nit += 1 res /= 1 + res…

---

## [Building RNA Sequencing and Analysis Apps Webinar 5/20/2021](https://discourse.julialang.org/t/building-rna-sequencing-and-analysis-apps-webinar-5-20-2021/61392)

<div class="topic-metadata">

**Author:** [@jdamiba](https://discourse.julialang.org/u/jdamiba)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 8:41pm UTC](https://discourse.julialang.org/t/building-rna-sequencing-and-analysis-apps-webinar-5-20-2021/61392 "2021-05-18T20:41:45Z")

</div>

Hello! I just wanted to let interested parties know that on Thursday, May 20th at 1PM, Plotly is hosting a free webinar with UC Berkeley PhD Candidate, Alyssa Morrow on the topic of using the Dash framework and the Pile…

---

## [No method matching getindex() using ODEProblem](https://discourse.julialang.org/t/no-method-matching-getindex-using-odeproblem/61361)

<div class="topic-metadata">

**Author:** [@Fabio](https://discourse.julialang.org/u/Fabio)\
**Replies:** 6\
**Last updated:** [May 18, 2021, 8:18pm UTC](https://discourse.julialang.org/t/no-method-matching-getindex-using-odeproblem/61361 "2021-05-18T20:18:44Z")

</div>

Hey there, I am very new to Julia and I am working on an ODE Problem. Basically this is my set-up: etaspan = (0.0, 1.0) F0 = \[1, -1e+10, q\_, 0\] function eventfcn(vcondition, value, eta, integrator) out\[1\] = (qma…

---

## [Julia/IJulia Notebook Blogging](https://discourse.julialang.org/t/julia-ijulia-notebook-blogging/61322)

<div class="topic-metadata">

**Author:** [@scoopxyz](https://discourse.julialang.org/u/scoopxyz)\
**Replies:** 2\
**Last updated:** [May 18, 2021, 8:09pm UTC](https://discourse.julialang.org/t/julia-ijulia-notebook-blogging/61322 "2021-05-18T20:09:05Z")

</div>

Hello all, I have a hopefully non-unique desire to blog about some technical topics using a Literate Programming style, but I haven’t quite found the right combination of tools to do so. The goal would be to write a “b…

---

## [JuMP not updating to latest version](https://discourse.julialang.org/t/jump-not-updating-to-latest-version/37770)

<div class="topic-metadata">

**Author:** [@cby](https://discourse.julialang.org/u/cby)\
**Replies:** 11\
**Last updated:** [May 18, 2021, 8:02pm UTC](https://discourse.julialang.org/t/jump-not-updating-to-latest-version/37770 "2021-05-18T20:02:58Z")

</div>

When I call pkg\> update JuMP, I only get version v0.19.2, while the latest stable release listed at Juliaopt.org is v0.21. I’d like to use some features that started in v0.20.

---

## [How to change color of selected dropdown values in Dash](https://discourse.julialang.org/t/how-to-change-color-of-selected-dropdown-values-in-dash/57193)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 6:49pm UTC](https://discourse.julialang.org/t/how-to-change-color-of-selected-dropdown-values-in-dash/57193 "2021-05-18T18:49:29Z")

</div>

By default, the values selected from a Dash dropdown are displayed in blue text, with blue background. Is there a way to modify these colors? I found: Multivalue dropdown selected values color - #3 by Cloemdz - Dash Pyth…

---

## [Parameters of IDA DAE solver](https://discourse.julialang.org/t/parameters-of-ida-dae-solver/61366)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [May 18, 2021, 6:45pm UTC](https://discourse.julialang.org/t/parameters-of-ida-dae-solver/61366 "2021-05-18T18:45:05Z")

</div>

I have the following code: using DifferentialEquations, Sundials, StaticArrays using Revise if ! @isdefined KPS3 includet("../src/KPS3.jl") using .KPS3 end my\_state = KPS3.get\_state() clear(my\_state) y0, yd0 =…

---

## [Interact - favorite button](https://discourse.julialang.org/t/interact-favorite-button/61386)

<div class="topic-metadata">

**Author:** [@saraflgarcia](https://discourse.julialang.org/u/saraflgarcia)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 6:15pm UTC](https://discourse.julialang.org/t/interact-favorite-button/61386 "2021-05-18T18:15:56Z")

</div>

Dear all, Using Interact.jl, how can I manipulate the style of a checkbox (e.g., to change the marker)? My goal is to have a favorite button (with a grey heart if false and a black heart if true). Thanks!

---

## [Linking subplot x-axes containing dates](https://discourse.julialang.org/t/linking-subplot-x-axes-containing-dates/61004)

<div class="topic-metadata">

**Author:** [@goosst](https://discourse.julialang.org/u/goosst)\
**Replies:** 7\
**Last updated:** [May 18, 2021, 6:05pm UTC](https://discourse.julialang.org/t/linking-subplot-x-axes-containing-dates/61004 "2021-05-18T18:05:12Z")

</div>

I have a strange plotting issue when trying to use subplots. Seperately they seem to plot ok, but when plotting together I was expecting the x-axis to be linked and be identical for both subplots. Individual plots: plo…

---

## [\[GSoC 2021 PostgreSQL\] 🐘 Create procedural language extension for the Julia programming language](https://discourse.julialang.org/t/gsoc-2021-postgresql-create-procedural-language-extension-for-the-julia-programming-language/56918)

<div class="topic-metadata">

**Author:** [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 4:55pm UTC](https://discourse.julialang.org/t/gsoc-2021-postgresql-create-procedural-language-extension-for-the-julia-programming-language/56918 "2021-05-18T16:55:38Z")

</div>

NEWS: The PostgreSQL project has been added a Julia related GSoC 2021 project. (pl/Julia) :elephant: :julia: " Create procedural language extension for the Julia programming language" GSoC 2021 - PostgreSQL wiki “pl/…

---

## [Bayesian logistic regression with Turing.jl](https://discourse.julialang.org/t/bayesian-logistic-regression-with-turing-jl/60105)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 29\
**Last updated:** [May 18, 2021, 4:55pm UTC](https://discourse.julialang.org/t/bayesian-logistic-regression-with-turing-jl/60105 "2021-05-18T16:55:27Z")

</div>

Hi everyone, first-time user of Turing.jl here. It is really nice, thanks! :star: I am trying to implement a simple Bayesian logistic regression model, but I keep getting this warning from AdvancedHMC.jl: ┌ Warning: Th…

---

## [Searching for Julia language information without getting unrelated stuff](https://discourse.julialang.org/t/searching-for-julia-language-information-without-getting-unrelated-stuff/61368)

<div class="topic-metadata">

**Author:** [@Beliavsky](https://discourse.julialang.org/u/Beliavsky)\
**Replies:** 3\
**Last updated:** [May 18, 2021, 4:19pm UTC](https://discourse.julialang.org/t/searching-for-julia-language-information-without-getting-unrelated-stuff/61368 "2021-05-18T16:19:44Z")

</div>

Since Julia is a common name, what search strings do people typically use on Google, Amazon, Medium etc. to get information about Julia programming while filtering out Julia Child etc?

---

## [Why does Julia require a . for broadcasting?](https://discourse.julialang.org/t/why-does-julia-require-a-for-broadcasting/61180)

<div class="topic-metadata">

**Author:** [@Beliavsky](https://discourse.julialang.org/u/Beliavsky)\
**Replies:** 4\
**Last updated:** [May 15, 2021, 5:57am UTC](https://discourse.julialang.org/t/why-does-julia-require-a-for-broadcasting/61180 "2021-05-15T05:57:21Z")

</div>

In Fortran and some other languages, you can write exp(x) whether x is a scalar or an array. In Julia, you need to write exp.(x) if x is an array. What is the benefit of requiring the dot?

---

## [Add types/functions to existing module (that I don't own)](https://discourse.julialang.org/t/add-types-functions-to-existing-module-that-i-dont-own/61280)

<div class="topic-metadata">

**Author:** [@urusan](https://discourse.julialang.org/u/urusan)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 2:03pm UTC](https://discourse.julialang.org/t/add-types-functions-to-existing-module-that-i-dont-own/61280 "2021-05-18T14:03:03Z")

</div>

Hey there, I’ve been using Julia for a while but am new to the forum. I’ve been thinking about how to write more flexible code, and I haven’t been able to figure this one out (or prove it’s impossible), so I thought I’d…

---

## [I cant use Stan.jl.I got Wrning:Environment variable CMDSTAN\_HOME not set. Use set\_cmdstan\_home!](https://discourse.julialang.org/t/i-cant-use-stan-jl-i-got-wrning-environment-variable-cmdstan-home-not-set-use-set-cmdstan-home/61364)

<div class="topic-metadata">

**Author:** [@ryuma](https://discourse.julialang.org/u/ryuma)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 1:46pm UTC](https://discourse.julialang.org/t/i-cant-use-stan-jl-i-got-wrning-environment-variable-cmdstan-home-not-set-use-set-cmdstan-home/61364 "2021-05-18T13:46:27Z")

</div>

I use Julia1.6.0.please help me. I setted the path. ENV\[“CMDSTAN\_HOME”\] = “C:/cmdstan-2.26.1” using Stan ┌ Warning: Environment variable CMDSTAN\_HOME not set. Use set\_cmdstan\_home!. └ @ StanBase C:\\Users\\salzl\\.julia\\…

---

## [Combining dataframe and csv: undefined functions in DataFrames](https://discourse.julialang.org/t/combining-dataframe-and-csv-undefined-functions-in-dataframes/61310)

<div class="topic-metadata">

**Author:** [@fshell](https://discourse.julialang.org/u/fshell)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 1:45pm UTC](https://discourse.julialang.org/t/combining-dataframe-and-csv-undefined-functions-in-dataframes/61310 "2021-05-18T13:45:09Z")

</div>

I’m running into a number of obstacles in trying to merge a dataframe and CSV (just started working with DataFrames today). I’m benchmarking runs of an inference task. There are a number of parameters for the task and …

---

## [Pluto Questions](https://discourse.julialang.org/t/pluto-questions/61259)

<div class="topic-metadata">

**Author:** [@onButtonUp](https://discourse.julialang.org/u/onButtonUp)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 1:27pm UTC](https://discourse.julialang.org/t/pluto-questions/61259 "2021-05-18T13:27:25Z")

</div>

Does Pluto automatically stores files in the cloud on github or something ? . . . just notice it accessing github when I start and load previous files. Does Pluto assign filenames (seperate from the ones the user save f…

---

## [Julia 1.6 corporate firewall \`could not download https://pkg.julialang.org/registries\`](https://discourse.julialang.org/t/julia-1-6-corporate-firewall-could-not-download-https-pkg-julialang-org-registries/60665)

<div class="topic-metadata">

**Author:** [@jjstickel](https://discourse.julialang.org/u/jjstickel)\
**Replies:** 3\
**Last updated:** [May 18, 2021, 1:15pm UTC](https://discourse.julialang.org/t/julia-1-6-corporate-firewall-could-not-download-https-pkg-julialang-org-registries/60665 "2021-05-18T13:15:53Z")

</div>

I’m having trouble with a corporate MITM firewall and Julia-1.6.x, just with fetching https://pkg.julialang.org/registries. (testing) pkg\> up Updating registry at \`~/.julia/registries/General\` ┌ Warning: could not d…

---

## [Multiple \`async\` sources for a \`sync\` \`Rocket.jl\` actor](https://discourse.julialang.org/t/multiple-async-sources-for-a-sync-rocket-jl-actor/61107)

<div class="topic-metadata">

**Author:** [@gasagna](https://discourse.julialang.org/u/gasagna)\
**Replies:** 10\
**Last updated:** [May 18, 2021, 1:07pm UTC](https://discourse.julialang.org/t/multiple-async-sources-for-a-sync-rocket-jl-actor/61107 "2021-05-18T13:07:44Z")

</div>

Hi, I am learning reactive programming with the great package Rocket.jl and have a question (pinging the lead dev @bvdmitri). A MWE of my use case to make my question explicit is shown below. import Rocket struct MyAc…

---

## [How to update dependencies in an dev'd package](https://discourse.julialang.org/t/how-to-update-dependencies-in-an-devd-package/61352)

<div class="topic-metadata">

**Author:** [@triceert](https://discourse.julialang.org/u/triceert)\
**Replies:** 4\
**Last updated:** [May 18, 2021, 12:03pm UTC](https://discourse.julialang.org/t/how-to-update-dependencies-in-an-devd-package/61352 "2021-05-18T12:03:39Z")

</div>

It’s not clear to me how dependencies are updated. Let’s say I’m developing a package MyPackage that resides in ~./Julia/dev/MyPackage in which I have module MyPackage using DistributionsAD #...code end Now I want …

---

## [Determine if another process is locking a file](https://discourse.julialang.org/t/determine-if-another-process-is-locking-a-file/61100)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 3\
**Last updated:** [May 18, 2021, 11:32am UTC](https://discourse.julialang.org/t/determine-if-another-process-is-locking-a-file/61100 "2021-05-18T11:32:09Z")

</div>

I am developing a program that will read files created by another program and process them. When I find a new file in the directory of interest, then I process that file as required. Then I realized that it will take a…

---

## [CI tests with GitHub Actions](https://discourse.julialang.org/t/ci-tests-with-github-actions/61348)

<div class="topic-metadata">

**Author:** [@shamazmazum](https://discourse.julialang.org/u/shamazmazum)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 9:44am UTC](https://discourse.julialang.org/t/ci-tests-with-github-actions/61348 "2021-05-18T09:44:57Z")

</div>

Hi. I have written a simple GitHub Actions workflow to run tests on my package: CorrelationFunctions.jl/test.yml at master · fatimp/CorrelationFunctions.jl · GitHub What should I do if I want to use a new version of a d…

---

## [How to verify the integrity of julia download?](https://discourse.julialang.org/t/how-to-verify-the-integrity-of-julia-download/61335)

<div class="topic-metadata">

**Author:** [@neoflume](https://discourse.julialang.org/u/neoflume)\
**Replies:** 2\
**Last updated:** [May 18, 2021, 6:40am UTC](https://discourse.julialang.org/t/how-to-verify-the-integrity-of-julia-download/61335 "2021-05-18T06:40:44Z")

</div>

The problem is I can’t get the public keys. Here are my tries: gpg --keyserver hkp://pgp.mit.edu:80 --recv-key 0x09788F1E output: gpg: keyserver receive failed: No keyserver available gpg --auto-key-locate nodef…

---

## [Autocompletion for existing latex symbols](https://discourse.julialang.org/t/autocompletion-for-existing-latex-symbols/60296)

<div class="topic-metadata">

**Author:** [@tqml](https://discourse.julialang.org/u/tqml)\
**Replies:** 8\
**Last updated:** [May 18, 2021, 6:42am UTC](https://discourse.julialang.org/t/autocompletion-for-existing-latex-symbols/60296 "2021-05-18T06:42:59Z")

</div>

Hello everyone, I’m not sure, if this is the right category and if the system already exists but I would find it amazing if the Auto-Complete would also consider the latex name of symbol. For example, in case you have a…

---

## [Timeseries Optimization : Reducing allocations](https://discourse.julialang.org/t/timeseries-optimization-reducing-allocations/61251)

<div class="topic-metadata">

**Author:** [@EdgarHR](https://discourse.julialang.org/u/EdgarHR)\
**Replies:** 10\
**Last updated:** [May 18, 2021, 6:25am UTC](https://discourse.julialang.org/t/timeseries-optimization-reducing-allocations/61251 "2021-05-18T06:25:55Z")

</div>

Hello everyone! I was working on a project and wanted to start reformatting the code to make it faster. As part of this process I am working on reducing the amount of allocations as much as possible. Currently I have a …

---

## [Using multiple dispatch and the type system correctly](https://discourse.julialang.org/t/using-multiple-dispatch-and-the-type-system-correctly/61289)

<div class="topic-metadata">

**Author:** [@DorianT](https://discourse.julialang.org/u/DorianT)\
**Replies:** 11\
**Last updated:** [May 18, 2021, 5:01am UTC](https://discourse.julialang.org/t/using-multiple-dispatch-and-the-type-system-correctly/61289 "2021-05-18T05:01:08Z")

</div>

Hello everyone, I am currently trying to write a program using WebDriver.jl. My functions act on the ‘Element’ type of WebDriver (WebDriver.jl/06\_Element.jl at master · Nosferican/WebDriver.jl · GitHub). I am mainly usin…

---

## [Help with solving a DDE](https://discourse.julialang.org/t/help-with-solving-a-dde/60205)

<div class="topic-metadata">

**Author:** [@Hossein\_Haghi](https://discourse.julialang.org/u/Hossein_Haghi)\
**Replies:** 10\
**Last updated:** [May 18, 2021, 4:44am UTC](https://discourse.julialang.org/t/help-with-solving-a-dde/60205 "2021-05-18T04:44:02Z")

</div>

Hi! I am trying to use Julia’s DifferentialEquations.jl package to solve DDE. I was able to solve my problem for two objects using the code below clearconsole() @time using DifferentialEquations const two\_bubble = le…

---

## [Senior Software Engineer at Cryptocurrency Quant Fund - Remote](https://discourse.julialang.org/t/senior-software-engineer-at-cryptocurrency-quant-fund-remote/61337)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 3:36am UTC](https://discourse.julialang.org/t/senior-software-engineer-at-cryptocurrency-quant-fund-remote/61337 "2021-05-18T03:36:09Z")

</div>

Temple Capital, my cryptocurrency hedge fund, is looking to hire two engineers. We’re a small team that’s been moving from Python to Julia as our primary language, with a particular focus on high throughput ML and data p…

---

## [CUDA.jl and svd getting automatic casting to Array{Float32,2}](https://discourse.julialang.org/t/cuda-jl-and-svd-getting-automatic-casting-to-array-float32-2/56190)

<div class="topic-metadata">

**Author:** [@kadir-gunel](https://discourse.julialang.org/u/kadir-gunel)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 3:35am UTC](https://discourse.julialang.org/t/cuda-jl-and-svd-getting-automatic-casting-to-array-float32-2/56190 "2021-05-18T03:35:36Z")

</div>

Hello, I am using CUDA.jl package for svd calculation. But I get automatic casting to Array{Float32,2}. Could anyone help please ? Below, I share m.w.e. using CUDA A = CUDA.rand(10, 20) ; # getting float32 on GPU # th…

---

## [How to decode an HTTP payload to a string?](https://discourse.julialang.org/t/how-to-decode-an-http-payload-to-a-string/60999)

<div class="topic-metadata">

**Author:** [@ben-schulz](https://discourse.julialang.org/u/ben-schulz)\
**Replies:** 7\
**Last updated:** [May 18, 2021, 3:25am UTC](https://discourse.julialang.org/t/how-to-decode-an-http-payload-to-a-string/60999 "2021-05-18T03:25:36Z")

</div>

suppose i have the following call to HTTP.jl: using HTTP rsp = HTTP.request("GET", "https://www.google.com") rsp appears to contain the target HTML document, since a call to print displays what look like the first few …

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

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