When you checkout a specific commit and are now in detached HEAD state, you are by default given the message
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
That technique doesn't work (as well) when you want a single "else" block that is used when either of the conditions is false, which I think is pretty common for this sort of conditional
> Whats the difference between having sex and being a sexual predator?
I don't think it's necessary to answer this because "sexual predator" was literally Noah's description of himself and his behavior (in those words) in the apology post that led to Wizards no longer wanting to work with him.
If I CMD+R on Hacker News, it reloads the page. If I do it on outlook.office.com, it starts drafting a reply to the email I have selected. Reload button does the same thing everywhere.
Microsoft's compiler did not support C99 for a long time because they did not really think of it as a C compiler or a C/ C++ compiler; it is a C++ compiler. Its support for C90 was explained as being maintained "for historical reasons" ( https://herbsutter.com/2012/05/03/reader-qa-what-about-vc-an... ), but they had no reason to add support for new standards of a language that was outside the scope of the project.
It's odd for the author to complain about the commingling of C and C++ in compilers and then complain about Microsoft specifically not doing that.
As the press release says, menthol was "the last allowable flavor".
It's not the government banning one specific flavor because it is popular with black people. It is the government first banning every flavor except the one popular with black people and now circling back to make the rules uniform.
The fact that it can be unlocked with a picture doesn't mean it has no security.
The main use case for phone locking is that you leave your phone in a cab, a bar or wherever else in public and someone picks it up later. That person isn't going to know who you are and have a picture of you. They're still prevented from being able to take the phone they just saw laying around and go through your emails, etc.
Could this lead to people intentionally violating terms to try to get their account terminated so that they can get money back for every in app purchase, etc, they've ever made?
Did the word "compression" get cut off due to title length? Or is it intentionally being compressed in the original title as a meta-joke? Turns out it's the former
> One of the big open questions is "are APIs copyrightable?" The court skirted that question, and instead focused on whether it was fair use:
Doesn't deciding that it's fair use specifically mean that they think it is copyrightable? The fair use doctrine specifically refers to the use of copyrighted material.
Keep a dream journal. Meaning, when you wake up each morning, immediately write down everything from your dreams.
Everyone says they can't do this because they don't remember their dreams, but if you start trying to do it, you will probably find that when you have just woken up, you remember a little, and as you start writing, more comes back to you. Over days of doing this, you will get better at it.
After doing this for a while, try to recognize patterns, particularly specific things that show up with some frequency in your dreams that are indications you are dreaming. For example, there is someone you went to high school with that you encounter semi-often in your dreams, but never see anymore in real life. If you are talking to that person it means you are dreaming.
Try to brainwash yourself, really drill into your head over and over, that when you see this person, you are in a dream, and you should start trying to activate your mind and be conscious of what is going on. Also, really drill into your mind the idea that if you every find yourself vaguely wondering "am I dreaming right now?" the answer is ALWAYS yes.
With luck, the next time you encounter this situation in your dream, there will be a nagging feeling that there was something you were supposed to remember, and then you'll realize what it is and start to wake up your mind within the dream. After a few times, your mind will start to recognize when it is in a dream and become lucid sometimes without the specific trigger.
This is the technique I read in a book decades ago in my early teens and didn't expect it to actually work, but it did. I don't get there regularly (and never did), but I still get to full on lucid maybe once every month or two and it is amazing. It's so incredible to be able to look at the world around you and realize that everything you are seeing is created by your mind.
It gives a deep appreciation for how powerful your mind is and how much more there is to it than just what you are conscious of, since in the dream your conscious mind feels the same as when you are awake, but you know that all of the seemingly external stuff around you and even people that you speak to are also "you". If your conscious mind and everything that seems external to it are really part of the same connected whole when you are dreaming, could the same be true when you're awake?
Even if this approach doesn't work for you, keeping a dream journal for a while can be super interesting anyway.
I haven't seen it in decades, so can't really vouch for it too much. From what I remember, it explained the approach I've outlined above in not much more detail than I just did and most of the rest was filler talking about what dreams are.
When you checkout a specific commit and are now in detached HEAD state, you are by default given the message