# Latest

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

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

**Page:** 1603

---

## [A couple questions on compiler latency and method invalidation](https://discourse.julialang.org/t/a-couple-questions-on-compiler-latency-and-method-invalidation/48260)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 8\
**Last updated:** [October 15, 2020, 8:11am UTC](https://discourse.julialang.org/t/a-couple-questions-on-compiler-latency-and-method-invalidation/48260 "2020-10-15T08:11:38Z")

</div>

I’ve been looking up compiler latency in Julia after reading the blog post on decreasing method invalidation in version 1.6 \[Analyzing sources of compiler latency in Julia: method invalidations\]. I think I sort of got th…

---

## [BinaryHeap Error in DifferentialEquations](https://discourse.julialang.org/t/binaryheap-error-in-differentialequations/48308)

<div class="topic-metadata">

**Author:** [@khannay](https://discourse.julialang.org/u/khannay)\
**Replies:** 19\
**Last updated:** [October 14, 2020, 9:33pm UTC](https://discourse.julialang.org/t/binaryheap-error-in-differentialequations/48308 "2020-10-14T21:33:31Z")

</div>

Hello, I am having a lot of problems trying to resolve an issue with DifferentialEquations.jl in a package I am developing. For the example code from the docs using DifferentialEquations, Plots function lorenz!(du,u,…

---

## [How to Parse Date or Time in multiple possible format?](https://discourse.julialang.org/t/how-to-parse-date-or-time-in-multiple-possible-format/30851)

<div class="topic-metadata">

**Author:** [@Eric\_Chen](https://discourse.julialang.org/u/Eric_Chen)\
**Replies:** 5\
**Last updated:** [November 8, 2019, 6:26am UTC](https://discourse.julialang.org/t/how-to-parse-date-or-time-in-multiple-possible-format/30851 "2019-11-08T06:26:14Z")

</div>

My user upload a CSV file with “Time” column Sometimes could be HHMMSS, sometimes could be HH:MM:SS, sometimes could be other format, like HHMM. How can I read the CSV file and automatically convert the “Time” column t…

---

## [How to declare a binary variable in a robust model?](https://discourse.julialang.org/t/how-to-declare-a-binary-variable-in-a-robust-model/48367)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 8:35pm UTC](https://discourse.julialang.org/t/how-to-declare-a-binary-variable-in-a-robust-model/48367 "2020-10-14T20:35:36Z")

</div>

Why is it that whenever I try to compile a binary variable, Julia returns this error to me? In @variable(ModeloD,b\[A\],lower\_bound = 0,Bin): Unrecognized keyword argument lower\_bound Is there a different way of putting…

---

## [How to fix Excessive output truncated?](https://discourse.julialang.org/t/how-to-fix-excessive-output-truncated/48384)

<div class="topic-metadata">

**Author:** [@Arega\_Getaneh](https://discourse.julialang.org/u/Arega_Getaneh)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 7:58pm UTC](https://discourse.julialang.org/t/how-to-fix-excessive-output-truncated/48384 "2020-10-14T19:58:26Z")

</div>

Excessive output truncated after 9670023 bytes.

---

## [JuliaComputing profit / non-profit tensions?](https://discourse.julialang.org/t/juliacomputing-profit-non-profit-tensions/48242)

<div class="topic-metadata">

**Author:** [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Replies:** 60\
**Last updated:** [October 14, 2020, 7:18pm UTC](https://discourse.julialang.org/t/juliacomputing-profit-non-profit-tensions/48242 "2020-10-14T19:18:46Z")

</div>

Hey All, I’m an instructor teaching in a Data Science program, and have recently discovered a bit of an… odd situation related to the for-profit side of Julia. I mostly teach Python (it’s the first language of data sci…

---

## [ScikitLearn: how to import experimental estimator Histogram-Based Gradient Boosting?](https://discourse.julialang.org/t/scikitlearn-how-to-import-experimental-estimator-histogram-based-gradient-boosting/48381)

<div class="topic-metadata">

**Author:** [@Petra](https://discourse.julialang.org/u/Petra)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 7:12pm UTC](https://discourse.julialang.org/t/scikitlearn-how-to-import-experimental-estimator-histogram-based-gradient-boosting/48381 "2020-10-14T19:12:31Z")

</div>

How can I use the ScikitLearn’s experimental estimator “Histogram-Based Gradient Boosting” in Julia? According to the ScikitLearn Documentation, first from experimental one has to import “enable\_hist\_gradient\_boosting” …

---

## [Not understanding iterators and lazy evaluation](https://discourse.julialang.org/t/not-understanding-iterators-and-lazy-evaluation/48322)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 11\
**Last updated:** [October 14, 2020, 6:23pm UTC](https://discourse.julialang.org/t/not-understanding-iterators-and-lazy-evaluation/48322 "2020-10-14T18:23:13Z")

</div>

Let’s say I have a big array: big = rand(1:4, 8\_000\_000) I have a loop that will run 180 times and filter big and do something with the results. Each time I filter big, the result vector will be a different size (trivi…

---

## [General question on GPU Programming and on how to use low level C API](https://discourse.julialang.org/t/general-question-on-gpu-programming-and-on-how-to-use-low-level-c-api/39526)

<div class="topic-metadata">

**Author:** [@Olivier\_Gagnon](https://discourse.julialang.org/u/Olivier_Gagnon)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 6:22pm UTC](https://discourse.julialang.org/t/general-question-on-gpu-programming-and-on-how-to-use-low-level-c-api/39526 "2020-10-14T18:22:12Z")

</div>

Hey everyone, I just started to learn GPU Programming (and also rather new to Julia). I am currently trying to go through Cuda by Example but reproducing everything in Julia. I would have 2 questions (everything is exe…

---

## [PlotlyJS click](https://discourse.julialang.org/t/plotlyjs-click/48380)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 0\
**Last updated:** [October 14, 2020, 6:11pm UTC](https://discourse.julialang.org/t/plotlyjs-click/48380 "2020-10-14T18:11:48Z")

</div>

Sometimes I need to get data from figure by clicking on data point. Usually I use PyPlot.ginput(n) This approach is not suitable when one work with remote VS Code session where no gui is available. To this end I love …

---

## [Struggling to express iterator that returns an index](https://discourse.julialang.org/t/struggling-to-express-iterator-that-returns-an-index/48378)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 6:10pm UTC](https://discourse.julialang.org/t/struggling-to-express-iterator-that-returns-an-index/48378 "2020-10-14T18:10:09Z")

</div>

This is a follow-on to another post–\> with a more specific question. for the array big = hcat(rand(1:4,2\_000\_000), rand(1:5, 2\_000\_000)) I want to get the index for a filter on the first column in order to index the val…

---

## [Procedures for package renaming, deletion and deprecation](https://discourse.julialang.org/t/procedures-for-package-renaming-deletion-and-deprecation/48108)

<div class="topic-metadata">

**Author:** [@citkane](https://discourse.julialang.org/u/citkane)\
**Replies:** 15\
**Last updated:** [October 14, 2020, 5:21pm UTC](https://discourse.julialang.org/t/procedures-for-package-renaming-deletion-and-deprecation/48108 "2020-10-14T17:21:00Z")

</div>

I want to highlight a recent experience regarding this subject and offer some criticism and suggestions in the spirit of improving the Julia ecosystem. A few days ago I registered a new websocket (generic tech term) lib…

---

## [Need help fixing Gibbs Sampler using DArrays](https://discourse.julialang.org/t/need-help-fixing-gibbs-sampler-using-darrays/48374)

<div class="topic-metadata">

**Author:** [@ggarza](https://discourse.julialang.org/u/ggarza)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 3:24pm UTC](https://discourse.julialang.org/t/need-help-fixing-gibbs-sampler-using-darrays/48374 "2020-10-14T15:24:18Z")

</div>

Hi everyone, I’m giving a first steps demonstration to some colleagues. However, I am not an expert in Julia. I wanted to show a simple example of distributed computing with Julia. This is the example that I want to sho…

---

## [MD with Subarrays and CuArrays](https://discourse.julialang.org/t/md-with-subarrays-and-cuarrays/48334)

<div class="topic-metadata">

**Author:** [@bmit](https://discourse.julialang.org/u/bmit)\
**Replies:** 5\
**Last updated:** [October 14, 2020, 3:08pm UTC](https://discourse.julialang.org/t/md-with-subarrays-and-cuarrays/48334 "2020-10-14T15:08:10Z")

</div>

A view of a CuArray has type SubArray. This means a=CUDA.zeros(3,2) b=view(a,:,1) typeof(b) \<: CuArray false If I use multiple dispatch to execute a function on the CPU or GPU depending on the type of the input then…

---

## [\[ANN\] SimpleWebsockets - renamed from \`Websocket\`](https://discourse.julialang.org/t/ann-simplewebsockets-renamed-from-websocket/48050)

<div class="topic-metadata">

**Author:** [@citkane](https://discourse.julialang.org/u/citkane)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 2:31pm UTC](https://discourse.julialang.org/t/ann-simplewebsockets-renamed-from-websocket/48050 "2020-10-14T14:31:00Z")

</div>

SimpleWebsockets.jl This is a rename of Websocket in order to avoid confusion with the existing WebSockets package. using Pkg Pkg.add("SimpleWebsockets") Basic usage server: using SimpleWebsockets server = Webso…

---

## [Tools for cloud computing (AWS, Azure, Google Cloud) with Julia (known to me as of Oct 2020)](https://discourse.julialang.org/t/tools-for-cloud-computing-aws-azure-google-cloud-with-julia-known-to-me-as-of-oct-2020/48368)

<div class="topic-metadata">

**Author:** [@nickeubank](https://discourse.julialang.org/u/nickeubank)\
**Replies:** 0\
**Last updated:** [October 14, 2020, 2:26pm UTC](https://discourse.julialang.org/t/tools-for-cloud-computing-aws-azure-google-cloud-with-julia-known-to-me-as-of-oct-2020/48368 "2020-10-14T14:26:53Z")

</div>

Azure: Azure API interface in Julia: like Azure CLI, but in Julia. Best set of Azure tools I’ve found (thanks Chevron!): AzManagers (standup VMs and scaled clusters), AzSessions (manage authentication into Azure se…

---

## [Unitful: convert frequency to wavenumber](https://discourse.julialang.org/t/unitful-convert-frequency-to-wavenumber/48312)

<div class="topic-metadata">

**Author:** [@asubedi](https://discourse.julialang.org/u/asubedi)\
**Replies:** 3\
**Last updated:** [October 14, 2020, 2:22pm UTC](https://discourse.julialang.org/t/unitful-convert-frequency-to-wavenumber/48312 "2020-10-14T14:22:08Z")

</div>

I am trying to convert frequency in THz to wavenumber in cm^-1 by doing uconvert(1THz / c0, 1.0u"cm^-1"). But I get the following error: ERROR: MethodError: no method matching uconvert(::Quantity{Float64,𝐋⁻¹,Unitful.Fr…

---

## [How to integrate Julia function into pre-existing web app?](https://discourse.julialang.org/t/how-to-integrate-julia-function-into-pre-existing-web-app/25200)

<div class="topic-metadata">

**Author:** [@MarkovChains](https://discourse.julialang.org/u/MarkovChains)\
**Replies:** 6\
**Last updated:** [October 14, 2020, 12:28pm UTC](https://discourse.julialang.org/t/how-to-integrate-julia-function-into-pre-existing-web-app/25200 "2020-10-14T12:28:06Z")

</div>

I have absolutely no experience with web development stuff (I mostly just do backend stuff), so please forgive me if this is a naive question. My company has a web application written in C#, and I’d like to have it util…

---

## [How to use colon based range syntax with other types?](https://discourse.julialang.org/t/how-to-use-colon-based-range-syntax-with-other-types/48346)

<div class="topic-metadata">

**Author:** [@schrpe](https://discourse.julialang.org/u/schrpe)\
**Replies:** 5\
**Last updated:** [October 14, 2020, 12:26pm UTC](https://discourse.julialang.org/t/how-to-use-colon-based-range-syntax-with-other-types/48346 "2020-10-14T12:26:43Z")

</div>

Hi, I’m still making my first steps with Julia. I have the need for a Range type struct in my code. First I tried to use UnitRange{Int64}. Later I found out that for my needs some of the predefined functions on UnitRang…

---

## [Port Julia to AIX: How to do?](https://discourse.julialang.org/t/port-julia-to-aix-how-to-do/47868)

<div class="topic-metadata">

**Author:** [@trex58](https://discourse.julialang.org/u/trex58)\
**Replies:** 6\
**Last updated:** [October 14, 2020, 12:01pm UTC](https://discourse.julialang.org/t/port-julia-to-aix-how-to-do/47868 "2020-10-14T12:01:00Z")

</div>

Hi, My first question in Julia forum. I hope I’m using the correct category. I’m studying the port of Julia to AIX/PowerPC64. I’ve already searched for some information about: HowToPort, but I found nothing. Is there a…

---

## [Organizing local Julia code into modules and/or packages](https://discourse.julialang.org/t/organizing-local-julia-code-into-modules-and-or-packages/48350)

<div class="topic-metadata">

**Author:** [@Niclas\_Wiberg](https://discourse.julialang.org/u/Niclas_Wiberg)\
**Replies:** 7\
**Last updated:** [October 14, 2020, 11:30am UTC](https://discourse.julialang.org/t/organizing-local-julia-code-into-modules-and-or-packages/48350 "2020-10-14T11:30:13Z")

</div>

I’m trying to understand how to best work with local julia modules. Our project is in C++ but we use Julia for testing, partly because it is convenient to generate and verify the complex input/output data we are dealing…

---

## [Julia 1.4.2 memory cleaning error? Windows?](https://discourse.julialang.org/t/julia-1-4-2-memory-cleaning-error-windows/48347)

<div class="topic-metadata">

**Author:** [@timmm](https://discourse.julialang.org/u/timmm)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 11:11am UTC](https://discourse.julialang.org/t/julia-1-4-2-memory-cleaning-error-windows/48347 "2020-10-14T11:11:20Z")

</div>

Hi all, I am using a script in julia 1.4.2 at the moment such as: x=\[1 2 3 4 5\] for i=1:5 func(x\[i\]) end where ‘func’ is a function creating and using a dense large matrix (arrox 12GB) (mutable), which is close to my …

---

## [PlotlyJS vs Plots+plotlyjs()](https://discourse.julialang.org/t/plotlyjs-vs-plots-plotlyjs/46179)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 12\
**Last updated:** [October 14, 2020, 10:45am UTC](https://discourse.julialang.org/t/plotlyjs-vs-plots-plotlyjs/46179 "2020-10-14T10:45:00Z")

</div>

I like the Plots package together with plotlyjs backend for interactivity. But when compare to pure PlotlyJS package I see some drawbacks. Figure from Plots has defined size and in PlotlyJS the size of the figure chang…

---

## [Vcat vs push!, which one is more efficient](https://discourse.julialang.org/t/vcat-vs-push-which-one-is-more-efficient/48353)

<div class="topic-metadata">

**Author:** [@fdamore](https://discourse.julialang.org/u/fdamore)\
**Replies:** 3\
**Last updated:** [October 14, 2020, 10:38am UTC](https://discourse.julialang.org/t/vcat-vs-push-which-one-is-more-efficient/48353 "2020-10-14T10:38:25Z")

</div>

Hi everybody, I’m still a Julia newbie, so don’t be angry at me for silly questions. I’m wondering whenever I should use vcat or push! to append elements to arrays. For example, let’s say I have one array a = zeros(10…

---

## [Sortperm issue?](https://discourse.julialang.org/t/sortperm-issue/48351)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 9:25am UTC](https://discourse.julialang.org/t/sortperm-issue/48351 "2020-10-14T09:25:04Z")

</div>

I work with Julia 1.5.1 on Linux. I have this array x = \[0.3575631591952295; -1.2891687824408367; -0.5123400980902758; -1.61271953171407; 1.0854706981323956; 0.2748568949784879;…

---

## [Julia has exited. Press Enter to start a new session](https://discourse.julialang.org/t/julia-has-exited-press-enter-to-start-a-new-session/28035)

<div class="topic-metadata">

**Author:** [@LutinRose](https://discourse.julialang.org/u/LutinRose)\
**Replies:** 10\
**Last updated:** [October 14, 2020, 8:45am UTC](https://discourse.julialang.org/t/julia-has-exited-press-enter-to-start-a-new-session/28035 "2020-10-14T08:45:50Z")

</div>

Hello, I installed Julia, Atom and Juno-lab on Windows 10 following the steps on the Juno website. Julia is working but not in Atom. When I try to use Julia in atom in the REPL this is what I got: Press Enter to sta…

---

## [Image compressed sensing in Julia](https://discourse.julialang.org/t/image-compressed-sensing-in-julia/48194)

<div class="topic-metadata">

**Author:** [@yusri-dh](https://discourse.julialang.org/u/yusri-dh)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 8:15am UTC](https://discourse.julialang.org/t/image-compressed-sensing-in-julia/48194 "2020-10-14T08:15:47Z")

</div>

Dear all, I want to announce an article about compressed sensing in Julia. Here is the link: Compressed Sensing in Julia This is inspired by a discussion in Compressed Sensing using StructuredOptimization.jl and a sim…

---

## [Multall source code release](https://discourse.julialang.org/t/multall-source-code-release/48208)

<div class="topic-metadata">

**Author:** [@barche](https://discourse.julialang.org/u/barche)\
**Replies:** 4\
**Last updated:** [October 14, 2020, 8:12am UTC](https://discourse.julialang.org/t/multall-source-code-release/48208 "2020-10-14T08:12:23Z")

</div>

Hi all, For those into turbomachinery: since 2017, prof. John Denton has released his Multall design system as open source: https://sites.google.com/site/multallopen/home I haven’t really dug into the details, but thi…

---

## [How to reproduce this example](https://discourse.julialang.org/t/how-to-reproduce-this-example/48296)

<div class="topic-metadata">

**Author:** [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Replies:** 7\
**Last updated:** [October 14, 2020, 8:06am UTC](https://discourse.julialang.org/t/how-to-reproduce-this-example/48296 "2020-10-14T08:06:37Z")

</div>

How to reproduce this example in Julia

---

## [Looking for merge algorithm](https://discourse.julialang.org/t/looking-for-merge-algorithm/47473)

<div class="topic-metadata">

**Author:** [@schrpe](https://discourse.julialang.org/u/schrpe)\
**Replies:** 2\
**Last updated:** [October 14, 2020, 7:49am UTC](https://discourse.julialang.org/t/looking-for-merge-algorithm/47473 "2020-10-14T07:49:57Z")

</div>

Hi, I’m new to Julia coming from a C++ background. I have two sorted arrays and want to merge them, keeping the sort order in the merged result. I’m looking for an algorithm like the STL std::merge, but was unable to f…

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

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