1,472 karma · joined Jun 5, 2013 (13y ago) · 313 submissions
comment 5y ago · link · parent
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 -comment 5y ago · link · parent
# Lint a Helm chart
# Good to put in pre-merge checks
$ helm template . | kubeval -
different/ better than "helm lint" (https://helm.sh/docs/helm/helm_lint/)?comment 5y ago · link · parent
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.
comment 5y ago · link · parent
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.
comment 5y ago · link · parent
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.
comment 5y ago · link · parent
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.
comment 5y ago · link · parent
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.
comment 5y ago · link · parent
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.
FWIW, this was the book: https://www.amazon.com/gp/product/0805025006/
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.
comment 5y ago · link · parent
It sees play (I think) in Legacy and Commander where there are a bunch of specific powerful ways to abuse it (e.g., combo off early with Arbor + Gaea's Cradle to generate a bunch of mana), but you're not going to pull that off often in cube, so it would mostly be a basic forest that your opponent can easily remove.
comment 5y ago · link · parent
If we use logged plays for the past month on BGG as one datapoint, Dominion has more than than Aeon's End, Ascension and Marvel Legendary combined.
Sure, there is a specific population of people who log their plays and it differs from the gameplaying public as a whole, but if anything it veers more towards "cult of the new" and away from people who still play an older game because it's what they have.
EDIT: It looks like Star Realms has almost as many logged plays this month as Dominion, but I would still maintain that Dominion is in no way "superseded" even if it is no longer the only relevant game in its genre.
comment 5y ago · link · parent
comment 6y ago · link · parent
Particularly note "finalize provides a straight forward way to register a cleanup function to be called when an object is garbage collected"