I think everyone can hear me correctly. I guess so, okay. Great, my name is Nicala, and I'm going to talk to you about LTTNG and containers. I'm the software developer at ATC Sales, we're the company behind the LTTNG project, so I'm the developer of this open source project. My background is in the system administration, but also in development, and I do mostly CI working, and so on. And I maintain the LTTNG packages in the network. So first, what's LTTNG? Well, it's a suite of tools, mostly a kernel tracer, which I hope some of you are familiar with, and also a user-based tracer. Also, other parts of the project are the tracing platform app, which is called CTF, the common tracer platform app, which is used by all of the LTTNG tools, and also by other tools, like JDB, for example, with its trace, and well, if it's used in JDB, you can do also tracing it the same format. And also the LTTNG project, the LTTNG project has a single kind of line tool, which is used to drive both the user-based and kernel tracer, and it's also a security that can be used in other applications and used through bindings, through Python, and other languages. And there's also a common line trace viewer, which is basically reads the binary trace formats and convert it to human-readable text. And also multiple graphical interface, the user interface, viewers like TraceCompass and LTTNG Scope, which gives you the ability to go from tracers, export them, run some analysis on them, do some graphs and other stuff. And then why would you use LTTNG? Well, I won't try to explain why you should do that tracer, but I'll try to tell you why you should choose LTTNG if you're looking for a tracer. It's very low overhead. It's been built to be used in on-politician system and it is today used on-politician system by multiple companies. And unlike some more traditional lagging frameworks, which are comparable to tracing in some use cases, it can be enabled and disabled at one time, so you don't need to restart or reconfigure your system. You can actually trace in, and start it whenever you want without affecting the rest of the workload. And also there's a lot of flexibility in how you would store your traces, so the traces can be, the default mode will be to store them on disk, but also if you have like this system or systems with a little storage, the traces can be streamed over the network. They can also be written to memory in buffers and on these snapshots when you need to get the actual data, so the system can be running a long while without using any storage in them, just when you need to be actual trace, you can extract it from memory. And then for the container part, well, what is the Linux container? I'm sure probably most of you want to surprise to know that there's no actual concept of a container inside of an external, it's multiple subsystems like C-rubes and the same spaces that are combined to make different third-party implementations like Docker, Rocket, LHD and many others. So supporting all this in a kernel tracer can be a bit complex since they use different ways of, well, each container technology has its own way of using those features. So the least common denominator in here is the main spaces, so that's what we chose to use as a first implementation of how we can integrate with containers and LHDMG. So what's the current status? What can you do today without LHDMG on a container host? So the kernel tracer can be used on the host, needs kernel modules to be loaded, but there's no way to filter events per container, so you get, like, syscalls and all kinds of events, but you cannot really easily match them to a specific container. And then for the user space tracer, it can be run inside the host, but it can also be run inside a container. You just need to run two instances, like one instance per container. But again, there's no information that would be, or you would be able to correlate like a trace from the host side with the trace from the user space inside a container right now. So how can you fix that today? Well, we have currently some patches where we have the support for main space context. So what is the context? In LHDMG, a context is basically metadata that you can attach to each event in the kernel. So for example, existing context are TI, for example. So when you get a syscall, you would add metadata to it to say which TI this syscall was issued from. And so we've added support for main spaces. So basically you can now, when you get a kernel event, you can add, for example, the TI name space to it and then you'll know in which TI name space the process that called this syscall was. And also we have another feature that is called state dump. It's basically when you start tracing, state dump events will be issued that will basically give you a current state of the system. So another thing that we need to add is like a dump of the current name spaces that are on the system for, or the tree of main spaces for each process. So those patches are currently not upstream, they're feature branches. For example, here I have the text view of a kernel event for a syscall, the GitLang of a syscall. So with these patches added with the main spaces I just talked about. So we can see, for example, in green, we have the pit ns, which is basically the I node number of the name space in the process then because that's the only unique ID we can get in the kernel to differentiate one name space from another. And then we can see other useful name spaces which are the TI and VTIG. Basically the TIG is the unique ID of a process inside the kernel, so like this trade ID in the root name space of the kernel. And then the VTIG, which in this case is one, is the process ID as seen inside the container, inside the root name space of the container. So in this example, we can see that the process is called RIDIS server, and it's VTIG is one. So we can extrapolate from that that we're running inside an application container and that RIDIS is running as the ended process. So an application container that doesn't use an end process. So in this case it would be a RIDIS server about your container. And then the state dump. So this state dump would give us initial state about each process of our running inside containers. So for example, here we have the system D process and we can see that it's, sorry, we can see that it's TIG is 1527. So that's the, that's the static kernel. And then we get two TIG NS state dump event. So we can see that the namespaces are nested. So we see a, the first event has a level of one. So this is the namespace, that the namespace of the container and then the other one has a namespace level of zero. So that's the host root namespecodes. And we can see that the TIG never changes between those because it's a unique ID, but we can see that the VT ID as will change. So in the NS level one, it's the VT ID of one and in the kernel side 1527. So with this information, and we do the same thing for the user space tracer. Just call this thing.  So we can start a tracing session and say, oh, I just want to trace this as call that comes from this container. But right now it's not very integrated because we need to know what is the TIG namespace. I know number of our container to filter it. So I don't know if you can see, but we can, with Docker inspect, we can get the TIG from the process. And then with LSNS, we can get the number of the namespace. And then using this information, we can create another TNG session that will filter this. And the resulting trace will only come thanks to calls that come from process in this container. So we're starting to get somewhere. But then it would be nice to be able to use container names, for example, instead of having to get the actual number. So to do this, we need a way to map kernel IDs to human readable names. So right now the easiest solution we found was to use a small, well, basically a shell script based on what I've shown you before that will iterate over all containers. So you need to write a helper for each kind of containers you're running in your system that will basically dump this information inside a user space trace that can then become combined with a kernel trace and then run through some analysis script, for example. And here we see that I wrote a basic implementation that outputs events. And you can see that we just get container name and the container type and it's the DNS that we can use to correlate with the events we saw before. And with all this, you can use analysis tools that we already have, which are called LTDNG analysis, which are basically kernel based, there are analysis based on kernel traces. So for example, in this slide, it's probably not very readable, but this is a CPU type analysis. So it will take kernel trace and input and it will do a graph of CPU usage per process. But I've modified those and you can maybe see it at the, down on the slide where there's a bit of color that you can also now see CPU users by container and you can see the container name, it's ID and it's type. So there's already a lot of those analysis that were provided by LTDNG analysis project and they could all be adapted to the container where. And because of the analysis here, it's a memory allocator analysis based on page allocation, page three trace points in the kernel. So you could usually filter it on some pension, but now you can have container filter and see which containers that are on your system are giving page allocation and page allocation. And so with those tools, a complete scenario would be to run a kernel and user space tracer on the else. So you can get kernel traces and get the state dump or the name resolution from the container run times. And then for the containers where you're running applications that you could instrument with the kernel, sorry, the user space tracer, you could also run one LTDNG and it's in each of those containers. The version could be completely different from the OS system. So for example, if your OS is running an older version of Linux with a different kernel way, you don't have to have the same version. So it's inside the container and outside of it. So for deployment bits, it's easier. And then you could stream those also out of those traces too and really even also over the network and run some analysis offline to get the information you're looking for. So and what next? So all the things I've shown you are not yet upstream. So we're working on merging this maybe for the next release, but we're not sure yet. Another thing that someone else is working on is adding the same kind of things for context and speed up for C group values. So that's being worked on and should maybe land in the following months. And longer-term improvement would be to instrument container runtime so that we could get events about the lifetime of containers. So get events when the container is created, when configuration is changed and all interesting information that would also be integrated into the existing analysis tool to get you a better view of what's happening in the system. And also add better integration with the existing command line tools. So for example, instead of having to type a big filter, you could just like use the health community filter dash dash my container container name and that even would resolve the container name based on what's installed in the system and so on and so on. So having tighter integration between the command line tools and the different container run times. But what we're most interested in is what do you need. So I would very like to hear about you guys what you are interested in, what your needs are, what are your use cases. And finally, do you have any questions? Okay, I've got two quick questions in the morning. Do you have more questions? Yeah. First question, what do you do with nested opinion space? Nested opinion space. Yes, well, in the state dumps, we get nested events so we can resolve, know what's the chain of. I'm sorry? You just put it on the top level right now. Yes, yes. So this simple example, yes, but we have the information about the hierarchy of the data in space and also the user in space, I think, which are obviously hierarchical. Okay, the second question is about, did you see the insurance decision around the audit container name that's going on? I think, yeah. I've heard about it, but it didn't seem to be major enough yet to be something that's used. That's fair enough. I mean, eventually we should have some kind of way of tagging containers in the commands. I'm assuming we're gonna be using that at that point. Yeah, well, but it's tagging so it will probably be different for each container on time, but yes, that's information that could be more easily, instead of having to use both the kernel and the space tracer, we can use only the kernel tracer to get this information. Other questions? Yes. So the test process, is it feasible to do that? Maybe the analysis will be using another tracer, for example, if it will be helpful. To use the analysis? Yeah, to do the analysis, using other tracer. I didn't get the outfitted of the technology to do, to work with condensers. Well, I'm not sure. Well, if you can... Maybe the same thing, using just QADPF tracers. Or any of the other tracers. Well, if you can convert your tracers to the CTF format, then you might be able to run the analysis, but that would imply that the event names and so on are all the same, as for the LTNG, so it might be a bit complicated. Apologies about this, but what would be the point of running both the user space tracer and your container, and also the host space tracer? Because we want to maintain isolation between the host and the containers. So, and in between each container, so basically having, if you run, well, you could technically run the user space tracer on the host and have it trace process inside a container. But, well, first, a couple of simple patches would need to be applied as there's expectations that are going to be not met, but basically by fine mounting a directory with the proper sockets inside of your container. I mean, it works, but the goal right now is to not break isolation, so it's totally doable to run a user space tracer inside the container. Also, for deployment purposes, if you have like different distros in different containers with different libraries, it could get very messed up, so it's a lot easier to just have one user space tracer per container. But, like, there's no technical, there's nothing that would prevent it in the end to do the one tracer inside of us. Other questions? Oh, like, use cases? I'm not sure. All right, thank you. Thank you.


Hey Psyched Goers, welcome back to another video. Have you ever met a new classmate who was so charismatic that they were instantly likable? Or encountered someone who drew everyone to them with their magnetic presence? While there are certainly some qualities and character traits that can get you far in life, like intelligence, integrity, determination, and perseverance, charisma is arguably one of the most important but most difficult to achieve. Charisma is defined as a special quality some people possess that allows them to relate to and inspire others on a deep emotional level. And to a lot of us, charisma seems to be something elusive, intangible, and innate. Charismatic people are natural born leaders who effortlessly command the attention of everyone in the room. They're very confident, charming, inspiring, and easy to be around. That's not something you can just fake. Psychology, however, argues that charisma isn't as intrinsic or predetermined as it might seem. It's now thought that we can attribute, build, and cultivate charisma within ourselves over time. So here are six tried and true ways that you can be the most magnetic person in the room. Number one, set a playful tone. First impressions do matter. While it's true that first impressions aren't always accurate, and the way you feel or perceive someone can change over time, first impressions do hold a much more meaningful and lasting impact than you might realize. If you want to be charismatic, it's best to set a playful tone with people you first meet. Come in with lots of energy and get the ball rolling right away. Don't make the mistake of letting your nerves show by keeping your voice quiet and making the gestures small. Make a point to be more noticeable, outgoing, friendly, and warm. Then you'll be surprised how much easier it'll be to connect with people.  Number two, tell people some good stories. Whether it's at a party or a presentation, it's always good to have a few interesting stories and funny anecdotes up your sleeve. Making your audience laugh will really captivate their attention. And if you're able to move them with your masterful storytelling, then you'll have no problem attracting a flock of people around you at every social gathering. Be confident in your delivery. Keep your story short and focused. Tell it in the present tense and use a lot of animated gestures. Don't be afraid to pause for effect and use a variety of voices to make it more interesting. Number three, think on your feet. Aside from being confident and charismatic, another quality that really draws people in and makes you seem more fun to be around is if you have a witty and quick thinking sense of humor. People who know how to think on their feet are easily perceived as being more likable, clever and alluring. So stay sharp in your conversations with others. You don't even need to be smart or explicitly funny to pull this off. All you really need to do is think fast and act quickly every time you see an opening. Be it for a tasteful joke or an interesting story. Banter with people to make them feel more engaged in your interactions too. This will instantly make your conversations seem much more lively and thoughtful than if you just react and not along to everything everyone else is saying. Number four, say what you feel. Charismatic people tend to be very open and honest about their thoughts and feelings, which is what makes them so easy to trust. So if you're talking to someone you want to impress or befriend, don't make the mistake of lying to them or pretending to seem more agreeable or impressive. Instead, say what you feel. And this will make you seem more genuine and easy to talk to you. But of course, it's also important to be mindful of the other person's feelings. So be honest but polite when you give your opinion on something.  Number five, smile with your eyes. In counseling psychology, there is what is known as the soften technique. And it's something counselors and therapists alike use to make people more comfortable in their presence. It's all about using your body language to your advantage and it stands for smile, open posture, forward lean, take notes, eye contact and nod. Using any one of these nonverbal cues or better yet, all of them together will really make people feel more at ease when talking to you, especially if you smile with your eyes. Smiling with your eyes not only prompts people to smile at you in return, but it also makes you seem more genuine and empathetic to others. And number six, be a likeable listener. Finally, but perhaps most importantly, being a likeable listener is really key to seeming more likeable, magnetic and charismatic to those around you. People love talking about themselves, so be sure to encourage that. Make someone feel heard and valued by asking them open-ended talk about themselves questions. Do elicit a more thoughtful response from them? You can ask them things like, why, what does it mean, what was it like? This works especially well if you can find something that the other person is passionate about because it makes them excited to answer your questions and wanna talk to you more. So what about you? Do you see yourself as someone magnetic and charismatic or do you still think you might yet need to cultivate these skills? Let us know in the comments below. As long as you remember these nifty tips and tricks, your skill set should grow over time. Using these tips is how you become the kind of person that others wanna be around. Please like and share this video if it helped you and you think it could help someone else too. The studies and references used are listed in the description below. Don't forget to hit the subscribe button for more Psych2Go videos and thank you for watching. We'll see you next time.


When treating a two millimeter lesion, every pixel of what I'm treating matters. At the PMC loss and cancer center, our true beam linear accelerator allows even the smallest areas to be precisely targeted. Our purpose is saving lives. On Friday, December 23rd, temperatures are expected to drop well below freezing in only a matter of hours. This will lead to flash freezing alongside the heavy snowfall. Pike County Emergency Management Director Neid Jackson urges everyone to stay home on Friday morning, if possible, saying travel plans during the holidays should be limited. We're going to see rain tomorrow afternoon through tomorrow night. High probability of rain with the temperature transition in the 330 to 4am range dropping down to about 32 degrees. And we all know that you're getting at 32 degrees range after having so much moisture. What we're going to look at there is the potential for freezing to occur at the 32 degree mark. That is when it gets really interesting because from that 330 to 4am range until about 730 to 8am, the temperature is going to drop from 32 degrees to 7 to 8 degrees. Travel tomorrow if at all possible. If you have to travel on Friday, I would recommend you traveling, say from the noon to four or five range because like I said, as the day goes on, the wind continues to pick up in intensity. It's only going to get colder. So during the daylight hours tomorrow on Friday, say from noon until 8am travel on Friday, I would not recommend for anyone. If you don't have to be on the road, absolutely stay off the road Friday morning. In preparation for the brutal cold, emergency management services will be creating warming centers in the area. Everyone's safety will be prioritized. We have a plan. We'll try to get out sometime tomorrow on if necessary for warming centers to be opened. We have a plan with some of our three different locations in the county for senior citizens and seniors. Our office will be closed for the holiday on Friday, but we'll have phones transferred. So if someone needs to get in contact with one of us about a service, then we'll have a way to answer the phones as well then. Reporting from Mountain Top News, I'm Nick Colum.


This 2017 Ford F350 Crew Cab Long Box Dual Rear Wheel is stock number 12109Z, we are here at Summit Automotive in Fond du Lac, Wisconsin, near New, and used heavy-duty truck headquarters. This 2017 Ford F350 Crew Cab Long Box Dualy has the 6.7L V8 Power Stroke diesel engine. This truck has been fully safety and inspected by our service shop as a fresh oil and filter change. All the fluids have been checked and tapped off and this truck is 100% ready to go and like new all the way around only 3,000 some miles on this truck. Color is Ingot Silver. We shoot all of our videos in 1080p, 60 frames per second, so if you have HD capabilities on your computer, tablet, smartphone, or television, turn them on right now because it is definitely your best way to check out the quality and condition of the truck before seeing it in person. And if you like the video and want to check out more videos, you can subscribe to our YouTube channel and the lower right hand part of the screen is a subscribe button. Click that and then click the bell notifications and you'll get updated every single day we do videos here at Summit Automotive of our new and used inventory. This one comes with the polished aluminum rims and it has Michelin LT 245 75 R17 tires. These tires have just about all the tread left. Once again only 3,000 miles on this truck frame and underbody excellent condition. Front fender, no dents or dings on there looks really good. Headlight lenses are crystal clear. Front bumper and lower valance are in excellent shape. No dents or dings on there and it does have the chrome tow hooks. You get the chrome trimmed grille and the hood is in excellent shape as well. No dents or dings. Passenger side front fender is in excellent condition too and the passenger side rim no scuffs or scrapes on there. As you go down the passenger side of the truck, take note of how clean the body is, how reflective and mirror like that paint is. We take these HD videos so if you are far away or even if you're close by and just cannot make the trip down but you're still interested in purchasing the truck, you can see the truck, hear the truck, and have confidence in the vehicle that you're looking at before you even get here so that when you do get here there's absolutely no surprises. And you can make a smart buying decision from the comfort of your own home. Very very clean down that side, looks really good. Has the polished aluminum rims, excellent shape, and the back tires are like new as well. You do get the camper package and you may have to say what's the camper package? Well you have the anti sway bars that go down right there. Just help with a little bit of stability. If you do have a big camper on the back, helps with trailer sway, has all the remaining factory exhaust so it hasn't been altered in any way shape or form. Even the lower rockers all look really good of course. And it comes with the factory chrome step bars. Box side looks really good. I didn't see any rock chips or anything. It does still have the 3M tape on the dually tub there. Get the chrome tipped exhaust. Pretty sure this one has the chrome package on it. Coming around to the back of the vehicle, rear bumper parking sensors, full towing package which includes the receiver hitch four pin and seven pin wiring. The tailgate is in excellent shape as well. It is a locking tailgate. You get a very nice spring bed liner. It's kind of like a linex. Looks like a linex. It's not though. Side box tie downs. I would just say the kind of the grip level and texture is like a linex. Tailgate shuts nice and solidly. Once again didn't see any dents or dings on that. And as you go down the driver's side just as clean as that passenger's side. And for full disclosure this back rim excellent condition as well. Driver's side doors look really good. Does come with the tow mirrors. They are heated, have directional signals in the side. And they are power scope mirrors so they power telescope out. They also power fold in. This one has the door code entry. If you ever wanted to find your own door code if you have a truck like this in the upper right hand part of the screen is a link to a video where I show you how to get that door code off of your 2017 to 2021 F350's super duties. Click that. Check this out there. This one does have heated seats. It is a lariat package. No rips or tears on those seats. Black leather. Very nice condition. Both these front seats are power and they do have these heated seat buttons on them. Husky all weather floor mats, auto headlamps, power pedals and tilt telescopic steering mill. Power windows, power locks, power mirrors and you do get that nice wood grain trim on the door. So these have to be, the ignition has to be on for those to work which will turn the ignition on here so you can check out the miles and the radio and everything that this truck has to offer in the interior but I also want to show you that those mirrors do power fold in. You always want to make sure that everything is working on a used vehicle. So you can see that the power fold in and power fold out works. The telescope mirrors work as well on both sides. Anyways, you have the nice instrument cluster here. Little dim it so it looks a little bit easier to see. 3,469 miles on this vehicle and this one has the digital speedometer. All your information center compass display comes with the leather wrap steering wheel. Bluetooth and audio controls on the right, cruise controls and information center controls on the left. This one has the six speed automatic transmission with the optional tap shift. You do get the factory exhaust brake there, stability control. This one does have the Sony sound system in it. It has the factory navigation system. This is also where your backup camera shows up and you can zoom in right over that receiver hitch to get hooked up to your boat camper or trailer the first time every time. And then you have all your different controls here, AM, FM and Sirius XM radio capabilities on this vehicle. It does have a CD player and then you have all your different settings and stuff here. It also has Android Auto and Apple CarPlay where you can project your cell phone to the screen. So a lot of cool stuff, a lot of cool things you can do with this radio. Also has the climate controls with the dual climate controls. Now if you don't like doing the climate controls up there, don't worry you get more tactile buttons down here. Factory brake controller turned out four wheel drive and then more tactile audio controls. Two USBs. You get a wood grain trim cover right there as well and then you get a 12V, 110V, 400W plug-in right there in that 12V power point. Dual glove boxes, passenger side, floor mat and seat are in excellent condition. No rips or tears on there and the headliner is in fantastic condition as well. No rips or tears. This truck has never been smoked in. You do get map lights up there. And we'll take a quick look at the back seats and then we'll start it up and check out under the hood. The back seats are just as clean as front seats, no rips or tears back here. It does have the latch child safety system for any child car seats that you may want to try and put back here. Power sliding rear window with the built-in rear defrost, there are those latch tether anchors. These seats do fold up for extra storage and it does come with a front license plate holder and I think these were for some headrest covers. And then you get a collapsible floor here. So this will go up like so and then it collapses down. You can lock it so that stuff doesn't roll around. You get a nice husky all-weather floor mat back here as well. Two USB plug-ins, 110V, 400W plug-in back there and then another 12V power point. This seat does lock up into place so you can just grab that strap. These headrests fold down for better visibility and yeah, very nice and clean back here. It does have the child safety locks on the back doors, bottoms of the doors all look really good. We'll start it up and take a quick look under the hood. Starts right up, no check engine lights or anything like that. I would personally like to thank you for checking out the video today and hopefully from this HD video you'll have been able to tell just how clean this truck is all the way around inside and now under the hood we have the 6.7 liter Cummins diesel, Cummins diesel, power stroke diesel, my bad. Been doing videos all day, it's been crazy. 6.7 liter power stroke diesel, second gen, engine base very clean, runs very smooth.  There's your emission sticker and this truck is 100% ready to go. I would highly recommend this truck from a quality and condition standpoint and didn't see a single dent or ding or scratch on it and to see more pictures of this truck or one of our other 450 new and used cars, trucks, SUVs, minivans, wranglers, half tons, three quarter tons, one tons, you name it, we got it. Go to that website right there, www.summitauto.com, full pictures and descriptions of every single vehicle from two locations all at summitauto.com and if you'd like to check out more HD videos you can go to youtube.com slash summitauto. Remember to like, subscribe, and share on this video and all the videos that you see there and click those bell notifications to get updates every time we do a video and we really look forward to helping with this Super Clean 2017 Ford F350. If you want to subscribe to our YouTube channel, the upper left hand part of the screen is a link to subscribe, a link to more F350 videos like this one, the upper right, link to this vehicle on our website in the lower left and a link to one of our latest YouTube videos in the lower right. Click those, check us out and we're super excited to help you with this Super Clean 2017 Ford F350 Crew Cab Longbox Dually Lariat in Ingot Silver with the 6.7 liter V8 Power Stroke Diesel. Thanks again for checking out the video.


Today we're in chapter 6 here. We're looking at a passage that deals with what is simply We can call the fall of Jericho. And so let's begin reading together here in Joshua Chapter 6 at verse 1 we'll read verses 1 through 5. We'll get into our study Joshua Chapter 6 verses 1 through 5 the fall of Jericho We read now Jericho was securely shut up because of the children of Israel None went out and none came in and the Lord said to Joshua see I have given Jericho into your hand It's king and the mighty men of Valor You shall march around the city all you men of war You shall go all around the city once This you shall do six days and Seven priests shall bear seven trumpets of rams horns before the ark But the seventh day you shall march around the city seven times and the priests shall blow the trumpets Then it shall come to pass When they make a long blast with the rams horn and When you hear the sound of the trumpet that all the people shall shout with a great shout Then the wall of the city will fall down flat and the people shall go up every man straight before him now Joshua is about to engage in his first battle for the possession of the land of promise God had already made a promise and we've seen this in chapter 1 in verses 5 and chapter 9 Rather verse 9 that that God would be with him wherever he went and so with that in mind Joshua sent spies out to go and just check out Jericho check out the land and enter into Jericho And then Joshua led them across the Jordan now During the during the dry season the Jordan is not much more than a small stream During the rainy season it becomes a torrent that can overflow its banks And it was during the rainy season that the miracle occurred And it was through that miracle that God magnified him in the sight of Israel Now carrying the ark the the priest's feet touched the water and the water parted So that was intended to communicate that God was with them as well as solidifying their faith that they would be victorious And as we know as we've been looking at the earlier chapters in remembrance They set up two memorials that they might never forget such a miracle So now they're camped they're camped on the Western banks of the Jordan Joshua knows that the Amorites and Canaanites are petrified He and his people are now ready to go out and they're ready to conquer So before battle Joshua made sure that the men who had not been circumcised were circumcised Because that was an outer emblem of their covenant that God had made with Abraham concerning the promised land They also celebrated Passover which reminded them of their deliverance as well as encouraging them to have faith that God would be with them And then as we've already seen finally the captain of God's hosts had given directions to Joshua So that means that Joshua knew that his orders were to come from above and not from the direction of men and his conquest Was to be a holy one. So his heart was now settled on following the Lord They're ready to begin the conquest the possession of the land that God promised and to do so Their approach will be actually to divide and to conquer You see when you look at a map of Israel Jericho is pretty much in the in the geographic center And there's a small city that was next to it called AI and they were pretty much in the center of Israel So to enter in at that place would be dividing the land from the the north to the south They were going to take Jericho. They were going to take AI. They were going to proceed south and They were going to divide the land and that's a strategy. That's very ancient but the strategy though it is ancient and Has been repeated in many times The method of taking Jericho has never again to be repeated as we'll see in just a moment now We begin at verse 1 to see what's taking place Jericho was securely shut up because of the children of Israel none went out and none came in Now the people of Jericho are aware of Israel's presence, but they're not anticipating really they weren't anticipating This attack They thought that because the Jordan was at flood stage that they would have some time to prepare But when the miracle occurred and they crossed over the only response they now have is to lock themselves up behind these gates Jericho was a fortified city. It was protected by its walls But even though they're afraid They're still prepared the harvest is concluded. So they There they have plenty of grain. They have a spring that would supply water for the city So they're feeling that they're going to be secure there behind these massive walls Even if Israel comes to attack them They have enough enough goods one of my commentators was saying they had enough grain there to last them Probably several years and so they're not really concerned about it at all. They could have withstood a siege Now they're afraid of the Israelites, but they think they're protected behind these walls And so the best thing they can do at that moment is simply to watch and to wait And so that's what it's saying there in verse one when it says Jericho was securely shut up because of the children of Israel None went out none came in verse two and the Lord said to Joshua see I have given Jericho into your hand It's king and the mighty men of Valor So this is a continuation by the way of conversation that we saw begin in chapter Five verses 13 through 15 is continuation of a conversation with the commander of the Lord's army and So God is speaking of this conquest, but I want you to notice how it says it It says see I have given Jericho into your hand He's speaking of it as an event that has already occurred. He's saying this is something that has already been accomplished So let's think about that for just a moment here. They have yet to go and engage in battle and yet God is speaking in the past tense I've given this to you. It's something that you possess You're fighting from the position of the one who has already won and there's no doubt as to how this conflict will end God is basically saying to Joshua and this should be a word of encouragement to him. This is a done deal I have given Jericho into your hand. All you need to do is enter in and take it It's yours We can make application of that today One of the things that we as believers need to understand as we fight we fight from the position of the victor not the victim and a lot of people that I encounter a lot of believers I have to say a large amount of believers I encounter Have this mentality that they don't know how things are going to turn out and So they're always in despair. They're always discouraged. They're not really sure what's going to happen They're not battling from the position of the one who's already won God has already guaranteed us victory God has already made it clear that we have what he has promised and When I don't receive that and though it's a very human thing And I'm certainly not about to stand up there and say that I fully arrived because I haven't I'm only ninety nine point nine percent fully arrived No, I haven't fully arrived. I Understand so I hope it doesn't sound like I'm speaking down to anybody because I'm not We have battle after battle after battle after battle But God is faithful and faithful and faithful and faithful through them all and we go through these battles and We think oh, who's going to deliver me? What's going to happen? I'm not sure and the Lord says haven't I delivered you before Yeah, that was before but that's not right now. You see right now I need to know that you're with me And so what I do is I try to concentrate on on his promises like Romans 8 37 in all these things We are more than conquerors through him who loved us more than conquerors in 1st Corinthians 15 57 Thanks be to God who gives us the victory through our Lord Jesus Christ who gives us the victory we have it We are more than conquerors. He has given us the victory in 1st John 5 verse 4 whatever is born of God overcomes the world that this is the victory that's overcome the world our faith So we trust the Lord God is in control. God has said you're going to make it Jesus tells his disciples get in the boat and go to the other side He remains on shore Well, they go and attempt to get across the Sea of Galilee But they encounter a storm and As Jesus is there sleeping They're concerned that they're not going to make it so they say the worst thing they could say Lord. Don't you care? We're about to perish and what does Jesus do? He gets up and begins to cry and weep and oh my we're not going to make it now He stands up we know the story and he speaks directly to the wind and he says to it literally in the Greek be muzzled What he's saying in the slang is Shot up and that's how he's this is true. That's what the Greek literally says be muzzled shot up That's enough and and you know the thing is is if Jesus was not afraid if Jesus was not concerned Why was his men? Why were they concerned? He wasn't concerned They had the master of the universe there the commander of the waves the commander of the wind What kind of man is this that he speaks and even the wind and the sea obey him? That's the God that I serve That's the God who gives me victory He's able to command. It's easier for Jesus to command the wind in the wave than it is for his men It's easier for him to get the wind in the wave to listen than it is for me for him to get me to listen And so one of the things I've been trying to learn over the years is what I'm trying to share with you right now God had stated to them. I have given Jericho into your hand. I've given it to you It's a done deal. It has been it's completed. You might as well just go and take what I've prepared for you I wonder how many of us are standing before a Jericho right now with the Lord is saying I've already given it to you And we're standing out say I'm not quite sure about that. I know I don't know about that I'm I don't know Jesus. No, he says you can have it. You can possess everything in the city You'll have the king the mighty men. They cannot resist your advance So God's about to show them that they can defeat anything that is before them Again Jericho is a fortified city But God is about to show them that he is with them and they're gonna have victory through him It says in verse 3 you shall march around the city all you men of war you shall go around the city once This you shall do six days and seven priests shall bear seven trumpets of rams horns before the ark But the seventh day you shall march around the city seven times and the priest shall blow the trumpets Then it shall come to pass when they make a long blast with the rams horn and When you hear the sound of the trumpet that all the people shall shout with a great shout Then the wall of the city will fall down flat and the people shall go up every man straight before him and So he speaks to them and he says this is what you're going to do I'm giving this to you.  He's the leader of the nation But they all need to have their faith refined that they might trust in him They need to follow But what they're gonna do is they're gonna follow a plan that doesn't make much sense March around the city Blow trumpets and Then shout that doesn't make much sense to me All of us know Proverbs three five and six trust in the Lord with all your heart lean not into thine own understanding in all thy ways Follow him on all your ways Meditate on the things that he says in every way follow him and Follow his directions and he's going to he's gonna set the path before you in a way that it's going to be Directed acknowledge him in all your ways and he shall direct your path is what the scripture says and that's what we do We acknowledge the reality of the Lord We we make sure and this is what I can take a long time. I won't but I could talk about this for a while Why do I trust in Lord with all my heart well one I haven't learned to do that yet again But I'm learning But why would I trust in the Lord with all my heart and lean not into my own understanding because my own Understanding is not sufficient to understand the ways of God. God's ways have to be revealed to me Because God's ways are not my ways his thoughts are not my thoughts his plans are beyond my plans His ability to perform them are beyond my ability to understand So ultimately what I have to do is I have to rest in him I have to trust in him and I have to rely on him see listen when you when you try and rely on your own plans your own Schemes your own abilities and all of that you're making a great mistake For me as a believer in Christ, I've had to learn to trust in the Lord that he knows what's best there's this old show that used to be on in the in the on TV when I was growing up called father knows best and that's always been true my heavenly father knows best and There are some things that God will have you to do and they may see major things or they may see minor things But they'll have you do something that really doesn't seem to make sense because all he wants at that moment from me is my obedience Jesus was ministering to his men on one occasion and as he was ministering to his men He washed their feet and then it went on to say after Peter had said he didn't want Jesus to wash his feet Jesus went on to say it's found in John 13 7 what I am doing. You do not understand now, but you will know after this There are times when the Lord will simply lead you to do something where you're not fully aware of what the outcome is going to be other than you have a sense that the Lord is saying this is something you need to do and And what he's saying here is he's saying to them. This is what you will do you are going to conquer Jericho and I am giving to you a plan. I have my part and you will have your part My part is to give you the victory Your part is to obey And what's going to be the key to their victory according to verse 3. It's going to be their obedience They are now being trained for war by being trained to trust and trained to obey They needed to learn this at the crossing of the Jordan and Now they need to learn this to take possession of the land follow a simple command now in verses four and five He speaks of the seven priests who are bearing seven trumpets Before the Ark on the seventh day what God is doing now is he delivering? He's delivering a strategy for them to conquer the city First he says have seven priests with trumpets walk in front of the Ark. They're going to walk in front of the army For the first six days the sword soldiers are going to walk silently Priests will blow the trumpets on the seventh day Circle the city seven times and then the priests will blow the trumpets and That'll be the clincher the priests will blow the trumpets and the people are going to yell And that's how you're going to get this the city I Have a better plan than than walking around quietly for a week. Why don't we just storm? Why don't we just take it? We've got a huge army, but God is teaching them to rely on him and to trust him Now it's interesting how God adds trumpets and a shout Why would he say use these trumpets and and say I want you to shout well The trumpets reveal God's presence among the people and the shouts are really shouts of triumph in Exodus 1919 it says when the blast of the trumpets sounded long and became louder and louder Moses spoke and God answered him by voice and so trumpets can reveal the presence of God amongst the people and God is saying in verse 5 that the walls will fall down flat and the people will go up Everyone straight before him so the conquest of Jericho is intended to include a total Participation of the people because each are going to gain some personal experience in how God works See when that wall goes down, and I'm going to give you some details in a minute That's interesting from archaeological discoveries, but when the walls are flattened It's not just a portion of the military that's going to go in the men are all supposed to go in Because in victory in war and victory Total participation is needed In any army there needs to be a division of labor and the people who are involved in the military operation need to be carrying their own load their own weight and So as you enter in it's one thing to go through basic training, but as you enter into actual combat You're learning some things as you do so as you pursue the enemy and you experience victory So people are not supposed to be allowing other people to go out and fight They should be part of the battle themselves Every one of us for example in this room who are believers in the Lord Jesus Christ Have our own load to carry our own share that we bear ourselves Each one shall bear his own burden each one of us carries our own Particular load every believer has that We need to be aware of the fact that sometimes we think that that Spiritual warfare is for other people Sometimes we think that evangelization and mission work is really for those who just other people yet Paul speaks to Timothy who was not called an evangelist and says to him do the work of evangelists so all of us may not have the gift of evangelism but all of us have the ministry of being a witness and We can share our faith and we ought to in this room right now I'm sure that I have Many of you have friends and relatives who who don't know the Lord and God has been speaking to you about speaking to them But sometimes we're afraid to do that Sometimes we're afraid to speak because we don't know how they're gonna respond to us And so we say Lord I I would like them to be saved but but you know they're not gonna listen to me So could you please send an evangelist go speak to them and God has a way of doing that? But sometimes he may say I could why don't I make you the witness? Why don't I use you and and like Isaiah? We need to get to that point in our lives where we have a burden for the glory of the Lord And we have a burden to be used by God so we can say here am I Lord? Send me I want to be used a lot of people say there. He is Lord send him I'll support him. I'll pray But the Lord is saying why would I want to send him or her? When I have you When I can use you When you have the ability you have enough Bible in you you got the power of the Holy Spirit All you need is some confidence all you need to do is trust the Lord All you need to do is step out and open your mouth and watch what God will do I began to learn to share my faith when I was a new Christian What did I know once I was lost now I'm found once I was blind now I see once I was deaf now I hear once I was dead now I'm alive That's all I knew But that was enough at that moment So I could tell other people who are blind deaf and dead that there's one who can save them and You share with them and then you blow your mind at what God does Then you say wow that was good stuff. I must have listened in church the other day As I oh, I oh, I should have taken that and put that on on a CD and I could sell it at church Put it on the radio good stuff bottom line is guys All we need to do is learn one is God will make us victorious According to his plan for victory in our lives what that may be he defines that for us and Two he's going before us and he's with us the Ark of the Covenant is a symbol of God It's a picture of God being amongst the people. They're not going in this battle by themselves He's already saying you're gonna have a trumpet because that trumpet reminds you of my presence all the way back to Exodus and Not only that but you're gonna have a shout and that shout is a shout of triumph It's a shout of victory and so as you go in and you shout and as you have the trumpets blowing It's symbolic of my presence and the victory that I'm giving to you And so trust me Now in verses six and seven Joshua the son of none called the priest and said to them Take up the Ark of the Covenant and let seven priests bear seven trumpets of rams horns before the Ark of the Lord And he said to the people proceed and march around the city and let him who has armed advance before the Ark of the Lord seven priests Seven trumpets seven days seven times speaks of God's work being complete And so they began their march In verse eight So it was when Joshua had spoken to the people That the seven priests bearing the seven trumpets of rams horns before the Lord advanced and blew the trumpets And the Ark of the Covenant of the Lord followed them The armed men went before the priests who blew the trumpets and the rear guard came after the Ark While the priests continued blowing the trumpets Now Joshua had commanded the people saying you shall not shout or make any noise with your voice Nor shall any word proceed out of your mouth until the day I say to you Shout Then you shall shout So he had the Ark of the Lord circle the city going around it once Then they came into the camp and lodge lodged in the camp So the priests are as you can see this they're really in the center of the men of war and the rear guard And there they go sounding the trumpets They're walking silently in a procession around the walls Now the army of Jericho Most likely Was they're lining the walls And they're watching this spectacle of these people There's no rain of spears or arrows. There's no stones or anything like that There's no attack that comes forth They're just watching as these These Israelites are circling their city And they're they're looking down upon them. I don't know if they were quiet. It doesn't say Could it be that they were yelling derisively at them because they felt that they were safe and secure behind the walls Now the the jews the Israelites knew what to expect in Deuteronomy chapter 9 verse 1 Moses had prepared the Israelites and he had said listen. Oh, Israel Today you're about to cross the Jordan river to take over the land belonging to nations much greater and more powerful than you They live in cities with walls that reach to the sky So he's already said listen, you're going to enter into a place that has walled cities and these cities are massive So they're already prepared and they know that Jericho has these huge walls But he's given them an opportunity to go around that's the first day verse 12. Joshua rose early In the morning and the priest took the ark of the lord Seven priests bearing the seven trumpets of rams horns before the ark of the lord went on continually and blew with the trumpets The armed men went before them But the rear guard came after the ark of the lord while the priests continued blowing the trumpets in the second day They marched around the city once and returned to the camp So they did six days and so Lessons are not always learned the first time They have to be completely taught and therefore they're going to continue going around There are some things that the lord wants you to learn and he does so by the way through repetition There are some lessons that you will learn over and over again in a lifetime When you think that you finally got it the lord teaches you afresh You may think oh man, and i've become a loving person man You know i've changed so much and then you'll bring somebody into your life. That's really hard to live with Maybe it's your husband or wife. I don't know when your kids became 13 I don't know but something's going to happen.  Why does he do that you ever ask him why why do you do that some lessons Are learned through repetition When you look in the book of acts i'll give you an example out of the book of acts. There's a chapter 10 There's a man by the name of cornelius there Cornelius is a Gentile And he's been praying and fasting It's a god-fairer He's not a jew. He's a Gentile. He's a god-fairer But god Ministers to him and lets him know that his prayers and supplications have been heard And god says so i want you to send to the apostle peter who's in the city of japa He's lodging at the home of simon who's a tanner And i want you to have him come and see you and so Cornelius sends three men to represent him and The apostle peter is there on top of the roof. It's our prayer. He receives a vision of a sheet and uh On this sheet are all kinds of four-footed beasts and all creeping things And god speaks to him and says rise up peter slay slay and eat And peter says not so lord i'm kosher. I've never eaten anything unclean God says see him don't call something unclean that i have cleansed And he's pondering that he's wondering what's this vision all about when He's told there are some men waiting to see you and he goes down and there's these Gentiles Jews have nothing to do with Gentiles And they say we've been sent here. We want to take you to see Cornelius And so he goes to see this man named Cornelius and when he begins to speak to Cornelius Cornelius shows him great respect the kind of respect that peter has a problem with them says because he falls at his feet and says No, you get up. I'm a man like you And he begins to minister to him But he makes a statement to Cornelius and and as he's speaking to him He basically says to him that that god has showed me that I am not to call any man common or unclean God has showed me When you look at that comment that he makes there in the original language that's found in ax 10 28 when you see that In the original language, it's a very strong statement. He's saying I have learned something. It's like a permanent lesson Then I can have fellowship with Gentiles. God is not a respecter of persons, right? So he's saying I've learned this lesson But later on in the book of Galatians The apostle Paul is speaking and he speaks concerning the apostle Peter And he says Before Jews would show up Peter would be eating with the Gentiles But when the Jews would show up he would withdraw himself from the Gentiles And thus was acting the part of a hypocrite And Paul says I confronted him to his face for he was to be blamed Now wait a minute Peter had earlier said I know for a fact That god said nothing is common or unclean and what he has declared to be clean is clean and yet Paul has to rebuke him for going back on what god had originally taught him So I take great Comfort knowing that some lessons that god wants me to learn are going to be relearned There are going to be lessons that I learned through a lifetime sometimes Some of the lessons you're learning right now are lessons you've learned in the past But there's a new variation to it and it's actually taking you into a deeper walk with the lord By going through another layer another gradation another understanding of how god works And then one day you're going to wake up and you're going to say I I get it Then you die. I mean that's that's what's going on That's your future Well in verses 15 and 16 But it came to pass on the seventh day that they rose early about the dawning of the day And marched around the city seven times in the same manner on that day only they marched around the city seven times And the seventh time it was so when the priest blew the trumpets that joshua said to the people Shout for the lord has given you the city And so The people are finally released to fulfill the second part of the command. He says I want you to shout Like it says in psalm 47 1 clap your hands all you people Shout to god with a voice of triumph Psalm 47 5 god has gone up with a shout the lord with the sound of a trumpet And so they're about to see what god had promised moses had prepared them in deuteronomy chapter 3 verses 21 and 22 Where moses says I commanded joshua at that time saying your eyes have seen all that the lord your god has done To these two kings so will the lord do to all the kingdoms through which you pass You must not fear them for the lord your god himself fights for you The lord your god himself fights for you Those surrounded The inhabitants and armies of jericho felt secure behind the walls The walls surrounding the city were high and securely fortified Excavations have revealed that jericho Had a retaining wall at the base Ground level a retaining wall that was between 12 and 15 feet high. That's a retaining wall Right above it. There was a mud brick wall that was six feet thick And that rose to the height of 26 feet And then between that second mud brick and the retaining going up a bit up up up a hill That surrounded the city was another wall And archaeologists have discovered that and that stood 46 feet above the ground And so when you have this series of a retaining wall mud brick wall space and then another wall, that's 46 feet high If you were there Looking from that vantage point you would feel that there's no way anybody could get to you It doesn't really matter you have to go through all of these things to reach us You're not going to be able to do that and so undoubtedly they were very very secure These are the walls that are about to fall down and now the people are commanded All you need to do is shout And so that's what they're about to do Now When it says of verse 17 the city shall be doomed by the lord to destruction It and all who are in it only rehab the harlot shall live She and all who are with her in the house because she hid the messengers that we sent You by all means keep yourselves from the accursed thing unless you become accursed when you take of the accursed Things and make the camp of israel a curse and trouble it But all the silver and gold the vessels of bronze and iron are consecrated to the lord They shall come into the treasury of the lord These people who are there in jericho are in total rebellion against god God is saying they are to be eradicated These are people when you study the people and the beliefs of that time. These were confirmed idolaters These are people who worship demons And so god is bringing judgment So god is going to eradicate that but they have silver gold bronze and iron That is going to be taken and that is going to be dedicated to god This is what is called a first fruits offering And what it's intended to do is to communicate future conquests But notice the only rehab and her family are going to be allowed to remain He says this though if the people take the things devoted to god israel will be judged So verse 20 the people shouted when the priests blew the trumpet And it happened when the people heard the sound of the trumpet And the people shouted with a great shout that the wall fell down flat Then the people went up into the city every man straight before him and they took the city They utterly destroyed all that was in the city both man and woman young and old ox and sheep and donkey with the edge of the sword there's an archaeologist her name is kathleen kenyon And kathleen kenyon describes the walls having collapsed The upper walls collapsed against the retaining wall. That's what they found in the ruins of jericho That would have made a sort of ramp For each soldier to be able to actually do what the scripture says to go straight up and to take the city She also found that at the north end of the city there was a stretch of wall that did not collapse A portion of the mud brick wall was still standing And it's there's evidence that houses were built against that wall That would have been where rahab's house must have been And so she was saved Her house wasn't destroyed and there's evidence that there was a home there are homes dwelling places that were not destroyed Verse 21 just basically describes the taking of the city But notice verse 22 joshua had said to The two men who had spied out the country going to the harlot's house and From there bring out the woman and all that she has as you swore to her And the young men who had been spies went in and brought out rahab her father her mother Her brothers and all that she had so they brought out all her relatives and left them outside the camp of israel So they burned the city They took the silver gold bronze and iron They dedicated it to god But they spared rahab As it says in verse 25 joshua spared rahab the harlot her father's household and all that she had So she dwells in israel to this day because she hid the messengers whom joshua sent to spy out jericho They had made that arrangement remember They had made that arrangement with her that they would spare her But she was to remain in the house and not to leave she and her family And so she had kept her part of the bargain and so she was spared As is noted she married a jewish man and we know that studying the genealog genealogical chart of jesus that She ended up in his genealogy And so god spared her and she actually ended up in his genealogy joshua charged them verse 26 at that time saying cursed be the man Before the lord who rises up and builds this city jericho He shall lay its foundations with his first born and with his youngest He shall set up its gates. So the lord was with joshua and his fame spread throughout all the country Now Who fought the battle of jericho? There's that song, you know joshua fought the battle of jericho, right? Who fought the battle of jericho god god fought it Well if god fought the battle of jericho, what was man's part in all of that? Well, the writer of hebrus tells us in chapter 11 verse 30 By faith the walls of jericho fell down after they were encircled for seven days God's part was to give them jericho Man's part was to trust god to do it That's how it works God's part is to do it Man's part is to trust him So What is it that they had that would cause them to trust him now? I'm going to close with an application They had god's word They had god's promise to rely on And they had a faithful god And so do we There's an interesting scripture that you can find it's found in second corinthians chapter 10 Verses three through five I'm going to share some things with you In second corinthians chapter 10 verses three through five It says though we walk in the flesh we do not war according to the flesh For the weapons of our warfare are not carnal but mighty in god for pulling down strongholds Casting down arguments and every high thing that exalts itself against the knowledge of god Bringing every thought into captivity to the obedience of christ The picture that paul gives to us in second corinthians Is that we have entered into an offense against a fortified city That's the picture that you have casting down imagination He speaks about every high thing that has exalted itself What he's speaking about is us having the ability and the lord jesus christ to pull down stronghold by casting down the arguments Whenever you are walking with the lord You are finding yourself in spiritual warfare There are people who have arguments that would undermine the faith of christ There are those who would argue that you can't really believe the word of god to be true But the only thing and most sure thing that you have that is true is the word of god His word is truth That's why jesus prayed and said sanctify them in truth Your word is truth If there's one thing you can rely on it's the word of god You can trust in god's promises god is not a man that he should lie neither the son of man that he should repent As god said it shall he not do it? And so what you have from genesis to revelation Is a book that has compiled promises that god has given to us So that we might spiritually war By holding fast in faith to his promises There are times that god will say to you you might as well just give up There's no way you don't have any hope That friend will never come to christ will never come back to him. Just let him go So my friend bill Who walked away from the lord within a year after claiming to know him? Not even remembering how he at one time had taken me to church to hear the gospel Not remembering incidents concerning that bill walks away Goes in the military we go on the buddy plan. He goes off to germany on station in north carolina We lose contact reconnect a few times over the years When he talks to me he he says, you know david sometimes i'll listen to the radio and i hear you And you've mentioned me And i don't remember anything that you're saying he said i don't remember any of it He says you talk about things that i i did or said and i don't remember any of that Then i see him a few years ago he comes to a baptism here He wants to connect with me He had been in middle east and He had said god if you get me out of here i'll go visit david True story, so he did And he comes and he talks to me And after talking to me i say so what now he says i don't know he says i fulfilled my promise to god He got me out of there and here i am I said what do we do now bill I don't know i said why don't we begin to meet So he and another friend of mine named bobby And bill and i begin to meet And we meet for a year over a year and he comes he starts asking questions He starts talking to me about about god What does god do i had been praying for him not every day I don't want to pretend that it was every day, but i had been praying for him for 30 plus years well over 30 years praying Lord touch bill Bring him back Bring him to yourself Then you think what's the point man makes his own decisions.  We meet for over a year Sharing he's asking questions And finally i say to him okay bill god i ask you Where do you stand with god now? He says i believe that i've gotten right with god and i've received jesus and my lord and savior I said oh really Goes yeah So i wait to see whether that's true so he comes Next month and We're in his truck going off to grab something to eat. He says Look at this. He hands me a bible track He says you know what i do with these And i said what? He says he says i give him way obviously he says but when i pull up like And an off ramp and there's somebody there with the sign He says i give him to him And then talk to him about jesus And i'm going this is bill Okay, an alien has invaded his body and has he's disappeared He comes now And he brings two pages of questions every time we get together two solid pages of questions And every month for the last almost three years Every month he comes with bobby And he first thing he'll do and this is the truth i'm he'll go like this And wave the paper at me and then he'll go like this and he'll go Which means we're going to be here for some time. That's what that means And one question after another after another and i will sit there with him for an hour To an hour and a half Answering every question that he has one at a time giving him scripture giving him an answer So god has given to me the joy of being able to minister to him For the last couple of years He serves the lord in the church that he attends now He's gone to haiti on missions trips. He helps to serve in the church. He's attending Do not give up Do not give up Don't give up God is able You will encounter people who have their arguments and have their belief system the walls of jericho still exist There are still people on those walls looking down on the people below thinking i'm secure in my opinions But we have the word of god in his promises And god has said that he is not willing that any should perish, but that all should come to repenting And so when i share with people One on one or whenever i have conversations like that i could keep that in mind God wants them saved more than i do God loves them more than i ever could And god's already done something for them All i have to do is trust the lord and give what god gave to me his word And present a promise to them That jesus christ can set you free He can forgive you of your sins. He can cleanse you from all unrighteousness He can make you so new that even your best friends won't recognize you. That's what he does He makes you into a new creation old things are passed away behold all things are become new And so we still have been given by god marching orders We still have the opportunity of walking around if you will Affordified city we still have his presence with us and we still can shout praise of victory that god has given to us That's what he's given to us and all we need to learn to do is trust him Take him at his word And watch what god will do and the walls will come tumbling down and god is the one who causes that to happen Understand that


Hello, thanks for attending my talk about the WordPress Playground today or the famous five second install. My name's Dave Kellum. I'm a senior developer and team lead at Plank. I'm gonna tell you a little bit about myself first. Let's see, there we go. Just so we'll check, everyone can hear me fine. All right, so a little bit about me. I'm, like I said, senior developer, team lead at Plank. I've been making websites since the mid-90s, Go Geocities. I had a varied education. I've always been interested in computers, teaching and educating, design and typography. Fun fact, I had a tight face of mine used in Despicable Me 3. Let's see, my WordPress history. I think I discovered Blogger and then other CMSs like Moveable Type and experimenting with things like Drupal, Joomla and Moodle. And then I discovered WordPress. It was about 18 years ago and was like completely blown away by how easy it is to use, like how easy it was to upgrade and how easy it was to customize. I had one of the earliest plugins in the repository. It was called Flickr RSS. And that allowed you to display Flickr photos on your website. Also, despite being a teacher for years, this is my first time presenting at WordCamp. So obviously I'm a little bit nervous. Apologize for a bit of voice cracking and like sweatiness, but hopefully that'll all come down in a few minutes. I just wanted to mention like open source contributions. I used to do a lot more. I've contributed to Core before because I had that Flickr plugin. We've renewed our efforts. We're contributing and committed to the Five for the Future program, which is real cool. If you haven't seen it, check it out. It's basically you committing 5% of your time to open source projects and giving back to the community. For me, I have contributed to the Polyglots team doing some translations and I'm working on my first video for the training team. So like learnwordpress.org. Okay, so let's get started. Today's agenda, we'll have like an intro describing what WordPress playground is, how to customize it and how to use it locally. Then we'll look at some of its limitations and its various applications. And then finally like feel free to ask me like questions and I'll do my best to try and answer them. Okay, so a little bit of history and why I titled or subtitled this presentation the famous five second install. Just need to check something. Okay, so some background about why I subtitled this, the famous five minute install. If I was doing this in person, I'd ask people to like raise their hand and tell me if they knew about the famous five second install. So like WordPress sort of used to be known for its like ease of installation. You can sort of still see evidence of it in the project readme file. So like if you like unzip WordPress and see like the readme.html, it's like says famous five minute install in there. And like I don't know if anyone even like reads that readme anymore. And then I even noticed like with the WordPress 6.4 release yesterday I went to the download page and there's like a little blurb there that also mentions the famous five minute install. So like I think that made sense like 15 years ago like it was a lot harder to set up CMSs. We were live coding on servers, no source control. Like it was a big selling point. Just like a lot of other CMSs were really complex to set up.  But they're also still sort of very developer oriented. So it can be like difficult to get people spun up with like a local environment or somewhere to test things out for like training purposes. And so like introducing new people to the software can be a challenge. So I would like to introduce you to the famous five second install. So you just have to visit WordPress Playground and to see if I can use the call to action feature to pop that up for you. Don't know if that popped up a banner for people. So if you click on that, it should take you to playground.wordpress.net. And that should actually look something like this. So just a little video. So as you can see, you basically got a working version of WordPress in five seconds. And it's all like actually happening in your browser. So there's no server anywhere. And like the first time I saw this at WordCamp Europe this year, it sort of blew my mind. And like next we'll get into some of the details about like how this is actually working. So what is WordPress Playground? I will describe some of the history of the project and I'll also explore some of the technology behind it. So here's a quote from the project, read me.  And so like the most amazing part about all this, like I said, it's WordPress in your browser. And so like a little bit of history, the project started back like August last year, I think maybe earlier, like 2022, inspired by the PHP WASM project. We'll get to that, but it's, yeah. And there were experiments with people already getting Drupal running in the browser. So I think they used that as a basis to sort of build on and get WordPress running in the browser. There was the 1.0 release in April of the, sorry, not 1.0, 0.1 release in April of this year. And then I think there was the 0.2 just before WordCamp year up. And as of now, I think I just saw we're up to 0.3.1. One thing I found putting together as presentation, it was I couldn't really find any release notes on what had changed between them. And like when I tried reading the like not merge, the PR like the pull request, it was like something like 4,000 files changed. So I'm just sort of like, I really don't know what's going on. And one thing sort of about that release before WordCamp is it was pretty heavily promoted at WordCamp year up this year. There was like a number of demos and notably for participating on contributor day. So that allowed people on certain teams, like particularly like documentation team to basically get to work and start like working on documenting things like right away without having to get a local setup up and running. But when I'd gone to other contributor days before, like sometimes people would be spending the first like hour of the day like trying to get a local setup and running and like it's not necessarily a waste of time, but it's just like if you can take that hour back and it's just like it's an extra hour that someone can contribute back to the project, that's fantastic. And so it's also under very active development. There are a lot of ideas being proposed in GitHub issues. So like, I think it's just so new that like people are seeing all sorts of possibilities for it and we'll also get to some of those at the end of the presentation. All right. So let's look at how this works. So it's WordPress running in your browser, uses a relatively new technology called WebAssembly. And so WebAssembly is actually the fourth language to be introduced to the browser. The other ones, if you're not familiar, HTML, CSS, JavaScript. You don't actually need to write WebAssembly to use WordPress Playground. It's probably a little bit technical. It essentially ends up like you end up with compiled binaries. So like that's how PHP is sort of running in the browser. Someone took the time to compile PHP into WebAssembly so you could essentially use PHP, essentially treating your browser as the server. I mean, there's some weirdness going on like it sort of works for the most part. We'll talk about some of those limitations a bit later as well. One in particular is because it's not, like it's sort of a server, but not really a server, you can't do things like also have a MySQL server running. So instead, there uses a plugin called SQLite or SQLite. And so that basically sort of runs a version of SQL like in your browser that WordPress Playground can talk to. It should run fine in any modern browser. I gave a demo of this earlier in the year and it failed in Safari, but I think that was on an older computer. I think it's been in Safari for a while now though. And one of the really cool things about it being able to run in any modern browser is it also means it runs on phones and tablets. So if you like tried going and typing, Playground.wordpress.net into your phone or your tablet, it should spin up a version of WordPress right there. So that opens up a lot of opportunities for education and lockdown systems, so it's sort of really cool. And there's also two little icons up in the corner where you can, if you've played around and installed plugins and stuff and you've got a configuration you want or you wanna share it, you can then sort of export that and then import it back into the Playground at a later date. Which is great for demos and stuff like that. It can also be embedded via iFrames, which is really cool because you can essentially do a live working version of WordPress in the middle of a tutorial. So moving on, let's sort of talk about that customization that you can do. And so we'll look at a few different ways that you can customize the Playground using APIs. The first one's called the Query API. The second one is Blueprints. And there's a third one, which is a JavaScript API, but we're gonna skip over that today because there's more complexity to it. So starting off the Query API, it's the simplest way to make use of the Playground. If you're familiar with URL hacking, you just sort of like add a question mark to the end of the URL and start chaining parameters together. So you could do like, I have an example there, like slash theme equals frost and plugin equals co-blocks. And so that'll spin up a version of the Playground running the Frost theme with the co-blocks plugin already installed. And so you can use this to quickly test themes or plugins. You can also specify like which version of PHP it's using, which version of WordPress it's using. And you can also chain parameters together to install multiple plugins.  So you can get a bit verbose, but it should work. You can see there's like a list there of the other parameters. One that's interesting is the mode and the seamless one, you wanna use that probably when you're embedding Playground in like tutorials or places, because then that takes sort of like that Chrome that you see like around the browser within a browser like away. So just sort of show you that example I've got listed there. So if you haven't tried that on your own in the browser, it's an example of using the query parameters to install the Frost theme. You can see like the URL parameters in the browser window there. And like, yeah. And then you can take it from there and try it with like different PHP versions, stuff like that. It's, I don't know, it's really cool. One thing though is like, if you change the query parameters, the browser will refresh and get those applied.  So moving on to blueprints. This is also effectively a no code solution, but instead of query parameters, you're using JSON to define how you wanna customize things. The plus side is you can get into more complex interactions with steps where you can sort of tell it to do multiple things that's like a lot harder to do with the query API. But similarly to the query API, you can append those to the URL. But instead of like using the question mark, you compress your JSON all down into like one line. And then you put like the hash mark after the hashtag pound sign after the URL, paste the JSON in and then it should render all of that. Yeah, and then there's the JavaScript API. Documentation seems to be pretty good. I haven't even really played with that yet, but it's there if you want to explore it on your own. So you can also use the playground locally. And you can install like other versions of it on like servers to do things with. If we have time later, I might show you an example of that. So we'll take a look at an MPM package that's been created that allows you to spin up sites and also really cool extension for BS code. So the MPM package is called WPNOW. You can install it globally. Also thought about demoing this, but I have somehow broken my global MPM install. So like, you know, live demos and danger. But it's really cool because like once you install that, you can basically go into a folder for like a plugin or a theme, type WPNOW, and it'll basically spin up WordPress in your browser with that theme or plugin installed. So it'll be using like, I think, oh, I'll show you in a second, but I think it uses like a local host colon, you know, 888, something like that. And then it's also cool because it can be included in packages and projects. So I know there was a demo at WordCamp Europe or workshop. I know that used this. So he had that installed right in his like package JSON. So it allowed people participating in the workshop just to sort of get spun up with WordPress right away without say like having to create like a new local install, set it up, install a plugin, install his project. So it can just simplify like learning in workshops to like a huge degree. VS Code extension. This is actually was experimental. It's powered by WPNOW under the hood. So it's using that MPM package. Just search the VS Code extensions for WordPress Playground and it should come up. And basically it will install like a little, you know, WordPress icon in the sidebar. And it's sort of the same thing as describing that like if you have a plugin or a theme open in VS Code, you can just hit that icon. You'll be taken to your browser with that theme or plugin installed and activated. And you can just start kicking the tires. And like admittedly it's probably the main way I've used Playground so far. Like I haven't gotten into some of the like really cool new things, but it's been a great way for like testing out like various plugins particularly block based ones. Same thing we'll talk about the limitations later, but there's a whole host of plugins that it won't work for. There's sort of speculation that this really only works with something like 40 to 50% of the plugins in the directory right now. All right. So now we will move on to those applications and limitations. I think we should look at the limitations first just cause then we can sort of get into some of the fun stuff. So limitations on what you can do. Big one I've found for me in demos is it doesn't retain uploaded media well. Like it sort of does, if you open the zip file that you save, you'll see the media files there and you'll see the sort of unconnected entries in the media library. Like, you know, when you see like blank images there and the problem is is like the way web assembly works and like it just does weird pathing things that like it just doesn't retain that connection because it's using like random strings and stuff. That I don't know, that might get figured out eventually. So I'll just say like that's the limitation for now.  So like just sort of like plug in full images. The other thing I mentioned earlier is like it uses SQLite under the hood. So it can't connect to a database server. So like basically any plugin that requires access to a server like a caching plugin, media library plugins, anything like that you're not gonna have a great experience with. And like some of these things might go away as the project progresses because it's only at 0.3 right now. I don't think it'll be stable probably until like a 1.0 release. So, oh yeah, the other thing is you lose everything on browser refresh. There's sort of a couple other settings there. Like if you're in the playground and there's that little like warning sign PHP version, if you click that you can actually like change it to use browser storage. So you could probably keep playing with something locally and save the state but it wouldn't really be shareable the same way. And then like, I imagine like if you clear your browser cache it probably also goes away. There might have been another option there that I'm forgetting about. So let's move on to some of the potential applications. So like the obvious one is testing like testing themes and plugins and different versions of PHP and WordPress. Like makes it pretty easy so people can like beta test things for like say the core team or something and provide feedback. Like, you know, you're instantly gonna see if something's crashing and not working. For me, like why is sort of so mind blowing is the ability to use it as a teaching tool and like particularly like, I think I mentioned earlier like lockdown environments.  You often like don't have access to a file system. So that's a way that you could introduce students to WordPress say as a publishing tool and like bypass that lockdown education environment. From my experience in the training team people are also very excited about it because now instead of just sort of telling people, oh, you have to like spin up your local environment and do this and you know, do whatever. Instead they can just like attach a zip file to the tutorial and you just, you go there, you know, add the zip file and then you can work your way through the tutorial and like see what's going on. Next one, like plugin translations. That was something I just sort of discovered recently. It's very buried. Like if you go to the, I think it's translate.wordpress.org I don't know if it works for WordPress core but if you go into a plugin that needs translations up at the top, you'll see a little like, I think it's like a light, I think it's used to say playground now it says like live translate and you can go in there, click that and it'll actually spin up a version of playground with that plugin installed. And I think it also installs GlotPress. So you'll see everything that needs to be translated. I forget it's either in red or green and then the ones that are translated are in the opposite color. And then you can actually, I think, I forget how it works. I don't know if you submit right then and there or if it sort of tracks all the translations you've made and then you make the submission but it's sort of pretty cool because you don't have to like, again spin up your environment, install that plugin and then submit the translation separately. Just, you know, time saver. This next one was one that they mentioned at WordCamp as well. Sort of mind blowing that she even came up with this. It's like actually using WordPress Playground inside like the browser at an OS level. So like you can download this app now I think it was released a few weeks ago called Block Notes. So you can download that from the iOS app store and it actually uses like a live version of WordPress. You can use it as a note taking app, use all your blocks and then it actually stores that as HTML in iCloud. So you'll never really lose it even if you technically delete the app. I think it's, they're stored as raw HTML. You might lose some styling but it's still pretty cool. But there's some, probably some other opportunities there maybe like for like in like educational learning apps same thing like is that Chromebook situation. As I mentioned earlier, it makes it really easy to participate in contributor days at WordCamp. Yeah, you can just spin things up right away. One thing I sort of glossed over was that including like a Playground iFrame in your site. There's a few blocks out there already that allow you to install Playground sort of and there's one I just saw from Yoast which I'll see if I can pull up that it actually allows you to do like a short code, throw a whole blueprint in there and then like, you know, end the short code. And so you can just like have a demo running from a blueprint. And yeah, then there's some, a couple of cool new interfaces. Like I think if you go to Playground.wordpress.net slash WordPress.org, or slash Gutenberg.html, you get a webpage with like a text input box and you can actually go and enter a pull request from GitHub. So like a Gutenberg PR, grab the number, go in, put it in that box and then it actually will like pull that pull request into like your Playground install and you can sort of evaluate it right there. So like, there's some potential there for setting up your own Playgrounds. There's ways to ingest other plugins. I haven't quite got it working yet. But it's cool. Like I think everything has to be public though. So you couldn't use it to test private repositories. The zip files would have to exist somewhere. But like, could definitely be cool for like internal testing on projects when I haven't tested, you might even be able to embed a Playground iframe in a GitHub pull request. Yeah. So there, and this is what's like going on when you go to the GitHub issues is there's so many people just like excited about it and like just thinking, oh, well, there's, one thing they went and did was stuck a button on the plugins and they were like, they stuck a button on the plugins in the plugins directory that you could go and test the plugin live. And there was like a lot of pushback there because of those 50% of plugins that don't work like ones that access the server or if you do like a plugin that needs WooCommerce. Like WooCommerce is a big one that doesn't work well with it right now. So like, yeah, they put it there and all these developers are just like, yeah, everyone's gonna think my plugin's broken. This is not great. This was not like a decision made amongst the community. Please revert it. And they did, I imagine it'll become like opt-in eventually because like, right now you can go to the theme repository and demo your themes, being able to do the same thing with plugins is a good step forward. And yeah, I think I'll stop there for now. Get to the QA and then if there's not a lot of questions, I could potentially show a couple of those other demos. And I'm just going to advance to the thank you slide. Okay, let me close this. Okay, so I know it's QA. So let's see, Joshua as a teacher is excited to use it. Classroom rotation, yep. Yeah, especially if like kids like don't have their like, like own computer and they're just sort of like in the classroom and have to use like whatever setup you've been given by your IT department. Let's see, software developer, I just see it, Woo. I personally haven't seen any issues with Woo.  I just, from reading a lot of the controversy around that button being added to the plugin directory, I just, there was a bunch of people mentioning Woo in particular.  Yeah, so flywheel, like local by flywheel or local WP, that's actually spinning up a full on like version of WordPress where like, you're essentially running a PHP server locally and a MySQL server locally and something else. And then it actually installs WordPress. And so like that's a real install. It won't go away. You can export it. That's the tool we use to develop most of our sites internally for clients. It's a great way. Like it works really fast. And especially if you're a developer and know what you're doing, like the main issue I see with Playground is it doesn't really persist. So like you couldn't really just start working on a client site the next day. And then like all those problems like I mentioned, like the media library and stuff like that. Let's see. Diving into more WooCommerce contributor days. It's a good question. Are there any other docs integrations or use cases that stood out to me? I don't know. Like I don't know if I'm as creative as some people. It just sort of seems like there's like so many different opportunities. And I think as this like web, as we sort of get a handle on this web assembly technology and figure out problems like making media library plugins work. I think that has a lot of potential. And like, even though I don't really use WooCommerce, a lot of people do. And if we could figure out how to like make sure all of those integrations are working fine, it'd be great. Sorry, I don't really know more about it. I just sort of came across it in passing. Actually, we've got a little bit of time. I'll try to end five minutes early just so everyone can get back to the closing speaker. Okay, let's just change, sharing, sharing, share screen. Let's go entire screen. Okay, let's, okay. Lots of tabs here. This is actually a pretty tame number for me. So this was one of the plugins I mentioned from Yoast. So it's pretty cool. You can basically any of the things from the blueprint, it might work with the query API as well. So you can just like embed a blueprint inside the short code. And so this is what I'm talking about when you can embed examples. You can also, there's an option so you can sort of collapse it down into a button and you get this sort of click to load. And then when I click it, you see it basically gets a version of WordPress with Yoast running in it already spun up. So that has a lot of potential. If you don't have a great environment for working with JSON, there was, I forget his name, but he was a speaker at WordCamp US and one of the main contributors to WordPress Playground. He created this, like his own version of Playground. So like at this URL up here, s-e-j-s dot e-s slash Playground. And so with this, it's really cool because you can go over to this JSON in the sidebar and I can go, okay, PHP version zero. And then in the window beside it, it will immediately refresh running 6.3 or on 8.0. And like it says WordPress 6.4 is available but I think they need to release a new version of the Playground because right now it's limited to the 6.4 release candidate. But I mean, it only came out yesterday. So, but it's just like, this is a way that you can, you know, play around with it and like not have to fiddle with JSON and then compressing it down into one line and all that, I will have these slides available to you. I mean, there's a couple other, like this was just the sort of that one demo I showed in my slide, same thing with the sort of, this is the whole like JSON on one line. And then the other things I encourage you to go and like actually look at the WordPress Playground repository, there's a lot of notes. There's like a vision and philosophy and roadmap. You can sort of see what people are thinking about and then go into like the issues and pull requests and see some of the ideas and stuff that people are having. And then the other one is the documentation for the Playground is really quite extensive already. So, start a Playground in five minutes, five seconds, silly people. Okay, with that, I will flip back over to my slides. So yeah, you can find me online, my own personal site that's got 20 years worth of blog posts that I barely ever update my WordPress profile and my LinkedIn and that QR code will take you to the LinkedIn. Cool. Well, thank you all for your time. Yeah, and if you have any more questions or want to get, you know, talk to me, just reach out pretty available online. I'm like Dave Callum everywhere else, you know, X, whatever it's called. Yeah, thank you.