The American common law, like the common law of England, had the purpose of supporting the common citizens and their business transactions. It promoted a level of trust between the people in their day-to-day commercial dealings, assuring that reasonable promises were kept and that transactions were intentional and reasonably honest. It was under the principle of the common law that our Constitution was prepared as an agreement by and among the people of the United States. This set in writing the business relationship between the sovereign people with their signatories serving as agents of we the people and the corporate national government that was created by and through this contractual agreement. The new federal government was not a party to this agreement, it did not even exist until the document was perfected. The states were not a party to this agreement because they are not listed in the preamble that sets forth we the people as the ones in whose name the document was signed. The mention of the states in the signing just indicates that they are representing the parts of we the people that were represented by each signature affixed. Under the law of agency, those who signed as agents of we the people could not authorize this new government to do any illegal acts. They could only take actions on behalf of citizens that citizens were legally unauthorized to take. It could not establish a government exercise sovereignty over citizens as the now freed colonial people did not have authority over one another. As to the officers of this new government, the Constitution provided terms to the contract under which they were employed and they could only have the powers and authorities that we the people would grant to them. This Constitution did not grant authority to public leaders over the operation of the U.S. economy. The common law recognized economic management as a sovereign purpose and there was no grant of sovereignty. The grant was specifically limited to contractual relations that were not to interfere with the limitations set upon the obligations of contract. While not specifically stated, our U.S. government was to be a representative republic and there was no authority to deny or limit the representation of public officers serving we the people. Those who accepted authority under this document did not accept the limits of authority but chose to act as corporate sovereign over the people under whose authority they were put in office. They accepted the Constitution as their source of sovereignty even though this required violating the common law principles governing signed agreements. They denied that their powers should be limited to agency to representing we the people. They ignored the restrictions and limitations the Constitution would place on those who were authorized under its provisions. There are few places where the violation is more public than with interferences in the obligations of contract. Yet the heart and soul of traditional business law was to honor the commercial agreements made by U.S. citizens. Interference in contract relations has been massive, adding to the agreements those things upon which the parties never agreed, setting requirements upon contracts that are not even written into them and violating the very principles upon which this law was founded they enacted laws to forbid otherwise legal agreements. This illegal use of public authority was banned in the Constitution and many violations were not even related to justice, domestic tranquility or promotion of the common good. These were simple violations. They were criminal misuse of public authority and they were an open violation of constitutional limitations. In order to justify these illegal acts, leadership relied upon serving public purposes. Our Constitution defines public purposes in terms of what was written into our Constitution's preamble, written into the founding document. These written purposes are the public purposes to be served by our constitutional government. It was to establish justice, ensure domestic tranquility, provide for the common defense, promote the general welfare, and secure the blessings of liberty to ourselves at our posterity. There is no valid public purpose for legislating provisions into employment contracts on which sovereign citizens who sign those agreements have not agreed. The scope of the violation of both purpose and law is so massive that it leaves one who newly discovers it aghast. It leaves today's citizens wondering what could possibly have been so important that our elected leaders would have engaged in openly criminal violation of their offices. The answer is partly found in the development of employment law, especially in the novelty of the establishment of corporate America as a predominant mode of commerce. In short, this change in commerce established a new business aristocracy. Those who ran large corporations as the barons of industry were, by law, given effective sovereign authority over vast sums of business resources. They were able to direct these wherever they could justify it as serving the business. It was serving the business, not the owners, investors, employees, or customers. It was establishment of miniature business feuds. The corruption of representative government accelerated when commercial corporate authority became the effective source of government resources. Accepting these resources came with representing non-citizen corporations who were not even entitled to representation in a republican form of government. This was open and blatant corruption. The violation of trust with the people through representing business interests instead of sovereign people was a major source of illegal tampering with the common law purpose of supporting business agreements. The sovereignty-based acts of interference first favored corporate leadership, not the citizens who worked in these corporate commercial businesses. Corruption spreads. The people who worked, who were also signed up, employment agreements, were the real source of government authority. And they also, as a corporate body, controlled vast resources. The leadership in non-citizen corporate businesses who had gained influence with government leaders soon found themselves opposed by non-citizen corporate labor unions who had like access to massive resources. There were union barons who were granted like influence on government leaders and who could then counter the business barons. So where were the people in this? There was justice for we the people when the conflict was a quarrel between those in the new business aristocracy where neither set of leaders really spoke for the people. Corruption only breeds greater corruption. The damage done by the business aristocracy was not reversed, but matched by additional corruption by union aristocracy. There were additional laws that added provisions and conditions on employment contracts as favored by union leadership. If there is any good news in this, it is that the corruption and illegality of government action seems limited to employment contracts and corporate agency, the corruption that has not yet spread to other areas of business law. There is also a natural legal difference between employment contracts with non-citizen corporations and employment with privately run businesses. The corporate entity is a creation of law and the government can write almost anything it desires into what the corporate entity has to do. This would include adding provisions to the employment contracts that it could legally offer to employees. This would not be interference with contract, but set requirements for corporate existence. Corruption of contract has spread to all employment contracts. As a failure to apply it to private businesses would seriously impair the resource base available to corporate aristocracy. If non-corporate contracts did not contain the government mandated provisions, non-corporate business would have a great advantage in attracting employees. There is much political hype addressed with business benefits of leaders interference in employment contracts, how they are really better for employees. The reality is far different than the sales pitch. The reality is that pay would rise and restrictions would reduce for private employment. If this were not so there would be no need for the incredible violation of applying this to citizen employers. People do not have to be ordered to do what they would choose to do. Some people have to be ordered to put these provisions into their employment contracts. It is because they would not otherwise have them included. Contracts between citizens other than employment are generally supported in accordance with a common law. Other agency is honored by our courts, accepting of course where the agency would apply to those who operate our government. The government handling of incorporation has many legal challenges. These are perhaps most obvious in the question of whether there are benefits for private citizen businessmen who incorporate his business. The answer is of course there are benefits. There is the lack of personal responsibility for what the business does. There is protection from the displeasure of employees and customers. The challenge is just highlighted where being incorporated is more beneficial than being a sovereign citizen. Just who is our government serving? It is supposed to be serving us, sovereign citizens, but has been openly supporting corporate entities, created beings. The face of corruption can only be hidden by redirection, by focus on something else. When it comes to personal decisions by citizens, the corruption comes open for inspection. The subject is the revelation of the reality of citizens choosing incorporation for private businesses, and it witnesses to political corruption. This does not have effect on the reality in which our personal commerce efforts will have to take place, but it can provide eventual impetus for citizen-initiated changes. So what is incorporation, and what is its effect on commercial business? The partial answer is that there is no good foundation in the common law for incorporation. That was considered sovereignty concept. It applied to government and administration and military activities. It applied in a very limited way to a village, town, or city administration, which served common people living within its territories. It included ships at sea, where the ship's master or captain was the effective aristocracy. Rights and privileges of such leaders were only specified for the ship at sea and military. The others were directly answering to sovereignty that survived on the productivity of the common people. On the need to reap the benefits of larger business organizations, it was a blank slate for the legislators, with their history addressing only sovereignty as a basis for development. The need to create corporations was obvious, as was the benefit available to people of the nation from having corporate commercial entities that could prosecute business on behalf of owners and investors. The need was there, and political leadership acted to satisfy that need. Of course, our government leadership had already accepted their corporate sovereignty over citizens. Their direction for action was to pass that sovereignty, all they could, to the corporate entities through the laws governing incorporation. Where government officers had accepted legal protection from the acts on behalf of the government, they also granted these new corporate leaders protection from the results of their acts on behalf of the corporation. Corporate sovereignty and office was raised to protect publicly elected officers from complaints by citizens concerning their representation. Likewise, corporate officers would be protected in their leadership positions from complaints by corporate owners and investors in their corporate actions. Those who governed considered their actions as a corporate body of leaders to be seen as authorized government actions, and so they granted that acts of corporate leadership would be the acts of the corporation rather than personal acts of the leaders. As effective sovereigns over the citizens, public leaders accepted that their purpose as a body of representatives were the public purposes, and so they accepted the corporate purpose was the purpose of its leadership. We have state-level laws for business incorporation, and they exhibit the general characteristics noted above. They do attend to business, even as the federal government now attends to national business. They do operate in general accord with the purpose for incorporation, even as our government tries to act in accord with the Constitution as its source of authority. As citizens, we must survive and prosper within this commercial environment. Even with the corruption of employment and the establishment of corporate aristocracy, it does work to some effect in supporting U.S. citizens. It also provides us with a truly awesome potential, the corruption in general, as it is in the damages it visits daily on the prosperity of we the people. It provides us with a truly awesome potential. The corporation is general, as it is the damage it visits daily on the prosperity of we the people. The universal damage is a basis for universal support for changes that enhance the prosperity through our commercial dealings.


We are going to speak on lots of things on Arial today. It'll be kind of an interview, sorry, it'll be kind of a learning session for me from Prathamesh. And we'll try to explore a lot of lots of things which are not kind of exposed through ActiveRecord. So, I'm Prathamesh, sorry, I'm Gripul. I'm Prathamesh. Yeah. And I'm so sorry. This was not supposed to be the joke. We work together at a consultancy named as Big Binary and it's based out of Miami. And we are from Pune where we work remotely with the consultancy over there. And we got to know each other a lot from Rails while working on Rails code base actually. So, yeah, some of the fault like why I read that was, it has been quite hectic getting over here and I could not get sleep last night. We are currently staying at this hostel named as Plot and yeah, it's been quite hectic. So, what are you working on these days? Okay, this is actually the conversation part, so yeah. Okay, so what are you working on these days? You see, I'm working on a pretty hot startup which is like backpacker's LLC and I've been traveling to a lot of places recently where I've made a lot of friends from hostels and they are backpackers and I wanted to help them out in some way. So, I'm working on this app which does basic functionalities and it helps them out in like maybe task management or finding great locations, finding food centers or finding cheap hostels and hotels. Looks good. Yeah. And you know, it has a very special feature also like it can help you out to find lost bags. So, yeah. And special mention over here, like you should go over to this handle and start following this because it needs more followers. And yeah. And we already have a pretty happy customers right now who use our app and yeah, this is one of the features like which helped them to find the bag. So, just to give brother mission overview like I'm working on pretty hardcore stuff and some of the things that I work on like I have this traveler model over here which is encapsulates data from about the traveler. Something I have tasks which handles information for tasks, locations for finding different information about locations and bookings associated with the customers and things like that. Cool. Looks good. And you know what? It's like, it's a current hotness and I have like 10 active users right now. Wow. And I just launched it last. Yeah, I launched it last week and I actually have 10 active users. So you actually can go backpackers.herokuapp.com and you can sign up yourself. And this is actual live app. And so while I was working like I have 10 actual users. So performance was the most important thing for me. Like, you know, 10 active users you don't get that much these days. So yeah. So that's why like I was very pretty much into hardcore SQL stuff. So I'm like everything that you can't get through ActiveRecord, I would, I try to do it through raw SQL because you know, actual power of database, it's pretty important. So yeah, I used a lot of raw SQL and it was, you know, I'm into, I'm a lot into SQL. So yeah, it's pretty simple for me. Cool. But you know what? Sometimes, I don't know. It's sometimes it's pretty hard for me using it in ActiveRecord. Okay. So yeah. So like this is an example that I was working on which tries to, what it does is it's trying to find out cuisine. So for my friends, it tries to find out food or places where we can find Indian cuisine. And what it tries to do is it's using I like over here because you know, I didn't like the ware closets and things like that. And I wanted to do raw SQL. So yeah. I'm doing pretty hardcore stuff over here. Oh, you have heard of Errol? Yeah, I've heard of it but I didn't use because you know, hardcore raw SQL stuff. Okay. So let me tell you how we can improve this query using Errol. So Errol is actually SQL, a generator for Ruby. It can generate all kinds of complex SQL in an object oriented way. You don't have to write raw SQL for that. And it is used by ActiveRecord internally. But it has all the other features which are not exposed by default by ActiveRecord API. So in your scenario, Errol can help you. So let's start. Yeah. So the first thing that we have to do is we have to first grab the underlying Errol object. Okay. Every ActiveRecord model will have this method ErrolTable and using which we can grab the underlying Errol object. Okay. So once we got that object. Why do you have this table, ErrolTableTable? Because it can give you access to the underlying Errol object and you can call Errol methods on that. Otherwise they're not exposed directly through ActiveRecord API.  I like an or. So this is the Errol thing that you're speaking about. Yeah, right. This is the ErrolPredicate method. So you're matching your QGN attribute over your arguments and you can pass any number of arguments. So it has generated the or clause for you because you're doing matchesAny and most probably you're using PostgreSQL. So it has generated the I like also. You don't have to remember that I like. So it is database agnostic. This looks interesting. Yeah. So let me ask you one more question. Oh, don't look at the slide. Sorry. Okay, so let me ask you one more question. Can your app handle this condition where you want Indian food also but you want vegetarian Indian food? Yeah. Whatever, like my app is the current hotness. So I have current like whatever. This is like pretty basic stuff that my app is able to do. So what I'm basically doing is, you know, I use the I like. So I'm using just not I like over here and it's filtering out all the results for non veg food. Okay. Yeah.  But Errol can help you in this also. So as it has matches, it also has does not match. So it can generate negative predicates also. And using that, you don't have to write that. Not like I like raw SQL. Oh, that's interesting. Yeah. And not just this. It has all these full list of predicates. You can do lots of stuff here. You can compare on arrays. You can do greater than, less than, greater than equal to less than equal to, you can do lots of predicates. Looks interesting. Yeah. And it is very simple. You don't have to do much for this. Wait, but this is like pretty basic stuff. I mean, it's possible to do it in Ruby also like equals two and stuff like that. I mean, it's not, not, not so hard. Can Errol do like kind of hardcore stuff that I'm doing over here because like I'm into raw SQL. So I'm doing an intersect over here. Is it possible to do that? Yes, it is also possible. So I think what we will have to do here is we will have to break this complex query into different parts. And Errol can easily do that. Would you like me to explain what this is doing? Yeah. So it's trying to, what this is doing is it is trying to find all the locations with bookings for a book. I mean, whichever location which has a booking. And then on top of that, it is going to find locations. I mean, it is going to find the result of the ratings which are for locations which are greater than three. Okay. And that's why I'm using intersect over here. Okay. So you want to combine the result of both the subqueries. Exactly. Right. So let's start with your booking query. The rating should be more than three, right? Yeah. We can use our greater than predicate to generate this clause. And let's just keep it as it is. We will use it later. So let's move next. Now we want to join. So here we will not join using active record way. When you are joining using active record, active record will take care of matching the primary keys and foreign keys automatically. But as you are doing Errol way, you have to go in steps. So first you pass the review tables, Errol object, then you specify on which condition you want to join. So you specify that you want to join reviews location ID column. It should be equal to locations primary key. And now you can specify one more extra joint condition. So this is not possible by default in active record. You have to write SQL for that. But here you can specify the extra joint condition where we are using that our existing clause. And now once we have generated this joint condition, now we want to select something from it. So as Errol is based on relational algebra, it has some relational algebra terms. So select in SQL, it's similar to project in Errol. So you are projecting star, Errol dot star, which gets converted into SQL literal. Yeah, I know about the star. It's like select star. Yeah. You know SQL. OK. And the join method is not just inner join. So if you want to do outer joins in active record, it's not possible by default. But here Errol join method can take a second argument. By default, it will be inner join always. But you can pass outer join. You can pass right outer join, full outer join. And it will do those joins also. So joins are very simple using Errol. Wait. We were not discussing on joins. Please focus. OK. Let's come back. Let's come back. Yeah, we were speaking about intersect. Yeah. I don't see that over there. OK. So now we have got our two queries, subqueries. And now we want to just do the final step. And let's do that. It's very simple. So just combine them using intersect. You're done. That looks simple. So here I'm using join, which is from Errol. And then I'm doing joins, which is from active record. Right. And it works because of Errol, actually. So how it works is the intersect method is defined in Errol select manager. So you want the earlier clause, the result. You can chain on that clause. And the intersect method works in this way that you can pass any object to it which responds to AST. And here, location.joins.bookings responds to AST. So Errol will convert this into its AST and will apply the intersect method on both nodes. That looks interesting. Yeah, you get the same query back. Wow, it's much cleaner than what I had written, like the raw SQL stuff. Exactly, exactly. It looks good. Yeah. And it's just not just intersect. You can do unions also. You can do accept clauses also. So you can combine your subquery in all possible ways. I mean, I don't want to use those. But yeah, fine, whatever. OK. Fine. I mean, that's OK.  But you're not convinced yet? I'm using pretty hardcore stuff that I told you. So here's one other thing. I'm using the stable as an adjacency list. What it's trying to do is it is having a, I'm trying to provide a self-join over here. There's a parent location. There may be locations and sublocations. And I'm doing this using hardcore raw SQL stuff, like inner join on the same table using the alias and things like that. And I don't think that, OK, this is possible through error. Well, it is also possible through error. So let's see that. The first thing that we want to do is we want to create alias on our existing table. And it's just a simple method, alias. You call that method and you get alias for your table. So we created the alias for nearby locations. Now let's do the join. So in previous case, we joined on a review table. But here we will join on our own alias. So location will join on nearby locations. And then you can just specify your join condition as we did last time. And again, you can pass the extra end condition. OK. And what is this join sources that I'm seeing over here? Yeah, so if you want to pass this to Active Records Joins method, you want the internal join object. OK. And this join sources, what it does is it gets that internal object. The object is now pluggable. So you can pick it up, plug it into Joins method. You get your Active Record relation object back. OK. Something like this, what you're doing over here? Yeah, something like this. So you combine the result, pass it to Active Record Joins method, and you get the same SQL. But notice the difference. Here you are getting the table name as locations 2, which is generated by Errol. The alias one? Right. So you don't have to make sure that you are using unique names. Errol will do that for you. Nice. Again, I don't have to say anything. I think it's getting quite boring using this slide again again. OK. But anyway. So yeah, this is all fine. This is all raw SQL stuff. But yeah, I'm using pretty secure. I mean, I have 10 users. So I needed to make it super secure. So I'm using like hardcore, again, database stuff. I didn't want to do the Ruby stuff because I believe on database. So I'm using these functions like PgSim Encrypt, which is, I mean, I'm trying to directly encrypt data directly from the database. So yeah, I have these set and get methods which are getting the key and value. They are directly encrypted data from database and they're associating it to that particular record. And you can see over here. You're just running that query. Executing it. And you know, this is pretty hardcore. I don't think Irel will be possible. I mean, I don't see why Irel should come into this picture. OK. So Irel has an answer to this also. It has a concept of name functions. So what name functions are, they will act as a Ruby wrapper for your SQL functions. So you just pass the database function name and its arguments.  So yeah, Irel can help you in this also. And I see one more use case. What are you trying to do here? See, again, hardcore SQL stuff. I'm using coalesce over here. Like, I mean, some of the time my users want to sort tasks based on when they were completed. And sometimes the completed at time that I have over here, it may not be present over here. So instead of that, I'll be sorting on created that's why I'm using coalesce. OK. So you can use name functions here also. Let me show you. OK. So just like previous, we defined a name function for order criteria. And we can pass that to our order clause. And it will generate the same query. So name functions can be used in these scenarios. You just don't have to rely on select. You can use it in multiple cases. Depends on what function you want to use. Very interesting. Yeah. I mean, this has been quite informative. And you know what? I'm going to try and hack into my app and start using this little stuff. And it was pretty nice. OK. So let's just give me a summary for it. Right. So let's just summarize all the things that we discussed. We discussed complex predicates. You can do all kinds of positive stuff, negative stuff. You can generate them. You can chain them. Then combinations. You can generate your subqueries. You can combine them using intersect, union, except all kinds of possible combinations. And joints. Joints. You can do inner joints, self joints. You can do outer joints. OK. All kinds of possible it's possible. And then the last part that what we seen was you can use ARL with Active Record. Right. So you can leverage the existing Active Records features with the power of ARL. Man, this was quite informative. And thanks for all, I mean, giving an idea of whatever. I mean, able to use through ARL. Don't thank me, actually. Thank these people. So Nick Kellen originally wrote ARL. Then Brian and Emilio, they integrated it into Rails in Summer of Code. And Aaron and Ernie for adding new features, maintaining and everything. Thanks. Can we have a clap for them? Yeah. Talk was short because there was tea break, so. Yeah. That's about it. There's one other thing that, yeah, the conversation is over, actually. So there was one other thing that we wanted to include, which was Windows. So if you must have used Windows in SQL, it's possible, again, through ARL, to use in a pretty neat way. So this is how actually ARL works behind the scenes. It creates a select manager. And this is the engine.  That is an Active Record-related object. And we can use things like window over here. So it is something that is useful when you want to group together your results. So this is a running PR right now. I mean, Aaron is over here. Maybe he can take a look. So we'll have this functionality, complete functionality of Windows, possible through ARL also. The code that we have in the slides is available on GitHub at this particular URL. And yeah, the app is live, actually, and you can start using it at backpackers.herukyab.com. Maybe you can check it out. Yeah, that's it. I'm sorry. So the question is, will you agree that some of these examples are simpler in SQL than in ARL? If it was simpler, you wouldn't even use Active Record. I mean, in that terms. But in lots of cases, it seems simpler in the beginning, but in the end, it's like you're adding on lots of conditions and it gets quite messy. There are also other things involved that you need to take care of whether the syntax is correct or you have actual coding correct or things like that which are given by free for us from ARL and Active Record. So things like that are pretty useful for us. And again, it helps us out to reuse a lot of things that we are breaking a lot of things into smaller chunks. So imagine a case that you have a big query and you're writing it in one single line. Instead of that, you can actually break it down into a separate class and then you can have a pretty decent test for that particular class. So yeah. And then again, you can combine all these results and use them again in terms of Active Record, just like we did for Joins. So you leverage what Active Record does for you. So you can chain on those in other Active Record ways. So your one class can be ARL and other class can be normal Active Record way. But still you can chain on them. OK. Have you been trying the SQL library? And how do you find it comparable to RL? I think we both have not used SQL. We have not used SQL, but one of the advantage of using ARL is that it's under the Rails umbrella. So you can be somewhat sure that, OK. So you wanted to make inside of Rails, inside of Active Record. So this is because you did it. It's aligned with that, actually. OK. OK, thank you. Thanks, Pradamesh and Vipul. Yeah, thanks.


Welcome back to the channel. In our previous video, we made a short call called take-a-press domains and essentially what that did was that every time we reloaded our page, we got back information from our XML data point. This data is nice and okay, but there is one problem. In all the different languages every time the art symbol is used, it has a particular meaning to it. We shal not be able to use the art attributes as a string or as a node in the future videos that we'll make and that is especially with things like JavaScript. So right now I need to convert this into a more palatable PHP array, but I'm also going to strip everything down so that we have something that is more predictable as an object. So how do I do that? I'm going to come back to our code here. I'll scroll down to our function. In here, I'm going to come and say let us return and we're going to return a function called convert XML to PHP array and that will be a function and in this function we are going to pass our body response and basically that's going to allow us to get everything that we have here, cut it and then I should be able to write a new function here called convert XML to PHP array. We can now define our function here and I'm going to just paste what we cut from up here previously. So I'm going to use more of the error log and then I'm going to comment out the front end vadamp because it might give us a lot of issues yet the error log just works straight out of the box. Now I'll copy this PHP variable name and I'll paste it here. Since we are passing this body response in here, I'm going to copy the same thing and I'll pass it here to this function so that they are working well. We don't have a PHP error. In this function what we have is we're using a PHP function called simple XML load string and this is basically going to get this XML string and convert it into an object. Now once we have that as an object, we are encoding it into JSON and then thereafter we are decoding it and that is the value that we get every time we reload the other page. So I'm going to error log our PHP and we can see the types or the data types that we have and we can be able to loop through the different arrays and so on to get the information that we need. So I'm going to go back to our browser after saving this. I'll reload this page and you see right here we have nothing displaying but if we go to our editor, go to the debug.log, you'll see that we have this whole chunk of information coming back. We have two object items, one which is the art attributes and then we have these domains right here. Of course this is telling us what's happening. We have a status of one and then we are also checking which is basically the same thing we are doing in the function. We know that we are checking for availability and this availability is being checked for on the XML data point. I've just renamed this function so that it's more clear and then once we are in here, we can now start writing and saying we need to get the PHP object and we are looking for the domains object at this particular case in time. Why is that? We just want to get this node that has all our information coming back. So we are going to loop through this object because it now has an array of domains and we're going to save for each of this object as a single domain and what we can do here is we can error log this, error log the domain and see what comes back after looping through this. Of course I know we are going to get this chunk of information but I would like you to visually see that. So I'll scroll down here. I'm going to go back to our editor. I'll hit reload, come back to the editor and you'll see that now we have this information showing up. It's just what we had here but we've gone a step inside and we're getting the different objects. So since this is an array of data as it's telling us here, we need to loop through this again and say let's duplicate this and in this particular case we're going to say let's get each domain from here, let's get each domain and we're going to say we're going to represent that as domain info and we can copy this and say let's error log the domain info.  So we need to get this item which is the at attributes from each one of these domain infos. So we're going to say the domain info and we want to get the object which is called the at attributes. Now you can see that my editor is already screaming at me and telling me this has a different meaning. Can you please fix that? So I'm going to wrap this in kali brackets to say this is PHP but this is actually just a string. So I'm going to wrap that and say this is how we get the attributes and I'm going to wrap this and say this is the domain log. Let's get the domain log, I'll go back to our browser, hit refresh, go back into our editor and you'll see that when we scroll down now we have this standard object that gives us the name and the availability. I'll come back to this and say for the domain log in order for us to get the name which we'll just say is equal to name is equal to domain log and we're going to map on that and say we want to get the name and then I'll duplicate this and just say the availability is just going to be avail avail and we can get that from this object right here. So at this point we can actually just say we're going to have formatted underscore domains and we shall say this is equal to an empty array and so each time we come here we want to array push and in PHP this allows us to add information to another array. So we reference the array we want to have information and in here we want to pass an array of data whereby we have name and we're going to map this to the name here. So I just need to move this just above so that we can see them correctly. I'll say we need to map that to the name and the other thing is we're going to say availability is going to be mapped onto dollar sign avail right here. We're going to move this error log down here and I just want to get our formatted domains and I want to error log it and see that we have the correct simple piece of data that we wanted from all along. So save this come back to the browser hit one reload and I'll come back here to the editor scroll to the bottom and you're going to see that we have an array that has another array inside and we basically just have names right here. So this would be a little bit easier and simpler to use inside our JavaScript because we have more predictable nodes of data coming through. At this point I'm just going to return formatted domains because this function is doing one thing and one thing alone and it's allowing us to return that data. So I can click save here. I can come back here and say if I want to vadamp this information that's okay. I'm just going to cut this return we're going to call these domains and say is equal to that and comment this and say let's vadamp our domains and then after doing that we should be able to return domains. So I'm going to come back here. I'll reload this. We have a simple array with other simpler array items inside it which is domain name and availability. So this will be a lot easier to use and you're going to see how this all plays out. So I'll just clean this up a bit. I'll move these to one straight line and that is simply to answer the call from our coding standards of WordPress and this will look a little bit nicer. I'm going to remove this because we don't need it anymore and this is what we need to get us to move forward. So in the next video I'm going to show you how we can connect the data that is actually being returned and how we can add this down here visually so that when we click this button on our search form the information is being displayed as coming back from the API. In order to do this we shall be using Ajax and if you want to see that then jump into the next video.


Musk's free speech moves on Twitter have so far been unimpressive. When Elon Musk's purchase of Twitter was first announced this past April, I said that the purchase likely wouldn't go through if the Empire thought it posed a threat to its information interests. I said that any reduction of censorship protocols which Musk implements on the platform would probably not be of the sort that makes any difference to the powerful, but would instead just amplify vapid partisan culture war nonsense. So far since Musk's takeover, this does appear to be the case. In recent days Twitter has reinstated the accounts of Donald Trump, Kanye West, Jordan Peterson, Project Veritas, Kathy Griffin, and the Babylon Bee. This to date is as close as Musk has come to honoring his stated intention of making Twitter a haven for free speech where people have a digital town square to debate and discuss ideas. And it's not enough. Unbanning a few famous people will drum up a lot of headlines and online chatter and make it look like you're doing something, but in the end all you've done is reinstate a handful of Twitter accounts.   Nobody gains anything by giving the billionaire the benefit of the doubt and refraining from pointing out that he hasn't done nearly enough at this point. The time to start criticizing and pushing is right now. Right now Twitter is full of discussions about which famous people Musk should unban next, but they're completely missing the point. Reinstating a handful of celebrities has no meaningful effect on the free expression of normal people. I don't care that I can see tweets from Trump and Kanye again. I care that people are still banned from the platform for questioning Western allegations of Russian war crimes and voicing unauthorized opinions about the war in Ukraine. I care that people are still banned for questioning vaccines and COVID policies which affect everyone. I care that media from governments the US doesn't like are censored and suppressed, while its reporters are made to carry state-affiliated media labels that media personnel from US aligned states don't have. I care that mass purges of accounts are virtually always directed at people from US targeted nations. Free speech is important first and foremost not because it feels nice to be able to say whatever you want, but because being able to freely criticize the powerful puts an important check on power. Letting celebrities say whatever they want about trans people or what have you is the feels nice to say whatever I want variety. We're not seeing any increase in the freedoms of speech which put a check on power. In fact, we're seeing Musk pledge to use shadow banning to algorithmically censor tweets with unauthorized speech. New Twitter policy is freedom of speech but not freedom of reach, Musk tweeted on Friday. Negative slash hate tweets will be max deboosted and demonetized, so no ads or other revenue on Twitter. You won't find the tweet unless you specifically seek it out, which is no different from the rest of the internet. Musk never clarified what he means by negative tweets, it's as vague and subjective a definition as anyone could possibly come up with, which will surely result in abuses and overreach unless clarified. Freedom of speech not freedom of reach is the same dumbass slogan that's been used by proponents of internet censorship for a long time. It basically means that you can say whatever you want, but if it's not approved speech then no one will ever hear it, which of course isn't free speech at all. It's like saying, you have free speech, you can say whatever you want as long as you say it alone in a soundproof room. As we've discussed previously, censorship by algorithm is actually more damaging than overt censorship because it happens in a much subtler way that people don't notice and because it can be done at mass scale. This is the same form of censorship that's been embraced by platforms like Facebook and YouTube, which up until now have been far more restrictive of speech than Twitter. So as far as I'm concerned, Musk is failing the free speech test. Speech is not becoming any freer on Twitter in any way that actually matters, and from all appearances it's still functioning as a narrative control tool for the most powerful empire that has ever existed. And that's pretty much what you'd expect from a billionaire Pentagon contractor who is inextricably interwoven with the US military industrial complex. People don't get to be billionaires unless they collaborate with existing power structures, and they certainly never get anywhere close to managing critical narrative control infrastructure unless they are devoutly loyal to the empire. Billionaires only come to the rescue in movies and comic books. Elon Musk is no more likely to save the day than Tony Stark or Bruce Wayne. People only believe he's a hero because Hollywood has trained us to look for heroes, but Hollywood does that only to keep us searching for heroes outside ourselves. We'll never get a healthy world if we keep looking to billionaires, politicians, and celebrities to make things better. It's going to have to come from us. The sooner we wake up to that reality, the better a chance our species will have at surviving the existential crises looming on our horizon.


Hello, everybody. Andrea Majeski here with Dental Oil Tutoring. So if you guys are on social media, which I'm sure you all are, you have probably seen at some point, well, if you're a female anyway, you've probably seen at some point all of the advertising for the fab, thick, fun boxes. And they're usually done by celebrities showing you guys what's inside the box. So I'm clearly not a celebrity, but honestly, and I'm not being paid to say this, okay? The celebrities are probably being paid to say that, but I'm not being paid at all just so you know. But I love the fab, fit, fun boxes, and I'm going to show you guys what's inside the box that I got this time, the spring 2018 box. I actually signed up for them about a year ago, and I have always loved them, but I never thought to do a video, but then people were asking me about them. So I thought, well, you know what? If the celebrities can do a video, I can do a video too.  So if that's something that you guys want to do, I'll put my referral code in the comments section underneath the video. So have a look. I sign up for the yearly subscription because it's actually cheaper if you plan to buy all of the boxes anyway. If you just would like to try the one box easy, I think it's only $30, $40, something like that. So it's a pretty good price, and I'll show you guys why. You get tons of full-size products in every single box, and I think it's a lot of fun opening it up and not knowing what's inside. So let me show you guys the 2018 spring box. So check all this out, you guys. It's kind of heavy. See this? Oops, there we go. Okay, I am done the video. Just kidding. So let me show you guys what's inside. So I'm actually going to keep it on my lap, okay, because it's so, like, heavy. So this was probably one of my favorite boxes so far because I feel like I can use everything in it. Sometimes I open up a box, and I might not be able to use everything, but the nice thing is, is I save it and I gift it. So for somebody's birthday, for Christmas, whatever, I will gift it to them because these products are expensive, which I will show you that because in every box they include the magazine, the brochure, and it tells you actually the regular price of all of the items. So there's literally, and I will show you guys at the end, but there's $350 for the products inside each box. And that's the truth. I have looked it up. So that's pretty good, right? So if you like to shop at Sephora, you have got to get this box because they're amazing. Okay, so let me show you guys. So what I got is it's kind of like a wrap, okay? You can wear it at the beach. You can wear it just over a tank top. I actually wear these a lot in the summertime, just simply over a tank top. I have shorts on, jeans, whatever. So it's kind of hard to see obviously, but it's like a wrap here. I'll put it on. I should have wore a tank top so it looks a little bit better, but look at this. Nice, eh? Like look at the color too. And the nice thing about the boxes is that you can, for certain items in the box, you can pick your own color combination. So I like that too. You can't pick everything. For each box, they let us, they show us three things. What's inside the box, and then we can pick the color combo that we want. So I picked a blue one. I can't remember the other color combos of the wraps, but I mean, hey, right? I love blue, so why not? So the next thing, which I thought was really cool, I've never seen this. Perfect for dental hygiene and dental assisting students as this is a tutoring channel, but this is a massage roller. How cool is that? Now, I didn't know how the heck to use it, so I looked on YouTube and it's pretty simple. I can't really show you guys now, but on your leg, on your back, on your hips, wherever it is sore, you just simply massage. And it works. I tried it yesterday because I was sitting at the computer for a while doing some tutoring prep, and it did help to sort of, I'm not my knots. So if you don't have a chance to go to your massage therapist, this is really nice, and I wouldn't have thought to just buy this. So it was nice that it came inside the box. I got some deodorant. Now, ladies, I'm sorry, this might be too much info, but I find that I have to apply deodorant like three times a day. It is annoying. I'm just one of those people that sweats a lot, but I started using this yesterday because I got my box yesterday, and it's kind of like an exfoliating deodorant because it's a little bit rough. I don't even know if I can show you guys this. You probably can't tell, but yeah, you guys probably, whoops, I'm trying to cover this up here, but it's not working. You guys probably can't tell, but it's a little bit rough, but it seems to work a lot better than the other natural deodorants that I've tried because I do prefer a natural one because I don't want any extra aluminum, so I do prefer a natural. And this seems to work the best so far, but I'll let you guys know in a week because I just used it for a day, but I got deodorant. I got, now I took it out of the box, but this is for your nails. It's apparently supposed to make your nails look smoother, healthier, and it's just like a nice light pink color too, and this is normally expensive, so what it says is it's a keratin peptide, so it helps to strengthen weak nails and make them more resilient or, sorry, resistant to damage. And as a dental hygienist, a dental assistant, anybody, we need something like this because we're constantly washing our hands. So I thought this was pretty cool, and for those of you who aren't allowed to wear nail polish, you might be able to get away with this one because it's such a light pink color. So again, not something that I would have thought to find myself. And I got some natural soap, which again, I love natural, so I'm quite excited to try that one. I got some moisturizer, which I took this out of the box too because I already started to use it, because the funny thing is, is I ran, or I'm starting to run out of my facial lotion. Okay, so why not try something new? It came inside the box, so why not? And I like it so far. So see, things you can actually use, right? I got a really nice candle. That smells amazing. And who doesn't like candles? I mean, really. I know you guys can't smell that, but it smells really, really good. And remember, if you can't use everything inside the box, save it and just gift it. I tend to forget to go shopping for people's birthdays, Christmas is just holidays. I get so busy. So what I do is I check to see the things that I have saved. And then that's what I use as gifts for people who I think would really, really like it. I got a sleep mask. Oh my God. If this had come a month ago when I went on my honeymoon, that would have been amazing because I was looking for a sleep mask. And they're expensive. For a good one, they're 20 bucks. But now I have one and it's really soft too. And inside, they have like a gel of some kind. So I wonder if you could put it, if you wanted to in the freezer to make it cool or something. I don't know. But that's pretty cool, right? Really, really nice. And the best is yet to come, you guys. I'm saving the best for last. Like this is nothing. There's some pretty cool stuff in here. And see, there's more. There's more. I got a body butter. How cool is that perfect for the spring, summertime? Because it's supposed to smell like, it says it's a smoothing and moisturizing cream for all over the body. Rich in shea butter and avocado oil. Hmm, sounds awesome, right? And I did, I started to use this already and I love it. As you guys can see, I did open it and it smells really, really good. And, okay, so I saved my three favorites for last, okay? So I got a lip palette. Okay, again, something that you could easily buy at Sephora for 40, 50, 60 dollars at least. I was opening it up at the beginning. So this I wanted to save, okay? So it comes nicely packaged, which is always a lot of fun. Let me open this, guys. And this, by the way, was part, oh, hello. This was part of the ones where you could choose your own colors. So they had a nude palette and like a purpley one. So I chose one that had a combination of the nudes, the reds and the pinks. So as you guys can see, I have started to use it. Okay, but I just kind of used a little bit of this one so far because I did have one similar to it already. But you can never have too many. So, and look what else I got you guys. I love this. It comes in such a nice cute bag. I got a bracelet that says love. It makes sense because I had my honeymoon last month. We got married in January, so I was pretty excited to have this. This was another option where you could choose a bracelet or you could choose earrings. I have a lot of earrings. And I don't have a lot of bracelets, so I thought that this was perfect. Nice, eh? And this all came inside the box. Part of the fun is seeing things in here that you had no idea. You could always do a search on Pinterest and see other people's boxes, but I choose not to do that because I like to be suppressed. This is my favorite, you guys. Any idea what's inside? And it came in such a nice cute bag too. I don't know. I like things like that. I like attention to detail. Check this out. And this was another one where you could pick your own color. Look, isn't that amazing? It's a clutch. And look how much room is in there. And it is reversible, so you could technically use it for your iPad even. You know, take it to school under your arm, use it as your iPad. You could put your notebooks in here. I don't know anything, but I choose to use it as a clutch. You could use it like this. You could use it like this. I like the pattern and the mint, so I'm definitely going to use it like that. And if you look inside, whoops, I don't know if you guys can see, but there's tons of room and there's a pocket too for your lip gloss, nail polish, whatever. Isn't that nice? I don't know. I was really excited for this purse. Okay, like, isn't that nice? All of this came inside the FabFitFun box. So I think they need a bigger, like, table so that I can show you guys the whole thing. But this is what the front of the box looks like. Whoops, I'm making a mess here. FabFitFun, yay! But let me show you guys this too. So what I like is it comes always with this. Okay, so you can look inside to see how much things were. That's just something that I always like to do. Each box is $30 to $40 depending on where you live. So if you live in the States or if you live in Canada. Now, I pay per year. So I pay, you know what? It doesn't seem like I even pay a lot. I think it's like $200 or $300 for the year. But let's say a box is $40. You know, you're saving money. So I choose to pay per year just because I prefer the payment to come out of the MasterCard once and not like every single season because I know I love it. So, okay, so let me show you guys this. Check that out. So it just kind of shows you the prices and it tells you how to use everything too. So let me show you this purse. That is my favorite thing ever. So look at the three different color combinations there. So I picked this one, but you could have picked, you know, there's this one or there's this one. So I believe if you sign up for the year, you are allowed to pick three things that go inside the box. So as I said, one of them was this clutch. And they had the option of choosing either this one, this one or this one. And I chose this one. And the nice thing is too, is that if you are a member, if you sign up for the boxes per year, you can also pick things to add to your box that are a lot less money. Like I bought a Kate Spade mug for $5, normally $20. I bought, what else did I buy? Tons of things to be honest with you. I bought necklaces that are normally $20 for about $10.  But those ones tend to go fast. So as soon as they add the add-ons and they do send you an email, I hop on there and see what I like.  So you could always change your mind before they mail out the box. But they show you guys how to use everything. That's inside the box. So I think that's so handy. Now where's the prices? When I saw, you know what, it might have been on a different sort of insert that I just forgot about. Sorry guys. I'm trying to get the front page where my fingers are like sticking to the pages. Oh, here it is. Sorry, you guys. So the first page, it tells you guys the prices. Okay. So can everybody see that? Check that out. So my skin perfecting lotion is $40. That candle is normally $45. The nail, I guess, protector is normally $18. The sleep mask is normally $40. The massage rollers are normally $20. The clutch, which is my favorite, is normally $60. I chose to get the bracelet. Sorry, you guys. And see how the bracelet is $65. I could have picked the earrings. I don't know if you guys can see the tassel earrings, but I chose to get the bracelet. And there's the body butter. And you could have gotten some collagen infused lip masks, but I didn't really want a lip mask. I feel that my lips are big enough. So that's why I got the body butter, but I love how they show the prices. So anyways, you guys, I will leave the code if you want in the comment section. And you can get a discount on your first box. If you use my code. So I just thought that I would post a fun, a fun video, I guess, since I've been tutoring a lot and posting the videos on tutoring and all kinds of topics. So this one isn't dental related, but I wanted to have some fun because it's Saturday. So thank you guys for watching. And if you guys have questions about the fab fit fun box, let me know because I had a lot of questions when I bought my first one because I did just buy the one first. And then I signed up for the year because I loved it so much. Part of the fun is not knowing what's inside the box. You can pick three things, but everything else, as you guys can see, you don't know what's in there. So I wish I could hold everything in my hand to show you guys again what was inside, but I only have two hands. So sorry about that. But if you guys have questions, just let me know. The main question that I get, where did my clutch go? Is are the products full size? Yes, they are. Because if you've heard of subscription boxes before, a lot of them aren't full size products. They are trial sizes. These are full size and for $40, I think it's $40. You can't beat that, right? Right? I mean, that's a pretty good price. So I don't know. This is my favorite you guys and the bracelet, which is in this nice little pouch. And I'd say this is one of my favorites too. But yeah, if you guys have questions, let me know. Thank you guys for watching. I'm going to put it on my wrap, even though it's like snowing outside, so I might look a little bit silly, but I love it. I will see you guys in the next video. I will upload a tutoring one. So there you go. Thank you guys for watching. Have a nice weekend.


Hello everybody, welcome back to another mid-journey version 5.1 tutorial. In this one, I'm going to show you 20 new logo design styles that I like. I'm also going to put the prompts in the description. So anything I type out here, you're going to have it in description. Feel free to use it as is or modify it. I'm also going to show you how to take any one of these logos that I create or any logo you make and turn them into a vector graphic for free. It's and you don't have to use Adobe Illustrator. So there's a whole lot here we're going to learn. Let's look at some of the some of the styles. First, I'll go through them quickly. The first one is one of my favorites. It's the minimalist style. Again, sometimes less is better in the logo design world. And here's just a few examples of a French Bulldog. Very minimalist low poly look. Again, description will be in or the part of me the prompt will be in description. The second one is an abstract watercolor technique here. As you can see here, pretty cool looking. It's kind of a little less popular for logo designs because there's quite a bit going on in these as opposed to like clean, you know, short strokes. But hey, you know what? If someone, you know, owns a artistic company or maybe they're a painter, not a bad way to go. Vintage stamp style here. I'll put that prompt in the description below. It looks like it's out of the fifties. Pop art, Andy Warhol type look here. Really, really like this style. Nice and bold and lots of colors in it and lots of contrast. Here's a new style that I like. I just started using. It's the pixel art style. So you can design a retro style here. Here's a graffiti street art style that I really like. Yeah, I really like this one. Although maybe I would have preferred it if the bulldog was looking at the camera. Stained glass, pretty basic. But you know what?   If you ask me, here's one that I really like, a Cubist interpretation. Yeah, that's right. This is a French bulldog part of me using Cubist techniques. And yeah, it chops it up into geometric shapes and puts them into some sort of abstract composition. Again, the prompts will be in the description below. Here's an origami type look. I remember origami from when I was in grade school. Good stuff. Neon sign for those of you that like brighter looks and you want it to really pop out. The neon sign look and the psychedelic style. Both really, really cool styles here that I quite like. Here's one that I really enjoyed and I wasn't expecting it to be this good, but tribal art. In this one, we have a French bulldog using a tribal inspired pattern. And yeah, focus on bold and design elements, strong design elements. And I really like that style as well as this one. This one is a more simpler style. But again, you know what? Sometimes simpler is better, especially in the logo world. So this is a mosaic style. And if we keep going down a little further, this is some older stuff, some Art Nouveau style here. A futuristic style, although there might be a little bit too much going on in terms of, you know, like yellow paint dots, but you can always take those out. But I really enjoy that style here and then getting right down to the end here. This is a very basic chalkboard style, quite like that. This one's an etching, it's called. So again, all of the prompts are in the description below. So if you like as a particular style here, just click on it. This one I don't like too much, but I could see how this could work if you, you know, you get the eyes right for the French Bulldog. But again, you know, this was a silhouette design, but this one I really enjoyed. This one is fantastic. This is a patchwork design. Yeah, it's a patchwork of different fabrics, textures and patterns, creating a sense of depth and variety. Really enjoyed this style, highly recommend it. And the last one I want to show you, Glitch Art. Again, this one's pretty cool too. And this one here is a French Bulldog that appears to be distorted or corrupted by digital glitches. So there you go. These are all the prompts. Now, if you're wondering how the heck that I come up with these ideas, that's a great question. Watch this. It's all just chat GPT version four. I've got GPT four. And then I created a prompt generator, random AI art generator, prompt generator. And I gave it, I asked for 20 styles, and I actually got 30, but 20 of them were any good. 10 of them just didn't work for me, at least for the logo design. And if I want 10 more styles, I just go give me 10 more. And it will just go ahead and do it. And here they come. So I'm going to give you the prompt that I used in chat GPT as well. So it's given me one here, expressionist. All right, cool collage. Yeah, I'm sure they're great styles. Let's keep going. Let me show you how to vectorize any of these logos while I got you here. So this is the website vectorizer.ai. I'm just going to go into my finder. And I'm going to grab one of these. So I'm going to grab, which one did I like? I really liked this. Let's go with the glitch art. I'm just going to drag and drop it here. And you're going to notice that I didn't log into anything. I don't have an account here. This is a free tool that allows you to just vectorize anything for free. It's absolutely crazy. And once it's done playing fetch, yep, pun intended, I suppose. Once it's done this process, you can actually go ahead and download this for free. Watch this. Here you go. Left side is the original image. Right side is the vectorized image. Click on download. And when you click on it, yeah, I'm just going to go ahead and download it quickly. You can make some changes here to this, to the type. But again, it's all free. You'll see here that it says dot SVG, which means dot or means scalable vector graphics. So if I was to take this file and right click on it and open it in Adobe Illustrator, I guarantee that it will be vector art.  It's completely vectorized. And it's done an amazing job. This is an unbelievable, amazing free AI tool. So I'll leave links to all of this, including the prompts in the description below. Let me know if there's anything else you guys want to see. I'll be back soon.


Welcome to Access to Trader, the number one community for those who are committed to taking control of their trading in order to achieve success, profitability, and longevity. Thank you for joining us. Here's Dan Shapiro to help you find your edge, master your process, and own your future. Hey guys, good morning everybody. Welcome to another edition of the AccessToTrader.com weekend. In my wrap-up show, I hope everybody had a fantastic week of trading. You know, the more things change, the more things stay the same. You have the same hotbed of news, right? You have COVID cases, very, very aggressive now, especially in the West Coast and Florida, in Texas, right? Very, very aggressive. It's incredibly surprising that the tri-state area, especially in New York and New Jersey, that were literally one in two cases for the last four or five months, really flatline. And that's a really, really great, it's obviously a really great thing, especially considering we had all these significant people in the streets at the same time with all the protesting and all that stuff, 4th of July, everything. The fact that we're kind of like in this flatlining area is actually pretty good. And now what's going on in the rest of the country is a whole different thing. But again, the cases are getting aggressive. That's not stopping the economy. It looks like most of the things are opening up. Even Disney had its opening weekend despite enormous amounts of COVID cases in Florida. You know, again, the show must go on. You have the NBA starting soon. You have Major League Baseball starting soon. You know, obviously contingency plans. Schools are starting soon. I looked at the calendar. I can't believe it's ready in the middle of July. We've already had numerous conference calls with my kids' schools. Obviously, there is a plan and session for the fall to begin. But there's obviously the concern for the kids' safety, obviously everything else. But again, it's not stopping the market. The market is absolutely on fire. And when people say that, they are talking about the market, right? The overall market. If you look down and you really dig deep in what's going on in this incredibly aggressive, just completely irrational, right? I think most people would say that. If you look at that run of 2020, considering what we've been seeing now for four, five, almost six months of the economy pretty much on a standstill, if you really break down what's happening here, it's not really the market that is exploding. It's the NASDAQ that's exploding. Let me show you guys what I'm kind of talking about. If you look at, for the week, if you look at the week, the Dow Jones was up 1%. The S&P was up 1.8%, which is good. Phenomenal, showing a lot of incredible strength. But if you look at what's going on, the NASDAQ composite was up 4%. And obviously, when you look at the NASDAQ composite, and you see these runaway trains, Amazon, and Tesla, and Netflix, and Zoom, and it is obviously countless others. And if you look at what is happening in this whole euphoria is look at the other major indexes, right? If you look at, for example, the diamonds, the diamonds have not been exploding. Obviously, the market is way off its march lows. But if you look at, if you actually look and see what's happening, we're actually consolidating here for over a month in this really, really tight channel. If you look at the S&P, for example, and look at the spies, you kind of have the same thing. We've been kind of consolidating this channel now for a very, very long time. And if you look at the Russell, the Russell's actually underperformed all the other indexes. And again, if you think about, especially retail and speculation money flow, the idea that, again, of course, it held the bottom of the range here and looks like it wants to bounce back up. But again, you could see how aggressive this channel is. And if you go back into the NASDAQ 100, the NASDAQ composite, the Qs, you could see how where the money flow is actually going. And I started thinking about a couple of days ago, the safety precautions. As traders, we always want to think about safety first, because again, this was exactly what was going on during the dot-com craze. And again, I would be the first one to admit, number one, I didn't know what the hell I was doing. Number two, I got very, very lucky. I think everybody who traded has started trading that then. I think if you believe, if you deceive yourself, you actually thought you knew what you were doing to make you money compared to what you actually skill set, you didn't. At least I acknowledge that. I got very, very lucky. I was in the right place, right time in the right market and it really bought me some time to kind of figure this thing out. But we thought at that juncture, this was never going to end. Never, never going to end. This was going to be our careers. We stumbled onto this amazing thing called trading in the stock market and it was going to be amazing. It was literally going to be powerball every single day. We have no worries. And then one day it stopped. And again, I'm not recording this video to turn around and say, well, you have to be careful. I think at this juncture, people are smarter, right? People, you know, obviously there will be a lot of people who eventually will get caught on a back test and they won't realize it's happening. But I do believe a lot of people, whenever this gravy train ends, and again, maybe this gravy train ends Monday, maybe this gravy train ends in 2026. Okay, we don't know. I think the fact that I stopped thinking, being cautious is one thing. Stop thinking, trying to predict the future is another thing. But I think a lot of people have learned their lessons, especially for those who did start out trading back in 99-2000 area. We figured out a long time ago that this is eventually going to end. So we start trading with a lot more precaution. Again, as you get older, you do get wiser. Maybe not me.  But normal people, they get smarter. They start avoiding the same mistakes that others made, or they made, you know, in their past. And now, going into Monday's session, you have to start asking yourself where the value is, right? Like, where is the absolute value? Of course, you want to take advantage of the market. The market is ridiculously hot right now. It's been hot now since one, since April, right? Since it was April from a 20% rise from the lows. So the market's been hot. So there's nobody's going to turn around and say, you know what, we just have to start shorting stocks. Eventually they'll come in and we'll be right. No, of course, there's days I turn around and have an opinion. I say, look, I am sell bias for the day, but I'm waiting for confirmation. If I'm wrong that day, I'm wrong that day. If I'm right, I'm right. At least I'm prepared. But I think going forward, and we started talking about this last Thursday, right? Last Thursday that eventually stocks that are really overextended, they're going to be the ones that get hit. And if you look at the market this week, the days that the market pulled, and again, the word pull maybe is very, very subjective. But if you look at, like for example, if you look at Amazon, and you look at the 60 minute view on Amazon, throughout the week, just kind of throughout the week, not kind of where it wound up. But if you look throughout the week, the biggest polls were for names that had the biggest runs. So if you see this, you know, this is a pull here from 29.55 to 28.70. Again, this is 80.90 points. If you look at the pull here, it's from 30.71 all the way down to 29.90. Again, this is an 80 point pull. Even here, for example, from 31.30 all the way down to 30.70. Again, that's 60.70 points. Netflix, exactly the same thing, right? And again, these are monster, monster runs. But again, if you look throughout the week, you can see how big the polls actually were. And again, from here, for example, 492 to 475. That's big, right? Look at this candle here. 504 all the way down to 491. I mean, you can see these polls. 510 all the way down to 496. And again, any signs of weakness, these are the ones that are getting hit first. So for example, 555 all the way down to 541. My point is when the longer a stock is above its breakout level, you are in orbit. Somebody asked me on Twitter the other day, so since Amazon and Netflix and Tesla, for example, have broken out, where is the next supply? How do you justify the next supply zone? And the first I was chuckling in my said, I said, as God, how am I supposed to know, right? But there's actually an answer to that. Again, when stocks are in orbit, and there's an exorbitant amount of speculation money and the new trader's FOMO is at all time highs, there is no rationale behind how high the stocks are going. I'll show you, I'll actually tell you a very, very funny story on Tesla for Friday. But the way to combat any type of possible aggressive reversal is try to avoid, especially on the swing side, try to avoid the names that have broken out two, three, four weeks ago. Those would be the ones that instantaneously you're going to lose $7, $8, especially if you're trading on the equity side. At least max pain you already know from the option side. But the further away a stock is away from its breakout point, the more aggressive the pull, the more aggressive gravity is. For example, I want to show you guys a couple of examples here. I want to show you guys a couple of examples here. Netflix broke out here.  Netflix broke out above here. You're talking about 474. The breakout was not here and here and here and here. The stock broke out at 474. The stock right now is at 550. You're talking about literally 70, 80 points above the breakout level. Compared to a stock, for example, like Roku, that broke out this week above this 136 area. If you guys remember when Roku broke out this week, that was when they pulled the market that first day. That's when Amazon went down like 70, 80 points and Netflix went down like 26 points. This is in a matter of minutes. Roku was sitting within a dollar range just because the stock was at a technical area. The further away a stock is in a market that's gone linear, those are the names that are going to get pulled first. So even if you are wrong on your entry on a stock that is just about to break out or broken out literally at the point of the pull, there's going to be the benefit of the doubt from the technical point of view from buyers and sellers because they at least acknowledge that a stock like Roku, for example, I forget about this whole move here and this was a fantastic trade this whole week, but at least they recognize there's a technical area that needs to be observed here instead of an area that people are fighting 25, 30, 40 points higher. It's a very, very important part of our lives right now because everything, literally everything is in orbit. You look at Zoom, it's in orbit. You look at Tesla, it's beyond orbit. I think now Elon Musk as a Friday has a higher net worth of Warren Buffett. This is like in five days. Tesla is in orbit. Amazon deserves to be in orbit, right? But again, the stock has gone literally just in the last couple of weeks from 2600 to 30, you're talking about a 600 point move. Again, Tesla looks at that and says, hold my beer, but again, it's a whole different story. But my point is, look at these stocks are just really, really going nuts. Amazon, Netflix, Netflix has gone insane, just absolutely insane. So our job right now is traders. Again, we want to take advantage and still continue to take advantage of the hot market and you definitely want to press the foot on the gas, continue to press the foot on the gas, but at some point you have to turn around and say, look, I have to leave Netflix alone. At least on the front side. I have to leave Amazon alone. I have to leave Tesla alone. I traded Tesla maybe twice this week or three times, excuse me. I traded it twice to the long side, excuse me, twice to the short side and once to the long side. And I did okay with it, but the point is the value on Tesla is gone. It's absolutely gone. This is beyond even to the point of comprehension of what the stock is doing. Again, if you're catching moves on these things, that's great, but again, the value. We're only talking about the value from the safety point and the value point, that is gone. Netflix is gone, Amazon is gone, again, Zoom, you can catch some moves here and there. But the point is right now, you have to really work harder to really try to capture the same type of alpha and still try to avoid the musical chair game. Because again, I think everybody acknowledges eventually this is going to stop and eventually, talk about value, eventually all these stocks that have these massive, massive moves, the next tier of value on Amazon, Tesla, on a Netflix, on most of these stocks is going to be the backside. Everybody knows this. Nobody ever acknowledged that the backside would ever even exist during .com.  These stocks are going to go up forever until they didn't. So the next value play for the next foreseeable future, and again, we don't know when that foreseeable future is going to be. It's not going to be a one-day event. One rug pull doesn't mean a backside. One rug pull just means one rug pull, and that's not an environment. But again, you have to figure the next value for these stocks are going to be to the downside. If you thought the run-up was big, eventually when the backside stops and the buyers get tired, you'll see very, very quickly. There is a notable volume shrinkage and contraction to the upside and expansion to the downside over and over and over again. You get that rolling top. Eventually, the backside will be a monstrous opportunity. I think, and everybody agrees this, I think the biggest bulls on Wall Street will acknowledge this. David Tepper said three months ago he wouldn't be buying stocks. Look at the market now. This is three months ago. These are the biggest bulls you could possibly find. So the moral of the story is now we have to do our job to try to find the better value for names that either rallied and going through distribution mode or second and third tier stocks that did not rally, or even had a sell-off that are starting to peak their heads up. And again, maybe you might not get the Netflix move. Maybe you won't get the Tesla move. Maybe you won't get the Amazon move. But at least you are putting yourself in a situation to accomplish a couple of things.  And from a safety point of view, if you are participating in maybe second and third tier stocks, not second and third tier setups, second and third tier stocks, that maybe you might not get the Tesla move, but you will get a move. And that's the most important part. You will get a move, you'll still participate. And if there is a rug pull, and again I'm always keeping one eye open for a possible aggressive pull. Because again, the market is not going to show and say, hey, it's about to happen. It's just going to do it. You still have the safety in place. And as I always say, you want to always lead with your shield, not your chin. Just a more prudent way, feasible way, adult-like way to kind of navigating the markets. And if you look at the value of last week, and it was a very, very good week. But if you look at the value, my value started coming up from really from Thursday. And I started looking at names. I really stopped looking at Netflix. I started looking at Zoom. Zoom was a beast. Zoom was an absolute beast. I caught moves on both days. Just phenomenal. We actually even talked about on Thursday's video into Friday's session that if Roku opened up red and tested rising support, it was a gift. It was an absolute gift. And I was like, I'm going to move. And obviously everybody saw what happened with Roku. So our job right now is to really start looking at names that maybe we wouldn't trade. And you start looking at names like this. For example, like a space. Not that space is the end-all be-all. Not that this is something that I would be putting on my focal point. But you kind of get the idea of, look, the stock has been going sideways now for like two and a half, three months. We saw a really, really aggressive option flow this week. On the 20s, the 22s, the 24 dollar calls. And again, this is a great point that I'm trying to illustrate going into this week. This was a value play. It broke above the 17 area. Closed above its first supply. Put an initial high of 20. And now it's starting to build the base above its initial supply zone that it finally took out. So again, if it starts confirming the channel, again, maybe you don't have a move to 44. Maybe you do. I don't know. In this crazy market, maybe you do. But at least you have all the recipe for success. You have a stock that reclaims supply. You have aggressive option flow. And again, if you've been watching, especially the beta market, you see what happens when there's aggressive option flow. We're watching three weeks of option flow in Amazon. Two, 300 points out of the money. And then it went. We started watching two, three weeks of Tesla aggressive option flow out of the money. And then it really, really went. And that's the formula.  It was a Monday or Tuesday. Big option flow. I started buying this thing under 36. You had big option flow. They were coming for the 40, 41, 42s. And finally, four or five days later, again, I sold my last runner at 39, which was fine. Obviously the stock went high. But again, it's the same recipe for success. So you start to start looking at names like maybe space, right? Maybe consolidation finally takes out the top of the channel. Maybe it gives you a three, four day run. You start maybe looking at names like maybe not, you know, maybe not a name like NVIDIA that had a really, really long run, but you start maybe looking at the step sister, maybe start looking at maximum, right? Weekly view on maximum. If maximum starts taking off again, are you going to get the 12, 15, 20, 30, 80 point move on in the video? No, but you still might get two, three, four, five dollars a share. Again, raise your hand if you're going to deny yourself a two, three, four dollars. Again, me either. You know, maybe some speculation names that I found this weekend. Maybe a name like NETE, right? Maybe NETE. You can see this is the weekly view how close it is from breaking out. Maybe a name like RVLV. Again, maybe these names I'm not really, you know, comfortable with. Maybe these are not my prime watches. But again, you can see that these, at least these stocks are trying to come out of a channel, a downward channel. You're getting good money flow. You're getting higher lows. You're starting to look at weekly distribution where they could confirm. And again, that's where the value is. Again, from maybe the beta side, you know, Boeing got absolutely destroyed this week despite really, really aggressive option flow to the upside. The 190s, 195s, 200s, they all expired worthless. Again, the stock got really, really hit. I know a lot of guys did very, very well to the short side. But now it's kind of waking up a little bit, right? And you see this whole channel here. And again, maybe it gets there and confirms, maybe it doesn't. But at least I would rather take my shots on Boeing above this channel here for a possible move to here than by Tesla. And again, you could joke around here, it's going to 2000 on Monday. Maybe it goes to 3000 on Monday, right? But I'd rather take my shot coming back from a bottom range with $7, $8, $9 of upside potential, measured potential than by, you know, Tesla that's, you know, 550 points away from the 1020 breakout from, you know, six days ago.  And oh, by the way, 3000 other things that traders go through. But again, at some point you have to use common sense, you know, maybe start looking at names that had big runs of beta names and just kind of, you know, kind of resting, you know, maybe a shop, right? You know, maybe a shop that's distributing for now five, six days, maybe a name like Facebook that again, maybe hasn't gone to orbit is going through distribution now for four or five days. So there's definitely still things there. Okay, there's absolutely things there that you could definitely take advantage of. But you have to kind of, you know, turn off that FOMO, okay? Even a name, you know, to the downside, you know, like a workhorse, right? That had this big, big run here. You can see it stopped here perfectly, double bottom here. Again, you look at the week and you say to yourself, well, if it takes out this double bottom, well, why can't it go to 11, right? Again, it's, again, it's gravity. Again, this is my point. You know, workhorse broke out here, okay? It didn't break out here or here or here. This is FOMO. This is like what the rest of the market is resembling now. So now, again, here's a perfect example of somebody who bought the stock at 23. And now it's at 14 and you turn around and say, well, the stock is going to come back. Well, why? Why do you think it's going to come back? Are you trying to convince me? It's going to come back. Are you trying to convince yourself? The moral of the story is gravity is real. And the last thing you want to do is keep pushing on the stocks that are in orbit. And there's, you know, your safety net is not here. Your safety net is here, here and here and here. So the further a stock is from its macro breakout levels, the higher probability that is going to be the one that's going to crash first. So the value this week is, of course, I'm still giving the bulls the benefit of the doubt. I'm just going to be a lot more prudent with the names that I am watching for the stocks that had really, really aggressive moves, the high fliers. Again, the value, at least for me going into this week, is to the downside. Okay, I'm not saying that they're going to go down. I'm just saying for me that I'm going to wait patiently for confirmation to the downside because that is your highest probability of an average true range expansion because think about it, if Tesla ran up 5,600 points and it starts cracking on a 60 minute interval, why can't it go down 100 points of the day? Right? So again, that's where my value is, but obviously I will be looking for more value plays to the upside. Funny story on Tesla. Really, really funny story on Tesla. So I had a really good week. Friday I caught Roku very well. We'll talk about we'll talk about the individual pivots in a second. So we knew this 1429 level was kind of going to be a big deal. We knew at least going forward and I said to myself, when this thing finally takes out that 429 and we're still literally in this euphoric state of mind, Tesla is going to run again. And I went downstairs to lunch and I was watching the stock and it started to waking up. 1422 1423 1424. The night before we ordered food from one of my favorite Italian restaurants. And we ordered a pie regular cheese pizza and then I ordered some heroes. I ordered a meatball parm. I ordered a chicken parm.  So I was very, very excited. So I went down to lunch. I was exhausted.  It's 1425. Maybe you should go upstairs, Dan. Go upstairs. Take the Tesla trade. Go upstairs. And then I realized my meatball parmesan hero was being heated up. So I said to myself, Tesla 430, meatball parm. Tesla 430, meatball parm. Yada, yada, yada.   There's definitely priorities in life.  So the moral of the story is I'm fat.   So I know a lot of you guys caught this trade. Unfortunately, it was not one of them. But again, priorities in life. So let's talk about Friday's session. You know, very, very aggressive session as well. Just again, a good market. I mean, a really, really good market here. I actually talked about this in the video the prior night. The value right now isn't in the stocks that have made huge moves recently, like in Amazon, the video, Netflix and so. It's in the other names. So we have to watch. And again, we talked about the previous night. We discussed the value is the concept, subjective technical analysis and rise to support. So I talked about Friday night into Thursday into Friday session. Again, any open week open on Roku is going to be an absolute gift. Red to green, this thing is going to explode. That's exactly what Roku did. We talked about this right here. Red to green on watch. Note this is not a pivot. 150 needs to confirm. I got long to 150. And this thing just absolutely went just one nuts. Here was Roku. Here's Roku. Here's the 150. And just one nuts. Put up a $9 candle on top of the 136 break that I got long on excuse me. I bought it. I missed the 136. I got long 137 on a second entry the day before that had a monster monster move as well. And when I'm starting to really, really love about Roku is it's almost at the stages of how Netflix and Tesla were the combination. It's almost like a hybrid. The combination of speed and power and it's very, very few names that are like that. But this is definitely what I mean. Speed by empowers average to range expansion with massive liquidity. So I really, really love that as well. AMD had a lot of coal buying the previous day. And again, this is where we talk about guys. This is where you have to eliminate your FOMO second entries. You have to use second entry. So AMD breaks of 58 goes to like 5815. It puts an initial high. You have to let it retrace and then take out the initial highs. That's what the second entry is. You cannot have FOMO the stock is not going to go from 58 to 75. This is not Tesla. Okay, so you have to have you have to have the ability to sit on your hands and wait for that second confirmation that second entry that's the whole point of the PS 60 theory. The first move on the previous pivot is just an area that those are stops being triggered. You have to have the responsible foresight to wait for that second entry. Let it take out the pivot. Let it put in a new high. Let it retrace. And once it goes to that new high, that is the second entry. That's the name of the game. Roku wrote excuse me space. I really liked space. I know a lot of you guys bought the dip on space into rising 60 minutes support. It failed again at the $20 level. This is a big spot for space going forward. So definitely keep an eye on that shop. Obviously never got there. And again, this is where we started talking about here. You know Tesla 1410 needs to build. And obviously I mean Tesla stopped. Initially it stopped at the 1417 level. Okay, so went from 1410 to 1417. But that's what once it got above the 429. This is with the big macro level. Really obviously see what really happened there. Amazon 3200 needs to build again experienced traders only the reason why again I say that is because these stocks have been incredibly strong. They could get pulled at any time. So it took out 3200 and right to supply here at $3215. Again, raise your hand $15 is a bad move. Right. So that was that as well. Roku again, a perfect move as well. Boeing to the upside. This is a nice move to the upside. And this is where I think the first part of this is where the first part of the reversal has happened in Boeing. 175-20 needs to build for a spike. So here is Boeing, right? So here is the 175-20. It went right to supply here in this 176 and change area. What I like about it, what I'm seeing is it didn't go down. It didn't go down after it hit supply. It's just kind of going sideways. That's why I kind of like Boeing this week. Especially if it starts taking out the 60-minute supply. So a nice looking setup for Monday as well. And this is kind of my first point. 1410 it's stalling out around. I said at 1417 it's stalling out here.  This is a big area here. Once obviously reclaimed 17. That's when the stock really took off. Boeing again take on the way on. Second entries are amazing. If you guys remember Boeing, it took out 75-20. And this is what I mean by second entries. It took out 75-20. Put it in a new high. Put a new high of 75-50. Retraced. And once it got right back through the 75-50 second entry, that's when the stock really, really exploded. So again, you have to work on you have to work on the ability to staying disciplined and waiting for the second entries.  You're really going to need to understand that. So more of the story is guys, very, very good trading action continues. I'm definitely bullish a lot of names. Okay. But again, not the typical names that I trade every single week. Of course I'll be trading these stocks. I think it's much more important to kind of wait for the back side to begin. Other names again, the Facebooks, the Google's, the shops, Roku I still like. Those are the names you still have value. Okay. And everything else you have to kind of just wait for a good solid confirmation. Guys, have a blessed week. If you are joining us this week via the live webinar or on the Twitter feed please arrive at morning strategy at 9 o'clock Eastern time and with God's help have an awesome, awesome Sunday. And I'll see you all tomorrow. Take care, guys. Congratulations for putting in the time to take control of your trading. You're one step closer to owning your future and achieving the success you desire. Want daily trade ideas directly from Dan? Straight off his personal watch list? Unlock our free PS 60 vault where you'll get nightly updates on pivot opportunities we're watching for the next day's session. Click the link in the description to get started today.


Electronic or scriptless trading, sometimes called e-trading or paperless trading is a method of trading securities such as stocks, and bonds for an exchange or financial derivatives electronically. Information technology is used to bring together buyers and sellers through an electronic trading platform and network to create virtual marketplaces. They can include various exchange-based systems, such as NASDAQ, Nicaragua and Globax, as well as other types of trading platforms, such as electronic communication networks ECN's alternative trading systems, crossing networks and dark pools. Electronic trading is rapidly replacing human trading in global securities markets. Electronic trading is in contrast to older-floor trading and phone trading and has a number of advantages, but glitches and canceled trades do still occur. Trading in the financial markets can broadly be split into two groups. Business-to-business B2B trading, often conducted on exchanges, where large investment banks and brokers trade directly with one another, transacting large amounts of securities, and business-to-consumer B2C trading, where retail EG individuals buying and selling relatively small amounts of stocks and shares and institutional clients e.g. hedge funds, fund managers or insurance companies, trading far larger amounts of securities by and sell from brokers or dealers to act as middlemen between the clients and the B2B markets. While the majority of retail trading in the United States happens over the Intervenet, retail trading volumes are dwarfed by institutional, inter-dealer and exchange trading. However, in developing economies, especially in Asia, retail trading constitutes a significant portion of overall trading volume. For instruments which are not exchange-traded e.g. U.S. Treasury bonds the inter-dealer market substitutes for the exchange, this is where dealers trade directly with one another or through inter-dealer brokers i.e. companies like GFI Group, ICAP and BGC Partners. They acted as middlemen between dealers such as investment banks. This type of trading traditionally took place over the phone but brokers moved to offering electronic trading services instead.


All right. Andrew says, hey, John and Dave, I almost got caught and have a solution. I was filing away some text documents and PDFs from my desktop into subfolders there created for such things like that on my startup drive. However, I run a clone of my startup drive to an external SSD using carbon copy cloner every day and being a good Mac, my machine automatically indexes the external SSD. I then use spotlight to find the folders I was looking for instead of first navigating to the folder directly. That's why I got caught. Spotlight found the folder on my cloned external SSD. I then copied the files over to it, which is no bueno because the next day those files would have been deleted because they were not on the source volume anymore. The tip off is as easy to fix this problem. Open system preferences, spotlight, choose the privacy tab and include any clone drives or other drives that might cause this issue. Of course, you won't be able to use spotlight to search those volumes, but that's fine in this case. I suppose I could have used CCC safety net feature, but that is just a fail safe and I prefer not to. Here's how you can avoid this.  So I find telling, so what I do on both my machines is as soon as carbon copy cloner is done, I go to, they have a post flight section. So I go to post flight, destination volume, unmount the destination volume. So it'll kick the drive out as soon as it's done. I will say this, I agree with you 100% and I have carbon copy cloner ejected, but I also wanted ejected before carbon copy cloner runs the first time after reboot and my drives always want them out at boot up. So I wrote a little apple script. So the apple script is four lines. It is delay and then 15. So I do a 15 second delay just so, you know, the other things can like settle and then the script runs.  And then it's do shell script. And the shell script is a disc util unmount command.