# Latest

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

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

**Page:** 772

---

## [How to run Juniper.jl concurrently](https://discourse.julialang.org/t/how-to-run-juniper-jl-concurrently/75275)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 5\
**Last updated:** [February 24, 2023, 5:20pm UTC](https://discourse.julialang.org/t/how-to-run-juniper-jl-concurrently/75275 "2023-02-24T17:20:49Z")

</div>

Hi, is there a way to run Juniper concurrently ? Thanks, Manoj

---

## [Problem with condition with @async threads?](https://discourse.julialang.org/t/problem-with-condition-with-async-threads/95147)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 0\
**Last updated:** [February 24, 2023, 4:14pm UTC](https://discourse.julialang.org/t/problem-with-condition-with-async-threads/95147 "2023-02-24T16:14:16Z")

</div>

I want to synchronize between threads by using notify&wait as in the example MWE, in which nthreads()=3. Each thread executes for-loop and while-loop inside it. It is similar to what mentioned in Can the threads synchron…

---

## [GCP.jl - Google Cloud Platform APIs / BigQuery](https://discourse.julialang.org/t/gcp-jl-google-cloud-platform-apis-bigquery/25551)

<div class="topic-metadata">

**Author:** [@Rana\_Ian](https://discourse.julialang.org/u/Rana_Ian)\
**Replies:** 8\
**Last updated:** [February 24, 2023, 4:46pm UTC](https://discourse.julialang.org/t/gcp-jl-google-cloud-platform-apis-bigquery/25551 "2023-02-24T16:46:41Z")

</div>

GCP.jl provides a Google Cloud Platform BigQuery API client and the ability to auto-generate new client APIs from Google’s discovery service. This is a 100% Julia implementation not reliant on command line installation o…

---

## [How to write shell && and || in julia cmd syntax?](https://discourse.julialang.org/t/how-to-write-shell-and-in-julia-cmd-syntax/95148)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 3\
**Last updated:** [February 24, 2023, 4:40pm UTC](https://discourse.julialang.org/t/how-to-write-shell-and-in-julia-cmd-syntax/95148 "2023-02-24T16:40:08Z")

</div>

Hi there, I guess this is a standard question, but my google skills failed so far. Can someone explain how to map shell’s && and || to julia’s own cmd syntax/api? thanks

---

## [Data exchange between Julia sessions (same or different machines)](https://discourse.julialang.org/t/data-exchange-between-julia-sessions-same-or-different-machines/38157)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 10\
**Last updated:** [February 24, 2023, 4:04pm UTC](https://discourse.julialang.org/t/data-exchange-between-julia-sessions-same-or-different-machines/38157 "2023-02-24T16:04:35Z")

</div>

Julia is great for implementing distributed computing. I was wondering how could it be possible to take a decentralized approach to this distributed computing. Instead of calling workers from a Julia (master) session (fo…

---

## [DataFrame inplace change columns order](https://discourse.julialang.org/t/dataframe-inplace-change-columns-order/94971)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 13\
**Last updated:** [February 24, 2023, 3:44pm UTC](https://discourse.julialang.org/t/dataframe-inplace-change-columns-order/94971 "2023-02-24T15:44:06Z")

</div>

Is it possible to change index of two columns by each other in place? I know than I can use something df\[!, \[:b, :a\]\], but I can have many columns… so is any efficient way to change columns with function like: function…

---

## [A maintained list of Julia’s code and resources](https://discourse.julialang.org/t/a-maintained-list-of-julia-s-code-and-resources/95128)

<div class="topic-metadata">

**Author:** [@Nimrais](https://discourse.julialang.org/u/Nimrais)\
**Replies:** 5\
**Last updated:** [February 24, 2023, 2:15pm UTC](https://discourse.julialang.org/t/a-maintained-list-of-julia-s-code-and-resources/95128 "2023-02-24T14:15:49Z")

</div>

Hi! Can someone recommend a maintained list of Julia’s code and resources? I am talking about something like what Rust users have here GitHub - rust-unofficial/awesome-rust: A curated list of Rust code and resources.. I …

---

## [List existing global variables, e.g. via varinfo()](https://discourse.julialang.org/t/list-existing-global-variables-e-g-via-varinfo/95124)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 1\
**Last updated:** [February 24, 2023, 2:02pm UTC](https://discourse.julialang.org/t/list-existing-global-variables-e-g-via-varinfo/95124 "2023-02-24T14:02:01Z")

</div>

The output of the function varinfo() is of type: Markdown.MD For me it is not clear, how to handle this variable type. My task is: Display the available variables Below is my workaround, but I am sure, there is a more…

---

## [Google Summer of Code plans and questions](https://discourse.julialang.org/t/google-summer-of-code-plans-and-questions/94761)

<div class="topic-metadata">

**Author:** [@M-PERSIC](https://discourse.julialang.org/u/M-PERSIC)\
**Replies:** 1\
**Last updated:** [February 24, 2023, 2:02pm UTC](https://discourse.julialang.org/t/google-summer-of-code-plans-and-questions/94761 "2023-02-24T14:02:18Z")

</div>

For background, I am a Systems and Information Biology student looking to plan for my undergraduate research thesis that would start in the summer. I have previous internship experience as part of my university’s Co-op p…

---

## [Diode model not working as expected with ModelingToolkit](https://discourse.julialang.org/t/diode-model-not-working-as-expected-with-modelingtoolkit/95125)

<div class="topic-metadata">

**Author:** [@RagibHasin](https://discourse.julialang.org/u/RagibHasin)\
**Replies:** 4\
**Last updated:** [February 24, 2023, 1:49pm UTC](https://discourse.julialang.org/t/diode-model-not-working-as-expected-with-modelingtoolkit/95125 "2023-02-24T13:49:49Z")

</div>

I am trying to port Modelica.Electrical.Analog.Semiconductors.Diode. The code I came up with is: using ModelingToolkit using ModelingToolkitStandardLibrary.Blocks using ModelingToolkitStandardLibrary.Electrical using Or…

---

## [Changing the line width of error bars](https://discourse.julialang.org/t/changing-the-line-width-of-error-bars/34489)

<div class="topic-metadata">

**Author:** [@yanivab](https://discourse.julialang.org/u/yanivab)\
**Replies:** 5\
**Last updated:** [February 24, 2023, 12:31pm UTC](https://discourse.julialang.org/t/changing-the-line-width-of-error-bars/34489 "2023-02-24T12:31:09Z")

</div>

Using Plots.jl, I know how to change the line width for the data with attribute “linewidth”. But this does not change the thickness of the lines comprising the error bar. How does one change those? e.g.: @df dat plot(:…

---

## [Cleanest way to convert DataFrame row into a Vector?](https://discourse.julialang.org/t/cleanest-way-to-convert-dataframe-row-into-a-vector/5531)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 20\
**Last updated:** [February 24, 2023, 12:30pm UTC](https://discourse.julialang.org/t/cleanest-way-to-convert-dataframe-row-into-a-vector/5531 "2023-02-24T12:30:59Z")

</div>

I am currently using an ugly hack for it: for row in eachrow(df) vec = convert(Array, row)' # notice the transpose end The problem is that vec has type Matrix in this case, not Vector. I am sure there is a cleaner wa…

---

## [How to use monthly data to calculate quarterly average](https://discourse.julialang.org/t/how-to-use-monthly-data-to-calculate-quarterly-average/94709)

<div class="topic-metadata">

**Author:** [@WhY](https://discourse.julialang.org/u/WhY)\
**Replies:** 8\
**Last updated:** [February 24, 2023, 11:21am UTC](https://discourse.julialang.org/t/how-to-use-monthly-data-to-calculate-quarterly-average/94709 "2023-02-24T11:21:38Z")

</div>

I am trying to use a monthly data to calculate the quarter average, suppose now I randomly generate 10000 month, and try to use this to get the quarterly average by using the loop: T = 10000 a=rand(Int,T) # monthly data…

---

## [MathematicalSystems.jl with input constraint only](https://discourse.julialang.org/t/mathematicalsystems-jl-with-input-constraint-only/95123)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 0\
**Last updated:** [February 24, 2023, 11:12am UTC](https://discourse.julialang.org/t/mathematicalsystems-jl-with-input-constraint-only/95123 "2023-02-24T11:12:58Z")

</div>

Dear all, I would like to know if there is a mathematical system structure with only input constraints, for instance: julia\> using LazySets julia\> using MathematicalSystems julia\> A = \[1 1; 0 0.9\] julia\> B = \[1; 0.5\] j…

---

## [Not showing output on Jupyter notebook when using PyCall.jl + python's bokeh combination](https://discourse.julialang.org/t/not-showing-output-on-jupyter-notebook-when-using-pycall-jl-pythons-bokeh-combination/95121)

<div class="topic-metadata">

**Author:** [@YH\_Ko](https://discourse.julialang.org/u/YH_Ko)\
**Replies:** 0\
**Last updated:** [February 24, 2023, 10:42am UTC](https://discourse.julialang.org/t/not-showing-output-on-jupyter-notebook-when-using-pycall-jl-pythons-bokeh-combination/95121 "2023-02-24T10:42:17Z")

</div>

When using Bokeh.jl, the output interactive plot is shown in out cell of Jupyter notebook with no error. (I tried the following Bokeh.jl example) https://cjdoris.github.io/Bokeh.jl/stable/gallery/Basic/les\_mis/#demo\_le…

---

## [Exporting overloaded functions](https://discourse.julialang.org/t/exporting-overloaded-functions/95118)

<div class="topic-metadata">

**Author:** [@Mastomaki](https://discourse.julialang.org/u/Mastomaki)\
**Replies:** 2\
**Last updated:** [February 24, 2023, 10:29am UTC](https://discourse.julialang.org/t/exporting-overloaded-functions/95118 "2023-02-24T10:29:43Z")

</div>

Hello! In Mymodule I have defined the following function. function convert(t::Type{NamedArray}, df::DataFrame; valueCol = :Values, datatype = Union{Missing, Float64}) Then in mymodule I also export convert. When usi…

---

## [Storing huge amount of data efficiently](https://discourse.julialang.org/t/storing-huge-amount-of-data-efficiently/94818)

<div class="topic-metadata">

**Author:** [@Dario-Rosa85](https://discourse.julialang.org/u/Dario-Rosa85)\
**Replies:** 15\
**Last updated:** [February 24, 2023, 9:21am UTC](https://discourse.julialang.org/t/storing-huge-amount-of-data-efficiently/94818 "2023-02-24T09:21:37Z")

</div>

Hello, I am performing some numerical computations and I have the necessity to run a huge (say, several thousand of iterations) for loop. Each iteration produces a certain amount of data that I need to store in the disk…

---

## [Unintuitive Julia result: selecting a row from a matrix](https://discourse.julialang.org/t/unintuitive-julia-result-selecting-a-row-from-a-matrix/66222)

<div class="topic-metadata">

**Author:** [@Brian\_Blais](https://discourse.julialang.org/u/Brian_Blais)\
**Replies:** 13\
**Last updated:** [February 24, 2023, 5:31am UTC](https://discourse.julialang.org/t/unintuitive-julia-result-selecting-a-row-from-a-matrix/66222 "2023-02-24T05:31:46Z")

</div>

I bumped into this example trying to convert some julia to python and was surprised. In the example here, python and matlab give the same answer, while julia differs… If you start with… X=rand(3,100) (and do X=mat(X) …

---

## [Is it possible to predict the serialized size of an object, without serializing it?](https://discourse.julialang.org/t/is-it-possible-to-predict-the-serialized-size-of-an-object-without-serializing-it/94769)

<div class="topic-metadata">

**Author:** [@cadaverous](https://discourse.julialang.org/u/cadaverous)\
**Replies:** 5\
**Last updated:** [February 24, 2023, 4:48am UTC](https://discourse.julialang.org/t/is-it-possible-to-predict-the-serialized-size-of-an-object-without-serializing-it/94769 "2023-02-24T04:48:18Z")

</div>

Hello all! I am pretty much brand new to Julia, and I am trying to write an interface between Julia and a C library that uses MPI. The problem I’m having is that the library needs to be able to pack Julia objects into a…

---

## [I am new in the programming world, I am starting with Julia, any suggestions?](https://discourse.julialang.org/t/i-am-new-in-the-programming-world-i-am-starting-with-julia-any-suggestions/95109)

<div class="topic-metadata">

**Author:** [@xArcoirisXx](https://discourse.julialang.org/u/xArcoirisXx)\
**Replies:** 8\
**Last updated:** [February 24, 2023, 4:21am UTC](https://discourse.julialang.org/t/i-am-new-in-the-programming-world-i-am-starting-with-julia-any-suggestions/95109 "2023-02-24T04:21:17Z")

</div>

I am new in the programming world, I am starting with Julia, any suggestions?

---

## [2-Dimensional Configuration Files](https://discourse.julialang.org/t/2-dimensional-configuration-files/95108)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 10:44pm UTC](https://discourse.julialang.org/t/2-dimensional-configuration-files/95108 "2023-02-23T22:44:00Z")

</div>

I often find myself in this situation: I get specs in the form of a table, or several tables, from a non-technical person. This is usually Excel or Word. Because of the messiness of reading MS files, I’ll translate those…

---

## [Copy. vs. deepcopy vs. .=](https://discourse.julialang.org/t/copy-vs-deepcopy-vs/95097)

<div class="topic-metadata">

**Author:** [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Replies:** 6\
**Last updated:** [February 23, 2023, 9:56pm UTC](https://discourse.julialang.org/t/copy-vs-deepcopy-vs/95097 "2023-02-23T21:56:59Z")

</div>

Despite many threads on this, I’m still confused. I want to avoid allocation but something is not working in my code. My setup is like the one below. Can someone explain the difference in this context, A = (rand(3),ran…

---

## [Adding packages present in custom sysimage into environment when running with that sysimage](https://discourse.julialang.org/t/adding-packages-present-in-custom-sysimage-into-environment-when-running-with-that-sysimage/95107)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 9:54pm UTC](https://discourse.julialang.org/t/adding-packages-present-in-custom-sysimage-into-environment-when-running-with-that-sysimage/95107 "2023-02-23T21:54:07Z")

</div>

I have a sysimage (which happens to include Makie, GLMakie, CairoMakie and MakieCore) which was built in a (temporary) environment where the Makie packages were included via \]develop --local. When I start Julia using the…

---

## [What's a good workflow for developing existing julia packages?](https://discourse.julialang.org/t/whats-a-good-workflow-for-developing-existing-julia-packages/94995)

<div class="topic-metadata">

**Author:** [@franfram](https://discourse.julialang.org/u/franfram)\
**Replies:** 4\
**Last updated:** [February 23, 2023, 9:38pm UTC](https://discourse.julialang.org/t/whats-a-good-workflow-for-developing-existing-julia-packages/94995 "2023-02-23T21:38:06Z")

</div>

what’s a good workflow for developing existing julia packages? specifically, I’m looking for a good detailed workflow for making changes to an existing package, loading the modified version, and testing the changes with…

---

## [Julia package error](https://discourse.julialang.org/t/julia-package-error/95067)

<div class="topic-metadata">

**Author:** [@jackmarry](https://discourse.julialang.org/u/jackmarry)\
**Replies:** 3\
**Last updated:** [February 23, 2023, 9:31pm UTC](https://discourse.julialang.org/t/julia-package-error/95067 "2023-02-23T21:31:35Z")

</div>

When I install a new package, Julia gives two lines of green letters, suddenly a bunch of white code appears and then force quit, what’s going on? I didn’t even have a chance to log the error. Julia1.8

---

## [Fastest way to do memoization?](https://discourse.julialang.org/t/fastest-way-to-do-memoization/95100)

<div class="topic-metadata">

**Author:** [@linwaytin](https://discourse.julialang.org/u/linwaytin)\
**Replies:** 11\
**Last updated:** [February 23, 2023, 9:18pm UTC](https://discourse.julialang.org/t/fastest-way-to-do-memoization/95100 "2023-02-23T21:18:23Z")

</div>

I have a two-argument function, for which I want to cache the results. Currently I use a Dict to store the previous results. The performance is OK, but profiling said that a lot of time is taken by finding the index. …

---

## [Simplified way to save high-res plots in julia](https://discourse.julialang.org/t/simplified-way-to-save-high-res-plots-in-julia/95061)

<div class="topic-metadata">

**Author:** [@shaurya](https://discourse.julialang.org/u/shaurya)\
**Replies:** 5\
**Last updated:** [February 23, 2023, 8:14pm UTC](https://discourse.julialang.org/t/simplified-way-to-save-high-res-plots-in-julia/95061 "2023-02-23T20:14:30Z")

</div>

I’m using jupyter notebooks and the julia plots look pretty decent in those notebook files. however, when I use savefig command, it saves it in a terrible resolution (almost indiscernible.) One way of circumventing this…

---

## [Pola.rs vs DataFrames.jl](https://discourse.julialang.org/t/pola-rs-vs-dataframes-jl/95090)

<div class="topic-metadata">

**Author:** [@klwlevy](https://discourse.julialang.org/u/klwlevy)\
**Replies:** 8\
**Last updated:** [February 23, 2023, 6:36pm UTC](https://discourse.julialang.org/t/pola-rs-vs-dataframes-jl/95090 "2023-02-23T18:36:49Z")

</div>

There seems to be quite some activity in the Python community about using pola.rs to get fast dataframes, with the aid of Rust. As a frequent DataFrames.jl user, I would be curious to hear @bkamins opinion on this “compe…

---

## [Updating PlotlyJS plots in-place with new data](https://discourse.julialang.org/t/updating-plotlyjs-plots-in-place-with-new-data/94981)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 2\
**Last updated:** [February 23, 2023, 6:09pm UTC](https://discourse.julialang.org/t/updating-plotlyjs-plots-in-place-with-new-data/94981 "2023-02-23T18:09:24Z")

</div>

I am working with Plotly Dash to create a website, however some of the animation features of PlotlyJS do not seem to work completely. Right now I am having trouble with displaying the play button and a slider on the Dash…

---

## [How to combine binary GCD and DIV in a mutable function](https://discourse.julialang.org/t/how-to-combine-binary-gcd-and-div-in-a-mutable-function/95027)

<div class="topic-metadata">

**Author:** [@x13420x](https://discourse.julialang.org/u/x13420x)\
**Replies:** 1\
**Last updated:** [February 23, 2023, 5:55pm UTC](https://discourse.julialang.org/t/how-to-combine-binary-gcd-and-div-in-a-mutable-function/95027 "2023-02-23T17:55:38Z")

</div>

I want a mutable function that takes any two bigints and divides them by the GCD when the GCD is greater than 1. For example gcd\_ab!(x\[1\],y\[y\],true) should change the values of x\[1\] and y\[1\]. Also I am interested in …

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

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