# Latest

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

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

**Page:** 1676

---

## [PDF Parser and Reading API](https://discourse.julialang.org/t/pdf-parser-and-reading-api/4797)

<div class="topic-metadata">

**Author:** [@sambitdash](https://discourse.julialang.org/u/sambitdash)\
**Replies:** 42\
**Last updated:** [July 30, 2020, 4:35am UTC](https://discourse.julialang.org/t/pdf-parser-and-reading-api/4797 "2020-07-30T04:35:54Z")

</div>

Hi All, I am developing a PDF Library for doing some simple tasks like extracting texts and PDF file contents and attributes. The library is written in pure Julia (save some dependencies on some filter libraries). I am …

---

## [How to migrate old julia code that called a function with a range](https://discourse.julialang.org/t/how-to-migrate-old-julia-code-that-called-a-function-with-a-range/43944)

<div class="topic-metadata">

**Author:** [@Peeter\_Joot](https://discourse.julialang.org/u/Peeter_Joot)\
**Replies:** 3\
**Last updated:** [July 30, 2020, 3:40am UTC](https://discourse.julialang.org/t/how-to-migrate-old-julia-code-that-called-a-function-with-a-range/43944 "2020-07-30T03:40:41Z")

</div>

I’d used some really old versions of julia circa 2015, and recently installed 1.4.2 to play around with the current version. I used to be able to compute arrays of function call values (at least for some types of functi…

---

## [UndefVarError: linspace not defined](https://discourse.julialang.org/t/undefvarerror-linspace-not-defined/13269)

<div class="topic-metadata">

**Author:** [@caishen29](https://discourse.julialang.org/u/caishen29)\
**Replies:** 40\
**Last updated:** [July 30, 2020, 3:40am UTC](https://discourse.julialang.org/t/undefvarerror-linspace-not-defined/13269 "2020-07-30T03:40:09Z")

</div>

New to julia 1.0, I am running some examples and got the following errors, do you have any ideas how to solve this? Thanks. ‘’’ julia\> linspace(0,2\*pi,10) ERROR: UndefVarError: linspace not defined Stacktrace: \[1\] …

---

## [Logscale for Y-axes works for gr() but not for pyplot()](https://discourse.julialang.org/t/logscale-for-y-axes-works-for-gr-but-not-for-pyplot/43945)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 0\
**Last updated:** [July 30, 2020, 3:34am UTC](https://discourse.julialang.org/t/logscale-for-y-axes-works-for-gr-but-not-for-pyplot/43945 "2020-07-30T03:34:02Z")

</div>

Here is the code for gr() using Plots gr() function getLogTicks(vector,count=1) function poststr(expnum) n = Int64(expnum) ÷ 3 if n == 0 return "" elseif n == 1 retu…

---

## [Changing values and type of JuliaDB column](https://discourse.julialang.org/t/changing-values-and-type-of-juliadb-column/43921)

<div class="topic-metadata">

**Author:** [@john\_b](https://discourse.julialang.org/u/john_b)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 8:46pm UTC](https://discourse.julialang.org/t/changing-values-and-type-of-juliadb-column/43921 "2020-07-29T20:46:06Z")

</div>

As a newcomer to Julia and JuliaDB, I have a simple question. Given a JuliaDB table, how would I map a function to a column that changes the column values and type? For example: import JuliaDB import Dates function col…

---

## [Unable to delete constraints stored in dictionaries using JuMP@.constraint macro](https://discourse.julialang.org/t/unable-to-delete-constraints-stored-in-dictionaries-using-jump-constraint-macro/43920)

<div class="topic-metadata">

**Author:** [@srajan76](https://discourse.julialang.org/u/srajan76)\
**Replies:** 6\
**Last updated:** [July 30, 2020, 1:15am UTC](https://discourse.julialang.org/t/unable-to-delete-constraints-stored-in-dictionaries-using-jump-constraint-macro/43920 "2020-07-30T01:15:18Z")

</div>

I am unable to delete the constraints which is created and stored in a dictionary using the JuMP.@constraint macro. the constraints are added in the form for i in array d\[i\] = JuMP.@constraint(model, variable\[i\] == co…

---

## [Cleaning information to solve multiple instances of a JuMP model](https://discourse.julialang.org/t/cleaning-information-to-solve-multiple-instances-of-a-jump-model/43930)

<div class="topic-metadata">

**Author:** [@afazevedo](https://discourse.julialang.org/u/afazevedo)\
**Replies:** 3\
**Last updated:** [July 30, 2020, 1:02am UTC](https://discourse.julialang.org/t/cleaning-information-to-solve-multiple-instances-of-a-jump-model/43930 "2020-07-30T01:02:15Z")

</div>

Hi all. I created an extensive program using JuMP library, to solve a specific model. To solve instances, I did make a routine to run for each instance all at once, using a loop and include to run. But I notice that it …

---

## [Error Read File after package update](https://discourse.julialang.org/t/error-read-file-after-package-update/33861)

<div class="topic-metadata">

**Author:** [@alequa](https://discourse.julialang.org/u/alequa)\
**Replies:** 6\
**Last updated:** [July 30, 2020, 12:16am UTC](https://discourse.julialang.org/t/error-read-file-after-package-update/33861 "2020-07-30T00:16:09Z")

</div>

Hi, after Pkg.update() in Julia v1.3.1 I had issues during recompiling of whichever package, for example: Precompiling Plots \[91a5bcdd-55d7-5caf-9e0b-520d859cae80\] ERROR: LoadError: EOFError: read end of file Stack…

---

## [Can't install juno in Atom](https://discourse.julialang.org/t/cant-install-juno-in-atom/43842)

<div class="topic-metadata">

**Author:** [@Pops\_FPSB](https://discourse.julialang.org/u/Pops_FPSB)\
**Replies:** 6\
**Last updated:** [July 29, 2020, 11:01pm UTC](https://discourse.julialang.org/t/cant-install-juno-in-atom/43842 "2020-07-29T23:01:35Z")

</div>

I’ve tried installing Juno in atom but it always fails when installing ink. I have tried installing it separately and using apm install ink, but it gave me the following error log : 0 info it worked if it ends with ok 1…

---

## [Private repos and private registry on Azure DevOps](https://discourse.julialang.org/t/private-repos-and-private-registry-on-azure-devops/43741)

<div class="topic-metadata">

**Author:** [@anon67531922](https://discourse.julialang.org/u/anon67531922)\
**Replies:** 8\
**Last updated:** [July 29, 2020, 10:20pm UTC](https://discourse.julialang.org/t/private-repos-and-private-registry-on-azure-devops/43741 "2020-07-29T22:20:27Z")

</div>

Hi, I’m interested in setting up a private registry on Azure DevOps. I already have several private package there. As a start, I tried to simply pkg\> add https://MyOrg@dev.azure.com/MyOrg/MyProject/\_git/MyPackage.jl “p…

---

## [\[ANN\] AlgebraOfGraphics.jl: data visualizations powered by Makie](https://discourse.julialang.org/t/ann-algebraofgraphics-jl-data-visualizations-powered-by-makie/43631)

<div class="topic-metadata">

**Author:** [@piever](https://discourse.julialang.org/u/piever)\
**Replies:** 4\
**Last updated:** [July 29, 2020, 9:52pm UTC](https://discourse.julialang.org/t/ann-algebraofgraphics-jl-data-visualizations-powered-by-makie/43631 "2020-07-29T21:52:50Z")

</div>

I’m happy to announce AlgebraOfGraphics.jl, a visualization package built on top of Makie (and the powerful layout engine MakieLayout). This is the next iteration of StatsMakie.jl, which will be eventually deprecated. A…

---

## [Parallel Solves in Gurobi.jl](https://discourse.julialang.org/t/parallel-solves-in-gurobi-jl/9908)

<div class="topic-metadata">

**Author:** [@vtjeng](https://discourse.julialang.org/u/vtjeng)\
**Replies:** 7\
**Last updated:** [July 29, 2020, 9:26pm UTC](https://discourse.julialang.org/t/parallel-solves-in-gurobi-jl/9908 "2020-07-29T21:26:47Z")

</div>

I have a JuMP (mixed-integer) model where I’m trying to determine the upper and lower bounds on many variables. Each individual solve is very quick, but since I have many variables (~1,000), the overall solve time is slo…

---

## [Great resource for understanding ML concepts](https://discourse.julialang.org/t/great-resource-for-understanding-ml-concepts/43913)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 7:55pm UTC](https://discourse.julialang.org/t/great-resource-for-understanding-ml-concepts/43913 "2020-07-29T19:55:12Z")

</div>

I just stumbled upon this amazing site: There are only a couple dozen articles right now but I just read the one on Gaussian Processes and found it to be really amazing. Hope this helps someone out there …

---

## [Beginner Question: How to use JuMP model variables in different functions](https://discourse.julialang.org/t/beginner-question-how-to-use-jump-model-variables-in-different-functions/43909)

<div class="topic-metadata">

**Author:** [@GerhardTotschnig](https://discourse.julialang.org/u/GerhardTotschnig)\
**Replies:** 2\
**Last updated:** [July 29, 2020, 7:38pm UTC](https://discourse.julialang.org/t/beginner-question-how-to-use-jump-model-variables-in-different-functions/43909 "2020-07-29T19:38:45Z")

</div>

I want to create a JUMP energy system model, where different features can be added or not. So my idea was to use different functions which can be called if needed for adding new equations to the model. Cannot figure out…

---

## [How to save editor/pane layout in VSCode](https://discourse.julialang.org/t/how-to-save-editor-pane-layout-in-vscode/43908)

<div class="topic-metadata">

**Author:** [@stochastic\_guy](https://discourse.julialang.org/u/stochastic_guy)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 7:29pm UTC](https://discourse.julialang.org/t/how-to-save-editor-pane-layout-in-vscode/43908 "2020-07-29T19:29:59Z")

</div>

How to get a consistent feel for the VSCode environment like RStudio? i.e whenever REPL is called, it will only pop up as a bottom pane. and When plot pane is called it will always pop up in the top right corner. Help w…

---

## [@enum persistence in Pluto.jl](https://discourse.julialang.org/t/enum-persistence-in-pluto-jl/43703)

<div class="topic-metadata">

**Author:** [@perseid28](https://discourse.julialang.org/u/perseid28)\
**Replies:** 9\
**Last updated:** [July 29, 2020, 6:59pm UTC](https://discourse.julialang.org/t/enum-persistence-in-pluto-jl/43703 "2020-07-29T18:59:18Z")

</div>

When using a Pluto notebook, I realised that I cannot modify an @enum that I have created, either in the same or other cell. For example, executing a cell with: @enum myRainbow R=1 O Y G B I V followed by executing thi…

---

## [Choice of Discord platform](https://discourse.julialang.org/t/choice-of-discord-platform/43763)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 6\
**Last updated:** [July 29, 2020, 6:47pm UTC](https://discourse.julialang.org/t/choice-of-discord-platform/43763 "2020-07-29T18:47:49Z")

</div>

It really stinks that discord was chosen as the official discussion platform for juliacon. It leaves me completely unable to participate. They flagged my account immediately upon registration (before I even had a chance …

---

## [Include("//111.1.1.1/drive\\$/.../test.jl") from network disc on Windows](https://discourse.julialang.org/t/include-111-1-1-1-drive-test-jl-from-network-disc-on-windows/43858)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 8\
**Last updated:** [July 29, 2020, 6:05pm UTC](https://discourse.julialang.org/t/include-111-1-1-1-drive-test-jl-from-network-disc-on-windows/43858 "2020-07-29T18:05:53Z")

</div>

Hey guys, happy julia con :slight\_smile: How would I include() from a network disc like: include("C:.../file.jl") Core.include(Main, "//111.1.1.1/drive\\$/.../test.jl") The second one doesn’t work for me. Any ideas? C…

---

## [zyth0s/SciAlgs.jl: fundamental scientific algorithms in Julia](https://discourse.julialang.org/t/zyth0s-scialgs-jl-fundamental-scientific-algorithms-in-julia/43878)

<div class="topic-metadata">

**Author:** [@anon37204545](https://discourse.julialang.org/u/anon37204545)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 4:09pm UTC](https://discourse.julialang.org/t/zyth0s-scialgs-jl-fundamental-scientific-algorithms-in-julia/43878 "2020-07-29T16:09:04Z")

</div>

I wanted to share a repository which I found by chance, made by GitHub user zyth0s. I asked the author to share it on Discourse, and they will maybe join us here. It’s not really a package, but a collection of algorithm…

---

## [A Question on the Type System: Concrete Types, Super-Types and Type Intersections](https://discourse.julialang.org/t/a-question-on-the-type-system-concrete-types-super-types-and-type-intersections/43869)

<div class="topic-metadata">

**Author:** [@barankarakus](https://discourse.julialang.org/u/barankarakus)\
**Replies:** 11\
**Last updated:** [July 29, 2020, 3:47pm UTC](https://discourse.julialang.org/t/a-question-on-the-type-system-concrete-types-super-types-and-type-intersections/43869 "2020-07-29T15:47:01Z")

</div>

Hi, I have a quick question on the type system of Julia. My mental model of a type is simply a set of values. We can say a value v is an instance of a type T if v is in the set T. We can also say a type T is a super-ty…

---

## [Using a custom REPL prompt in Juno](https://discourse.julialang.org/t/using-a-custom-repl-prompt-in-juno/43895)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 3:44pm UTC](https://discourse.julialang.org/t/using-a-custom-repl-prompt-in-juno/43895 "2020-07-29T15:44:47Z")

</div>

My startup.jl has the following code to invoke Revise.jl and customize the REPL prompt: atreplinit() do repl try @eval using Revise @async Revise.wait\_steal\_repl\_backend() catch end repl.…

---

## [JuliaPro disconnected while debugging](https://discourse.julialang.org/t/juliapro-disconnected-while-debugging/43891)

<div class="topic-metadata">

**Author:** [@Roy\_Toren](https://discourse.julialang.org/u/Roy_Toren)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 3:00pm UTC](https://discourse.julialang.org/t/juliapro-disconnected-while-debugging/43891 "2020-07-29T15:00:14Z")

</div>

Hi everyone, I am new to the community. I started a sample project, working on 3D objects and it has worked terrific so far. I wanted to debug the code to start dealing with manipulation of the loaded 3D object but it …

---

## [Why is functor slower than eval'ed function?](https://discourse.julialang.org/t/why-is-functor-slower-than-evaled-function/43840)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 8\
**Last updated:** [July 29, 2020, 2:48pm UTC](https://discourse.julialang.org/t/why-is-functor-slower-than-evaled-function/43840 "2020-07-29T14:48:25Z")

</div>

I have a situation where I’d like to build some functions based on different inputs - using a callable function seems really clear to me, and has the functionality I want. I’d rather not use eval and other metaprogrammin…

---

## [Minimal integer solution to homogeneous system of linear equations](https://discourse.julialang.org/t/minimal-integer-solution-to-homogeneous-system-of-linear-equations/43848)

<div class="topic-metadata">

**Author:** [@anon37204545](https://discourse.julialang.org/u/anon37204545)\
**Replies:** 4\
**Last updated:** [July 29, 2020, 2:44pm UTC](https://discourse.julialang.org/t/minimal-integer-solution-to-homogeneous-system-of-linear-equations/43848 "2020-07-29T14:44:54Z")

</div>

As the title says, I’m looking for a way to find a minimal integer solution of the homogeneous system of linear equations. Such systems have infinitely many solutions (since you can multiply by constant or linearly comb…

---

## [JuliaCon 2020 poster sessions](https://discourse.julialang.org/t/juliacon-2020-poster-sessions/43605)

<div class="topic-metadata">

**Author:** [@ksamtsak](https://discourse.julialang.org/u/ksamtsak)\
**Replies:** 5\
**Last updated:** [July 29, 2020, 2:13pm UTC](https://discourse.julialang.org/t/juliacon-2020-poster-sessions/43605 "2020-07-29T14:13:17Z")

</div>

Hi, with JuliaCon essentially starting today, does anybody have some concrete info how the virtual poster sessions will be organized next week? What exactly should the poster presenters deliver for example?

---

## [Using MLJ with Gaussian Process Regression](https://discourse.julialang.org/t/using-mlj-with-gaussian-process-regression/43883)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 2:00pm UTC](https://discourse.julialang.org/t/using-mlj-with-gaussian-process-regression/43883 "2020-07-29T14:00:01Z")

</div>

I have a data set on which I would like to perform binary classification, and I would like to see how well Gaussian Process Regression (GPR) does with it. Since I’ve already been experimenting with MLJ, I figured I migh…

---

## [Which GPU should I ask for?](https://discourse.julialang.org/t/which-gpu-should-i-ask-for/43861)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [July 29, 2020, 1:43pm UTC](https://discourse.julialang.org/t/which-gpu-should-i-ask-for/43861 "2020-07-29T13:43:08Z")

</div>

Hello, we have a remote server (not VPS) and I would like to ask the company managing it to add a GPU for machine learning computations (using CUDA.jl I suppose). Is there a list of supported GPU? How they are organise…

---

## [User Callback nodeid](https://discourse.julialang.org/t/user-callback-nodeid/43847)

<div class="topic-metadata">

**Author:** [@afazevedo](https://discourse.julialang.org/u/afazevedo)\
**Replies:** 3\
**Last updated:** [July 29, 2020, 1:34pm UTC](https://discourse.julialang.org/t/user-callback-nodeid/43847 "2020-07-29T13:34:26Z")

</div>

Is there any way to retrieve the node id on user callback? On the Gurobi callback, cbget\_mipnode\_nodcnt serves well. But I want to use the MOI user callback, instead. Thanks in advance!

---

## [The cognitive bias of low-probability events](https://discourse.julialang.org/t/the-cognitive-bias-of-low-probability-events/43867)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [July 29, 2020, 1:12pm UTC](https://discourse.julialang.org/t/the-cognitive-bias-of-low-probability-events/43867 "2020-07-29T13:12:57Z")

</div>

Just a tough reading the news about Madonna endorsing hydroxychloroquine. The problem is when one has to judge the difference between distributions that differ in the tail, like a Bernoulli with p=0.95 and p=0.99. Peop…

---

## [JuliaCon 2020 is going virtual](https://discourse.julialang.org/t/juliacon-2020-is-going-virtual/38327)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 50\
**Last updated:** [July 29, 2020, 1:07pm UTC](https://discourse.julialang.org/t/juliacon-2020-is-going-virtual/38327 "2020-07-29T13:07:28Z")

</div>

JuliaCon 2020 will now be a fully online conference. With all the uncertainties due to Coronavirus, this seems like the best option to keep everyone safe, and provide some certainty in planning. Many details are still t…

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

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