Getting the right WPF dispatcher in a thread
How do I get the UI thread's Dispatcher?
Is there a word which describes terms that are spelled like a particular pronunciation? Some examples: &quot;never&quot; might be written as &quot;neva&quot; &quot;I don't know&quot; is sometimes written as &quot;iono&quot; or &quot;I dunno&quot; on various internet media. My question is: is there a word for this particular technique of spelling a term in the way it is (sometimes) pronounced? Use abbreviations for 1000+ score in linked posts I don't really enjoy the ragged view of linked posts:    This feature request is to use a format that suggested in ; something that matches the user-profile tags page in terms of the tally:    That is, use abbreviations for 1000+ (k for 1,000+, m for 1,000,000+, ...). How to provide translations for a WordPress TinyMCE plugin? I know that I can get my translations into JavaScript doing:      $MyTranslations = array(         'translation1' =&gt; __("Some String 1", "MyTranslations"),         'translation2' =&gt; __("Some String 2", "MyTranslations")     );     wp_localize_script( 'jquery', 'my_translations', $MyTranslations );   But looking at some of WordPress TinyMCE plugins they use calls like this:  { title : ed.getLang('advlink.link_desc'), ... }   How is WordPress getting their translations into getLang()? Am I supposed to do it this way or do I just use my first bit of code and access the variables directly like:  { title : my_translations.translation1, ... } Let us look at some sample data for 5 hypothetical subjects.  library(emmeans) library(lme4)  # generate some sample data # condition (Placebo, Treatment) # type (some factor, e.g. two different medications) # value (outcome of interest) # subject  data &lt;- data.frame(condition = as.factor(rep(c(0,1), times = 10)), value = rnorm(20), type = rep(c("A","B"), each = 10), subject = as.factor(rep(rep(1:5, each = 2), times = 2)))   Now we like to conduct a mixed model and post-hoc tests with emmeans, where we test conditions per type in a pairwise fashion:  # caluculate a mixed model fit_data &lt;- lmer(value ~ condition*type + (1|subject), data = data)  # emmeans post-hoc test emmeans(fit_data, pairwise ~ condition | type)   So for each type (A or B), I have paired data (condition 0 has 5 data points and condition 1 has 5 data points). If I would do a paired t-test like so:  # paired t-test t.test(data[data$condition==0 &amp; data$type=="A","value"], data[data$condition==1 &amp; data$type=="A","value"], paired = TRUE) t.test(data[data$condition==0 &amp; data$type=="B","value"], data[data$condition==1 &amp; data$type=="B","value"], paired = TRUE)   I would get degrees of freedom of 4 for the paired t-test, but emmeans says the degrees of freedom are 12. Why is there this huge difference? If the emmeans package also would use df = 4, then the p-values would also be more comparable. What is the difference between a synchronized method and synchronized block in Java? Distance between points along polyline ArcGIS for Desktop? I'm using ArcGIS 10.3 (Desktop), and I'm trying to measure the distance between points following a path determined by a set of polylines.  Hand measurement is not a viable option-- there are ~7500 points, and my polyline set is the global coastline.  The ultimate goal is to get the spacing of these points along the polylines, so that I can analyze this with respect to a few other variables.   I can read python-- with a bit of effort-- but not write or edit it, so code-based solutions will not be particularly useful to me.  I have tried using the linear referencing tools-- I snapped the points to the lines, then transformed the polylines to routes and used 'locate features'-- but because my points are not (entirely) ordered along the path, using the difference between  linear reference locations of subsequent points yields some fairly unlikely answers.  In addition, spot checks of (hand-measured, using the built-in path length measuring tool) point-to-point along-polyline distance yield different answers than given by the corresponding linear references for the point pair. (Some of the answers were close enough that they could very well be measurement error on my part, but others were nearly 20%, despite my having zoomed in and snapped the measurement cursor to the polyline, proceeding vertex-to-vertex.)  Sorting first by linear distance seems to fix the first problem, but in light of the second one, I remain skeptical of this process.   I then tried simply splitting the polylines into segments ('split line at point') using the (snapped) points as the dividers, with the eventual goal of finding the segment length with the calculate geometry feature.  This produced gibberish. I'm not sure what criteria ArcGIS used to split the lines, but it wasn't the point set I provided.  Segments in the resulting shapefile ran right through tens of points, only to terminate at a place with no point. (Also, there were segments utterly empty of points...you get the gist.) I reiterate that the pointset was specifically snapped to the polylines, so this problem shouldn't be caused by excessive distance between the point and the polyline.  I'm at a bit of a loss, here: could someone point out where I might have gone astray and/or suggest a solution?  Or, failing that, a new method that I could try?  It seems like a fairly basic (not necessarily simple, but fundamental) analysis to do with geographic data, and I don't understand why it has presented so many difficulties. Say I create an object as follows: let myObject = {   &quot;ircEvent&quot;: &quot;PRIVMSG&quot;,   &quot;method&quot;: &quot;newURI&quot;,   &quot;regex&quot;: &quot;^http://.*&quot; };  How should I remove the property regex to end up with new myObject as follows? let myObject = {   &quot;ircEvent&quot;: &quot;PRIVMSG&quot;,   &quot;method&quot;: &quot;newURI&quot; }; Describe the equivalence classes in terms of familiar mathematical objects A TV show, from the 90's or 80's, very weird Does anyone remember a show, where:   An alien girl lives with a family She comes from the moon She is looking for a new king because their king (a giant baby) is dying Her spaceship its a VW van They had a doorframe, yes a doorframe, that could open to other alternative universes or dimentions $S$ be a collection of subsets of $\{1,...,100\}$ ; any two sets in $S$ has non-empty intersection , what is the maximum possible value of $|S|$? What is the cause of this sudden drop in CV queue size? At Sat, 30 Nov 2013 14:51:01 GMT, there was a sudden drop in the close votes review queue size from 98932 to 98314. This is about 600 questions over the course of one minute.  It doesn't seem like a routine cleanup script. If it was, this is a very odd time for it to run. Also, the drop occurred over the span of a minute, so it's highly unlikely there was simply increased review activity. So, I ask: What was its cause?         (yes please don't shoot me I know my freehand circle is blue) (it's actually a dark teal look again) (the source for this script I  (slightly modified), found through  post)  Raw data:  Epoch time  CV Size 1385822821  98932 1385822881  98932 1385822941  98932 1385823001  98932 *** 1385823061  98932 *** 1385823121  98314     [author's note: the difference between iterations is 60 seconds] 1385823181  98314 1385823241  98314 1385823301  98314 1385823361  98314 Are there rules for disassembling a slain creature, especially dragon? I've used Ubuntu before, but I'm still very new. I just installed 16.10 on a new computer yesterday, and the Wi-Fi has been considerably slower than my Windows laptop. I put the computer together mainly to play Dota 2, and I experience decent ping but constant 5%-10% packet loss while playing. Occasionally, after the computer has been left on for a while, the Wi-Fi connection will drop completely- I can still see networks in the drop down menu, including my home network, but my computer will not reconnect without a reboot. I've looked all over for a solution, but my inexperience has prevented me from getting anything to work. My Wi-Fi card is a Ralink RT2561/RT61, here's some info  The output of sudo lshw -C network   *-network                          description: Wireless interface         product: RT2561/RT61 802.11g PCI         vendor: Ralink corp.         physical id: 6         bus info: pci@0000:01:06.0         logical name: wlp1s6         version: 00         serial: 00:0e:2e:de:df:c0         width: 32 bits         clock: 33MHz         capabilities: pm bus_master cap_list ethernet physical wireless         configuration: broadcast=yes driver=rt61pci driverversion=4.8.0-22-generic firmware=0.8 ip=192.168.1.107  latency=64 link=yes multicast=yes wireless=IEEE 802.11         resources: irq:17 memory:dfef8000-dfefffff   Here is the output of sudo iwconfig:   *-network                          description: Wireless interface         product: RT2561/RT61 802.11g PCI         vendor: Ralink corp.         physical id: 6         bus info: pci@0000:01:06.0         logical name: wlp1s6         version: 00         serial: 00:0e:2e:de:df:c0         width: 32 bits         clock: 33MHz         capabilities: pm bus_master cap_list ethernet physical wireless         configuration: broadcast=yes driver=rt61pci driverversion=4.8.0-22-generic firmware=0.8 ip=192.168.1.107  latency=64 link=yes multicast=yes wireless=IEEE 802.11         resources: irq:17 memory:dfef8000-dfefffff   I'm at a loss, I'm very bad at this. If any additional info is needed I can provide it Encrypting as3 flash .swf Water Wars: Time Travel TV Show? A field extension of prime degree Suppose that $E$ is an extension of $F$ of prime degree. Show that $~~\forall~ a \in E : ~ F(a)=F$ or $F(a)=E$   Attempt: Suppose that $E$ is an extension of a field $F$ of prime degree, $p$. Therefore $p = [E :F] = [E : F(a)][F(a) : F]$. Since $p$ is a prime number, we see that either $[E : F(a)] = 1$ or $[F(a) : F] = 1$.   Now, $[E : F(a)] = 1 \implies $ there is only one element $x \in E$ which forms a basis and every element in $E$ is generated by $x$ i.e. $E = \{x~c~|~ c \in F(a)\}$  $[F(a) : F] = 1 \implies $ there is only one element $y \in F(a)$ which forms a basis and every element in $F(a)$ is generated by $y$ i.e. $F(a) = \{y~d~|~ d \in F\}$  Have I inferred it correctly? How do I move ahead?  Thank you for your help. How to prevent a coauthor from stealing the article? Please go through the following incidents to understand the problem.  Mr. A is a Ph.D. student of some institute who was working with Prof. B of another institute on a very interesting mathematical problem since last three years. Recently, they came across a significant solution to it. They wrote a research article to publish in a very good mathematics journal that accepts the online submission.  Prof. B wanted to submit it to the journal by himself. Mr. A agreed.   A few days ago, Mr. A wanted to know about the submission of their article via telephone. Prof. B informed that the article is submitted. But, Mr. A received any confirmation e-mail neither from the journal nor Prof. B forwarded the submission mail to him. Prof. B did not upload it in arXiv, which is a free preprint repository.  Mathematics journals used to take a long duration to review and publish an article. Prof. B told that submitting this article to arXiv will immediately attract community attention. Many researchers will start working in the new direction. As a result, Mr. A and Prof. B may lose their opportunity to work on that problems. Also, the article may be stolen.  Mr. A did not ask Prof. B to forward the submission confirmation mail to him. Prof. might think that Mr. A is suspecting him. It may affect the relationship. Also, Prof. is a very powerful person in the administration, who may prevent an opportunity for Mr. A to gain a job. Again from some of his friends, Mr. A came to know that Prof. had distributed related research problems to his collaborators.  As a consequence, Mr. A is thinking that Prof. has submitted this work in his own name and he has lost his credit as the first author of this article.  Now the question is: How Mr. A may save his credit and his work without hampering his relationship with Prof B? Old phone cannot connect to computer, the "computer connection" icon appears on phone I would like to get some pictures and audio out of an AT&amp;T SGH-a687 phone onto my Mac computer. I first tried connecting it to a New PC Studio on a PC, but there was a problem after transfer 2 photos, so I tried again. But the PC could no longer detect the phone, even though the "connected to computer" icon appears on the phone. I tried a different cable, different USB ports. No use.  So I downloaded the Samsung Kies on my Mac. Same thing, it tries to search for the phone once I connect the phone, but the computer doesn't detect anything. The phone still shows the "connected to computer" icon.  There is also Bluetooth (no internet on the phone) on the phone, but it failed to send the picture each time I tried.  What can I do at this point? Please also suggest data extraction software for either Mac or PC, if that's the easier route. Server login attempts NOT blocked after configuring fail2ban Why are heatmaps on qgis 2.8.1 produced in the wrong CRS?