# Latest

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

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

**Page:** 1556

---

## [How to apply Transfer Learning with Flux](https://discourse.julialang.org/t/how-to-apply-transfer-learning-with-flux/51250)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 6\
**Last updated:** [December 4, 2020, 10:49pm UTC](https://discourse.julialang.org/t/how-to-apply-transfer-learning-with-flux/51250 "2020-12-04T22:49:51Z")

</div>

I have a trained neural network, which is already giving good results, and I’d like to use the parameters previously obtained for the model as the starting parameters to train the ANN on a new task (basically, it’s a tra…

---

## [Problems with Ipopt in Big Sur](https://discourse.julialang.org/t/problems-with-ipopt-in-big-sur/51255)

<div class="topic-metadata">

**Author:** [@mreguant](https://discourse.julialang.org/u/mreguant)\
**Replies:** 8\
**Last updated:** [December 4, 2020, 9:57pm UTC](https://discourse.julialang.org/t/problems-with-ipopt-in-big-sur/51255 "2020-12-04T21:57:23Z")

</div>

Hello, I am using JuMP and Ipopt. It was all working but it failed after my Mac upgrade to Big Sur. I cannot even get the basic examples to work. The code runs, but the solver fails to find a solution due to numerical is…

---

## [A Unicode keyboard?](https://discourse.julialang.org/t/a-unicode-keyboard/51252)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 6\
**Last updated:** [December 4, 2020, 5:35pm UTC](https://discourse.julialang.org/t/a-unicode-keyboard/51252 "2020-12-04T17:35:12Z")

</div>

Many years ago I used Latex extensively and so had the ‘muscle memory’ for \\ character sequences. I am using Julia this afternoon and I can see how the muscle memory for \\ pm TAB and characters like this can be attained…

---

## [Better debugging](https://discourse.julialang.org/t/better-debugging/51278)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 0\
**Last updated:** [December 4, 2020, 9:43pm UTC](https://discourse.julialang.org/t/better-debugging/51278 "2020-12-04T21:43:11Z")

</div>

When I’m debugging, I frequently write @exfiltrate; asdf to immediately escape whatever (nested) function I’m in, but take all the variables with me. However seeing the red text saying Error is kind of annoying because i…

---

## [PlutoUI slider value is forced to zero when it is printed in the same MD string with slider](https://discourse.julialang.org/t/plutoui-slider-value-is-forced-to-zero-when-it-is-printed-in-the-same-md-string-with-slider/51261)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 8:35pm UTC](https://discourse.julialang.org/t/plutoui-slider-value-is-forced-to-zero-when-it-is-printed-in-the-same-md-string-with-slider/51261 "2020-12-04T20:35:42Z")

</div>

I want to embed a widget and its value in a same markdown string. When the slider position is changed, the value jumps ahead but it is replaced with zero immediately. Is there a better way to accomplish this? It seems th…

---

## [\[RFC\] GenderInference.jl](https://discourse.julialang.org/t/rfc-genderinference-jl/22294)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 42\
**Last updated:** [July 22, 2020, 8:51pm UTC](https://discourse.julialang.org/t/rfc-genderinference-jl/22294 "2020-07-22T20:51:20Z")

</div>

I made a little package, GenderInference.jl, that’ similar to Gender in R and SexMachine in python. Basically, you give a first name, and it guesses the gender: julia\> using GenderInference julia\> gender("Kevin") :male…

---

## [How to display the MKL version used in MKL.jl](https://discourse.julialang.org/t/how-to-display-the-mkl-version-used-in-mkl-jl/51137)

<div class="topic-metadata">

**Author:** [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 6:39pm UTC](https://discourse.julialang.org/t/how-to-display-the-mkl-version-used-in-mkl-jl/51137 "2020-12-04T18:39:12Z")

</div>

After adding and building MKL.jl, how can I find out which version number of MKL is used? And 32-bit vs. 64-bit information? Thanks!!

---

## [I'm here because there are some benchmarks I want to make use of that are written in Julia](https://discourse.julialang.org/t/im-here-because-there-are-some-benchmarks-i-want-to-make-use-of-that-are-written-in-julia/51157)

<div class="topic-metadata">

**Author:** [@Brian\_Becsi](https://discourse.julialang.org/u/Brian_Becsi)\
**Replies:** 8\
**Last updated:** [December 4, 2020, 6:00pm UTC](https://discourse.julialang.org/t/im-here-because-there-are-some-benchmarks-i-want-to-make-use-of-that-are-written-in-julia/51157 "2020-12-04T18:00:30Z")

</div>

Hello! I’m brand new to Julia, and I’m an extremely inexperienced coder overall. I am working on an undergraduate research project and it includes some coding that we used Python for, nothing too fancy just a few scipy,…

---

## [Version of \`push!(::Set,v)\` which returns whether \`v\` was already present](https://discourse.julialang.org/t/version-of-push-set-v-which-returns-whether-v-was-already-present/51239)

<div class="topic-metadata">

**Author:** [@ettersi](https://discourse.julialang.org/u/ettersi)\
**Replies:** 5\
**Last updated:** [December 4, 2020, 5:01pm UTC](https://discourse.julialang.org/t/version-of-push-set-v-which-returns-whether-v-was-already-present/51239 "2020-12-04T17:01:53Z")

</div>

Is there a function which allows me to insert an entry into a set and returns whether the entry was already present? I.e. something like function insert!(s::Set, v) r = v in s push!(s,v) return r end

---

## [Select dataframe row by condition of type UnitRange](https://discourse.julialang.org/t/select-dataframe-row-by-condition-of-type-unitrange/51259)

<div class="topic-metadata">

**Author:** [@Bjorn\_De](https://discourse.julialang.org/u/Bjorn_De)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 4:37pm UTC](https://discourse.julialang.org/t/select-dataframe-row-by-condition-of-type-unitrange/51259 "2020-12-04T16:37:10Z")

</div>

Hi! I have a DataFrame and want to select a row by applying e.g. @where from DataFramesMeta package: 5×5 DataFrame Row │ RowRange ColRange SDV fracNA thresh │ UnitRange UnitRange Float32 Floa…

---

## [Environment not working properly in julia](https://discourse.julialang.org/t/environment-not-working-properly-in-julia/51201)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 6\
**Last updated:** [December 4, 2020, 3:40pm UTC](https://discourse.julialang.org/t/environment-not-working-properly-in-julia/51201 "2020-12-04T15:40:46Z")

</div>

I made seprate environment then I add Plots library but when i activate in jupyter notebook it not working

---

## [Load functions from files dynamically without including them in global scope](https://discourse.julialang.org/t/load-functions-from-files-dynamically-without-including-them-in-global-scope/51248)

<div class="topic-metadata">

**Author:** [@akhil\_teja](https://discourse.julialang.org/u/akhil_teja)\
**Replies:** 1\
**Last updated:** [December 4, 2020, 12:47pm UTC](https://discourse.julialang.org/t/load-functions-from-files-dynamically-without-including-them-in-global-scope/51248 "2020-12-04T12:47:23Z")

</div>

I want to dynamically include functions from files based on condition. Below code gives you an Idea. File1.jl function foo() println("In File1.jl") end File2.jl function foo() println("In File2.jl") end Mai…

---

## [Creating deconvolution layers in Flux compared to PyTorch](https://discourse.julialang.org/t/creating-deconvolution-layers-in-flux-compared-to-pytorch/51186)

<div class="topic-metadata">

**Author:** [@kadir-gunel](https://discourse.julialang.org/u/kadir-gunel)\
**Replies:** 3\
**Last updated:** [December 4, 2020, 11:44am UTC](https://discourse.julialang.org/t/creating-deconvolution-layers-in-flux-compared-to-pytorch/51186 "2020-12-04T11:44:13Z")

</div>

Hello, Trying to port a written model from pytorch to flux. And I encounter some differences between the two libraries as expected. And wonder how to imitate the original one. While creating deconvolution layers in Pyt…

---

## [File error in OCReract writing to temp folder](https://discourse.julialang.org/t/file-error-in-ocreract-writing-to-temp-folder/51243)

<div class="topic-metadata">

**Author:** [@mister19stick](https://discourse.julialang.org/u/mister19stick)\
**Replies:** 0\
**Last updated:** [December 4, 2020, 10:38am UTC](https://discourse.julialang.org/t/file-error-in-ocreract-writing-to-temp-folder/51243 "2020-12-04T10:38:54Z")

</div>

I’m very new to Julia. Trying to read text from an image. Using OCReract, tried the suggested code. begin using Images using ImageMagick using OCReract img\_path = "Q:\\\\Julia\\\\20.jpg"; #small jpg with just the text "20…

---

## [Julia on a cluster with several linux distributions](https://discourse.julialang.org/t/julia-on-a-cluster-with-several-linux-distributions/51189)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 11\
**Last updated:** [December 4, 2020, 9:56am UTC](https://discourse.julialang.org/t/julia-on-a-cluster-with-several-linux-distributions/51189 "2020-12-04T09:56:07Z")

</div>

I have access to a linux cluster of login/compute nodes with 3 linux distributions (Ubuntu Xenial, Ubuntu Bionic, and Centos7), but all with a common /home directory. So far I have deliberately stuck to one of them as I …

---

## [Scope of expressions returned from @generated functions](https://discourse.julialang.org/t/scope-of-expressions-returned-from-generated-functions/51241)

<div class="topic-metadata">

**Author:** [@dafred](https://discourse.julialang.org/u/dafred)\
**Replies:** 0\
**Last updated:** [December 4, 2020, 9:42am UTC](https://discourse.julialang.org/t/scope-of-expressions-returned-from-generated-functions/51241 "2020-12-04T09:42:17Z")

</div>

So I want to create models that have a similar calculation graph but differ in small aspects. Each model is represented as a struct with matching dispatches for function calc. To demonstrate what I have so far, I creat…

---

## [What is the idiomatic way write model in Turing](https://discourse.julialang.org/t/what-is-the-idiomatic-way-write-model-in-turing/51175)

<div class="topic-metadata">

**Author:** [@yusri-dh](https://discourse.julialang.org/u/yusri-dh)\
**Replies:** 8\
**Last updated:** [December 4, 2020, 9:09am UTC](https://discourse.julialang.org/t/what-is-the-idiomatic-way-write-model-in-turing/51175 "2020-12-04T09:09:12Z")

</div>

What is the idiomatic way to write model in Turing. For example in Turing documentation for binary coinflip: using Turing using Distributions using Random p\_true = 0.5 n = 1000 Random.seed!(12) data = rand(Bernoulli(p\_…

---

## [GroupedDataFrame combine unique non-key values](https://discourse.julialang.org/t/groupeddataframe-combine-unique-non-key-values/51232)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 6:30am UTC](https://discourse.julialang.org/t/groupeddataframe-combine-unique-non-key-values/51232 "2020-12-04T06:30:58Z")

</div>

I have the following dataframe and I need to concatenate all unique values of :c check = DataFrame(a=\[1,2,2\],b=\["a","b","b"\],c=\[0,1,0\]) check2 = check |\> @groupby(\[:a,:b\]) |\> @combine(vcat=\>:c=\>:ccat) @test check2 == D…

---

## [Correct way to plot in Juno pane](https://discourse.julialang.org/t/correct-way-to-plot-in-juno-pane/51171)

<div class="topic-metadata">

**Author:** [@skeptic\_moderate](https://discourse.julialang.org/u/skeptic_moderate)\
**Replies:** 4\
**Last updated:** [December 4, 2020, 4:32am UTC](https://discourse.julialang.org/t/correct-way-to-plot-in-juno-pane/51171 "2020-12-04T04:32:10Z")

</div>

I can’t get the plot pane to work in Juno/Atom. gr(); plot(...) just opens a separate window. I came across a topic which said you have to use plotlyjs, so I installed it, but when I run plotlyjs() I get the following er…

---

## [Function Definition only if type is defined](https://discourse.julialang.org/t/function-definition-only-if-type-is-defined/51234)

<div class="topic-metadata">

**Author:** [@Paul\_McVay](https://discourse.julialang.org/u/Paul_McVay)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 3:43am UTC](https://discourse.julialang.org/t/function-definition-only-if-type-is-defined/51234 "2020-12-04T03:43:08Z")

</div>

I have a file of utilities functions I use a lot. I just include the file whenever I need those functions. In particular, I have functions defined for several different types. One of the types is defined in a separate pa…

---

## [Contour.jl: extract the indices of the contour](https://discourse.julialang.org/t/contour-jl-extract-the-indices-of-the-contour/51229)

<div class="topic-metadata">

**Author:** [@ash](https://discourse.julialang.org/u/ash)\
**Replies:** 1\
**Last updated:** [December 4, 2020, 3:31am UTC](https://discourse.julialang.org/t/contour-jl-extract-the-indices-of-the-contour/51229 "2020-12-04T03:31:24Z")

</div>

I am using contour.jl to plot extract contours from interpolated data. Let’s take the sample code from the documentation for cl in levels(contours(x,y,z)) lvl = level(cl) # the z-value of this contour level for …

---

## [\[ANN\] Gaston v1.0.0 -- Plotting using gnuplot](https://discourse.julialang.org/t/ann-gaston-v1-0-0-plotting-using-gnuplot/40958)

<div class="topic-metadata">

**Author:** [@mbaz](https://discourse.julialang.org/u/mbaz)\
**Replies:** 52\
**Last updated:** [December 4, 2020, 2:45am UTC](https://discourse.julialang.org/t/ann-gaston-v1-0-0-plotting-using-gnuplot/40958 "2020-12-04T02:45:18Z")

</div>

I’m happy to announce version 1.0.0 of Gaston, a julia front-end for gnuplot. More than eight years in the making, for the first time I’m happy enough with Gaston’s API and robustness to make the jump to version 1.0. T…

---

## [Disabling LaTeX generation in Documenter Markdown](https://discourse.julialang.org/t/disabling-latex-generation-in-documenter-markdown/51167)

<div class="topic-metadata">

**Author:** [@EP-Guy](https://discourse.julialang.org/u/EP-Guy)\
**Replies:** 2\
**Last updated:** [December 4, 2020, 2:34am UTC](https://discourse.julialang.org/t/disabling-latex-generation-in-documenter-markdown/51167 "2020-12-04T02:34:31Z")

</div>

Documenter.jl is being used with the Markdown backend to process docstrings into .md files. Usually the next step would be to use MkDocs or something similar to turn them into .html files. Unfortunately, the system where…

---

## [What is faster? Modular Arithmetic functions and operations](https://discourse.julialang.org/t/what-is-faster-modular-arithmetic-functions-and-operations/51211)

<div class="topic-metadata">

**Author:** [@Renan\_Rabelo](https://discourse.julialang.org/u/Renan_Rabelo)\
**Replies:** 20\
**Last updated:** [December 4, 2020, 1:08am UTC](https://discourse.julialang.org/t/what-is-faster-modular-arithmetic-functions-and-operations/51211 "2020-12-04T01:08:25Z")

</div>

I need to calculate the remainder of a 50000 digits BigInt divided by a 49999 digits BigInt What’s the fastest way to do it? mod()? mod1()? x%y? rem()? Is there any package to do it? Thanks!

---

## [Dataframe to nested tuple?](https://discourse.julialang.org/t/dataframe-to-nested-tuple/51182)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 6\
**Last updated:** [December 3, 2020, 11:29pm UTC](https://discourse.julialang.org/t/dataframe-to-nested-tuple/51182 "2020-12-03T23:29:13Z")

</div>

Id like to transform this: DataFrame( GroupLetter = \['A','A','B','B'\] , GroupID = \[1,1,2,2\], Col1 = \[1,2,3,4\], Col2 = \[5,6,7,8\] ) | GroupLetter │ GroupID │ Col1 │ Col2 │ │ 'A' │ 1 │ 1 │ 5 │ │…

---

## [How to add rows in a DataFrame](https://discourse.julialang.org/t/how-to-add-rows-in-a-dataframe/51221)

<div class="topic-metadata">

**Author:** [@Smith](https://discourse.julialang.org/u/Smith)\
**Replies:** 5\
**Last updated:** [December 3, 2020, 11:25pm UTC](https://discourse.julialang.org/t/how-to-add-rows-in-a-dataframe/51221 "2020-12-03T23:25:07Z")

</div>

In a dataframe, how do we add rows containing numeric data where a column containing the NAME is same? df1 = DataFrame(NAME = \["PP","PC","PP","AB","AF","AF"\], VALUE =\[100,200,300,400,500,100\], INCOME = \[23,56,100,90,900…

---

## [Getting Julia REPL working in Windows git/bash](https://discourse.julialang.org/t/getting-julia-repl-working-in-windows-git-bash/50715)

<div class="topic-metadata">

**Author:** [@heetbeet](https://discourse.julialang.org/u/heetbeet)\
**Replies:** 15\
**Last updated:** [December 3, 2020, 10:58pm UTC](https://discourse.julialang.org/t/getting-julia-repl-working-in-windows-git-bash/50715 "2020-12-03T22:58:55Z")

</div>

I know one of the common Julia workflows in Windows is to run Julia through MinGW’s bash (popularly available with git): I’m working on a Windows distribution of Julia GitHub - heetbeet/juliawin: A portable Julia for W…

---

## [Behavior of map function](https://discourse.julialang.org/t/behavior-of-map-function/51205)

<div class="topic-metadata">

**Author:** [@Ayush\_Rawat](https://discourse.julialang.org/u/Ayush_Rawat)\
**Replies:** 5\
**Last updated:** [December 3, 2020, 9:50pm UTC](https://discourse.julialang.org/t/behavior-of-map-function/51205 "2020-12-03T21:50:13Z")

</div>

I’ve been messing around with map and count for golfing purposes, and recently noticed this. julia\> map(i-\>print(i),\[1,2,3,4\]) 12344-element Array{Nothing,1}: nothing nothing nothing nothing julia\> print(map(i-\>print(i…

---

## [Indexing in dataframes](https://discourse.julialang.org/t/indexing-in-dataframes/51216)

<div class="topic-metadata">

**Author:** [@JohnZ](https://discourse.julialang.org/u/JohnZ)\
**Replies:** 5\
**Last updated:** [December 3, 2020, 8:33pm UTC](https://discourse.julialang.org/t/indexing-in-dataframes/51216 "2020-12-03T20:33:57Z")

</div>

Hi, This should be straightforward dataframes question, but I have not been able to get my head around it. I have two dataframes: 1. Describes the relationship between different quantities based on ID and 2. Contains so…

---

## [Can't use minimum() on constraint -MethodError: no method matching isless(...)](https://discourse.julialang.org/t/cant-use-minimum-on-constraint-methoderror-no-method-matching-isless/51219)

<div class="topic-metadata">

**Author:** [@valenmgama](https://discourse.julialang.org/u/valenmgama)\
**Replies:** 1\
**Last updated:** [December 3, 2020, 8:03pm UTC](https://discourse.julialang.org/t/cant-use-minimum-on-constraint-methoderror-no-method-matching-isless/51219 "2020-12-03T20:03:22Z")

</div>

I am trying to use minimum on a Julia Contraint but I get the following Method Error. I am 100% using the minimum() function is what causes the trouble. Any ideas on a work around? LoadError: MethodError: no method matc…

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

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