# Latest

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

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

**Page:** 1212

---

## [Why this dataframes.jl example uses a semicolon at the beginning?](https://discourse.julialang.org/t/why-this-dataframes-jl-example-uses-a-semicolon-at-the-beginning/71223)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 7\
**Last updated:** [November 10, 2021, 6:39pm UTC](https://discourse.julialang.org/t/why-this-dataframes-jl-example-uses-a-semicolon-at-the-beginning/71223 "2021-11-10T18:39:28Z")

</div>

I was reading some examples (from https://bkamins.github.io) about how to use DataFrames.jl to select, filter, combine… and I have a question. df = DataFrame( id = 1:4, name = \["Aaron Aardvark", "Belen Barboza", "E…

---

## [Software Engineering at Freeform Future - 3D Metal Printing Startup](https://discourse.julialang.org/t/software-engineering-at-freeform-future-3d-metal-printing-startup/71277)

<div class="topic-metadata">

**Author:** [@SamRodkey](https://discourse.julialang.org/u/SamRodkey)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 6:34pm UTC](https://discourse.julialang.org/t/software-engineering-at-freeform-future-3d-metal-printing-startup/71277 "2021-11-10T18:34:32Z")

</div>

Introduction: We’re looking for some experienced Software Engineers and Machine Learning Software Engineers for a variety of roles, and would love to find great folks with expertise in computer vision, heterogenous comp…

---

## [Custom sysimage for julia extension for vscode](https://discourse.julialang.org/t/custom-sysimage-for-julia-extension-for-vscode/38002)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 4\
**Last updated:** [November 10, 2021, 5:09pm UTC](https://discourse.julialang.org/t/custom-sysimage-for-julia-extension-for-vscode/38002 "2021-11-10T17:09:01Z")

</div>

I’m trying to get the custom sysimage feature to work. In the v0.12.0 beta relase notes (this is the only thing that comes up when I search for custom sysimage on the vscode extension topic) davidanthoff says: “Overall …

---

## [Apply some functions to columns of a dataframe](https://discourse.julialang.org/t/apply-some-functions-to-columns-of-a-dataframe/71216)

<div class="topic-metadata">

**Author:** [@corny85](https://discourse.julialang.org/u/corny85)\
**Replies:** 5\
**Last updated:** [November 10, 2021, 12:25pm UTC](https://discourse.julialang.org/t/apply-some-functions-to-columns-of-a-dataframe/71216 "2021-11-10T12:25:22Z")

</div>

Hello, I’m a beginner in Julia. Here is my problem; i have: a dataframe with 4 columns and 10 rows 3 functions u1, u2, u3 a vector of 3 weights And i want to create a function (arguments : the dataframe, the 3 funct…

---

## [Makie: categorical x variables](https://discourse.julialang.org/t/makie-categorical-x-variables/71263)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 4:43pm UTC](https://discourse.julialang.org/t/makie-categorical-x-variables/71263 "2021-11-10T16:43:28Z")

</div>

Hi, I recently moved from Plots to Makie and I am trying to make a box plot where each box aggregates data w.r.t. a real variable x. However the three categories are not evenly spaced. You can see a MWE here which prod…

---

## [Timedwait() doesn't time out](https://discourse.julialang.org/t/timedwait-doesnt-time-out/71182)

<div class="topic-metadata">

**Author:** [@kykim0](https://discourse.julialang.org/u/kykim0)\
**Replies:** 4\
**Last updated:** [November 10, 2021, 4:17pm UTC](https://discourse.julialang.org/t/timedwait-doesnt-time-out/71182 "2021-11-10T16:17:14Z")

</div>

I’m new to Julia’s multi-threading and frankly Julia itself. I’ve been reading up on the API docs and trying various things on REPL. In particular, I was playing with the timedwait() method which IIUC runs a given functi…

---

## [How to create executable file correctly?](https://discourse.julialang.org/t/how-to-create-executable-file-correctly/71175)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 1\
**Last updated:** [November 10, 2021, 4:02pm UTC](https://discourse.julialang.org/t/how-to-create-executable-file-correctly/71175 "2021-11-10T16:02:37Z")

</div>

I want to make executable file for a file called MyApp which is located in folder "../Create\_exe\_file/MyApp/src": I have created a project in “MyApp” folder using the below script: using Pkg Pkg.generate("../Creat…

---

## [Using of non exported functions of Base in package code](https://discourse.julialang.org/t/using-of-non-exported-functions-of-base-in-package-code/71225)

<div class="topic-metadata">

**Author:** [@f\_u](https://discourse.julialang.org/u/f_u)\
**Replies:** 7\
**Last updated:** [November 10, 2021, 2:37pm UTC](https://discourse.julialang.org/t/using-of-non-exported-functions-of-base-in-package-code/71225 "2021-11-10T14:37:06Z")

</div>

During the development of a package I needed some reflective informations of a Union datatype. I used the following formulation: Optional{T} = Union{Nothing, T} struct Address street::String town::String end str…

---

## [Understanding allocations in GeometryBasics.jl](https://discourse.julialang.org/t/understanding-allocations-in-geometrybasics-jl/71252)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 6\
**Last updated:** [November 10, 2021, 2:19pm UTC](https://discourse.julialang.org/t/understanding-allocations-in-geometrybasics-jl/71252 "2021-11-10T14:19:20Z")

</div>

I am currently using GeometryBasics.jl for a project. While optimizing the code, I noticed lots of memory allocations that hinders performance. Some of them I could figure it out but this one I cannot. Can somebody help …

---

## [\[Article\] Using Julia to compare evolutionary game theory to agent based modelling](https://discourse.julialang.org/t/article-using-julia-to-compare-evolutionary-game-theory-to-agent-based-modelling/59809)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 5\
**Last updated:** [November 10, 2021, 2:14pm UTC](https://discourse.julialang.org/t/article-using-julia-to-compare-evolutionary-game-theory-to-agent-based-modelling/59809 "2021-11-10T14:14:41Z")

</div>

Hello all, I recently completed an undergraduate research project with Warwick’s Data Science Society. I had an idea to compare simulation to analytic methods while writing an essay for one of my economics modules and I …

---

## [\`unsafe\_wrap\` on memory created by \`:jl\_malloc\`](https://discourse.julialang.org/t/unsafe-wrap-on-memory-created-by-jl-malloc/66826)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 5\
**Last updated:** [November 10, 2021, 1:31pm UTC](https://discourse.julialang.org/t/unsafe-wrap-on-memory-created-by-jl-malloc/66826 "2021-11-10T13:31:34Z")

</div>

I’m probably diving too deep trying to make things fast (again) but I was hoping there was a way to make this work. Sorry to bother, I’ve asked a lot of questions about memory management stuff recently. I have a C libra…

---

## [How to save and read a structure?](https://discourse.julialang.org/t/how-to-save-and-read-a-structure/71031)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 21\
**Last updated:** [November 10, 2021, 7:58am UTC](https://discourse.julialang.org/t/how-to-save-and-read-a-structure/71031 "2021-11-10T07:58:15Z")

</div>

I am trying to save my designed structure into a file. However, when I am trying to read it, its structure seems to be lost. Any idea how to maintain its structure and do it correctly? using FileIO, JLD mutable struct S…

---

## [DataFrames.jl data engineering performance compared with other softwares](https://discourse.julialang.org/t/dataframes-jl-data-engineering-performance-compared-with-other-softwares/71226)

<div class="topic-metadata">

**Author:** [@laut](https://discourse.julialang.org/u/laut)\
**Replies:** 6\
**Last updated:** [November 10, 2021, 7:26am UTC](https://discourse.julialang.org/t/dataframes-jl-data-engineering-performance-compared-with-other-softwares/71226 "2021-11-10T07:26:17Z")

</div>

Julia fares pretty well in these cross software comparisons https://h2oai.github.io/db-benchmark/

---

## [Convert 1-element Vector{Float64} in Float](https://discourse.julialang.org/t/convert-1-element-vector-float64-in-float/71242)

<div class="topic-metadata">

**Author:** [@Sbeltranj](https://discourse.julialang.org/u/Sbeltranj)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 7:01am UTC](https://discourse.julialang.org/t/convert-1-element-vector-float64-in-float/71242 "2021-11-10T07:01:29Z")

</div>

Hi I want to convert a vector of 1 element, to a Float64, how to do it

---

## [StatsBase Fit function](https://discourse.julialang.org/t/statsbase-fit-function/71234)

<div class="topic-metadata">

**Author:** [@valperez](https://discourse.julialang.org/u/valperez)\
**Replies:** 1\
**Last updated:** [November 10, 2021, 5:13am UTC](https://discourse.julialang.org/t/statsbase-fit-function/71234 "2021-11-10T05:13:20Z")

</div>

Hi there :slight\_smile: I’m trying to figure out how the fit function in StatsBase was programmed. I’m curious to see what method was used and how the tolerance is managed. I already looked in the documentation Abstract…

---

## [Update on renaming registered packages](https://discourse.julialang.org/t/update-on-renaming-registered-packages/71240)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 4:33am UTC](https://discourse.julialang.org/t/update-on-renaming-registered-packages/71240 "2021-11-10T04:33:47Z")

</div>

Hi, Quite a long time ago I posted a message on this forum asking whether it was possible to rename a registered package (Rename registered package). However, the responses (even in the linked discussions) where scarse. …

---

## [JuMP 0.22 is released](https://discourse.julialang.org/t/jump-0-22-is-released/71241)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 4:09am UTC](https://discourse.julialang.org/t/jump-0-22-is-released/71241 "2021-11-10T04:09:00Z")

</div>

Dear all, We’re happy to announce the release of JuMP v0.22 and MathOptInterface v0.10, which completes a major milestone on our path to JuMP v1.0. Indeed, similar to how Julia v1.0 was Julia v0.7 with deprecations rem…

---

## [Juno IDE in atom causing REPL to go with weird dots as follows](https://discourse.julialang.org/t/juno-ide-in-atom-causing-repl-to-go-with-weird-dots-as-follows/71120)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 3:08am UTC](https://discourse.julialang.org/t/juno-ide-in-atom-causing-repl-to-go-with-weird-dots-as-follows/71120 "2021-11-10T03:08:25Z")

</div>

Is anyone else facing this issue with Juno IDE In atom ? image as follows for the REPL In juno. This happens mostly after computer is left ‘suspended’ or on sleep mode and then resumed

---

## [DataFramesMeta questions](https://discourse.julialang.org/t/dataframesmeta-questions/69952)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 35\
**Last updated:** [November 10, 2021, 1:44am UTC](https://discourse.julialang.org/t/dataframesmeta-questions/69952 "2021-11-10T01:44:13Z")

</div>

Could groupby have a @ macro version, to avoid parenthesis? and the ability to define a column name within a groupby statement. Also, for a multi-line macro in a @chain block, followed by another macro - would it be p…

---

## [Split-Apply-Combine on many columns at once? Looking for equivalent to Stata's collapse](https://discourse.julialang.org/t/split-apply-combine-on-many-columns-at-once-looking-for-equivalent-to-statas-collapse/44649)

<div class="topic-metadata">

**Author:** [@clibassi](https://discourse.julialang.org/u/clibassi)\
**Replies:** 7\
**Last updated:** [November 9, 2021, 11:52pm UTC](https://discourse.julialang.org/t/split-apply-combine-on-many-columns-at-once-looking-for-equivalent-to-statas-collapse/44649 "2021-11-09T23:52:30Z")

</div>

Hi all, I’ve got a dataset with multiple rows per individual that I would like to collapse to one row per individual, but I want to retain a variety of information for each individual (e.g. their sex, race, etc.) that a…

---

## [Why is advection\_shared! much faster than advection\_parallel!?](https://discourse.julialang.org/t/why-is-advection-shared-much-faster-than-advection-parallel/71231)

<div class="topic-metadata">

**Author:** [@DerongXu](https://discourse.julialang.org/u/DerongXu)\
**Replies:** 0\
**Last updated:** [November 9, 2021, 11:10pm UTC](https://discourse.julialang.org/t/why-is-advection-shared-much-faster-than-advection-parallel/71231 "2021-11-09T23:10:50Z")

</div>

Hi all, I am learning the parallel computing in Julia through the manual Multi-processing and Distributed Computing · The Julia Language In this page, why is advection\_shared! much faster than advection\_parallel! ? Bot…

---

## [Package Manager Errors - dev package dependencies](https://discourse.julialang.org/t/package-manager-errors-dev-package-dependencies/71227)

<div class="topic-metadata">

**Author:** [@dkzwart](https://discourse.julialang.org/u/dkzwart)\
**Replies:** 0\
**Last updated:** [November 9, 2021, 10:31pm UTC](https://discourse.julialang.org/t/package-manager-errors-dev-package-dependencies/71227 "2021-11-09T22:31:28Z")

</div>

I have been developing a few packages all in the dev directory. Some are dependent on others. PkgA has Pkg C in it’s dependencies. PkgC has PkgB in it’s dependencies. Currently to precompile PkgA, I need to do the follow…

---

## [Plots.jl equivalent to Matlab's "axis padded"?](https://discourse.julialang.org/t/plots-jl-equivalent-to-matlabs-axis-padded/71219)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 3\
**Last updated:** [November 9, 2021, 8:11pm UTC](https://discourse.julialang.org/t/plots-jl-equivalent-to-matlabs-axis-padded/71219 "2021-11-09T20:11:51Z")

</div>

Would anyone happen to have it, hopefully a one liner? What I want is that no plotted data is touching an edge and I want it done automatically, without having to think about it. I am using Plots.jl Kind regards

---

## [Issue with Plots & LaTeX](https://discourse.julialang.org/t/issue-with-plots-latex/71045)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 16\
**Last updated:** [November 9, 2021, 9:14pm UTC](https://discourse.julialang.org/t/issue-with-plots-latex/71045 "2021-11-09T21:14:23Z")

</div>

In the following code, the $ signs around the LaTeX text are printed. Quite sure that’s not the right behavior: using LaTeXStrings using Plots bar(rand(5)) title!(L"Testing LaTEX: $\\sigma=1.2$") Note that removing t…

---

## [LoadError: IOError: mkdir("./../output"; mode=0o777): permission denied (EACCES)](https://discourse.julialang.org/t/loaderror-ioerror-mkdir-output-mode-0o777-permission-denied-eacces/71222)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 4\
**Last updated:** [November 9, 2021, 8:28pm UTC](https://discourse.julialang.org/t/loaderror-ioerror-mkdir-output-mode-0o777-permission-denied-eacces/71222 "2021-11-09T20:28:53Z")

</div>

I was using JLD2 package to save my data properly as below: save("path/to/file.jld2", "N", N) now I started to have this error: ERROR: LoadError: IOError: mkdir("./../output"; mode=0o777): permission denied (EACCES) S…

---

## ["dev" version of docs not published](https://discourse.julialang.org/t/dev-version-of-docs-not-published/71218)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 3\
**Last updated:** [November 9, 2021, 8:05pm UTC](https://discourse.julialang.org/t/dev-version-of-docs-not-published/71218 "2021-11-09T20:05:58Z")

</div>

For some reason the dev version of the docs of one of my packages is not being published (Overview · CellListMap.jl) Some other packages do publish dev versions, and I have copied the ci.yml files from one to the other.…

---

## [VideoIO.jl - Way to directly record the dekstop?](https://discourse.julialang.org/t/videoio-jl-way-to-directly-record-the-dekstop/71221)

<div class="topic-metadata">

**Author:** [@Pytrator](https://discourse.julialang.org/u/Pytrator)\
**Replies:** 0\
**Last updated:** [November 9, 2021, 8:05pm UTC](https://discourse.julialang.org/t/videoio-jl-way-to-directly-record-the-dekstop/71221 "2021-11-09T20:05:03Z")

</div>

Hey there, i successfully tried to use the package with OBS-Studio by creating a virtual camera with it, that points to the desktop. It works great but in the package I build, I don’t want to depend on OBS-Studio. Is t…

---

## [Nvidia GTC - physics based neural networks](https://discourse.julialang.org/t/nvidia-gtc-physics-based-neural-networks/71189)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 1\
**Last updated:** [November 9, 2021, 7:48pm UTC](https://discourse.julialang.org/t/nvidia-gtc-physics-based-neural-networks/71189 "2021-11-09T19:48:47Z")

</div>

Jenson is live with the Nvidia GTC Keynote right now. He is discussing how great physics based machine learning models are. Sounds familiar to Julians! I don’t think any direct mention of Julia though.

---

## [How to generate/create a new file in the same folder of a function?](https://discourse.julialang.org/t/how-to-generate-create-a-new-file-in-the-same-folder-of-a-function/71217)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 7:41pm UTC](https://discourse.julialang.org/t/how-to-generate-create-a-new-file-in-the-same-folder-of-a-function/71217 "2021-11-09T19:41:26Z")

</div>

I know that the below code will create record.txt it in the default directory of julia. io = open("record.txt", "w") close(io) However, I have a function called Myfile (in which I will share it with others). So, I need…

---

## [Please make url's with all extensions get hyper linked](https://discourse.julialang.org/t/please-make-urls-with-all-extensions-get-hyper-linked/71208)

<div class="topic-metadata">

**Author:** [@mindaslab](https://discourse.julialang.org/u/mindaslab)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 7:34pm UTC](https://discourse.julialang.org/t/please-make-urls-with-all-extensions-get-hyper-linked/71208 "2021-11-09T19:34:13Z")

</div>

Hello all, in this comment Parallel computing on M1 Max? - #4 by mindaslab , I thought discourse broke as frame.work is not hyperlinked. I raised an issue in discourse forum here Frame.work url doesn't get hyperlinked - …

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

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