Cannot get Gtk.jl onto Repl.it
@aschimmichanga wrote: Why doesn’t Repl.it’s Julia REPL recognize the GTK.jl package? using Pkg Pkg.add("Gtk") using Gtk gives an error Posts: 5 Participants: 3 Read full topic
View ArticleCan I avoid field struct declaration?
@Noel_Araujo wrote: I don’t know how to search this topic, then I prefer to ask. If I did not misunderstood, the Constructor only works when all the field are supplied. I was wandering if I could...
View ArticleCustom images on Juliabox
@xiaodai wrote: I see in the list of features that Juliabox supports custom images, but I can’t find any documentation on it. I wanted to understand if it can build some packages into the base image...
View ArticleWhy "Threads.@threads for " doesn't use all possible threads?
@BMval wrote: Good day. I have 12 cores. So nthread() gives 12. when I used "Threads.@threads for ", only 8 thread was created. RAM memory was utilized for up to 85%. Can memory limitations and the...
View ArticleDeprecate keyword argument
@ohmsweetohm1 wrote: I want to deprecate a renamed keyword argument e.g. like this @deprecate foo(;a1=1, a2=2) foo(;b1=1, a2=2) foo(a1=2, a2=3) Warning: foo(; a1=1, a2=2) is deprecated, use foo(;...
View ArticleEnvironments inheriting remote dependencies
@Peter_Adelman wrote: If I ]add a github version of a package that I am developing (not the gospel from JuliaRegistries) to a local package (MyPkg), it successfully downloads and uses it for that...
View ArticleProvide a specific argument to a specific function from a series of functions...
@flalom wrote: Hello everybody. I would like to ask you: how to enter the argument(s) for only one specific function of the many ones I have in my script file from command line? In more details: I am...
View ArticleMultiplication of submatrices problem
@ea42gh wrote: I was trying to transcribe the algorithm in the appendix of geninv function pseudoinverse(G) # need to restrict types here m,n = size(G) if m < n transpose=true A=G*G' n=m else...
View ArticleJacobian of a multi-inputs function
@AhmedAlreweny wrote: Hello, I have a function which represents the mapping F(x,p), where x is a vector and p is a scalar parameter. The function (mapping) output is a vector. I would like to compute...
View ArticleTrouble creating a real-valued vector out of elements of multiple complex arrays
@CPPhysics wrote: Hello, I am doing an optimization problem and want to extend a minimizing vector to become an initial guess for the same problem in a larger parameter space (one can think of it as...
View ArticlePyjulia getting around Python executable being it is statically linked to...
@marinarrd wrote: I have run the command otool -L /usr/bin/python | grep libpython and it returns nothing. I am a little confused about the work arounds suggested in the docs....
View ArticleHow to get Julia work for the first time?
@Davidxu2016 wrote: I am trying to learn Julia by following steps in Quantecon.com: https://julia.quantecon.org/getting_started_julia/julia_environment.html I followed the basic command for Plots, but...
View ArticleDispach on parametric types
@Maikon_Araujo wrote: Is it possible to dispatch on parametric types? Something like that: function f(x::F{Int}) where F end Dispatch on types parameterized on ints. Thank you. Posts: 4 Participants:...
View ArticleEfficient way for assigning a massive array
@AhmedAlreweny wrote: Hello, I am new to Juila (and programming in general). I am working on solving a massive linear system resulting from a finite difference discretization of an ODE. My matrix is...
View ArticleVectors with different out-of-bounds behavior
@leiteiro wrote: Consider integer vectors, Ivect(n) = Vector{Int}(undef, n). If you access a vector A = Ivect(n) with indices < 1 or > n, a BoundsError is thrown. How can you introduce an...
View ArticleInteract slider, clear cell output question; WebIO problem?
@ea42gh wrote: I want to update the output in a jupyter cell based on a slider, but need to clear the cell as I go. Something like: l = collect(1:10) # simplistic: actual code has a list of...
View ArticleHow using push on typed dictionary
@Darione wrote: Hello everybody, i was playing with dictionary … i can’t understand why the last my statement is not correct in this case: println("1° dictionary") myDictionary1 = Dict()...
View ArticlePyCall installation problems
@kumarbalachandran wrote: Hi all, I posted the problem in the PyCall page but it really belongs here. Please look at https://github.com/JuliaPy/PyCall.jl/issues/742 where I have a problem installing...
View ArticleRe-naming several folders
@samantp wrote: Hi, I am just getting started with Julia so apologies if this is too simple a question. I have a series of directories (folders) with names as follows 6-ep2ddifftraDYNDIST-69284...
View ArticleRemote usage on HPC cluster - packages missing
@LysandrosAn wrote: Dear Julia community, I recently discovered Julia and am making steps to use it for time integration of ODEs on a remote HPC cluster. Although the admins have installed the...
View Article