Hi there. In the previous talk, you could find out how you can use profiler-based optimizations to make better MySQL binaries. I'm going to talk how you can use profilers in production to find out what's going on with your MySQL production server. Mostly about that. So, I was working with MySQL for almost 11 years already in all kinds of companies that provides public support. The experience I've got from there is interesting. In MySQL I.B. Sanendorkal, I was a member of bug verification team. So, as a result, I had to deal with MySQL mostly as a problem, not as a solution. After that, I tend to think and speak about MySQL in terms of bugs. So, you will see a lot of bug numbers. Whenever bug number or anything is highlighted on these slides, it's a reference. You can click on the PDF slides or whatever and end up looking at the details. At Percona, where I worked for three years and a half, Percona is a solution-oriented company. So, there I try to think about MySQL as something that can be used with all its limitations and bugs to solve a specific problem. So, that helped a lot. Finally, now in MariaDB, I have to deal with a wider range of customers' kinds of MySQL and use cases than ever before. So, that's what's important. And also, starting from Percona, I am now writing in public about MySQL and I am speaking about MySQL. Of all the conferences I like for the most than anyone because it's a aspect of content. Let's hope I will keep it that way as well. So, I would like to speak about profiles, specifically about profiles on Linux and only three of them. Historically, the oldest probably and widely applied to MySQL in the past or profile. Just to thank the developers and people who used it in the past. No talk about profiling MySQL can end up not mentioning Domas Mituzas and his poor man's profiler. So, I will mention it even though you may consider it unsafe to use it in production. And in some cases, you may hit a problem that I will quickly mention and how to resolve the problem, how to notice it. And the last but not the least, recently, if you would like to profile MySQL, you have to use Perf. And you've seen an example how it's used to get better binaries. I will show a couple examples how you can use it to find out what's really going on in life. We will also get a slide about the performance impact of using profiles in production because you need to know it's safe. Your measurement, your performance monitor and should not be a performance problem by itself. It's not easy, but with Perf it's kind of possible. What I will not speak about is all kinds of good profiles for memory, for calls and everything that requires rebuilding of MySQL. Because not everybody like Dropbox can effort to spend days building proper binaries for their specific load. And it's a hard task. We will use in most cases just vanilla binaries from some vendors or something you build once for yourself and then use for years. So these rules are GPROF, these rules are running on the wall grind and all the other things. There are also great operating system tools to get insights what's going on in any process like system tab or historically that's now also available in Linux Dtrace. I'm just not good at them. So that's why they are out of consideration. What's also out of consideration is performance schema. And that might be an interesting question why. I will tell. First of all in production you might hit cases when performance storage engine, that's very of a high interest. Effort restarting your MySQL in many cases just to get more monitoring insights. Okay, next time we restart it you will put it there, but it may be not there at the moment. Another thing, unfortunately performance schema is getting more dynamic and more detailed and it's lightweight instrumentation comparing to anything else with each release. But unfortunately still there are instruments that must be enabled at startup then they can be disabled later to be so that you can enable them selectively when you need them. You may find out that the instruments you need for your specific load was not enabled initially and then you still need a restart. Another problem with performance schema it stores data in memory in cycle buffers. The size of these buffers is predetermined at startup at least in the J versions of MySQL. So if it was too small you will find out but it's too late you again have to restart. So performance schema data may not be there. Another problem that some of the plugins or third-party storage engines may just do not have instrumentation. Mark Leith will speak about how to do it properly. But not everybody does it. Again, MyRox does not have this instrumentation. I am not sure if any of vendors like Prokona or MariaDB who is working on implementations of it will put the performance schema there at all. So you should be ready for that. And surely a lot of people also speaking about performance schema all the time. What's interesting for me in this regard is that unfortunately based on some cases I've studied for this talk and I had to deal with over last year I see that performance schema may just not provide enough details. I will use a very stupid example from one of the oldest bug where I spent time making MySQL run faster on IX and PowerPC many years ago but this is a great example. So when this simple select benchmark 500 million times from something works like for dozens of seconds everything in this MySQL binaries will be slow. Replication will be slow because single thread performance matters. So it's an interesting bug by itself. But what would you see for example if you would try to use performance schema to kind of optimize or check how you better optimize binary work. All you will see is at the right. You will see that you spend 13 seconds plus something in executing and that's all you will get. Even in a very simple profile call this output is from Perf. You can find out specific functions because profiler instrument things per function in any case where the time is spent. No wonder it was spent in multiplication and in benchmark function call. But the share of time spent it may differs with rebuilding and in more complex cases you get an insight that you just cannot get from performance schema in any way. So it doesn't provide enough information. Now let's get back to real production issue. Some of you probably were present at the pre-forced them day yesterday and Sveta Smirnov told that one of the most strange stages of query execution is called statistics. So the query may spend a lot of time in statistics stage and you may not know why. I've got it in real life like for three months I am working on a complicated case where this is one of the problems we see. Simple query it's a single line select by primary key from one table that is not accessed by anything but this selects at the moment so there is no kind of read view looking but in a high concurrent environment. Sometimes spend seconds many seconds and even minutes in statistics stage and what you can get from performance schema even from very advanced query that well there is a statistic stage. I do not see weights behind that even though I expected them. It may be for many reasons. One of them that when you really query the performance schema data you query on a live system. It may be few seconds later and all the weights even if some of them were there they may be gone already from the buffers. They were not lost but they may be gone. Or maybe the query is wrong. You would never find out. So but what you would find out you would find out a lot more with profiles. This slide with the links is just a history of applying oprofile to MySQL. Oprofile is available since 2001 or so. It's based initially based on sampling by timer. So it adds overhead but still there were a lot of problems in MySQL found out like all that scalability issues of table cache that were resolved mostly since 5.5 with introduction of metadata logs and all that kind of stuff. So just check all the details. There are many more like probably 20 bucks that I picked up for my blog post that is already published and you can find it and get more insights. So good people are well-known engineers like those who now work for Facebook historically like 10 years ago were already spending time profiling MySQL and proving where is the problem with oprofile at that moment. So oprofile is actually easy to use but you should know there are two kinds of oprofile. Oprofile till version 1.0 old one based on a separate diamonds that is started and pulling events by timer collecting them and then you can process and then creators of oprofile after Perf appeared and successfully used like CPU instrumentations were able to get a lightweight profiling. So they kind of rewritten the oprofile provided different binaries. So version starting from 1.0 just work differently. The op control binary is gone, the diamond is gone and OpF binary is introduced. So if you are going to use it and you will have to use it depending on the kernel because all that access to processor counters and everything is available only starting from kernel 2.6 something. So if you are using maybe for whatever reason Red Hat Enterprise Linux 5 you are out of options but oprofile. That's why probably you still should know it. So you need it, you start it. If you do not need and probably for MySQL you do not need to profile kernel calls you put NoVM Linux there. So the data is collected when the data collection is not needed anymore.  These set of actions was so widely used that Percona embedded it into PT stock tool as a separate option collected profile. It kind of works. So I was able to use it not at the very first case. So it's not always clear why the data are not collected. There may be several problems. The diamond may be not there, the version may be different, the command may not work so it's not very worthy about it and not all set of options produce or profile results but you can get it. So what changed? Now if you will take for example Fedora 25 you will see a new oprofile there. You install the same package but commands do not work. So PT stock will not produce your profiles at all because op control is gone. So currently in these versions oprofile runs more or less like opf. So you start data collection with operef then you stop it by sending signal or if it's in foreground by pressing control c and op report command is still the same. What I should say after trying operef operef theoretically allows to run under operef single binary and you can do it not as a super user but if you will just try to pass the process ID of mysql to operef and try to get the results on a multi-threading system you will get the results only for one sorry on multiple core systems. You will get the results from only one core. I'm not sure how it's picked up like the one where the operef itself works but it's just one core so it misses things. That's why I suggest to use system-wide profiling with operef as well and it's now embedded as one of the pull requests to ptstock so that ptstock continues to use oprofile when available like confedura 25. Let's see if it's implemented in this way or that but it's just a warning for you. So if you have multiple CPUs or multiple cores please use operef with system-wide profile otherwise you may come up with wrong conclusions.  What's interesting here you get a number of samples so how many times this function call was noted and the kind of overhead percentage of time spent in all these calls. Sometimes these numbers do not correlate so you may have a very hard call. So another thing poor man's profiler. So domas invented it kind of around 2007 or 2008 I don't remember and what's great about it in a lot of cases you do not need the power of a real profiler. All you need to know is where your threads are now hanging and you can get it with ptpmp in original poor man profile really easily. Behind the scenes it's historically it used gdb so you trace your binary and after running it may be left in traced state. So please take care and after running ptpmp check if your myscale is running if it's hanging send continue a signal to it to release it if you are going to do it in production otherwise you have services stop and another couple of things there are ways to make ptpmp less impacting the performance there is a quick stack that might be used instead of gdb and there are some command line options for gdb that can be changed in the code. The bug is not fixed by prokona it just hangs around. So in ptpmp you may find out that for example with that statistic state one of the cases that I reported actually we are waiting sleeping and trying to enter the inodbqe why because we were running with a limited concurrency so we had many long running threads that were all busy and our statistic state while jumping into the statistics trying to access index to find out how many rows it will get it will get one row it's stupid but this is how myscale works it's just like diving into the index trying to find out and it hangs there because it cannot get the results from inodbqe. If you do the same select from other myisome table it works instantly but inodb it hangs and already poor man's profiler allows to do that. Is it always useful no if we apply it to case of benchmark we will see okay we had one occasion of this long stack thread okay we see how things are called but what does it give us we do not know how much time was spent in each specific call that's it and we do not see anything special like we are hanging on some mutex lock so it's a kind of useful. What's useful in this regard is perf so you will see some success. Tourists here have collected bugs just some of them like half of them are still active mostly reported by one single guy Mark Agam from Facebook you can find a lot of more of good usage examples of perf so basically perf works with two commands perf record you needed to record the perf data and perf then you stop it and then you analyze the data with perf report so here it is different command lines are explained in my blog probably you need to send significant signal probably you also need to always use minus a system wide profiling so that you will see where time is spent from the operating system level as well and otherwise you again may get wrong profiling data as with or perf just from one core with or perf and with perf you can get not only flat outputs but you can get a hierarchy three of calls with detailed information where the time is spent and everything speaking about which profiler to use this day I'll tell you just just the result use perf if you can if you are on older red hat you have to use a profile why that so because of the performance impact and I will show it on my last slide so in case of applying perf to that statistics problem we will we see that actually we really try to get statistics by diving into the index and we cannot do it because my skill is busy at in adb at in adb level so it's like a stupid to create a plan that is simple use primary key we spend time trying to get information and we do select the data to find out how to select the data sorry about that but well the problem in that case was limited concurrency but that's not the only possible reason of hanging in statistic state so I'm still like work work in progress on that the last but not the least one example of when you have to use our profilers because there is just no performance key I try to profile my work specific load that is questionable and everything there are there is a query historically from older in adb bug that can be executed differently a different join order and one of the queries avoiding file sort that is normally a desirable thing and but another does file sort and it turned out that curious in my case in my specific case that is explained in details in the blog post that the query with file sort actually a bit faster and scales better with the number of threads like I tried on four cores up to 64 threads and the gap is visible and it's interesting what happens at four to eight threads because the gap is growing specifically in my rocks so I try to apply it to apply profiler to that and found out that in case of file sort avoided we have like mutics logs where notable time is spent so somehow at this concurrency we have a problem with concurrent access to some internal structures of my rocks so this is kind of information you can get from profiles also you see that different time was spent for specific my rocks and rocks db functions that may also give you some hint about performance impact like one of the final slides so I run that same stupid benchmark test under different kind of profiles and what you see here ptpm p it gives like maybe 60 to 70 drop down in performance so the huge impact or perf of all kinds even recent or perf it's from fedora 25 still gives notable performance impact and if you will go here you will see that perf without recording call trees gives a very minimal like several percent of overhead comparable to what you can usually get from performance schema but with all system wide profile you get insights not only into my scale code but in all the kinds of operating system code in my case for example I found out that most of the time is spent on hdd that is encrypted on encryption functions on some lot so you cannot get this inside other than profiles thank you very much my time is gone finally because I was from bugs team I still tell you please report bugs whenever you see them so here's a photo of my wife found the praying mantis and she reported you should do the same for my scale Maria db and questions I am around go for it click on the links find out there is a lot of stuff behind that thank you very much


We just heard the Mu'addin call and say, Hayyya lal falah, what does that mean, what is falah? The Mu'addin is calling us falah means success. What? Success? I thought success is having a million dollars in my bank account. I thought success is being good looking. I thought success is being the funniest one. I thought success is having the best job, the nicest car, the biggest house, the nicest hair. The most number of likes or subscribes, subscribers. Hayyya, come, come. It also means come alive. Wake up, wake up. And so this is a reminder, wherever we are, whatever is consuming us, whatever is filling our heart, whatever we're chasing, whatever we're chasing, whatever we're following. In the dunya, it's not, it does not have the power to bring me happiness. It does not have the power to bring me success. And this is a friendly, gentle reminder. Hayyya lal falah, come to real success, to true success. Being controlled by the opinions of others is a malady, is a sickness, is a disease of the heart. I care so much about your opinions. I care so much about my classmates' opinions. I care so much about these people's opinions. So I care so much about it that I let them indirectly decide who I am. Indirectly decide who I am, although I'm convincing myself that I'm making this decision. I'm living this way. I'm doing this. I'm dressing like this. I'm eating this. I'm doing my clothes like this. But indirectly, we're trying to please someone. We're trying to make someone happy. Who is it? Who are we chasing? Who are we... Who is in our heart that we're pursuing and seeking? That's a question for each of us to genuinely, deeply ponder. You know, Atikaf, they do the last 10 days of Ramadan, and you can make it your intention anytime you enter the message, is translated in English as spiritual retreat. What are we retreating from? It's a retreat, not just physical, but also mental, emotional. We're retreating from what's consuming us, consuming my mind, my ideas. And so Ramadan is this madrasah. It's this madrasah. It's this schooling to help us see the truth and see reality because things get fuzzy. Things get fuzzy. Things get cloudy. And so we come here to wake up, and we have to understand that there is physical reality, and there's also metaphysical reality, the unseen realm, and our spiritual journey, our spiritual awakening begins when we realize that our spiritual journey, our Islam, technically we're Muslim. Technically, literally, I'm Muslim. I'm submitting. I'm following the religion of Islam. I'm following the religion revealed through Angel Gabriel to Prophet Muhammad, peace be upon him, in the line of prophets all the way, including Jesus and Moses and Abraham and Joseph and Isaac and Ishmael and Noah and Adam and Enoch and Lot. And may God's peace and blessings be upon all of them. But our spiritual journey, our heart, our metaphysical journey begins when we realize when we can see the unseen. And I don't mean that literally or physically, but when we, for a Muslim, for everyone, seeing is believing, and for a Muslim, seeing is believing, and believing is seeing. Like we know when Gabriel, Gabriel, peace be upon him, asked Prophet Muhammad, peace be upon him, tell me about Ihsan, spirituality. He said, And ta'abud Allah ka'annaka tarah. Worship God as if you see Him. Fa'in lam taqun tarafa annahu yarak. And if you don't see Him, then you know that He sees you. And so the eyes of the heart, basira, we want to open them up because the heart can be locked. The heart can be closed in a prophetic tradition, hadith. La tuqtiru il-kalam fa'innakathrat al-kalami bi ghayri zikri la qaswatun liil-kalb. Wa abad Allah, wa abadun nasmin Allah Our Prophet, our teacher, humanity's teacher, the one who was sent by the Divine, he said to us, don't talk too much without mentioning God. Because if we talk too much without remembering God, it hardens the heart. And the furthest people from God are the hard-hearted. May Allah protect us from hard hearts. And so this invisible realm, if we open the Quran chronologically and we read, what is the first description of believers? On the first night of Ramadan, when we come and pray behind Qara'umar or the Imam, and they're reading the Quran sequentially, and he reads Surat al-Baqarah, what's the first description of you and I, believers of God? What's the first description? And that's where our journey begins. My brothers and sisters in this journey to God, in this journey of submission, when we realize that we have something inside of us, this amazing, special thing inside of me called my soul, my ruh, my soul. When we realize that, and it's just in this vehicle, this body, temporarily using this body, we live for the ruh, we don't live for the body. And then we connect that ruh that Allah made it personal. Allah says, He said, He blew into mankind from His ruh. It's something so amazing and special we have inside of us, being carried by this vehicle of the body and the beginning step of this spiritual awakening is realizing that that's who I am. That is my essence. And when that realization happens, then things start to fall in place. Then I don't have to worship the dunya and worship the money. Then I can forgive people that harm me. Why? Because I'm doing it for God. Then I can be generous to the one that's greedy to me. Then I can connect the person who pushes me away because I live for God. And I know all of this temporary delusion, all of this stuff is going to be dust. When we realize our essence, that soul and connect it with all the other metaphysical realities. Seek forgiveness from Allah, for He forgives all sins. God is the author of this religion, Islam, and God is the author of us, right? And God's the author of this world. And so they match, they sync up. And God designed our psychology and our psyche. And He knows that we get tired and we get bored. He knows that we make mistakes and that's okay. That's all right. We are human. It's okay to be human, right? But God designed this religion to help us on our way so we can be the best humans, the most beautiful humans. And this thing, Islam, is not just a religion. We have to understand it's a recipe for happiness. Who knows how to be happier more, me or God? Allah. So He gave us this religion as a recipe for happiness. And so we trust Him more than we trust our own inclinations, more than we trust our own desires, our own wants. I think I want this, but oh, God told me to do that. Then actually that will make me happier than what I think I want. And so Allah understanding this psyche, He designed this religion and He designed it with alarm clocks. This religion has built in alarm clocks, right? One of these alarm clocks is Ramadan. One of these alarm clocks is Friday prayer. We get together. Wake up! We come, one of these alarm clocks is the five prayers. Wake up! Is that classmate in school, that friend, that colleague, are they imposing upon my mind so much that I'm always constantly thinking, what do I need to do to impress him? There's this really cool quote. It says in my 20s, in my teens, when I'm in junior high in high school, seventh grade, eighth grade, tenth grade, when in my 20s, I was always thinking when I was in junior high in high school, I was always thinking, I always cared about what people thought about me. Oh, what do they think about my hair, about my shirt, about my clothes, about my shoes? And then in my, I got a little older, you know, I got in my 30s, and then I'm like, you know what? I don't care what they think about me anymore. I'm gonna be me, and I'm gonna be true to myself, and forget them. So then I start to take more ownership of making the right decisions.  Everyone was just thinking about themselves. And then you become free from the chains of people's opinions. And as Muslims, we add a fourth one to this quote. We say, when I get a little older, maybe 50s, then I realize that Allah was thinking about me. And that's who I, that's who I want to think about. That's who I care about what they think about me. And that spiritual awakening can happen earlier sooner. And so Allah designed this religion, and we are in the month of Ramadan. And it's a special time. And it's a special time that we, and I conclude with this analogy, with this comparison, with this metaphor. For all of you who play basketball, imagine if there was one minute of the 48 minutes where you don't make two points per shot, but you make 200 points per shot. Are you going to be tired? No. Or any of those who have a job and you make $20 per hour, and you have one week a year where you don't make $20 per hour, but you make $2,000 per hour. Are you going to be tired during that week? Are you going to wake up with energy? Are you going to be excited to work? And then in that week, there's a hidden, there's a hidden five minutes. And whoever is working during that five minutes gets a million dollar, gets a $10 million jackpot. Are you going to leave your desk during that week? You're not. That five minutes is like leilatul qadr. So we're not going to leilatul qadr. It's hidden in the last 10 days. It's hidden in the odd nights. It's hidden. I need to make sure. So we give, if you give sadaqah every night, not just one, we give sadaqah every night. We pray every night. We make our du'az every night because we don't know which one it is. We want to hit the jackpot. So no risk. And then that week that we're making $2,000 an hour instead of 20 is all of the month of Ramadan. So in the month of Ramadan, let's go. Come on. And everyone's going to support me. Your wife's going to say, go to work. You don't have to come back. Don't worry. You don't have to come back for dinner. Your husband, if you work, your husband will say, don't worry. Go work. It's okay. I'll take care of the kids. I'll do everything. Don't worry. Right? Just everyone's going to support. Everyone's going to have so much energy to work so we can make those points in the basketball game or cash in. And this is our month of cashing in. This is our month of cashing in. And it's real. Make du'a, make du'a for people. It's a special, special, special time. And we see this special time with the eyes of the heart. And we feel it because it's real. Allah has God chose special times, special places. And this is one of them. So pray and pray deeply. Pray for people you love. Pray for people you don't love. Pray for your enemies that Allah guides them and helps them and cures them. And pray for people, your neighbors, pray for people you've never prayed before by name. And pray. And if you were generous before, be more generous in the month of Ramadan. And so we're reinvigorating. It's the 13th or 14th now of Ramadan. We're recommitting for the next 16, 17 days. Whatever I was doing, whatever I was doing, I'm going to pray more. And yes, my feet are going to hurt praying behind Qadir Ahmad. Yes, they're going to hurt praying behind Qadir Ahmad. And that's okay. That's okay. Peace and blessings on all the prophets and all the messengers that he sent to us to wake us up from our hypnotized states and our slumber. May God help us see the truth as the truth and follow it and see what's false as false and protect us from it.  We ask you, Ya Allah, don't let Ramadan finish unless all of us are forgiven, Ya Allah. Unless all of us are exempt from the fire of hell, Ya Allah. We can't bear any moment or second of proximity to the fire of hell, which is real. Protect us from that punishment, dear God. We admit it's real even though we can't see it, we can't touch it, we can't measure it. We admit it is real. Heaven is real and let us taste it, Ya Allah. Let us smell it, Ya Allah. Let us walk through the doors of heaven, Ya Allah. Let us not be consumed and absorbed by this world, by this life. Let us use this life to beautifully to make the next life more beautiful. Amin, let us be beautiful to our parents, beautiful to our neighbors, beautiful to our colleagues, beautiful to our guests, beautiful to our family, beautiful to those who are not beautiful to us. Let us be gentle to those who are difficult with us.  You sent the Old Testament, the New Testament and the Final Testament and all of them are real. And the Final Testament is your last message to humanity and we will read it dearly and we will ponder it and we will hold those words close and dear. We will live by those words and all your prophets are real and the final messenger Muhammad is real and he is our teacher and he is our Roma, our Roma, our example.


Hi, and welcome to Learn WordPress. Today we are going to take a closer look at how post comments are displayed when you're using a block theme. But before we make our way to the backend of our website, let's see how comments display when people respond to a blog post. When I visit the front end of my website, I will click on one of my blog posts. When we go to the bottom of the post, we will notice three people have already responded by adding their comments. Roger, Tina and Ross. And below that, there is a section for more people to have their say. Allowing comments on your site has many advantages. It allows you to deepen your relationships with readers and find out what readers are interested in. It also increases the likelihood of them subscribing to your newsletter or purchasing something in the future. Essentially, allowing comments can help you build a community around your blog. It is, of course, important to manage comments effectively by using the built-in settings of WordPress under discussions in your dashboard and installing an anti-spam plugin. But for now, let's make our way back to the dashboard to investigate the comments block. But to do that, we need to have access to templates. So to make it clear, the comments block is for templates and usually forms part of your single post template and page template by default. There are two ways to access templates via the site editor and the template editor. Let's first make our way to the site editor. Go to Appearance and click on Editor. This opens up the site editor where you are able to manage your templates, template parts and also where you can customize the site-wide styles of your website. We are after the single template today. The single template displays the page structure for single posts. When we open up the list view, we will have a clear picture of the current layout of single posts. And right at the bottom, we've got the comments block. Have you ever wondered what will happen if you delete the comments block? Well, all comments on all blog posts that have been assigned to this template will disappear on the front end of your website. Let's see this in action. Click on the three vertical dots and select Remove Comments. And after saving our changes, we will make our way to the front end of our website to one of the posts that have been assigned to this template. And now we will refresh the page. And when we do that, we will see that the comments have disappeared. But of course, I actually don't want to do this, so I'm going to undo my changes. Click Save again, return to the post, refresh. And now we will notice the comments are back. The second way we access templates is via the template editor. If we are back in our dashboard, we can make our way to posts and open one of our existing posts. And in the sidebar settings, we'll see that the default template is being used, which is the single post template. And when we click on Edit Template, it will take you into the template editing mode. And here you are able to customize your single template just as when you were in the site editor. When we open the list view, we will see that the comments block is part of a group block. The one difference you will notice when you are in template editing mode is that the content of your post and the post comments are visible. Please remember though, templates are used to create such structure and are not used to add or edit content. But when we go back to our post and click on the template, you also have an option to add a custom template. So once you've named it appropriately, you can click on Create. When you create a custom template, you of course need to add a new header and a new footer. But if you also want comments to be displayed to this post, you need to add a comments block. So I'm going to insert a comments block below the post content block. And once you add your comments block, you will ensure, number one, that visitors can leave a comment and number two, that all comments are displayed. Just a quick note about displaying a comments area on a page. As you will remember, the comments block is part of your template. And we can see this when we make our way to the site editor and select the page template. When we open up the list view, we will see that the comments block is part of your template and not your page. So if you want a comments area to be visible on your page, you need to open your sidebar settings and below discussion, select Allow Comments. So if you have installed a block theme, be on the lookout for the comments block and be careful not to accidentally delete it. Explore Learn WordPress for more tutorials and training material.


Guys, we are above 60,000, not only above 60,000, we are above $62,000. Let's put this into perspective. Two weeks ago, we were sitting at around $42,000 and the market was in fear of dropping even lower. Do you remember this, guys? Do you remember when the last time that we hit $60,000 was? It was back on April 18th, guys. This candle right here, April 18th, we had a drop of about 6.5% was the last time that we were above $60,000. That means that it has been six months since we've seen these price levels. So why is Bitcoin going up? Where does Bitcoin go from here? Let's talk about that in today's video. So first off, let's go ahead and talk about the trade setups that we gave you guys on Monday's video. The first trade that triggered from Monday's video was that pullback entry at $55,000. So remember, on Monday was 11th, we were around right here. Our entry was 55,000, a pullback of 55,000, right? So what a bounce entry is, which we've discussed many, many times over is after the price drops down, you wait for it to jump back up over it and that's when you enter the trade. So if you did that, if you bought on the reentry at 55K at that pullback and held it to the top of where we currently are at this point, that's about 14, 15% move, right? If you use 10X leverage, guys, that's over 147% profit on that one trade. Now the second trade that triggered, okay? We told you guys that we were looking to buy above $58,000. Look at this candle, that's why we play these levels. Notice that when we call specific levels, when we get a breakout, they're usually big candles. That's where we make our money. That's how we maximize our profit. This move was about 8.5%, if you would have used around 10X leverage, that's around an 80% profit, but we're not done yet. If you use our entry above $60,000, that's another over 5% move on that. So if you use 10X leverage, that's over 50% profit on that trade. So if you missed this 55K trade, you could have still hit the 58 and you could have still hit that 60K trade. All profitable trades from Monday's video, this is why we tell you guys, watch our videos, turn on the notifications so that you don't miss these trades and you make some profits. Here are a few trades that we are currently in in one of our accounts. Guys, we take the same trades that we give you guys, as you guys can see here. So this one here that we're currently up about $8,000 on is a theorem entry that we told you guys at $3,500. Now, along the way, we've been taking profits, but we still have some runners that are currently running. We're up about $8,000 on this trade plus the profits we've already taken. We've made, on this trade alone, we've made over $10,000 this week. Next here, we have our Bitcoin trade. You can see that the current entry price is $61,000. Now, you might ask, why is our entry price at 61? Well, we've been taking profits and adding on to our positions as we break out above new levels. So we entered at $55,000. We took profits all the way up to $58,000. Above $58,000, then we entered again. We took profits all the way up to $60,000. Above $60,000, we entered again. Took profits all the way to $62,000. And at $62,000, we entered again. You can see here that the Bitcoin price is currently sitting at $62,430, putting us up in total right now about $3,100 or so on this current open trade. And we've already taken profits today alone of around $3,000. So that's about $6,000 in profits just today on Bitcoin. So if you guys do not wanna miss out on our next trades that we will be watching this weekend, then watch this video till the end. So the news that has been breaking the internet today is this one right here, breaking news. The SEC is likely to allow the first US Bitcoin Futures ETF to begin trading next week. You guys can see right here that this is, I believe the first one, which is a pending listing from ProShares Bitcoin Strategy. The ticker will be BitO. And as we covered in last week's video about the Bitcoin ETFs, here are the different dates for all the other ETFs that might get approved as well. There's a lot here in October and November. So this is all very bullish. And yes, some people are saying, oh, but that's just futures, that's not spot. Guys, we gotta walk before we can run. So what can we expect from here this weekend? I mean, at this point, I'm thinking we're going to test the top of this range. Remember I told you guys that once we broke above this into this new trading range, that this was the range we were in. That means that the bottom of the range is at 50,000. The top of the range is our previous all-time high at 65,000. So we have broken through all the major resistances on the way there. The last resistance really is 62,000. So by closing on top of 62,000, guys, we will probably test these previous all-time highs very soon. It could be today, it could be over the weekend, it could be maybe Sunday going into Monday once the Bitcoin futures Bitcoin ETFs get listed and get officially approved. So our next question becomes, okay, so what happens after that? What's the next target for Bitcoin? So back in August, we spoke about the hash ribbon signaling a buy and what happened last time we got that signal. We then got those numbers and brought it over to August and what would happen if we got the same type of move during this buy signal from the same hash ribbon? Using that data, it gave us a target of around $92,000 for Bitcoin pretty much around December. All right, now finally, the last thing that we're gonna take a look at is the Bitcoin log growth curve. So if we take a look at this here, we can clearly see that back in 2017 at the top of this bull run, we touched the top of this growth curve. Now, if we go over to where we currently are on our bull run, you'll see that we are only about the halfway point in this growth curve. If we hit the top of the growth curve, like we did back in 2017 at the end of the run, we have to zoom out and kind of look at the end of year over here, January 1st, that gives us a price of around $150,000 for Bitcoin. Okay, I lied, there's one more thing I wanna look at. By now, you're probably familiar with the Bitcoin S2F model. This is brought to us by Plan B and you can see that back in June, he tweeted this. He said in August, Bitcoin would be at $47,000. If we look back at August, you will see that Bitcoin closed at $47,000. So then he said that in September, Bitcoin would be at $43,000. If we look at September, guys, Bitcoin closed at $43,000. Next, he said October. For October, he predicted $63,000 for Bitcoin. Well, it is currently October and we're sitting around $62,000 for Bitcoin. Okay, so he's three for three so far, so let's see what he predicted for November and December. So for November, he put Bitcoin at $98,000 and for December, he puts Bitcoin at $135,000. So I'm not saying that's what's gonna happen, guys, but he's three for three. I think this guy has a crystal ball. All right, guys, so we've done an analysis on Bitcoin. Now let's go ahead and take a look at some trade setups that we will be watching to take over this weekend. So our first trade setup that I'm watching this weekend is a breakout trade above $62,000. So we've already broken above $62,000. You can see that our high is $63,100. We're going to continue using that level to take some breakout trades because any of these trades could give us a big candle up and we wanna be in that trade. So we will continue to use this level to enter some trades there. The next trade after that is we're going to be watching for a breakout above the previous all-time high. So that's gonna be above $65,000. If we break above $65,000, there is the potential that we see a lot of volatility and that prices rock it up to around $70,000. So that is definitely a trade that we're looking to take. Now, if there are any pullbacks, the first level that we're watching is of course $60,000. That is the first support to see if we finally flipped it and it holds for us. The next level beyond that is going to be back down at $58,000 and the final level will be of course $55,000. I hope you guys have enjoyed this video. Hopefully you're able to make some profits with some of these trade setups like we did on Mondays. If you guys have enjoyed it, make sure to subscribe to the channel and turn on the notifications. If you have any questions, feel free to drop it in the comments and most importantly guys, don't forget to smash the like button on this video. Thank you guys so much. I will see you on the next one. Have an amazing weekend and as always, peace and love.