# Latest

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

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

**Page:** 1183

---

## [We should have a function detecting if two numbers have the same sign](https://discourse.julialang.org/t/we-should-have-a-function-detecting-if-two-numbers-have-the-same-sign/72629)

<div class="topic-metadata">

**Author:** [@powerzf](https://discourse.julialang.org/u/powerzf)\
**Replies:** 13\
**Last updated:** [December 10, 2021, 2:55pm UTC](https://discourse.julialang.org/t/we-should-have-a-function-detecting-if-two-numbers-have-the-same-sign/72629 "2021-12-10T14:55:19Z")

</div>

We should have such a function！！ issign(x,y) issign(-1,1) --\>false issign(1,-1) --\>false issign(1,1) --\>true issign(-1,-1) --\>true

---

## [Northwestern UofC and UIC julia bods](https://discourse.julialang.org/t/northwestern-uofc-and-uic-julia-bods/72788)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 7\
**Last updated:** [December 10, 2021, 2:39pm UTC](https://discourse.julialang.org/t/northwestern-uofc-and-uic-julia-bods/72788 "2021-12-10T14:39:37Z")

</div>

We’re considering coding a julia application in 2022. We’re based in streeterville ( by the MCA) and would like to chat with any NW’ers about julia. My wife is a NW alum. Anyone that can get to Streeterville is welcome…

---

## [Solving a partial differential equation](https://discourse.julialang.org/t/solving-a-partial-differential-equation/72815)

<div class="topic-metadata">

**Author:** [@Physics\_Student](https://discourse.julialang.org/u/Physics_Student)\
**Replies:** 9\
**Last updated:** [December 10, 2021, 2:01pm UTC](https://discourse.julialang.org/t/solving-a-partial-differential-equation/72815 "2021-12-10T14:01:02Z")

</div>

Hi together, I want to solve the following partial differential equation numerically with Julia: d/dx f(x,y) = 1/y \* (y^2\* f(x,y) + d/dy f(x,y) + d^2/dy^2 f(x,y)) Has anyone an idea how to do this?

---

## [Julia Graphplot error "MethodError: no method matching get\_adjacency\_matrix(::SimpleDiGraph{Int64})"](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890)

<div class="topic-metadata">

**Author:** [@ssjos](https://discourse.julialang.org/u/ssjos)\
**Replies:** 0\
**Last updated:** [December 10, 2021, 1:46pm UTC](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890 "2021-12-10T13:46:22Z")

</div>

I am using the following code in Julia v1.6 to plot a graph: graphplot(network1, method=:chorddiagram, markersize=3, nodeshape=:rect, linecolor=:lightgrey) where network1 is a {56, 445} directed simple Int64 graph I a…

---

## [Incorrect concrete type for Vector{Pair{Any, Any}}?](https://discourse.julialang.org/t/incorrect-concrete-type-for-vector-pair-any-any/72885)

<div class="topic-metadata">

**Author:** [@anicusan](https://discourse.julialang.org/u/anicusan)\
**Replies:** 7\
**Last updated:** [December 10, 2021, 1:24pm UTC](https://discourse.julialang.org/t/incorrect-concrete-type-for-vector-pair-any-any/72885 "2021-12-10T13:24:03Z")

</div>

Hello, My question’s rather simple: julia\> \[1=\>2\] 1-element Vector{Pair{Int64, Int64}}: 1 =\> 2 julia\> \[1=\>2\] isa Vector{Pair{Any, Any}} false Why is Vector{Pair{Int64, Int64}} not a subtype of Vector{Pair{Any, Any}}?…

---

## [Issue with ForwardDiff custom AD rule](https://discourse.julialang.org/t/issue-with-forwarddiff-custom-ad-rule/72886)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 7\
**Last updated:** [December 10, 2021, 1:22pm UTC](https://discourse.julialang.org/t/issue-with-forwarddiff-custom-ad-rule/72886 "2021-12-10T13:22:40Z")

</div>

I have the following issue: import ForwardDiff, DiffRules, IrrationalConstants, SpecialFunctions ∂logerfcx(x) = 2 \* (x - inv(SpecialFunctions.erfcx(x)) / IrrationalConstants.sqrtπ) DiffRules.@define\_diffrule SpecialFunc…

---

## [How to install Julia on Ubuntu without root privileges?](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862)

<div class="topic-metadata">

**Author:** [@Nova](https://discourse.julialang.org/u/Nova)\
**Replies:** 6\
**Last updated:** [December 10, 2021, 1:11pm UTC](https://discourse.julialang.org/t/how-to-install-julia-on-ubuntu-without-root-privileges/72862 "2021-12-10T13:11:53Z")

</div>

I’m new to Julia and Linux and I need to install Julia on an Ubuntu server that I access with ssh. How can I do that without asking for administrative privileges?

---

## [Scalable ODE solver for Bayesian multi-type compartmental models](https://discourse.julialang.org/t/scalable-ode-solver-for-bayesian-multi-type-compartmental-models/72845)

<div class="topic-metadata">

**Author:** [@bernadette-eu](https://discourse.julialang.org/u/bernadette-eu)\
**Replies:** 2\
**Last updated:** [December 10, 2021, 11:43am UTC](https://discourse.julialang.org/t/scalable-ode-solver-for-bayesian-multi-type-compartmental-models/72845 "2021-12-10T11:43:29Z")

</div>

Hello everyone, First time posting here. I provide a lengthy intro to my research problem with hopefully enough details, aiming to discuss scalable solvers for Nonlinear systems of ODES. The question is at the end of th…

---

## ['Negative' UnitRange in Julia?](https://discourse.julialang.org/t/negative-unitrange-in-julia/72864)

<div class="topic-metadata">

**Author:** [@DorianT](https://discourse.julialang.org/u/DorianT)\
**Replies:** 6\
**Last updated:** [December 10, 2021, 11:01am UTC](https://discourse.julialang.org/t/negative-unitrange-in-julia/72864 "2021-12-10T11:01:02Z")

</div>

Today I came across some behaviour regarding UnitRanges that I did not quiet understand. I was hoping to find some enlightenment here :angel: The issues boils down to this behavior, below is some more context: julia\> 4…

---

## [Fix incongruencies in ODE models](https://discourse.julialang.org/t/fix-incongruencies-in-ode-models/72880)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [December 10, 2021, 9:00am UTC](https://discourse.julialang.org/t/fix-incongruencies-in-ode-models/72880 "2021-12-10T09:00:36Z")

</div>

Hello, I am trying to simulate a bacteria/phage infection. I managed, thanks to the forum support, to make a simulation that in principle can change a parameter in the ODEs – but here I am not doing such a change: usi…

---

## [Best Practice for generating long term packages](https://discourse.julialang.org/t/best-practice-for-generating-long-term-packages/72853)

<div class="topic-metadata">

**Author:** [@AronT](https://discourse.julialang.org/u/AronT)\
**Replies:** 2\
**Last updated:** [December 10, 2021, 9:02am UTC](https://discourse.julialang.org/t/best-practice-for-generating-long-term-packages/72853 "2021-12-10T09:02:07Z")

</div>

In the Julia documentation it recommends that when creating long term modules, you should use PkgTemplates to generate a new package (instead of Pkg.generate) . The template generate package then gets stored in the .juli…

---

## [Makie Animation](https://discourse.julialang.org/t/makie-animation/72869)

<div class="topic-metadata">

**Author:** [@vahhab70](https://discourse.julialang.org/u/vahhab70)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 8:59am UTC](https://discourse.julialang.org/t/makie-animation/72869 "2021-12-10T08:59:54Z")

</div>

Hello, I highly appreciate it if anybody helps me. I want to generate an animation using GLMakie. It seems the previous frames remain in the video and frames are not updated. Any help would be appreciated. using GLMak…

---

## [Julia 1.7.0 ignores SIGTERMs (Signal 15)](https://discourse.julialang.org/t/julia-1-7-0-ignores-sigterms-signal-15/72357)

<div class="topic-metadata">

**Author:** [@vmuser](https://discourse.julialang.org/u/vmuser)\
**Replies:** 7\
**Last updated:** [December 10, 2021, 7:44am UTC](https://discourse.julialang.org/t/julia-1-7-0-ignores-sigterms-signal-15/72357 "2021-12-10T07:44:51Z")

</div>

Julia 1.6.3 handled SIGTERMs nicely, so Ctrl+C worked like expected. However, Julia 1.7.0 ignores these signals. To reproduce simply start two Julia-processes with the two versions and call pkill julia (where pkill is su…

---

## [Difficulty switching to 1.7 in VSCode](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798)

<div class="topic-metadata">

**Author:** [@wfrgra](https://discourse.julialang.org/u/wfrgra)\
**Replies:** 5\
**Last updated:** [December 10, 2021, 7:37am UTC](https://discourse.julialang.org/t/difficulty-switching-to-1-7-in-vscode/72798 "2021-12-10T07:37:55Z")

</div>

Hi all, I’m struggling to get VSCode to use Julia 1.7 on Windows 7. I’ve updated the system path to point to 1.7, but VSCode still uses 1.6 by default. If I change the julia.executablePath setting in VSCode to point to…

---

## [\[GSoC 2022\] Mentoring and Guidance Search](https://discourse.julialang.org/t/gsoc-2022-mentoring-and-guidance-search/72876)

<div class="topic-metadata">

**Author:** [@tantheta01](https://discourse.julialang.org/u/tantheta01)\
**Replies:** 0\
**Last updated:** [December 10, 2021, 7:01am UTC](https://discourse.julialang.org/t/gsoc-2022-mentoring-and-guidance-search/72876 "2021-12-10T07:01:30Z")

</div>

I am a CS undergrad and I wish to contribute to Julia in the GSoC 22. When I look at Julia’s Jsoc page here I think it has not been updated with 2022 projects. Does anyone know when this would be updated? Apologies if I …

---

## [Accesing Lagrange multipliers while using Ipopt from Nonconvex.jl](https://discourse.julialang.org/t/accesing-lagrange-multipliers-while-using-ipopt-from-nonconvex-jl/72841)

<div class="topic-metadata">

**Author:** [@A\_C](https://discourse.julialang.org/u/A_C)\
**Replies:** 2\
**Last updated:** [December 10, 2021, 4:35am UTC](https://discourse.julialang.org/t/accesing-lagrange-multipliers-while-using-ipopt-from-nonconvex-jl/72841 "2021-12-10T04:35:53Z")

</div>

I was trying Nonconvex.jl using Ipopt. Is there a way in which I can access Lagrange multipliers?

---

## [MethodError: promote\_type error saving DataFrame to SQLite database](https://discourse.julialang.org/t/methoderror-promote-type-error-saving-dataframe-to-sqlite-database/72038)

<div class="topic-metadata">

**Author:** [@blackeneth](https://discourse.julialang.org/u/blackeneth)\
**Replies:** 5\
**Last updated:** [December 10, 2021, 2:03am UTC](https://discourse.julialang.org/t/methoderror-promote-type-error-saving-dataframe-to-sqlite-database/72038 "2021-12-10T02:03:18Z")

</div>

My apologies that the MWE example is somewhat involved to setup. Overview: I’m loading a .csv file into a DataFrame, then I want to save that DataFrame to an SQLite database. I’m using Julia 1.6.2 (Windows). Preliminar…

---

## [Julia v1.7.0 has been released and v1.6 is now LTS](https://discourse.julialang.org/t/julia-v1-7-0-has-been-released-and-v1-6-is-now-lts/72336)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 14\
**Last updated:** [December 9, 2021, 11:13pm UTC](https://discourse.julialang.org/t/julia-v1-7-0-has-been-released-and-v1-6-is-now-lts/72336 "2021-12-09T23:13:20Z")

</div>

The Julia developers are pleased to announce the release of Julia v1.7.0, the seventh minor release in the 1.x series. Some folks put together a blog post highlighting some of the most exciting new features in 1.7 and we…

---

## [After upgrade to Julia 1.7.0, how reinstall all my old packages](https://discourse.julialang.org/t/after-upgrade-to-julia-1-7-0-how-reinstall-all-my-old-packages/72856)

<div class="topic-metadata">

**Author:** [@cesarmarinhorj](https://discourse.julialang.org/u/cesarmarinhorj)\
**Replies:** 6\
**Last updated:** [December 9, 2021, 10:57pm UTC](https://discourse.julialang.org/t/after-upgrade-to-julia-1-7-0-how-reinstall-all-my-old-packages/72856 "2021-12-09T22:57:42Z")

</div>

As a new Julia binary, new environment. OK. But how can reinstall all my already old packages? One by one? Thanks!

---

## [Jupyter lab do not work "LoadError: TypeError: in typeassert, expected Vector{Any}, got a value of type Dict{String, Any}"](https://discourse.julialang.org/t/jupyter-lab-do-not-work-loaderror-typeerror-in-typeassert-expected-vector-any-got-a-value-of-type-dict-string-any/72863)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 10:04pm UTC](https://discourse.julialang.org/t/jupyter-lab-do-not-work-loaderror-typeerror-in-typeassert-expected-vector-any-got-a-value-of-type-dict-string-any/72863 "2021-12-09T22:04:24Z")

</div>

I am trying to start a jupyter lab notebook, but suddenly it will not work. I start up jupyter lab from the terminal (using jupyter lab, this is on ubuntu 18.04). I notebooks load normally, but when I try to run a cell, …

---

## [Searchsortedlast performance](https://discourse.julialang.org/t/searchsortedlast-performance/72711)

<div class="topic-metadata">

**Author:** [@snowgum](https://discourse.julialang.org/u/snowgum)\
**Replies:** 43\
**Last updated:** [December 9, 2021, 9:57pm UTC](https://discourse.julialang.org/t/searchsortedlast-performance/72711 "2021-12-09T21:57:23Z")

</div>

I am trying to write a Julia port of the Weno4Interpolation python package, an algorithm based on Janett et al. (2019) to perform higher order interpolations. The code itself is not complex, but has many statements, mos…

---

## [Benchmark macro with BenchmarkTools](https://discourse.julialang.org/t/benchmark-macro-with-benchmarktools/72723)

<div class="topic-metadata">

**Author:** [@mattwigway](https://discourse.julialang.org/u/mattwigway)\
**Replies:** 3\
**Last updated:** [December 9, 2021, 9:53pm UTC](https://discourse.julialang.org/t/benchmark-macro-with-benchmarktools/72723 "2021-12-09T21:53:51Z")

</div>

I’m benchmarking my package DiscreteChoiceModels.jl and comparing against other packages in R and Python. A significant entry point to the package is a macro which implements a domain-specific language to specify models.…

---

## [Can one set Configuration Options using PlotlyJS.jl?](https://discourse.julialang.org/t/can-one-set-configuration-options-using-plotlyjs-jl/40357)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 8\
**Last updated:** [December 9, 2021, 8:28pm UTC](https://discourse.julialang.org/t/can-one-set-configuration-options-using-plotlyjs-jl/40357 "2021-12-09T20:28:21Z")

</div>

This plotly.com page describes configuration options, such as editable, displayModeBar, and displaylogo that I would like to try from Julia and PlotlyJS.jl. Is there a way to send those options? I’ve tried as keywords in…

---

## [Where do I add a rationalize() function?](https://discourse.julialang.org/t/where-do-i-add-a-rationalize-function/72823)

<div class="topic-metadata">

**Author:** [@ayushsengupta8](https://discourse.julialang.org/u/ayushsengupta8)\
**Replies:** 3\
**Last updated:** [December 9, 2021, 8:02pm UTC](https://discourse.julialang.org/t/where-do-i-add-a-rationalize-function/72823 "2021-12-09T20:02:16Z")

</div>

Can anyone provide me the exact file name in GitHub (also the folder which it is in) so that I can add a rationalize function in the code. P.S I am completely new to opensource that’s why I am not sure about this topic.…

---

## [View Function Internals within REPL (julian mode)](https://discourse.julialang.org/t/view-function-internals-within-repl-julian-mode/72846)

<div class="topic-metadata">

**Author:** [@HiramTheHero](https://discourse.julialang.org/u/HiramTheHero)\
**Replies:** 3\
**Last updated:** [December 9, 2021, 7:42pm UTC](https://discourse.julialang.org/t/view-function-internals-within-repl-julian-mode/72846 "2021-12-09T19:42:05Z")

</div>

Hello all. In R there is an easy way to view what a function does by typing the function name without parenthesis. \> manova function (...) { Call \<- fcall \<- match.call() fcall\[\[1L\]\] \<- quote(stats::aov) r…

---

## [CUDA breaking on verison 1.6?](https://discourse.julialang.org/t/cuda-breaking-on-verison-1-6/72843)

<div class="topic-metadata">

**Author:** [@totorotoby1](https://discourse.julialang.org/u/totorotoby1)\
**Replies:** 6\
**Last updated:** [December 9, 2021, 7:15pm UTC](https://discourse.julialang.org/t/cuda-breaking-on-verison-1-6/72843 "2021-12-09T19:15:23Z")

</div>

What am I doing wrong here? | | |\_| | | | (\_| | | Version 1.6.3 (2021-09-23) \_/ |\\\_\_'\_|\_|\_|\\\_\_'\_| | Official https://julialang.org/ release |\_\_/ | (v1.6) pkg\> status Status \`/gpfs/home/t…

---

## [I am unable to understand what the function below does, please help!](https://discourse.julialang.org/t/i-am-unable-to-understand-what-the-function-below-does-please-help/72847)

<div class="topic-metadata">

**Author:** [@ayushsengupta8](https://discourse.julialang.org/u/ayushsengupta8)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 6:31pm UTC](https://discourse.julialang.org/t/i-am-unable-to-understand-what-the-function-below-does-please-help/72847 "2021-12-09T18:31:46Z")

</div>

function include(mod::Module, path::String) ccall(:jl\_array\_grow\_end, Cvoid, (Any, UInt), \_included\_files, UInt(1)) Core.arrayset(true, \_included\_files, (mod, ccall(:jl\_prepend\_cwd, Any, (Any,), path)), arraylen(\_i…

---

## [Problem with precompiling NeuralPDE](https://discourse.julialang.org/t/problem-with-precompiling-neuralpde/72840)

<div class="topic-metadata">

**Author:** [@Physics\_Student](https://discourse.julialang.org/u/Physics_Student)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 6:27pm UTC](https://discourse.julialang.org/t/problem-with-precompiling-neuralpde/72840 "2021-12-09T18:27:28Z")

</div>

Hi together, I want to use the package NeuralPDE. I use Windows 10 and Julia 1.4.0. When I want to precompile it (by “using NeuralPDE” , I get the following error message: ERROR: LoadError: LoadError: UndefVarError: Ab…

---

## [\`Inf\` does not work in \`quadgk!()\`](https://discourse.julialang.org/t/inf-does-not-work-in-quadgk/72838)

<div class="topic-metadata">

**Author:** [@HJWang](https://discourse.julialang.org/u/HJWang)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 6:09pm UTC](https://discourse.julialang.org/t/inf-does-not-work-in-quadgk/72838 "2021-12-09T18:09:50Z")

</div>

I tried to use quadgk!(), which is the in-place quadgk(), but encountered problems. Simply put, quadgk!() does not accpet Inf or -Inf in the domain boundary while it is not a problem with quadgk(). The following is a MWE…

---

## [\[ANN\] Telegram.jl - SDK, logger and bots](https://discourse.julialang.org/t/ann-telegram-jl-sdk-logger-and-bots/41840)

<div class="topic-metadata">

**Author:** [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Replies:** 16\
**Last updated:** [December 9, 2021, 5:28pm UTC](https://discourse.julialang.org/t/ann-telegram-jl-sdk-logger-and-bots/41840 "2021-12-09T17:28:52Z")

</div>

Hello everyone! I am really happy to announce Telegram.jl, a package that contains native Julia Telegram Messanger SDK, logging and bot facilities. This package was built with the main idea of using Telegram as an insta…

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

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