In response to the Swiss medical board's recommendations against women of any age getting routine mammograms, critics suggested that instead of phasing out screening programs completely, we should leave it up to each woman individually to make her own judgment once she's fully informed about the pros and cons. On the basis of the same information, some women will choose screening and others will not. I agree, that's why I'm doing this video series to lay out the benefits and the harms. When it comes to medical treatments, I think most patients understand there are risks and benefits. Drugs can have side effects, surgeries can have complications. So you can make your decision based on whether you think the benefits outweigh the risks. But patients have been taught to think differently about screening. What's the harm? Who wouldn't want to know if you have cancer? The head's a no-brainer! But in reality, the truth is more nuanced. There are benefits and harms to consider in screening just as there are in treatment. In the case of mammograms, the most frequent harm is a false positive result, where they think they see something in the scan, but after further testing, a more X-rays ultrasound or a biopsy turns out to be nothing. Phew! As you can imagine, this can cause a roller coaster of emotions. Experiencing a false positive result can be an agonizing experience, sometimes profoundly affecting a woman's life. Some women can get depressed, anxious, lose sleep over it, even months later. Even after getting the all clear, breast cancer worries can persist even a year or more later. And beyond psychological effects, if you have to go on for a biopsy, they obviously use local anesthesia during the procedure, but the pain afterwards can sometimes persist for days or weeks. These adverse consequences would be less concerning if false positive mammograms were uncommon events. Unfortunately, most women will get at least one false positive mammogram within 10 years of annual screening, though the chances that a single mammogram will produce a false positive is only about 10% to 14%. But that's way more than over in Europe. For example, where it's only like 1 in 20 or 1 in 50. That's thought to be because American radiologists are so afraid of being sued for malpractice that the bar they use is much lower. And that's fine for a lot of women. Even if 10,000 women have to go through false positives, many feel it would be worth it to save a life. There are many women who had themselves experienced a false positive result firsthand, so they know what it's like. Most women don't even want to take false positives into account when deciding about screening. Some women do. For some, going through a false alarm is no big deal, but for others it can be really scary. Some women interviewed going through the process were described as being in a state of emotional chaos, facing a possible cancer diagnosis. Waiting for the results was particularly hard for some women. It was constantly on their minds. But after it was over, many women were able to just brush it off, whereas others had persistent anxiety, even though they were given the all-clear. Studies have noted increased anxiety on average, even months later, after being called back for a suspicious mammogram that turned out to be nothing. Or even years later, a study of hundreds of women who experienced a false positive, and some appear to be suffering the consequences even years later. They were falled out for three years, and the experience still seemed to haunt them. So maybe we shouldn't just dismiss these false alarms. Regardless, women should be informed of the possibility and reassured that most women who were recalled back for further testing of a suspicious mammogram finding do not end up having cancer after all, so as to put their mind at ease a bit as they go through the process and wait for the final results.


If you want a man to feel attracted to you, to chase you, to feel like you're different and special and unique, if you want him to allow himself to fall in love with you and feel like you're someone who he never wants to lose, then you are going to love this video today. Hi, my name is Matthew Coast and welcome to Commitment Connection. Today we're going to be talking about a few things that you can say to a man that will instantly raise your value in his eyes and make him want to chase you and pursue you and think that you are an amazing woman that he can fall in love with and be with for a long-term committed relationship. And so what are we actually talking about here? What are we talking about with raising your value? First off, we're not talking about your intrinsic value as a human being. That's not what we're talking about. We're talking about his perceived value and the way that you want him to see your value is you want him to see it as a little bit higher than his. You want to be the prize that he's trying to win over and if you're not that, men feel no emotional attraction to women who aren't the prize. Men feel no desire to commit to women who are not the prize. Men feel no need to court women who are not the prize. If he doesn't feel like you're the prize, like you're this valuable, amazing woman that he needs to win over, what he's going to do is he's just going to want to hook up with you.  And that's what you want. You want him to feel like you're different. You want him to feel like you're the prize. You don't want him to feel like you're way out of his league.  That way he's constantly chasing and striving to win you over up into the point of being in a committed relationship. That's what we're going to be talking about today. How do you do this? Let's talk about exactly what you say in order to do this. First thing that you want to do is you want to let him know that he's not quite living up to your standards. Let's say you meet a guy and you've been hanging out or maybe this is the first time you're hanging out or maybe you've hung out a couple of times before. You want to let him know where he's not really living up to your standards yet. This is a great way of letting him know that you're the prize, that you're really valuable, that you're somebody that he has to win over if he wants to be with you. Some guys aren't going to try to win you over and that's great because they're just taking themselves out of the running.   There's something different about her than there is about most of the other women that I meet who just want to please me and want to just accept whatever and are willing to go with whatever and don't have any standards and don't have any boundaries or any of that kind of stuff. How do you let him know that he's not quite living up to your standards? There's a great phrase that you can have to do this and here's what it is. You're almost the perfect guy and then you say whatever standard he's not quite living up to yet. First off, you need to have standards. It's very, very important that you have standards. If you don't have standards, just expect to get whatever it is that comes to you in life. Instead, you want to have standards, you want to have high standards and so this is how you communicate to a guy when he's not living up to him. You say, you're almost the perfect guy. We just need to work on your and then fill in the blank. Let's say you're almost the perfect guy. We just need to work on you opening doors and being more of a gentleman. You don't want to do it like in a really serious way. You're not ever trying to be serious. Remember what I talk about, romance, love. It's all playful. It's about being playful. It's about having fun. It's about enjoying yourself. Sometimes there are points where you really need to lay the hammer down.  You're doing it teasing. You're doing it playful and you're saying, you're almost the perfect guy. We just need to work on you doing little things like opening doors and being kind of a gentleman. We'll just watch for whatever he says and whatever he does after that. Here's another one. You're almost the perfect guy. We just need to work on your texting skills. If he's really bad at texting, if he's all thumbs when it comes to texting, this is a great one to say. You're almost the perfect guy but those shoes and that outfit, no.  You're teasing him. This is kind of a playful thing but you're also setting a very, very important frame. You're setting this knowledge that you're valuable, that he's somebody that he has to win over, that you have standards that he has to live up to. That's what you are doing right now. If you're here with us right now, say hi and tell us where in the world you're watching this from in the chat because it's so cool to see women from all over the world watching these live streams. Next one is creating a point system. The other one is letting him know you have standards and basically you're letting him know that you're the prize, that you're valuable, that he has to win you over. The second one is creating a point system for this, for something, for anything. It can be really anything but this is a really fun way to engage with a guy and also, again, setting that frame, also letting him know that you're a really valuable woman, that he's going to have to work to win you over. Guys, they value things that they have to work for. They value you more the more that they have to work for you. The more you set things up so that he has to work for you, the more that he will start to value you. You can make this, like I said, you can make this for anything. Even if you're in a committed relationship, if you're not in a committed relationship, it doesn't matter. What you want to do here is you want to find something that he wants. Initially, if we're in the initial dating phases, there's a few different things that he's going to definitely want. He's probably going to want to touch you.  He's probably going to want to hook up with you. He's probably going to want to spend time with you. He's probably going to want a whole bunch of different things. What you can do is put him on a fake, it's a fake point system. It's just a fun, playful, again, we're just having fun with this. It's a fun, playful, teasing point system that you're putting him on.  Even if you are, it doesn't really matter. Here's what you'd say to him.  What you want to do is look back at his behavior and give him different points for the behavior. You could say, I'll give you five points for paying for dinner because that was really, really cool and two points for going for the kiss because that's really manly. You need 15 points to kiss me and you're only at seven right now. It's a fun, playful system that you're creating around what it is that you're doing. Then what you want to do is just give him points whenever he does something that you like and then take away points whenever he does something that you don't like or he messes up or does something. It can actually be anything. You can give him points or take away points for just about anything.  For instance, let's say that he didn't open a door for you or something like that. You can say, oh, that's it. You didn't open the door for me. Two points lost, or let's say that it's something arbitrary. He sneezes or something. Sneezing, that's two more points lost. You're just having fun with it. You can look at his shoes and be like, oh, man, those shoes are so sexy. They're so manly. They're so cute. They're so whatever. You just gained three points. You just gained three points. What you're doing again, you're just doing different things or maybe he opens a door, maybe he puts his coat around you, maybe he hugs you, maybe he does something playful, maybe he picks you up, maybe he spins you around, maybe he pays for something or he acts masculine in some way. You want to give him points anytime he does things that you like and pull away points anytime that he does things that you don't like or that you perceive as something where he could have messed up or he did mess up. Again, remember, this is just playful and fun. This is not serious. You're not actually writing down points. So you can do anything you want.  Well, you can be like, oh, no, no, no. It's actually 20 points that you have to get. I thought it was 15 before, but I just realized that it's actually 20 points. You just have fun with it and you're just playful with it. And it instantly, instantly raises your value in his eyes and makes it so that he has to start working in order to win you over. And so I hope you, if you get what I'm talking about here, say I get it in the chat. If you don't get what I'm talking about, go ahead and ask whatever questions you have and I'll answer them here in a little bit. So let's see. The next one is number three is going to be calling out a mistaken or unacceptable behavior. So let's say that he laughs at a really inappropriate moment or he makes fun of something that he shouldn't be making fun of or does something where you don't like the behavior, right? So basically what you're doing is you're calling out any kind of behavior that you don't like or that could be perceived as unacceptable behavior or a mistake or something like that, right?   We can't be friends anymore, right?    I can't be friends with you anymore. And again, you're doing this in a playful way. This isn't serious. You're doing it in a very playful way.   We can't, and it could be with anything, right? Like let's say that you go and have coffee with him or something and he orders tea.  I, oh, we can't be friends anymore, like, you know? And he's like, oh no, tea's the best.  Coffee's the best. I don't know if we can be friends, right? And so you're just playing with him. You're just messing with him. You're just teasing him. You're communicating that whatever behavior he's doing isn't acceptable and it doesn't have to be like actually unacceptable.   That you are the prize. All right, so let's do another one here.  Here's the line that you want to say. You're not supposed to talk like that outside the trailer park, right? Or you're not supposed to do that outside the trailer park. So anytime he does something that's inappropriate or doing something too soon or something that you don't like, you say you're not supposed to do that outside the trailer park or you're not supposed to talk like that outside the trailer park. And basically it's again, it's kind of a flirty playful teasing thing. You're kind of calling him like trailer park trash, right? But not really. And it's just a joke. And if he ends up getting too offended by this, right?  And if he does, it's no problem. Here's what you do. You say, it's okay. The truth is that I do that sometimes or just it's okay. I was just messing with you or something like that, right? It's not a big deal. If he kind of, if he's kind of a stick in the mud, right? Or he's whatever and he's taking things a little bit too seriously, you can always do something like that. And that will end up actually being emotionally engaging. Cause it's not a problem, right? It's not a problem if you offend a guy or if he gets a little bit triggered by something. It's not a problem at all because it's emotional engagement. There's a thing that I talk about called the emotional range principle. And you want a man to feel a whole bunch of different emotions. And if you take things a little bit too far, you can jump back the other direction. And it's actually better than not taking things too far and keeping everything boring and in the same level all the time because he has that range of emotion that he ends up going through. And so it's okay to take things a little bit too far and then pull it back because what ends up happening is he gets more emotionally engaged than he would if he was just, you know, you just had some boring conversation where you didn't take things a little bit too far with him. And so number four, number four is actually communicating with yourself.  And so you first need to have a conversation with yourself.   And what's gonna happen if you don't believe this? If you don't believe this, then you're going to settle for bad guys, for bad situations, you're going to be a pushover.  You're gonna let guys do anything they want to and get away with any kind of behavior they want to get away with. And you, a guy will not believe that you are a valuable, attractive, amazing woman that he needs to commit to, that he needs to do all the right things with, that he needs to win over because of something that I call the law of belief transference. The law of belief transference states that whoever believes something to a higher degree will transfer that belief onto the other person. So if, even if he initially meets you and he thinks in his mind that you're an amazing, beautiful, valuable woman, if you in your mind do not believe that, then that belief will get transferred on to him and he will stop believing it as well, right? He will stop believing that you're valuable as well. Because of the law of belief transference and you've probably, you might have experienced this before which is why techniques and tactics and just things to say and all that kind of stuff can work. They can work temporarily but they're never a long-term fix. You have to work on what's inside of your mind.    You're going to allow yourself to get into hookup situations that are going nowhere.  Whereas if you believe in your value you're only going to get into situations that serve you. You're only gonna get into situations where the man treats you like the valuable, amazing, special, fantastic woman that you really are.  And the number five is what not to do and you never want to try to prove that you are the right woman for him. You never wanna prove that you never want to treat him like he is the one that you are trying to win over. Because like I said before, if you're not the prize, then men feel no emotional attraction for women who are not the prize. Men feel no desire to commit to women who are not the prize. Men feel no need to court women or treat women special or treat women well if they do not believe that you are the prize. And so you want him to believe that you're the prize and so you should never beg a man, you should never try to convince a man, you should never plead, you should never logically talk it out and tell him how you guys would have amazing babies together and all that kind of stuff, right? You would have great genetics and all that kind of nonsense. You never want to try to buy him a bunch of things in order to prove to him how much you like him. You shouldn't try to commit to him before he commits to you to try to show him how serious you are about him because that does not work, right? It's the metaphor that I have is jumping in the pool before he's even decided that he wants to get in. You're swimming in the pool looking up at him and he's like, I don't even know if I want to get in. You're like, I thought we were going to swim together, right? That's committing to him before he commits to you, never do that. Don't over invest in him because the more invested you are, the more you reach out and contact him and do all the things for him and set up dates for him and buy him things and do all the things that invest you into him, the more attached you're going to feel, the more in love you're going to feel, the more all those things you're going to feel to a guy who's not even really that into you yet, which is why it's very, very important that you follow all the rules that I have in the forever woman program. If you don't have that yet, check out the foreverwomanformula.com and you will learn all of the best rules. So if you have any questions or anything, go ahead and put them in the chat right now and I will get to whatever questions that you have and also put in the chat right now. The question for the day is, what is great about you? What's great about you? Put what's great about you in the chat. All right, so let's go ahead and talk about some of these questions. Sandy says, this is number one is let him know you're the prize and he isn't living up to your standards. That's right. That is exactly what you wanna do and it is great. Deidra says, I wish those were the only problems that the men who approach me had. Well, what problems do the men have that are approaching you? What challenges are you having right now? What's your biggest frustration? Ask, talk about your biggest frustration, your biggest challenge, your biggest problem that you're having with guys right now in the chat and I will go and look at your situation and I will help you with it right now. So go and do that. Sandy says, Matt, you're almost the perfect guy but you haven't asked me out on a date yet. Perfect, good job Sandy. I'll give you a high five on that one. That's a good one. That is a good one. I definitely have not asked you out on a date yet. CJ says, another winner from Matt, good vibes from our coach. Well, thank you CJ, I appreciate you being here. You're awesome, so thank you for being here. Rachel says, I love this, very playful and light. Well, I'm glad you like it. She definitely use it. All right, let's see. Shayla says, hi Matt, I love this new video style. Well, I hope you do. I just got this camera and it's great. It is great. Let's see. Samantha says, I get it. I am learning how to be a high value woman. The best way to start is to start with your belief systems because if you start with your belief systems, then all the rest of the stuff will be easy. Start coming naturally for you and it won't be a big deal, right? Because if you come from a space where you're like, hey, I'm really high value and I believe in my value and I believe that I really deserve something great and I believe that I deserve a man who treats me well, then all of a sudden you'll be like, yeah, I want a guy who treats me well and it'll be really, really easy for you to communicate that. Christine says, I am valuable. High five to that, Christine. You are valuable. Lots of people get it. S says, Matthew, I love your smile. Well, I appreciate that. I'm glad you love my smile. Susie says, what if he gets silent and just stops texting or calling? Well, I'm assuming that you're not talking about the situation that we have been talking about here, but if a guy gets silent and stops texting or calling, the first thing that you want to do is give him some space, right? You want to give him at least a week of space, if not more, right? And just see what he does. And the first thing that you want to do actually before you give him a week of space is you want to figure out whether you're in a committed relationship or not. If you're not in a committed relationship, which a lot of the women that are coming to me are not in committed relationships, but they're still completely attached to some guy, then you want to be dating other men. You want to create abundance, right?  Because he's your world. He's the only option you have. He's all there is. That's a world of scarcity. A world of abundance is a world where there's lots of men. There's plenty of men out there and if he does something weird or whatever, it's no big deal because you have a lot of other options going on. You're connected to other men. You're connected to other people. You're getting your significance and your certainty and your connection from other sources and so it's not as big of a deal. And so the first thing that you want to do is have an abundance. The second thing that you want to do is give him some space because who knows what's going on with him? And the question is where did it leave off? Did it leave off with you asking him a question and he's ignoring you or are you leaving it off where you guys had a lull in the conversation and he just hasn't reached out after that? If it's just a lull in the conversation and he hasn't reached out, look at the dynamics of what you guys have been doing. So if he's been moving forward and pursuing you and chasing you and investing in you and taking you out on dates and doing all that kind of stuff, it's not a big deal to reach out to him. It is a big deal to reach out to him if he hasn't been taking you out on dates. He hasn't been pursuing things. He hasn't been initiating contact. He hasn't been doing all those things. He hasn't been investing. If he hasn't been investing then you just wanna give him space for a while and then send a message to him at some point if after a week or two he doesn't reach out to you you can send him a message to find out what's going on. But if he has been doing those things it's okay to reach out, right? It's not a big deal to reach out as long as you're not initiating more than 50% of the time. And there's a reason for that that's not an arbitrary number. If you are reaching out more than 50% of the time you're not gonna know when there are red flags going on with him. And so you can reach out once every three messages. You can reach out once every other message. You can reach out once every four messages. It's okay because relationships are built together. It shouldn't be a one-sided thing. It shouldn't be all him. It shouldn't be all you. It should be building things together.  Is he moving towards you? If a guy is moving towards you and he's investing in you and he's in his masculine energy with you and he's doing all the right things you can do a lot of stuff. If he's not doing all the right things then you need to do things a little bit differently. But you didn't really tell us what's going on with you Suzy. So that is where I will leave it.   One, you shouldn't allow any man to treat you like crap, right? You should have boundaries, you should have standards, you should communicate what your boundaries and standards are. If a man passes those boundaries and standards you need to let him know that he is not behaving in a correct manner and you gotta let him know that what he's doing is not appropriate and you need to look at yourself as the prize, you need to look at yourself as valuable and you need to communicate the things that I was talking about in this video so that he starts trying to win you over, he starts chasing you, he starts investing in you, he starts putting a lot of effort into you because the more effort that you put in the more that or more of the effort that he puts in the more that he's gonna value you.   If you let him walk all over you, most men will not because they want to but because that it's just, it's human nature, right? Women do the same thing with men. If you meet a man who's just a doormat, right? Are you gonna respect him? Are you going to treat him really well? You'll probably lose interest and disappear. That's what most women will do. And it's the same with men, right? They might kind of treat you badly. The difference with men and women is that men will put up with women that don't really, that aren't really all that valuable to them or aren't respecting themselves because they want to continue to get their physical needs met. Whereas a lot of women typically won't do that unless they're really emotionally already engaged with the man. And so you want to make sure or they're coming from a space where they don't really believe that they're valuable.  And if you're doing those two things, one, you won't get into that situation because you believe that you and you know that you deserve it. And so you'll never get into a situation that's not worthy of you. And two, you're going to communicate it. And so the guy's going to know, the guy will know and he'll be like, okay, you know, I need to either act right or I need to go somewhere else. And that's what you want. That is what you want there, Gina. So I hope that helps. Susie's challenging me here. So let's see what Susie says. Susie says, you are wrong, Matt.  I don't know what an errant child is. And you're making, maybe you're talking about like an errand boy and you're making these women into their teacher or their mom, which is sexually depolarizing. That is not true. That is not what we're doing at all. We are, what we're doing here is we're setting up a frame. You're creating a frame which says, hey, if you want to see, here's the problem, Susie. Here's the problem. What we've gotten into is we're in this world right now where everybody's kind of like, you know, tiptoeing around each other. And so they're treating, a lot of women are treating men like they're children, right? Like they need to be, they need to be babied and they, you know, they need to be, you know, really, really nice to them and all this kind of stuff, right? And it doesn't work. It doesn't work for men. It doesn't work for women. It doesn't work for relationships. Instead, what you need to do is number one, you need to make sure that you're protecting yourself and you're putting yourself into a good situation. And if you're not doing that, if you're not protecting yourself, if you're not putting yourself into a good situation, a man's not gonna be really interested in you. He's not going to want to live up to your standards. You have to have standards and you have to value yourself and you have to have boundaries and all that kind of stuff. And all we're doing here is we're communicating those things.  That's what's gonna happen, right? Because what you want is you always want almost an even level of power, right? Or an even level of value, right? You want to just be, until commitment, you wanna just be a little bit more valuable than him, have a little bit more power in the relationship than him.  What can I do for you next, right? You're like, I'm not really even attracted to this guy. He's getting nowhere with me. I'm not gonna do anything with him. And eventually you're just gonna lose interest and disappear, right? But he's gonna be incredibly attracted to you. However, if it's the opposite way, right? Where you have no power, you have no value and the guy has a ton of value. What's gonna happen then is that you're gonna be working and trying to prove that you're the right man for the right woman for him. And he's gonna be like, eh, I'm not really sure that I'm really into this woman at all, right? But I wanna hook up with her. And so he's gonna settle for a hookup situation. You're probably gonna settle for a hookup situation. He's not gonna be all that attracted to you. He's not gonna look at you like you're different and special and unique and somebody that he really wants to be with long-term. And so my suggestion is that you make sure that you're in a situation where you're communicating your value to a certain degree just enough that you're challenging him.   I mean, I understand your point. And I understand your concern and your fear. But that's all it is, is fear, right? And for a lot of guys, that's gonna happen, right?  But you don't want those guys anyway. You want a man who's got a backbone. You wanna get a man who values himself, who's masculine, who wants to work to win you over, but who also is not completely sure about you yet and all that kind of stuff, right? That's the guy that's the kind of guy that's a high value man that you want. And so I'm teaching you how to communicate with one of those kinds of men in a way that's really, really attractive and that will be challenging for him. And it'll make him smile and it'll make him think, oh, this woman is different. She's different and she's unique and she's special and I want to win her over, right? And when he starts thinking that, that's when he's gonna start feeling more attracted to you. That's when he's gonna feel like you're different and special and unique. That's when he's gonna feel like you're somebody that he can actually fall in love with.  So I hope that answers your question there. Elizabeth says, what if he tells you that you are a great woman and then he ghosts you?  Cause we were just having this conversation in my community where we're talking about ghosting, right? And a lot of women have different ideas about what ghosting means, right? Ghosting to some women mean that a guy disappears even though you've just been talking or a guy disappears for a week that could be some women are like, well, he ghosts me once a week. And it's because a guy doesn't talk to me for a couple of days or something like that. And so, there's a few different questions that I have for you, Elizabeth. And one is, did he actually ghost you? And what does ghosting look like to you? Because it might be that he thinks that you ghosted him. It might be that he thinks that you're not really interested in him. One of the things that I do with some women, cause I have a lot of women that come to me or who will work with me who have had problems with men ghosting them, right? And so, what I'll do typically with them is I'll have them send out a message to the guy, right? I'll have them send out a text message to the guy, to all the guys actually who ghosted them, right? I'm like, send out and we'll have them send out the exact same text message and they'll send it out to all the different guys. And what ends up happening is that a lot of the guys end up responding back. And then I'll have them have a conversation with the guy cause I'm like, look, he ghosted you so you can say whatever to him at this point, right? You can text him whatever and it doesn't matter because he already ghosted you, right? So it doesn't matter. And so I'll have him have a conversation with the guy about what happened. And a lot of the times, not every time, but a lot of the times what the guy would say is he'll be like, oh, I didn't think that you were interested in me. Or, oh, I thought that you ghosted me, right?  I thought you were great. And I thought it was weird that you disappeared on me. And the guy's like, no, I'm actually interested, right? And I actually had a woman a couple of days ago, actually not too long ago, it was just a few days ago where she sent out this text message to the guy and then they started talking.  And it's one of those things, like a lot of times women will not show enough interest in guys because they've been taught by these really bad dating coaches out there to show no interest and don't do anything and all that kind of stuff with a guy. And what ends up happening is when I start working with them, I have them show interest, right? It's not, you don't wanna like totally all your emotions onto a guy, but you do wanna let him know that you're interested in him so that he continues to pursue you. You want him to know that you are romantically interested in him. And he will continue to pursue you if that happens. And so my suggestion is that you reach out to him. If it's been a week or two weeks, depending on how often you normally communicated with each other, then reach out to him and find out what's going on because he already ghosted you, so it doesn't matter at this point what you do, right? Let's see what we have next. Denise says, kind of a similar situation, says what if he says you're beautiful and stuff and then slows up with calling and texting?  You wanna give him space to do things because there's some kind of myth out there, right? That a guy's gonna be into you and then it's gonna be like all on all the time, every moment, like some people need space, some people need time, some people, even women, right? A lot of women do. And so you wanna look at it and see whether it's abnormal or normal, right? So if it's normal behavior, it could just be, he normally texts you all the time and now he's slowing up a little bit. That can be normal behavior, right? Especially in the initial dating phases when a guy's really excited about someone, he's trying to mess with you all the time, he's like, what you doing, girl?  And then after a while, he's starting to be a little bit more comfortable with you, right? A little bit more familiar with you and because of the law of familiarity, anything that you're around or you communicate with or you talk to or that you're in contact with constantly doesn't matter what it is. You start to take it for granted just a little bit and it can become even a lot over time. And so you wanna realize that no communication can actually be a good thing, right? Space can actually be a good thing. He needs to not be around you at some point, he needs to not constantly be in communication with you in order to miss you. And so space can actually be a really, really good thing with a guy. And so it's not necessarily a bad thing that he slows up. It could just be that he's got other things going on or that he's more familiar with you or something else came up and it's taking his priority or whatever. And so it's not necessarily a bad thing, right? It can actually be a really good thing because it can make him, his fire of desire grow into a flame of love by actually having that space there. And if you wanna know, Denise, if you wanna know more about it, make sure you check out my forever woman program at the foreverwomanformula.com because I talk specifically about that and how that works in that right there. So go check that out. You can check out my program, go watch the video. You can actually pick up the program for free. And if you wanna stay a part of the community, there's a fee to that and you can get coaching and all that kind of stuff right there. You can actually get free coaching by signing up. So check it out. Check it out. Check it out. Check out my program at foreverwomanformula.com I should start, I should do my own radio advertisements. Check out my program foreverwomanformula.com All right, so, Patricia says, what if he goes silent and quit texting and quit calling? You be, quit calling you, be he says he loves you and he needs space. Well, sometimes people need space, right? My suggestion is that you, is that you start building connection, right? I talked earlier about this idea of scarcity versus abundance. Well, there's a whole bunch of different types of scarcity and abundance. One is options, right? A scarcity of men out there and so there's one man and you're like, all right, another is a scarcity of connection.  And what you do during that time is going to determine whether he, his love and his interest and his desire for you grows or whether it shrinks and shrivels and all of a sudden he starts losing interest and starts getting colder and colder and colder. And it's very important that you don't end up smothering him and jumping all over him and you're like, what's going on with you? Don't me what's going on with you, right?  And if you continue to keep doing that and acting needy and desperate and all that kind of stuff, what's gonna end up happening is he's just gonna pull away, pull away, pull away until he completely loses interest. And so what you need to do is build an abundance of connection, right? Build an abundance of connection with other people, with animals, with nature, with yourself, right? The most important kind of connection that you need to start making is a connection with yourself. And so start connecting with other people and other things in the world so that you're not getting all of your connection from just this man. That way you're gonna be a lot better off if you do that. You're gonna be a lot better off and you won't come off as needy and desperate and clingy because you gotta get your connection from this guy because you're getting your connection from a whole bunch of different sources and it's not a big deal if this guy needs some space or something comes up at work or there's other things going on in his life, somebody dies in his family, right? That's a big one that a lot of women are concerned with or like somebody died in this man's family and he hasn't talked to me in five days, like what do I do? And it's like, well, you give him some space, if he needs it, you let him know that you're there for him if he needs it and then you just let go, right? You give him that space and you make sure that you're getting connection in other places. And if you're not in a committed relationship, you should be getting that connection from other men as well, right? You should be dating other men. Don't be sleeping with lots of other men but you should be dating other men that way you're not so focused on this one guy. And so if you're in a friend with benefits situation, if you're not committed, if you're just dating which is most women that usually come to us, you should be getting that connection from other men as well, that way it's not just all about this one dude. Hope that helped Patricia. I hope that helped Patricia. I hope that helped Patricia. So Manuela, Manuela, Manuela says I like it. I have met some decent men on there just to have to weed out the crazies. Yeah, you always have to weed out the crazy. S says I love your advice. They've been very effective in helping with not just my love life but with me feeling stronger and more self assured. So I'm happy that I can help out S and I am very grateful to be able to work with you and I'm grateful for you to come and trust me on your journey of attracting a guy that really cherishes you and loves you and respects you into your life. So thank you so much for being there. Leslie says should I run or stay? Has battled types of addiction, what should I do? Well, you have to realize that people with addiction problems they a lot of times they tend to have a problem valuing something more than that addiction. So if he's still battling with addiction problems then you should probably leave him alone because he's gonna have to work through that before he's really ready to value somebody else higher than his addictions. And if he hasn't gotten to a space where he's really let go of all that stuff then it's gonna be about whatever that substance is that he's addicted to over you. And you're not going to be the priority ever. His job's not gonna be the priority. His family's not gonna be the priority. If he has kids, those aren't gonna be the priority. Nothing is gonna be the priority over whatever kind of drug abuse he has until he gets that figured out. And so it can be really, really challenging to do that. So Marie says, thanks for the great advice. You are welcome Marie, thank you. Thank you for being here. Thanks for being awesome. Amanda says, thank you Matthew for sharing these truths. I am grateful for the reminders for me to stand up for my value. Awesome, well thanks for being here Amanda. I'm glad that it is helping you. I'm glad it's helping you. So Jamie says, what do I do when he is emotionally unavailable or says he's broken? I told him I liked him, then he said he could do the friends with benefits and couldn't be friends. How do I show him I care and want him back? Jamie, you, here's what you need to do. Jamie, this is very, very important that you listen to this. First thing that you need to do is change the way that you look at yourself. You are settling right now. You're settling for whatever you can get. And so you need to regain your power and your control of your life. You need to change the way that you look at yourself and what you deserve in a relationship. You need to believe that you deserve a man who's fully committed to you.  A man who treats you amazingly well.  Until you believe those things Jamie, you are not, you're gonna continue settling for crumbs. This guy is going to give you breadcrumbs. He's going to take advantage of you.  First giant red flag in this conversation right here is you're saying that he says that he's broken, right? So the most powerful thing in psychology, the most powerful thing in someone's psychology is their identity, right? So if he says I am broken, what he's saying is that everything that he does from this point forward is going to come from a place of I am broken. And so until he changes that belief system of who he thinks he is, he's always going to act in a way that he believes a person would act if they were broken.  It's not gonna help him. It's not gonna help you.  And you're obviously willing to put up with it because you're trying to get him back. And so what you need to do is change the way that you value yourself, that you look at yourself, that you see yourself as a human being who deserves to have a great man and a great relationship. You need to change that first, Jamie. And then once you do that, once what you need to do is start dating other men and build an abundance of men out there. And once you do that, once you have a bunch of other men that you're dating, then you can reach out to him because once you come from a place where you believe that you are valuable and once you come from a place where you have an abundance of options with men and an abundance of connection and you're getting your emotional needs from other sources, what you're gonna do when you reach out to him and he starts playing all this game of, I'm broken and I'm emotionally unavailable and I'm this wounded bird, right? The wounded bird syndrome. He's got his broken wing and you're over there trying to fix him and nurse him back to health. When he's doing that, right? When he's doing wounded bird syndrome, what you're gonna do is you're gonna be like, oh, this is kinda gross. And there's these other guys who are treating me really well. And I believe that I deserve a great man in my life.  And what you're gonna do is you're gonna communicate to him.  You need to stop doing this broken thing. You need to start believing that you're a strong and whole man. You need to heal your past. You need to let go of all your baggage that you're holding on to.  And if that's fine with you, that's fine because there's a whole bunch of men out there who are gonna treat me like a queen. And I want to be in a relationship with one of those men who treats me really, really well. I don't wanna be in a relationship with a guy like you who's not gonna treat me well, unless you're willing to step up and heal yourself, figure yourself out, and provide the kind of relationship that I ultimately want to have with a man. And once you get into that space, then it's really easy, right? The whole thing makes sense. Everything's really easy. The things that you communicate will work a lot better because you're coming from a place of wholeness.    You're an empowered, strong, healthy woman who looks at herself and says, I deserve to have something amazing in my life. And I'm not gonna settle for anything less. And when you come from a space like that, everything else will come together the way you want it to. But if you're not coming from a space like that, you're gonna continue to settle for crumbs with men. You're gonna continue to deal with this broken, emotionally unavailable guy. And you're gonna continue to get into friend with benefits where he's not even willing to be your friend, right? You don't want that. That's not where you wanna be. That is settling for far less than what you deserve, Jamie. So my suggestion is that you stop it. You just stop it, stop it, stop it, stop it. Pick up a copy of my forever woman formula at theforeverwomanformula.com. I really, I really should do a radio spot for that. Anyway, anyway. Suzy says, my boyfriend says he loves me but hardly texts or calls whenever he needs something he does. Why do men take women for granted? Let's talk about the why men take women for granted. Because you allow them to take you for granted, right? If you stepped up for yourself, if you believed in your own value, if you didn't allow a man to take you for granted, then he wouldn't. But since you do allow it, he will. You say, I feel like if we get married, he will only get worse. That is true. This will only get worse if you get married, if you don't get the right things set up right now, right? Like one of the biggest mistakes that a lot of women make is they think, man, maybe if I have kids with him, maybe if we build a business together, maybe if we get married, then things will change. Things will not change. Things will only get worse if things are bad right now. So you have to flip the frame, right? You have to change things so that he's working to have you in his life. He's investing in you. He's attached to you. He's giving to you. If that's not going on, you should not be moving forward with anything with a man. And so you need to communicate your standards, your boundaries, all that kind of stuff. Like I said, pick up a copy of the foreverwomanformula.com. Linda says, me using the mantra, you are the prize helps tremendously.  That is fantastic, Linda. High five to that. Use that as a mantra. If you need it, get some drums, get into a drum circle. Pop, pop, pop, pop, pop, pop, pop, pop, pop. You are, I am the prize. I am the prize. Whatever you gotta do, right? Say it to yourself. Sing it in the car. Perform in the car. Talking about how you're the prize. Whatever you gotta do, do whatever you gotta do to remember that you are the prize, that you are a valuable, amazing woman who deserves a great man in a great relationship and do not settle for anything less. All right, so I gotta get going here. Thank you so much for being here with me today. If you don't have the forever woman, go check it out, theforeverwomanformula.com. Thank you, everybody, for being here. And I will speak with you again soon and always remember, you are worth it. You are what?


Okay, muy buen día, gracias a todos por venir. ¿Qué tal? Hello, I'm Josef Dabernick. And who of you has used the rules module in Drupal 7 or 6? So I guess more than half of you. That's cool, awesome. And today I'm talking about rules in Drupal 8. It's not ready, disclaimer. But we can already see a lot of things and hope there will be stuff that gets you interested. My name is Josef Dabernick. My Twitter handle and wherever in the community you can find me as Dasio. I'm originally from Austria. That's in Europe. That's a capital city in Vienna. But I recently moved to Zurich to work with the amazing guys from Amazelabs. So I work as a deputy head of technology together with Michael Schnitzel. You probably know him from taking pictures of Drupal cons. Together we run a team of 12 developers. And we also have sister companies in Austin and another company, Amazemetrics, which is specifically dedicated to SEO solutions. Yeah, that's our team. So we're very dedicated to design. And we always have job offers open if you want to move to Zurich or Austin and you feel like you want to be part of that amazing team, obviously let us know. Well, you might also know me from contributed modules like the Facet API Pretty Paths or my master thesis that I wrote into your cluster which is about how can I put millions of points on a map and still have a performance user experience. But what really keeps me passionate for Drupal is not just the technology, but you guys, the community. And actually I started using Drupal extensively when I lived in Central America. And there I started doing Drupal tours. So I traveled from down Nicaragua through El Salvador, Guatemala, Belize and Mexico. And two years later I traveled again down to Costa Rica doing presentations about Drupal because I think the ability to share is what helped me being a successful contributor and successful like doing a successful business with Drupal. So I think it's very crucial that we share this knowledge. And this also makes me very happy to be able to be part of the first Latin American DrupalCon. Yes. Okay, so far for the intro. DH Rules is an initiative that is not just me but we are actually a team. Surprise all of those five guys, we are from Austria. There is the creator of the rules module, Fago. You might know him also from other modules like the entity API field collection profile too and much, much more. And Klaus is his commentator. We also have Fubi on the team. He's the creator of the Omega-4 module and they are very dedicated Drupal core contributors. I'm responsible for communication and we also have a designer on board. Nico has also done quite some designs. They have the Drupal website, maybe you know that. Drupal is a website where you can have a nice overview of all the Drupal events. Well, and so together we figured the rules module in Drupal 8, it's gonna be difficult. The reason is rules is a very complex module. Has anyone ever debucked the rules module? Has anyone ever tried to step debug through rules? How do you like it? Yeah, I had the same experience. So we figured it's gonna be hard because those guys are really, really busy. Klaus is working on the security team. Fago is maintaining Drupal core modules. He's running his own business. But we kind of want to do this. So we formed the team and we did some other steps that I will explain later. But what is rules, actually? I mean, there's this great presentation from Amitabh. You should look it up. It's from DrupalCon Copenhagen, which was my first DrupalCon. It's about organic groups. And Amitabh was interviewing different people from the United Nations. And there he has a quote where Angela Merkel, the German chancellor, she says, there must be rules on the rules. So I guess at some point we all need rules. We also need rules in our community. We even have a code of conduct which helps us be respectful with each other. But rules, obviously, in terms of Drupal, it's more about I wanna have some logic in the system. I wanna make something happen on the website. So there's an acting user or something that's happening on the system. It doesn't have to be a person per se. It can also be like a cron job that's running. That's generating an event. And then we have some conditions to validate. Do we really want to do something right now? For example, the content has been updated. And if the condition, the content offer is different than the acting user, then I want to invoke something. Let's have an action. And in this case, I will send out a notification. That's the very basic concept of rules and by just combining any kind of event with any kind of condition and any kind of action, we actually can create what we call a software engineering touring complete machine. So it basically allows us to do any programming. The cool thing is, I mean, you can do this in code, but the rules module allows you to do this via the admin user interface. So it really is an efficient way to create those events, specify the conditions based on all the metadata that is available in the system and then react on it. So rules really is about building flexible workflows using those events, conditions and actions. And for example, we often give it to our clients so that they can customize the emails they want to send out. Have you ever had the experience that the client wants to change some string that has to be sent out? And you have to ask your developer to change that string in the code and you have to deploy it. It's really tedious, right? And it's not the work that we want to do on a daily basis. So why not just set up a rule that the client can configure themselves? Yeah, we can also create custom redirections, system messages, and the rules module has shown to be pretty successful. It's not something that you would install on every site. I also know a lot of people that say, I don't need rules, I don't like this module. It's not the way that the developer should work with the system. It's like this clicky thingy, right? But on the other hand, we consider, there's hundreds of integration modules. It integrates into the whole system that makes Drupal so powerful. We expose all the entity-mated data, the fields. We can iterate upon views. We can access all the data from hundreds of integration modules. So on one hand side, rules might be considered as a toy that site builders want to play with, but on the other hand, it's also very, very good for the developers so they can be forced to specify the important APIs. And so rules, for my feeling, is a very good system that allows the bridge between the developer and the site builder to be as efficient as possible. Because when you provide an integration with rules, you will be sure that anyone can integrate. Well, that was kind of the success story of rules in Drupal 7. And for Drupal 8, we obviously had some ideas. In general, we've seen from the keynote, there's a lot of excitement about the object-oriented programming. Rules in Drupal 7 already embraces some of the object-oriented programming, but now we can really rely on the plugins and all the systems that are already in place for Drupal 8 and we don't have to bring in our own plugin system, for example. And yeah, I mean, that's like the base, the general excitement for Drupal 8. But what we wanna bring as a rules initiative to developers is really align how you work with rules with the Drupal 8 developer experience. So the object-oriented style, the dependency injection and everything should be as aligned as possible. And also, as we are one of the first big country modules, we wanna show developers how the coding style of Drupal 8 should look like from our perspective. That's by using extensively the plugin system. We are relying on all the good things that Fago brought into the Drupal project as the entity API, which now has a spin-off called typeData, which is actually more of an abstraction, sorry. So typeData is really a low-level API that allows you to specify how the data is structured. And we can use that in entities, we can use that in fields, but we can also use that just for parameter configuration because the way that rules works, we always need to specify some input parameters that we can then process upon and then forward it, for example, to the next action. And all that system can now be based on the generic type data API that is shared across the whole Drupal 8 ecosystem. Low-integrations, like who has used panels? Penals module, yeah? So you remember the confusion about context in panels and the context module. Context in panels is actually the very same thing as we are dealing with in rules because we wanna specify the data that we need and then we wanna forward it and so on. And the way that panels context work is really the same, I mean you specify you want an input parameter of type user and then I'm gonna use the email address of the user, for example. So we have some common problems across Contrip in Drupal 8 and as earlier as possible, we're gonna tackle those. The better, like the whole consistency of the system will end up being. Deployable config via CMI. I mean, who doesn't love CMI? Rules in Drupal 7 already had its own exportables but now we can really be aligned with the whole system. So I think from a developer perspective, those are like the big wins that we kind of envision for rules in Drupal 8. And then there's this whole topic I already mentioned a bit about the reusable components. So we're trying to share the context API with projects that already exist. So page manager is like a spin-off of C tools in Drupal 8. It's already using the Drupal core context API. So we're working together on fixing core bugs or improving those APIs that all the systems can work well together. We will need tokens. You remember, specifying email. Within the email, you wanna have the username being printed. And there's, who had problems with tokens in Drupal 7? Incompatibilities, yeah. So I'm not sure if we're gonna be able to fix all the problems, but at least we are trying. Yeah, so we wanna make tokens reusable. And then type data. So the way that you can specify parameters on top of the specification, what rules usually does is exposing a form. So that the user, for example, can enter the date that is required to execute this component. And that's also used, for example, in use bulk operations, right? So when you, I mean, that's probably something that not everyone has used, but in Drupal 7, you can specify rules components. And then you can tie them into the views bulk operations. And then the user can input the data that is additionally being configured. So such widgets for inputting the data and also formatting any structured data, we will have to do it in rules in Drupal 8 and we wanna make it reusable. Because it's not something that is specific to the rules use case, but it's something that we can solve on a general level. And if you have been to the talk of Eclipse, you see yesterday, all the thing about making components better decoupled, I think it's really important that it's something that we wanna embrace during the rules Drupal 8 port. And then I think, yeah, embeddable UI components. So for example, you could right now, you can already the Drupal 8 conditions API is already tied into the block system. So what you could also do is then a rules condition could just be exposed into the block UI configuration as a selection rule. So specify the visibility of blocks via rules conditions. As for example, a possibility that we see here. And finally, I think one of the major advantages of the rules module is obviously the UI and you remember the data selector. I mean, there would be so many places in Drupal where we can reuse the same data selector. When we in panel specify a context, we could just use the very same data selector as we have it available in rules. So that's kind of our vision here. Site builders, site builders should obviously get all the admin UI improvements that we have seen on a general level in Drupal 8. So Drupal 8 has a much more consistent UI. Unfortunately at the very same moment, but there's a very good session from Luis Neiman about how they created a style guide for the seven theme. So we're working hard on solving the problems that we see for the rules UI. We haven't implemented it yet. But the idea is that all the UI components that we have to implement for rules, they should be shareable because there will be similar problems that other modules have to solve. For example, okay, you need kind of a complex ad dialogue. We have already seen that in the views UI, right? So in views, you kind of say add a filter and then you can select from all the available filters. I mean, in rules, it's pretty much the same. I wanna add an action. I wanna have the actions grouped by category. So why don't we just rely on the same UI patterns? And that will also help site builders use the site more efficiently because when we have the similar approaches across the system, it just makes more sense to them. Yeah, site builders, as mentioned, the views bulk operations that Larry showed in the morning, they are part of Drupal core. So, and there's also an action and conditions API in core. So if we would be able to expose rules actions using the standard actions API, then we would be able to use just right away the simple bulk operations. I think that's pretty cool. And who has worked with rules components? I have this experience that working with rules components sometimes is a bit hard or creating advanced logic. Maybe advanced logic should not be in rules at all, but if we already have the tools available, I wanna do an if else or I wanna do this kind of logic and you really, really quickly hit the boundary where rules forces you to build the logic bottom up. You have to first create the components that you then call in the parent rule that you then call above. And nobody understands the system at all anymore. There's a contract module. You should check it out in Drupal 7 that's called rules conditional, which allows you to create those advanced logics. But for Drupal 8, we kind of feel that inline rules is a concept that will just help us get rid of all of those problems. So if you're able to nest rules and rules using a top-down approach, and we haven't figured out the UI on that yet, but I think that will really help us. And if you're like, if any of those ideas gets you interested, you should really come tomorrow to the sprints and discuss details on that with us. So that all sounds nice. I think you already should already go online and download the rules module, right? And then you can just try it out. Before that, we have to do it. And it was almost a year ago, just before Drupal developer days, where I talked to Flago about the concerns that we have, that rules will never be ported to Drupal 8 because everyone is just too busy trying to work on Drupal Core and Contrib is usually an afterthought. But we felt like it's really, really important and this is why we came up with the DEAD rules campaign. So probably have seen such stickers around. So we're really trying to make some, to get some momentum there. And the vision is that as far as earlier as rules is there, the earlier other contributed modules can also get their integration supported. So the big goal of DEAD rules is accelerate all the Drupal 8 uptake altogether. Obviously site builders will be able to create their flexible workflows. And the whole initiative for us is also about making a statement that contribution just takes a lot of time. And we are in an open source society where we kind of rely on each other. And I would really recommend like, I don't want to go too much into detail because this session is more about developers, what we can expect for Drupal 8 in rules. But I think the whole discussion about sustainability in Drupal is really important to have. And Street did a very, very great keynote in Amsterdam that you can watch online about his vision of how the whole Drupal ecosystem can make contribution more sustainable. Check this out. We decided, okay, we will do some crowdfunding. And thanks to those more than 300 individuals donated to help us get the rules more important. Because as said, the developers they don't have enough free time. So our decision was the companies that employ Fago and Clausi, they provide a community rate of it's 45 euro. So in Austria that's like, usually in Austria you would charge your clients like 100 euro for example. But it's like the base cost where they can employ their developers to work on it but they don't make any money anymore. And all those individuals and also those generous companies help us gather funds to kind of, kind of, yeah. The funds that we need to get the rules module ported. And how can we up with this number? It's basically a bit more than 1000 development hours that have been estimated to port the whole rules module from Drupal 7 to Drupal 8. And as you can see, milestone one we have successfully funded. We haven't figured out the solution for the other milestones yet. But it was really a great success for us to being able to motivate so many people to just chip in and help us free up some very precious top Drupal Core developer time to not only work on Drupal Core but also work on the rules module. So we did that. We did that campaign about April to May last year. Then we had the money. Then we just had to do it. And we came up, like the development roadmap looks like this. So in milestone one, we worked on the rules core engine, implement all the plugins, the rules actions and conditions APIs of Drupal Core. Our vision was really to match them to, like if we can decide to fork the system or we can try to fix it in Drupal Core. And as long as Drupal Core is not frozen, that's the thing to do, obviously. So all of these steps, they have like an error. So they are like almost, almost complete. Mystone two is about completing the rules engine features, the advanced plugins like events and loops, the entity token support, the CMI integration that has already started and some generic integrations. And then in milestone three, we'll tackle the user interface, the reusable UI components. We also have to upgrade the scheduling. And finally, the existing integrations, rules, ships, which with quite some actions that integrate with Drupal Core. For example, there's an action to send out the mail. And together with the community and sprints, we've already ported lots of those core conditions. And that's also, it's really a great thing where we work together with the community to train all of you on the new Drupal 8 APIs. And we did that at several Drupal camps and Drupal cons. And so right now, we already have 45 forks of the rules model, which is developed on GitHub. All those people have patches committed or pull requests being merged. So that's really cool and thanks to all of those. And if you wanna be part of that, find me tomorrow in the sprints. Okay, so that's how that works.  Awesome, cool. So, and who has already written rules integration let's say in Drupal 6 or 7? Implement action condition, cool, cool. Awesome. So the way we gonna do this in Drupal 8 right now is, well, we need a working Drupal 8 installation, obviously, and then we go on GitHub and just fork the rules module from Fago's repository. It's pretty straightforward, as mentioned, already 45 people have forked it. And then we kind of have to figure out what to do there. There in the issue queue, we have some novice tasks. So there's like some pretty easy tasks to get started, but most of them are a little bit more advanced. And I'd like to walk you through the different APIs that you will work with.  I have a background in computer science, but I wouldn't consider myself as the best developer at the Maiselabs, I'm more like specifying tasks and reviewing all that stuff. So bear with me if there's any errors or in there. But I tried my best to understand what Fago and Klausie and Fubi did there. Okay, so there's different APIs in Drupal 7 for rules, and one of them allows you to expose structured data to the rules. So in Drupal 7, we have the rules data info, and we can also, like the whole entity API, the entity property system is exposed. So there's those two hooks. One to add new data. If you wanna expose, for example, you have some custom table in your database and you wanna make rules aware of the custom structured table, you can do that by a rules data info. Or if you wanna add some additional properties, you just do it with the entity property info alter and rules will automatically pick up. That's the same process, for example, that we use when working with search API. If we wanna index something in addition, we just create our own properties, which is cool. So in Drupal 8, we have the whole type data system. And the type data system, as said, allows us to access the structured data, and there's some interfaces, there's the primitive types and the complex types, and I will show you some examples. So you can see that there's a, let's see if I can do, oh yeah, okay, there's a primitive base that, for example, the floating class extends, and we can already see that there's some annotations being used, and yeah, it's pretty straight forward. The primitives need some castings, and then there's more complex properties that would, so for example, if something is like a structure, what we do here is specify all the properties in the property definition function, like for example, the link item has a URL and the title and so forth. I tried to reduce those examples to the most important stuff. So that's the way that we can describe data in Drupal 8. So basically, all you have to do in Drupal 8 is implement your own data type plugins. So it's just a plugin class that will be picked up by the system, and then rules can also deal with that. And the entity property info alter is now a standard Drupal hook that is called hook data type info alter. Okay, but the usual stuff that you do when working with rules is you wanna create your own actions, you wanna create your own conditions, you wanna create your own event, and to do that, let's get like a quick introduction in the whole object-oriented programming style that has changed quite a lot from Drupal 7 to Drupal 8. So we're using annotations to describe the plugins that we have instead of info hooks. We have auto-loading, so it just puts the plugins under a specified folder and file structure, and the system will automatically recognize them. Yeah, and there's also like discovery is basically together with the auto-loading and derivatives, we have not implemented any derivatives for rules yet, but we will certainly have them. So imagine there is a create entity action. We could create derivatives that says create entity of type note action or create a user action, create a taxonomy term action. This would basically be derivatives of a standard plugin based on their entity type. So how do we provide conditions? In Drupal 7, we had some info hooks and some callbacks, not very well structured. I think that the way that we have it now in Drupal 8 is much more approachable because you have everything self-contained as the following example. So this is the class that says node is sticky. So I have a condition that checks if a node is sticky. And instead of the info hook that is somewhere else in the system, I really have it right next to the class in the annotation, which is a, there's no first class annotations in PHP, but we use the doc blocks. To get there. So the condition itself, what we usually expect in an info hook is now within the annotation. And we can see that for example, there's some add translation tags which allow us to make that translatable. I will get into the context later on. But that just tells the system, okay, I will have now the machine name rules node is sticky in the category of the nodes. So this condition is now based on that annotation being registered. And that's it. Then what do I have to do? I will just extend the rules condition base and implement the evaluation function. I will explain the context later, but what the condition usually does is return a true or false value. So in this case, we are checking if the node is sticky and that's all what the rules do. So who thinks this is too complicated? Cool. Awesome. Okay, actions. It's pretty much the same. We again have the annotation. In this case, we have an action that deletes any entity. We could have derivatives which allow us to delete just nodes. But for the sake of simplicity, let's just keep it with the entity delete. And instead of an evaluate, we have an execute function and that's it. We just straightforward. Finally, events. We don't have events yet. So yeah, it just hasn't been implemented yet. So what we have right now is all the actions and conditions. We already have like 10 conditions, 10 actions ported and it's pretty cool. I mean, it's not only this, but we will see how to test them later on. But it's a really good way to get into the whole plugin system of Drupal. Good. Context. So rules have to act upon a specified context. So all the data that the rule gets, for example, the event would be entity has been created. Obviously, there is an entity to be expected that we wanna work upon in the system. And the way we do this is in the annotation, we also have the context keyword which allows us to specify the context that this action expects. So in this case, the entity delete needs an entity which should be deleted. It's pretty easy. We can see it down there. We can get the entity by this get context value and the value just corresponds to the key up there. And yeah, in this case, it's of type entity, but this could be any type data. So I could also get a parameter of type float, for example, and then it would just be the same. So that's the way we specify the context. And for using the context, I have a more complex example here. So there's an action that's called data list item remove. So I will get a list of items and I will also get just a single item. And what this basically does, it's just iterating over all the items in the list, checking for the items that match. It's removing them. And in this case, we're not only getting the context, we're first getting the list of items and the individual item, but we also have to update the context. So the new list will now be used, like kind of similar to if it's being treated as a reference. And that's how the context here works. And then we have, so we have been working with the context that we receive. We have updated the context, but in some cases, the actions also provide new values. So in this case, fetch entity per ID, we'll get an entity type and the entity ID, and then do its magic using the entity manager by loading the specific entity. What it will do in the end is set a provided value so that all the subsequent actions in the rules execution stream will be able to access it with this name. That was using context, so we can get a context, we can set a context, and we can set provided values. I guess this is really the basics that you really, really need when you work with the rule system. There's also a way to use rules programmatically. So what we can see here is there is an expression manager, so everything in rules is an expression, like an action is an expression, an event is an expression, a condition is an expression. So the expression manager allows us to create a rule, and in this case, we specify that there should be a context of type string, and then to the created rule with the context, we can add a condition, and what we do now is a context mapping. So the text that's needed, it should be a select, and that's then mapped to the test here. And finally, we can add an action to be executed and set the value test to be the test value, and then execute it. So that's, when you're not using the user interface, I did that in, has anybody used the rules API without the interface? We did it quite some time because, I don't know, you have used the entity metadata wrapper, and it's just a bit easier from the command line. All right. And then, a bit more of an advanced example with context is that, for example, consider a condition that provides the provided text variable. Then there's an action which provides a concatenated variable, variable, sorry. In the end, we sometimes need the context mapping because if the same action was executed twice, it would just override the previous provided parameter. And if we specify the mapping here, we can say that the second action, the second rule test string, instead of concatenated, the variable should be named concatenated to. That's basically what rules does internally. Maybe you have noticed that when adding the add variable action several times, the variables will just get different names. Obviously, it makes sense to do so. Yeah. All right. About storing configuration. So in Drupal 7, we have different systems, how to export configuration data. We have the whole C26 portable ecosystem and features. And rules kind of had its own system in terms of, because for readability, we decided to provide some kind of JSON export. So whenever you look at an exported rule in Drupal 7, you will see that it's pretty well indented and it's not just a serialized array or just a serialized dump, but it's actually a pre-defined JSON output of the rule. Yeah, and that's all the functions that we have in Drupal 7. In Drupal 8, it's gonna be much easier. So we will just rely on the YAML files. We're still working out some details there and it's not implemented, but it will just be easier to operate. Yeah, so that concludes the basics that you deal with. When working with rules in Drupal 8, you will wanna specify additional metadata to be exposed to rules. You will have to implement the actions, the events and conditions, and you will obviously deal with the context API. Context API, by the way, is part of Drupal Core, so it's also used in other systems. If you wanna look a little bit deeper, you can also specify your own plugins. So one example would be the rules conditional module in Drupal 7. It provides a separate plugin for the if and else statement, and that you're gonna do just by extending the rules expression plugins. Then there's specific, there's the possibility to specify input evaluators, and the possibility to specify data processors. So an example for a data processor would be the numeric offset. And I guess you have seen this when you import, when you have an action that requires a number, you can also use the data selector to select, for example, the, let's say, the count of users or whatever you have stored there, but the numeric offset would allow you then to just add a number as an offset to that. Yep, user interface. It's not there, sorry. You don't need it, yeah. I mean, the APIs are so beautiful, why would you ever need a UI? Yes, yeah, we should do a console integration tomorrow. There have been some proposals. I mean, I think the rules UI is kind of controversial. It's some say it's too overwhelming, some say it's too limited. It's, I guess it's really hard to make a perfect user interface for such a generic tool that we have. So there was a research project called FluxCraft. It's really interesting. It's not just about the UI stuff. FluxCraft is about creating the whole web automation, like if this then that, dot com, but based on open source technology. So the idea of FluxCraft was to use rules and all the user interface capabilities to create an if this then that based on open source technology. And part of that was creating UI proposals to make it more simpler. So the rules you use the interface sometimes is considered to be just too complex. And I have a ticket in the queue that lists all the references. So if you're interested in studying those proposals, there's the FluxCraft UI. There's a module that's been around for quite a while, but it never was really picked up. I guess it's not that the concept is not so cool, but maybe the implementation was not great, but that already exists. Rules Transformers already exists in Drupal 7. It would be just another way of how you do the programming in a visual style that you have like the individual actions and then input parameters and output parameters that can just be connected in a flowchart style. There's also the no flow project which got quite some momentum on Kickstarter. And some of like Fubi is thinking about we should experiment with the JavaScript-based front end for the rules configuration. Yeah, there's a ticket 2251267. If you're interested in chiming into the discussion, I think this is the time where we can incorporate feedback, but the 1,000 hours that we have estimated will not include any fancy user interface. So the plan for the initiative still is pretty much poor. The existing rules interface to the new technologies of Drupal 8, but iterate like in smaller pieces where we kind of see opportunities to streamline. At the moment, we do not plan to make a crazy rewrite, but as everything is pluggable, anyone can come and implement the rules user interface at their taste. So while the UI is not there, how can we do stuff with rules? I mean, it's super boring. We implement our actions, we implement our conditions, but we don't know if they really work. And as everything in Drupal Core, we embrace automated testing quite extensively. We have some unit tests to test the individual components internally, but rules is really more about integration because we kind of need the action manager, condition manager, type data manager. It doesn't really make sense for us to mock all the systems. So mocking in automated testing is you really focus in a unit test, you really focus on that unit that you wanna test. And if that unit has interdependencies on other systems, you usually create mocks for them. So we are kind of in a hybrid situation where we don't bootstrap all the Drupal system for performance and we don't really need it. But still we're writing more integration tests because it doesn't really make sense to, as you've seen before, the execute statements are usually just one or two lines of an action. It doesn't really make sense to just test this part or we feel that it makes more sense to test the integration here. Okay, let's look at an example. Data list count is a condition that checks if the count is equal, less, or more. So you have two, basically three important parameters. You have the list, you have the operator and the value. And based on the combination, it will just return if the data list count is greater, equal, or lower than. Okay, pretty straightforward condition. And the test, that's a abbreviation. We have lots of more test cases. But how it looks like it extends the integration test base. And then what we do is we create a condition and we set all the context values, like the list should be one, two, three, four, operator greater than two. So the list count of a list with four items should be greater than two. So what we do is assert that this condition evaluates to true. Easy. And vice versa should not be equal to zero, the count of a list that has three items. So we are asserting false that it's equal. That's the way how the tests look like. And then we also have the entity integration test base which brings in the whole entity system. So usually in those tests, when you look at them, you would have to do a lot of bootstrapping. You have to mock all the systems, get all the managers ready for you. So this is why we have some test bases that allow you to do so. Let's look at another condition, entity is of type. So we get the entity, we get the type string, and then we just return if the entity type matches. Now when we look at the test for this, this took me a little longer to figure out how it works. So what we do is we create a mock for the entity. So we don't really create, we don't do an entity create or we don't instantiate a real object, but we get a mock that implements the entity interface. And then we set expectations.  So what I care about here is that get entity type ID should be called twice later on. And that kind of struck me because right now I already have to think about what's coming down there and that's not the way my programming mind worked so far. Well, anyways, let's just assume this is how we do it. So we expect get entity type to be called twice and it will always return node. So we now have a fake object that on two times on get entity type, it will return node. And what we're gonna do with it. Down here, we set, we have the condition and we set the context value entity to be the mock entity and we set the context value of the condition to be node. And then we check this condition should evaluate to true because we have a mock object that returns node and we are checking for node, so this should be true. And then in a second test case, we set the context value to taxonomy term and now we assert to false. And like all those two together matched exactly to... Yeah, that's it. All right. Just a quick mention, if you dive into the rules APIs, you will deal with the rule state that keeps track of all the variables that allows rules to deal with or to apply the data selection. So based on the current execution state, which obviously changes from every action being executed or every condition being executed, the state kind of changes. If the condition is being executed, rules usually knows a bit more about the variables that are available. This is for example, the reason why often you have to put an entities of type or entities of bundle condition in the beginning of your rule so that you later can access properties. So the system differs automatically based on conditions it knows more about the entity. That's all handled in the rule state. Also auto-saving is a feature that rules has. So for performance reasons, it doesn't do a save on every single action but it does in a more intelligent way. Traits, yeah. Who has used traits? Anyone has used traits? Yeah. Okay, we use them and what are traits? Traits kind of solve the problem of multiple inheritance. We're not able in PHP to inherit from two parents. So if I'm a car, I cannot be both a vehicle and an object if they're not parents of each other. So, and there's a quote that says, traits are basically copy and paste on the compiler level or on the, is it really the compiler? Correct me for more. Well, there's one trait that you really, when you deal with Drupal 8 code, you will quickly find it. It's the string translation trait. All you provide us is the T function. As in Drupal 8, we do not want to use globals. Like in Drupal 7, the T function is just a function that you call globally. But in Drupal 8, we usually rely on services that provide us the functionality and bootstrapping those services is just like, takes a bit of instantiation with all the dependency injection that I will not show today but you will definitely find it out in other sessions. So basically, the string translation trait is something that can be used in as many classes as we want to. String translation will be a requisite that we wanna, for example, have in my class. I wanna use string translation. And then in any function, I can just call this the methods T if it was declared in my class. So a really powerful concept. You have to use it wisely. You can also rename classes. So if you have two traits that conflict with each other with the same method names, you can use traits a bit more in an advanced way. But maybe it will also freak your developers out when they try to debug stuff. Yeah, we use traits for the context. So there's a rules context trait. So there's a context that we're a plugin base in Drupal core but we need a bit more to being able to deal with the provided values, for example, that's not part of the course context system. And we use it both in the action base and in the condition base. So that's a use case where we kind of need traits because we want to inject functionality in a horizontal way into many classes without them being crazily inherited from each other. Yeah, so just a reminder, if you want to be part of this, that sounds fun. Contribution can be many things, can just give us money. We use it, we don't waste that money. We really use it for solving hard problems and we try to give back as much as possible to the whole community. So I guess if you know anybody interested in donating to rules, I wouldn't encourage yourself being for it because you're already part of this community. It's, we should talk to the people that have much money to get this done. Yeah, you can just talk about it. You can help us with graphic design. You can set up a sprint. We're happy for any help regarding documentation, bug reports and so there's lots of opportunities to help us out. So currently we're porting actions and conditions and you can find more information here or just directly at the sprints tomorrow. And that kind of concludes my session. So I'm happy to take your questions. Thank you.


My name is Jimmy, his name is Jake, and this is The Weekly Dumb, speaking of non-dumb things. How was your family? Jimmy family was good, had some family weekend times, everyone was talking about a field of dreams, because baseball was on the streets most watched baseball game in 16 years, 16 snaps, let's go. How was your weekend? I liked the field of dreams game. I enjoyed my weekend, the Yankees lost, which was a bummer for Yankees fans. But still great game, good product. I don't even like the movie. And I just liked the corn, the sneak of it all, the shot of all of the six players taking that first step out of the corn as Kevin Costner looks around was actually so well done that it's like claps for the players because they were actors in that moment. They all just step in unison and they're an opposing team. So you know, they really had to. I don't think they're actors in that moment. I think that's strong. I think athletes also have to do things in unison. So actors. Good job baseball. Not enough people say that. Good job. Do it again. Speaking of baseball, Jake, something big happened. Jim, we play for rings in the desert. My snakes, that's why I wore my Serpientes jersey today. This is a one of one. They made others, but this one is one of one, Jim. Can you believe it? No hitter. First career start, five snaps. First career start doesn't allow a hit. He had come out in relief, I think three times, but first career start. And it's his first complete game at any level, which is wild. And only one player got on base. It was Tommy Pham. He walked him three times. So Tommy Pham's probably like, Oh, how does time? Tommy Pham feel. How does Tommy Pham feel? How does Tommy Pham feel? It feels good. New segment. Congrats, Tyler. Congrats. And his dad was in the crowd and that was a lot of fun. And dude, did you see the eighth inning? Hey, Jake, did you see the eighth inning? Old tire eighth inning. It's my snakes. You saw it? Yeah. Ridiculous. Watching put out a reaction video. The Padres all swung at the first pitch. Yeah. Trying to get him. At a certain point, you got to get him the no hitter. I mean, that's a little weird. Three pitch inning in the eighth when he's got a no hitter line. It's the biggest gift. Tyler told them to do that. They were getting Tatease back the next day. So you have to like fully spark the team. It's got to be a bottom out before he can go up. Tatease comes back to home. It's about a bing, but a boom. Hey, that's coaching. Pashudo. That's the tingler effect. That's the sports, Jim. Can you tell us about almost, what would we break down if we had to almost break down something for him? Almost a break down. We're going to Bulgaria or Hungary? Is it Bulgaria or is it Hungary? I'm like Hungarian. I got like 10% of that. No, it's the wife carrying contest. Now these are popular, but this is Hungarian second ever wife carrying contest, which I think is hilarious because I think they look around the internet and they're like, that looks like fun. Let's have a wife carrying contest. It's our time. I do like the course that they set up because there's this one shot of this deep pool of muddy water, like a pit, I guess, of water. And a lot of the runners don't know how deep they're getting. And it's deep. It's like waist deep.  Like like a swirly. Yeah, it's a good shot of just like whatever. Camera guy was like, I just set up by the pit and watch all these wives get dunked.  Like, do I have to look into that? Yes, I've got a question.  Yeah, what's the middle tier? Like, is it, you know, looking for something to do husband and wife?   And I think they just do that. You know, farmers, they're a do stuff. Like, let's go for a hike this day. Farmers market this day. Let's go bowling. Like there's the wife just has three months in a row of just Saturday activities. And what was that weird thing they did on the podium after? Did they shave everyone's pubes? Yes, dude, after the race, all the winners, the couples, there were six of them up there. They all got out their lawnmower 4.0 manscaped grooming kit and they shaved each other's pubes. It was beautiful. It was much quicker because last year they just had scissors and they were just slowly trimming each other. That's why we didn't cover it. Yeah. But luckily, man. Luckily, manscaped got involved.  Dumb 20. Dumb 20. That's 20% off plus free shipping with code dumb20 at manscape.com for clean other regions. Find it up. I'm going to shave tonight. You are? Yeah. After the game? Yeah, probably. We'll probably get sweaty shower. That's a late night grooming session. Treat yourself manscaped. All right, let's get away from the wife caring, go to more sports. Jake, what else happened in the sports world? And the winner is Canadian woman unofficially sets world record running on all fours. Now, Jim, you will. Wait, did you say unofficially? Yes. I didn't know that part. Yeah. Well. I can also unofficially break this record. What does that even mean? She just did it? No, no, no, no, no, no. Like it's the Guinness World Record people. Like they weren't there, but you have it on tape during the time. So it's not like. It can become official? Maybe they might be able to verify it. Were you birthed on all fours? No, my brother. The video of her running is off-putting because it looks like an animal running. Yeah. But then you're like, that's a human woman. Right. And then she did say that she was a horse girl growing up, which makes a lot of sense. And she was like, I had my third kid and I was looking for a hobby. So I figured I'd get back into my roots and run like a horse again. And it's like, oh. The one part that was very off-putting for me was when she said it used to be her party trick.  And we got twisted up last Thursday. I think it's Julie ran on all fours again. I think it's not even like it's like a backyard picnic with her dad and the company.  And then she runs like a horse and I'm like, yeah, that's my daughter. Send on official record right now. Oh, on official record? Yeah. Most scissor snips with a beanie baby on my hand. OK, unofficial. That's unofficial. Not official.  Now it's in your mouth. Just a reminder that beanie baby's been around me for a while and it was just in your mouth. This is your beanie baby? Yeah. You just put this on your pants? That's been down my pants. I don't know when. I don't know why, but that's been down my pants. After more sports, we do not sports. There was a not sports video that really spoke to you. And this isn't a joke. We make a lot of jokes on here. I don't have to make a joke. This is my favorite video of the episode. Zach, have you seen this one? So these two seagulls are on a ledge. And then there's a third bird. And they kind of like bully it. And the birds backing up and falls. And then the two seagulls just laugh at it. Cackle. And I'm happy with that. A lot of people on Twitter are like, that's so mean. They are like, the birds fly. Like a bird can't fall. That bird can just fly. But they got it away. You know what I mean? Like I think birds can fly. It's the employee of the week. I like it as a country song, I think. Let's do it again. OK. It's the employee of the week. Did all your work, went back home, came back again. Did all your work. Who are you giving it to? Jolly Olive. He's right over there. Jolly Olive. New Mets show. New Mets show. Shea station. Check it out. They brought the Mets luck. And then they brought the Mets bad luck. Jolly, scale of 1 to 10. How worried are you about the rest of this stretch for the Mets? Probably 8. He says 8. Tony Reali. Wait, what was that? You mentioned the all fours thing and your brother. Should we? Luke, come here. Luke, we need you real quick. Just stand like right here. And there it is. We talked about you earlier. Oh, cool. Good things? The best thing. How are your birds like a horse? He's only been dealing with that for 20 years. We're not going to use that. That was a weekly dumb. Support for this program was brought to you by Manscaped. Join the 2 million men worldwide who trust Manscaped and get your rocket ready for takeoff by going to manscaped.com for 20% off plus free shipping with the code dumb20. I think all animals laugh, right? No. Like, that's one of those things that. No, pandas don't laugh. Very sad lives. Almost everyone in their bloodline has died. It's very sad. Don't pandas have a ton of fun? They roll around and stuff. They kind of just like masturbate, watch TV, and sit around. And a lot of people are like, well, I mean, this is why they're extinct. It's not point fingers. I think the humans keep pandas alive because they're cute. But without humans, they'd be extinct because they don't like do anything. So is that a good thing or a bad thing? That's a classic debate. God, it really is, huh? Go to pandadebate.com. PandaBate.com. We'll put a link in the bio. Can we put the link to? pandadebate.com. Our site. Is our site up and running yet? No, we don't own it yet.