# Latest

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

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

**Page:** 1383

---

## [Optimization allowed in C++14, not done in Julia, but could it be done?](https://discourse.julialang.org/t/optimization-allowed-in-c-14-not-done-in-julia-but-could-it-be-done/61217)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 7\
**Last updated:** [May 24, 2021, 5:27am UTC](https://discourse.julialang.org/t/optimization-allowed-in-c-14-not-done-in-julia-but-could-it-be-done/61217 "2021-05-24T05:27:56Z")

</div>

I tried something similar to here: julia\> function demo() for i in 0:9 v = \[1, 2, 3\] push!(v, i) println(size(v)) end end demo (generic function with 1 method)…

---

## [Convert type to dictionary](https://discourse.julialang.org/t/convert-type-to-dictionary/6982)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 7\
**Last updated:** [May 24, 2021, 2:11am UTC](https://discourse.julialang.org/t/convert-type-to-dictionary/6982 "2021-05-24T02:11:56Z")

</div>

Is there a way to convert a type into a Dict? Or is there a way to get a list of keys inside a type?

---

## [Optim.jl vs NLopt.jl vs?](https://discourse.julialang.org/t/optim-jl-vs-nlopt-jl-vs/61692)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [May 24, 2021, 4:00am UTC](https://discourse.julialang.org/t/optim-jl-vs-nlopt-jl-vs/61692 "2021-05-24T04:00:08Z")

</div>

I have a kind of hard nonlinear optimization problem. 12 variables, I know the result of the function should be zero, but how to find the combination of 12 values that give a very low residual? So far I tried Optim.jl a…

---

## [Can i convert pluto.jl file into progressive web app(pwa)?](https://discourse.julialang.org/t/can-i-convert-pluto-jl-file-into-progressive-web-app-pwa/61703)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 0\
**Last updated:** [May 24, 2021, 3:57am UTC](https://discourse.julialang.org/t/can-i-convert-pluto-jl-file-into-progressive-web-app-pwa/61703 "2021-05-24T03:57:50Z")

</div>

i want to know how add javascript to pluto.jl and make user interface like a gradio in python and pwa?

---

## [Plots ColorSchemes issues](https://discourse.julialang.org/t/plots-colorschemes-issues/61670)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 5\
**Last updated:** [May 24, 2021, 2:14am UTC](https://discourse.julialang.org/t/plots-colorschemes-issues/61670 "2021-05-24T02:14:52Z")

</div>

I’m trying to debug a shifty little plotting issue. Plotting gif of examples seems broken · Issue #15 · weymouth/WaterLily.jl · GitHub The root cause seems to be inconsistent behaviour for palette() (but I might be wron…

---

## [Problem generating/hosting documentation on Github](https://discourse.julialang.org/t/problem-generating-hosting-documentation-on-github/39899)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 4\
**Last updated:** [May 21, 2020, 8:54pm UTC](https://discourse.julialang.org/t/problem-generating-hosting-documentation-on-github/39899 "2020-05-21T20:54:50Z")

</div>

I’ve been away from Julia since the 0.3 days but am trying to get back into the flow. The repo I’m having trouble with is CITIfile.jl. This is my first experience with Documenter. I have successfully generated the HTM…

---

## [\[ANN\] ReferenceFrameRotations v1.0.0](https://discourse.julialang.org/t/ann-referenceframerotations-v1-0-0/61544)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 4\
**Last updated:** [May 23, 2021, 10:46pm UTC](https://discourse.julialang.org/t/ann-referenceframerotations-v1-0-0/61544 "2021-05-23T22:46:05Z")

</div>

Hi! After 7 years (!!) from the first public commit, and 8 years of development (when it was called Rotations.jl, clashing with the Rotations.jl package), I am glad to tag v1.0.0 of ReferenceFrameRotations.jl. This pack…

---

## [Software Developer at Julius Technologies, all experience levels - 100% Remote](https://discourse.julialang.org/t/software-developer-at-julius-technologies-all-experience-levels-100-remote/61696)

<div class="topic-metadata">

**Author:** [@Yadong\_Li](https://discourse.julialang.org/u/Yadong_Li)\
**Replies:** 0\
**Last updated:** [May 23, 2021, 10:32pm UTC](https://discourse.julialang.org/t/software-developer-at-julius-technologies-all-experience-levels-100-remote/61696 "2021-05-23T22:32:04Z")

</div>

Software Developer - Julius Technologies Location: Anywhere, 100% remote working. Your working hours need to have some overlap with the day time in the US Eastern time zone. Julius Technologies is a promising New York b…

---

## [Plots in VSCode](https://discourse.julialang.org/t/plots-in-vscode/61690)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 7\
**Last updated:** [May 23, 2021, 9:52pm UTC](https://discourse.julialang.org/t/plots-in-vscode/61690 "2021-05-23T21:52:40Z")

</div>

Hello I am using the Julia extension in VSCode. I am a little confused with how plotting works in it. I have something like this in a Julia script Grid\_Size = LinRange(1E0, 1E5, 100) Log\_of\_Size = map(log, Grid\_Size)…

---

## [Creating + viewing a html visualisation](https://discourse.julialang.org/t/creating-viewing-a-html-visualisation/61694)

<div class="topic-metadata">

**Author:** [@baptnz](https://discourse.julialang.org/u/baptnz)\
**Replies:** 0\
**Last updated:** [May 23, 2021, 9:23pm UTC](https://discourse.julialang.org/t/creating-viewing-a-html-visualisation/61694 "2021-05-23T21:23:51Z")

</div>

I’m hoping to display in Juno’s plot panel a three.js widget consisting of a few particles in space, that the user could manipulate in 3D to get a sense of the geometry. I have a working example and can produce the r…

---

## [Makie - High GPU usage for plots with a lot of points](https://discourse.julialang.org/t/makie-high-gpu-usage-for-plots-with-a-lot-of-points/55199)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 15\
**Last updated:** [May 23, 2021, 6:59pm UTC](https://discourse.julialang.org/t/makie-high-gpu-usage-for-plots-with-a-lot-of-points/55199 "2021-05-23T18:59:29Z")

</div>

My laptop struggles a bit when I plot large numbers of points with Makie. It’s not just while it’s plotting but it carries on using the GPU after the plot’s completed. I’m using Windows 10 on a laptop with a core i7 proc…

---

## [What the...? eigs GEP eigenvectors no longer mass-normalized?](https://discourse.julialang.org/t/what-the-eigs-gep-eigenvectors-no-longer-mass-normalized/61667)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [May 23, 2021, 5:17pm UTC](https://discourse.julialang.org/t/what-the-eigs-gep-eigenvectors-no-longer-mass-normalized/61667 "2021-05-23T17:17:34Z")

</div>

What the…? eigs GEP eigenvectors no longer mass-normalized? A nasty bit of surprise. Broke a lot of my code.

---

## [How to layout figures in CairoMakie after they are generated](https://discourse.julialang.org/t/how-to-layout-figures-in-cairomakie-after-they-are-generated/61683)

<div class="topic-metadata">

**Author:** [@vjd](https://discourse.julialang.org/u/vjd)\
**Replies:** 2\
**Last updated:** [May 23, 2021, 4:20pm UTC](https://discourse.julialang.org/t/how-to-layout-figures-in-cairomakie-after-they-are-generated/61683 "2021-05-23T16:20:53Z")

</div>

Note: Question on slack that I reposting here for wider audience. Is there a way to layout figures in CairoMakie after they are generated? e.g. I have julia\> typeof(a1) Figure julia\> typeof(a2) Figure I want to snap …

---

## [How to solve Ax=b, with A,x,b are matrix](https://discourse.julialang.org/t/how-to-solve-ax-b-with-a-x-b-are-matrix/61663)

<div class="topic-metadata">

**Author:** [@Van\_Kh\_i\_Ph\_m](https://discourse.julialang.org/u/Van_Kh_i_Ph_m)\
**Replies:** 12\
**Last updated:** [May 23, 2021, 4:16pm UTC](https://discourse.julialang.org/t/how-to-solve-ax-b-with-a-x-b-are-matrix/61663 "2021-05-23T16:16:10Z")

</div>

How to solve Ax=b, with A,x,b are matrix And, Can anyone help me solve this function with Newton method with backtracking line search ?

---

## [JuliaCon2020 Dynamical Modelling BoF summary](https://discourse.julialang.org/t/juliacon2020-dynamical-modelling-bof-summary/44099)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 5\
**Last updated:** [January 26, 2021, 9:14am UTC](https://discourse.julialang.org/t/juliacon2020-dynamical-modelling-bof-summary/44099 "2021-01-26T09:14:34Z")

</div>

Hi everyone, below you will find the summary of the BoF session of JuliaCon2020. I’ve tried to make everything sensible, feel free to correct me in the comments! Our working definition of “dynamical modelling” is: Mod…

---

## [Is AMD CPU more sensitive to false-sharing than Intel and Power?](https://discourse.julialang.org/t/is-amd-cpu-more-sensitive-to-false-sharing-than-intel-and-power/61679)

<div class="topic-metadata">

**Author:** [@tkf](https://discourse.julialang.org/u/tkf)\
**Replies:** 1\
**Last updated:** [May 23, 2021, 3:52pm UTC](https://discourse.julialang.org/t/is-amd-cpu-more-sensitive-to-false-sharing-than-intel-and-power/61679 "2021-05-23T15:52:50Z")

</div>

I tried to come up with a robust and minimal false sharing example (so that I can play with perf c2c). But it turned out the following example (from the previous discussion in Zulip) only shows the effect of false sharin…

---

## [Permission and Process Error when trying to export Animation as a video using gif()](https://discourse.julialang.org/t/permission-and-process-error-when-trying-to-export-animation-as-a-video-using-gif/61675)

<div class="topic-metadata">

**Author:** [@eugenetkj98](https://discourse.julialang.org/u/eugenetkj98)\
**Replies:** 0\
**Last updated:** [May 23, 2021, 10:11am UTC](https://discourse.julialang.org/t/permission-and-process-error-when-trying-to-export-animation-as-a-video-using-gif/61675 "2021-05-23T10:11:54Z")

</div>

Note: Sorry Repost because I didn’t realise that there was a First Steps category thread. I’ve just added it here. Hi guys, so I’m trying to compile a whole bunch of plots as one moving gif or video using the Plots.jl l…

---

## [DiffEqFlux: SOSRA2() algorithm + BacksolveAdjoint() gives an error](https://discourse.julialang.org/t/diffeqflux-sosra2-algorithm-backsolveadjoint-gives-an-error/61237)

<div class="topic-metadata">

**Author:** [@SvenDummer](https://discourse.julialang.org/u/SvenDummer)\
**Replies:** 2\
**Last updated:** [May 23, 2021, 8:36am UTC](https://discourse.julialang.org/t/diffeqflux-sosra2-algorithm-backsolveadjoint-gives-an-error/61237 "2021-05-23T08:36:00Z")

</div>

Hi everyone. I have a question related to fitting a Neural SDE using DiffEqFlux.jl. Description of the problem that is solved: Given a specific SDE system, I want to steer that system (with a particular control) to the…

---

## [Julia logo graphics](https://discourse.julialang.org/t/julia-logo-graphics/1813)

<div class="topic-metadata">

**Author:** [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Replies:** 5\
**Last updated:** [May 23, 2021, 8:16am UTC](https://discourse.julialang.org/t/julia-logo-graphics/1813 "2021-05-23T08:16:43Z")

</div>

FYI, you can get some information and source files for Julia logos and other artwork here. It’s not a package, just a repo.

---

## [How to effectively develop in Julia?](https://discourse.julialang.org/t/how-to-effectively-develop-in-julia/61627)

<div class="topic-metadata">

**Author:** [@amit1](https://discourse.julialang.org/u/amit1)\
**Replies:** 17\
**Last updated:** [May 23, 2021, 7:29am UTC](https://discourse.julialang.org/t/how-to-effectively-develop-in-julia/61627 "2021-05-23T07:29:15Z")

</div>

I have recetly started moving to Julia as my primary language. I like it very much except one issue, am not sure what would be best model to develop in Julia. Primarily I use Python with lots of iterations and checks, a…

---

## [SDDP:MethodError: no method matching \*(::Float64, ::SDDP.State{VariableRef})](https://discourse.julialang.org/t/sddp-no-method-matching-float64-sddp-state-variableref/61666)

<div class="topic-metadata">

**Author:** [@BYS](https://discourse.julialang.org/u/BYS)\
**Replies:** 4\
**Last updated:** [May 23, 2021, 4:13am UTC](https://discourse.julialang.org/t/sddp-no-method-matching-float64-sddp-state-variableref/61666 "2021-05-23T04:13:36Z")

</div>

Hi, If I write using SDDP,Gurobi a=2\*ones(10) a\[1\]=3 a\[2\]=4 ini\_a=ones(10); c\_a=ones(10); model = SDDP.LinearPolicyGraph( stages = 3, sense = :Min, lower\_bound = 0.0, optimizer = Gurobi.Optimizer, ) do …

---

## [SDDiP.jl - LoadError: AssertionError: \[...\] == :Optimal](https://discourse.julialang.org/t/sddip-jl-loaderror-assertionerror-optimal/24781)

<div class="topic-metadata">

**Author:** [@eltuck](https://discourse.julialang.org/u/eltuck)\
**Replies:** 10\
**Last updated:** [May 23, 2021, 2:47am UTC](https://discourse.julialang.org/t/sddip-jl-loaderror-assertionerror-optimal/24781 "2021-05-23T02:47:35Z")

</div>

Hi all, I’m new to Julia (coming from AMPL), and I’m trying to solve a model using the SDDiP algorithm implemented in SDDiP.jl and CPLEX. I’m able to implement many of the example models, and the algorithm generally wo…

---

## [Trying to solve a puzzle](https://discourse.julialang.org/t/trying-to-solve-a-puzzle/61515)

<div class="topic-metadata">

**Author:** [@sogrbilja](https://discourse.julialang.org/u/sogrbilja)\
**Replies:** 23\
**Last updated:** [May 23, 2021, 2:32am UTC](https://discourse.julialang.org/t/trying-to-solve-a-puzzle/61515 "2021-05-23T02:32:19Z")

</div>

Just recently I bumped on this: The PuzzlOR and I want to play a bit with that and solve it using JuMP. My approach is not yet certain, but something like this: load data into DICT(string, int) \* actually just 0 or 1 …

---

## [How to "broadcast" macro interpolation](https://discourse.julialang.org/t/how-to-broadcast-macro-interpolation/61641)

<div class="topic-metadata">

**Author:** [@melonedo](https://discourse.julialang.org/u/melonedo)\
**Replies:** 4\
**Last updated:** [May 23, 2021, 2:32am UTC](https://discourse.julialang.org/t/how-to-broadcast-macro-interpolation/61641 "2021-05-23T02:32:04Z")

</div>

In Julia, building a simple expression is as easy as inserting a few $s. For example if I write a macro that zeros a variable by setting it to literal 0: macro zeroit(x::Symbol) :($(esc(x)) = 0) end But if I want a…

---

## [Unable to update packages even after fresh installation](https://discourse.julialang.org/t/unable-to-update-packages-even-after-fresh-installation/61659)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 1\
**Last updated:** [May 23, 2021, 2:16am UTC](https://discourse.julialang.org/t/unable-to-update-packages-even-after-fresh-installation/61659 "2021-05-23T02:16:39Z")

</div>

Hi all, I am unable to update packages to new versions on Ubuntu and Mac OS. The problem persists even after reinstalling Julia. However, updating works on Windows 10. Here is an example of the problem: (@v1.6) pkg\> st…

---

## [GUI Developer for Computational Psychiatry with the Julia Lab](https://discourse.julialang.org/t/gui-developer-for-computational-psychiatry-with-the-julia-lab/59813)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 4\
**Last updated:** [May 23, 2021, 2:14am UTC](https://discourse.julialang.org/t/gui-developer-for-computational-psychiatry-with-the-julia-lab/59813 "2021-05-23T02:14:52Z")

</div>

LCNeuro and MIT Julia Lab currently have a commitment from Silicon Valley philanthropists to support the development of a software platform for creating, simulating, and validating models of brain circuit dysregulation…

---

## [Experience with using SimJulia](https://discourse.julialang.org/t/experience-with-using-simjulia/20232)

<div class="topic-metadata">

**Author:** [@stroebel](https://discourse.julialang.org/u/stroebel)\
**Replies:** 1\
**Last updated:** [May 23, 2021, 1:54am UTC](https://discourse.julialang.org/t/experience-with-using-simjulia/20232 "2021-05-23T01:54:19Z")

</div>

I am trying to follow along with one of the examples in the documentation of the library and in the code sample below I have the problem that the function silently “vanishes” at the line val = @yield ... and the simulati…

---

## [SimJulia, interrupt() error](https://discourse.julialang.org/t/simjulia-interrupt-error/30571)

<div class="topic-metadata">

**Author:** [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Replies:** 1\
**Last updated:** [May 23, 2021, 1:49am UTC](https://discourse.julialang.org/t/simjulia-interrupt-error/30571 "2021-05-23T01:49:18Z")

</div>

When interrupt one process which have an event with callback function, an error occurs. The small example code is as follows. function my\_callback(ev::AbstractEvent, env::Environment) println("Called back from ", ev) …

---

## [Insert dummy 0 value rows into dataframe](https://discourse.julialang.org/t/insert-dummy-0-value-rows-into-dataframe/61647)

<div class="topic-metadata">

**Author:** [@jonjilla](https://discourse.julialang.org/u/jonjilla)\
**Replies:** 7\
**Last updated:** [May 23, 2021, 1:41am UTC](https://discourse.julialang.org/t/insert-dummy-0-value-rows-into-dataframe/61647 "2021-05-23T01:41:37Z")

</div>

Hello All, I’m trying to figure out a quick way to insert dummy rows with 0 values if they are missing for a set of index fields For example, let’s say I have this dataframe: data = DataFrame(:index =\> String\[\], :met…

---

## [Chicago loop meetup?](https://discourse.julialang.org/t/chicago-loop-meetup/61592)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 4\
**Last updated:** [May 23, 2021, 1:40am UTC](https://discourse.julialang.org/t/chicago-loop-meetup/61592 "2021-05-23T01:40:00Z")

</div>

Anyone up for a meetup? Loop location or Streeterville. Just a get together to see what we’re all up to and if we can help each other. I’m coming from Python and just finished my due diligence. Retired Silicon Valley an…

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

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