# Latest

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

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

**Page:** 1578

---

## [CUDA v2 - performance regression on matrix multiplication](https://discourse.julialang.org/t/cuda-v2-performance-regression-on-matrix-multiplication/49763)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 14\
**Last updated:** [November 10, 2020, 8:55pm UTC](https://discourse.julialang.org/t/cuda-v2-performance-regression-on-matrix-multiplication/49763 "2020-11-10T20:55:38Z")

</div>

Following upgrade of Flux from CUDA 1 to CUDA 2, operations running on CUDA appear to allocate more as well as being slightly slower. For example, on a LSTM, with CUDA 2.1 : 8.572 s (16390042 allocations: 3.92 GiB) CU…

---

## [Any way to auto-reformat Binary without extra tail "000s..."](https://discourse.julialang.org/t/any-way-to-auto-reformat-binary-without-extra-tail-000s/49944)

<div class="topic-metadata">

**Author:** [@teriiju](https://discourse.julialang.org/u/teriiju)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 8:44pm UTC](https://discourse.julialang.org/t/any-way-to-auto-reformat-binary-without-extra-tail-000s/49944 "2020-11-10T20:44:02Z")

</div>

Hi, using the Dec to Bin convertion, I’ve pickup this lines of codes which seem to do the job : dek = 21 string(bswap(dek), base = 2) "1010100000........." Now, in this way I’m getting a very long format : Out\[9\]: “1…

---

## [Plots printed abnormally big](https://discourse.julialang.org/t/plots-printed-abnormally-big/49906)

<div class="topic-metadata">

**Author:** [@daorse](https://discourse.julialang.org/u/daorse)\
**Replies:** 5\
**Last updated:** [November 10, 2020, 6:50pm UTC](https://discourse.julialang.org/t/plots-printed-abnormally-big/49906 "2020-11-10T18:50:29Z")

</div>

Hello, since I rebuilt Plots (v.1.8.0) in order to solve another issue (“GKS: character ignored due to unicode error”) my plots are now by default printed in a huge format and even when a smaller size is specified, all…

---

## [Is there a way to test individual \`jldoctests\`?](https://discourse.julialang.org/t/is-there-a-way-to-test-individual-jldoctests/49930)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 2\
**Last updated:** [November 10, 2020, 6:34pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-test-individual-jldoctests/49930 "2020-11-10T18:34:10Z")

</div>

I am using Documenter.jl for the first time and my attempts at using jldoctest aren’t very good. There are a lot of failures. It would be nice to debug these failures one by one, say """ foo(x) Returns 1 \`\`\`jldoc…

---

## [Ecosystem of SampledSignals](https://discourse.julialang.org/t/ecosystem-of-sampledsignals/49922)

<div class="topic-metadata">

**Author:** [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 5:28pm UTC](https://discourse.julialang.org/t/ecosystem-of-sampledsignals/49922 "2020-11-10T17:28:50Z")

</div>

I’d like to ask if there is some consensus in the sampled signal domain on basic type definitions. In my work, I have my algorithms and packages for signal processing (FFT spectrum comparisons, different ways of chopping…

---

## [JuliaGPU CI moving to Buildkite](https://discourse.julialang.org/t/juliagpu-ci-moving-to-buildkite/49925)

<div class="topic-metadata">

**Author:** [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 5:03pm UTC](https://discourse.julialang.org/t/juliagpu-ci-moving-to-buildkite/49925 "2020-11-10T17:03:40Z")

</div>

Hi all, Because of GitLab limitations (no CI for external PRs, needs a repository mirror that can lose its sync, no real Julia support, only reuse of code through include, etc), Julia’s community GPU CI is moving to Bui…

---

## [Struct with a field of type \`Function\`](https://discourse.julialang.org/t/struct-with-a-field-of-type-function/49669)

<div class="topic-metadata">

**Author:** [@Azzaare](https://discourse.julialang.org/u/Azzaare)\
**Replies:** 8\
**Last updated:** [November 10, 2020, 4:33pm UTC](https://discourse.julialang.org/t/struct-with-a-field-of-type-function/49669 "2020-11-10T16:33:26Z")

</div>

Hi there, I am trying to define a struct that contains the keys to a set of variables vars and a function with a signature that corresponds to those variables. struct MyType f::Function vars::Vector{Int} end A…

---

## [VS Code Stuck Indexing Julia](https://discourse.julialang.org/t/vs-code-stuck-indexing-julia/49865)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 4\
**Last updated:** [November 10, 2020, 4:05pm UTC](https://discourse.julialang.org/t/vs-code-stuck-indexing-julia/49865 "2020-11-10T16:05:08Z")

</div>

In VS Code, I get a message that Julia crashed, and several notices of Julia indexing. It doesn’t seem to stop, and I can’t use certain packages. As can be seen, it doesen’t mention indexing a particular package. I…

---

## [Flux example 100x slower with L2 regularisation(?!)](https://discourse.julialang.org/t/flux-example-100x-slower-with-l2-regularisation/49914)

<div class="topic-metadata">

**Author:** [@compleat](https://discourse.julialang.org/u/compleat)\
**Replies:** 5\
**Last updated:** [November 10, 2020, 2:51pm UTC](https://discourse.julialang.org/t/flux-example-100x-slower-with-l2-regularisation/49914 "2020-11-10T14:51:20Z")

</div>

I am running a network in Flux/ADAM without regularisation which does 100 epochs in about as many seconds. When I add an L2-penalty of 0.01\*sum(abs2 , m\[2\].W) to the loss function and train, it takes 90-100 seconds per…

---

## [Making use of \`optlevel\` etc](https://discourse.julialang.org/t/making-use-of-optlevel-etc/49917)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 2:35pm UTC](https://discourse.julialang.org/t/making-use-of-optlevel-etc/49917 "2020-11-10T14:35:05Z")

</div>

The Makie ecosystem still suffers from large compilation latency. Tim Holy has kindly been looking at invalidations for us, but that is relatively slow work and hard to do for the amount of code that is there. One option…

---

## [Is there a way to fill a dataframe with values from a smaller dataframe?](https://discourse.julialang.org/t/is-there-a-way-to-fill-a-dataframe-with-values-from-a-smaller-dataframe/49912)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 2\
**Last updated:** [November 10, 2020, 1:43pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-fill-a-dataframe-with-values-from-a-smaller-dataframe/49912 "2020-11-10T13:43:27Z")

</div>

I was hoping to be able to fill a larger DataFrame with the values of a smaller one using fill() but it doesn’t work this way. I can create a new DataFrame using vcat but was hoping for a better method. using DataFrames…

---

## [Senior Scientific Software Engineer at Cervest (London, UK ± 1 timezone)](https://discourse.julialang.org/t/senior-scientific-software-engineer-at-cervest-london-uk-1-timezone/49907)

<div class="topic-metadata">

**Author:** [@maximerischard](https://discourse.julialang.org/u/maximerischard)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 11:57am UTC](https://discourse.julialang.org/t/senior-scientific-software-engineer-at-cervest-london-uk-1-timezone/49907 "2020-11-10T11:57:58Z")

</div>

My team at Cervest is recruiting a Senior Scientific Software Engineer to help us implement and build scientific data pipelines, physical models, and statistical models. The company is building a climate intelligence pla…

---

## [Simplex solver](https://discourse.julialang.org/t/simplex-solver/49827)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 6\
**Last updated:** [November 10, 2020, 11:38am UTC](https://discourse.julialang.org/t/simplex-solver/49827 "2020-11-10T11:38:12Z")

</div>

I have just completed an operations research subject in which I was taught the simplex method and a foundation programming subject in which I was taught JavaScript/HTML. During these subjects, I wrote this webpage (sourc…

---

## [SciTE + ConEmu + Julia with AutoHotkey](https://discourse.julialang.org/t/scite-conemu-julia-with-autohotkey/16710)

<div class="topic-metadata">

**Author:** [@oif2003](https://discourse.julialang.org/u/oif2003)\
**Replies:** 12\
**Last updated:** [November 10, 2020, 11:30am UTC](https://discourse.julialang.org/t/scite-conemu-julia-with-autohotkey/16710 "2020-11-10T11:30:42Z")

</div>

Hello, I made an AutoHotkey (v2 64-bit) script that connects SciTE and Julia because none of the IDE’s out there worked for me (probably my fault). All outputs in Julia REPL console are read from conhost.exe’s output bu…

---

## [VegaLite.jl: How to pass in a DataFrame and apply data parameters](https://discourse.julialang.org/t/vegalite-jl-how-to-pass-in-a-dataframe-and-apply-data-parameters/49901)

<div class="topic-metadata">

**Author:** [@venaptor](https://discourse.julialang.org/u/venaptor)\
**Replies:** 0\
**Last updated:** [November 10, 2020, 9:30am UTC](https://discourse.julialang.org/t/vegalite-jl-how-to-pass-in-a-dataframe-and-apply-data-parameters/49901 "2020-11-10T09:30:01Z")

</div>

When I pipe a DataFrame into @vlplot I’m not able to call the additional configuration parameters as the data isn’t inline. Below is what I want to achieve, but using an external DataFrame as the values: data = { …

---

## [Addprocs() to different achitectures](https://discourse.julialang.org/t/addprocs-to-different-achitectures/5454)

<div class="topic-metadata">

**Author:** [@Frank\_Applin](https://discourse.julialang.org/u/Frank_Applin)\
**Replies:** 2\
**Last updated:** [November 10, 2020, 9:01am UTC](https://discourse.julialang.org/t/addprocs-to-different-achitectures/5454 "2020-11-10T09:01:20Z")

</div>

Hi, I’m experimenting with doing remote calls to different architectures (beaglebone and Raspberry Pi). I have successfully done a remotecall\_fetch() to a UDOO x86 running Mint Linux from my Dell Optiplex 755 desktop. T…

---

## [Reading a non-uniform CSV file](https://discourse.julialang.org/t/reading-a-non-uniform-csv-file/49886)

<div class="topic-metadata">

**Author:** [@ash](https://discourse.julialang.org/u/ash)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 8:40am UTC](https://discourse.julialang.org/t/reading-a-non-uniform-csv-file/49886 "2020-11-10T08:40:48Z")

</div>

I am using CSV.jl to read a file of this format: # 60 lines of completely random unformatted crap here 1 1 Te 5S 1 0 0.5 -0.5 1 1 0.0000000000 1 2 0.0024000000 …

---

## [Least Square Means or Adjusted Means](https://discourse.julialang.org/t/least-square-means-or-adjusted-means/49707)

<div class="topic-metadata">

**Author:** [@younghan-lee](https://discourse.julialang.org/u/younghan-lee)\
**Replies:** 7\
**Last updated:** [November 10, 2020, 8:22am UTC](https://discourse.julialang.org/t/least-square-means-or-adjusted-means/49707 "2020-11-10T08:22:41Z")

</div>

Hello, I am trying to get least square means or adjusted means in Julia from my dataset. I’ve been using ‘emmeans’ in R or ‘lsmean’ in SAS, equivalently. Would there be any Julia package or way to do it in Julia? Tha…

---

## [AnSchorfheide() example model in DSGE.jl](https://discourse.julialang.org/t/anschorfheide-example-model-in-dsge-jl/49872)

<div class="topic-metadata">

**Author:** [@caiodantas](https://discourse.julialang.org/u/caiodantas)\
**Replies:** 1\
**Last updated:** [November 10, 2020, 2:52am UTC](https://discourse.julialang.org/t/anschorfheide-example-model-in-dsge-jl/49872 "2020-11-10T02:52:22Z")

</div>

I am trying to estimate the AnSchorfheide() example model in DSGE.jl, but after the Metropolis-Hastings algorithm is executed I get the message: ERROR: LoadError: UndefVarError: load\_draws not defined Stacktrace: \[1\] m…

---

## [Defining const inside struct](https://discourse.julialang.org/t/defining-const-inside-struct/49866)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 6\
**Last updated:** [November 10, 2020, 2:47am UTC](https://discourse.julialang.org/t/defining-const-inside-struct/49866 "2020-11-10T02:47:10Z")

</div>

This is a follow-up of this thread, which ended with this new issue I am not sure how to solve: https://discourse.julialang.org/t/nightly-build-ci-failing-because-rand-unitrange-changed-when-to-care/49857/10 The issue …

---

## [Condition for particular index in array to be maximum](https://discourse.julialang.org/t/condition-for-particular-index-in-array-to-be-maximum/49846)

<div class="topic-metadata">

**Author:** [@shashankchahar](https://discourse.julialang.org/u/shashankchahar)\
**Replies:** 2\
**Last updated:** [November 9, 2020, 10:28pm UTC](https://discourse.julialang.org/t/condition-for-particular-index-in-array-to-be-maximum/49846 "2020-11-09T22:28:19Z")

</div>

Hi, I am new to Julia and trying to solve a fitting problem. I have a transition matrix that I am trying to fit. I have got some results but they are non-intutive as the probability of being in state i,i should be the g…

---

## [Nested loops](https://discourse.julialang.org/t/nested-loops/49810)

<div class="topic-metadata">

**Author:** [@caetanotc](https://discourse.julialang.org/u/caetanotc)\
**Replies:** 5\
**Last updated:** [November 9, 2020, 10:20pm UTC](https://discourse.julialang.org/t/nested-loops/49810 "2020-11-09T22:20:05Z")

</div>

Hi, I need a program where I’m computing a 2D NxN lattice, and for that I need N^2 nested loops, for N=2 would be: for S\[1,1\] in \[-1,1\], S\[1,2\] in \[-1,1\], S\[2,1\] in \[-1,1\], S\[2,2\] in \[-1,1\] ... end But I need to c…

---

## [Make Struct available on all workers](https://discourse.julialang.org/t/make-struct-available-on-all-workers/49869)

<div class="topic-metadata">

**Author:** [@oskar](https://discourse.julialang.org/u/oskar)\
**Replies:** 0\
**Last updated:** [November 9, 2020, 9:19pm UTC](https://discourse.julialang.org/t/make-struct-available-on-all-workers/49869 "2020-11-09T21:19:05Z")

</div>

I am using Distributed.jl and DistributedArrays.jl to write code that runs in parallel and I want to make a certain struct available to all processes, because they all need to (only) read from it several times every time…

---

## [Truncating and re-saving a Mesh (in .stl format)](https://discourse.julialang.org/t/truncating-and-re-saving-a-mesh-in-stl-format/49860)

<div class="topic-metadata">

**Author:** [@Alan\_Bahm](https://discourse.julialang.org/u/Alan_Bahm)\
**Replies:** 2\
**Last updated:** [November 9, 2020, 9:03pm UTC](https://discourse.julialang.org/t/truncating-and-re-saving-a-mesh-in-stl-format/49860 "2020-11-09T21:03:00Z")

</div>

I would like to load a .stl file of triangular facets, remove most from the mesh and save as a new .stl file. using FileIO, MeshIO mesh = load("test.stl") using GeometryBasics new\_mesh = Mesh(mesh\[1:3\]) # grab first th…

---

## [UndefVarError: ncounter](https://discourse.julialang.org/t/undefvarerror-ncounter/49867)

<div class="topic-metadata">

**Author:** [@panditabupesh](https://discourse.julialang.org/u/panditabupesh)\
**Replies:** 1\
**Last updated:** [November 9, 2020, 9:01pm UTC](https://discourse.julialang.org/t/undefvarerror-ncounter/49867 "2020-11-09T21:01:46Z")

</div>

I am new to Julia. How do I fix this function? function count(word, ltr) ncounter = 0; for letter in word if letter == “a” global ncounter = ncounter + 1 end result = ncounter end return result end wcoun…

---

## [Call function without Keywordarguments with an empty NamedTuple](https://discourse.julialang.org/t/call-function-without-keywordarguments-with-an-empty-namedtuple/49653)

<div class="topic-metadata">

**Author:** [@oskar](https://discourse.julialang.org/u/oskar)\
**Replies:** 2\
**Last updated:** [November 9, 2020, 8:56pm UTC](https://discourse.julialang.org/t/call-function-without-keywordarguments-with-an-empty-namedtuple/49653 "2020-11-09T20:56:05Z")

</div>

Since it is possible to call functions with NamedTuples, I was wondering if there is a way to call a function that has no keywordarguments with an empty NamedTuple, and if not, why is it not desirable? I.e. function f(…

---

## [Integrating ODE system over gridded data](https://discourse.julialang.org/t/integrating-ode-system-over-gridded-data/49853)

<div class="topic-metadata">

**Author:** [@archermarx](https://discourse.julialang.org/u/archermarx)\
**Replies:** 1\
**Last updated:** [November 9, 2020, 8:32pm UTC](https://discourse.julialang.org/t/integrating-ode-system-over-gridded-data/49853 "2020-11-09T20:32:24Z")

</div>

Hi all, I’m trying to use the julia DifferentialEquations package to integrate an ODE system over gridded data. The system is something like the following: \\frac{dU\_1}{dx} = f(\\underline{U}, \\vec{\\underline{Y}}, \\under…

---

## [BitArray{3} mesh](https://discourse.julialang.org/t/bitarray-3-mesh/49697)

<div class="topic-metadata">

**Author:** [@dalarev](https://discourse.julialang.org/u/dalarev)\
**Replies:** 4\
**Last updated:** [November 9, 2020, 8:22pm UTC](https://discourse.julialang.org/t/bitarray-3-mesh/49697 "2020-11-09T20:22:06Z")

</div>

What is the recommended process to mesh a BitArray? The meshing method requires an isovalue. For a BitArray, an isovalue of 1, true or :true don’t seem to work: 0 faces are returned. Another method is to convert from B…

---

## [Calling a function with 2 arguments of type Float64 and a struct, via its dotted version](https://discourse.julialang.org/t/calling-a-function-with-2-arguments-of-type-float64-and-a-struct-via-its-dotted-version/49817)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 3\
**Last updated:** [November 9, 2020, 7:55pm UTC](https://discourse.julialang.org/t/calling-a-function-with-2-arguments-of-type-float64-and-a-struct-via-its-dotted-version/49817 "2020-11-09T19:55:50Z")

</div>

Hi there, I have defined a struct and a function (at the Julia REPL) like: using Parameters @with\_kw struct Cosmo\_model Omega\_m0::Float64 = 0.3 Omega::FLoat64\_Lambda0 =0.7 end function E\_Hubble(z::Float64, cosmo:…

---

## [Excel to Julia](https://discourse.julialang.org/t/excel-to-julia/49678)

<div class="topic-metadata">

**Author:** [@shashankchahar](https://discourse.julialang.org/u/shashankchahar)\
**Replies:** 6\
**Last updated:** [November 9, 2020, 6:45pm UTC](https://discourse.julialang.org/t/excel-to-julia/49678 "2020-11-09T18:45:24Z")

</div>

A bit of background - I am an actuary who is trying to learn Julia. In doing so, I am trying to move some of the models that I would usually make in Excel to Julia. I am stuck on one particular problem which Excel makes…

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

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