1
00:00:00,420 --> 00:00:05,790
In today's programming tool, I want to introduce you to an online based I.D..

2
00:00:05,820 --> 00:00:08,550
You already know what IDs are.

3
00:00:08,550 --> 00:00:14,400
For example, posture, which is what we're using, is a program which we install on our computer and

4
00:00:14,400 --> 00:00:23,400
we can add it and run code on that I.D. But recently, there has been a trend of online based IDs which

5
00:00:23,400 --> 00:00:28,740
allow you to edit code and run it on a browser based ID.

6
00:00:28,770 --> 00:00:30,030
One of them is repo.

7
00:00:30,030 --> 00:00:35,640
And in this lecture I want to introduce you to Ripple, and I also want to show you the benefits and

8
00:00:35,640 --> 00:00:38,730
limitations of online IDs.

9
00:00:38,730 --> 00:00:45,900
And of course, it recommends you whether to use an online ID or a traditional ID, such as by charm.

10
00:00:45,900 --> 00:00:51,800
If you want the short answer, of course it is that you should use a traditional ID such as by charm.

11
00:00:51,810 --> 00:00:58,920
But in specific cases, as you'll see in this video, it's good to know that online ID is also exist

12
00:00:58,920 --> 00:01:02,460
because they have also some advantages in certain use cases.

13
00:01:02,460 --> 00:01:08,730
So replete Dotcom is the website you should go to if you want to try out this ID.

14
00:01:08,760 --> 00:01:10,950
So reply to dot.

15
00:01:11,520 --> 00:01:16,920
Once you go there you should create a free account and once you have your account then this is basically

16
00:01:16,920 --> 00:01:17,730
the dashboard.

17
00:01:17,730 --> 00:01:22,350
And here on the upper right corner you have a plus icon or somewhere.

18
00:01:22,350 --> 00:01:23,520
It should be somewhere in here.

19
00:01:23,520 --> 00:01:24,750
So try to find it out.

20
00:01:24,750 --> 00:01:32,040
If you press that you see this window and it should ask you to specify what language should you want

21
00:01:32,040 --> 00:01:34,110
to work on, and that is Python.

22
00:01:34,110 --> 00:01:36,690
And then put a title for your report.

23
00:01:36,700 --> 00:01:38,600
So you are creating a ripple.

24
00:01:38,610 --> 00:01:39,600
What is a ripple?

25
00:01:39,600 --> 00:01:42,030
A ripple is a project.

26
00:01:42,030 --> 00:01:48,330
So just like we have projects in Point, Sean, where we put all our Python files, maybe text files.

27
00:01:48,330 --> 00:01:54,600
A ripple is also a project in this own line ID, so give a title to that project.

28
00:01:56,580 --> 00:01:58,320
My first project, for example.

29
00:01:58,320 --> 00:02:04,800
Now the free plan is of course limited, so it doesn't allow you to set a project to private.

30
00:02:04,800 --> 00:02:07,020
So that's something important you should be aware of.

31
00:02:07,020 --> 00:02:10,199
Therefore, your project can be seen.

32
00:02:10,199 --> 00:02:16,200
If others somehow stumble upon the URL of your project, they can see your code.

33
00:02:16,200 --> 00:02:20,730
So in your case you can only choose public probably, and then press and create Ripple.

34
00:02:24,800 --> 00:02:26,720
And that is your report.

35
00:02:26,730 --> 00:02:28,240
So that is a project.

36
00:02:28,250 --> 00:02:35,480
It looks similar to the pie chart eyed interface in that you can see the file directory here.

37
00:02:35,480 --> 00:02:40,460
So main dot pie has been automatically created and here is the editor area.

38
00:02:40,460 --> 00:02:41,690
You can write code in here.

39
00:02:41,690 --> 00:02:42,860
For example, print.

40
00:02:43,610 --> 00:02:44,270
Hello.

41
00:02:47,430 --> 00:02:49,710
I'll zoom in with control.

42
00:02:49,710 --> 00:02:52,310
Plus, so you see a bigger font.

43
00:02:52,320 --> 00:02:56,070
And here on the right side, we have the python console.

44
00:02:56,070 --> 00:03:00,150
And here on the right side, if we run the script, we should see the output.

45
00:03:00,150 --> 00:03:04,140
So press that green button there to run the code.

46
00:03:04,140 --> 00:03:07,230
You don't need to save the code, so that will run your code.

47
00:03:07,860 --> 00:03:10,140
And here you have the output.

48
00:03:10,170 --> 00:03:13,890
Now this area here can also serve as a python console.

49
00:03:13,890 --> 00:03:16,410
So if you say print, hi.

50
00:03:17,070 --> 00:03:23,700
So that is Python code and you will get the output down here, then this shell is a command line to

51
00:03:23,700 --> 00:03:26,310
interact with this server.

52
00:03:26,310 --> 00:03:32,790
So this is a server, it's located somewhere in the world and you are accessing it through your browser.

53
00:03:32,790 --> 00:03:40,050
The only way to access this server is by using this command line, so the computer does not have a graphical

54
00:03:40,050 --> 00:03:47,670
user interface as you have in your computer where you can click and you can select files visually on

55
00:03:47,670 --> 00:03:49,170
your Windows Explorer.

56
00:03:49,170 --> 00:03:54,990
So this server is still a computer but does not have that sort of graphical interaction.

57
00:03:54,990 --> 00:03:57,060
For example, this is just an example.

58
00:03:57,060 --> 00:04:04,830
If you press less and here in the shell and you press enter, then you should see the list of files

59
00:04:04,830 --> 00:04:06,540
in this current directory.

60
00:04:06,540 --> 00:04:09,540
The current directory is my first project.

61
00:04:09,540 --> 00:04:13,530
So you see main that P is part of this current folder.

62
00:04:13,530 --> 00:04:15,600
Main that's p y, which is our file.

63
00:04:15,600 --> 00:04:18,329
So this computer is a Linux computer.

64
00:04:18,329 --> 00:04:20,100
It's not Windows by the way.

65
00:04:20,100 --> 00:04:24,480
And that means Python is installed in this Linux computer.

66
00:04:24,480 --> 00:04:26,250
So the interpreter is installed.

67
00:04:26,250 --> 00:04:34,560
And when you press that button, this reply service, they are executing your code using the installation

68
00:04:34,560 --> 00:04:36,660
of Python in this Linux computer.

69
00:04:36,660 --> 00:04:43,260
In our computer, when we use Power Charm, we are executing our code using the interpreter which we

70
00:04:43,260 --> 00:04:45,840
installed in our own computer.

71
00:04:45,870 --> 00:04:49,350
That is a very crucial difference you should be aware of.

72
00:04:49,350 --> 00:04:54,330
So when you execute programs, you use the interpreter of that Linux computer.

73
00:04:54,330 --> 00:05:00,330
And this is important because this brings us to the next point, which is limitations.

74
00:05:00,330 --> 00:05:08,850
So you cannot build certain programs in this Apple ID because, for example, let's say you want to

75
00:05:08,850 --> 00:05:14,550
build a program which accesses the computer webcam and it does face recognition.

76
00:05:14,550 --> 00:05:20,910
You can build that program in your computer, you can run it with Python and your computer camera.

77
00:05:20,940 --> 00:05:22,140
Maybe you have a laptop.

78
00:05:22,140 --> 00:05:26,190
So the webcam will start and it will capture video.

79
00:05:26,190 --> 00:05:30,900
So that works when you are using your traditional ID on your computer.

80
00:05:30,900 --> 00:05:35,010
But here this Linux server doesn't have a camera.

81
00:05:35,010 --> 00:05:41,790
So if you run a script which opens the computer camera, so if you have written such a program, then

82
00:05:41,790 --> 00:05:45,960
that program will not be able to run in this IDE.

83
00:05:46,290 --> 00:05:54,450
Similarly, you cannot create graphical user interface programs, you know, programs where you have

84
00:05:54,450 --> 00:05:59,340
this buttons and text boxes, which is something you will create in this course, but you cannot do

85
00:05:59,340 --> 00:06:06,060
that using Ripple since as I already mentioned, Ripple just gives you access to this command line.

86
00:06:06,060 --> 00:06:12,120
It does not give you access to the actual graphical interface of the computer.

87
00:06:12,120 --> 00:06:19,230
Therefore you cannot create desktop Gilly's Desktop graphical user interfaces However some benefits

88
00:06:19,230 --> 00:06:20,400
of Ripple.

89
00:06:20,400 --> 00:06:22,560
So why should you use it sometimes?

90
00:06:22,560 --> 00:06:30,900
Well, first benefit is that if you sometimes are on a mobile phone or a tablet device where you don't

91
00:06:30,900 --> 00:06:38,400
have traditional ides installed, then you can just go to your browser, go to dot com, log in to your

92
00:06:38,400 --> 00:06:40,980
account, and there you have all the ripples.

93
00:06:40,980 --> 00:06:45,720
So you can access the ripples by going to this button and then go to my ripples.

94
00:06:47,340 --> 00:06:53,670
And you can scroll down and down here, for example, we will see my first project.

95
00:06:53,670 --> 00:06:59,130
If you click that, that should open the project again and you can view the code, you can start coding.

96
00:06:59,400 --> 00:07:04,740
So that's one benefits you can program from a mobile device, although that is hard to do, but sometimes

97
00:07:04,740 --> 00:07:11,120
maybe you are travelling or so, so it's handy to have your codes in an online ID.

98
00:07:11,190 --> 00:07:17,220
The other benefit is that you can share your projects with other people.

99
00:07:17,220 --> 00:07:25,110
All you have to do is click here on your browser address, bar, copy that URL and just give it to anyone

100
00:07:25,110 --> 00:07:28,740
and they will be able to open their browser paste that URL there.

101
00:07:29,950 --> 00:07:34,420
And they should see your project and they can make a copy.

102
00:07:34,420 --> 00:07:40,990
They cannot edit your code, but they can make a copy of the project and they can edit them their own

103
00:07:40,990 --> 00:07:41,770
projects.

104
00:07:41,770 --> 00:07:46,090
And so that is a very easy to share your code base with other people.

105
00:07:46,090 --> 00:07:48,100
Repo does allow that.

106
00:07:48,310 --> 00:07:55,210
So that's what I wanted to introduce you to in today's video about programming tools.

107
00:07:55,210 --> 00:07:57,190
You know, the benefits, you know the limitations.

108
00:07:57,190 --> 00:08:00,670
So feel free to use Ripple when the need arises.

109
00:08:00,670 --> 00:08:07,120
But for this course, I highly recommend you to focus on Python because that's a real IDE which has

110
00:08:07,120 --> 00:08:08,470
all the features we need.

111
00:08:08,470 --> 00:08:10,480
So thank you and I'll see you later.

