Is there a function that returns the current class/method name?
C# getting its own class name
Suppose $X$ is binomial $B(n,p)$. How can I find the probability that $X$ is even ?  I know $$P(X = k ) = \frac{ n!}{(n-k)!k!} p^k(1-p)^{n-k} $$  where $X=1,....,n$. Are they just asking to find $P(X = 2m )$ for some $m &gt; 0$ ? I am teaching how to convert from one base to another base, however, I can't find a way to do something like this:    I know little about Tikz, the only thing I have been able to produce is a simple square with a couple of lines over it, so I don't even know where to start. Any suggestions? I don't mind typing all the numbers, what I want to do is to automatize the process of creating the lines. Do I need a bus/train/plane ticket out of Thailand in order to get a Visa-on-Arrival? Someone told me I need a ticket out of Thailand in order to enter.  I am traveling to Thailand, on March 18th. I have a Ticket from Bangkok to Sweden booked for June 4th.   I will be staying in Thailand for 2 weeks when I arrive there, then traveling around Cambodia, Laos and Vietnam until June 4th when I leave.   With that ticket out of Thailand, will I be able to get in and get a (30 day) Visa-On-Arrival (or not because the ticket out is not within the first 30 days). Or do I need to show proof that I am leaving within 2 weeks of being there at first? Increase close vote weight for gold tag badge holders In order to increase the efficiency with which poor quality questions are closed, it could make sense to have weighted close votes for a small subset of qualified users.   A very good way to measure the qualified users would be to leverage the tag badges. However, it needs to be rationally limited to a set of users that are knowledgeable with the subject. A very good way to measure the top users in a tag would be to look at those who have a gold badge in the tag.  If two users who have a gold tag badge pertinent to a question issue a close vote, the question should probably be closed (or probably will be very soon under the current system). I think it would make sense to allow users with a gold tag badge to have a 3x weight for close votes in those tags.  Please keep in mind, this isn't suggesting full moderator one click closure. It only adds weight to the vote. A single user could not do it on their own. These singular users cast close votes all the time, so that aspect would not change. Some will vote to close, some wont, but the ones who do should have a stronger weight to their vote. Even with 3x it will require 2 of said votes to accomplish, or still 2 other users (meaning 3 agreed it should be closed - which is the same amount of high rep users it takes to delete a question and that has a much greater impact than closure).  tldr;  Allow gold tag badge users to have a weighted close vote in their tag Why do close votes expire? I nominated  to be closed as a dup. I see that two other people upvoted my comment, so they might have voted to close it as well. Now, we didn't gather enough votes, and all close votes expired ... and I can't re-vote to close. What is the motivation behind expiring close votes ... especially for close-as-duplicate? Update: Please take into consideration:  Beta Stack Exchange sites have a smaller community, and fewer people with voting privileges Closing as a duplicate is &quot;usually the right thing&quot; IMHO - much less controversial than closing as off topic. After a vote is reset, the original users can't vote again. On a small site, this makes it even harder to get a consensus of five votes. I can't type a “b” when I'm in the command line What (if any) countries are either open to or have set definitive plans to allow international tourism? Here is my question:  Is a homeomorphism, that is, a continuos function whose inverse function is also continuous, always bijective? In  (scrolled to 5:55) there's a claim that replacing an AC high voltage transmission line with a high voltage DC transmission line allows for having seven times fewer powerlines (the video shows how seven lines evaporate, then one line appears and the cutting in the forest gets narrower).  How is that possible? I've read the  and it claims that     The power delivered in an AC system is defined by the root mean square (RMS) of an AC voltage, but RMS is only about 71% of the peak voltage. The peak voltage of AC determines the actual insulation thickness and conductor spacing.   but that doesn't explain seven times less power lines.  How is such massive (seven times) saving possible when switching from AC to DC transmission? How can I recover my external hard drive's free space? I had these partitions on an external hard drive:  /dev/disk2 (external, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *2.0 TB     disk2    1:                        EFI EFI                     209.7 MB   disk2s1    2:                  Apple_HFS Android                 63.9 GB    disk2s2    3:                  Apple_HFS RiptideHUP              968.0 GB   disk2s3    4:       Microsoft Basic Data RiptideF                967.8 GB   disk2s4   My aim was to delete disk2s2 and then resize disk2s3 to occupy the leftover space by deleting disk2s2.  I deleted disk2s2 using this command:  diskutil  erasevolume  "Free Space"  ""  /dev/disk2s2   Now, to resize the volume, I used:  diskutil  resizevolume  /dev/disk2s3  R   However, I got this error:  Started partitioning on disk2s3 RiptideHUP Error: -69743: The new size must be different than the existing size   I did a bit of research and realised the free space was created before disk2s3 RiptideHUP so it cannot resize itself. Is there still a way I can reclaim the Free Space?  NOTE: Using diskutil list now shows:  /dev/disk2 (external, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *2.0 TB     disk2    1:                        EFI EFI                     209.7 MB   disk2s1    2:                  Apple_HFS RiptideHUP              968.0 GB   disk2s3    3:       Microsoft Basic Data RiptideF                967.8 GB   disk2s4 MD5 Hash outputs not produced Are there any hash outputs not produced by the MD5 hash function? I need to use it as a placeholder for an empty hash while comparing two hashes. Drawbacks of making public which journal a manuscript is submitted to, while it is under review? Many researchers list out their submitted manuscripts on their website. Some specify the journal name, like     Smith J, Oliver J (under review) My awesome paper. Nature.   while others don't, like     Smith J, Oliver J (under review) My awesome paper.   One reason I can think of as to why some don't mention the journal name is that they may get embarrassed in the case where the current journal rejects the paper. Then, the "circle" will know this paper gets rejected from Nature first and then ends up in an inferior journal.  Besides this, are there any other considerations preventing people from mentioning to which journal they submit a paper to?  P.S.: I am asking because my advisor is a researcher who only mentions accepted  papers on his webpage. As a student hunting jobs, I feel it is advantageous for me to mention my submitted papers on my webpage. I hesitate to do so, as I worry I may make my advisor unhappy by announcing in which journal our papers are currently under review. Why Smart's attack doesn't work on this ECDLP? How to get a toddler to start chewing and eating solids? My son is 18 months old and still doesn't want to chew and eat solid foods. We have to blend soups and other food into purée for him to accept it. If there is even a slight solid, he will automatically push it out of his mouth with his tongue.  I have had a breakthrough with breakfast where I don't blend as much and leave it a little chunky. He ate it but still pushed chunks of soft banana that were bigger out.  Some of my friends have kids that are 4-5 months younger, who are eating chicken cutlets.  Any ideas or proven methods for getting a child to start eating solids? This is a  about DNS server administration.   I have one hundred or so domains. All of these domains need to be configured identically, but it seems like a huge waste of time to have to configure a new zone and/or zonefile for every one of these domains. There has to be a better way to automate this!  I think I'm on to something...if I create a zone called ., or use some other feature in my DNS software to always return a specific IP when an A record is requested, this seems to get me pretty close to my desired end result. My server is responding authoritatively to the requests and it's so much easier to manage!  This was working great until nameserver validation software started checking these domains. I figured out that I can make most of the errors go away by adding NS records, but my software won't let me put more than one SOA record in the same zone file.  How do I work around this multiple SOA record problem? I don't understand this and I'm now worried as I have donated to a lot of servers and I don't want to lose this account. On the launcher it says my new username but when I log on it says "Account not Authenticated with minecraft.net" and "Non-Valid Username".  How can I regain the ability to use my account online? Will doing timelapses break my camera? I was planning to do some timelapses in the near future, until I realised that if I leave my camera taking pictures for a week or 2, I will soon reach the max number of shutter count and my camera would break.   Then I read from an unverified source that during timelapse the shutter doesn't move, so there is no way to break it. I am confused.   Is it possible to take timelapses without physically destroying the shutter in a month? In particular, I am interested in Canon 80D model. Got French Schengen visa but no "VIS" after giving fingerprints I had my French Schengen visa interview 3 days ago (got the stamped visa and passport within two days, super efficient!). However there's no "VIS" written on the visa, even though I gave my fingerprints during the interview in US. I had presumed VIS would be written on the visa since I gave my fingerprints, or is it for something else? I do remember it took a while to take the fingerprints because the machine looked old and was taking a long time to read my fingerprints.  The next time I want to apply for a visa, do I need to go for an interview again just because the visa has no VIS on it? How does one decide whether to use who or that? In the title example:   The correct pronoun is who. The correct pronoun is that. Either is correct. They're interchangeable. It depends on the context. There is a formal definition for the Big O notation in . Up to now I have come across Big O in Numerical Analysis, Calculus and Algorithms which all are pretty distinct fields. What I am wondering is if that definition is global and is the only one that is used in every field where the Big O is involved or there are other ways that the Big O is defined in other areas  of Mathematics.