title
Julia Tutorial

description
Get the Cheat Sheet : http://bit.ly/juliatut Best Julia Book : https://amzn.to/2EOapwy https://www.patreon.com/derekbanas Here is a 300 Page book on Julia in a 1 hour video. Julia is a fast, general purpose language that can easily integrate with libraries from numerous languages and has numerous libraries that are of interest especially to mathematically inclined people. MY UDEMY COURSES ARE 87.5% OFF TIL February 13th ($9.99) One is FREE ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_46 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_46 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial7 (100 Available) 02:06 Variables 02:45 Data Types 04:47 Casting 06:04 Strings 09:20 Conditionals 12:29 Looping 15:31 Arrays 26:11 Tuples 27:50 Dictionaries 30:32 Sets 32:19 Functions 39:14 Anonymous Functions 42:20 Math 44:06 Enums 44:55 Symbols 45:55 Structs 47:21 Abstract Types 49:50 Exception Handling / User Input 51:40 File IO 53:36 Macros GET FREE STUFF WHILE SUPPORTING MY TUTORIALS 1. Get a Free Stock : share.robinhood.com/derekb1560 2. Get 2 Free Audiobooks : https://amzn.to/2Y5FV2p

detail
{'title': 'Julia Tutorial', 'heatmap': [{'end': 2712.61, 'start': 2671.067, 'weight': 1}], 'summary': 'Tutorial covers julia programming language, including core syntax, string manipulation, programming concepts, data structures, functions, sets operations, math operations, enums, symbols, structs, exception handling, file i/o, and macros, with a total of 23 examples of string manipulations and demonstrations of conditional statements, loops, arrays, dictionaries, sets, and tuples.', 'chapters': [{'end': 97.678, 'segs': [{'end': 60.583, 'src': 'embed', 'start': 0.697, 'weight': 0, 'content': [{'end': 3.442, 'text': 'Well hello internet and welcome to my Julia video tutorial.', 'start': 0.697, 'duration': 2.745}, {'end': 8.392, 'text': "In this one tutorial you're going to learn the core syntax of the Julia programming language.", 'start': 3.502, 'duration': 4.89}, {'end': 12.084, 'text': 'And I decided to do this tutorial based off of your votes.', 'start': 8.843, 'duration': 3.241}, {'end': 16.366, 'text': 'And basically, Julia is largely used by the scientific community.', 'start': 12.524, 'duration': 3.842}, {'end': 18.627, 'text': 'And the reason why is it is fast.', 'start': 16.646, 'duration': 1.981}, {'end': 25.189, 'text': "It's a general purpose language that can easily integrate libraries from numerous other different languages.", 'start': 19.027, 'duration': 6.162}, {'end': 30.791, 'text': 'And it has numerous libraries that are focused on those that are mathematically inclined.', 'start': 25.589, 'duration': 5.202}, {'end': 36.997, 'text': 'Like always, a cheat sheet with a transcript of this entire video is available in the description underneath this video.', 'start': 31.175, 'duration': 5.822}, {'end': 44.239, 'text': 'As well, I have a table of contents that you can just click on and go to whatever you are interested in in regards to Julia.', 'start': 37.077, 'duration': 7.162}, {'end': 47.319, 'text': 'And that is also in the description underneath this video.', 'start': 44.499, 'duration': 2.82}, {'end': 49.18, 'text': "And I have a lot to do, so let's get into it.", 'start': 47.479, 'duration': 1.701}, {'end': 55.942, 'text': 'Okay, so to install Julia, you just go to julialang.org forward slash downloads.', 'start': 49.52, 'duration': 6.422}, {'end': 60.583, 'text': "It's very easy to install and it works on pretty much every operating system.", 'start': 56.002, 'duration': 4.581}], 'summary': 'This julia tutorial covers core syntax and its speed, widely used in scientific community.', 'duration': 59.886, 'max_score': 0.697, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo697.jpg'}, {'end': 108.748, 'src': 'embed', 'start': 76.317, 'weight': 4, 'content': [{'end': 82.903, 'text': "And basically to have everything work here, we're just going to go into packages and command palette and toggle.", 'start': 76.317, 'duration': 6.586}, {'end': 87.888, 'text': "And we're going to type in install and install packages and themes.", 'start': 83.144, 'duration': 4.744}, {'end': 89.79, 'text': 'And then I clicked on Julia.', 'start': 88.409, 'duration': 1.381}, {'end': 95.356, 'text': 'And then you can click on install language Julia if you want to use Atom like I am using.', 'start': 89.95, 'duration': 5.406}, {'end': 97.678, 'text': 'And that is all I did to set up everything.', 'start': 95.516, 'duration': 2.162}, {'end': 108.748, 'text': "And basically, to have your code compile, you're just going to type into your terminal Julia, Julia, and I'm going to call this JuliaTut.jl.", 'start': 98.018, 'duration': 10.73}], 'summary': 'Installed julia language in atom for code compilation.', 'duration': 32.431, 'max_score': 76.317, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo76317.jpg'}], 'start': 0.697, 'title': 'Julia programming tutorial', 'summary': 'Introduces the core syntax of the julia programming language, highlighting its popularity in the scientific community, its speed, and its ability to integrate libraries from different languages, with an emphasis on mathematical libraries. it also offers resources for further learning and installation instructions for julia.', 'chapters': [{'end': 97.678, 'start': 0.697, 'title': 'Julia programming tutorial', 'summary': 'Introduces the core syntax of the julia programming language, highlighting its popularity in the scientific community, its speed, and its ability to integrate libraries from different languages, with an emphasis on mathematical libraries. it also offers resources for further learning and installation instructions for julia.', 'duration': 96.981, 'highlights': ['Julia is widely used in the scientific community and is known for its speed, making it a popular choice for mathematical computations and general-purpose programming.', 'Julia can easily integrate libraries from numerous different languages, making it versatile and adaptable for various programming needs.', 'The tutorial provides a cheat sheet and a table of contents for easier navigation and reference for viewers, enhancing the learning experience.', 'Installation of Julia is easily accessible through julialang.org/downloads and is compatible with various operating systems, making it convenient for users to get started with the programming language.', 'The tutorial demonstrates the setup process for using Julia with Atom, a popular IDE, making it easier for viewers to follow along with the tutorial.']}], 'duration': 96.981, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo697.jpg', 'highlights': ['Julia is widely used in the scientific community and is known for its speed, making it a popular choice for mathematical computations and general-purpose programming.', 'Julia can easily integrate libraries from numerous different languages, making it versatile and adaptable for various programming needs.', 'Installation of Julia is easily accessible through julialang.org/downloads and is compatible with various operating systems, making it convenient for users to get started with the programming language.', 'The tutorial provides a cheat sheet and a table of contents for easier navigation and reference for viewers, enhancing the learning experience.', 'The tutorial demonstrates the setup process for using Julia with Atom, a popular IDE, making it easier for viewers to follow along with the tutorial.']}, {'end': 554.98, 'segs': [{'end': 121.48, 'src': 'embed', 'start': 98.018, 'weight': 2, 'content': [{'end': 108.748, 'text': "And basically, to have your code compile, you're just going to type into your terminal Julia, Julia, and I'm going to call this JuliaTut.jl.", 'start': 98.018, 'duration': 10.73}, {'end': 110.65, 'text': 'and that is how you compile everything.', 'start': 108.748, 'duration': 1.902}, {'end': 112.972, 'text': "But I don't have anything over here, so let's go and write some stuff.", 'start': 110.69, 'duration': 2.282}, {'end': 116.235, 'text': 'Very first thing I want to do is I want to import some modules.', 'start': 113.112, 'duration': 3.123}, {'end': 118.377, 'text': 'So I want to use printf.', 'start': 116.655, 'duration': 1.722}, {'end': 121.48, 'text': 'And I also want to use statistics.', 'start': 118.797, 'duration': 2.683}], 'summary': "To compile code in julia, use 'julia juliatut.jl' in the terminal and import modules like printf and statistics.", 'duration': 23.462, 'max_score': 98.018, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo98018.jpg'}, {'end': 283.736, 'src': 'embed', 'start': 256.166, 'weight': 3, 'content': [{'end': 259.947, 'text': 'However, you do have access to other different data types.', 'start': 256.166, 'duration': 3.781}, {'end': 271.212, 'text': 'which is big floats as well as big int, that are going to allow you to increase your position, your precision, in regards to performing calculations,', 'start': 260.408, 'duration': 10.804}, {'end': 277.874, 'text': 'but just always like to make people aware of this fact, and there you can see whenever everything starts to fall apart.', 'start': 271.212, 'duration': 6.662}, {'end': 283.736, 'text': "you're also going to be able to use characters, and characters are just going to be surrounded with single quotes,", 'start': 277.874, 'duration': 5.862}], 'summary': 'Access to big floats and big int for increased precision in calculations, use of characters in single quotes.', 'duration': 27.57, 'max_score': 256.166, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo256166.jpg'}, {'end': 357.418, 'src': 'embed', 'start': 329.087, 'weight': 4, 'content': [{'end': 332.109, 'text': "Likewise you're going to be able to cast from strings to floats.", 'start': 329.087, 'duration': 3.022}, {'end': 334.171, 'text': "So let's go and create that.", 'start': 332.129, 'duration': 2.042}, {'end': 340.733, 'text': "So we can go parse and you're going to define what type of data you want to convert to.", 'start': 334.811, 'duration': 5.922}, {'end': 344.274, 'text': "And then let's say that you have just one inside of there.", 'start': 341.173, 'duration': 3.101}, {'end': 346.715, 'text': 'You can also cast from strings to ints.', 'start': 344.634, 'duration': 2.081}, {'end': 349.275, 'text': "So let's go through this in there.", 'start': 347.155, 'duration': 2.12}, {'end': 354.637, 'text': 'And you would do that with parse and int8, just like that.', 'start': 349.736, 'duration': 4.901}, {'end': 357.418, 'text': "And you can see that as I run it, we don't get any errors.", 'start': 354.937, 'duration': 2.481}], 'summary': 'Casting from strings to floats and ints using parse and int8 with no errors.', 'duration': 28.331, 'max_score': 329.087, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo329087.jpg'}, {'end': 498.659, 'src': 'embed', 'start': 466.332, 'weight': 0, 'content': [{'end': 468.553, 'text': "You're going to see we grab the J here.", 'start': 466.332, 'duration': 2.221}, {'end': 469.813, 'text': 'We grabbed a new line.', 'start': 468.593, 'duration': 1.22}, {'end': 471.294, 'text': "That's the reason why there's a space there.", 'start': 469.833, 'duration': 1.461}, {'end': 473.094, 'text': 'There we grab the first four characters.', 'start': 471.334, 'duration': 1.76}, {'end': 476.035, 'text': 'There we perform string concatenation in multiple different ways.', 'start': 473.134, 'duration': 2.901}, {'end': 478.216, 'text': 'And there is our example with interpolation.', 'start': 476.255, 'duration': 1.961}, {'end': 483.515, 'text': "We're also going to be able to put comments inside of our code just by putting a hash symbol inside of there.", 'start': 478.493, 'duration': 5.022}, {'end': 490.777, 'text': 'We also can go and create multi-line strings just by putting in three double quotes inside of there.', 'start': 483.755, 'duration': 7.022}, {'end': 498.659, 'text': 'So I can say something like, I have many lines, and then close that off with three double quotes.', 'start': 490.837, 'duration': 7.822}], 'summary': 'Demonstrating string manipulation and formatting methods using python code.', 'duration': 32.327, 'max_score': 466.332, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo466332.jpg'}, {'end': 533.262, 'src': 'embed', 'start': 508.442, 'weight': 1, 'content': [{'end': 516.909, 'text': 'So I can come in and go print line and then directly inside of here go and see if that is greater than another string.', 'start': 508.442, 'duration': 8.467}, {'end': 520.431, 'text': "We're going to be able to find the index for characters as well.", 'start': 517.308, 'duration': 3.123}, {'end': 526.476, 'text': "So let's say we wanted to go find first and we could say is equal.", 'start': 520.912, 'duration': 5.564}, {'end': 528.998, 'text': 'This is going to give us the very first one obviously.', 'start': 526.516, 'duration': 2.482}, {'end': 533.262, 'text': "So I'm going to come in and go and do a search for a character of i.", 'start': 529.078, 'duration': 4.184}], 'summary': 'Demonstrating string manipulation and search methods in programming.', 'duration': 24.82, 'max_score': 508.442, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo508442.jpg'}], 'start': 98.018, 'title': 'Julia basics and string manipulation', 'summary': 'Covers compiling julia code, importing modules, working with variables and data types, string manipulation techniques, including length, index, concatenation, interpolation, comments, multi-line strings, comparisons, finding characters, substrings, and indices, with a total of 23 examples of string manipulations.', 'chapters': [{'end': 370.21, 'start': 98.018, 'title': 'Julia basics tutorial', 'summary': 'Explains how to compile julia code in the terminal, import modules, work with variables and data types, including integers, floats, booleans, characters, and casting between different data types.', 'duration': 272.192, 'highlights': ['The chapter explains how to compile Julia code in the terminal, import modules, work with variables and data types, including integers, floats, booleans, characters, and casting between different data types. The tutorial covers compiling Julia code in the terminal, importing modules like printf and statistics, dynamically assigned variables, asserting data types, handling different data types such as integers, floats, booleans, characters, and casting between them.', 'Float addition is accurate to about 14 digits, but big floats and big int allow increased precision in calculations. Float addition is accurate to about 14 digits, but big floats and big int provide increased precision in calculations, which is important to understand for performing accurate calculations.', 'You can cast from strings to floats and strings to ints using parse and the desired type, without encountering errors. Casting from strings to floats and strings to ints using parse and the desired type is demonstrated without encountering errors, providing a useful method for data type conversion.', 'Characters are stored as UTF-8 unicodes and can be printed out after being defined surrounded by single quotes. Characters are stored as UTF-8 unicodes, surrounded by single quotes, and can be printed out after being defined, demonstrating the usage of characters in Julia.']}, {'end': 554.98, 'start': 370.31, 'title': 'String manipulation in programming', 'summary': 'Covers various string manipulation techniques in programming, including obtaining string length and index, performing concatenation and interpolation, as well as using comments, multi-line strings, and string comparisons. it also demonstrates finding characters, substrings, and their indices, with a total of 23 characters and examples of string manipulations.', 'duration': 184.67, 'highlights': ['The chapter covers various string manipulation techniques in programming, including obtaining string length and index, performing concatenation and interpolation, as well as using comments, multi-line strings, and string comparisons.', 'It also demonstrates finding characters, substrings, and their indices, with a total of 23 characters and examples of string manipulations.', 'The chapter illustrates how to obtain the length and index of a string, where the first index is represented with one instead of the normal zero, and obtaining the last indexed value by using end.', 'It explains different methods of performing string concatenation, using a star symbol to combine strings, and performing interpolation with examples of creating new strings and printing them out.', 'The chapter also showcases using comments inside the code by using a hash symbol and creating multi-line strings by enclosing the content within three double quotes.', 'It further demonstrates string comparisons using equals to, greater than, less than, or not equal to, and finding the index for characters, as well as finding substrings inside a string.']}], 'duration': 456.962, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo98018.jpg', 'highlights': ['The chapter covers various string manipulation techniques in programming, including obtaining string length and index, performing concatenation and interpolation, as well as using comments, multi-line strings, and string comparisons.', 'It also demonstrates finding characters, substrings, and their indices, with a total of 23 characters and examples of string manipulations.', 'The chapter explains how to compile Julia code in the terminal, import modules, work with variables and data types, including integers, floats, booleans, characters, and casting between different data types.', 'Float addition is accurate to about 14 digits, but big floats and big int allow increased precision in calculations.', 'You can cast from strings to floats and strings to ints using parse and the desired type, without encountering errors.']}, {'end': 1926.829, 'segs': [{'end': 631.067, 'src': 'embed', 'start': 580.036, 'weight': 0, 'content': [{'end': 585.579, 'text': "So we'll go print line and you are in kindergarten, for example.", 'start': 580.036, 'duration': 5.543}, {'end': 592.364, 'text': "And we're going to be able to use a whole bunch of different conditional operators, you know, of course, like greater than less than,", 'start': 585.899, 'duration': 6.465}, {'end': 598.068, 'text': "greater than or equal to, less than or equal to, equal to not equal to, just like we're used to.", 'start': 592.364, 'duration': 5.704}, {'end': 603.973, 'text': "And then we're also going to be able to use and, or, and not in regards to our logical operators.", 'start': 598.228, 'duration': 5.745}, {'end': 605.434, 'text': "So that's what I'm demonstrating here.", 'start': 603.993, 'duration': 1.441}, {'end': 619.421, 'text': 'and if we want to continue and ask for some more conditions, we can say else if age is greater than or equal to 7 and age is less than or equal to 13.', 'start': 606.014, 'duration': 13.407}, {'end': 624.284, 'text': "in that situation, let's go and print some more information.", 'start': 619.421, 'duration': 4.863}, {'end': 631.067, 'text': "we'll say you're in and change this to middle school, and then we can perform even more conditions.", 'start': 624.284, 'duration': 6.783}], 'summary': 'Demonstration of using conditional and logical operators for different age groups in a school setting.', 'duration': 51.031, 'max_score': 580.036, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo580036.jpg'}, {'end': 698.284, 'src': 'embed', 'start': 660.892, 'weight': 2, 'content': [{'end': 664.053, 'text': "Let's use the printf here just to demonstrate how that works.", 'start': 660.892, 'duration': 3.161}, {'end': 676.036, 'text': 'So I can say at printf and then we can say true just to demonstrate how or works, which is going to give us a true if either of them are true or not.', 'start': 664.113, 'duration': 11.923}, {'end': 681.557, 'text': 'And then inside of here we can say that we want to use a string and then we could throw in a new line on top of that.', 'start': 676.256, 'duration': 5.301}, {'end': 686.959, 'text': "and then let's go and i'll show you the ternary operator as well.", 'start': 682.137, 'duration': 4.822}, {'end': 698.284, 'text': "so i'm going to say here is a condition, and if that is true, then i want to return true as a string and otherwise i want to return false.", 'start': 686.959, 'duration': 11.325}], 'summary': 'Demonstration of printf, or operator, and ternary operator in c programming.', 'duration': 37.392, 'max_score': 660.892, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo660892.jpg'}, {'end': 834.797, 'src': 'embed', 'start': 804.44, 'weight': 3, 'content': [{'end': 806.901, 'text': "So that's how we work with global values that are outside.", 'start': 804.44, 'duration': 2.461}, {'end': 811.542, 'text': 'And then we could use continue, which is going to skip the rest of the code in this loop.', 'start': 807.241, 'duration': 4.301}, {'end': 814.463, 'text': 'We could then end our if block.', 'start': 812.002, 'duration': 2.461}, {'end': 819.805, 'text': 'And then we could come in once again and go global i plus equals 2.', 'start': 814.703, 'duration': 5.102}, {'end': 828.107, 'text': 'And of course, if I type in that, that is of course the same as if we would say i is equal to i plus 1, just like other programming languages.', 'start': 819.805, 'duration': 8.302}, {'end': 834.797, 'text': 'and then we could say something like, if i gets to the point where it is greater than or equal to 10,', 'start': 828.587, 'duration': 6.21}], 'summary': 'Working with global values, using continue to skip code, and updating i by 2.', 'duration': 30.357, 'max_score': 804.44, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo804440.jpg'}, {'end': 949.895, 'src': 'embed', 'start': 922.123, 'weight': 4, 'content': [{'end': 925.325, 'text': "you're going to see everything print out right there.", 'start': 922.123, 'duration': 3.202}, {'end': 931.41, 'text': "okay, so cool stuff, and, like i said, we'll get into more with looping in arrays which are coming up next.", 'start': 925.325, 'duration': 6.085}, {'end': 933.631, 'text': "All right, so let's create an array.", 'start': 931.77, 'duration': 1.861}, {'end': 935.611, 'text': "There's multiple different ways we can create an array.", 'start': 933.651, 'duration': 1.96}, {'end': 943.033, 'text': "Let's say we wanted to create an array that was full of zeros and is a 32 int.", 'start': 935.671, 'duration': 7.362}, {'end': 945.914, 'text': "And it's going to be 2 by 2.", 'start': 943.794, 'duration': 2.12}, {'end': 948.555, 'text': "That's a 2 by 2 array full of zeros.", 'start': 945.914, 'duration': 2.641}, {'end': 949.895, 'text': "Let's go and create more.", 'start': 948.835, 'duration': 1.06}], 'summary': 'Introduction to creating arrays in programming with specific dimensions and values.', 'duration': 27.772, 'max_score': 922.123, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo922123.jpg'}, {'end': 1382.33, 'src': 'embed', 'start': 1354.88, 'weight': 5, 'content': [{'end': 1358.821, 'text': "And let's throw a print line inside of there just to have some space.", 'start': 1354.88, 'duration': 3.941}, {'end': 1363.562, 'text': "And there you can see if we cycle through all the values in the multidimensional array, that's how we do it.", 'start': 1359.141, 'duration': 4.421}, {'end': 1367.643, 'text': 'Otherwise, we could stack the four loops if you would want to, you know, do that.', 'start': 1363.982, 'duration': 3.661}, {'end': 1368.623, 'text': 'But there you go.', 'start': 1367.903, 'duration': 0.72}, {'end': 1373.684, 'text': "We're also going to be able to, let's say we wanted to get every row in the second column.", 'start': 1369.141, 'duration': 4.543}, {'end': 1378.047, 'text': "So we'll go and use our multidimensional array, which is a seven.", 'start': 1374.024, 'duration': 4.023}, {'end': 1382.33, 'text': "And here we're going to put a colon and two for the second column.", 'start': 1378.447, 'duration': 3.883}], 'summary': 'Demonstrating iterating through a multidimensional array and accessing specific columns.', 'duration': 27.45, 'max_score': 1354.88, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1354880.jpg'}, {'end': 1424.132, 'src': 'embed', 'start': 1396.274, 'weight': 6, 'content': [{'end': 1400.197, 'text': 'You can also create arrays using ranges.', 'start': 1396.274, 'duration': 3.923}, {'end': 1401.578, 'text': 'So to do that.', 'start': 1400.537, 'duration': 1.041}, {'end': 1402.699, 'text': 'And then there we are.', 'start': 1401.598, 'duration': 1.101}, {'end': 1406.201, 'text': "You're going to be able to create arrays with steps.", 'start': 1403.779, 'duration': 2.422}, {'end': 1409.363, 'text': 'I briefly talked about this previously.', 'start': 1406.661, 'duration': 2.702}, {'end': 1410.744, 'text': "But let's go and do it again.", 'start': 1409.423, 'duration': 1.321}, {'end': 1412.205, 'text': "So here's another array.", 'start': 1411.024, 'duration': 1.181}, {'end': 1414.527, 'text': 'And go collect.', 'start': 1412.846, 'duration': 1.681}, {'end': 1417.048, 'text': "And here we're going to go from 2 through 10.", 'start': 1415.027, 'duration': 2.021}, {'end': 1418.91, 'text': 'But we want to step each time by 2.', 'start': 1417.048, 'duration': 1.862}, {'end': 1421.832, 'text': 'The second value is the step.', 'start': 1418.91, 'duration': 2.922}, {'end': 1424.132, 'text': "So it's going to go 2, 4, 6, 8, 8.", 'start': 1421.892, 'duration': 2.24}], 'summary': 'Creating arrays using ranges with steps, e.g. 2, 4, 6, 8.', 'duration': 27.858, 'max_score': 1396.274, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1396274.jpg'}, {'end': 1505.41, 'src': 'embed', 'start': 1469.488, 'weight': 7, 'content': [{'end': 1472.87, 'text': 'and how we were able to step through those even values using this guy right here.', 'start': 1469.488, 'duration': 3.382}, {'end': 1476.611, 'text': "All right, so what else can we do? There's so many things we can do with arrays.", 'start': 1472.89, 'duration': 3.721}, {'end': 1478.932, 'text': "We're going to be able to add values to an array.", 'start': 1476.891, 'duration': 2.041}, {'end': 1483.254, 'text': "So let's say how we're going to do that is using push with an exclamation mark.", 'start': 1479.012, 'duration': 4.242}, {'end': 1485.835, 'text': "So let's do this with the A10 and let's throw 36 on there.", 'start': 1483.314, 'duration': 2.521}, {'end': 1490.459, 'text': 'We could also create multiple dimensional arrays in other different ways.', 'start': 1487.156, 'duration': 3.303}, {'end': 1505.41, 'text': 'So we can go a11 is equal to and then we could go n times m for n in and then to find a range 1 through 5 and then m in 1 through 5 once again.', 'start': 1490.479, 'duration': 14.931}], 'summary': 'Exploring array manipulation and adding values using push method.', 'duration': 35.922, 'max_score': 1469.488, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1469488.jpg'}, {'end': 1611.482, 'src': 'embed', 'start': 1572.879, 'weight': 8, 'content': [{'end': 1578.401, 'text': "Okay, so a lot of things don't need to be covered again, because most array functions work with tuples,", 'start': 1572.879, 'duration': 5.522}, {'end': 1583.644, 'text': 'except for the fact that tuple values cannot be changed once they are defined.', 'start': 1578.401, 'duration': 5.243}, {'end': 1588.106, 'text': "So as long as you're not changing tuple values, you can use pretty much all the things you just saw.", 'start': 1583.764, 'duration': 4.342}, {'end': 1590.678, 'text': 'So there we went and created a tuple.', 'start': 1588.496, 'duration': 2.182}, {'end': 1597.526, 'text': "And just to give you a couple examples, we're going to, of course, be able to get individual values out of the tuple.", 'start': 1591.199, 'duration': 6.327}, {'end': 1600.449, 'text': 'Once again, they are indexed starting with the value of 1.', 'start': 1597.646, 'duration': 2.803}, {'end': 1606.216, 'text': 'We can go and get all of the values inside of the tuple with for loops, just like we did before.', 'start': 1600.449, 'duration': 5.767}, {'end': 1607.778, 'text': 'And there we are.', 'start': 1606.716, 'duration': 1.062}, {'end': 1611.482, 'text': "You're going to be able to create multi-dimensional tuples as well.", 'start': 1607.818, 'duration': 3.664}], 'summary': 'Array functions work with tuples, values are unchangeable. can access values, use for loops, and create multi-dimensional tuples.', 'duration': 38.603, 'max_score': 1572.879, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1572879.jpg'}, {'end': 1779.741, 'src': 'embed', 'start': 1752.053, 'weight': 9, 'content': [{'end': 1756.676, 'text': 'We can go and say we want to display every single key that is inside of it.', 'start': 1752.053, 'duration': 4.623}, {'end': 1759.738, 'text': 'So just go keys and the dictionary.', 'start': 1757.136, 'duration': 2.602}, {'end': 1768.603, 'text': "And likewise, we're going to be able to go and show all of the individual values by changing keys into the word values.", 'start': 1759.998, 'duration': 8.605}, {'end': 1773.48, 'text': "Now let's say we want to cycle through this guy and display both the key as well as the value.", 'start': 1769.079, 'duration': 4.401}, {'end': 1779.741, 'text': 'We can go for and key value or KV in the individual dictionary we have.', 'start': 1773.54, 'duration': 6.201}], 'summary': 'Demonstrating how to display keys, values, and key-value pairs in a dictionary.', 'duration': 27.688, 'max_score': 1752.053, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1752053.jpg'}, {'end': 1842.542, 'src': 'embed', 'start': 1814.769, 'weight': 10, 'content': [{'end': 1820.851, 'text': 'and i made an error specifically on line number nine And I forgot to put the n inside of there.', 'start': 1814.769, 'duration': 6.082}, {'end': 1821.912, 'text': 'So there we are.', 'start': 1820.952, 'duration': 0.96}, {'end': 1828.095, 'text': 'And you can see all of your different output based off of what we were asking in regards to our dictionary.', 'start': 1822.432, 'duration': 5.663}, {'end': 1829.596, 'text': 'So pretty cool stuff.', 'start': 1828.195, 'duration': 1.401}, {'end': 1831.017, 'text': 'Something to play around with.', 'start': 1829.776, 'duration': 1.241}, {'end': 1832.317, 'text': 'Now I want to talk about sets.', 'start': 1831.117, 'duration': 1.2}, {'end': 1837.86, 'text': 'Now sets are going to be very similar to arrays, except for every value must be unique.', 'start': 1832.838, 'duration': 5.022}, {'end': 1842.542, 'text': "So let's go and try to create a set that does not have unique values.", 'start': 1837.92, 'duration': 4.622}], 'summary': 'Error on line 9, discussing dictionaries and sets in python.', 'duration': 27.773, 'max_score': 1814.769, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1814769.jpg'}], 'start': 554.98, 'title': 'Programming concepts and data structures', 'summary': 'Covers conditional statements, loops, arrays, dictionaries, sets, and tuples in programming, with examples and code demonstrations. it demonstrates logical and conditional operators, array manipulation, and unique features of dictionaries, sets, and tuples in julia.', 'chapters': [{'end': 660.412, 'start': 554.98, 'title': 'Conditional statements in programming', 'summary': 'Covers the usage of conditional statements in programming, demonstrating the use of different logical and conditional operators to categorize age groups into different schools, such as kindergarten, middle school, and high school.', 'duration': 105.432, 'highlights': ['The chapter demonstrates the usage of different conditional operators such as greater than, less than, greater than or equal to, less than or equal to, equal to, and not equal to, as well as logical operators such as and, or, and not.', 'It showcases the categorization of age groups into different school levels based on conditions, specifying the appropriate school level based on the age range, such as kindergarten, middle school, and high school.', 'The demonstration includes the use of if-else statements to handle different conditions for age groups, providing a comprehensive example of conditional statements in programming.']}, {'end': 1254.998, 'start': 660.892, 'title': 'Introduction to conditionals, loops, and arrays', 'summary': 'Covers the demonstration of printf, ternary operator, and not operator, followed by a detailed explanation of looping and creating arrays with various operations. it also includes examples of finding specific values, performing calculations, and manipulating arrays.', 'duration': 594.106, 'highlights': ['Demonstrating printf, ternary operator, and not operator The tutorial explains the usage of printf to display true or false, demonstrates the ternary operator to return true or false based on a condition, and showcases the not operator to determine the opposite of true.', 'Explanation of looping and working with global values The tutorial provides a detailed explanation of looping, including using if conditions, working with global values, using continue to skip code, and ending loops with break, with the example of printing even numbers and stopping at a certain condition.', 'Creation and manipulation of arrays The tutorial covers the creation of arrays with various data types, accessing specific values, checking for existence, finding matches, and performing calculations on arrays, including addition, deletion, finding maximum/minimum values, and multiplying all values by a factor.']}, {'end': 1658.973, 'start': 1254.998, 'title': 'Arrays and tuples in programming', 'summary': 'Covers arrays and tuples in programming, including storing various data types, multi-dimensional arrays, creating arrays using ranges, adding values to an array, and using tuples, with examples and code demonstrations.', 'duration': 403.975, 'highlights': ['The chapter covers multi-dimensional arrays and how to cycle through every item inside the array using for loops. Explains the concept of multi-dimensional arrays and demonstrates cycling through every item inside the array using for loops.', 'Demonstrates creating arrays using ranges and stepping through values with examples. Shows the process of creating arrays using ranges and stepping through values with examples.', 'Illustrates creating arrays with a comprehension and adding values to an array using push. Illustrates the process of creating arrays with a comprehension and adding values to an array using push.', 'Explains the use of tuples in programming and demonstrates how to get individual values and create multi-dimensional tuples. Provides an explanation of the use of tuples in programming and demonstrates getting individual values and creating multi-dimensional tuples.']}, {'end': 1926.829, 'start': 1659.213, 'title': 'Dictionaries, sets & tuples in julia', 'summary': 'Covers the usage of dictionaries, sets, and tuples in julia, demonstrating key operations such as creation, manipulation, and iteration, and showcasing their unique features such as key-value pairs and uniqueness constraints.', 'duration': 267.616, 'highlights': ['Dictionaries are key-value pairs where the key must be unique, created using Dict and allowing operations like adding, deleting, and checking for keys and values. Demonstrates the creation and manipulation of dictionaries, emphasizing the uniqueness of keys and showcasing operations like adding, deleting, and checking for keys and values.', 'Sets in Julia require unique values, allowing addition of unique values using push, and operations such as checking for individual values, combining sets, finding intersecting items, and identifying items in the first set but not in the second set. Explains the uniqueness constraint of sets, the addition of unique values, and various set operations such as checking for values, combining sets, finding intersecting items, and identifying unique items.', 'Tuples are demonstrated with information on working with different ways and exploring array functionalities. Mentions the demonstration of tuples and encourages exploration of array functionalities.']}], 'duration': 1371.849, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo554980.jpg', 'highlights': ['The chapter demonstrates the usage of different conditional operators and logical operators.', 'It showcases the categorization of age groups into different school levels based on conditions.', 'The tutorial explains the usage of printf, ternary operator, and not operator.', 'The tutorial provides a detailed explanation of looping, including using if conditions and working with global values.', 'The tutorial covers the creation of arrays with various data types and manipulation of arrays.', 'The chapter covers multi-dimensional arrays and cycling through every item inside the array using for loops.', 'Shows the process of creating arrays using ranges and stepping through values with examples.', 'Illustrates the process of creating arrays with a comprehension and adding values to an array using push.', 'Provides an explanation of the use of tuples in programming and demonstrates getting individual values and creating multi-dimensional tuples.', 'Demonstrates the creation and manipulation of dictionaries, emphasizing the uniqueness of keys and showcasing operations like adding, deleting, and checking for keys and values.', 'Explains the uniqueness constraint of sets, the addition of unique values, and various set operations.', 'Mentions the demonstration of tuples and encourages exploration of array functionalities.']}, {'end': 2521, 'segs': [{'end': 2024.516, 'src': 'embed', 'start': 1997.915, 'weight': 0, 'content': [{'end': 2001.396, 'text': "Alright, so that's the most simple type of function we can work with.", 'start': 1997.915, 'duration': 3.481}, {'end': 2005.06, 'text': "but of course there's also multiple expression functions.", 'start': 2001.696, 'duration': 3.364}, {'end': 2005.801, 'text': "so let's go.", 'start': 2005.06, 'duration': 0.741}, {'end': 2014.01, 'text': "and how you define the function is type in function and i can say something like can i vote and let's throw age inside of there?", 'start': 2005.801, 'duration': 8.209}, {'end': 2019.116, 'text': 'and if we want to provide a default value for our argument, you just put equal to whatever it is.', 'start': 2014.01, 'duration': 5.106}, {'end': 2024.516, 'text': 'then we can say if age is greater than 18 And we can print out.', 'start': 2019.116, 'duration': 5.4}], 'summary': 'Intro to defining functions with default argument values and conditionals', 'duration': 26.601, 'max_score': 1997.915, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1997915.jpg'}, {'end': 2080.049, 'src': 'embed', 'start': 2046.741, 'weight': 1, 'content': [{'end': 2048.581, 'text': "So there's a multi-expression function.", 'start': 2046.741, 'duration': 1.84}, {'end': 2049.702, 'text': "And let's do more.", 'start': 2048.842, 'duration': 0.86}, {'end': 2054.063, 'text': "It's very important to understand that your arguments are going to be passed by value.", 'start': 2049.722, 'duration': 4.341}, {'end': 2067.966, 'text': 'So if we come in and define our value right there and then we go and create a function inside of it and we call it change v1, and then pass in v1,', 'start': 2054.163, 'duration': 13.803}, {'end': 2071.347, 'text': 'and then try to change that value to 10..', 'start': 2067.966, 'duration': 3.381}, {'end': 2080.049, 'text': 'and then end it and then go and call our function change v1 and pass in v1.', 'start': 2071.347, 'duration': 8.702}], 'summary': 'Explaining passing arguments by value in a multi-expression function.', 'duration': 33.308, 'max_score': 2046.741, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2046741.jpg'}, {'end': 2399.393, 'src': 'embed', 'start': 2373.111, 'weight': 2, 'content': [{'end': 2377.975, 'text': "so we'll go x and like that, and then this is going to be our anonymous function.", 'start': 2373.111, 'duration': 4.864}, {'end': 2387.663, 'text': "it is going to receive a value of x and then multiply x times x, and it's going to do that for each value in our array that we have,", 'start': 2377.975, 'duration': 9.688}, {'end': 2390.946, 'text': 'and then what we can do is print out that value.', 'start': 2387.663, 'duration': 3.283}, {'end': 2393.408, 'text': 'so very, very simple, cool stuff, all right.', 'start': 2390.946, 'duration': 2.462}, {'end': 2394.049, 'text': 'so there we are.', 'start': 2393.408, 'duration': 0.641}, {'end': 2395.77, 'text': "Alright, let's do another example.", 'start': 2394.369, 'duration': 1.401}, {'end': 2397.972, 'text': "Let's say we want to add arrays.", 'start': 2395.97, 'duration': 2.002}, {'end': 2399.393, 'text': "So we'll go.", 'start': 2398.372, 'duration': 1.021}], 'summary': 'Example of anonymous function multiplying x by itself for each value in an array.', 'duration': 26.282, 'max_score': 2373.111, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2373111.jpg'}, {'end': 2467.477, 'src': 'embed', 'start': 2441.217, 'weight': 3, 'content': [{'end': 2445.259, 'text': "So let's go and create v4 is equal to reduce.", 'start': 2441.217, 'duration': 4.042}, {'end': 2454.003, 'text': "And let's say we want to add every single value that is going to be between a range of 1 and 100.", 'start': 2445.619, 'duration': 8.384}, {'end': 2455.524, 'text': 'And we want to output that.', 'start': 2454.003, 'duration': 1.521}, {'end': 2456.584, 'text': 'It will do it.', 'start': 2455.824, 'duration': 0.76}, {'end': 2458.845, 'text': 'And there you can see is the value.', 'start': 2457.064, 'duration': 1.781}, {'end': 2461.226, 'text': 'And we can do even cooler things.', 'start': 2459.385, 'duration': 1.841}, {'end': 2465.528, 'text': "Let's say we wanted to find out what is the longest word in a sentence.", 'start': 2461.746, 'duration': 3.782}, {'end': 2467.477, 'text': 'well, we could do that.', 'start': 2466.417, 'duration': 1.06}], 'summary': 'Using v4 to reduce values and find longest word in sentence.', 'duration': 26.26, 'max_score': 2441.217, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2441217.jpg'}], 'start': 1926.829, 'title': 'Functions and sets operations', 'summary': 'Covers sets operations, single and multiple expression functions, passing arguments, using global keyword, accepting multiple arguments, returning multiple values, creating custom functions, and anonymous functions in javascript with examples of using map, reduce, and split functions.', 'chapters': [{'end': 2046.721, 'start': 1926.829, 'title': 'Sets, single and multiple expression functions', 'summary': 'Covers sets operations, single and multiple expression functions, demonstrating adding values using a simple function and defining a function with a default argument to check voting eligibility.', 'duration': 119.892, 'highlights': ['The chapter covers sets operations, single and multiple expression functions, and demonstrates adding values using a simple function and defining a function with a default argument to check voting eligibility.', 'Demonstrates a single expression function called GetSum that adds X and Y values and returns the result, showcasing the simplicity of function implementation.', 'Explains the definition of a multiple expression function using the example of checking voting eligibility based on age, with a default argument for age and corresponding conditional statements for voting eligibility.']}, {'end': 2351.16, 'start': 2046.741, 'title': 'Functions in programming', 'summary': 'Explains the concept of functions in programming, including passing arguments by value, using global keyword to change values, accepting multiple arguments, returning multiple values, creating custom functions, handling different types of arguments, and converting strings to integers.', 'duration': 304.419, 'highlights': ['The chapter explains the concept of functions in programming, including passing arguments by value, using global keyword to change values, accepting multiple arguments, returning multiple values, creating custom functions, handling different types of arguments, and converting strings to integers. This highlight encompasses the overall content of the transcript, summarizing the key points related to functions in programming.', "Using global keyword to change values The chapter explains how the global keyword is used to change values of variables within functions, demonstrating the process and the impact on the variable's value.", 'Accepting multiple arguments and returning multiple values The chapter discusses how to accept multiple arguments within a function and return multiple values, providing an example of a function called getSum2 that can accept as many arguments as needed and return the sum of those arguments.', 'Creating custom functions The transcript provides an example of creating custom functions, such as makeMultiplier, which allows the creation of custom functions to perform specific operations, such as multiplying a value by a specified number.', 'Handling different types of arguments and converting strings to integers The chapter covers the handling of different types of arguments, including numbers and strings, as well as the process of converting strings to integers for calculations, illustrating the usage of parse and int32 to convert strings to integers.']}, {'end': 2521, 'start': 2351.16, 'title': 'Anonymous functions in javascript', 'summary': 'Discusses the use of anonymous functions in javascript, including examples of using map, reduce, and split functions to manipulate arrays and strings.', 'duration': 169.84, 'highlights': ['Using map function with an anonymous function to multiply each item in an array by itself and print the result.', 'Using map function with an anonymous function to add the elements of two arrays together and output the result as another array.', 'Using reduce function to sum all values between 1 and 100 and outputting the result.', 'Using reduce function to find the longest word in a sentence by converting the string into an array and comparing the lengths of the words.']}], 'duration': 594.171, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo1926829.jpg', 'highlights': ['Covers sets operations, single and multiple expression functions, and demonstrates adding values using a simple function and defining a function with a default argument to check voting eligibility.', 'The chapter explains the concept of functions in programming, including passing arguments by value, using global keyword to change values, accepting multiple arguments, returning multiple values, creating custom functions, handling different types of arguments, and converting strings to integers.', 'Using map function with an anonymous function to multiply each item in an array by itself and print the result.', 'Using reduce function to sum all values between 1 and 100 and outputting the result.']}, {'end': 2987.61, 'segs': [{'end': 2567.94, 'src': 'embed', 'start': 2541.357, 'weight': 0, 'content': [{'end': 2547.083, 'text': "Now, being that Julia is such a mathematically inclined language, of course, there's numerous different math functions.", 'start': 2541.357, 'duration': 5.726}, {'end': 2549.205, 'text': "I can't even begin to touch them all.", 'start': 2547.163, 'duration': 2.042}, {'end': 2552.448, 'text': "Of course, we're going to be able to add, subtract, multiply, divide, modulus.", 'start': 2549.405, 'duration': 3.043}, {'end': 2553.79, 'text': 'This is the power function.', 'start': 2552.488, 'duration': 1.302}, {'end': 2555.752, 'text': "We're going to be able to round values.", 'start': 2553.83, 'duration': 1.922}, {'end': 2558.174, 'text': 'Floor is going to round down, ceiling round up.', 'start': 2556.112, 'duration': 2.062}, {'end': 2562.336, 'text': 'absolute values, square root, cube root, hypotenuse exponent logs,', 'start': 2558.474, 'duration': 3.862}, {'end': 2567.94, 'text': 'different types of logs and numerous different types of trig functions are all built in.', 'start': 2562.336, 'duration': 5.604}], 'summary': 'Julia language offers numerous math functions including arithmetic operations, rounding, and trigonometric functions.', 'duration': 26.583, 'max_score': 2541.357, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2541357.jpg'}, {'end': 2718.411, 'src': 'heatmap', 'start': 2671.067, 'weight': 1, 'content': [{'end': 2684.119, 'text': 'And then you could do something like favorite color is equal to and green and color referencing the type and print line and favorite color.', 'start': 2671.067, 'duration': 13.052}, {'end': 2687.702, 'text': "And whenever you do that, you're going to see the green comes back.", 'start': 2684.539, 'duration': 3.163}, {'end': 2688.142, 'text': 'All right.', 'start': 2687.822, 'duration': 0.32}, {'end': 2693.727, 'text': 'So real brief explanation of how you can work with enumerated types inside of Julia.', 'start': 2688.162, 'duration': 5.565}, {'end': 2694.708, 'text': 'Trying to move quick.', 'start': 2693.907, 'duration': 0.801}, {'end': 2695.669, 'text': "Let's talk about symbols.", 'start': 2694.768, 'duration': 0.901}, {'end': 2700.898, 'text': 'Now, symbols are just immutable strings that represent variable as a data.', 'start': 2696.673, 'duration': 4.225}, {'end': 2703.04, 'text': 'And how you create one is you just go like this.', 'start': 2700.978, 'duration': 2.062}, {'end': 2705.743, 'text': 'And we can then go print line.', 'start': 2703.641, 'duration': 2.102}, {'end': 2712.61, 'text': "And whenever we go to print out our symbol, whoops, get rid of those double quotes, you're going to see that we are able to do so.", 'start': 2706.263, 'duration': 6.347}, {'end': 2714.112, 'text': "And there's Derek.", 'start': 2713.531, 'duration': 0.581}, {'end': 2718.411, 'text': 'and symbols are very commonly used as keys with dictionaries.', 'start': 2714.588, 'duration': 3.823}], 'summary': 'Working with enumerated types and symbols in julia for data representation and dictionary keys.', 'duration': 47.344, 'max_score': 2671.067, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2671067.jpg'}, {'end': 2763.063, 'src': 'embed', 'start': 2741.548, 'weight': 3, 'content': [{'end': 2751.395, 'text': 'And then we can come in and print that out just by referencing our dictionary that we have and then the specific symbol that we want to work with.', 'start': 2741.548, 'duration': 9.847}, {'end': 2752.696, 'text': 'And there you can see that works.', 'start': 2751.575, 'duration': 1.121}, {'end': 2755.158, 'text': 'All right, so cool stuff with symbols.', 'start': 2752.916, 'duration': 2.242}, {'end': 2756.919, 'text': 'And now I want to talk about structs.', 'start': 2755.238, 'duration': 1.681}, {'end': 2763.063, 'text': 'Now, structs are composite types or specifically a type that can contain many different fields.', 'start': 2757.338, 'duration': 5.725}], 'summary': 'Introduction to working with symbols and structs in programming.', 'duration': 21.515, 'max_score': 2741.548, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2741548.jpg'}, {'end': 2838.635, 'src': 'embed', 'start': 2810.015, 'weight': 4, 'content': [{'end': 2812.816, 'text': "And we're going to be doing more and more complicated stuff here.", 'start': 2810.015, 'duration': 2.801}, {'end': 2816.477, 'text': "So one thing that's important to remember is structs are going to be immutable.", 'start': 2812.856, 'duration': 3.621}, {'end': 2823.759, 'text': "So, for example, if you tried to come in here and go Bob name and let's say Bob changed his name to Sue Smith.", 'start': 2816.897, 'duration': 6.862}, {'end': 2826.079, 'text': 'Well, Julia says that is not OK.', 'start': 2823.959, 'duration': 2.12}, {'end': 2827.12, 'text': 'So we cannot do that.', 'start': 2826.099, 'duration': 1.021}, {'end': 2828.02, 'text': 'That would give us an error.', 'start': 2827.16, 'duration': 0.86}, {'end': 2834.031, 'text': 'However, you would be able to get mutability inside of here by just going mutable.', 'start': 2828.407, 'duration': 5.624}, {'end': 2835.332, 'text': 'OK, mutable struct.', 'start': 2834.252, 'duration': 1.08}, {'end': 2838.635, 'text': 'And then in that situation, you would be able to go back and change it.', 'start': 2835.372, 'duration': 3.263}], 'summary': 'Structs in julia are immutable, but can be made mutable for changes.', 'duration': 28.62, 'max_score': 2810.015, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2810015.jpg'}, {'end': 2882.967, 'src': 'embed', 'start': 2853.587, 'weight': 5, 'content': [{'end': 2855.888, 'text': "We can't create customer objects like we just did.", 'start': 2853.587, 'duration': 2.301}, {'end': 2857.73, 'text': 'But they can have subtypes.', 'start': 2856.049, 'duration': 1.681}, {'end': 2866.496, 'text': "So, let's go and let's create an abstract type and it is called animal.", 'start': 2858.07, 'duration': 8.426}, {'end': 2872.92, 'text': 'Alright, so from that we will then create a struct called dog that is going to be..', 'start': 2866.756, 'duration': 6.164}, {'end': 2882.967, 'text': 'of type animal, and then we will say name, and this is going to be a string, and then bark, which is also a string,', 'start': 2874.441, 'duration': 8.526}], 'summary': 'Creating an abstract type animal with subtypes like dog.', 'duration': 29.38, 'max_score': 2853.587, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2853587.jpg'}, {'end': 2944.143, 'src': 'embed', 'start': 2911.866, 'weight': 6, 'content': [{'end': 2914.427, 'text': "And then we'll do something similar for Muffin.", 'start': 2911.866, 'duration': 2.561}, {'end': 2918.05, 'text': 'And this is going to be cat named Muffin.', 'start': 2914.928, 'duration': 3.122}, {'end': 2922.052, 'text': 'And Meow is her thing.', 'start': 2919.13, 'duration': 2.922}, {'end': 2923.153, 'text': 'Now what we can do.', 'start': 2922.072, 'duration': 1.081}, {'end': 2928.833, 'text': 'is we can create two functions with the same name, just like we did previously, and work with either one of them.', 'start': 2923.809, 'duration': 5.024}, {'end': 2930.954, 'text': 'So we can go sound, make sound.', 'start': 2928.913, 'duration': 2.041}, {'end': 2934.056, 'text': 'We can refer to them both as animal types.', 'start': 2931.334, 'duration': 2.722}, {'end': 2937.259, 'text': 'However, this is specifically for dog animal types.', 'start': 2934.557, 'duration': 2.702}, {'end': 2944.143, 'text': 'And then we can go print line, and we can go and use interpolation, which I talked about earlier.', 'start': 2937.739, 'duration': 6.404}], 'summary': 'Creating functions for animal sounds, including cat named muffin.', 'duration': 32.277, 'max_score': 2911.866, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2911866.jpg'}], 'start': 2521.661, 'title': 'Julia: math, enums, symbols, and structs', 'summary': 'Covers the usage of math functions, enums, symbols, and structs in julia, including examples of math operations, creation and usage of enumerated types, working with symbols as keys in dictionaries, and creating and accessing fields in custom types called structs.', 'chapters': [{'end': 2809.935, 'start': 2521.661, 'title': 'Julia: math, enums, symbols, and structs', 'summary': 'Covers the usage of math functions, enums, symbols, and structs in julia, including examples of math operations, creation and usage of enumerated types, working with symbols as keys in dictionaries, and creating and accessing fields in custom types called structs.', 'duration': 288.274, 'highlights': ['Julia provides numerous math functions such as add, subtract, multiply, divide, modulus, round, floor, ceiling, absolute values, square root, cube root, exponent, logs, and trig functions. Julia offers a wide range of math functions including add, subtract, multiply, divide, modulus, round, floor, ceiling, absolute values, square root, cube root, exponent, logs, and trig functions.', 'Enumerated types can be created in Julia, allowing the association of different values with specific types and their usage to represent and print out associated values. Julia supports the creation of enumerated types, enabling the association of values with specific types and their usage to represent and print associated values.', 'Symbols in Julia are immutable strings used to represent variables as data and commonly employed as keys in dictionaries, providing a convenient way to work with data. Symbols in Julia are immutable strings representing variables as data and are commonly used as keys in dictionaries, offering a convenient way to work with data.', "Structs in Julia are composite types that can contain multiple fields, allowing the creation of custom types and the access of specific information related to those types. Julia's structs are composite types capable of containing multiple fields, enabling the creation of custom types and the access of specific information related to those types."]}, {'end': 2987.61, 'start': 2810.015, 'title': 'Immutable structs and abstract types in julia', 'summary': "Covers the concept of immutable structs and abstract types in julia, including an example of creating dog and cat objects as subtypes of an abstract type 'animal' and demonstrating their behavior through functions, resulting in 'bowser says rough' and 'muffin says meow'.", 'duration': 177.595, 'highlights': ['The chapter explains that structs in Julia are immutable, meaning that their values cannot be changed after creation, demonstrating the error that occurs when attempting to change the name of a struct.', "It introduces the concept of abstract types in Julia, which cannot be instantiated like structs but can have subtypes, with an example of creating subtypes such as 'dog' and 'cat' under the abstract type 'animal'.", "The example demonstrates the use of functions with the same name but different behavior for different subtypes, showcasing the behavior of 'Bowser says rough' and 'Muffin says meow' when calling the functions with the respective objects."]}], 'duration': 465.949, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2521661.jpg', 'highlights': ['Julia provides numerous math functions such as add, subtract, multiply, divide, modulus, round, floor, ceiling, absolute values, square root, cube root, exponent, logs, and trig functions.', 'Enumerated types can be created in Julia, allowing the association of different values with specific types and their usage to represent and print out associated values.', 'Symbols in Julia are immutable strings used to represent variables as data and commonly employed as keys in dictionaries, providing a convenient way to work with data.', 'Structs in Julia are composite types that can contain multiple fields, allowing the creation of custom types and the access of specific information related to those types.', 'The chapter explains that structs in Julia are immutable, meaning that their values cannot be changed after creation, demonstrating the error that occurs when attempting to change the name of a struct.', "It introduces the concept of abstract types in Julia, which cannot be instantiated like structs but can have subtypes, with an example of creating subtypes such as 'dog' and 'cat' under the abstract type 'animal'.", "The example demonstrates the use of functions with the same name but different behavior for different subtypes, showcasing the behavior of 'Bowser says rough' and 'Muffin says meow' when calling the functions with the respective objects."]}, {'end': 3474.186, 'segs': [{'end': 3068.062, 'src': 'embed', 'start': 3038.038, 'weight': 0, 'content': [{'end': 3043.603, 'text': "So let's go and copy this and then we can do a division and throw that inside of there.", 'start': 3038.038, 'duration': 5.565}, {'end': 3048.287, 'text': 'and Julia considers a division by zero to be equal to infinity.', 'start': 3043.603, 'duration': 4.684}, {'end': 3061.835, 'text': "so we'll say if value is equal to inf, which is infinity, we want to throw our custom error, which is going to be can't divide by zero.", 'start': 3048.287, 'duration': 13.548}, {'end': 3068.062, 'text': "so there is the error we're going to throw, else we're going to just give them a result.", 'start': 3061.835, 'duration': 6.227}], 'summary': 'Julia considers division by zero as infinity. custom error for zero division. error handling and result output.', 'duration': 30.024, 'max_score': 3038.038, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo3038038.jpg'}, {'end': 3233.648, 'src': 'embed', 'start': 3191.576, 'weight': 1, 'content': [{'end': 3198.718, 'text': "We can go for line in each line and the specific file we're working with.", 'start': 3191.576, 'duration': 7.142}, {'end': 3201.239, 'text': 'And then we will print those out.', 'start': 3199.178, 'duration': 2.061}, {'end': 3204.04, 'text': "And you're going to see that the result looks very similar.", 'start': 3201.719, 'duration': 2.321}, {'end': 3205.301, 'text': 'And then end.', 'start': 3204.44, 'duration': 0.861}, {'end': 3209.782, 'text': "And then if we run it, you're going to see that we went and wrote to the file.", 'start': 3205.701, 'duration': 4.081}, {'end': 3213.143, 'text': 'We accessed it, read it out once, and then did it again.', 'start': 3209.882, 'duration': 3.261}, {'end': 3215.684, 'text': 'Okay, quick example of files.', 'start': 3213.163, 'duration': 2.521}, {'end': 3218.065, 'text': 'Now to finish off the tutorial, I want to talk about macros.', 'start': 3215.724, 'duration': 2.341}, {'end': 3221.101, 'text': 'Now I could do an entire tutorial on just macros.', 'start': 3218.479, 'duration': 2.622}, {'end': 3222.561, 'text': "I'm just going to give you two examples.", 'start': 3221.141, 'duration': 1.42}, {'end': 3227.844, 'text': 'Basically what macros do is they generate code for you before a program is run.', 'start': 3222.621, 'duration': 5.223}, {'end': 3229.465, 'text': "So I'm going to create two examples here.", 'start': 3227.864, 'duration': 1.601}, {'end': 3233.648, 'text': "How you create a macro is you just type in macro and I'm going to give it a name.", 'start': 3229.786, 'duration': 3.862}], 'summary': 'Tutorial covers file handling, macros, and code generation.', 'duration': 42.072, 'max_score': 3191.576, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo3191576.jpg'}, {'end': 3313.492, 'src': 'embed', 'start': 3282.498, 'weight': 3, 'content': [{'end': 3287.622, 'text': 'make sure to put all the parentheses inside of there the expression that we want to execute.', 'start': 3282.498, 'duration': 5.124}, {'end': 3297.351, 'text': "so we're going to execute the same expression multiple different times using this macro and it's going to automatically generate all of the code to make it work all right.", 'start': 3287.622, 'duration': 9.729}, {'end': 3298.132, 'text': "so let's run it.", 'start': 3297.351, 'duration': 0.781}, {'end': 3305.718, 'text': "so to run a macro, you go at and whatever the macros name is, and let's say we want to print hello two times.", 'start': 3298.132, 'duration': 7.586}, {'end': 3313.492, 'text': "so we'll go to And then we pass in the expression that we want to have executed, which is hello two times.", 'start': 3305.718, 'duration': 7.774}], 'summary': 'Executing a macro to generate code for multiple executions of an expression.', 'duration': 30.994, 'max_score': 3282.498, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo3282498.jpg'}, {'end': 3358.265, 'src': 'embed', 'start': 3324.477, 'weight': 4, 'content': [{'end': 3329.157, 'text': "Let's say you want to create a custom do while loop inside of Julia.", 'start': 3324.477, 'duration': 4.68}, {'end': 3331.478, 'text': "How would you do that? Well, let's go macro.", 'start': 3329.197, 'duration': 2.281}, {'end': 3334.278, 'text': "And let's call it do while.", 'start': 3332.238, 'duration': 2.04}, {'end': 3338.639, 'text': "And it's going to receive the expressions that you want to execute.", 'start': 3334.398, 'duration': 4.241}, {'end': 3345.86, 'text': 'Well, what I want to do here first is assert that while is going to be the first element passed inside of it.', 'start': 3338.919, 'duration': 6.941}, {'end': 3348.961, 'text': 'So I am going to say that we must have while.', 'start': 3346.18, 'duration': 2.781}, {'end': 3358.265, 'text': 'And how we access the first element passed inside of here is to go and get you know the expression passed inside of here, obviously,', 'start': 3349.481, 'duration': 8.784}], 'summary': 'Creating a custom do-while loop in julia using a macro to receive and execute expressions.', 'duration': 33.788, 'max_score': 3324.477, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo3324477.jpg'}], 'start': 2987.61, 'title': 'Exception handling, file io, and macros in julia', 'summary': "Covers exception handling for user input, including protection against division by zero, file input/output operations, and introduces creating macros in julia, including a 'do more' macro and a 'do while' loop macro.", 'chapters': [{'end': 3233.648, 'start': 2987.61, 'title': 'Exception handling & file io in julia', 'summary': 'Covers exception handling for user input, including protection against division by zero, and file input/output operations in julia, along with an introduction to macros.', 'duration': 246.038, 'highlights': ['Exception handling for division by zero Shows how to protect against division by zero when getting user input for division by using try-except block and custom error message.', 'File input/output operations Demonstrates how to write to and read from a file, including writing multiple lines and reading the file line by line.', 'Introduction to macros Briefly introduces macros as code generators and mentions the possibility of creating macros.']}, {'end': 3474.186, 'start': 3233.708, 'title': 'Creating macros in julia', 'summary': "Introduces how to create macros in julia, demonstrating the creation of a 'do more' macro to execute an expression multiple times based on user-defined input and a 'do while' loop macro to emulate a custom loop, showcasing the syntax and execution of macros.", 'duration': 240.478, 'highlights': ["Creating a 'Do More' macro to execute an expression multiple times based on user-defined input The chapter demonstrates the creation of a 'Do More' macro in Julia, which allows the user to execute an expression multiple times based on user-defined input, exemplifying the execution of the macro to print 'hello' multiple times with varying user-defined inputs.", "Demonstrating the creation of a 'do while' loop macro to emulate a custom loop The chapter showcases the creation of a 'do while' loop macro in Julia, allowing the emulation of a custom loop, with an example of using the macro to print values in a loop until a condition is met, and invites feedback for potential future tutorials on macros."]}], 'duration': 486.576, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/sE67bP2PnOo/pics/sE67bP2PnOo2987610.jpg', 'highlights': ['Exception handling for division by zero: Protect against division by zero using try-except block and custom error message.', 'File input/output operations: Demonstrates writing to and reading from a file, including writing multiple lines and reading line by line.', 'Introduction to macros: Briefly introduces macros as code generators and mentions the possibility of creating macros.', "Creating a 'Do More' macro: Execute an expression multiple times based on user-defined input.", "Demonstrating the creation of a 'do while' loop macro: Emulate a custom loop with an example of using the macro to print values in a loop until a condition is met."]}], 'highlights': ['Julia is widely used in the scientific community and is known for its speed, making it a popular choice for mathematical computations and general-purpose programming.', 'Julia can easily integrate libraries from numerous different languages, making it versatile and adaptable for various programming needs.', 'Installation of Julia is easily accessible through julialang.org/downloads and is compatible with various operating systems, making it convenient for users to get started with the programming language.', 'The tutorial provides a cheat sheet and a table of contents for easier navigation and reference for viewers, enhancing the learning experience.', 'The tutorial demonstrates the setup process for using Julia with Atom, a popular IDE, making it easier for viewers to follow along with the tutorial.', 'The chapter covers various string manipulation techniques in programming, including obtaining string length and index, performing concatenation and interpolation, as well as using comments, multi-line strings, and string comparisons.', 'It also demonstrates finding characters, substrings, and their indices, with a total of 23 characters and examples of string manipulations.', 'The chapter explains how to compile Julia code in the terminal, import modules, work with variables and data types, including integers, floats, booleans, characters, and casting between different data types.', 'The chapter demonstrates the usage of different conditional operators and logical operators.', 'The tutorial covers the creation of arrays with various data types and manipulation of arrays.', 'The chapter covers multi-dimensional arrays and cycling through every item inside the array using for loops.', 'Shows the process of creating arrays using ranges and stepping through values with examples.', 'Illustrates the process of creating arrays with a comprehension and adding values to an array using push.', 'Provides an explanation of the use of tuples in programming and demonstrates getting individual values and creating multi-dimensional tuples.', 'Demonstrates the creation and manipulation of dictionaries, emphasizing the uniqueness of keys and showcasing operations like adding, deleting, and checking for keys and values.', 'Explains the uniqueness constraint of sets, the addition of unique values, and various set operations.', 'Covers sets operations, single and multiple expression functions, and demonstrates adding values using a simple function and defining a function with a default argument to check voting eligibility.', 'The chapter explains the concept of functions in programming, including passing arguments by value, using global keyword to change values, accepting multiple arguments, returning multiple values, creating custom functions, handling different types of arguments, and converting strings to integers.', 'Julia provides numerous math functions such as add, subtract, multiply, divide, modulus, round, floor, ceiling, absolute values, square root, cube root, exponent, logs, and trig functions.', 'Enumerated types can be created in Julia, allowing the association of different values with specific types and their usage to represent and print out associated values.', 'Symbols in Julia are immutable strings used to represent variables as data and commonly employed as keys in dictionaries, providing a convenient way to work with data.', 'Structs in Julia are composite types that can contain multiple fields, allowing the creation of custom types and the access of specific information related to those types.', 'The chapter explains that structs in Julia are immutable, meaning that their values cannot be changed after creation, demonstrating the error that occurs when attempting to change the name of a struct.', "It introduces the concept of abstract types in Julia, which cannot be instantiated like structs but can have subtypes, with an example of creating subtypes such as 'dog' and 'cat' under the abstract type 'animal'.", "The example demonstrates the use of functions with the same name but different behavior for different subtypes, showcasing the behavior of 'Bowser says rough' and 'Muffin says meow' when calling the functions with the respective objects.", 'Exception handling for division by zero: Protect against division by zero using try-except block and custom error message.', 'File input/output operations: Demonstrates writing to and reading from a file, including writing multiple lines and reading line by line.', 'Introduction to macros: Briefly introduces macros as code generators and mentions the possibility of creating macros.', "Creating a 'Do More' macro: Execute an expression multiple times based on user-defined input.", "Demonstrating the creation of a 'do while' loop macro: Emulate a custom loop with an example of using the macro to print values in a loop until a condition is met."]}