----BEGIN CLASS---- [13:29] #startclass [13:29] Roll Call [13:29] Shiva Saxena [13:29] Rajat Gupta [13:29] Sehenaz Parvin [13:29] Pawan [13:29] Aditya Deshpande [13:29] Rakshit Airani [13:29] ashwani singh [13:30] Aditya Patil [13:30] Mayank Singhal [13:30] pooja kumari singh [13:30] Naman Sharma [13:30] Muhammad Zeeshan Qazi [13:30] Ved Sinha [13:30] Priyanka Sharma [13:30] Manank Patni [13:30] Tabrez khan [13:30] Avik Mukherjee [13:30] Vivek Shukla [13:30] Jaydeep Borkar [13:30] Bhavin Gandhi [13:30] Prashant Sharma [13:30] Jagannathan Tiruvallur Eachambadi [13:30] Siddharth Sahoo [13:30] Sandeep Kumar Choudhary [13:30] ankur vishwakarma [13:30] Priyanka Saggu [13:30] devesh verma [13:30] Shaikhfarhan [13:30] santhosh nagaraj [13:31] Gajendra Saraswat [13:32] Akshay Gaikwad [13:32] Janifa M [13:33] Rahul Jha [13:33] Karan Pratap [13:33] Okay [13:33] Sourabh Pruthi [13:33] Aman Verma [13:33] Questions anyone? [13:33] ! [13:33] yes [13:33] What is the topic today? [13:33] ! [13:34] roll call: Vaibhav Kaushik [13:34] Ratan Kulshreshtha [13:35] Roll call: Shubham Sharma [13:35] Piyush Aggarwal [13:35] Kumar Vipin Yadav [13:35] next [13:35] What is difference between systemctl shutdown and normal poweroff command ? Are they both same? [13:36] sourabh1031: check your email [13:37] nightwarriorxxx, different ways to shutdown? systemctl is a way to control systemd :) [13:37] sorry something urgent came up....I'll be leaving [13:37] next [13:37] wrote my first blog was indeed of feed back [13:38] ! [13:39] Roll Call: Prabhu Sharan Singh [13:39] ! [13:39] shaikh_farhan_, that reminds me, http://students.planet.dgplug.org is up [13:40] next [13:40] Roll call: Manjeet Mehta [13:41] next [13:41] Going through the mbuf class logs ,what do you mean by generate HTML documentation from source code? [13:41] are we discussing mbuf's 3rd class? I will ask those question if it we are [13:41] j605, nope [13:42] prokbird, say http://docs.securedrop.org/ [13:42] prokbird, that is HTML generated from the docs [13:43] kushal, is it differ from doxygen? [13:43] prokbird, but, https://retask.readthedocs.io/en/latest/retask.queue.html is generated using docs and also comments from the source code itself. [13:43] prokbird, doxygen is a tool to generate similar things [13:44] ok [13:44] next [13:44] ! [13:44] next [13:44] what is the use of GNU cflow? [13:45] prokbird, I personally don't know the tool. [13:45] let me search [13:45] ah, it creates flow diagram from C source code [13:45] It was mentioned in mbuf's log, so I thought those questions can be saved for later :) [13:46] I have a query regrading pycon. I have student ticket and we may have mid semester examination at that time. So in Case, Can we transfer ticket to others ? [13:46] yeah, haven't came across this kind of tool earlier. [13:46] ikshitij, this is not the place for that question. Please ask the organizers. [13:47] next [13:47] ikshitij, post on their mailing list [13:47] If you see http://students.planet.dgplug.org/ , not everyone is blogs regularly. [13:48] Kushal extremely sorry! I didn't know classes are going on. :) [13:48] s/blogs/writes [13:48] ! [13:48] next [13:49] ananyo, ? [13:49] What are the minimum set of tools that are just enough for working on a project ? [13:49] Just need a suggestion [13:50] By tools I mean cross referencing tools [13:50] ! [13:50] ananyo, depends on your editor/IDE. [13:50] IDE will be vim [13:50] ananyo, I use VSCode or PyCharm mostly, I can just click. [13:50] ananyo, you can use ctags. [13:50] Oh ok [13:51] I use VSCode as well [13:51] next [13:51] ! [13:51] kushal, my blog posts are coming with bismi's name on student's planet how could i resolve it ? [13:51] ! [13:52] kvy, find the line in https://github.com/dgplug/studentsplanet/blob/master/planet.ini [13:52] I will fix [13:52] next [13:52] what do you mean by ctags? [13:52] prokbird, read the mbuf logs, you will find it out. [13:52] kushal, Can you suggest some tools to debug the code in buffer editors ? [13:53] ! [13:53] ! [13:53] kushal, i read that but didn't understand. [13:53] ananyo, nope, I just use print statements in my python code. [13:53] prokbird, wait for mbuf's session then. [13:53] next [13:53] kushal, no problem :) [13:54] pass [13:54] I won't be able to attend class today. [13:54] Asked already [13:55] kushal, just a related question, what are debuggers for? I mean print statements as you said does the job for me too! [13:56] next [13:56] ! [13:56] There is some typo in my last name on planet repo can i send a pr? [13:56] ! [13:56] sourabh1031, yes [13:56] kushal, ok [13:57] avik, debuggers to debug complex problems, print is not a very good way to debug. [13:57] next [13:57] how do we know when we are supposed to read mbuf class logs? [13:57] avik, When you have a large code base it becomes hard to debug with just print statements. You may want to stop at a breakpoint and see the internals of an object [13:57] avik: I too use lots of print statement. But I found variable explorer more useful than that. VScode has plugins for same. [13:57] ! [13:58] kps_, we have already asked you to read them when we started the training [13:58] kushal, ananyo, ikshitij, okay! never used one! debuggers always intimidates me! [13:58] sorry and thanks kushal [13:59] kps_, also check the mailing list [13:59] ok kushal [13:59] working on big dataset, it will flood your output screen. avik [14:00] next [14:00] ikshitij: , why would one debug with a large dataset at once ? lol [14:00] kushal, are we supposed to use < eom /> at the end of our query, Or when our question is answered? I believe it's the latter, am I correct? [14:01] brute4s99, when you are done with your question or discussion, not required all the time. [14:01] next [14:01] kushal, You have asked us to read mbuf's logs. I was reading them but they were so long that I thoght that I won't be able to remember every point. What should I do? [14:01] got it! thanks kushal. [14:01] prabhu, do what you did in school, take pen and paper and take notes [14:01] read it again and again [14:02] kushal, Okay thanks. [14:02] prabhu, that is what I do. [14:02] kushal, Will do that. [14:03] prabhu, Have you read the http://norvig.com/21-days.html ? [14:03] next [14:03] kushal , line 147,150,153,102 missing '[]', and in line 66 avik forgot to use '/' in last, and should i also find links who contain '.xml' in last. [14:04] kushal, not yet. [14:04] kvy, yes, please fix those. [14:04] kushal, Line 69,75,99,120,132,141,159 use '.xml' in last. [14:04] how could i fix them [14:04] kvy wait [14:04] just fix yours [14:04] ok [14:05] kvy, for example, https://github.com/dgplug/studentsplanet/blob/master/planet.ini#L69 is correct [14:05] how could i edit '.xml' link [14:05] kushal, kvy please shade some light to the context! [14:05] kvy, means? [14:05] avik, this is related to the planet [14:06] prabhu, you have to spend time to read the links we provide. [14:06] kushal, got that now from the link! [14:06] i mean all link who contain .xml in last are they correct ? [14:06] kvy, yes [14:06] ok [14:06] kvy, it depends! [14:06] kvy, not everyone uses wordpress [14:06] next [14:07] wordpress blogs dont need them [14:07] kushal, got it [14:07] kushal, I am trying very hard. I will read everything this weekend. [14:07] I am wondering if people are reading LYM or not? [14:08] kushal, I completed it. [14:08] siddharth, Okay [14:08] kushal, Reading it. In the Services chapter now [14:08] kushal, Even I started PYM now. [14:09] i guess have read that. But what LYM stands for? [14:09] kushal, using / at the end is only syntactical right? it should work otherwise too, right? [14:09] Which chapter are you reading now? Everyone please tell. [14:09] kushal: I send that in college group for viva preparation last semester. [14:09] avik, without / at the end it should be redirected to the right URL, if you never gave ending / means you gave wrong URL. [14:10] mzeeqazi73: Linux for You and Me [14:10] Which chapter are you reading now? Everyone please tell. [14:10] kushal, "The /usr Hierarchy" [14:10] lym.readthedocs.io/en/latest/ mzeeqazi73 [14:10] kushal, ok! thanks! [14:10] Which chapter are you reading now? Everyone please tell. [14:10] kushal on lym? [14:10] Yes. [14:11] Please. [14:11] kushal, she-bang or sha-bang in executable files [14:11] 2nd [14:11] 3rd [14:11] sourabh1031, please pick up the speed. [14:11] files kushal [14:11] kps_, which chapter? [14:11] kushal okay [14:11] I am wondering why no one is replying. [14:11] file permissions [14:11] kushal,Package Management [14:12] priyankasaggu119, okay [14:12] Processes in Linux [14:12] kushal, I completed it. [14:12] nearing end of chapter 3 [14:12] I have to start "Processes in Linux". [14:12] Processes [14:12] I have started Processes in Linux [14:12] kushal, Linux Services [14:12] processes in linux [14:13] chapter 3 : useful commands . [14:13] In users and groups [14:13] linux services [14:13] kushal, 4th [14:13] 2nd [14:14] kushal, 4th chapter [14:14] Okay. [14:14] Do you have any questions till now? [14:14] LYM 2nd [14:14] Tomorrow sayan will take a session on git basics [14:14] i'm sorry i missed that class i think. I'll get on to it in about 1/2 day. My apologies for being so careless. (: [14:14] ! [14:15] brute4s99, session is still going on [14:15] next [14:15] ! [14:15] LYM 2nd chapter [14:15] kushal, Processes in Linux [14:16] next [14:16] how much time do i have to complete lym? [14:16] kps_, as soon as possible [14:16] LYM - Useful Commands [14:17] next [14:17] kushal, this year that git tutorial - try git site got down! know any other alternatives? [14:17] avik, no clue [14:17] :( [14:17] ok kushal i will try to complete it within 2 to 3 days [14:17] Everyone, unless you catch up, we will be teaching more and more complex things. [14:18] kushal: why do we append '&' at the last of commands. I wanted add a script in startup list. That's whenever system starts, it will starts executing ! And in that script I wrote a command to execute python script but it was not working and few articles on internet suggested to append '&' at the end of command... So it's like *python script.py &* [14:18] can anyone provide the link again? [14:18] of the linux ch. that we are supposed to read [14:18] I am using raspberry pi and raspbian [14:18] zappy, https://lym.readthedocs.io/en/latest/index.html [14:19] ikshitij, that is a way to send processes to background. So that your terminal gets back the control and further commands can be executed. [14:20] ikshitij, https://www.cyberciti.biz/faq/linux-command-line-run-in-background/ [14:20] next [14:20] ! [14:20] next [14:21] ! [14:21] kushal, Can you share your college experience? [14:21] nightwarriorxxx, means? [14:21] nightwarriorxxx, maybe after the session. [14:21] next [14:21] Is it harmful to use init 0 to shut down my linux system? [14:22] kushal, ok [14:22] kps_, depends, I am wondering why do you need it though? [14:23] i am in the habit of using it kushal and i wonder if its ok [14:23] kps_, that should be okay, though I don't know if that works in the modern systemd world. [14:23] kps_, I generally do not shutdown [14:23] next [14:23] ! [14:23] next [14:23] kushal, it workes in systemd. [14:24] rishibit, okay [14:24] kushal does not shutting down affects the system's performance? [14:24] storymode7: thanks [14:24] Sarques_, I don't know. [14:25] kushal i experienced problems like hanging and slow processing after 3-4 days. [14:25] Ohh okay [14:25] ikshitij, though kushal gave a better link! :) [14:25] Sarques_, I think no i haven't shutdown my system since a week. and it's working properly. [14:25] Sarques_, i too have them when i hibernate [14:26] Sarques_, servers generally run months if not years without shutdown [14:26] Everyone, paste the output of uptime in your computer. [14:26] :) [14:26] kushal nice point :) [14:26] 19:56:57 up 52 min, 1 user, load average: 0.38, 0.77, 0.57 [14:27] kushal, 19:57:19 up 2 days, 6:27, 1 user, load average: 0.34, 0.38, 0.54 [14:27] 19:57:32 up 1 day, 6:03, 1 user, load average: 0.69, 1.02, 0.87 [14:27] 19:57:20 up 9:43, 1 user, load average: 1.11, 1.01, 0.81 [14:27] 19:57:00 up 7:27, 1 user, load average: 0.65, 0.60, 0.62 [14:27] I managed to crash this laptop, so [14:27] 19:57:16 up 1 day, 8:22, 1 user, load average: 1.18, 1.08, 1.12 [14:27] 19:57:02 up 20:41, 1 user, load average: 1.61, 1.77, 1.80 [14:27] 19:57:49 up 19:45, 5 users, load average: 0.01, 0.06, 0.02 [14:27] please tell the command [14:27] 19:57:51 up 1 day, 4:56, 1 user, load average: 0.07, 0.08, 0.20 [14:27] 19:57:38 up 46 min, 1 user, load average: 0.57, 0.44, 0.49 [14:27] Sarques_: Shutting down frequently affects your system and that too if it's not done properly. It's better to hibernate unless and until you're not going to use it for next 7-8 hours or more [14:27] 19:57:50 up 5:09, 3 users, load average: 0.30, 0.21, 0.19 [14:27] 19:57:32 up 3:06, 1 user, load average: 0.19, 0.15, 0.18 [14:27] sourabh1031, uptime [14:27] 19:57:54 up 8:10, 1 user, load average: 0.63, 0.30, 0.33 [14:27] 19:57:28 up 9:12, 1 user, load average: 1.67, 2.02, 1.53 [14:27] sourabh1031: "uptime" [14:27] 19:57:50 up 1 day, 1:22, 2 users, load average: 0.77, 1.56, 1.70 [14:27] 19:57:50 up 1:12, 1 user, load average: 1.30, 1.03, 0.83 [14:28] 19:58:19 up 2:35, 2 users, load average: 0.06, 0.14, 0.23 [14:28] 19:58:08 up 2:41, 1 user, load average: 1.30, 0.67, 0.49 [14:28] 19:58:25 up 11:02, 2 users, load average: 0.39, 0.27, 0.25 [14:28] 19:58:33 up 7:25, 2 users, load average: 0.18, 0.24, 0.20 [14:28] 19:58:20 up 14:48, 1 user, load average: 0.00, 0.27, 0.54 [14:28] sukhe_, siddharth thanks [14:28] 16:28:58 up 41 days, 20:38, 3 users, load average: 0.00, 0.00, 0.00 [14:28] 19:58:57 up 1:43, 1 user, load average: 0.50, 0.63, 0.59 [14:28] Sarques_, ^^ [14:28] 01:28:58 up 2:22, 1 user, load average: 0.09, 0.37, 0.33 [14:29] 19:59:24 up 3:06, 1 user, load average: 1.46, 1.00, 0.96 [14:29] j605, is it real [14:29] 19:59:22 up 10:44, 1 user, load average: 0.58, 0.60, 0.76 [14:29] Ikshitij yes i hibernate it for only my sleeping hours, otherwise system is always up. [14:29] kvy: of course [14:29] kushal :) [14:29] 19:59:51 up 2:14, 1 user, load average: 1.92, 1.83, 1.59 [14:29] :) [14:29] 19:59:48 up 1:04, 3 users, load average: 1.07, 1.17, 1.12 [14:29] 19:59 up 9:46, 2 users, load averages: 1.16 1.06 1.07 [14:29] 20:00:05 up 1:13, 2 users, load average: 0.08, 0.05, 0.07 [14:30] j605: you run servers on it? [14:30] 20:00:13 up 1:10, 1 user, load average: 9.49, 4.85, 2.82 [14:30] j605, i mean load average it's 0.00 [14:30] One of my box: up 867 days, 1:02, 1 user, load average: 0.49, 0.29, 0.34 [14:30] is it possible [14:30] ikshitij: that is the server I use for weechat [14:30] 2018-07-01 13:23:33 :) [14:30] kushal, I have removed all duplicate files and correct wrong entryes. [14:31] kvy: only weechat so the low load average [14:31] j605, ooh [14:31] got it [14:31] next [14:31] Okay, here is a home task. [14:32] ! [14:32] kushal 867 days wow [14:32] kushal, That's amazing ;) [14:32] Can everyone please write a blog post your experience with linux command line still now? Write it tonight before midnight. [14:32] Let it be small [14:33] 867 days, wow [14:33] but, write one post [14:33] 20:03:31 up 1 day, 2:27, 3 users, load average: 0.34, 0.40, 0.45 [14:33] kushal, ok [14:33] will absolutely do kushal [14:33] kushal, okay. [14:33] ! [14:33] next [14:33] kushal, alright [14:33] why are there 3 users in my linux? [14:33] okay kushal [14:34] ok sure thing. [14:34] brute4s99, that is on you to find yout. [14:34] also, should I use bg,fg, or simply attach-detach through tmux ? [14:34] s/yout/out [14:34] brute4s99, ... [14:34] brute4s99, depends on the command [14:34] okay, thanks kushal ! [14:35] lol there are 3 "brute4s99"s on my system right now [14:35] brute4s99, but i think it depends on the number of terminal sessions [14:35] brute4s99, check if they are really you, or if someone else logged into your system :) [14:35] try opening a new tab in terminal [14:36] and then type uptime again and see [14:36] kps_, that should show only one user. [14:36] kushal, i just tried [14:36] Everyone on Thursday there will be the next guest session by sukhe. [14:36] kps_, i tried it, shows same number of users [14:36] okay, I believe it's amount of terminals only! [14:36] I will send the announcement over email tonight [14:36] it increments with every new tab for me [14:36] We will end the session now. [14:36] thanks kps_ and kushal ! [14:36] Roll Call [14:37] Piyush Aggarwal [14:37] Muhammad Zeeshan Qazi [14:37] Aditya Patil [14:37] Avik Mukherjee [14:37] Kumar Vipin Yadav [14:37] Jagannathan Tiruvallur Eachambadi [14:37] Manjeet Mehta [14:37] Jaydeep Borkar [14:37] Priyanka Saggu [14:37] Prashant Sharma [14:37] Shiva Saxena [14:37] Sourabh Pruthi [14:37] Aditya Deshpande [14:37] Karan Pratap [14:37] Janifa M [14:37] Manank Patni [14:37] Sahil [14:37] Rishikesh Bamdale [14:37] Priyanka Sharma [14:37] Siddharth Sahoo [14:37] Rakshit Airani [14:37] Ananyo Maiti [14:37] pooja kumari singh [14:37] Ratan Kulshreshtha [14:37] Bhavin Gandhi [14:37] Ved Sinha [14:37] Vivek Shukla [14:37] Naman Sharma [14:37] Neeraj Kumar Arya [14:37] Ola Ajayi [14:37] santhosh nagaraj [14:37] Pawan [14:37] Rajat Gupta [14:37] tabrez khan [14:38] Please continue the normal discussions, good to see many folks are talking through out the day. [14:38] Priyam das [14:38] Gajendra Saraswat [14:38] thanks for the session again, kushal ! I've a lot more to learn from you than I previously anticipated! I'm psyched! ----END CLASS----