

Anyone else doing Advent of Code in Julia?
If so, how is it going and did you find any useful tricks to complete the tasks so far?
I myself just posted my solution in the Day 3 results post at https://lemmy.world/c/[email protected] but did not try to make it "clever". Just wanted to have a robust solution that works. Maybe in the next days I will start to explore more concise solutions if I find the time.
SciML Small Grants Program Current Project List | SciML: Open Source Software for Scientific Machine Learning
Open Source Software for Scientific Machine Learning
Think Julia is available under the Creative Commons Attribution-NonCommercial 3.0 Unported License.
A paper version of this book is published by O’Reilly Media and can be bought on Amazon.
Preface
In January 2018 I started the preparation of a programming course targeting students without programming experience. I wanted to use Julia, but I found that there existed no book with the purpose of learning to program with Julia as the first programming language. There are wonderful tutorials that explain Julia’s key concepts, but none of them pay sufficient attention to learning how to think like a programmer.
I knew the book Think Python by Allen Downey, which contains all the key ingredients to learn to program properly. However, this book was based on the Python programming language
Julia's numerical derivative following Numpy gradient - gist:996e0745e820dde0610ada9e9e025844
Victor Buendía (@[email protected]) writes:
Turns out that #julialang does not have the equivalent of Numpy's gradient function. So I went to Numpy docs and source code and adapted it.
Numpy's gradient is great because it uses centered differences, so it's way more accurate than naively getting the forward differences. Also, supports non-equally spaced grids.
In case someone needs it (for 1D arrays only), here it is:
https://gist.github.com/VictorSeven/996e0745e820dde0610ada9e9e025844
The Julia REPL · The Julia Language | The Julia REPL has five main modes of operation
Tip:
In Julia mode, the REPL supports something called prompt pasting. This activates when pasting text that starts with julia> into the REPL. In that case, only expressions starting with julia> (as well as the other REPL mode prompts: shell>, help?>, pkg> ) are parsed, but others are removed.
Julia Programming Tutorial | An effective tutorial for science and engineering
This introductory tutorial about Julia focuses on its use in Science and Engineering.
Martin D. Maas writes:
Julia is an is a general-purpose, open-source, dynamic, and high-performance language. By leveraging a clever design around a just in time (JIT) compiler, Julia manages to combine the speed of languages like C or Fortran, with the ease of use of Matlab or Python.
This is a hands-on tutorial series, which focuses on understanding the most important aspects of the language from a practical point of view, and focusing on the needs of scientists and engineers.
In particular, we won’t be introducing much more syntax or language features than what is required to solve the different problems we will be tackling.
As a quick reference, and if you have experience with Python or Matlab, it might be worth to check out the Matlab-Python-Julia Cheatsheet.
Read Julia Programming Tutorial
Total: 37 posts
Last updated: November 13, 2023
My Target Audience | The Two Culture Problem
What kind of people do I have in mind while writing this blog? People who share my professional mission of course! What is that mission you ask? Let me elaborate. From Research to Engineering I am a scientist who danced with startups and moved into i...
Apr 18, 2023 Matthijs Cox writes:
The “two language problem” was globally accepted for several decades. You just learn to live with it. Until one day it was challenged by the Julia language, a programming language that promises both speed and ease of use. As I feel the pain of the two language problem deeply, I wanted to try out this new solution. So together with several allies I went on a mission to adopt this new technology at work, and remove the bottleneck.
While we had initial success and attention, we quickly stumbled into resistance from the existing groups of researchers/scientists and developers. Over time I have named this the “two culture problem”. In the beginning I didn’t see the cultures clearly, which limited our success. I was too focused on the technological problem itself.
I will refer to the two cultures as “scientists” versus “developers”. However, the “scientists” group generalizes to anyone who codes quick and dirty
A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contributions from the community. “Internals” Fora and Core Repos (Slack/Zulip/Discourse/Github): Julia 1.10 was released around ...
Jan 31st 2024 Krastanov writes:
A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contributions from the community.
“Internals” Fora and Core Repos (Slack/Zulip/Discourse/Github):
- Julia 1.10 was released around Christmass. See the release highlights.
- It seems we all agree that it would be incredibly valuable to have better ways to call julia from inside python. This discourse thread has plenty of discussion on the topic, but specifically check out Chris’s comments which has a bunch of constructive suggestions towards the end.
- Rounding operations on Complex numbers (into presumably complex integers) are pretty difficult to do consistently. On the issue tracker folks have been discussing various ways to do it, and the dangers of being too permissive in what interfaces might emerge by accident. It is not
Delving into Advanced Types within the Julia Type System
Learn how to use Julia's advanced types, including Type Unions, Parametric Types, Tuple Types, UnionAll, and Type Aliases for powerful, efficient code.
Optimize code using Julia's parallel processing, multi-threading, and distributed computing for high performance. See example syntax and abstractions.
GPU-based ODE solvers which are 20x-100x faster than those in #jax and #pytorch
Dr. Chris Rackauckas (@[email protected]) writes:
#julialang GPU-based ODE solvers which are 20x-100x faster than those in #jax and #pytorch? Check out the paper on how #sciml DiffEqGPU.jl works. Instead of relying on high level array intrinsics that #machinelearning libraries use, it uses a direct kernel generation approach to greatly reduce the overhead.
Read Automated translation and accelerated solving of differential equations on multiple GPU platforms
Statistical Rethinking - A Bayesian Course with Examples in R and Stan (and PyMC3, brms, and Julia too)
Contribute to rmcelreath/stat_rethinking_2024 development by creating an account on GitHub.
Richard McElreath has made his course materials available on GitHub.
However, the course follows the 2nd edition of McElreath's book Statistical Rethinking which is not available in a free digital format.
After watching the first lecture in the Statistical Rethinking 2023 YouTube Playlist, I might go ahead and purchase the text and use this course instead of Trevor Hastie and Rob Tibshirani's An Introduction to Statistical Learning (with Applications in R or Python) course.
I also like that this resource has made an explicit attempt to provide code examples in Julia as well as the more popular Python and R.
I wasn't sure who Richard McElreath was so I did a quick search which revealed his
We’ve been watching Julia, an HPC-oriented programming language designed for technical and scientific computing for a number of years to see it can make
Last week I was in Münster, Germany, to discuss Spatial Data Science across the (https://programming.dev/c/julia), (https://programming.dev/c/python), and (https://fosstodon.org/t
Last week I was in Münster, Germany, to discuss Spatial Data Science across the @julia, @python, and #r languages (https://r-spatial.org/sdsl/). I think it is fair to say that everyone learned a lot from one another and there are now several efforts to align the ecosystems
in terms of teaching, file formats, and others. In JuliaGeo we still have to implement some geography methods. Thanks to @edzer and Yomna for organizing.
Last month I taught (https://programming.dev/c/julia) and its geospatial stack at the (https://fosstodon.org/@opengeohub) summer school 2023 in beautiful Poznań, Poland. I had a g
Last month I taught @julia and its geospatial stack at the @opengeohub summer school 2023 in beautiful Poznań, Poland. I had a great time together with other open-source developers. Pictured is me calling in from the train home, because I won a hackathon by using Julia 🥳.
My materials (including the notebooks for the hackathons) are at https://github.com/evetion/OGH2023 and the recording(s) are at https://www.youtube.com/watch?v=UgMdr8vE9uM&list=PLXUoTpMa%5C_9s1C8LrkslIctOU31Oi0LAQa.