# General Usage

**URL:** https://discourse.julialang.org/c/usage/6.md?page=997

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

**Page:** 998

---

## [Error with JuliaPro 0.6.2](https://discourse.julialang.org/t/error-with-juliapro-0-6-2/8972)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 0\
**Last updated:** [February 10, 2018, 12:02pm UTC](https://discourse.julialang.org/t/error-with-juliapro-0-6-2/8972 "2018-02-10T12:02:54Z")

</div>

Hi, I downloaded latest JuliaPro for ubuntu linux JuliaPro-0.6.2.1\_mkl\_build-13. When I start Juno and try some Julia command in Console, I’m getting this error: INFO: Precompiling module Atom. ERROR: LoadError: LoadEr…

---

## [WORD\_SIZE not defined](https://discourse.julialang.org/t/word-size-not-defined/8971)

<div class="topic-metadata">

**Author:** [@John\_Hearns](https://discourse.julialang.org/u/John_Hearns)\
**Replies:** 5\
**Last updated:** [February 10, 2018, 10:01am UTC](https://discourse.julialang.org/t/word-size-not-defined/8971 "2018-02-10T10:01:36Z")

</div>

I do not know how in the heck I arrived at this state… WORD\_SIZE is supposed to be an internal variable… Following lots of build problems on Windows 10 I removed the Julia 0.61 and 0.62 packages and deleted directories…

---

## [Interpretation of memallocs returned by @timed](https://discourse.julialang.org/t/interpretation-of-memallocs-returned-by-timed/8968)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 0\
**Last updated:** [February 10, 2018, 1:54am UTC](https://discourse.julialang.org/t/interpretation-of-memallocs-returned-by-timed/8968 "2018-02-10T01:54:32Z")

</div>

I was trying to find some information about the memory allocation counters that the @timed macro returns. These should probably be explained in the documentation of @timed. I did find some comments in the source code for…

---

## [More strangeness: ReadOnlyMemoryError() in 0.6.2 (longish post)](https://discourse.julialang.org/t/more-strangeness-readonlymemoryerror-in-0-6-2-longish-post/8958)

<div class="topic-metadata">

**Author:** [@Stephen\_Vavasis](https://discourse.julialang.org/u/Stephen_Vavasis)\
**Replies:** 0\
**Last updated:** [February 9, 2018, 6:40pm UTC](https://discourse.julialang.org/t/more-strangeness-readonlymemoryerror-in-0-6-2-longish-post/8958 "2018-02-09T18:40:48Z")

</div>

Earlier I reported a mysterious ReadOnlyMemoryError() in 0.6.2 under linux only. Someone else recently posted another problem with ReadOnlyMemoryError(), I decided to dig a bit deeper into my example, and the Julia beha…

---

## [Library for finding fixed points of a function?](https://discourse.julialang.org/t/library-for-finding-fixed-points-of-a-function/8932)

<div class="topic-metadata">

**Author:** [@jlperla](https://discourse.julialang.org/u/jlperla)\
**Replies:** 5\
**Last updated:** [February 9, 2018, 5:03pm UTC](https://discourse.julialang.org/t/library-for-finding-fixed-points-of-a-function/8932 "2018-02-09T17:03:07Z")

</div>

A large number of algorithms in my field involve finding the fixed point of an operator. Are there any good libraries out there that do this (i.e. properly generic, testing out corner cases, etc.) Of course, a simple v…

---

## [As simple as possible from the website, extract the raw text?](https://discourse.julialang.org/t/as-simple-as-possible-from-the-website-extract-the-raw-text/8697)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 4\
**Last updated:** [February 9, 2018, 4:16pm UTC](https://discourse.julialang.org/t/as-simple-as-possible-from-the-website-extract-the-raw-text/8697 "2018-02-09T16:16:30Z")

</div>

As simple as possible from the website, extract the raw text ? Paul

---

## [strange/misleading function signature in error messages when using named parameters](https://discourse.julialang.org/t/strange-misleading-function-signature-in-error-messages-when-using-named-parameters/8949)

<div class="topic-metadata">

**Author:** [@mkaut](https://discourse.julialang.org/u/mkaut)\
**Replies:** 9\
**Last updated:** [February 9, 2018, 4:01pm UTC](https://discourse.julialang.org/t/strange-misleading-function-signature-in-error-messages-when-using-named-parameters/8949 "2018-02-09T16:01:06Z")

</div>

I wrote a function with the following signature: function setOptimStatus(patientID::Int, status::String; rcProject::PyObject=0, repeatInst::Int=0). When called with two parameters, I get the following error message: ER…

---

## [Accelerate compiler start time](https://discourse.julialang.org/t/accelerate-compiler-start-time/8951)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 3\
**Last updated:** [February 9, 2018, 2:21pm UTC](https://discourse.julialang.org/t/accelerate-compiler-start-time/8951 "2018-02-09T14:21:05Z")

</div>

I am developing a CLI package CLI.jl, but it seems that the start time of the compiler makes a CLI script slower than a Python script or an executable. (precompile is on) I tried to use static-julia to compile it to an …

---

## [To ~~not~~ shell out](https://discourse.julialang.org/t/to-not-shell-out/8929)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 14\
**Last updated:** [February 9, 2018, 2:02pm UTC](https://discourse.julialang.org/t/to-not-shell-out/8929 "2018-02-09T14:02:05Z")

</div>

Related to this topic, I’d like to read the modification time in the metadata of images. Right now I can do this by “shelling out” and using exiftool. While this works, it’s painfully slow (when I need to process hundred…

---

## [Calling Cython](https://discourse.julialang.org/t/calling-cython/8934)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 2\
**Last updated:** [February 9, 2018, 3:13am UTC](https://discourse.julialang.org/t/calling-cython/8934 "2018-02-09T03:13:51Z")

</div>

I had some thoughts about wrapping SpaCy, SpaCy is a python library for NLP. Its 90% Cython, rather than actually being python. So I have a bunch of .so compiled shared objects. I am wondering if I can ccall into fun…

---

## [Julia script segfault on errors](https://discourse.julialang.org/t/julia-script-segfault-on-errors/8484)

<div class="topic-metadata">

**Author:** [@nico202](https://discourse.julialang.org/u/nico202)\
**Replies:** 3\
**Last updated:** [February 9, 2018, 2:21am UTC](https://discourse.julialang.org/t/julia-script-segfault-on-errors/8484 "2018-02-09T02:21:23Z")

</div>

Hi, I have a strange behaviour with julia on NixOS REPL: versioninfo() Julia Version 0.6.0 Commit 903644385b\* (2017-06-19 13:05 UTC) println(undef) ERROR: UndefVarError: undef not defined Script: cat test.jl p…

---

## [Large Scale Software Design and Guidelines](https://discourse.julialang.org/t/large-scale-software-design-and-guidelines/8925)

<div class="topic-metadata">

**Author:** [@marcello](https://discourse.julialang.org/u/marcello)\
**Replies:** 8\
**Last updated:** [February 9, 2018, 12:17am UTC](https://discourse.julialang.org/t/large-scale-software-design-and-guidelines/8925 "2018-02-09T00:17:33Z")

</div>

I’ve done an application in C++ that is taking some million lines of code. And I’ve paid the price. By starting reading the book ‘Large Scale Software Design - John Lakos’ I can see I made different mistakes, which I d…

---

## [Type-unstable keyword constructor on parameterized type](https://discourse.julialang.org/t/type-unstable-keyword-constructor-on-parameterized-type/8852)

<div class="topic-metadata">

**Author:** [@tomerarnon](https://discourse.julialang.org/u/tomerarnon)\
**Replies:** 5\
**Last updated:** [February 8, 2018, 7:46pm UTC](https://discourse.julialang.org/t/type-unstable-keyword-constructor-on-parameterized-type/8852 "2018-02-08T19:46:27Z")

</div>

I have a parameterized struct for which I would like to define a convenient modifying function which uses a preexisting object of that type. The most convenient and clearest way is obviously to define a keyword construct…

---

## [Call Python functions from Julia / Lorenz Attractor Example](https://discourse.julialang.org/t/call-python-functions-from-julia-lorenz-attractor-example/8905)

<div class="topic-metadata">

**Author:** [@burfel](https://discourse.julialang.org/u/burfel)\
**Replies:** 5\
**Last updated:** [February 8, 2018, 5:49pm UTC](https://discourse.julialang.org/t/call-python-functions-from-julia-lorenz-attractor-example/8905 "2018-02-08T17:49:19Z")

</div>

Hello, I was wondering how I best get Python functions running in Julia. The Lorenz attractor example in http://docs.juliaplots.org/latest/ isn’t working for me. The error message I get is The Python package mpl\_too…

---

## [Example Iris Dataset not running](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906)

<div class="topic-metadata">

**Author:** [@burfel](https://discourse.julialang.org/u/burfel)\
**Replies:** 6\
**Last updated:** [February 8, 2018, 3:58pm UTC](https://discourse.julialang.org/t/example-iris-dataset-not-running/8906 "2018-02-08T15:58:35Z")

</div>

Does anyone get the Iris Dataset on Home · Plots running?

---

## [Julia Graphics Library](https://discourse.julialang.org/t/julia-graphics-library/8789)

<div class="topic-metadata">

**Author:** [@jacobcvt12](https://discourse.julialang.org/u/jacobcvt12)\
**Replies:** 6\
**Last updated:** [February 8, 2018, 3:23pm UTC](https://discourse.julialang.org/t/julia-graphics-library/8789 "2018-02-08T15:23:07Z")

</div>

Are there any native Julia libraries for low-level graphics? Or are all options wrappers for other graphics libraries (such as OpenGL)?

---

## [How to Kalman filter](https://discourse.julialang.org/t/how-to-kalman-filter/8745)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 16\
**Last updated:** [February 8, 2018, 2:41pm UTC](https://discourse.julialang.org/t/how-to-kalman-filter/8745 "2018-02-08T14:41:52Z")

</div>

I need to improve on estimated locations of a moving object using prior knowledge about its speed (speed changes are small) and angular speed (its direction doesn’t change much either). For background, this is a continua…

---

## [BigFloat performance, allocates like crazy!](https://discourse.julialang.org/t/bigfloat-performance-allocates-like-crazy/8892)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 10\
**Last updated:** [February 7, 2018, 10:50pm UTC](https://discourse.julialang.org/t/bigfloat-performance-allocates-like-crazy/8892 "2018-02-07T22:50:43Z")

</div>

I have a program which allocates less than 35 MB and takes under 2 seconds with Float64 and Float32, but allocates 350 GB and takes more than 10 minutes with BigFloat, is this expected? The code is seemingly type stable.…

---

## [C null pointer to custom type](https://discourse.julialang.org/t/c-null-pointer-to-custom-type/8885)

<div class="topic-metadata">

**Author:** [@mopg](https://discourse.julialang.org/u/mopg)\
**Replies:** 8\
**Last updated:** [February 7, 2018, 4:34pm UTC](https://discourse.julialang.org/t/c-null-pointer-to-custom-type/8885 "2018-02-07T16:34:44Z")

</div>

I am coupling to a C library and would like to pass null pointers to a function. However, I want to pass a null pointer of type Ptr{\<mytype\>}. When I do that I end up with a convert error, because C\_NULL of Ptr{Void}. It…

---

## [Methods to reduce gc time?](https://discourse.julialang.org/t/methods-to-reduce-gc-time/8840)

<div class="topic-metadata">

**Author:** [@RandomString123](https://discourse.julialang.org/u/RandomString123)\
**Replies:** 7\
**Last updated:** [February 7, 2018, 2:15pm UTC](https://discourse.julialang.org/t/methods-to-reduce-gc-time/8840 "2018-02-07T14:15:15Z")

</div>

I have finally gotten some code I translated from R working. It is by no means optimized, and it is my first julia code, so I didn’t expect great performance but it is significantly slower than I would have expected. I…

---

## [VS code triggers anti-malware](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 12\
**Last updated:** [February 7, 2018, 3:10pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864 "2018-02-07T15:10:35Z")

</div>

Version 1.19.3 Commit 7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba Date 2018-01-25T10:36:34.867Z Shell 1.7.9 Renderer 58.0.3029.110 Node 7.9.0 Architecture x64 Every time I do something in the terminal anti-malware ki…

---

## [Is the Julia linear algebra multithreaded?](https://discourse.julialang.org/t/is-the-julia-linear-algebra-multithreaded/8487)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 6\
**Last updated:** [February 7, 2018, 2:31pm UTC](https://discourse.julialang.org/t/is-the-julia-linear-algebra-multithreaded/8487 "2018-02-07T14:31:05Z")

</div>

Is the Julia linear algebra multithreaded? I think I read somewhere that it isn’t, but I can’t find that text anymore. Does anyone know for sure?

---

## [Plotting + Accessibility](https://discourse.julialang.org/t/plotting-accessibility/8873)

<div class="topic-metadata">

**Author:** [@sdmcallister](https://discourse.julialang.org/u/sdmcallister)\
**Replies:** 8\
**Last updated:** [February 7, 2018, 10:23am UTC](https://discourse.julialang.org/t/plotting-accessibility/8873 "2018-02-07T10:23:47Z")

</div>

I am wondering if any Julia users who are producing plots, dashboards, or similar products are required to meet accessibility standards (either set by their organization or broader regulatory body)? By accessibility, I m…

---

## [LaTeX in docstrings not rendering](https://discourse.julialang.org/t/latex-in-docstrings-not-rendering/8867)

<div class="topic-metadata">

**Author:** [@Bernard\_GODARD](https://discourse.julialang.org/u/Bernard_GODARD)\
**Replies:** 5\
**Last updated:** [February 7, 2018, 8:02am UTC](https://discourse.julialang.org/t/latex-in-docstrings-not-rendering/8867 "2018-02-07T08:02:43Z")

</div>

I have had a look at and https://docs.julialang.org/en/stable/manual/documentation.html But I cannot get math formula to be rendered whether my doc is built by Travis or on my local machine using mkdocs. The doctrin…

---

## [log(N) algo for sampling from vector](https://discourse.julialang.org/t/log-n-algo-for-sampling-from-vector/8713)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 5\
**Last updated:** [February 7, 2018, 4:59am UTC](https://discourse.julialang.org/t/log-n-algo-for-sampling-from-vector/8713 "2018-02-07T04:59:24Z")

</div>

Hi, I am using the following piece of code using StatsBase pf = StatsBase.Weights(rand(10)) e = sample(pf) Upon using @which sample(pf), one gets sample(wv::StatsBase.AbstractWeights) in StatsBase at .../StatsBase/sr…

---

## [Keyword argument and type parameter error - triangular dispatch](https://discourse.julialang.org/t/keyword-argument-and-type-parameter-error-triangular-dispatch/8870)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 2\
**Last updated:** [February 6, 2018, 7:34pm UTC](https://discourse.julialang.org/t/keyword-argument-and-type-parameter-error-triangular-dispatch/8870 "2018-02-06T19:34:13Z")

</div>

The following errors: julia\> f(a::Tx; b::T=0.1) where {T, Tx\<:AbstractVector{T}} = a .\* b ERROR: UndefVarError: T not defined but it makes sense not to. What do you think? These expectedly go through: julia\> f(a::Tx,…

---

## [Merging triangles in mesh?](https://discourse.julialang.org/t/merging-triangles-in-mesh/8741)

<div class="topic-metadata">

**Author:** [@mlhetland](https://discourse.julialang.org/u/mlhetland)\
**Replies:** 2\
**Last updated:** [February 6, 2018, 2:58pm UTC](https://discourse.julialang.org/t/merging-triangles-in-mesh/8741 "2018-02-06T14:58:04Z")

</div>

Is there some existing library with functionality for merging triangles (or other faces) with (essentially) the same angles into single polygonal faces (based on GeometryTypes.jl, for example)? Trying to generate line-dr…

---

## [Use of \`pointer\`](https://discourse.julialang.org/t/use-of-pointer/8849)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 19\
**Last updated:** [February 6, 2018, 12:45pm UTC](https://discourse.julialang.org/t/use-of-pointer/8849 "2018-02-06T12:45:31Z")

</div>

Split from A plea for int overflow checking as the default - #63 by Jean\_Michel I am not sure this would be significantly better in the current state of the compiler. I haven’t looked into the implementation of BigInt,…

---

## [Next Juliabox faiing on RCall](https://discourse.julialang.org/t/next-juliabox-faiing-on-rcall/8760)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 9:55am UTC](https://discourse.julialang.org/t/next-juliabox-faiing-on-rcall/8760 "2018-02-06T09:55:35Z")

</div>

Just tried using RCall on next.juliabox.com and it gave the following error. Is the version of R too old for the new package of RCall.jl? INFO: Precompiling module RCall. WARNING: Method definition promote\_rule(Type{T},…

---

## [Reversed Arrays](https://discourse.julialang.org/t/reversed-arrays/8860)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 3\
**Last updated:** [February 6, 2018, 8:42am UTC](https://discourse.julialang.org/t/reversed-arrays/8860 "2018-02-06T08:42:42Z")

</div>

Is there a package that implements an array type where the index is reversed? I have an array that I would normally reverse the order but I don’t really want to incur an extra allocation cost or performance hit. So it …

[Previous page](https://discourse.julialang.org/c/usage/6.md?page=996)

[Next page](https://discourse.julialang.org/c/usage/6.md?page=998)
