How to Install Julia and Pluto | Week 1, lecture 2 | 18.S191 MIT Fall 2020

  Рет қаралды 58,831

The Julia Programming Language

The Julia Programming Language

Күн бұрын

For full course information, visit github.com/mitmath/computatio...
Course website: computationalthinking.mit.edu...
NOTE:
Currently (2024) correct link to "Homework 0" is: github.com/mitmath/computatio...
Next lecture: • Working With Images in...
Resources
Written version of this tutorial: github.com/mitmath/computatio...
Julia download page: julialang.org/downloads/
Contents
0:00 Introduction
0:17 Julia: Download
1:11 Julia: Navigating the site
1:18 Julia: Running the Installer
1:44 Starting Julia
1:52 Julia: REPL
2:10 Pluto: Installation
2:20 Julia: Package Manager
2:43 Adding Pluto
3:06 Importing Pluto
3:12 Pluto: Creating a new notebook server
3:29 Pluto: Opening notebook server
3:53 Pluto: Sample notebooks
4:25 Homework 0
4:34 Opening Homework 0 in a Pluto Notebook
5:13 Pluto: Saving the notebook
6:24 Submitting Homework 0 on Canva
S/O to github.com/rohans0509 for the timestamps!
Want to help add timestamps to our KZfaq videos to help with discoverability? Find out more here: github.com/JuliaCommunity/You...
Interested in improving the auto generated captions? Get involved here: github.com/JuliaCommunity/You...

Пікірлер: 40
@TheJuliaLanguage
@TheJuliaLanguage 5 ай бұрын
4:25 Currently (2024) correct link to "Homework 0" is: github.com/mitmath/computational-thinking/blob/Fall20/homework/homework0/hw0.jl
@sergiohuaman6084
@sergiohuaman6084 3 жыл бұрын
Yay! I feel like I'm part of history just by watching these videos.
@kamilziemian995
@kamilziemian995 5 ай бұрын
With Julia, all this things feel so easy.
@kathrintheod259
@kathrintheod259 3 жыл бұрын
Thank you so much
@Amapramaadhy
@Amapramaadhy 3 жыл бұрын
Amazing demo! Convinced me to try Julia again. A quick feedback (hopefully useful) - for screen recordings, terminals with white background is more preferable (e.g your blue fonts were not at all legible). Again thanks for the amazing work
@nollix
@nollix 3 жыл бұрын
Are you colorblind? Everything was perfectly visible.
@evenaicantfigurethisout
@evenaicantfigurethisout 3 жыл бұрын
anyone had any luck running pluto from within julia from within the docker container on mac os? i'm having trouble exposing the port. i successfully got it to host but i can't access the localhost. apparently is has something to do with the fact that mac os recognizes the container as a VM and doesn't allow access to it.
@notnilc2107
@notnilc2107 2 жыл бұрын
I'm so jealous of future generations.
@Niko-uk2yb
@Niko-uk2yb 3 жыл бұрын
I am not sure Pluto works well for Windows. I was trying to do the first assignment, but I ran into an issue with "while" loop, where if you make a coding mistake you cannot abort the code and troubleshoot your code. Pluto is basically not compatible with windows. So I do not understand how it is possible to complete this MIT class with Pluto if you have windows. They need to make more videos to explain how to work in Pluto. I will try to look for those in case they are already posted.
@ntmt2903
@ntmt2903 3 жыл бұрын
Are notebook creators, game-changers usually this soft-spoken and winsome (1:24)?
@larrykavounas9645
@larrykavounas9645 3 жыл бұрын
Great job! But please: the "Run" button is so close to the delete button... If I could I would make the delete red, and move the run to the left (and rename it to eval/save). Thanks again
@larrykavounas9645
@larrykavounas9645 3 жыл бұрын
sorry, this was meant for Pluto - not Julia
@enisten
@enisten 3 жыл бұрын
Is there a way to make inputs (commands) appear above outputs in Pluto?
@berntlie6799
@berntlie6799 3 жыл бұрын
Pluto looks really nice and snappy. A few things that I wonder about: * For me, it looks kind of unnatural to have the response *above* the input. Maybe this is just habit from being used to the standard document flow of "left to right, top to bottom". * I normally prefer Jupyterlab over Jupyter, essentially because of better management of notebooks. Does Pluto allow for tabs of several open notebooks? Some sort of file browser? * The syntax for including markdown is fine -- not more difficult than using a menu to switch between code, markdown, and raw in Jupyter. The requirement of begin... end for more than one command per cell looks a little strange, but probably ok. Is it possible to include/import figures? * Some videos I have seen have an enormous margin on the left side in the browser -- which looks like a waste of space to me... But maybe the user can change that (e.g., by zooming in the browser...) * The "reactivity" requires a new way of thinking, I guess... no more reusing of variable names in a document flow... (e.g., if I *solve* multiple ODEs in a notebook, I need to use different names for parameters, solutions, etc...) * One thing I *really* miss in the Jupyter world, is direct access to an editor. I'm sure I can install it in Jupyterlab, but some better integration would have been fine. Since a Pluto notebook is *.jl code, I guess I can open the *.jl file in VSCode and edit it there, and I *assume* that Pluto will update when I save the code in the editor?? * As a Windows user, statements like "works best with Mac and Linux" is not really a good selling point -- it is a little unclear as to what it means/implies. Are there things that don't work in Windows? In summary, I will probably test Pluto -- it looks interesting.
@enisten
@enisten 3 жыл бұрын
​@@berntlie6799 Thank you for sharing your review. Hopefully someone from the Pluto team will see it. For what it's worth, I agree that Pluto has room for some major improvements at this point. Ideally, they'd resolve the user requests by giving them *options*, as much as possible, instead of making the decisions for them. You asked, "Is it possible to include/import figures?" If I understand you correctly, yes, you can import/display images. You can also embed videos. Check out HW 2, for example: computationalthinking.mit.edu/Fall20/hw2/ Personally I would like to know how one embeds live videos from KZfaq to perform video content analysis in real time or online learning (AI). When I tried to replicate the method used in HW2 to embed the lecture videos, it gave me an error message, indicating that the owner of the video might need to allow the external use of their video on KZfaq. But I'm not too sure.
@brettknoss486
@brettknoss486 3 жыл бұрын
@@berntlie6799 I don't care for the most part but for documents I would preffer the output at the bottom. Having user choice could be cool though.
@jonm8218
@jonm8218 3 жыл бұрын
I'm having problems downloading Pluto. When after submitting add Pluto I get this error. ERROR: SystemError: opening file "C:\\Users\\(my user name )\\.julia\ egistries\\General\\Registry.toml": No such file or directory
@iman6189
@iman6189 3 жыл бұрын
write capital P in Pluto
@adityachoudhari1158
@adityachoudhari1158 2 жыл бұрын
@@iman6189 Thanks
@ahmedhassaine3647
@ahmedhassaine3647 2 жыл бұрын
@@adityachoudhari1158 stupid syntax
@Shubhamkumar-sv1ty
@Shubhamkumar-sv1ty 3 жыл бұрын
I have an error "ERROR: The following package names could not be resolved: * pluto (not found in project, manifest, or registry)"
@eoinmccarthy8906
@eoinmccarthy8906 3 жыл бұрын
I just did the same thing... It's Pluto (uppercase 'P' :).
@adityachoudhari1158
@adityachoudhari1158 2 жыл бұрын
@@eoinmccarthy8906 Thanks
@shahzaibali2558
@shahzaibali2558 2 жыл бұрын
@@eoinmccarthy8906 thank you
@QT-yt4db
@QT-yt4db 4 ай бұрын
why use Julia instead of python? because it is faster?
@renudhadwal4986
@renudhadwal4986 3 жыл бұрын
I get an error when I type using pluto.
@renudhadwal4986
@renudhadwal4986 3 жыл бұрын
I downloaded the latest version of Julia 1.6.1 and now it works!
@MrFaiqueShakil
@MrFaiqueShakil 3 жыл бұрын
Congratulations...! Julia is officially now gone public...
@sangamesh2727
@sangamesh2727 3 жыл бұрын
Help me. Got this error while installing ERROR: SystemError: opening file "C:\\Users\\hp\\.julia\ egistries\\General\\Registry.toml": No such file or directory Stacktrace:
@sangamesh2727
@sangamesh2727 3 жыл бұрын
Solved it by deleting C:\Users\justi\.julia egistries\General
@FonsvanderPlas0
@FonsvanderPlas0 3 жыл бұрын
@@sangamesh2727 Thanks for sharing!
@danieltriantafyllis3011
@danieltriantafyllis3011 3 жыл бұрын
Thank you very much! I came here trying to find a solution to exactly this problem and after deleting the "General" file it worked immediately!
@ninadgns
@ninadgns 3 жыл бұрын
I'm getting "Illegal Instruction (Core Dumped)" while installing Pluto on Manjaro KDE. What to do?
@ninadgns
@ninadgns 3 жыл бұрын
Okay I then installed the 32 bit version of Julia and it fixed the issue
@FonsvanderPlas0
@FonsvanderPlas0 3 жыл бұрын
@@ninadgns Happy you fixed it!
@HighestRank
@HighestRank 3 жыл бұрын
I couldn’t get Julia to compile.
@gautammishra96
@gautammishra96 3 жыл бұрын
You need a powerful machine to compile Julia yourself. You can download compiled binaries for you system from their website.
Seam Carving | Week 2, lecture 7 | 18.S191 MIT Fall 2020
27:51
The Julia Programming Language
Рет қаралды 103 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 108 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 135 МЛН
Structure | Week 3 | 18.S191 MIT Fall 2020
33:21
The Julia Programming Language
Рет қаралды 10 М.
Parallel Computing on Your Own Machine | Week 8 | 18.S191 MIT Fall 2020
21:12
The Julia Programming Language
Рет қаралды 14 М.
What is a Discrete Fourier Transform? | Week 14 | MIT 18.S191 Fall 2020 | Grant Sanderson
34:48
What is GitHub?
2:43
GitHub
Рет қаралды 1,6 МЛН
STOP Learning These Programming Languages (for Beginners)
5:25
Andy Sterkowitz
Рет қаралды 663 М.
Analysing COVID-19 data | Week 4 | 18.S191 MIT Fall 2020
20:27
The Julia Programming Language
Рет қаралды 6 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 79 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 391 М.