Chain.jl
Infiltrator.jl
Our great sponsors
Chain.jl | Infiltrator.jl | |
---|---|---|
8 | 5 | |
346 | 379 | |
- | 5.0% | |
4.2 | 7.1 | |
2 months ago | 12 days ago | |
Julia | Julia | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Chain.jl
-
Pains of Julia compared to python
The [Chain.jl package](https://github.com/jkrumbiegel/Chain.jl) is becoming idiomatic for these kind of pipelines.
-
Transition from R Tidyverse to Julia (VS Code)
If you do have tabular data in a dataframe you have a few options for data manipulation, the most popular packages are probably DataFramesMeta and Query, although in my opinion the best way to manipulate dataframes is with the functions built in to DataFrames.jl and using a package like Chain.jl or Pipe.jl to pipe the functions into each other like magrittr in R.
-
The (updated) history of the pipe operator in R
The Julia community built a better piping method than any other language has AFAIK: Chain.jl.
-
What are some of your favourite macros?
@chain and @match.
-
Why is piping so well-accepted in the R community compared to those in Julia and Python?
Have you ever tried Infiltrator.jl and Chain.jl?
-
https://np.reddit.com/r/Julia/comments/nnu6if/julia_object_oriented_programming_with_dot/h0anaru/
You are right. However, sometimes well used is very useful, and readable. One suggestion, in Julia I suggest Chain.jl, because it allows intercalate easily the output for debugging:
-
Julia Update: Adoption Keeps Climbing; Is It a Python Challenger?
I also like pipe syntax and I've found there is nice support for it in Julia. There are some nice packages to improve it over base [1].
Have you checked queryverse [2]?
[1] https://github.com/jkrumbiegel/Chain.jl
Infiltrator.jl
-
I can never debug codes in Julia without issues. Help?
Also Infiltrator is very fast and useful but don't try to use it from the Vscode integrated terminal.
-
Just downloaded Julia, what packages/other things do I need to download to have it all work properly?
The package Infiltrator.jl might be what you seek. It's not as good as inserting breakpoints like in Matlab but it's still better than printing everywhere haha
-
Julia 1.7 has been released
Yes, it uses Debugger.jl, which relies on JuliaInterpreter.jl under the hood, so while you can tell the debugger to compile functions in certain modules, it will mostly interpret your code.
You might be interested in https://github.com/JuliaDebug/Infiltrator.jl, which uses an approach more similar to what you describe.
-
Error handling and unwinding stacks in Julia
Another small thing is in the REPL when you trigger an error in Common lisp it drops you into the debugger where you can redefine code and retry directly from the stack without unwinding the entire stack. Does Julia have functionality similar to this? Currently when I trigger an error Julia just throw the error and goes right back to the top level prompt. To resolve this issue I've tried sprinkling my code with a combination of GitHub - JuliaDebug/Infiltrator.jl + Stack Traces · The Julia Language wrapped in try catch blocks so that if an error is singled it drops into a debugger of sorts. This is ok and it works but it isn't really as good. Is there a current package that can emulate what I am trying to do? I think that the REPL workflow is good in julia but the workflow stalls out when you run into errors that don't drop into debuggers and such.
-
Why is piping so well-accepted in the R community compared to those in Julia and Python?
Have you ever tried Infiltrator.jl and Chain.jl?
What are some alternatives?
Pipe.jl - An enhancement to julia piping syntax
Debugger.jl - Julia debugger
Genie.jl - 🧞The highly productive Julia web framework
DiffEqOperators.jl - Linear operators for discretizations of differential equations and scientific machine learning (SciML)
Revise.jl - Automatically update function definitions in a running Julia session
mujoco - Multi-Joint dynamics with Contact. A general purpose physics simulator.
JLD2.jl - HDF5-compatible file format in pure Julia
Diffractor.jl - Next-generation AD
PaddedViews.jl - Add virtual padding to the edges of an array
ResultTypes.jl - A Result type for Julia—it's like Nullables for Exceptions
RCall.jl - Call R from Julia
DifferentialEquations.jl - Multi-language suite for high-performance solvers of differential equations and scientific machine learning (SciML) components. Ordinary differential equations (ODEs), stochastic differential equations (SDEs), delay differential equations (DDEs), differential-algebraic equations (DAEs), and more in Julia.