Quantcast
Channel: First steps - JuliaLang
Browsing all 2795 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Stuck at starting/restarting kernel in jupyterlab

@watanabexia wrote: I can still use julia 1.2.0 kernel on JupyterLab this morning. When I take my laptop back home, the kernel stuck at starting/restarting like this: Screen Shot 2019-10-16 at...

View Article


Image may be NSFW.
Clik here to view.

MATLABDiffEq load error

@Nirvik wrote: Hi, I was able to add MATLABDiffEq successfully including its dependencies, however while trying out the worked out example in this package i keep getting a ERROR: LoadError:...

View Article


Assigning values to defined Tuple-array

@Jonas_Hjulstad wrote: I am trying to create a tuple-array without assigning values to the tuples. Declaring tuples as an array runs smoothly: tuples = Array{Tuple{Int, Int},2} tuples[1] = (1,2)...

View Article

Second Jupyter cell takes forever to execute

@feanor12 wrote: What I did: create a new folder create an empty Project.toml create a new notebook open a console for that notebook and run ]add CSV,DataFrames now in the notebook execute @time using...

View Article

L2 vs. L2 error in Differential Equations Benchmarks

@Nirvik wrote: How exactly is the L2 error calculated in Differential Equations WorkPrecisionSet? Not much is mentioned about it in the manual. I understand the l2 error calculates the error at every...

View Article


Error building VegaLite

@ennvvy wrote: I am trying to use Agents.jl package. However, while trying to add the package, I get the following error Error: Error building `VegaLite`: │ │ > canvas@2.5.0 install...

View Article

Generate array of all combinations

@hasanOryx wrote: I want to generate an array of 3 elements [α, β, γ] Where each of the 3 elements α, β, γ is between 0 and 1, so I tried the below [α for α in (0:1), β for β in (0:1), γ for γ in...

View Article

Performance of Comprehensions versus For Loops

@jbu wrote: Is there any significant performance difference between comprehensions and equivalent for loops for constructing arrays? Similarly, is there any reason to prefer one over the other in...

View Article


Image may be NSFW.
Clik here to view.

How to remove "shape" outlines in a scatter plot?

@jlchan wrote: I have matrices which contain x,y,z data on a triangular grid. In other words, each column of x,y,z correspond to points on a different triangle, so that when you plot the matrices...

View Article


Julia with Jupyterlab

@danielw2904 wrote: Hi, I am confused about the preferred way of setting up Julia to be used with Jupyterlab when conda should also be used to manage python environements. I have set a link to the...

View Article

Is there a way overload a function, `fn`, in a `Module Module1` so that it...

@xiaodai wrote: I am defining size in my module JDF, but I only want it to ever be called using JDF.size. Can I do that? module JDF using Base:size JDF.size(df, val) = JDF.size(df, Val(val))...

View Article

Image may be NSFW.
Clik here to view.

Trouble with hosting. What am I doing wrong?

@Tim_Kelley wrote: Hello. I am an utter novice with Documenter and am completely stuck. Thanks in advance for any help. I’m stuck on the hosting part of Documenter.jl. I got the ssh keys where they...

View Article

Image may be NSFW.
Clik here to view.

StackOverflow Error with Shootout function in DiffEqDevTools

@Nirvik wrote: Hi, I am using Julia in Juno IDE. I keep getting a stack overflow error while trying to use the Shootout function in ODEdevTools package. Here is a screenshot of the stack trace:...

View Article


Image may be NSFW.
Clik here to view.

JuliaPro install packages - stuck at please authenticate

@curious wrote: I deleted the existing installation of Julia and installed JuliaPro. When I try to install a package, it gets stuck at Please Authenticate.. add DataFrames Updating registry at...

View Article

ODE solver stats

@Nirvik wrote: I would really appreciate if someone can briefly explain stats 3, 7-9. I did find any documentation on this: sol.destats DiffEqBase.DEStats Number of function 1 evaluations: 261 Number...

View Article


How to setup Julia & Flux with CUDA & cuDNN on a computing cluster?

@Massimiliano_Comin wrote: Hello, I recently switched to Julia from Python for both Deep Learning and scientific computing. I use a national cluster for my calculations, where Julia 1.0.3 is installed...

View Article

Image may be NSFW.
Clik here to view.

Cannot install PiecewiseLinearOpt package

@kfurmanska wrote: I try to install PiecewiseLinearOpt package, but it gets into conflict with other Julia packages. Firstly, it highlighed JuMP: julia> Pkg.add("PiecewiseLinearOpt") Resolving...

View Article


Polyhedra no longer supported?

@squirrel wrote: Hi. I have Julia v1.2.0 running with Atom v1.40.1. I want to do some Fourier-Motzkin elimination, and I found the CDDLip.jl, and the Polyhedra.jl interface. The Polyhedra...

View Article

IndexedTables and type-stability of IndexedTables.groupby

@bashonubuntu wrote: Hi, I am a bit confused by IndexedTable being referred to as a “type-stable” alternative to DataFrames. If I write a function which does some operations and returns an...

View Article

Segfault when calling library function that works correctly standalone

@M_K wrote: So there’s this very basic example of finding the roots of unity using the MPSolve library. Calling from C void test_mps(void); int main(void) { test_mps(); return 0; } gives the correct...

View Article
Browsing all 2795 articles
Browse latest View live