# Latest

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

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

**Page:** 1911

---

## [Crash on examining corrupted text data](https://discourse.julialang.org/t/crash-on-examining-corrupted-text-data/29296)

<div class="topic-metadata">

**Author:** [@rverdier](https://discourse.julialang.org/u/rverdier)\
**Replies:** 5\
**Last updated:** [October 2, 2019, 8:42pm UTC](https://discourse.julialang.org/t/crash-on-examining-corrupted-text-data/29296 "2019-10-02T20:42:38Z")

</div>

\#= badtext.jl: Julia 1.0.3 crash on bad text data under Mac OS 10.14.3 This snippet is from a corrupted text file used in a course exercise I'm writing. =# text = "detract . The world will little note, nor long rem…

---

## [Can this language be used as a gameserver?](https://discourse.julialang.org/t/can-this-language-be-used-as-a-gameserver/29423)

<div class="topic-metadata">

**Author:** [@girng](https://discourse.julialang.org/u/girng)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 6:54pm UTC](https://discourse.julialang.org/t/can-this-language-be-used-as-a-gameserver/29423 "2019-10-02T18:54:33Z")

</div>

I currently am an avid user of Crystal. I fell in love with its syntax and network wrappers. Setting up a TCP Server is super simple, same for storing clients in an Hash, etc. Also the JSON.parse/.to\_json methods they h…

---

## [Determining whether julia is "self-built" or "shipped"](https://discourse.julialang.org/t/determining-whether-julia-is-self-built-or-shipped/29404)

<div class="topic-metadata">

**Author:** [@blaiseli](https://discourse.julialang.org/u/blaiseli)\
**Replies:** 6\
**Last updated:** [October 2, 2019, 5:24pm UTC](https://discourse.julialang.org/t/determining-whether-julia-is-self-built-or-shipped/29404 "2019-10-02T17:24:18Z")

</div>

I have an application whose build using PackageCompiler fails strangely on my workstation when using cpu\_target="x86\_64" (see Understanding runtime errors with PackageCompiler built executables - #5 by blaiseli). If I u…

---

## [Error when setting up Flux and CuArrays](https://discourse.julialang.org/t/error-when-setting-up-flux-and-cuarrays/29079)

<div class="topic-metadata">

**Author:** [@John\_G](https://discourse.julialang.org/u/John_G)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 4:22pm UTC](https://discourse.julialang.org/t/error-when-setting-up-flux-and-cuarrays/29079 "2019-10-02T16:22:32Z")

</div>

I get the following error whenever I run using Flux or using CuArrays, but I haven’t gotten the error when running any other Julia packages so far. Honestly I have no idea what it means or what to do about it, and any he…

---

## [Bucharest Julia Meetup - 9 oct event](https://discourse.julialang.org/t/bucharest-julia-meetup-9-oct-event/29413)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 0\
**Last updated:** [October 2, 2019, 2:52pm UTC](https://discourse.julialang.org/t/bucharest-julia-meetup-9-oct-event/29413 "2019-10-02T14:52:31Z")

</div>

It is my pleasure to announce that the Bucharest Julia Users Group is organizing an event on the 9th of October 2019. The event will feature two presentations (at the moment): Intro to Julia Proof of concept of a Traf…

---

## [Adding packages over SSH](https://discourse.julialang.org/t/adding-packages-over-ssh/29406)

<div class="topic-metadata">

**Author:** [@cshenton](https://discourse.julialang.org/u/cshenton)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 2:05pm UTC](https://discourse.julialang.org/t/adding-packages-over-ssh/29406 "2019-10-02T14:05:26Z")

</div>

I’m distributing a Julia package internal to my company and want an easy workflow for users to add package dependencies to their Julia projects. I can’t use Pkg for this because the default way of adding non registered …

---

## [Finding a conditioned row in a dataframe](https://discourse.julialang.org/t/finding-a-conditioned-row-in-a-dataframe/29347)

<div class="topic-metadata">

**Author:** [@Dervis](https://discourse.julialang.org/u/Dervis)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 1:56pm UTC](https://discourse.julialang.org/t/finding-a-conditioned-row-in-a-dataframe/29347 "2019-10-02T13:56:11Z")

</div>

Dear all, I am trying to find the index (row number) of specific row that I am conditioning from a large dataset (33000 rows x 9 columns). The columns of the dataset are date(year, month, day) & time(hour, min, sec) & …

---

## [Extracting row of DataFrame directly as NamedTuple?](https://discourse.julialang.org/t/extracting-row-of-dataframe-directly-as-namedtuple/29380)

<div class="topic-metadata">

**Author:** [@ethanminfang](https://discourse.julialang.org/u/ethanminfang)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 1:41pm UTC](https://discourse.julialang.org/t/extracting-row-of-dataframe-directly-as-namedtuple/29380 "2019-10-02T13:41:43Z")

</div>

Hi all, I guess that’s a stupid question(?) I simulated a model with different sets of parameters. To save time (not repeated run the same code with different parameters), I saved the parameters into dataframe row by r…

---

## [Analyzing unbalanced panel / Autocorrelation](https://discourse.julialang.org/t/analyzing-unbalanced-panel-autocorrelation/29407)

<div class="topic-metadata">

**Author:** [@Dom-DC](https://discourse.julialang.org/u/Dom-DC)\
**Replies:** 0\
**Last updated:** [October 2, 2019, 1:23pm UTC](https://discourse.julialang.org/t/analyzing-unbalanced-panel-autocorrelation/29407 "2019-10-02T13:23:32Z")

</div>

Hi, I have a DataFrame containing an unbalanced panel data set with individual-year observations characterized by an :id and :year. I would like to compute the autocorrelation of variable X at the individual :id level b…

---

## [Uncaught TypeError: Cannot read property 'get' of undefined](https://discourse.julialang.org/t/uncaught-typeerror-cannot-read-property-get-of-undefined/29401)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 2\
**Last updated:** [October 2, 2019, 1:09pm UTC](https://discourse.julialang.org/t/uncaught-typeerror-cannot-read-property-get-of-undefined/29401 "2019-10-02T13:09:46Z")

</div>

Hi, I got this error all of a sudden. Could anyone please let me know more about it…

---

## [Research Associate in Dynamics and Uncertainty](https://discourse.julialang.org/t/research-associate-in-dynamics-and-uncertainty/29402)

<div class="topic-metadata">

**Author:** [@dawbarton](https://discourse.julialang.org/u/dawbarton)\
**Replies:** 0\
**Last updated:** [October 2, 2019, 12:22pm UTC](https://discourse.julialang.org/t/research-associate-in-dynamics-and-uncertainty/29402 "2019-10-02T12:22:26Z")

</div>

I’ve got a 12 month postdoc position available at the University of Bristol in the Department of Engineering Mathematics for a researcher interested in dynamics and uncertainty. I’m keen to have someone who has experienc…

---

## [Parallel the evaluation step of a genetic algorithm](https://discourse.julialang.org/t/parallel-the-evaluation-step-of-a-genetic-algorithm/29367)

<div class="topic-metadata">

**Author:** [@Volker](https://discourse.julialang.org/u/Volker)\
**Replies:** 5\
**Last updated:** [October 2, 2019, 8:52am UTC](https://discourse.julialang.org/t/parallel-the-evaluation-step-of-a-genetic-algorithm/29367 "2019-10-02T08:52:30Z")

</div>

What is the best way to parallel my evaluation step of the genetic algorithm? I.e. would like to parallel the following code. function test\_func(pop::Pop, extra\_data::Dict)::Pop for i in 1:pop.num\_size pop.o…

---

## [A weird error when use two \`in\` in a for loop](https://discourse.julialang.org/t/a-weird-error-when-use-two-in-in-a-for-loop/29394)

<div class="topic-metadata">

**Author:** [@anon56330260](https://discourse.julialang.org/u/anon56330260)\
**Replies:** 2\
**Last updated:** [October 2, 2019, 8:02am UTC](https://discourse.julialang.org/t/a-weird-error-when-use-two-in-in-a-for-loop/29394 "2019-10-02T08:02:38Z")

</div>

MWE: function blur7!(in::Array{T,2},bv::Array{T,2}) where T m,n = size(in) bh = Array{T,2}(undef,32,2) for tx in in 1:32:m #here are two \`in\`s bh\[i+1,1\] = in\[tx,1\] end end m = 5 n = 5 A = colle…

---

## [How to build a Cointegration model in Julia?](https://discourse.julialang.org/t/how-to-build-a-cointegration-model-in-julia/29292)

<div class="topic-metadata">

**Author:** [@yw892](https://discourse.julialang.org/u/yw892)\
**Replies:** 1\
**Last updated:** [October 2, 2019, 8:02am UTC](https://discourse.julialang.org/t/how-to-build-a-cointegration-model-in-julia/29292 "2019-10-02T08:02:20Z")

</div>

Is there any stable package that could build a cointegration or VECM model? Thanks!

---

## [Trouble with \`dev\` and \`Revise\`](https://discourse.julialang.org/t/trouble-with-dev-and-revise/28818)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 10\
**Last updated:** [October 2, 2019, 6:49am UTC](https://discourse.julialang.org/t/trouble-with-dev-and-revise/28818 "2019-10-02T06:49:35Z")

</div>

I am trying to get a workflow set up and I am struggling with Revise and deving a package. I want to dev DataFrames so I can contribute to it. After \] dev DataFrames, \] status give me: (v1.2) pkg\> status Status \`~…

---

## [How to update a package before a new release is made](https://discourse.julialang.org/t/how-to-update-a-package-before-a-new-release-is-made/29375)

<div class="topic-metadata">

**Author:** [@Arrigo\_Benedetti](https://discourse.julialang.org/u/Arrigo_Benedetti)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 1:31am UTC](https://discourse.julialang.org/t/how-to-update-a-package-before-a-new-release-is-made/29375 "2019-10-02T01:31:00Z")

</div>

I have opened an issue on AbstractAlgebra.jl and one of the maintainers apparently has committed a fix and closed the issue, however pkg\> update AbstractAlgebra does not push any update on my system. I guess this is be…

---

## [Unable to run blocks in Juno](https://discourse.julialang.org/t/unable-to-run-blocks-in-juno/29278)

<div class="topic-metadata">

**Author:** [@Xarg](https://discourse.julialang.org/u/Xarg)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 12:58am UTC](https://discourse.julialang.org/t/unable-to-run-blocks-in-juno/29278 "2019-10-02T00:58:07Z")

</div>

Hi, In the Juno IDE, after creating a new Julia file and press cmd+enter to run a command in it, it briefly highlights the line as though it’s going to run it, but then it’s never sent to the REPL. When I open the Termi…

---

## [Doctests all variables "variable not found"](https://discourse.julialang.org/t/doctests-all-variables-variable-not-found/29378)

<div class="topic-metadata">

**Author:** [@grahamas](https://discourse.julialang.org/u/grahamas)\
**Replies:** 4\
**Last updated:** [October 1, 2019, 9:03pm UTC](https://discourse.julialang.org/t/doctests-all-variables-variable-not-found/29378 "2019-10-01T21:03:31Z")

</div>

I’m stuck trying to run doctests; it seems that the module isn’t being loaded, but I’ve included what I think is the appropriate meta DocTestSetup block. I’ve been banging my head against this on and off for months, so …

---

## [Fast diag(A'\*B)](https://discourse.julialang.org/t/fast-diag-a-b/29363)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [October 1, 2019, 9:05pm UTC](https://discourse.julialang.org/t/fast-diag-a-b/29363 "2019-10-01T21:05:29Z")

</div>

Is there a fast way to compute dot products of the columns of two similar matrices? MWE: using LinearAlgebra, BenchmarkTools f1(A, B) = diag(A'\*B) # suboptimal, but surprisingly fast f2(A, B) = map(dot, eachc…

---

## [Break execution after a given time](https://discourse.julialang.org/t/break-execution-after-a-given-time/29233)

<div class="topic-metadata">

**Author:** [@ethanminfang](https://discourse.julialang.org/u/ethanminfang)\
**Replies:** 5\
**Last updated:** [October 1, 2019, 8:47pm UTC](https://discourse.julialang.org/t/break-execution-after-a-given-time/29233 "2019-10-01T20:47:20Z")

</div>

Hi, I am optimization a function choosing different parameters. However, for some parameters, it will loop forever. So I want to set a timer like following: (just an example) function optim(theta) if run time of fu…

---

## [Jupyter lab plot update only the curve and not the axes](https://discourse.julialang.org/t/jupyter-lab-plot-update-only-the-curve-and-not-the-axes/29097)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.julialang.org/u/amit112amit)\
**Replies:** 9\
**Last updated:** [October 1, 2019, 7:13pm UTC](https://discourse.julialang.org/t/jupyter-lab-plot-update-only-the-curve-and-not-the-axes/29097 "2019-10-01T19:13:00Z")

</div>

Hi. I have tried using “Interact.jl” with “PyPlot.jl” in Jupyter lab and it works. But it updates the whole figure every time I move the sliders. Thus, there is blinking. Is there something like jupyter-matplotlib that …

---

## [Array memory allocation](https://discourse.julialang.org/t/array-memory-allocation/29374)

<div class="topic-metadata">

**Author:** [@squirrel](https://discourse.julialang.org/u/squirrel)\
**Replies:** 3\
**Last updated:** [October 1, 2019, 5:33pm UTC](https://discourse.julialang.org/t/array-memory-allocation/29374 "2019-10-01T17:33:03Z")

</div>

I have a couple questions about Arrays. If I do A = \[1, 2, 3\] B = \[4, 5, 6\] M = \[A, B\] A\[1\] = 0 I can see that the first vector in M has been changed to \[0, 2, 3\]. So from this I gather that M is actually storing po…

---

## [Is it possible to multiply with a derivative operator?](https://discourse.julialang.org/t/is-it-possible-to-multiply-with-a-derivative-operator/28914)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 24\
**Last updated:** [October 1, 2019, 4:20pm UTC](https://discourse.julialang.org/t/is-it-possible-to-multiply-with-a-derivative-operator/28914 "2019-10-01T16:20:16Z")

</div>

Say that I have: using SymEngine x=symbols(:x); y=symbols(:y); A = \[x y^2\] I know to find the x derivative I can say: diff.(A,x) 1×2 Array{Basic,2}: 1 0 My question is then; is it possible in any way to rewrite (in…

---

## [How to add this formula as an objective function?](https://discourse.julialang.org/t/how-to-add-this-formula-as-an-objective-function/29345)

<div class="topic-metadata">

**Author:** [@Shor](https://discourse.julialang.org/u/Shor)\
**Replies:** 6\
**Last updated:** [October 1, 2019, 4:15pm UTC](https://discourse.julialang.org/t/how-to-add-this-formula-as-an-objective-function/29345 "2019-10-01T16:15:51Z")

</div>

Hi, I am new here. I don’t know how to add this formula in my minimization objective function. where //x//\_1 stands for the sum of the absolute values of the components of x. (x is a 10x1 array) Anyone can help me w…

---

## [RCall and Debugger don't get along](https://discourse.julialang.org/t/rcall-and-debugger-dont-get-along/29368)

<div class="topic-metadata">

**Author:** [@PGS62](https://discourse.julialang.org/u/PGS62)\
**Replies:** 1\
**Last updated:** [October 1, 2019, 2:45pm UTC](https://discourse.julialang.org/t/rcall-and-debugger-dont-get-along/29368 "2019-10-01T14:45:16Z")

</div>

Hello, this is my first post on Discourse… I’m porting a library of functions from R to Julia (and getting significant speedups). So it’s handy to use RCall to test the R version of a function against the Julia version.…

---

## [Package Aliases?](https://discourse.julialang.org/t/package-aliases/29334)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [October 1, 2019, 2:11pm UTC](https://discourse.julialang.org/t/package-aliases/29334 "2019-10-01T14:11:27Z")

</div>

It’s not uncommon that I use two packages that export functions with the same name so I’m wondering if we can define an alias for a package as you can do in other languages (e.g. import numpy as np). For example, today …

---

## [HTTP multipart/form-data processing by server](https://discourse.julialang.org/t/http-multipart-form-data-processing-by-server/24076)

<div class="topic-metadata">

**Author:** [@rssdev10](https://discourse.julialang.org/u/rssdev10)\
**Replies:** 6\
**Last updated:** [October 1, 2019, 1:45pm UTC](https://discourse.julialang.org/t/http-multipart-form-data-processing-by-server/24076 "2019-10-01T13:45:12Z")

</div>

Is any way to parse multipart/form-data by HTTP functions? I’m trying to upload and process a file in Bukdu app with \<form method="post" enctype="multipart/form-data"\>...\</form\> The request.body is correct for multi…

---

## [Unable to use setparam for Xpress under JuMP](https://discourse.julialang.org/t/unable-to-use-setparam-for-xpress-under-jump/26804)

<div class="topic-metadata">

**Author:** [@Diego](https://discourse.julialang.org/u/Diego)\
**Replies:** 12\
**Last updated:** [October 1, 2019, 1:13pm UTC](https://discourse.julialang.org/t/unable-to-use-setparam-for-xpress-under-jump/26804 "2019-10-01T13:13:52Z")

</div>

Team, I am trying to have Xpress report its log. When programming in Mosel I used: setparam(“XPRS\_VERBOSE”,true) Though I have tried many different things I am unable to do this with JuMP. This is what I have tried la…

---

## [Julia crash with ErrorException("schedule: Task not runnable")](https://discourse.julialang.org/t/julia-crash-with-errorexception-schedule-task-not-runnable/29364)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 0\
**Last updated:** [October 1, 2019, 12:47pm UTC](https://discourse.julialang.org/t/julia-crash-with-errorexception-schedule-task-not-runnable/29364 "2019-10-01T12:47:13Z")

</div>

Confusing throwto with yieldto upsets Julia to the point of self-imploding. Known issue or should I open one? julia\> up() Web Server starting at http://127.0.0.1:8000 Web Server running at http://127.0.0.1:8000 Dict{Sym…

---

## [Client/Server TCP Hidden Error - is Julia reliable?](https://discourse.julialang.org/t/client-server-tcp-hidden-error-is-julia-reliable/29353)

<div class="topic-metadata">

**Author:** [@Wednesday](https://discourse.julialang.org/u/Wednesday)\
**Replies:** 17\
**Last updated:** [October 1, 2019, 11:22am UTC](https://discourse.julialang.org/t/client-server-tcp-hidden-error-is-julia-reliable/29353 "2019-10-01T11:22:47Z")

</div>

I have a server and a client, both written in Julia. I’m using the Sockets module from the standard Julia library. I have an issue on the client where I connect to a server and read from a server. I read from the socket…

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

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