# \#tutorials

**URL:** https://discourse.julialang.org/tag/tutorials/203.md

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

---

## [Swirl.jl - Interactive Julia Learning in the REPL 🌀](https://discourse.julialang.org/t/swirl-jl-interactive-julia-learning-in-the-repl/133705)

<div class="topic-metadata">

**Author:** [@Alex\_Tantos](https://discourse.julialang.org/u/Alex_Tantos)\
**Replies:** 25\
**Last updated:** [November 21, 2025, 11:27am UTC](https://discourse.julialang.org/t/swirl-jl-interactive-julia-learning-in-the-repl/133705 "2025-11-21T11:27:50Z")

</div>

\[ANN\] Swirl.jl - Interactive Julia Learning in the REPL :cyclone: Hi everyone! :waving\_hand: I’m really happy to introduce Swirl.jl, an interactive platform that teaches Julia programming right inside the REPL. It’s ins…

---

## [Quick tutorial on package extensions](https://discourse.julialang.org/t/quick-tutorial-on-package-extensions/130923)

<div class="topic-metadata">

**Author:** [@erikedin](https://discourse.julialang.org/u/erikedin)\
**Replies:** 1\
**Last updated:** [July 22, 2025, 8:21am UTC](https://discourse.julialang.org/t/quick-tutorial-on-package-extensions/130923 "2025-07-22T08:21:06Z")

</div>

Hello! I was reading the documentation on package extensions and felt that I needed some more detailed instructions. I wrote this tutorial based on what I learned (only today, so this is surely not an exhaustive tutorial…

---

## [The inappropriateness of applying RLT to solve the DBP in ARO who lacks RCR](https://discourse.julialang.org/t/the-inappropriateness-of-applying-rlt-to-solve-the-dbp-in-aro-who-lacks-rcr/127203)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 3\
**Last updated:** [April 4, 2025, 12:37am UTC](https://discourse.julialang.org/t/the-inappropriateness-of-applying-rlt-to-solve-the-dbp-in-aro-who-lacks-rcr/127203 "2025-04-04T00:37:54Z")

</div>

Adaptive robust optimization (ARO) is typically NP-hard. It’s known that in the RHS uncertainty setting, the subproblem constitutes a disjointed bilinear programming (DBP). A naive way to solve DBP is employing Gurobi’…

---

## [Solving First Order Differential Equations with Julia](https://discourse.julialang.org/t/solving-first-order-differential-equations-with-julia/127485)

<div class="topic-metadata">

**Author:** [@ghoshr](https://discourse.julialang.org/u/ghoshr)\
**Replies:** 2\
**Last updated:** [March 29, 2025, 5:11pm UTC](https://discourse.julialang.org/t/solving-first-order-differential-equations-with-julia/127485 "2025-03-29T17:11:46Z")

</div>

Solving First Order Differential Equations with Julia I wrote a full tutorial on solving first order ODEs in Julia using the DifferentialEquations.jl package. It provides a gentle introduction to Differential Equations i…

---

## [Approaching a Linear Program Correctly](https://discourse.julialang.org/t/approaching-a-linear-program-correctly/127354)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 15\
**Last updated:** [March 27, 2025, 12:37am UTC](https://discourse.julialang.org/t/approaching-a-linear-program-correctly/127354 "2025-03-27T00:37:32Z")

</div>

Let’s see the Proposition 5.2.1 of the 2009 Bertsekas’s convex optimization theory: (Linear Programming Duality Theorem) (a) If any one of the 2 programs (primal and dual) has a finite optimal objective value, then th…

---

## [A naive explanation of infeasibility and unboundedness](https://discourse.julialang.org/t/a-naive-explanation-of-infeasibility-and-unboundedness/127343)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 1\
**Last updated:** [March 25, 2025, 12:37pm UTC](https://discourse.julialang.org/t/a-naive-explanation-of-infeasibility-and-unboundedness/127343 "2025-03-25T12:37:48Z")

</div>

I demo the process “From unboundedness to an infeasibility system” Say, let’s employ y \\in \\mathbb{R} as our decision variable. We know +\\infty = \\sup \\{y | y \\ge 0\\} Given any y \\ge 0, we know 0 = \\inf \\{yx |x \\g…

---

## [Reformulation perspectification technique: ideas embodied in a contrived example](https://discourse.julialang.org/t/reformulation-perspectification-technique-ideas-embodied-in-a-contrived-example/126804)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 1:36am UTC](https://discourse.julialang.org/t/reformulation-perspectification-technique-ideas-embodied-in-a-contrived-example/126804 "2025-03-12T01:36:59Z")

</div>

From Mosek’s cookbook we know: The feasibility system \\{ t \> 0, t(\\frac{x}{t})^2 \\le y \\} in \\mathbb{R}^3 can be coded as \[y + t, y - t, 2 \* x\] in JuMP.SecondOrderCone() In this tutorial we aim to solve the followin…

---

## [Reformulation Perspectification Technique: an example with a nonconvex feasible region](https://discourse.julialang.org/t/reformulation-perspectification-technique-an-example-with-a-nonconvex-feasible-region/126915)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 0\
**Last updated:** [March 13, 2025, 1:04pm UTC](https://discourse.julialang.org/t/reformulation-perspectification-technique-an-example-with-a-nonconvex-feasible-region/126915 "2025-03-13T13:04:53Z")

</div>

The nonconvex problem (NC) is \\min\_x \\{L\\,e^{x\_2} | L:= x\_1 + x\_2 + 1 \\ge 0, x\_1 x\_2 \\ge -1\\} It’s clear that the objective function is “linear times convex”, which is suitable for perspectification. And the feasible r…

---

## [Julia ❤️ ABM tutorial series](https://discourse.julialang.org/t/julia-abm-tutorial-series/99300)

<div class="topic-metadata">

**Author:** [@fbanning](https://discourse.julialang.org/u/fbanning)\
**Replies:** 1\
**Last updated:** [November 17, 2024, 5:23pm UTC](https://discourse.julialang.org/t/julia-abm-tutorial-series/99300 "2024-11-17T17:23:37Z")

</div>

Julia :heart: ABM is a tutorial series on coding agent-based models in Julia. I write on it in irregular intervals - basically whenever I find some time to extend on it. List of issues so far: Julia :heart: ABM #0: Ag…

---

## [\[Tutorial\] Julia coding workflow with VSCode](https://discourse.julialang.org/t/tutorial-julia-coding-workflow-with-vscode/73538)

<div class="topic-metadata">

**Author:** [@aurelio-amerio](https://discourse.julialang.org/u/aurelio-amerio)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 7:25am UTC](https://discourse.julialang.org/t/tutorial-julia-coding-workflow-with-vscode/73538 "2024-10-23T07:25:00Z")

</div>

Hello everyone, I have written a small tutorial on how to (better) code with Julia and VSCode. The aim is to give people who are not familiar with VSCode and the Julia extension an overview of some features that will he…

---

## [I made a Pong tutorial for my game library in Julia!](https://discourse.julialang.org/t/i-made-a-pong-tutorial-for-my-game-library-in-julia/121483)

<div class="topic-metadata">

**Author:** [@Sabe](https://discourse.julialang.org/u/Sabe)\
**Replies:** 0\
**Last updated:** [October 19, 2024, 3:29pm UTC](https://discourse.julialang.org/t/i-made-a-pong-tutorial-for-my-game-library-in-julia/121483 "2024-10-19T15:29:02Z")

</div>

So I just released a little tutorial on how to make Pong in my game library. You can check it out here: https://www.youtube.com/watch?v=zp04en2ZCBg and check out the library here: GitHub - SabeDoesThings/Nexa.jl: A sim…

---

## [Some introductory Julia codes for HPC!](https://discourse.julialang.org/t/some-introductory-julia-codes-for-hpc/121361)

<div class="topic-metadata">

**Author:** [@hunKing](https://discourse.julialang.org/u/hunKing)\
**Replies:** 0\
**Last updated:** [October 16, 2024, 6:45am UTC](https://discourse.julialang.org/t/some-introductory-julia-codes-for-hpc/121361 "2024-10-16T06:45:14Z")

</div>

Hey folks, I wrote a few codes to serve as a jump start to learning how to use Julia with SLURM managed clusters. I uploaded them to this repository: https://github.com/AtilaSaraiva/Julia-HPC-intro-codes I’ve got a fe…

---

## [\[ANN\] A tutorial for jlrs](https://discourse.julialang.org/t/ann-a-tutorial-for-jlrs/119651)

<div class="topic-metadata">

**Author:** [@Taaitaaiger](https://discourse.julialang.org/u/Taaitaaiger)\
**Replies:** 4\
**Last updated:** [October 9, 2024, 6:27pm UTC](https://discourse.julialang.org/t/ann-a-tutorial-for-jlrs/119651 "2024-10-09T18:27:54Z")

</div>

jlrs is a crate for the Rust programming language for interop between Rust and Julia. You can use it to embed Julia in Rust applications, and to generate interfaces to libraries written in Rust. This project has finally…

---

## [Using Tasks 101](https://discourse.julialang.org/t/using-tasks-101/114878)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 15\
**Last updated:** [July 30, 2024, 7:49pm UTC](https://discourse.julialang.org/t/using-tasks-101/114878 "2024-07-30T19:49:31Z")

</div>

I’m not sure if this is the right place to post this, but I spent a lot of time learning about Tasks recently for a project at work, and wrote up a blog post tutorial summarizing how to use them: https://www.lesswrong.co…

---

## [\[Seeking feedback\] Blog post about "Modern Julia workflows"?](https://discourse.julialang.org/t/seeking-feedback-blog-post-about-modern-julia-workflows/100324)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 38\
**Last updated:** [July 14, 2024, 4:10pm UTC](https://discourse.julialang.org/t/seeking-feedback-blog-post-about-modern-julia-workflows/100324 "2024-07-14T16:10:30Z")

</div>

Hi everyone, After watching a nice video by @jacobusmmsmit yesterday, I sat down and thought about all the lore that experienced Julia users keep in their heads. How to write and share code properly, which packages to u…

---

## [Tutorial on how to make animations and interactive applications in Makie.jl](https://discourse.julialang.org/t/tutorial-on-how-to-make-animations-and-interactive-applications-in-makie-jl/66988)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [June 8, 2024, 10:00pm UTC](https://discourse.julialang.org/t/tutorial-on-how-to-make-animations-and-interactive-applications-in-makie-jl/66988 "2024-06-08T22:00:54Z")

</div>

Hi all, I’ve made a tutorial on how to make animations and interactive applications in Makie.jl and put it on YouTube. Have a look: Making animations and interactive applications in Makie.jl - YouTube Hope it helps!

---

## [Is there a tutorial on \`JuMP\` extension development?](https://discourse.julialang.org/t/is-there-a-tutorial-on-jump-extension-development/113580)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [April 28, 2024, 6:20am UTC](https://discourse.julialang.org/t/is-there-a-tutorial-on-jump-extension-development/113580 "2024-04-28T06:20:53Z")

</div>

Is there a tutorial on JuMP extension development? I’m curious about how to transform a naturally written model (similar to the JuMP modeling language) into a standardized format that is suitable for algorithmic solving. …

---

## [Looking for SciMLSensitivity Example with LinearSolve](https://discourse.julialang.org/t/looking-for-scimlsensitivity-example-with-linearsolve/111900)

<div class="topic-metadata">

**Author:** [@Mark\_Lau](https://discourse.julialang.org/u/Mark_Lau)\
**Replies:** 3\
**Last updated:** [March 20, 2024, 10:20pm UTC](https://discourse.julialang.org/t/looking-for-scimlsensitivity-example-with-linearsolve/111900 "2024-03-20T22:20:39Z")

</div>

I’m new to SciMLSensitivity.jl and am trying to learn the ropes. I wanted to try something simple to find the sensitivities of the solution to a LinearProblem with respect to parameters. I couldn’t find an example of how…

---

## [Wanted to learn machine learning(ML) from scrach!](https://discourse.julialang.org/t/wanted-to-learn-machine-learning-ml-from-scrach/109550)

<div class="topic-metadata">

**Author:** [@npsasikumar](https://discourse.julialang.org/u/npsasikumar)\
**Replies:** 5\
**Last updated:** [February 2, 2024, 10:47pm UTC](https://discourse.julialang.org/t/wanted-to-learn-machine-learning-ml-from-scrach/109550 "2024-02-02T22:47:58Z")

</div>

I am a research scholar working with the mathematical part of nonlinear dynamics. And I wanted to implement ML in research to validate the outcomes. So please suggest the materials (books, blogs, YouTube links, or any) t…

---

## [Macro CheatSheet for Julia 2024.01](https://discourse.julialang.org/t/macro-cheatsheet-for-julia-2024-01/109291)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 2\
**Last updated:** [January 27, 2024, 8:51pm UTC](https://discourse.julialang.org/t/macro-cheatsheet-for-julia-2024-01/109291 "2024-01-27T20:51:56Z")

</div>

Hey Julianners, I created a not so hard to read and hopefully clean Julia Cheat Sheet for macros. This is I think a very good way to fill the gaps on the harder parts. JuliaMacroCheatSheet It is worth to check it her…

---

## [Some Fine YouTube Creators Teaching Julia](https://discourse.julialang.org/t/some-fine-youtube-creators-teaching-julia/108357)

<div class="topic-metadata">

**Author:** [@benslinux](https://discourse.julialang.org/u/benslinux)\
**Replies:** 2\
**Last updated:** [January 5, 2024, 7:38pm UTC](https://discourse.julialang.org/t/some-fine-youtube-creators-teaching-julia/108357 "2024-01-05T19:38:21Z")

</div>

I’m relatively new to this forum, but I’ve already learned a great deal from those who have taken the time to answer my questions. I’ve also learned from those outside the immediate community here. I’d like to draw atten…

---

## [Logarithmic Smoothing - A Tutorial and Two Package Ideas](https://discourse.julialang.org/t/logarithmic-smoothing-a-tutorial-and-two-package-ideas/84877)

<div class="topic-metadata">

**Author:** [@LostInMusic](https://discourse.julialang.org/u/LostInMusic)\
**Replies:** 8\
**Last updated:** [November 16, 2023, 3:00am UTC](https://discourse.julialang.org/t/logarithmic-smoothing-a-tutorial-and-two-package-ideas/84877 "2023-11-16T03:00:29Z")

</div>

As a person interested in acoustics, I often plot FFT results on double-logarithmic scales. The results are often pretty noisy and smoothing is typically applied, for example with a width of 1/12 octaves. Unfortunately, …

---

## [My Windows Julia terminal doesn't show the symbols properly](https://discourse.julialang.org/t/my-windows-julia-terminal-doesnt-show-the-symbols-properly/102352)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 1:25pm UTC](https://discourse.julialang.org/t/my-windows-julia-terminal-doesnt-show-the-symbols-properly/102352 "2023-08-01T13:25:13Z")

</div>

When I open the Julia terminal from the icon installed on the toolbar when, I see these ? question mark symbol. I think they should be up arrow symbols. What do I do to get the terminal to display the right symbols?

---

## [Nice workflows for using and developing in Julia 1.9+](https://discourse.julialang.org/t/nice-workflows-for-using-and-developing-in-julia-1-9/96017)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 43\
**Last updated:** [May 29, 2023, 9:04am UTC](https://discourse.julialang.org/t/nice-workflows-for-using-and-developing-in-julia-1-9/96017 "2023-05-29T09:04:51Z")

</div>

I wrote a small step by step to help my students with of a good workflow for Julia here. Sharing it here because it might help new users. Updated (and properly formatted) versions will be available in that link when nece…

---

## [A simple MCMC code for beginners for learning](https://discourse.julialang.org/t/a-simple-mcmc-code-for-beginners-for-learning/31641)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 14\
**Last updated:** [March 31, 2023, 8:48am UTC](https://discourse.julialang.org/t/a-simple-mcmc-code-for-beginners-for-learning/31641 "2023-03-31T08:48:00Z")

</div>

If you try to understand how Metropolis-Hastings MCMC works in producing a posterior for a parameter. You can read various website like this But unless you understand R very well, it would make your head spin. But you…

---

## [\[ANN\] SimpleQuantum: A package for calculating properties of solids + a tutorial blog on how to do these calculations in Julia](https://discourse.julialang.org/t/ann-simplequantum-a-package-for-calculating-properties-of-solids-a-tutorial-blog-on-how-to-do-these-calculations-in-julia/89075)

<div class="topic-metadata">

**Author:** [@tpolakovic](https://discourse.julialang.org/u/tpolakovic)\
**Replies:** 6\
**Last updated:** [October 27, 2022, 4:47pm UTC](https://discourse.julialang.org/t/ann-simplequantum-a-package-for-calculating-properties-of-solids-a-tutorial-blog-on-how-to-do-these-calculations-in-julia/89075 "2022-10-27T16:47:30Z")

</div>

SimpleQuantum is now available for easy-to-setup calculations of (for now just electronic) properties of solids. It provides ways to define and visualize crystal structures and a simple way to do common tasks, like calcu…

---

## [How Bayesian estimation of parameters of ODE system is done?](https://discourse.julialang.org/t/how-bayesian-estimation-of-parameters-of-ode-system-is-done/87092)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 4\
**Last updated:** [September 11, 2022, 10:19pm UTC](https://discourse.julialang.org/t/how-bayesian-estimation-of-parameters-of-ode-system-is-done/87092 "2022-09-11T22:19:46Z")

</div>

Hello people, I tried to find texts, journal articles, blog posts, etc., to understand how Bayesian estimation (for example, NUTS) works for ODE parameter estimation, but I could not. None of the material I found on the…

---

## [Good Scientific Code Workshop](https://discourse.julialang.org/t/good-scientific-code-workshop/84698)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 6\
**Last updated:** [July 30, 2022, 12:09pm UTC](https://discourse.julialang.org/t/good-scientific-code-workshop/84698 "2022-07-30T12:09:44Z")

</div>

Hello lovely people! Over the past three years I’ve been developing a workshop on Good Scientific Code. It hopes to solve many problems in scientific code that stem from lack of education on programming principles. The …

---

## [GeoStatsTutorials - Call for contributions](https://discourse.julialang.org/t/geostatstutorials-call-for-contributions/83634)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 4:13pm UTC](https://discourse.julialang.org/t/geostatstutorials-call-for-contributions/83634 "2022-07-01T16:13:37Z")

</div>

Isn’t it nice when you can just copy/paste a tutorial and adjust it to your own needs? The GeoStatsTutorials are a collection of Pluto notebooks designed to educate people about geostatistical modeling in Julia. These t…

---

## [100 Julia exercises with solutions](https://discourse.julialang.org/t/100-julia-exercises-with-solutions/78580)

<div class="topic-metadata">

**Author:** [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Replies:** 19\
**Last updated:** [June 19, 2022, 1:44pm UTC](https://discourse.julialang.org/t/100-julia-exercises-with-solutions/78580 "2022-06-19T13:44:28Z")

</div>

Here is a Julia version of exercises with solutions 100 Julia exercises with solutions which is based on the exercises given here: https://github.com/rougier/numpy-100 You are welcome with alternate and/or efficient s…

[Next page](https://discourse.julialang.org/tag/tutorials/203.md?match_all_tags=true&page=1&tags%5B%5D=tutorials)
