# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=74

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

**Page:** 75

---

## [AlphaVantage.jl - A New Package for Getting Market Data into Julia](https://discourse.julialang.org/t/alphavantage-jl-a-new-package-for-getting-market-data-into-julia/42657)

<div class="topic-metadata">

**Author:** [@dm13450](https://discourse.julialang.org/u/dm13450)\
**Replies:** 21\
**Last updated:** [November 7, 2024, 9:18am UTC](https://discourse.julialang.org/t/alphavantage-jl-a-new-package-for-getting-market-data-into-julia/42657 "2024-11-07T09:18:44Z")

</div>

Hot off the general repository is a new package for using the AlphaVantage API in Julia. AlphaVantage provides a free tier of stock, fx and cyrpto data, with even intraday level of detail. You can use this package to ea…

---

## [Many subplots with one sublot consisting of a secondary y axis](https://discourse.julialang.org/t/many-subplots-with-one-sublot-consisting-of-a-secondary-y-axis/120827)

<div class="topic-metadata">

**Author:** [@AUK1939](https://discourse.julialang.org/u/AUK1939)\
**Replies:** 2\
**Last updated:** [November 7, 2024, 3:30am UTC](https://discourse.julialang.org/t/many-subplots-with-one-sublot-consisting-of-a-secondary-y-axis/120827 "2024-11-07T03:30:03Z")

</div>

I was trying to extend the following example to incude more subplots I want to create subplots in which one subplot has a secondary y-axis. Everything works fine in the 2 sub plot case. my\_plot = PlotlyJS.make\_subplot…

---

## [Legend covers the yaxis](https://discourse.julialang.org/t/legend-covers-the-yaxis/122334)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 2\
**Last updated:** [November 7, 2024, 1:23am UTC](https://discourse.julialang.org/t/legend-covers-the-yaxis/122334 "2024-11-07T01:23:53Z")

</div>

using Plots plotlyjs() plot!( M2, x\_台湾, 货币\_台湾.M2./货币\_台湾.全體銀行放款餘額, label = "M2/全体银行放款余额", fg\_legend = :transparent, legend = :bottomleft, tickfontsize = 11, xticks = xt…

---

## [MTK - equation with sqrt(x) vs. x^0.5?](https://discourse.julialang.org/t/mtk-equation-with-sqrt-x-vs-x-0-5/122341)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 8\
**Last updated:** [November 6, 2024, 8:06pm UTC](https://discourse.julialang.org/t/mtk-equation-with-sqrt-x-vs-x-0-5/122341 "2024-11-06T20:06:35Z")

</div>

I run a model (MTK) where one term of an equation does log(x^0.5). This seems to work sometimes, but also crashes for some parameter values when I do Monte Carlo simulation. If I change the term to log(sqrt(x)), the sim…

---

## [DCMotor example @named output throwing Latex error on analysis points](https://discourse.julialang.org/t/dcmotor-example-named-output-throwing-latex-error-on-analysis-points/121752)

<div class="topic-metadata">

**Author:** [@RobbesU](https://discourse.julialang.org/u/RobbesU)\
**Replies:** 10\
**Last updated:** [November 6, 2024, 3:57pm UTC](https://discourse.julialang.org/t/dcmotor-example-named-output-throwing-latex-error-on-analysis-points/121752 "2024-11-06T15:57:11Z")

</div>

Running the ModelingtoolkitStandardLibrary example DCMotor https://docs.sciml.ai/ModelingToolkitStandardLibrary/stable/tutorials/dc\_motor\_pi/ Running the code as is it throws below error in the @named model = DCMotor(): …

---

## [Error with versioninfo of CUDA.jl on nVidia Jetson](https://discourse.julialang.org/t/error-with-versioninfo-of-cuda-jl-on-nvidia-jetson/122287)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 7:22am UTC](https://discourse.julialang.org/t/error-with-versioninfo-of-cuda-jl-on-nvidia-jetson/122287 "2024-11-06T07:22:54Z")

</div>

Hello everyone. I am having a problem using CUDA.jl on a Jetson Orin DevKit. Even though everything seems to work, I get an error when I call CUDA.versioninfo(). Specifically, I get CUDA runtime 12.6, local installati…

---

## [How to precompile CUDA kernel itself?](https://discourse.julialang.org/t/how-to-precompile-cuda-kernel-itself/121849)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 8\
**Last updated:** [November 6, 2024, 3:20am UTC](https://discourse.julialang.org/t/how-to-precompile-cuda-kernel-itself/121849 "2024-11-06T03:20:04Z")

</div>

Hi all. I am having problems with the CUDA kernel booting slowly the first time. In my application it takes about 60 seconds to boot the first time in the worst case. So, we tried PrecompileTools, but did not find it v…

---

## [Power flow balance, active and reactive power, losses in Julia](https://discourse.julialang.org/t/power-flow-balance-active-and-reactive-power-losses-in-julia/122266)

<div class="topic-metadata">

**Author:** [@saeedata7](https://discourse.julialang.org/u/saeedata7)\
**Replies:** 5\
**Last updated:** [November 6, 2024, 3:06am UTC](https://discourse.julialang.org/t/power-flow-balance-active-and-reactive-power-losses-in-julia/122266 "2024-11-06T03:06:53Z")

</div>

power flow balance, active and reactive power , losses in julia for this uploaded picture, are these codes right for calculating active and reactive power, losses in Python? If yes, how to check the power flow balan…

---

## [GeoStats.jl workshop at FOSS4G 2024](https://discourse.julialang.org/t/geostats-jl-workshop-at-foss4g-2024/122311)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [November 6, 2024, 12:36am UTC](https://discourse.julialang.org/t/geostats-jl-workshop-at-foss4g-2024/122311 "2024-11-06T00:36:20Z")

</div>

Upcoming workshop at FOSS4G in Brazil this year:

---

## [Issue with JuMP's Parameter making the problem recognized as nonlinear](https://discourse.julialang.org/t/issue-with-jumps-parameter-making-the-problem-recognized-as-nonlinear/122162)

<div class="topic-metadata">

**Author:** [@Yuricst](https://discourse.julialang.org/u/Yuricst)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 10:01pm UTC](https://discourse.julialang.org/t/issue-with-jumps-parameter-making-the-problem-recognized-as-nonlinear/122162 "2024-11-05T22:01:27Z")

</div>

Hello! I am working on an algorithm where I would like to solve convex programs (CP) repeatedly; in the algorithm, the CP’s structure remains the same (same variables, same number of constraints, etc.), but coefficients…

---

## [Interactive video player in Makie](https://discourse.julialang.org/t/interactive-video-player-in-makie/97105)

<div class="topic-metadata">

**Author:** [@pzabka](https://discourse.julialang.org/u/pzabka)\
**Replies:** 2\
**Last updated:** [November 5, 2024, 10:01pm UTC](https://discourse.julialang.org/t/interactive-video-player-in-makie/97105 "2024-11-05T22:01:09Z")

</div>

For anyone interested, here is my attempt on a simple interactive video player in Makie: using GLMakie using VideoIO """ videoplayer(fig, vid; totalframes) Create videoplayer providing totalframes makes it start f…

---

## [How to Return a File as a Downloadable Attachment in Oxygen.jl Endpoint](https://discourse.julialang.org/t/how-to-return-a-file-as-a-downloadable-attachment-in-oxygen-jl-endpoint/122131)

<div class="topic-metadata">

**Author:** [@ehsani63](https://discourse.julialang.org/u/ehsani63)\
**Replies:** 5\
**Last updated:** [November 5, 2024, 9:06pm UTC](https://discourse.julialang.org/t/how-to-return-a-file-as-a-downloadable-attachment-in-oxygen-jl-endpoint/122131 "2024-11-05T21:06:03Z")

</div>

I’m using Oxygen.jl to implement an endpoint that retrieves data, processes it, and creates a DataFrame. I’d like the /dataframe POST method to return a downloadable file named test.csv containing the DataFrame. I tried …

---

## [Error running master equation in QuantumOptics.jl](https://discourse.julialang.org/t/error-running-master-equation-in-quantumoptics-jl/122300)

<div class="topic-metadata">

**Author:** [@DominicDams](https://discourse.julialang.org/u/DominicDams)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 9:00pm UTC](https://discourse.julialang.org/t/error-running-master-equation-in-quantumoptics-jl/122300 "2024-11-05T21:00:28Z")

</div>

When running the following code: using QuantumOptics using Plots b = SpinBasis(1//2) γ = 1 Ω₀ = .2 δ = .2 σ₋ = sigmam(b)#DenseOperator(b,\[ 0 1; 0 0\]) σ₊ =sigmap(b)# DenseOperator(b, \[ 0 0; 1 0\]) σz = sigmaz(b)#DenseOper…

---

## [Bonito method to get URL within App](https://discourse.julialang.org/t/bonito-method-to-get-url-within-app/122289)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 3:28pm UTC](https://discourse.julialang.org/t/bonito-method-to-get-url-within-app/122289 "2024-11-05T15:28:49Z")

</div>

currently i’m piecing the URL together from the Session argument as follows, but it’d be nice if there were an exported public way to do this. or did i miss it? App() do session::Session server = session.connect…

---

## [DifferentialEquations.jl: SecondOrderProblem + SplitODEProblem](https://discourse.julialang.org/t/differentialequations-jl-secondorderproblem-splitodeproblem/122242)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 9:17am UTC](https://discourse.julialang.org/t/differentialequations-jl-secondorderproblem-splitodeproblem/122242 "2024-11-05T09:17:35Z")

</div>

Does DifferentialEquations.jl allow to define a split second order problem? Thx!

---

## [Kernel for building histogram on GPU](https://discourse.julialang.org/t/kernel-for-building-histogram-on-gpu/34191)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 14\
**Last updated:** [November 4, 2024, 10:54pm UTC](https://discourse.julialang.org/t/kernel-for-building-histogram-on-gpu/34191 "2024-11-04T22:54:27Z")

</div>

I want to build histogram from large matrix of floats, for which a matrix of integers of the same size identify the bin in which each of those float must be allocated. It could also be seen as a groupby aggregation, but …

---

## [What are the future plans for Scientific ML?](https://discourse.julialang.org/t/what-are-the-future-plans-for-scientific-ml/122255)

<div class="topic-metadata">

**Author:** [@fastwave](https://discourse.julialang.org/u/fastwave)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 3:03pm UTC](https://discourse.julialang.org/t/what-are-the-future-plans-for-scientific-ml/122255 "2024-11-04T15:03:54Z")

</div>

I wonder if someone can tell us about future plans? I did not see Reactant.jl mentioned here. It seems to me that this would be the Julia version of JAX, openXLA. Just like openXLA, it uses the MLIR from LLVM. I also wo…

---

## [Understanding the need for Torch.jl?](https://discourse.julialang.org/t/understanding-the-need-for-torch-jl/48824)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 23\
**Last updated:** [November 4, 2024, 6:00pm UTC](https://discourse.julialang.org/t/understanding-the-need-for-torch-jl/48824 "2024-11-04T18:00:40Z")

</div>

Seems like the fastest NN library is Torch.jl which is based on C++. Is it possible for Julia to have something similarly fast? What’s preventing something as fast? Given Julia is meant to be able to solve the two langu…

---

## [Usage of CUDA.Const](https://discourse.julialang.org/t/usage-of-cuda-const/122157)

<div class="topic-metadata">

**Author:** [@Marco\_Lombardi](https://discourse.julialang.org/u/Marco_Lombardi)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 4:34pm UTC](https://discourse.julialang.org/t/usage-of-cuda-const/122157 "2024-11-04T16:34:13Z")

</div>

I am unsure how to use the CUDA.Const function to mark an array as constant during the execution of a CUDA kernel. From the few examples I saw, it looks like I just need to define a variable within the kernel that “shado…

---

## [Restarting CUDA](https://discourse.julialang.org/t/restarting-cuda/122163)

<div class="topic-metadata">

**Author:** [@Fabrice\_Rosay](https://discourse.julialang.org/u/Fabrice_Rosay)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 4:30pm UTC](https://discourse.julialang.org/t/restarting-cuda/122163 "2024-11-04T16:30:24Z")

</div>

Is there a way to reset CUDA without restarting julia and be sure everything in memory related to gpu is wiped ? (multiple call to GC.gc and CUDA.reclaim or unsafe\_free! seems to miss some objects, leading to increase m…

---

## [Computing sensitivity to Dirichlet data in Gridap.jl](https://discourse.julialang.org/t/computing-sensitivity-to-dirichlet-data-in-gridap-jl/108145)

<div class="topic-metadata">

**Author:** [@instant0n](https://discourse.julialang.org/u/instant0n)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 12:42pm UTC](https://discourse.julialang.org/t/computing-sensitivity-to-dirichlet-data-in-gridap-jl/108145 "2024-11-04T12:42:03Z")

</div>

Hi all, happy holidays- I’m trying to use Gridap to invert the Laplace problem to determine Dirichlet data on the boundaries given some point measurements on the interior. The idea is to minimize the squared residual be…

---

## [Indexing sparse and dense axis arrays](https://discourse.julialang.org/t/indexing-sparse-and-dense-axis-arrays/122112)

<div class="topic-metadata">

**Author:** [@nealhughes](https://discourse.julialang.org/u/nealhughes)\
**Replies:** 7\
**Last updated:** [November 4, 2024, 4:16am UTC](https://discourse.julialang.org/t/indexing-sparse-and-dense-axis-arrays/122112 "2024-11-04T04:16:39Z")

</div>

I have a JuMP model with a mix of sparse and dense axis arrays. I find the behaviour of the indexes to be inconsistent in the sense that: eachindex(X) will give string-based indexes if X is a sparse axis array but cart…

---

## [Multivariable optimization of matrices with "no method matching zero(::Type{Matrix{Float64}})"](https://discourse.julialang.org/t/multivariable-optimization-of-matrices-with-no-method-matching-zero-type-matrix-float64/122207)

<div class="topic-metadata">

**Author:** [@ctucker](https://discourse.julialang.org/u/ctucker)\
**Replies:** 4\
**Last updated:** [November 4, 2024, 4:02am UTC](https://discourse.julialang.org/t/multivariable-optimization-of-matrices-with-no-method-matching-zero-type-matrix-float64/122207 "2024-11-04T04:02:38Z")

</div>

Hello, I am trying to maximize a message-passing Conditional Random Field using Optim.jl, and since I am optimizing for matrices I have to supply the gradient functions myself. Each of the individual functions work when…

---

## [Pyomo model not feasible for ACOPF](https://discourse.julialang.org/t/pyomo-model-not-feasible-for-acopf/122214)

<div class="topic-metadata">

**Author:** [@Glon](https://discourse.julialang.org/u/Glon)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 2:30am UTC](https://discourse.julialang.org/t/pyomo-model-not-feasible-for-acopf/122214 "2024-11-04T02:30:17Z")

</div>

I implemented an ACOPF problem to maximise the PV exports of a LV network, to validate the answers and also to compare the time it takes to solve each I implemented the same problem in pyomo, while the powermodels.jl sol…

---

## [Adaptivity in MIRK4 for BVPs](https://discourse.julialang.org/t/adaptivity-in-mirk4-for-bvps/29341)

<div class="topic-metadata">

**Author:** [@anodos](https://discourse.julialang.org/u/anodos)\
**Replies:** 22\
**Last updated:** [November 3, 2024, 3:38am UTC](https://discourse.julialang.org/t/adaptivity-in-mirk4-for-bvps/29341 "2024-11-03T03:38:09Z")

</div>

I’m just messaging to ask if there is any plans to implement an adaptive mesh in the ODE-BVP solvers in BoundaryValueDiffEq.jl? I’m working on a problem where this is necessary, and for which the adaptive mesh in bvp4c i…

---

## [Fast division by 2](https://discourse.julialang.org/t/fast-division-by-2/122144)

<div class="topic-metadata">

**Author:** [@marco\_menarini](https://discourse.julialang.org/u/marco_menarini)\
**Replies:** 13\
**Last updated:** [November 3, 2024, 7:27pm UTC](https://discourse.julialang.org/t/fast-division-by-2/122144 "2024-11-03T19:27:13Z")

</div>

I noticed that Julia seems not to optimize the division of floating points and integer by two. I know that in C++ there are a couple of fast function that are used in these specific cases const SHIFT16=UInt16(1)\<\<EXP16 …

---

## [Makie - How do I calculate the pixel length of a formatted string?](https://discourse.julialang.org/t/makie-how-do-i-calculate-the-pixel-length-of-a-formatted-string/122182)

<div class="topic-metadata">

**Author:** [@grahamas](https://discourse.julialang.org/u/grahamas)\
**Replies:** 4\
**Last updated:** [November 3, 2024, 4:59pm UTC](https://discourse.julialang.org/t/makie-how-do-i-calculate-the-pixel-length-of-a-formatted-string/122182 "2024-11-03T16:59:38Z")

</div>

It seems like the best way is to render the text somewhere and then get the size of the rendered object. I’ve chosen Makie for this, but am open to alternatives. The best I’ve managed is this code, but the width is Auto(…

---

## [StochasticDiffEq with Acausal modeling](https://discourse.julialang.org/t/stochasticdiffeq-with-acausal-modeling/121998)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 4\
**Last updated:** [November 3, 2024, 1:26pm UTC](https://discourse.julialang.org/t/stochasticdiffeq-with-acausal-modeling/121998 "2024-11-03T13:26:00Z")

</div>

Hello, I am trying to have a SDESystem instead of ODESystem for my acausal framework. The following block of code fails: using ModelingToolkit, Plots, DifferentialEquations, StochasticDiffEq using ModelingToolkit: t\_n…

---

## [SymbolicRegression via DataDrivenDiffEq throws error](https://discourse.julialang.org/t/symbolicregression-via-datadrivendiffeq-throws-error/122180)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 1\
**Last updated:** [November 3, 2024, 10:59am UTC](https://discourse.julialang.org/t/symbolicregression-via-datadrivendiffeq-throws-error/122180 "2024-11-03T10:59:40Z")

</div>

I’m trying to fit a data-driven differential equation system via DataDrivenDiffEq. DMD and Sindy work fine, but symbolic regression fails. Any ideas what’s wrong? # Load libraries using OrdinaryDiffEq using DataDrivenDi…

---

## [Fastest way to compute adjoint(x)\*A\*x in CUDA?](https://discourse.julialang.org/t/fastest-way-to-compute-adjoint-x-a-x-in-cuda/122160)

<div class="topic-metadata">

**Author:** [@joseph-t-lee](https://discourse.julialang.org/u/joseph-t-lee)\
**Replies:** 19\
**Last updated:** [November 2, 2024, 9:28pm UTC](https://discourse.julialang.org/t/fastest-way-to-compute-adjoint-x-a-x-in-cuda/122160 "2024-11-02T21:28:54Z")

</div>

I am trying to compute an expectation value of an observable, which just comes down to computing: adjoint(x) \* A \* x, where x is an N dimendional vector with ComplexF32 entries and A in an N by N matrix. Initially A and…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=73)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=75)
