Your order(s) don’t necessarily ship all of the items from the same warehouse.
Your order(s) don’t necessarily ship all of the items from the same warehouse.
The reply would have been return x % 2 == 0
, or if you wanted it to be less readable return !(x&1)
.
But if you were going for a way that is subtly awful or expensive, just do a regex match on “[02468]$”. You don’t get a stack overflow with larger numbers but I struggle to think of a plausible bit of code that consumes more unnnecessary cycles than that…
Is this meant to be a joke or is it intended to be a serious solution?
Asking for someone who lacks a sense of humor.
Ok, fine, I’m asking for me. That person is me.
Just like every basement is a hamas bunker and every sewer is a hamas tunnel.
Agree no difference as an ingredient in some baked dish.
But if you are eating the egg by itself or as the primary item, there is definitely a difference in taste. Not a revolutionary change your life difference, but still a difference.
In my experience the difference is pretty small amongst the options in the grocery store, but fairly noticable for eggs I get from the farmers market.
There are three sides to this conflict, not 2.
…by him?
Years ago I once wrote a program to view logs from a system I worked on. I used the ren and stimpy log as the icon for the file extension. It still makes me chuckle on the rare occasions I work on that system…
For first names we separately compiled lists of names that we liked from whatever sources we could find (Internet lists, books, media l names used in media, etc). We went through each other’s lists and vetoed names that were a hard no. Then we wrote the names out on a sheet of paper in random order in a playoff bracket style arrangement. Each pair had a winner until there was only one.
For middle names, it had to be something that flowed well with the first name. It also had to be able to convey that special sense of “you done fucked up” and disappointment when said with the first name (while emphasizing the second), like “John PAUL”. Finally, candidates were from (mostly deceased) family members.
Names and initials were checked to minimize bullying potential; if we could think of a way to abuse it the name or combination was rejected. For example, Karen would be a no due to current slang usage. Or if the initials would spell ASS.
What about infinity times zero?
I just watched that episode last night!
I can’t be the only one disappointed by the lack of an order by clause after being told the list was being sorted (twice!)…
The latest claim is that they have found a shaft leading underground. How much you want to bet it looks like an elevator shaft, if they even release any pictures of it…
If by simple you mean “can’t count from 1 to 10 in a loop” and by elegant you mean “easier to understand than a one line perl script” then sure…
That’s because it is absolutely terrible. It is the first serious/real “language” I have encountered since Cobol where indent level has functional meaning. This is not good company to be in.
Delete yourself you Russian shill
Omg, I have SOOoo many questions about what is going on in this picture.
No, this was something that happened sometime last year. I tried to find one of the articles but I wasn’t able to. There was a lightly damaged building, with damage from an angle that couldn’t be hit by a weapon coming from Ukraine. There were pictures showing “American” weapon fragments. It was comically bad/obvious. It was reported by Russian State media iirc.
Israel is claiming that some rockets launched by Hamas towards Israel went off course and hit the hospital.
I remember Russia staging a “Ukrainian missle attack”, but they were so bad at it that the damage was on the side of buildings facing away from Ukraine. Should be pretty easy to check that here too…
When they do something wrong, there is a perceived reward for that action. So the goal of discipline is to have a net outcome that negates that reward. But also please keep in mind that you can’t just focus on correcting wrong behavior - you must also reward good behavior!
What discipline looks like will change dramatically throughout your child’s life.
When they are little you are looking more at modeling good and reinforcing/rewarding good behavior than punishing bad behavior. If there is an object responsible for their negative behavior, remove it (that includes putting your cell phone/device away). If your childs behavior is negatively affecting other children/people around them, put them in timeout. You’ll spend a lot of time saying phrases like “hands are not for hitting”.
As they get older discipline will need to be more taylored to the individual and what motivates them. My daughter is highly motivated by praise and melts into tears at any hint that she did something wrong. My son on the other hand is more motivated by self reward and he will continue to act out if the “consequence” is worth paying to him.
With my daughter we focus more on setting “long term” goals and rewards, and very delicately give verbal corrections for behavior. I expect things will get a lot harder with her as she enters puberty.
With my son, we establish smaller rewards for good behavior (or whatever it is we are working on) and award them often. If we “catch him being good” we will give him a reward on the spot. For little things there we try to have natural consequences. When bigger issues happen there is a “larger consequence”; this is usually variable and based on severity of the issue, but also must “sting” enough that he doesn’t judge that to be a price he is willing to pay. We try to tie it to whatever action he took, but barring that the default is usually a loss of screen time (which is what he wants to do 24/7). The consequence is usually tempered if he is honest with us (because he will lie to try to get out of it, which is hilarious at this age but will be a real problem if it continues when he gets older), and is substantially negated if he comes to us and tells us before we discover it. We usually try to sit down with him and talk through what happened so he understands why it was wrong. If it involved another person, we try to get him to engage his empathy and look at it from the other person’s perspective and how that person must have felt (which sometimes results in tears, but that tells us it clicked at some level). Depending on what he did we will also try to help him understand how those actions can affect his relationship with that person beyond just that moment.
You can probably guess which child receives more discipline. But hopefully you will also see that the approach we take is taylored to what works for each individual.