# Latest

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

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

**Page:** 1853

---

## [Filter() drop elements of a tuple with singleton doesn't work](https://discourse.julialang.org/t/filter-drop-elements-of-a-tuple-with-singleton-doesnt-work/32896)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 7\
**Last updated:** [January 2, 2020, 10:16pm UTC](https://discourse.julialang.org/t/filter-drop-elements-of-a-tuple-with-singleton-doesnt-work/32896 "2020-01-02T22:16:22Z")

</div>

I want to remove some models in tuple “dropm”, from a list of models “mList”. This fails when the tuple “dropm” is a singleton. It only works if “dropm” is a Vector{string}. I want it to work if “dropm” is a tuple. m…

---

## [Feedback for an API-wrapper](https://discourse.julialang.org/t/feedback-for-an-api-wrapper/32888)

<div class="topic-metadata">

**Author:** [@R.Heijmann](https://discourse.julialang.org/u/R.Heijmann)\
**Replies:** 1\
**Last updated:** [January 2, 2020, 8:36pm UTC](https://discourse.julialang.org/t/feedback-for-an-api-wrapper/32888 "2020-01-02T20:36:56Z")

</div>

Hi there, I discovered Julia just a couple of hours ago. And wanted to give it a try. Could you give me feedback for my AccuWeather API-wrapper. I still have to find a way to make a few arguments optional. Some addition…

---

## [Web browsing, button clicks, and login. Is it possible by Julia?](https://discourse.julialang.org/t/web-browsing-button-clicks-and-login-is-it-possible-by-julia/32882)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 1\
**Last updated:** [January 2, 2020, 7:12pm UTC](https://discourse.julialang.org/t/web-browsing-button-clicks-and-login-is-it-possible-by-julia/32882 "2020-01-02T19:12:08Z")

</div>

Would you suggest how I can not just parse HTML page but browse it, but clicking buttons, filling fields, and others? Thank you in advance.

---

## [Does 'gradient' allocate?](https://discourse.julialang.org/t/does-gradient-allocate/32880)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 1\
**Last updated:** [January 2, 2020, 6:10pm UTC](https://discourse.julialang.org/t/does-gradient-allocate/32880 "2020-01-02T18:10:33Z")

</div>

In a call such as g = gradient(loss, ps) , where ps is a Params object (see for instance this line: Flux.jl/train.jl at e92da0cf850a982c425b83c92d6274174e52b02c · FluxML/Flux.jl · GitHub), am I allocating a new vector fo…

---

## [New Julialang.org Website Repo and Test Url (https://julialang.io)](https://discourse.julialang.org/t/new-julialang-org-website-repo-and-test-url-https-julialang-io/32863)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 13\
**Last updated:** [January 2, 2020, 6:00pm UTC](https://discourse.julialang.org/t/new-julialang-org-website-repo-and-test-url-https-julialang-io/32863 "2020-01-02T18:00:40Z")

</div>

Happy New Year Everyone! With the new year comes a new repository to host the Julialang.org website. The new repository and website will be using Hugo rather than Jekyll. We are currently testing and squashing some fina…

---

## [Calculating Driving Distance between two waypoints](https://discourse.julialang.org/t/calculating-driving-distance-between-two-waypoints/32866)

<div class="topic-metadata">

**Author:** [@Dervis](https://discourse.julialang.org/u/Dervis)\
**Replies:** 5\
**Last updated:** [January 2, 2020, 5:50pm UTC](https://discourse.julialang.org/t/calculating-driving-distance-between-two-waypoints/32866 "2020-01-02T17:50:08Z")

</div>

Dear all, I wonder if there is any way to calculate driving distance and driving time between two waypoints? I have checked Googlemaps Distance Matrix API, but I couldn’t find any solid example that is used in Julia. A…

---

## [Confused with @time result for simple addtion of arrays](https://discourse.julialang.org/t/confused-with-time-result-for-simple-addtion-of-arrays/32834)

<div class="topic-metadata">

**Author:** [@balabi](https://discourse.julialang.org/u/balabi)\
**Replies:** 9\
**Last updated:** [January 2, 2020, 4:43pm UTC](https://discourse.julialang.org/t/confused-with-time-result-for-simple-addtion-of-arrays/32834 "2020-01-02T16:43:33Z")

</div>

Hello, I am new to julia. I just installed the latest julia 1.3.1, and then run several small timings. First I define a=\[1,2,3\] Then timing the first time @time a+a it outputs 0.073568 seconds (231.55 k allocations…

---

## [VS Code extension v0.13.0 release candidate](https://discourse.julialang.org/t/vs-code-extension-v0-13-0-release-candidate/32360)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 42\
**Last updated:** [January 2, 2020, 4:06pm UTC](https://discourse.julialang.org/t/vs-code-extension-v0-13-0-release-candidate/32360 "2020-01-02T16:06:36Z")

</div>

We just finished a release candidate v0.13.0.rc.3 for the Julia extension for VS code here. We’d much appreciate it if we could get some testers to try it out and give feedback on bugs before we release it to the marketp…

---

## [Problem installing IJulia for 1.3.1 on Windows 10](https://discourse.julialang.org/t/problem-installing-ijulia-for-1-3-1-on-windows-10/32853)

<div class="topic-metadata">

**Author:** [@floriano](https://discourse.julialang.org/u/floriano)\
**Replies:** 2\
**Last updated:** [January 2, 2020, 2:42pm UTC](https://discourse.julialang.org/t/problem-installing-ijulia-for-1-3-1-on-windows-10/32853 "2020-01-02T14:42:52Z")

</div>

Good evening, I had Julia 1.2.0 running with IJulia. Now I tried updating to 1.3.1 After installing 1.3.1 I tried to add IJulia, but it fails. Complete fresh installs also do not help. I also cannot reinstall 1.2.0 wit…

---

## [Docker image with compiled packages for instant loading!](https://discourse.julialang.org/t/docker-image-with-compiled-packages-for-instant-loading/32871)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [January 2, 2020, 12:36pm UTC](https://discourse.julialang.org/t/docker-image-with-compiled-packages-for-instant-loading/32871 "2020-01-02T12:36:47Z")

</div>

I have been learning docker and made this docker image with Julia installed and many data science packages that I use precompiled for instant loading! Check it out here: https://hub.docker.com/r/xiaodaidocker2019/julia-…

---

## [Package for mathematical functions?](https://discourse.julialang.org/t/package-for-mathematical-functions/32861)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 12\
**Last updated:** [January 2, 2020, 11:39am UTC](https://discourse.julialang.org/t/package-for-mathematical-functions/32861 "2020-01-02T11:39:15Z")

</div>

Is there a package for manipulating (mathematical) functions? I often find myself manipulating functions in algorithms. For example, I often create the function sum f+g with domain(f+g) = domain(f) ∩ domain(g) such that (…

---

## [Optimizing Calculation in Julia compared to C (New to Julia)](https://discourse.julialang.org/t/optimizing-calculation-in-julia-compared-to-c-new-to-julia/32723)

<div class="topic-metadata">

**Author:** [@loki](https://discourse.julialang.org/u/loki)\
**Replies:** 25\
**Last updated:** [January 1, 2020, 10:34pm UTC](https://discourse.julialang.org/t/optimizing-calculation-in-julia-compared-to-c-new-to-julia/32723 "2020-01-01T22:34:13Z")

</div>

Hello, just starting to make the switch to Julia from Matlab/C. I’ve been reading up on the speed advantages of Julia and recognize the power that can be wielded in the right hands. I was hoping I could receive some poin…

---

## [Complex Uniform Distribution between 1+0im and 2+0im](https://discourse.julialang.org/t/complex-uniform-distribution-between-1-0im-and-2-0im/32831)

<div class="topic-metadata">

**Author:** [@Amin\_Yahyaabadi](https://discourse.julialang.org/u/Amin_Yahyaabadi)\
**Replies:** 7\
**Last updated:** [January 2, 2020, 9:11am UTC](https://discourse.julialang.org/t/complex-uniform-distribution-between-1-0im-and-2-0im/32831 "2020-01-02T09:11:23Z")

</div>

I am trying to extend Uniform so rand can generate random numbers for Complex types (to test IntelVectorMath library for Complex types) # zeros like syntax function Distributions.Uniform(::Type{T}, a, b) where {T \<: Rea…

---

## [How to garbage collect pacakges regardless or last used date?](https://discourse.julialang.org/t/how-to-garbage-collect-pacakges-regardless-or-last-used-date/32865)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 6\
**Last updated:** [January 2, 2020, 7:17am UTC](https://discourse.julialang.org/t/how-to-garbage-collect-pacakges-regardless-or-last-used-date/32865 "2020-01-02T07:17:15Z")

</div>

I recall reading somewhere that \]gc is conservative and only remove packages that haven’t been used in the last 1 month. My question how do I do it more aggressively so that I can remove a package that is no longer requ…

---

## [Interrupts and \`@spawn\` with \`ccall\`](https://discourse.julialang.org/t/interrupts-and-spawn-with-ccall/32864)

<div class="topic-metadata">

**Author:** [@ssfrr](https://discourse.julialang.org/u/ssfrr)\
**Replies:** 1\
**Last updated:** [January 2, 2020, 4:43am UTC](https://discourse.julialang.org/t/interrupts-and-spawn-with-ccall/32864 "2020-01-02T04:43:00Z")

</div>

I’m calling some C code many times in a loop, and I expect it to spend a lot of its time blocked. To let other Julia tasks take control while my C code is blocked I’m using @spawn, then fetching the result: fetch(Th…

---

## [Why is automerge failing](https://discourse.julialang.org/t/why-is-automerge-failing/32859)

<div class="topic-metadata">

**Author:** [@colintbowers](https://discourse.julialang.org/u/colintbowers)\
**Replies:** 2\
**Last updated:** [January 2, 2020, 4:32am UTC](https://discourse.julialang.org/t/why-is-automerge-failing/32859 "2020-01-02T04:32:08Z")

</div>

Hi all, I’m trying to submit a minor version increment for my registered package ForecastEval. Unfortunately automerge keeps failing. The PR to JuliaRegistries is here. Originally, I could see from the output that auto…

---

## [How to conditionally select values in a dataframe and insert to a new column](https://discourse.julialang.org/t/how-to-conditionally-select-values-in-a-dataframe-and-insert-to-a-new-column/32860)

<div class="topic-metadata">

**Author:** [@Hmz](https://discourse.julialang.org/u/Hmz)\
**Replies:** 6\
**Last updated:** [January 2, 2020, 3:00am UTC](https://discourse.julialang.org/t/how-to-conditionally-select-values-in-a-dataframe-and-insert-to-a-new-column/32860 "2020-01-02T03:00:36Z")

</div>

Hi everyone, I am trying to create a new dataframe column based on numeric conditions, but cannot seem to figure out the correct syntax to achieve this. For example, to reproduce the issue Source df ptable = DataFra…

---

## [Using PyCall to call iminuit](https://discourse.julialang.org/t/using-pycall-to-call-iminuit/32819)

<div class="topic-metadata">

**Author:** [@zwwi](https://discourse.julialang.org/u/zwwi)\
**Replies:** 4\
**Last updated:** [January 2, 2020, 12:57am UTC](https://discourse.julialang.org/t/using-pycall-to-call-iminuit/32819 "2020-01-02T00:57:12Z")

</div>

Hello, I’m working in high energy physics, and there is a package called MINUIT, https://seal.web.cern.ch/seal/snapshot/work-packages/mathlibs/minuit/, that is commonly used in the field for Function Minimization and Err…

---

## ["Double" build when adding unregistered dependency](https://discourse.julialang.org/t/double-build-when-adding-unregistered-dependency/32851)

<div class="topic-metadata">

**Author:** [@Crown421](https://discourse.julialang.org/u/Crown421)\
**Replies:** 2\
**Last updated:** [January 1, 2020, 11:52pm UTC](https://discourse.julialang.org/t/double-build-when-adding-unregistered-dependency/32851 "2020-01-01T23:52:52Z")

</div>

Happy new year, which I so far have spent with moving my tests from Travis to GitHub Actions. After finally getting it somewhere, I ran into a problem which I already had on Travis. When using a unregistered package, i…

---

## [Unintuitive behavior of package update with --fixed](https://discourse.julialang.org/t/unintuitive-behavior-of-package-update-with-fixed/32855)

<div class="topic-metadata">

**Author:** [@bicycle1885](https://discourse.julialang.org/u/bicycle1885)\
**Replies:** 2\
**Last updated:** [January 1, 2020, 11:39pm UTC](https://discourse.julialang.org/t/unintuitive-behavior-of-package-update-with-fixed/32855 "2020-01-01T23:39:37Z")

</div>

Hi, I found a weird behavior of the update command in Pkg.jl, which looks a bug to me. But I’m not perfectly sure so let me ask here before filing an issue on the repository. Imagine a situation where you have DataStru…

---

## [Artifacts.toml timestamp is in the future](https://discourse.julialang.org/t/artifacts-toml-timestamp-is-in-the-future/32047)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 23\
**Last updated:** [January 1, 2020, 9:42pm UTC](https://discourse.julialang.org/t/artifacts-toml-timestamp-is-in-the-future/32047 "2020-01-01T21:42:57Z")

</div>

What’s up with this? time stamp 2019-12-09 08:40:51 is 0.244783138 s in the future tar: JuliaBinaryWrappers-Wayland\_protocols\_jll.jl-d53533e/Artifacts.toml: time stamp 2019-12-09 08:40:51 is 0.244783138 s in the future …

---

## [CPU benchmarks](https://discourse.julialang.org/t/cpu-benchmarks/32846)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 3\
**Last updated:** [January 1, 2020, 9:10pm UTC](https://discourse.julialang.org/t/cpu-benchmarks/32846 "2020-01-01T21:10:17Z")

</div>

I am looking for current server CPU benchmarks for HPC computing, any sources? This is not only for Julia but also library code (BLAS, FFT, etc.) and other programming languages (mostly interpreted ones, such as R and Py…

---

## [Visual Code unit tests missing reference](https://discourse.julialang.org/t/visual-code-unit-tests-missing-reference/32850)

<div class="topic-metadata">

**Author:** [@jandehaan](https://discourse.julialang.org/u/jandehaan)\
**Replies:** 0\
**Last updated:** [January 1, 2020, 3:43pm UTC](https://discourse.julialang.org/t/visual-code-unit-tests-missing-reference/32850 "2020-01-01T15:43:56Z")

</div>

I’m using Visual Studio Code to develop my Julia package. My runtests.jl file contains the following: using mypackage using Test include("test\_module1.jl") All unit tests in file test\_module1.jl pass. So there is no p…

---

## [A document for generated functions and generalized generated functions](https://discourse.julialang.org/t/a-document-for-generated-functions-and-generalized-generated-functions/32845)

<div class="topic-metadata">

**Author:** [@thautwarm](https://discourse.julialang.org/u/thautwarm)\
**Replies:** 0\
**Last updated:** [January 1, 2020, 11:18am UTC](https://discourse.julialang.org/t/a-document-for-generated-functions-and-generalized-generated-functions/32845 "2020-01-01T11:18:32Z")

</div>

EDIT: the document is https://github.com/thautwarm/GeneralizedGenerated.jl/blob/master/capabilities.md I’m working on some writing for @cscherrer 's Soss, and I think I’ve written a good document for the topics of gener…

---

## [Error in Flux v0.10.0 tutorial](https://discourse.julialang.org/t/error-in-flux-v0-10-0-tutorial/32595)

<div class="topic-metadata">

**Author:** [@yuxi.liu](https://discourse.julialang.org/u/yuxi.liu)\
**Replies:** 1\
**Last updated:** [January 1, 2020, 7:59am UTC](https://discourse.julialang.org/t/error-in-flux-v0-10-0-tutorial/32595 "2020-01-01T07:59:40Z")

</div>

I’m trying the Flux tutorial Basics · Flux and got weird error: using Flux W = rand(2, 5) b = rand(2) predict(x) = W\*x .+ bfunction loss(x, y) ŷ = predict(x) sum((y .- ŷ).^2) endx, y = rand(5), rand(2)gs = gradient(() -\>…

---

## [Projects recommendation](https://discourse.julialang.org/t/projects-recommendation/32794)

<div class="topic-metadata">

**Author:** [@Ali\_Mamdouh](https://discourse.julialang.org/u/Ali_Mamdouh)\
**Replies:** 2\
**Last updated:** [January 1, 2020, 3:57am UTC](https://discourse.julialang.org/t/projects-recommendation/32794 "2020-01-01T03:57:20Z")

</div>

Hello, i am a cs student who is willing to participate in gsoc 2020 with julia, i have been doing mit distributed systems assignments-implementing raft and a kv store on it -and i have found it an interesting and usef…

---

## [DiffEqFlux neural\_ode used with Flux.Train! is slower on GPU than CPU](https://discourse.julialang.org/t/diffeqflux-neural-ode-used-with-flux-train-is-slower-on-gpu-than-cpu/32830)

<div class="topic-metadata">

**Author:** [@charlie\_strauss](https://discourse.julialang.org/u/charlie_strauss)\
**Replies:** 0\
**Last updated:** [December 31, 2019, 7:47pm UTC](https://discourse.julialang.org/t/diffeqflux-neural-ode-used-with-flux-train-is-slower-on-gpu-than-cpu/32830 "2019-12-31T19:47:45Z")

</div>

\*\*\*It appears Flux training of the DiffEqFlux Package method neural\_ode is incompatible with (fast) GPU operations, But I’m hoping that perhaps I’m doing something wrong and you can point me to example code where gpu op…

---

## [Fortuna cryptographically secure pseudo random number generator (generator only) available](https://discourse.julialang.org/t/fortuna-cryptographically-secure-pseudo-random-number-generator-generator-only-available/32832)

<div class="topic-metadata">

**Author:** [@mleisher](https://discourse.julialang.org/u/mleisher)\
**Replies:** 0\
**Last updated:** [December 31, 2019, 11:05pm UTC](https://discourse.julialang.org/t/fortuna-cryptographically-secure-pseudo-random-number-generator-generator-only-available/32832 "2019-12-31T23:05:59Z")

</div>

My first attempt at a working Fortuna PRNG (generator only, no seed file or entropy accumulator) can be found in my collection of tidbits as Fortuna.jl.

---

## [Performance issue with broadcasting of custom array wrapper wrapping a CuArray](https://discourse.julialang.org/t/performance-issue-with-broadcasting-of-custom-array-wrapper-wrapping-a-cuarray/32818)

<div class="topic-metadata">

**Author:** [@Sleort](https://discourse.julialang.org/u/Sleort)\
**Replies:** 5\
**Last updated:** [December 31, 2019, 6:41pm UTC](https://discourse.julialang.org/t/performance-issue-with-broadcasting-of-custom-array-wrapper-wrapping-a-cuarray/32818 "2019-12-31T18:41:39Z")

</div>

Background I’m trying to make my own array (wrapper) type that can be used both on CPUs and GPUs. Here’s a minimal example: struct MyWrapper{T,N,A\<:AbstractArray{T,N}} \<: AbstractArray{T,N} data::A end # Basic Abst…

---

## [A tip and a question about Juno's slow typing experience due to auto-completion (on less powerful machines)](https://discourse.julialang.org/t/a-tip-and-a-question-about-junos-slow-typing-experience-due-to-auto-completion-on-less-powerful-machines/32826)

<div class="topic-metadata">

**Author:** [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Replies:** 0\
**Last updated:** [December 31, 2019, 4:55pm UTC](https://discourse.julialang.org/t/a-tip-and-a-question-about-junos-slow-typing-experience-due-to-auto-completion-on-less-powerful-machines/32826 "2019-12-31T16:55:41Z")

</div>

My issued work laptop is unfortunately not powerful: i7-6600U @ 2.6 GHz, with 16GB RAM. I enjoy Juno’s many IDE features, but Juno is slower compared to VS Code (let alone Sublime Text). Usually I can tolerate that for …

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

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