# Latest

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

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

**Page:** 1555

---

## [@code\_lowered vs @code\_typed](https://discourse.julialang.org/t/code-lowered-vs-code-typed/51346)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 9\
**Last updated:** [December 6, 2020, 5:12pm UTC](https://discourse.julialang.org/t/code-lowered-vs-code-typed/51346 "2020-12-06T17:12:20Z")

</div>

Where can I find documentation of the difference between these? The main Julia docs aren’t very clear about it. I have an example of two functions where @code\_typed is identical, but @code\_lowered is not. There’s a diff…

---

## [Plots and Makie comingling packages](https://discourse.julialang.org/t/plots-and-makie-comingling-packages/51345)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 0\
**Last updated:** [December 6, 2020, 3:31pm UTC](https://discourse.julialang.org/t/plots-and-makie-comingling-packages/51345 "2020-12-06T15:31:45Z")

</div>

As I’ve learned julia and written my own composite types, I started creating recipes for Plots.jl. Then I discovered that Makie.jl was better for 3D and interacting so more recent packages I developed used Makie.jl to p…

---

## [VSCode Debugger: Pause on failed test](https://discourse.julialang.org/t/vscode-debugger-pause-on-failed-test/51297)

<div class="topic-metadata">

**Author:** [@ettersi](https://discourse.julialang.org/u/ettersi)\
**Replies:** 2\
**Last updated:** [December 6, 2020, 3:48pm UTC](https://discourse.julialang.org/t/vscode-debugger-pause-on-failed-test/51297 "2020-12-06T15:48:01Z")

</div>

What’s the most convenient way to have the debugger pause upon hitting a failed @test? I assume I could set a breakpoint on some function in the Test package, but figuring out (and remembering) which is the appropriate …

---

## [Csv error reading numbers as string](https://discourse.julialang.org/t/csv-error-reading-numbers-as-string/51341)

<div class="topic-metadata">

**Author:** [@mayar](https://discourse.julialang.org/u/mayar)\
**Replies:** 16\
**Last updated:** [December 6, 2020, 3:16pm UTC](https://discourse.julialang.org/t/csv-error-reading-numbers-as-string/51341 "2020-12-06T15:16:26Z")

</div>

Hello all, I have always used csv.read for my csv files but now after the new julia update , I have troubles with csv.read it sometimes reads numbers as integers and sometime doesnot how do I avoid this problem ? tha…

---

## [Kron and shared data, not the right amount of sharing?](https://discourse.julialang.org/t/kron-and-shared-data-not-the-right-amount-of-sharing/48080)

<div class="topic-metadata">

**Author:** [@malacroi](https://discourse.julialang.org/u/malacroi)\
**Replies:** 1\
**Last updated:** [December 6, 2020, 2:34pm UTC](https://discourse.julialang.org/t/kron-and-shared-data-not-the-right-amount-of-sharing/48080 "2020-12-06T14:34:30Z")

</div>

The kron function on vectors seems to be inappropriately holding on to its input. As a simple example, the input s = \[2,5\]; k=kron(s,\[3,1\]); push!(s,4) produces the error: cannot resize array with shared data Stackt…

---

## [Better compression for JLD2 (Discussion)](https://discourse.julialang.org/t/better-compression-for-jld2-discussion/51306)

<div class="topic-metadata">

**Author:** [@JonasIsensee](https://discourse.julialang.org/u/JonasIsensee)\
**Replies:** 2\
**Last updated:** [December 6, 2020, 2:25pm UTC](https://discourse.julialang.org/t/better-compression-for-jld2-discussion/51306 "2020-12-06T14:25:03Z")

</div>

Hi all, I’m working on bringing faster / more flexible compression to JLD2. Currently you can do @save "test.jld2" {compress=true} a b c and JLD2 will then compress sufficiently large arrays using CodecZlib. This wor…

---

## [Best Data format for Tabular Data plus Vector](https://discourse.julialang.org/t/best-data-format-for-tabular-data-plus-vector/51315)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 3\
**Last updated:** [December 6, 2020, 2:22pm UTC](https://discourse.julialang.org/t/best-data-format-for-tabular-data-plus-vector/51315 "2020-12-06T14:22:08Z")

</div>

Coming from a background in Matlab, where I do mostly signal processing kinds of things, and am considering switching to Julia, I was looking for good alternatives for data storage in Julia. The type of data I would lik…

---

## [Fractional MIME types? what about style/class attribute values?](https://discourse.julialang.org/t/fractional-mime-types-what-about-style-class-attribute-values/51263)

<div class="topic-metadata">

**Author:** [@cce](https://discourse.julialang.org/u/cce)\
**Replies:** 2\
**Last updated:** [December 6, 2020, 2:12pm UTC](https://discourse.julialang.org/t/fractional-mime-types-what-about-style-class-attribute-values/51263 "2020-12-06T14:12:15Z")

</div>

Hello. I’m finalizing the implementation of an HTML generation library, HypertextLiteral.jl based upon @mbostock’s Hypertext Literal (HTM). The goal of this is to provide server-side HTML generation, using Julia interpo…

---

## [How to enter \\n with backtick syntax?](https://discourse.julialang.org/t/how-to-enter-n-with-backtick-syntax/47505)

<div class="topic-metadata">

**Author:** [@matklad](https://discourse.julialang.org/u/matklad)\
**Replies:** 25\
**Last updated:** [December 6, 2020, 2:08pm UTC](https://discourse.julialang.org/t/how-to-enter-n-with-backtick-syntax/47505 "2020-12-06T14:08:09Z")

</div>

Apparently, \\n doesn’t work in backticks: julia\> \`echo "hello\\nworld"\` \`echo 'hello\\nworld'\` julia\> collect(\`echo "hello\\nworld"\`) 2-element Array{String,1}: "echo" "hello\\\\nworld" Is there a better way to…

---

## [Loading setup script for JuliaCall in R not working](https://discourse.julialang.org/t/loading-setup-script-for-juliacall-in-r-not-working/51285)

<div class="topic-metadata">

**Author:** [@clement](https://discourse.julialang.org/u/clement)\
**Replies:** 6\
**Last updated:** [December 6, 2020, 12:44am UTC](https://discourse.julialang.org/t/loading-setup-script-for-juliacall-in-r-not-working/51285 "2020-12-06T00:44:49Z")

</div>

Hi everybody, I managed to successfully install Julia on my Ubuntu machine into a specific folder. Path to the Julia bin is /home/clement/Julia\_download/julia-1.5.3/bin Now, the goal is to call or run julia in R. I h…

---

## [JuliaActors: a road to an Actors ecosystem](https://discourse.julialang.org/t/juliaactors-a-road-to-an-actors-ecosystem/49898)

<div class="topic-metadata">

**Author:** [@pbayer](https://discourse.julialang.org/u/pbayer)\
**Replies:** 17\
**Last updated:** [December 6, 2020, 1:38pm UTC](https://discourse.julialang.org/t/juliaactors-a-road-to-an-actors-ecosystem/49898 "2020-12-06T13:38:25Z")

</div>

Following the discussion in another thread now we have JuliaActors, a yet small Julia GitHub group of enthusiasts dedicated to build an actors ecosystem in Julia. Since this is not anymore a discussion about one library,…

---

## [Summation formulation](https://discourse.julialang.org/t/summation-formulation/51276)

<div class="topic-metadata">

**Author:** [@Maria95](https://discourse.julialang.org/u/Maria95)\
**Replies:** 2\
**Last updated:** [December 6, 2020, 1:01pm UTC](https://discourse.julialang.org/t/summation-formulation/51276 "2020-12-06T13:01:20Z")

</div>

Hello, Apologies if this is not the right category for positing this question. I am not sure whether all linear algebra operations such as cumulative sum can be used with JuMP. I have given a working generic example to g…

---

## [Documentation fails to deploy](https://discourse.julialang.org/t/documentation-fails-to-deploy/51340)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 0\
**Last updated:** [December 6, 2020, 10:51am UTC](https://discourse.julialang.org/t/documentation-fails-to-deploy/51340 "2020-12-06T10:51:25Z")

</div>

Hi all- I am trying to add documentation to a repo according to the instructions for Documenter.jl. I added a key to github with read/write access, and the corresponding key to Travis-CI. Unfortunately, it returns the e…

---

## [Very fancy package updating 1.6](https://discourse.julialang.org/t/very-fancy-package-updating-1-6/51227)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 27\
**Last updated:** [December 6, 2020, 9:38am UTC](https://discourse.julialang.org/t/very-fancy-package-updating-1-6/51227 "2020-12-06T09:38:15Z")

</div>

Animated progress. Beautiful!

---

## [Programatically get return type of \`broadcast\`?](https://discourse.julialang.org/t/programatically-get-return-type-of-broadcast/51071)

<div class="topic-metadata">

**Author:** [@jdh62043](https://discourse.julialang.org/u/jdh62043)\
**Replies:** 10\
**Last updated:** [December 6, 2020, 8:07am UTC](https://discourse.julialang.org/t/programatically-get-return-type-of-broadcast/51071 "2020-12-06T08:07:09Z")

</div>

Is there some way to get what a call to broadcast would return, possibly similar to how promote works? An example of what I need is something like this: using StaticArrays a1 = SA\_F32\[1, 2, 3\] # SArray{Tuple{3}, Float3…

---

## [ODEs using Element-wise vector multiplication](https://discourse.julialang.org/t/odes-using-element-wise-vector-multiplication/51332)

<div class="topic-metadata">

**Author:** [@jonlym](https://discourse.julialang.org/u/jonlym)\
**Replies:** 2\
**Last updated:** [December 6, 2020, 3:36am UTC](https://discourse.julialang.org/t/odes-using-element-wise-vector-multiplication/51332 "2020-12-06T03:36:35Z")

</div>

Hi All, I’m new to Julia. I would like to solve a series of ODEs but noticed the solution does not update when I use element-wise vector multiplication (see the code snippet and plot below). Why does f1! solve correctly…

---

## [Plot grids with Plots and Gadfly](https://discourse.julialang.org/t/plot-grids-with-plots-and-gadfly/51222)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 1\
**Last updated:** [December 6, 2020, 3:35am UTC](https://discourse.julialang.org/t/plot-grids-with-plots-and-gadfly/51222 "2020-12-06T03:35:38Z")

</div>

I need a figure with components from Plots and Gadfly, specifically Plots.heatmap() and Gadfly.plot(). The following does not work: using Plots,Gadfly,Compse p1 = Plots.heatmap(rand(10,10)) p2 = Gadfly.plot(x=\[1,2,3\], …

---

## [Run command error in Windows 10](https://discourse.julialang.org/t/run-command-error-in-windows-10/51314)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 4\
**Last updated:** [December 6, 2020, 2:37am UTC](https://discourse.julialang.org/t/run-command-error-in-windows-10/51314 "2020-12-06T02:37:39Z")

</div>

I was going through the examples in Running External Programs · The Julia Language and found some that worked on a Raspberry Pi but errored on Windows 10. In both instances I was working from the REPL. mycommand = echo…

---

## [Ipermute in Julia](https://discourse.julialang.org/t/ipermute-in-julia/51327)

<div class="topic-metadata">

**Author:** [@qwerytyui1234](https://discourse.julialang.org/u/qwerytyui1234)\
**Replies:** 2\
**Last updated:** [December 6, 2020, 2:03am UTC](https://discourse.julialang.org/t/ipermute-in-julia/51327 "2020-12-06T02:03:07Z")

</div>

Dear Julia experts, How do I inverse permute in Julia? (It’s called ipermute in Matlab) More info here. I found a function called invpermute! With a 3-D array, invpermute! does not seem to work. Any help would be sinc…

---

## [How to write an objective function that has both a LASSO and a Ridge regularization term in JuMP](https://discourse.julialang.org/t/how-to-write-an-objective-function-that-has-both-a-lasso-and-a-ridge-regularization-term-in-jump/50727)

<div class="topic-metadata">

**Author:** [@Jaidy](https://discourse.julialang.org/u/Jaidy)\
**Replies:** 30\
**Last updated:** [December 6, 2020, 1:16am UTC](https://discourse.julialang.org/t/how-to-write-an-objective-function-that-has-both-a-lasso-and-a-ridge-regularization-term-in-jump/50727 "2020-12-06T01:16:27Z")

</div>

hello everyone, I am trying to use JuMP to minimize an objective function, essentially logistic regression with both LASSO and Ridge regularization term. Here is the setting: I have a matrix of inputs, X, having n rows…

---

## [Memory usage with large JSON](https://discourse.julialang.org/t/memory-usage-with-large-json/51277)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 5\
**Last updated:** [December 6, 2020, 12:45am UTC](https://discourse.julialang.org/t/memory-usage-with-large-json/51277 "2020-12-06T00:45:19Z")

</div>

I was using JSON to parse a large (1.6 GB) JSON file, and the memory usage was surprising. More surprisingly, perhaps, was that even after removing the reference to the parsed object and garbage collecting, the memory us…

---

## [Simplex implementation with A,b,c matrices](https://discourse.julialang.org/t/simplex-implementation-with-a-b-c-matrices/51307)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 5\
**Last updated:** [December 5, 2020, 8:06pm UTC](https://discourse.julialang.org/t/simplex-implementation-with-a-b-c-matrices/51307 "2020-12-05T20:06:02Z")

</div>

Hello, I would like to solve an LP min cx s.t. Ax = b for which I have A, b and c all prepared. That is, I don’t want to go through a modeling phase. Is there a way to define a JuMP model directly with these component…

---

## [String conversion from Symbol with Unicode does not yield a string, which is intended to be the same](https://discourse.julialang.org/t/string-conversion-from-symbol-with-unicode-does-not-yield-a-string-which-is-intended-to-be-the-same/51289)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 6\
**Last updated:** [December 5, 2020, 7:13pm UTC](https://discourse.julialang.org/t/string-conversion-from-symbol-with-unicode-does-not-yield-a-string-which-is-intended-to-be-the-same/51289 "2020-12-05T19:13:27Z")

</div>

Hi, I’m often use a conversion from Symbol to String. For example, String(:a) == "a" # true However, when adding \\dot, it yields a string which is different from intended string. For example, String(:a\\dot) == "a\\dot…

---

## [Plots, animation, problem with indendent layout](https://discourse.julialang.org/t/plots-animation-problem-with-indendent-layout/51302)

<div class="topic-metadata">

**Author:** [@DIzer](https://discourse.julialang.org/u/DIzer)\
**Replies:** 2\
**Last updated:** [December 5, 2020, 3:52pm UTC](https://discourse.julialang.org/t/plots-animation-problem-with-indendent-layout/51302 "2020-12-05T15:52:21Z")

</div>

Hello everybody, I need to animate a peace of experimental data. The outline of calculation is below. … #some calculations anim = Animation() l = @layout \[a; c{0.2h}\] for (n\_, line) in enumerate(lines1) … #some ca…

---

## [RecipesBase: Reuse a @series and use/work with provided limits](https://discourse.julialang.org/t/recipesbase-reuse-a-series-and-use-work-with-provided-limits/51290)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 2\
**Last updated:** [December 5, 2020, 9:15am UTC](https://discourse.julialang.org/t/recipesbase-reuse-a-series-and-use-work-with-provided-limits/51290 "2020-12-05T09:15:34Z")

</div>

I am starting to really appreciate how RecipesBase works, now that I slowly understand the scheme. Maybe for now this is limited to user recipes, but nevertheless, really neat! Currently I have one point left, where I a…

---

## [JLD2: How to @load a file from string](https://discourse.julialang.org/t/jld2-how-to-load-a-file-from-string/51214)

<div class="topic-metadata">

**Author:** [@neo\_abs](https://discourse.julialang.org/u/neo_abs)\
**Replies:** 3\
**Last updated:** [December 5, 2020, 9:31am UTC](https://discourse.julialang.org/t/jld2-how-to-load-a-file-from-string/51214 "2020-12-05T09:31:09Z")

</div>

I have series of files saved via JLD2. I want to load them, one by one and do some operations on them. Generally I want to do following: filename = "somefilename.jld" @load filename When I do it I get: julia\> @lo…

---

## [ANN: new version of package BifurcationKit.jl](https://discourse.julialang.org/t/ann-new-version-of-package-bifurcationkit-jl/51275)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 1\
**Last updated:** [December 5, 2020, 6:35am UTC](https://discourse.julialang.org/t/ann-new-version-of-package-bifurcationkit-jl/51275 "2020-12-05T06:35:21Z")

</div>

Dear all, I am glad to report a new version of BifurcationKit.jl. Compared to the previous one, emphasis was put on the computation of periodic solutions. In short, we can now use many more time sections than before whi…

---

## [Dot operators of hcat failed for CuArray](https://discourse.julialang.org/t/dot-operators-of-hcat-failed-for-cuarray/51174)

<div class="topic-metadata">

**Author:** [@zqn](https://discourse.julialang.org/u/zqn)\
**Replies:** 2\
**Last updated:** [December 5, 2020, 4:22am UTC](https://discourse.julialang.org/t/dot-operators-of-hcat-failed-for-cuarray/51174 "2020-12-05T04:22:07Z")

</div>

Hi. I’m trying to combining elements with the same locations from two arrays. It’s easy to do that with dot hcat like this. a = randn(5,2) b = randn(5,2) hcat.(a,b) When I store my arrays in GPU as CuArray, it won’t w…

---

## [Using Documenter.jl to in GitHub actions](https://discourse.julialang.org/t/using-documenter-jl-to-in-github-actions/51231)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 5\
**Last updated:** [December 5, 2020, 2:46am UTC](https://discourse.julialang.org/t/using-documenter-jl-to-in-github-actions/51231 "2020-12-05T02:46:54Z")

</div>

The Documenter log seems to suggest that setting push\_preview=true is necessary when generating docs from a git-hub action, as here Is this actually necessary? cc @dilumaluthge

---

## [Struct equality seems weird inside Sets](https://discourse.julialang.org/t/struct-equality-seems-weird-inside-sets/51283)

<div class="topic-metadata">

**Author:** [@bsuwal](https://discourse.julialang.org/u/bsuwal)\
**Replies:** 6\
**Last updated:** [December 5, 2020, 12:52am UTC](https://discourse.julialang.org/t/struct-equality-seems-weird-inside-sets/51283 "2020-12-05T00:52:53Z")

</div>

Can someone help me understand this behavior? So I define a struct. To define what equality means for the struct, I define the == function for the struct, and also a hash() function. Note the println() statements i…

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

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