Reserved symbols or glyphs (besides '@')
Reddit » Julia
by /u/stvaccount
13h ago
In a base module, the code @ = 1 fails. What other symbols or glyphs are reserved in Julia? Can I get a complete list? Is "@" defined in Core? Or is it part of the language of Julia (like "if")? submitted by /u/stvaccount [visit reddit] [comments ..read more
Visit website
Override * and call original *
Reddit » Julia
by /u/stvaccount
1d ago
I have the following code: using LinearAlgebra *(A::Matrix, B::Matrix) = begin println("matrix multiplication") C = Matrix{Float64}(undef, size(A, 1), size(B,2)) mul!(C, A, B) end mat = [1 2; 3 4] mat * mat It works! But is there any more idiomatic way to reference the original multiplication? My workaround is to use "mul!" but I would like to call instead of "mul!" the original * that I am overriding. submitted by /u/stvaccount [visit reddit] [comments ..read more
Visit website
Book Rec's
Reddit » Julia
by /u/seg006
1d ago
Best book recommendation for someone learning coming from an R/Python background? Special focus on functional programming, structs and vector operations would be great. TIA! submitted by /u/seg006 [visit reddit] [comments ..read more
Visit website
SciML Smart Grants Program
Reddit » Julia
by /u/ChrisRackauckas
3d ago
submitted by /u/ChrisRackauckas [visit reddit] [comments ..read more
Visit website
Trust region reflective implementation
Reddit » Julia
by /u/red1tterr
3d ago
I do a lot of constrained optimization and have used the trust region reflective algorithm in matlab and python but haven't been able to find it for julia. Does anyone know whether it might be included anytime soon since I'm not knowledgeable enough to write it myself? submitted by /u/red1tterr [visit reddit] [comments ..read more
Visit website
Non-Linear Optimization
Reddit » Julia
by /u/Jan_van_Rosenhout
3d ago
Hi, everyone. ​ I had write by myself an penalty method with ForwardDiff, and i need to compare with an already implemented method. I know that MATLAB has the fmincon function, which is used to allow minimization with non-linear restrictions. However, i didn't found something relatable in Julia. ChatGPT suggested something like NLopt, but i was unable to use it together with ForwardDiff. ​ Does anyone knows how to council both or if there's already a more friendly (plug-and-play) alternative else than NLopt? submitted by /u/Jan_van_Rosenhout [visit reddit] [comments ..read more
Visit website
Julia Alternatives for Real-Time Stream Analysis with Kafka: Comparable to Flink?
Reddit » Julia
by /u/USMCamp0811
5d ago
I've recently begun exploring real-time streaming data, primarily using PyFlink. Given Flink's close integration with JVM-based systems, I'm curious about alternatives that leverage Julia. Are there any Julia tools or libraries for working with Kafka that offer capabilities similar to Flink for real-time stream analysis? Considering Julia's performance and ease of development, it seems like a potentially great fit for this domain. submitted by /u/USMCamp0811 [visit reddit] [comments ..read more
Visit website
Any Julia projects VS python projects?
Reddit » Julia
by /u/pussydestroyerSPY
5d ago
Hi guys, do you have any julia projects where you compare them with python projects. I would like to know the performance of Julia. Also i would like to know in what kind of projects Julia is so much better submitted by /u/pussydestroyerSPY [visit reddit] [comments ..read more
Visit website
Performance of isodd function
Reddit » Julia
by /u/Rough-Camp-6975
6d ago
I'm learning Julia and I noticed that I could use the function isodd to check if a number is odd. In Python, for example, one could simply use the fast bitwise and n&1 to check if n is odd, so I was curious about what is the implementation of isodd in Julia. So, if n is a Number, it is converted to a Real and then checks if the remainder when divided by 2 is not zero. Which already seems to be inefficient? Going back again to the Python example, I feel that n%2!=0 is slower than n&1. https://preview.redd.it/oyrjswdm29xc1.png?width=452&format=png&auto=webp&s=d189cccfd7e2258 ..read more
Visit website
OnlinePortfolioAnalytics.jl (Incremental portfolio analytics)
Reddit » Julia
by /u/FemtoTrader
6d ago
Hey r/Julia sharing OnlinePortfolioAnalytics.jl a Julia library which provide users with functionality for performing quantitative portfolio analytics via online algorithms. ArithmeticMeanReturn, GeometricMeanReturn, CumulativeReturn, StdDev, Drawdowns, AssetReturnMoments (mean, std, skewness, kurosis), SharpeRatio, SortinoRatio are some new types. Check it out and let me know your thoughts! submitted by /u/FemtoTrader [visit reddit] [comments ..read more
Visit website

Follow Reddit » Julia on FeedSpot

Continue with Google
Continue with Apple
OR