# Latest

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

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

**Page:** 1838

---

## [Sharing a python dataframe in Julia](https://discourse.julialang.org/t/sharing-a-python-dataframe-in-julia/33836)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 11\
**Last updated:** [January 27, 2020, 8:07pm UTC](https://discourse.julialang.org/t/sharing-a-python-dataframe-in-julia/33836 "2020-01-27T20:07:09Z")

</div>

Hi there, I have a small dataframe in a python script ( 300 rows each row probably about 1k). I am new to Julia so uncertain as to how to share the memory space between the python script and a julia program. I was goi…

---

## [Load modules in several workers](https://discourse.julialang.org/t/load-modules-in-several-workers/17521)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 19\
**Last updated:** [January 27, 2020, 7:47pm UTC](https://discourse.julialang.org/t/load-modules-in-several-workers/17521 "2020-01-27T19:47:02Z")

</div>

Hi folks, I’m just running into (another) problem, this time related to loading modules in several workers at the same time. I have this simple module module My\_mod export My\_Type, f mutable struct My\_type x::Int e…

---

## [Status of waiting on multiple conditions / @select](https://discourse.julialang.org/t/status-of-waiting-on-multiple-conditions-select/33867)

<div class="topic-metadata">

**Author:** [@bachdavid](https://discourse.julialang.org/u/bachdavid)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 6:10pm UTC](https://discourse.julialang.org/t/status-of-waiting-on-multiple-conditions-select/33867 "2020-01-27T18:10:02Z")

</div>

Hi everyone, wanted to say hi and see what the current status of waiting on multiple conditions is. Currently, I am using two channels, and I’d like to wait for either of them having a pending put!. There exists a PR …

---

## [AD in a SGD loop: one call to 'gradient' or many?](https://discourse.julialang.org/t/ad-in-a-sgd-loop-one-call-to-gradient-or-many/33793)

<div class="topic-metadata">

**Author:** [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Replies:** 5\
**Last updated:** [January 27, 2020, 6:09pm UTC](https://discourse.julialang.org/t/ad-in-a-sgd-loop-one-call-to-gradient-or-many/33793 "2020-01-27T18:09:21Z")

</div>

A general question about how to think about automatic differentiation. I might have thought the gradient is a function, that takes in a location and returns the up-hill vector at that location. If an AD returned such a…

---

## [Use the old Tracker interface in Flux 0.10?](https://discourse.julialang.org/t/use-the-old-tracker-interface-in-flux-0-10/33820)

<div class="topic-metadata">

**Author:** [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Replies:** 3\
**Last updated:** [January 27, 2020, 6:04pm UTC](https://discourse.julialang.org/t/use-the-old-tracker-interface-in-flux-0-10/33820 "2020-01-27T18:04:57Z")

</div>

Flux 0.10 provides Zygote as the AD. Is it still possible to use Tracker in this (and near future) version of Flux? If so, wondering if it would be possible to program a unified api wrapper that would call either with …

---

## [On the performance and design of BioSequences compared to the Seq language](https://discourse.julialang.org/t/on-the-performance-and-design-of-biosequences-compared-to-the-seq-language/33789)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.julialang.org/u/Mason)\
**Replies:** 0\
**Last updated:** [January 25, 2020, 10:52pm UTC](https://discourse.julialang.org/t/on-the-performance-and-design-of-biosequences-compared-to-the-seq-language/33789 "2020-01-25T22:52:43Z")

</div>

A really nice blog post from some BioJulia people on the benchmarks from the Seq language. Despite the focused topic, I think it treads ground that’s relevant to wider julia community and was an all around great read. h…

---

## [Reviewers needed for 2020 talk proposals](https://discourse.julialang.org/t/reviewers-needed-for-2020-talk-proposals/33862)

<div class="topic-metadata">

**Author:** [@xorJane](https://discourse.julialang.org/u/xorJane)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 5:42pm UTC](https://discourse.julialang.org/t/reviewers-needed-for-2020-talk-proposals/33862 "2020-01-27T17:42:08Z")

</div>

Hi all! The program committee is looking for volunteers to help review proposals for JuliaCon 2020. If you’re interested in reviewing, please sign up at https://forms.gle/oxmnjWkFvNAYdnL79 Thank you for volunteering!

---

## [Fix contour colors scale](https://discourse.julialang.org/t/fix-contour-colors-scale/33767)

<div class="topic-metadata">

**Author:** [@pedrohnv](https://discourse.julialang.org/u/pedrohnv)\
**Replies:** 2\
**Last updated:** [January 27, 2020, 5:38pm UTC](https://discourse.julialang.org/t/fix-contour-colors-scale/33767 "2020-01-27T17:38:52Z")

</div>

Hello, I would like to show an animation of a contour plot. For better visualization, it would be ideal if I could fix the colorbar in addition to the levels. Example: using Plots anim = @animate for i=0:10 …

---

## [Casting Int64 to UInt64](https://discourse.julialang.org/t/casting-int64-to-uint64/33856)

<div class="topic-metadata">

**Author:** [@Niclas\_Wiberg](https://discourse.julialang.org/u/Niclas_Wiberg)\
**Replies:** 5\
**Last updated:** [January 27, 2020, 5:06pm UTC](https://discourse.julialang.org/t/casting-int64-to-uint64/33856 "2020-01-27T17:06:52Z")

</div>

What is the best way to cast an Int64 to an UInt64, preserving the binary representation? For instance, given -1 as input I would like to get 0xffffffffffffffff. Given -256 as input I would like to get 0xffffffffffffff0…

---

## [Current status with callbacks](https://discourse.julialang.org/t/current-status-with-callbacks/29942)

<div class="topic-metadata">

**Author:** [@Lefteris\_Manousakis](https://discourse.julialang.org/u/Lefteris_Manousakis)\
**Replies:** 6\
**Last updated:** [January 27, 2020, 3:52pm UTC](https://discourse.julialang.org/t/current-status-with-callbacks/29942 "2020-01-27T15:52:00Z")

</div>

Hi everyone! I am using JuMP 0.19 and I tried to set up an information callback to retrieve the relaxation value of the root node. After a lot of searching I think I got the picture with the non solver independent callb…

---

## [Juno, how go back from jump to function definition](https://discourse.julialang.org/t/juno-how-go-back-from-jump-to-function-definition/33855)

<div class="topic-metadata">

**Author:** [@Darione](https://discourse.julialang.org/u/Darione)\
**Replies:** 4\
**Last updated:** [January 27, 2020, 3:43pm UTC](https://discourse.julialang.org/t/juno-how-go-back-from-jump-to-function-definition/33855 "2020-01-27T15:43:18Z")

</div>

Hello, i was testing Juno. I never use Atom before now … and i can’t understand how go back from function definition, in another file, where i am gone by CTRL +mouse click on the name of called function. Where is a “go …

---

## [Optimize dot(::Vector{Float64}, ::Vector{ForwardDiff.Dual})](https://discourse.julialang.org/t/optimize-dot-vector-float64-vector-forwarddiff-dual/33846)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 3\
**Last updated:** [January 27, 2020, 2:56pm UTC](https://discourse.julialang.org/t/optimize-dot-vector-float64-vector-forwarddiff-dual/33846 "2020-01-27T14:56:28Z")

</div>

I identified a bottleneck in my code — calculating dot products of a vector of floats and some ForwardDiff.Duals. I have not been able to improve on the generic dot (which, of course, is not surprising in Julia, as the b…

---

## [\[RFC\] Ideas for tools around type stability / optimization](https://discourse.julialang.org/t/rfc-ideas-for-tools-around-type-stability-optimization/33850)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 3\
**Last updated:** [January 27, 2020, 2:53pm UTC](https://discourse.julialang.org/t/rfc-ideas-for-tools-around-type-stability-optimization/33850 "2020-01-27T14:53:20Z")

</div>

When optimizing slow code, people, especially newcomers, are pointed to tools like @code\_warntype and profilers like ProfileView. I wanted to collect some ideas for improvement because I think some steps could be made ea…

---

## [Memory consumtion Rational{BigInt} on bernoulli number example](https://discourse.julialang.org/t/memory-consumtion-rational-bigint-on-bernoulli-number-example/33812)

<div class="topic-metadata">

**Author:** [@mwolff](https://discourse.julialang.org/u/mwolff)\
**Replies:** 14\
**Last updated:** [January 27, 2020, 1:51pm UTC](https://discourse.julialang.org/t/memory-consumtion-rational-bigint-on-bernoulli-number-example/33812 "2020-01-27T13:51:43Z")

</div>

I got a little bored yesterday and tried some examples from rosettacode http://rosettacode.org/wiki/Bernoulli\_numbers#Julia to test the performance against the Python code. Was kind of disappointing, Python worked better…

---

## [Can't download packages from Debian based work server—connect: connection refused (ECONNREFUSED)](https://discourse.julialang.org/t/cant-download-packages-from-debian-based-work-server-connect-connection-refused-econnrefused/33847)

<div class="topic-metadata">

**Author:** [@ElectronicTeaCup](https://discourse.julialang.org/u/ElectronicTeaCup)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 1:22pm UTC](https://discourse.julialang.org/t/cant-download-packages-from-debian-based-work-server-connect-connection-refused-econnrefused/33847 "2020-01-27T13:22:46Z")

</div>

As a continuation of the thread Previous link—same question but on windows PC I can’t manage to get packages to download on my server. I see the following: (v1.2) pkg\> add Plots Resolving package versions… ERROR: Err…

---

## [Re-naming several folders](https://discourse.julialang.org/t/re-naming-several-folders/33841)

<div class="topic-metadata">

**Author:** [@samantp](https://discourse.julialang.org/u/samantp)\
**Replies:** 3\
**Last updated:** [January 27, 2020, 12:58pm UTC](https://discourse.julialang.org/t/re-naming-several-folders/33841 "2020-01-27T12:58:00Z")

</div>

Hi, I am just getting started with Julia so apologies if this is too simple a question. I have a series of directories (folders) with names as follows 6-ep2ddifftraDYNDIST-69284 7-ep2ddifftraDYNDISTMIX-61648 8-bfsfb…

---

## [In places style question](https://discourse.julialang.org/t/in-places-style-question/33822)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 7\
**Last updated:** [January 27, 2020, 1:11pm UTC](https://discourse.julialang.org/t/in-places-style-question/33822 "2020-01-27T13:11:14Z")

</div>

Suppose I have a function that performs an place transformation on the first variable function f!(x,y) # code here x end This function can result in an error, so I would like to return a flag, variable, alertin…

---

## [How to use google translator from Julia level?](https://discourse.julialang.org/t/how-to-use-google-translator-from-julia-level/33837)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 3\
**Last updated:** [January 27, 2020, 12:51pm UTC](https://discourse.julialang.org/t/how-to-use-google-translator-from-julia-level/33837 "2020-01-27T12:51:19Z")

</div>

How to use google translator from Julia level? How to impersonate a browser? to transalte dog for german I am expecting to get Hund :slight\_smile: Paul

---

## [Remote usage on HPC cluster - packages missing](https://discourse.julialang.org/t/remote-usage-on-hpc-cluster-packages-missing/33844)

<div class="topic-metadata">

**Author:** [@LysandrosAn](https://discourse.julialang.org/u/LysandrosAn)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 12:35pm UTC](https://discourse.julialang.org/t/remote-usage-on-hpc-cluster-packages-missing/33844 "2020-01-27T12:35:40Z")

</div>

Dear Julia community, I recently discovered Julia and am making steps to use it for time integration of ODEs on a remote HPC cluster. Although the admins have installed the software there, I am having following issue, i…

---

## [What is the current approach for linting in Juno](https://discourse.julialang.org/t/what-is-the-current-approach-for-linting-in-juno/32312)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 4\
**Last updated:** [January 27, 2020, 11:03am UTC](https://discourse.julialang.org/t/what-is-the-current-approach-for-linting-in-juno/32312 "2020-01-27T11:03:31Z")

</div>

I am still new to Juno, but was wondering what the current best practice is for Linting. I have linter-julia installed right now, but I keep getting these annoying message \[Linter-Julia\] Server returned non-JSON response…

---

## [Running several Julia engines](https://discourse.julialang.org/t/running-several-julia-engines/33094)

<div class="topic-metadata">

**Author:** [@tanya](https://discourse.julialang.org/u/tanya)\
**Replies:** 6\
**Last updated:** [January 27, 2020, 11:00am UTC](https://discourse.julialang.org/t/running-several-julia-engines/33094 "2020-01-27T11:00:34Z")

</div>

Not sure I am using correct terms/language to describe the problem, but I will try. I want to run several Julia processes on one PC (Monte Carlo simulations). When I do it in Matlab, I simply start several Labs, and the…

---

## [Efficient way for assigning a massive array](https://discourse.julialang.org/t/efficient-way-for-assigning-a-massive-array/33809)

<div class="topic-metadata">

**Author:** [@AhmedAlreweny](https://discourse.julialang.org/u/AhmedAlreweny)\
**Replies:** 6\
**Last updated:** [January 27, 2020, 10:32am UTC](https://discourse.julialang.org/t/efficient-way-for-assigning-a-massive-array/33809 "2020-01-27T10:32:33Z")

</div>

Hello, I am new to Juila (and programming in general). I am working on solving a massive linear system resulting from a finite difference discretization of an ODE. My matrix is almost a bordered matrix (got some element…

---

## [Tutorial on using advanced type system in Julia?](https://discourse.julialang.org/t/tutorial-on-using-advanced-type-system-in-julia/32903)

<div class="topic-metadata">

**Author:** [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)\
**Replies:** 28\
**Last updated:** [January 27, 2020, 10:15am UTC](https://discourse.julialang.org/t/tutorial-on-using-advanced-type-system-in-julia/32903 "2020-01-27T10:15:53Z")

</div>

Is there a tutorial on advanced use of types in Julia? The manual isn’t enough for me to read advanced abstract type usage in actual packages.

---

## [Clang warning](https://discourse.julialang.org/t/clang-warning/33815)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 1\
**Last updated:** [January 27, 2020, 6:18am UTC](https://discourse.julialang.org/t/clang-warning/33815 "2020-01-27T06:18:46Z")

</div>

I’m taking a dip in the Clang waters, ┌ Warning: not wrapping CLCursor (CLMacroInstantiation) RLAPI └ @ Clang ~/.julia/packages/Clang/CiPzM/src/wrap\_c.jl:443 ┌ Warning: not wrapping CLCursor (CLMacroInstantiation) RLAPI…

---

## [DSP.jl: analog filter design](https://discourse.julialang.org/t/dsp-jl-analog-filter-design/33646)

<div class="topic-metadata">

**Author:** [@kumarbalachandran](https://discourse.julialang.org/u/kumarbalachandran)\
**Replies:** 11\
**Last updated:** [January 27, 2020, 5:54am UTC](https://discourse.julialang.org/t/dsp-jl-analog-filter-design/33646 "2020-01-27T05:54:14Z")

</div>

I am using the following on Julia 1.3.1: using DSP fs=4\*5000e6 responsetype = Highpass(4000e6; fs=fs) designmethod = Elliptic(8, 1.0, 40.0) fil=analogfilter(responsetype, designmethod) rng=range(3100…

---

## [Help me model event of pandemic proportion](https://discourse.julialang.org/t/help-me-model-event-of-pandemic-proportion/33831)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 7\
**Last updated:** [January 27, 2020, 4:30am UTC](https://discourse.julialang.org/t/help-me-model-event-of-pandemic-proportion/33831 "2020-01-27T04:30:00Z")

</div>

Please help me model the event of global cases of coronavirus with a Logistic function. I am trying the find the values of these three parameters L X0 (X\_zero) k $ cat data.txt 17.0,41.0 19.0,62.0 20.0,201.0 2…

---

## [Can't differentiate loopinfo expression when trying to compute second order derivatives using Flux and Distributions](https://discourse.julialang.org/t/cant-differentiate-loopinfo-expression-when-trying-to-compute-second-order-derivatives-using-flux-and-distributions/33818)

<div class="topic-metadata">

**Author:** [@hsm207](https://discourse.julialang.org/u/hsm207)\
**Replies:** 0\
**Last updated:** [January 26, 2020, 7:14pm UTC](https://discourse.julialang.org/t/cant-differentiate-loopinfo-expression-when-trying-to-compute-second-order-derivatives-using-flux-and-distributions/33818 "2020-01-26T19:14:34Z")

</div>

I am trying to compute the maximum a posterior (MAP) estimate and want to get the hessian of the log likelihood too. This is what I have tried with respect to computing the Hessian: using Flux, Distributions prior\_mean…

---

## [Listing all names available in a module, part 2](https://discourse.julialang.org/t/listing-all-names-available-in-a-module-part-2/33796)

<div class="topic-metadata">

**Author:** [@gcv](https://discourse.julialang.org/u/gcv)\
**Replies:** 2\
**Last updated:** [January 27, 2020, 12:46am UTC](https://discourse.julialang.org/t/listing-all-names-available-in-a-module-part-2/33796 "2020-01-27T00:46:50Z")

</div>

Follow-up to Listing all names available in a module. I need a way to introspect all names available in a module, including names implicitly brought in with using. The names function is helpful, but does not go all the …

---

## [Local thread memory in GPU using StaticArrays](https://discourse.julialang.org/t/local-thread-memory-in-gpu-using-staticarrays/33761)

<div class="topic-metadata">

**Author:** [@alvrg](https://discourse.julialang.org/u/alvrg)\
**Replies:** 4\
**Last updated:** [January 26, 2020, 11:25pm UTC](https://discourse.julialang.org/t/local-thread-memory-in-gpu-using-staticarrays/33761 "2020-01-26T23:25:20Z")

</div>

Hi all, I want to write a CUDA kernel that uses some local memory per thread. I read here and here that a possible way to do it is using StaticArrays, but I couldn’t find a MWE of this. The code I want to run is this, …

---

## [Vectors with different out-of-bounds behavior](https://discourse.julialang.org/t/vectors-with-different-out-of-bounds-behavior/33817)

<div class="topic-metadata">

**Author:** [@leiteiro](https://discourse.julialang.org/u/leiteiro)\
**Replies:** 5\
**Last updated:** [January 26, 2020, 9:20pm UTC](https://discourse.julialang.org/t/vectors-with-different-out-of-bounds-behavior/33817 "2020-01-26T21:20:27Z")

</div>

Consider integer vectors, Ivect(n) = Vector{Int}(undef, n). If you access a vector A = Ivect(n) with indices \< 1 or \> n, a BoundsError is thrown. How can you introduce an integer vector type that simply returns 0 in t…

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

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