Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
71 views

In Julia, I'm using SeaDataNet's DIVAnd to try to perform an objective analysis on in-situ data. I'm running this code: "@time obsval, obslon, obslat, obsdepth, obstime, obsids = loadobs(Float64, ...
Score of 0
1 answer
79 views

I usually come across the following error when installing a new package in Julia. When I run the following in the REPL: julia> import Pkg julia> Pkg.add("Foo") Updating registry at `~/...
Score of 3
1 answer
160 views

I do not understand the behavior of Julia's qr function. For the result of qr(A_1), the rank of A_1 is 2, so the result is as expected. On the other hand, the result of qr(A_2) is puzzling. Since the ...
Best practices
2 votes
2 replies
123 views

I am writing some numerical simulations in Julia. I have some functions which compute many parameters iteratively. When I am debugging, I like to have a debugging option, where a function additionally ...
Score of 0
1 answer
55 views

I have two Julia models using ModelingToolkit.jl that are identical in every way except the name of one sub-component. Despite this, structural_simplify produces a different number of unknowns for ...
Score of 2
1 answer
50 views

I would like to add custom axis labels to a PolarAxis in Makie. Since there does not seem to be a direct way to place labels in polar coordinates, I tried overlaying a second Axis and using its xlabel ...
Tooling
0 votes
2 replies
76 views

What are the solvers that interface with the Semicontinuous variable range in JuMP? using JuMP using solver # solver that supports Semicontinuous range model = Model(solver.Optimizer) @variable(...
Score of 0
1 answer
65 views

Julia 1.12 with my .emacs config, where I placed in my .../lsp-isolated my LanguageServer.jj and SymbolServer.jl : (use-package eglot-jl :after julia-mode :config (eglot-jl-init) (setq eglot-...
Score of 1
1 answer
61 views

I was following along with the "ray tracing in a weekend" e-book and I was attempting to do the first task of making a ppm file to produce an image. I have written some code but it only ...
Best practices
0 votes
1 replies
49 views

In Java, there is the concept of an Interface, which groups several method signatures together without any implementations. This interface can then be 'implemented' on a class to specify that that ...
Score of 0
1 answer
80 views

I was following the pkg.jl documentation here: https://pkgdocs.julialang.org/v1/creating-packages/ The setup is that a project HelloWorld has been generated, and then activated. At some point the ...
Score of 1
0 answers
51 views

I have downloaded the package KerrQuasinormalModes.jl. I have never used Julia before, and I tried to run this package using Visual Studio Code. However, I keep encountering error messages when ...
Tooling
0 votes
0 replies
39 views

Is there an easy way to generate a simple triangular mesh, given an implicit surface defined by S = {(u,v) : f(u,v) = 0} where f(u,v) = ± sqrt(1-(v²)-((u-v²)²)) ? Currently, I have successfully ...
Score of 2
2 answers
124 views

I was trying to understand the difference between the two following Julia snippets: @. model(x, p) = p[1]*exp(-x*p[2]) and model(x, p) = @. p[1]*exp(-x*p[2]) where the first one is taken from the ...
Advice
1 vote
10 replies
93 views

For the basic types Int8 ,Int16,Int32,Int64 and Int128 one can obtain the highest representable value by calling typemax, e.g. julia> typemax(Int8) 127 How can I get the highest representable ...

15 30 50 per page
1
2 3 4 5
857