How to deal with duplicate answers posted long after first answer(s)

I've been seeing this for a while now, especially on the  tag.  A user will ask a question (usually very simple, and mostly a duplicate of older questions. But that's for another day).  The user will get one or more answers that successfully answer the question. A little bit later, usually around 5-10 minutes but can be more, another user or users will come along (mostly low rep users) and post the exact same solution, sometimes changing the wording a bit, but sometimes being lifted word for word from the other answer(s).  This is slightly different from the Fastest gun in the west problem. I have nothing against answers posted in very quick succession that solve the problem. The ones I'm talking about are answers posted long after the first correct solution, that say the same thing.  A good example of this is available . All three answers say the same thing. One offers code + explanation (first answer), the second one (three minutes later) offers only code and the third one (a full eighteen minutes later) offers only a text answer.  How should answers like this be dealt with? They are adding nothing of value to the community, as the problem has already been answered. The person posting the answer could not have run into the "The other and I posted the answer so close to each other we didn't know about duplicates until after posting" problem, as there is an eighteen minute gap.   is another example.


What does the 1/2 means in the L1 or L2 formula

May I ask what does the 1/2 means in this formula for lasso. I searched formula examples for lasso and ridge. And found sometimes there is 1/2 while sometimes no.


I was trying to install ruby and was disconnected in-between, so I was unable to install all dependencies. Now I can't run ruby because of the missing dependencies. Also, I am unable to reinstall this application. Please help me to solve this issue.


Can I mark when there is a line break in inline math?

Sometimes a line break inside inline math is acceptable and sometimes it detracts from the message. I'd like to be able to see exactly where such breaks (meaning any line break during inline math mode) occur in my final-minus-epsilon draft and decide if any action should be taken to rearrange sentence wording, etc. (based on my manual inspection of the instance). I know there are automated ways to prevent line breaking in inline math, but I don't want to do that. The document is huge, so it's not OK to just manually look through it for such breaks.  Is there a way to mark where these things occur? Ideally by line number in the log. But also OK would be some sort of visual or searchable signal that stands out in the PDF, if somehow that is easier.    Added later:  points out that \binoppenalty and \relpenalty are the badness contributors that matter. So can we log when these are used?


I have a Nikon D3200 camera and whilst it autofocuses using my Af-S Nikkor 18-70 mm attachment lens, the autofocus does not work when I attach my AF-Nikkor 70-330 mm lens and my AF Micro Nikkor 60 mm lens. How do I resolve this because manually focusing with these 2 lens is not easy !


Can an Indian citizen holding a valid USA visa visit Colombia without a visa?

I am planning to travel to Colombia for about a week to attend an academic conference. I am an Indian passport holder currently living in USA with a F-1 visa. Do I need to obtain a visa beforehand from the Colombian consulate?  I have found   that claim that Indian citizens holding a valid USA visa are not required to apply for Colombian visa.     However, I am not sure if these sources are "official" and trustworthy.Is there a more official source? Also, does this rule apply to "tourists" only? Does anyone have any personal experience with this rule?


False positive? Microsoft Security Essentials detects Nemucod in tmp.edb

In response to having this question marked as a duplicate, I added at the end a section explaining why this is not a generic malware removal question.  Today, I got a popup saying that I would be logged off in 1 minute.  Sure enough, it happened.  I updated the malware definitions of MSE, Malwarebytes Free, and Spybot S&D free, then ran full scans in sequence.  The latter two came up with nothing concerning, but MSE reported Nemucod, and cited c:\ProgramData\Microsoft\Search\Data\Applications\Windows\tmp.edb.  I made the GUI selections to remove that, and was prompted to reboot.  Upon logging in again, MSE displays a message saying that it was cleaning the malware, and that nothing need be done.  Minutes later, MSE displays a warning again, and the details refer to Nemucod again.  So I go through the removal routine again, but this seems to go in and "endless" loop (by which I mean  iterations so far).  The time stamp of tmp.edb always seems about as recent as the most recent reboot.  I used an admin account and tried manually deleting tmp.edb, but am told that the resource is busy.  I booted in safe mode, but tmp.edb was nowhere to be found.  Only when I booted in normal mode again did tmp.edb gets recreated.  Web browsing indicates that tmp.edb is a database file used by Windows, though I'm not sure if it is exactly the same path as above.  I am afraid that the malware isn't truly gone, and that MSE will pop up the warning again.  What should I do?  I am using Windows 7 Professional 64-bit.   Why this is not a generic malware removal question  One reader marked this question as a duplicating a generic best practice and recovery thread, but if it is accepted as a duplicate, then it means that the generic original precludes any further question on malware.  The specificness of this question includes the fact that it isn't necessarily asking how to remove a virus. It doesn't even presume that there is an infection.  I describe how two other AVs do not flag the problem that MSE does, and the fact that the cited file is a Windows file.  One that goes away when I boot in safe mode.  Some new details that make this even harder to assess is the fact that the indicators of Nemucod's presence is highly varied (e.g.  and ), which makes it hard to check whether this is a false positive.  UPDATE  To see if new MSE definitions might now exclude this trigger, I updated definitions at 2am 2018-12-16 EST and ran a full scan.  The trigger recurs. Since the definitions were still those created on 2018-12-15, however, this should not be a suprise. As the tmp.edb is a Windows Search file, I disabled Windows Search as suggested by Jatmin and confirmed the absence of tmp.edb after rebooting.  As a further measure, I downloaded new MSE definitions created 2018-12-16 07:44 EST and did a full scan, which came up clean.  I find Windows Search useful, however, so I re-enabled it, which caused the MSE alarms after reboot (and tmp.edb was present again).  I was hopeful that new definitions created 12:47 EST would not generate the alarm, but they still did. On a positive front, I updated MalwareBytes Free definitions, and enabled rootkit detection -- the scan came up clean.  UPDATE  I can't believe that this problem persists with virus definitions dated 2018-12-25.  Why does no one else encounter this?  I have posted this to the  and reported this to Microsoft.


$X,Y\sim U(0,1)$  are independent, $W=\max (X,Y)$.      How do I find the PDF of $W$? How do I find the expectation of $W$ at two ways: 1. with the PDF of $W$ and without the PDF of $W$.   I ask this Q before few days, but now I want show you me solution and ask if it's right (and ask to tell me where I wrong):  We assume that $0<t<1$ becuase otherwise the function $(f)$ returns 0. 1. Lets say: $W=\max(X,Y)\Rightarrow W(t)=P(t>X)\cdot P(t>Y)=(1-P(t<X))(1-P(t<Y))$ because they are independent. We know that $P(t<X)=F_X(t)=t$ (Because $X\sim U(0,1)$), and this is why: $F_W(t)=(1-t)^2$ (if $0<t<1$ otherwise is $0$). So $f_W(t)=F'_W(t)=2t-2$.  2: a. $$E(W(t))=\int _{0}^1 t\cdot f_W dt=\int_0^12t^2-2tdt=\left[\frac{2t^3}{3}-\frac{2t^2}2\right]^1 _0$$ I dot here something negative and I don't know why... Please tell me where my mistake here....  b. Here I'll show you the idea, and I'd like to know if I'm right...  $$\iint_{D_1}\max(X,Y)dxdy+\iint_{D_2}\max(X,Y)dxdy \\= \iint_{D_1}xdxdy+\iint_{D_2}ydxdy$$  I'm right? If I'm wrong please tell me where are my mistakes (at all the question). Thank you!


how to create multiple events to elements that are yet to be created using on() in jquery?

$("button").on("click", function() {   $("ul").append($("

").text("good")); });  $("ul").on("click", "li", function() {   $(this).remove(); });  $("ul").on("mouseenter", "li", function() {   $(this).css("color", "yellow"); });
   <button>click me</button>
good

    Can we use objects in on() to create multiple events to elements that are yet to be created?


What voltage, in theory, should you read between the terminals if you hook a 18 volt solar panel to a 12 volt car battery?

Well I thought it would be either 12 or 18 but... I have a battery and a solar panel so I thought I'd just try it.  I actually measured the voltage to be 9.7 before hand (btw it's an old lead acid car battery) and then I measured the volts on the solar panel and it was 20 +- a few (bc clouds and what not) then I hooked up the positive to positive and negative to negative, and measured 10.2 volts. Why not 9.7 or 20!?  I'm theorizing that this is because the battery put a drain on the solar causing that things volts to drop, so not 20. And the solar is boosting the battery causing it's volts to increase so not 9.7... and of course the internal resistance of the battery  is causing the whole thing to slide towards the lower end of the scale. Well is anything I said even making sense? Are there other considerations? Or is my original expectation right and it should read 20v and the solar setup is anomalous? lol.  Ps I took a few physics classes and even a circuits class years ago so if your answer gets technical I may still be able to follow.  Thanks in advance.  Edit: I drew this picture which is a simplified circuit diagram of my setup (voltages shown are only approximations):    If you get rid of the battery between points a and b you read 20, if you get rid of the solar panel you read 9, my question is simply why 10 and not 9 or 20? What calculation results in a 10? Is it an average, subtraction? In other words it doesn't look like it is simply related to either of the starting voltages. :/


I believe I downloaded UBUNTU OS correctly, and tried to load it onto a usb stick, but I am unable to boot-up from the stick. any help would be much appreciated


I made chocolate using cacao butter, cacao powder, sugar (icing and granulated), and dried milk powder.  In addition to being too sweet (panicked and added too much icing and granulated sugar), and too grainy (I removed the cacao butter from heat and added the other ingredients), it taseted really oily.  Why was the chocolate oily?  I made the following errors: 1. Not properly measuring everything (I couldn't find a suitable recipe) 2. Removing the cacao butter from heat and then adding the other ingredients  3. Not whisking the chocolate mixture  4. Not pre mixing the dry ingredients 5. Not sticking to icing sugar


Proving $\liminf |f'(x)| = 0$ when $\lim f(x)/x = 0$

Suppose $f$ is differentiable on $[0,\infty)$ and $\displaystyle \lim_{x \to \infty} \frac{f(x)}{x} = 0$. Show that $\displaystyle \liminf_{x \to \infty}|f'(x)| = 0$.   What I have tried is to apply the mean value theorem to $\frac{f(y)}{y} - \frac{f(x)}{x}$ with $0 < x < y$. There exists $c_x \in (x,y)$ such that $\dfrac{\frac{f(y)}{y} - \frac{f(x)}{x}}{y-x} = \frac{f'(c_x)}{c_x}- \frac{f(c_x)}{c_x^2}$. From here we get $$|f'(c_x)| \leq \frac{c_x}{y-x}\left|\frac{f(y)}{y} - \frac{f(x)}{x} \right| + \left|\frac{f(c_x)}{c_x} \right| $$  Now I want to set $y = 2x$ and take $\liminf$ of both sides to get $0$, but I am unclear on:   If $\liminf_{x \to \infty} |f'(c_x)| = 0$, then $\liminf_{x \to \infty} |f'(x)| = 0$. I think this is true? How to handle the factor $c_x/(y-x) = c_x/x$ when taking $\liminf$?


Is it possible to bake dupliverts into one mesh for the BGE? (I have a large ground landscape that I use as the parent to duplicate trees, and the BGE doesn't support most modifiers.)


If G is a group of even order, prove it has an element $a \neq e$ satisfying $a^2 = e$.  My proof:  Let $|G| = 2n$. Since G is finite, there exists, $a \in G$ such that $a^p = e$ and by Lagrange's Theorem, p divides 2n. By Euclid's lemma, since p does not divide 2, p divides n. Let $n = pk$. Hence, $(a^n)^2 = (a^{pk})^2 = ((a^p)^k)^2 = (e^k)^2 = e$. Therefore, $a^n$ is an element that satisfy the condition. Is my solution OK?  For this problem, I am just wondering how I can solve this problem without using Lagrange's Theorem, as this problem is an exercise before the Lagrange's Theorem was taught.


Getting a credit card exclusively for the sign-up bonus

There are quite a few credit cards with exceptional sign-up bonuses (and then fairly average terms). If I signed up for one, fulfilled the spending conditions for the signup bonus, used that bonus, paid off the card and then cancelled it immediately after, would there be a significant impact on my credit history?  I suppose it would divert spending away from my primary credit card (the one I never close), which would reduce slightly the spending history I have on that card. Essentially, the record of my spending on these auxiliary cards would be erased when those cards were canceled. But is there a penalty to my credit score for closing a card beyond the loss of history that was on the closed card?


Does Special Relativity Predict Absurdities?

My question concerns an aspect of the pole-barn paradox that, to my knowledge, has not been discussed so far. So rejecting the question as "duplicate" is incorrect, in my view. Here is the edited version: Einstein's 1905 postulates entail that unlimitedly long objects can be trapped, in a compressed state, inside unlimitedly short containers: "These are the props. You own a barn, 40m long, with automatic doors at either end, that can be opened and closed simultaneously by a switch. You also have a pole, 80m long, which of course won't fit in the barn. [...] So, as the pole passes through the barn, there is an instant when it is completely within the barn. At that instant, you close both doors simultaneously, with your switch. [...] If it does not explode under the strain and it is sufficiently elastic it will come to rest and start to spring back to its natural shape but since it is too big for the barn the other end is now going to crash into the back door and the rod will be TRAPPED IN A COMPRESSED STATE inside the barn."  One of the comments on the previous version of the question is as follows: "Note that the pole is not compressed by the Lorentz-FitzGerald contraction, it's compressed by colliding with the back door at 0.866c" Not true. The compression occurs before colliding - the long object is still flying inside the short container when the doors are closed. That is, the compression is purely relativistic. Then the trapped object will "start to spring back to its natural shape". How much energy will be released if a 1 km object, compressed to 1 cm, restores its original length? Even the question sounds absurd, let alone the answer. If such trapping is absurd, we have reductio ad absurdum: the absurdity of the logical consequence shows that at least one of the postulates is false. Is trapping unlimitedly long objects, in a compressed state, inside unlimitedly short containers absurd?


When a user who approved an edit is removed, an incorrect "-2 reverted" event appears in reputation history

I am aware that . But now there is an extraneous "reverted" event to go along with user removal:     Source: .   The edit was not reverted, it's . In any case, I should not lose 2 points twice for the total of -4. And indeed, my reputation only dropped from 131 to 129 despite what the history suggests.   So the line with "-2 reverted" is a bug.     A more extreme example:  got 21 "reverted" events on 2017-06-30, none of which should be there. His rep loss is 42, not 84 as the reputation history says.


Why i can not to connect sql server with android?

I'm beginner in adnroid studio,i want write simple application to connect sql server and read any table and close connection,i read this tutorial:   i write step by step up link,but i get this error when fire log in button i get this error:  java.lang.NullPointerException             at com.example.nothing.myapplication.MainActivity$1.onClick(MainActivity.java:52)             at android.view.View.performClick(View.java:3511)             at android.view.View$PerformClick.run(View.java:14105)             at android.os.Handler.handleCallback(Handler.java:605)             at android.os.Handler.dispatchMessage(Handler.java:92)             at android.os.Looper.loop(Looper.java:137)             at android.app.ActivityThread.main(ActivityThread.java:4424)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:511)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)             at dalvik.system.NativeStart.main(Native Method)    in this line:  st = connect.createStatement();     my connection string in android is this:  ConnectionURL = "jdbc:jtds:sqlserver://" + "192.168.36.171" + ";"                     + "databaseName=" + "HYPER" + ";user=" + "razzaqi"                     + ";password=" + "beh1368421" + ";";    how can i solve that?thanks.


Extracting combinations from a list python

I have this list:  List = [1, 2, 3]   ...and I want to print out all possible combinations such that the output is like:  [1] [1,2] [1, 2, 3] [2] [2, 3] [3]   So far my code is this:  E=[] i=0 for seq in L[i:]:     E.append(seq)     i += 1     print(E)   Which gives my first 3 outputs. Is there a way for me to loop it so that the index goes up by 1 so I can get my desired output?  Edit; so I basically want to write a code which summarizes this:  List = [1, 2, 3] E = [] F = [] G = []   for seq in List[0:]:     E.append(seq)     print(E)  for seq in List[1:]:     F.append(seq)     print(F)  for seq in List[2:]:     G.append(seq)     print(G)   I pretty much want to know if I can loop the index so that I don't have to create multiple for loops and maybe apply it to a longer list.


My grandma believed that the Sun "revolves" or "revolved" around the Earth?

We all know that universal statements are always in present tense. For example,     My grandma did not believe that the Earth revolves around the Sun.   Here, though the sentence is in past tense, Earth revolves around the Sun remains in simple present tense.  But in case of a false belief that is contrary to a universal truth, does the above rule apply similarly? For example,     My grandma believed that the Sun revolves around the Earth.    Will this sentence be taken as grammatically correct? Shouldn't it be "My grandma believed that the Sun revolved around the Earth"?


Remove select list options as they are chosen

I would like to make a select option list that dynamically removes options as they are chosen. After the first selection the list becomes no longer responsive. Any help is much appreciated!     (UPDATE working): Replaced: $(".select_list").change(function() { With: $('#menu').on("click", '.select_list', function() {  HTML:    var misc_array = ["A", "B", "C"];  function buildList() {   var select_list = "<select class='select_list'>";   select_list += "<option>Select</option>";    for (i = 0; i < misc_array.length; i++) {     select_list += "<option>" + misc_array[i] + "</option>";   }    select_list += "</select>";   return select_list; }  $("#menu").html(buildList());  $(".select_list").change(function() {   console.log(this.value);   for (i = 0; i < misc_array.length; i++) {     if (misc_array[i] == this.value) {       misc_array.splice(i, 1);     }   }   // $("#menu").empty();   $("#menu").html(buildList());   console.log(misc_array); });


How do I teleport to the nearest block of a specific type?

I've build a castle, but I can't seem to remember where it was. However, I do remember there was a  in it and nowhere else in the world.  Q. I was wondering, is there any way I could teleport to the closest block of a specific type? (In this case, a Redstone Lamp)


Is there a way for a folder pinned to the start menu have a sub menu listing files?

This  deals with how to pin folders in Windows 7 and Vista since its not enabled by default.  I would like to see if its possible to take this one step further and see if I can pin a folder and then somehow enable a submenu (similar to the "Task" list that appears for Chrome) but where the submenu contains the folder contents.  Any ideas?


How to convert raster to polyline in QGIS?

How can I convert raster (stream segments result of a watershed analysis) to vector polylines, preferably shapefile. In ArcGIS this is easily acomplished with the Raster to Polyline tool.  I only see Polygonize (Raster to Vector) tool under the Raster -> Conversion menu.


Would a tennis ball behave like a quantum particle wave and go through racket with an infinite speed, from $\lambda=h/p$ principle?

According to quantum mechanics, the wave length corresponding to a particle with momentum $p$ is $\lambda=h/p$. Let's suppose that there would be no limitation of speed by the speed of light. According to quantum mechanics theory, would a tennis ball (which has a much bigger extension that the hole of a tennis racket) would be able go through the tennis racket at high speed, because it would behave like an object of tiny wave length ? Or is the lateral extension preventing it anyway, whatever would be the obtained wave length ?


What point meaning in the permission string lrwxrwxrwx.?

When I run an ls -la /, some files/folders it gives output like: -rw-r-----.   1 root root         0 Jan 18  2020 1 drwxrwx---.   3 root root      4096 May 24  2016 ade lrwxrwxrwx.   1 root root         7 Feb 27  2018 bin -> usr/bin So, what is the meaning the point (.) at the end in the permisions? -rw-r-----. drwxrwx---. lrwxrwxrwx. I thank in advance who can help me.


An example of a regular function over an open set

Look at the example 2.1.7 at page 19 of these  (which is the same example present in Mumford's red book at page 21). The author shows that a regular function isn't a ratio of two polynomial, and in particular in the above example inside the open set $U$ we have the following regular function: $$\phi(p)=\left\{\begin{array} {lll} \frac{X_1}{X_2} & \textrm{if $p\in X_2\neq 0$}\\\\ \frac{X_3}{X_4} & \textrm{if $p\in X_4\neq 0$} \end{array}\right.$$   I agree with the fact that $\frac{X_1}{X_2}=\frac{X_3}{X_4}$ in $K(X)$ when $X_2\neq0$ and $X_4\neq0$, but the point is that such two functions shoud be the same in the whole $V$ to make sensible the example. Infact in in the intersection $\{X_2\neq0\}\cap\{X_4\neq0\}$ we have the regular function described by $\frac{X_1}{X_2}$ or $\frac{X_3}{X_4}$, but what about the rest of $U$?


Who maintains concentration on Wild Magic spells?

A few effects on the Wild Magic table are spells that normally require concentration. Does the sorcerer have to give up their concentration for these effects to occur?  If so, do they have a choice in the matter? For example, if they're currently concentrating on Witch Bolt, does it automatically break if Wild Magic causes them to cast Levitate?


Commands are available in the following places

I do not know why this happened but when I enter a command from terminal for example gedit ~/.bashrc I get the following error: Command 'gedit' is available in the following places  * /bin/gedit  * /usr/bin/gedit The command could not be located because '/bin:/usr/bin' is not included in the PATH environment variable. gedit: command not found  This happens for also cat, shutdown command etc. How can I solve it?


How can I make a single file of the packages I use?

Good morning, I would like to know whether someone can help me with this: I need to learn how can make style file archive.sty, because in the preamble of my source file I have to write all packages and options and this seems bad. I believe it is possible to have a .sty file and have latex compile this automatically, but I don't know how make this.


How to use linq to split a list of objects by half and then group them

I have a list of n objects (17 for now) and I wanted to know if it is possible to take said list and split it into (potentially) 2 groups. That way the end result would be   NewList   -"GroupA"     -List1 = {"john", "mary", "sam"}    -"GroupB"     -List2 = {"tony", "aaron"}   The desired result would help me output the first half of the list of students in page 1 and then using paging the user can then view the remaining list on the next page.   Right now I am trying to do something like this:  var groupList = Classroom.GroupBy(o => o).Select(grp=>grp.Take((Classroom.Count + 1) / 2)).ToList();   But when I debug it I'm still getting the full list. Can it be done via linq?


To tell about a guess about a case in the past, why use "would+have+past participle" instead of "must+have+past participle?

I have seen this sentence in an article on bbc, which is about how people lived thousands of years ago. "When this Neolithic home was built, it would have had a cosy roof of turf.." When I read it, I got confused. Because the fact seems as a simple past situation or guessing/assumption about something in the past. it simply gives information about a past event, eg "when I was a child, I had a blue toy car. I have been making a lot of research on whether or not this structure "would+have+past participle" could be used instead of the simple past or "must+have+past participle", but I could not find any satisfying explanation. Almost all grammer contents cover this structure is used when we imagine the opposite of what actually happened in the past eg. "referring to a missed opportunity" (eg. "if you had come to the party, you would have seen Tom."), But, in this case of this sentence, "type 3 conditional" is irrelevant. It is not an if sentence,  It simply gives information about how this house was like or was probably like when it was built long ago. Just like it would be If and old lady would want to tell about "how she was like when she was a child years ago. she would simply say "when I was a child, I had long curly hair.**. So "when I was a child, I would have had long curly hair." would be wrong. So, my question is: 1-Does this structure "would+have+past participle" completely replace simple past sentences? or can be it be used instead of simple past? 2- If this structure was simply used because the author was not %100 sure about the fact as it was a long long time ago -so he wanted to make a guess or assumption, why did he not simply use "must+have+past participle" or "it was likely that blah blah" which must be used for guessing or assumptions about past happenings. Would it not have made more sense if it was like: "When this Neolithic home was built, it must have had a cosy roof of turf.


Take a look at  & .   For install from source(tar.xz) i act like this :     sudo yum remove ocserv wget ftp://ftp.infradead.org/pub/ocserv/ocserv-0.12.3.tar.xz mkdir /usr/local/ocserv tar xvf ocserv-0.12.3.tar.xz -C /usr/local/ocserv cd /usr/local/ocserv/ocserv-0.12.3 sudo ./configure && make && make check sudo make install   In this way yum remove ocserv tells No Match for argument: ocserv. And in this way sudo systemctl start ocserv tells Failed to start ocserv.service: Unit not found.   For install from rpm i act like this :     wget https://kojipkgs.fedoraproject.org//packages/ocserv/0.12.3/1.el7/x86_64/ocserv-0.12.3-1.el7.x86_64.rpm yum localinstall ocserv-0.12.3-1.el7.x86_64.rpm    What is the difference between install a package from source(tar.xz) & from rpm?


Can "you've" be used as a possessive "have"?

Generally, "you've" is used in conjunction with another verb, such as "I see you've arrived" or "She asked if you've seen this".  Is it also acceptable to use "you've" without a second verb, using the "have" as possessive? ex: "I see you've a new car".


I am looking at trigger efficiencies, meaning that I have some device that fires on $k$ out of $n$ events. In the end I am interested in some estimate of the efficiency $\epsilon$ which is the probability to fire on a randomly given event. Using a Bayesian approach with a uniform prior over $[0,1]$ I can model the probability distribution for $\epsilon$ as a Beta distribution $\beta(\epsilon; k+1, n-k+1)$.  Now comes the question: I calculate the efficiency using "bootstrapping" which means that the final trigger efficiency is the product of two trigger efficiencies, both of which can be modelled as Beta distributions.  How can I calculate this product of the two Beta PDFs for large values of $k_{1,2}$ and $n_{1,2}$ efficiently? Is there a closed form of the product (AFAIK not)? At the moment I am doing this numerically, but this is rather slow.   has the answer how to evaluate integrals of the Beta distribution for large argument values, but this does not help here.  I hope my question is clear and not completely stupid...


Is regex match guaranteed to always only look out for the last pattern? C++

Assume I have a string like this:  "a-b-c-d"   n = 4 sequences seperated by "-".   Now I want to receive the first n - 1 sequences ("a-b-c") and the last sequence - ("d").  I can achieve this with the following code:  std::string string{ "a-b-c-d" };  std::regex reg{ "^(.*)-(.*)$" };  std::smatch match; std::regex_match(string, match, reg);  std::cout << match.str(1) << '\n'; std::cout << match.str(2) << '\n';   producing the excpected output:  a-b-c d     However, following the pure logical grammar of this regex ("^(.*)-(.*)$")  a b-c-d   or  a-b c-d   could also be valid matches of the string. Afterall (.*) could be interpreted differently here and the first (.*) could decide to stop at the first character sequence or the second etc.  So my question: is std::smatch guaranteed to behave this way? Does std::smatch always explicitly look for the last patterns when giving the option to capture with (.*)? Is there a way to tell std::smatch to look for the first occurrence rather than the last?


After Major Revision what is the decision?

I submitted an research paper to Elsevier journal after 4 months i got major revision i submitting my revised paper,  After one month i receive comments from reviewers. Editor letter stated that "I am pleased to inform .....favourable reviews from reefers....Some modifications to be implemented before the manuscript is published"  I submitted my paper at the end of march but still journal status shows that "under review".  What will be the decision i expect from the journal? pls clarify.


Looking for a science fiction short story from the 1980s about humans with ESP who have been banished to another world where they come into conflict with aliens at a similar stage of advancement. I believe the humans settle the planet but their ESP gets in the way of what really is happening until they have children who don't have ESP. I believe they may have been on a planet known as parker's world but it's been 30 years since I read the story.


Let $H$ and $K$ be subgroups of $G$. Let $H$ have order $m$ and $K$ have order $n$, where $m$ and $n$ are   relatively prime. Then  $H \cap K=\{e\}$   My proof:  Let $H$ and $K$ be subgroups where the $ord(H)=m$ and $ord(K)=n$ and $m,n$ are relatively prime. We know that $H \cap K$ is a subgroup of $H$ and $K$ since it contains the elements of both in $H$ and $K$. We shall let the ord($H \cap K$)=d.   Then, by Lagrange's theorem, the order of $H$ is a multiple of the order of $H \cap K$. In other words, $m$ is a multiple of $d$ or $d|m$. Similarly,  by Lagrange's theorem, the order of $K$ is a multiple of the order of $H \cap K$. In other words, $n$ is a multiple of $d$ or $d|n$. Since $d$ divides both $m$ and $n$ and we know $m$ and $n$ are relatively prime then, the order of $H \cap K$ must be $1$.   Since $H \cap K$ is a subgroup, then by properties of subgroup, it contains an inverse which means it must also contain an identity and since $H \cap K$ contains one element, it must contain the identity. As a result, $H \cap K=\{e\}$  Hopefully, someone can confirm or correct any mistakes I made. Thanks!


Panel to the right disappeared (properties? Not the one you toggle with N)

I'm new to the software, using blender 2.78 on an iMac with OS X 10.6.8. I've been working on a file for a few days now, when a important panel to the right suddenly disappeared.  This is how it looks right now:     The panel marked in red in this picture is the one i need:    Notice how the three lines in the corners that you can grab to change the size of view windows/panels also is gone in the file I'm working on. Marked with green circle in top right corner.  Edit: Solved the problem by opening the file with "load UI" unchecked. Still wonder why the three lines in the corners of the panels disappeared though.


I have the following string:  $scope.testStr = "This is my {test} string that needs {custom} token replacement";   That I need to process using custom token replace as follows:  $scope.test = "Test Text"; $scope.custom = "More Text";   So that when I bind the string as follows:
{{testStr}}
   It will be output as such:
This is my Test Text string that needs More Text token replacement
   I believe that regex might be my option to handle this custom token replacement, but I can't seem to figure out how to approach this. I will need this to be dynamic as the variables that are replacing the tokens will change dynamically. Thanks in advance!


Proof that $\lim{a_n}=L$ when $n$ goes to infinity, then $\{a_n\}$ its a Cauchy Sequence  I start with this hypothesis  $\displaystyle\lim_{n \to\infty}{a_n}=L \Leftrightarrow{\forall{\epsilon}>0}$  $\exists{N}\in{\mathbb{N}}$ such that  $\forall{n}>N \left |{a_n-L}\right |< \epsilon$  The same its true fot any $m>N,\left |{a_m-L}\right |=\left |{L-a_m}\right |< \epsilon$  I will sum the inequalities but I havent any idea how do it... Help me please!!!


Associative rule of subspaces and vector spaces: $(U+V) \cap W = U + (V \cap W)$

If $U, V, W$ are subspaces of a vector space $X$ and if $U$ is a subspaces of $W$, then $$(U+V) \cap W = U + (V \cap W)$$    Do we need also that $V$ is a subspace of $W$? I can't see how to prove this otherwise.  This is typed up by my professor so it's definitely possible there's a typo.


Is there a quick proof as to why the vector space of $\mathbb{R}$ over $\mathbb{Q}$ is infinite-dimensional?

It would seem that one way of proving this would be to show the existence of non-algebraic numbers. Is there a simpler way to show this?


I'm trying to get a union of a user's nodes and comments sorted by "post date". This  links to sandbox projects for D6 but there is nothing for 7.  This  has an example of using hook_views_pre_execute() and a SQL UNION in D6. This doesn't work for D7 with views 3.  I came across merlinofchaos'       Because we're now using Drupal's new query generator, the query is a SelectQuery object which you will have to modify or replace. Look up Drupal 7's new database layer for more information.   Does anyone have an example of how to do this or any other solution to combine two views?


Does regenerate or any other spell halt the dying process of a flail snail who has lost all it's tentacles?

Scenario  The party happens across a Flail snail being mobbed by some bugbears (Random encounter). They killed the bugbears and the Flail snail started wailing (All of its tentacles were severed and dead). Can the druid cast regenerate on it to reattach the tentacles (Snail did not reflect the spell).   What other spells or methods could be used to save the flail snail, especially for lower level parties?


Minimum value of : $\left|\sin{x}+ \cos{x} + \sec{x} + \tan{x} + \cot{x} + \csc{x}\right|$

Find the minimum value of :$$\left|\sin{x}+ \cos{x} + \sec{x} + \tan{x} + \cot{x} + \csc{x}\right|.$$   What I have tried is trying to simplify the expression into a $\sin{2x}$ form but it did not go well. I guess there is much simpler way to solve the problem.  I also thought of AM-GM inequality but for inequality to hold all the terms must be positive real numbers which in this case is not.


Sort experience on Stack Overflow Careers by date descending

Stack Overflow Careers should sort experience by the date(s) of the experience and not by when it was entered.  I am going to have to delete several old options from my profile because they are old and not the most relevant.


How to enable hibernate on Ubuntu 13.10?

Something I usually do after installing Ubuntu is reactivate the hibernation function. I find it quite useful to function for the more energy concious.  Typically, I'd complete the instructions in this tutorial for Ubuntu 12.04 and I'd be back in business. However, it does seem to work any more. Any suggestions?    sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla  [Enable Hibernate] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes


How can I convert string to datetime with format specification in JavaScript?

How can I convert a string to a date time object in javascript by specifying a format string?  I am looking for something like:  var dateTime = convertToDateTime("23.11.2009 12:34:56", "dd.MM.yyyy HH:mm:ss");


There is one rocket in each corner of a square. At some point they start moving towards the rocket in the neighbouring corner in (say) clockwise direction. Their subsequent motion is such that they move exactly in the direction of the rocket they "follow" at any moment. The magnitude of their speed is constant (and is the same for any rocket). They all collide at the center of the square (as can be seen intuitively). What is the length of their path taken before the collision?  I heard that it has a very easy and a complicated solution too (with integrals). Could you give both and tell if it can be generalized for regular n-gons?  The answer is the length of the sides of the square but I don't know how we arrive at it.


WinUSB fails to install windows 7 on USB

I get a error saying:    Installation failed ! Exit code: 256 Log: Formating device... Mounting... mount: block device /home/jeffrey/Desktop/Win7_sp1_32-64_EN-faXcooL.iso is     write-protected, mounting read-only Copying... Installing grub... /usr/bin/winusb: line 421: unexpected EOF while looking for matching `"' Error occured ! Syncing... /usr/bin/winusb: line 78: 12459 Terminated              while true; do sleep 0.05; echo 'pulse'; done Cleaning... /usr/bin/winusb: line 78: 12461 Terminated              while true; do sleep 0.05; echo 'pulse'; done Umounting and removing '/media/winusb_iso_1437334971_3530'... Umounting and removing '/media/winusb_target_1437334971_3530'...   I already formated my USB to ntfs.


I would like to fill the area between my plot and the x-axis. I tried also the fillbetween library but I cannot figure out exactly how it work. \documentclass[10pt]{article} \usepackage{pgfplots} \usepackage{tikz}  \begin{document}      \begin{tikzpicture}     \begin{axis}[         style = thick,         scale only axis=true,         xmin=-1 ,         xmax=4 ,         width=0.8\textwidth,         height=0.6\textwidth,]     \addplot[thick,             domain=0:2,              samples=100,             color=blue,             fill = green,             fill opacity=0.3] {x^2 - 2*x + 2};     \end{axis}             \end{tikzpicture}  \end{document}


What is a "spellcaster" for the purpose of magic item attunement?

Several wands and other magic items in the DMG cite "spellcaster" as an attunement requirement, specifically "requires attunement by a spellcaster" while others list multiple spellcasting classes (e.g., a Staff of Fire "requires attunement by a druid, sorcerer, warlock, or wizard" p. 201). However, all the DMG states in this regard is:  Some magic items require a creature to form a bond with them before their magical properties can be used. This bond is called attunement, and certain items have a prerequisite for it. If the prerequisite is a class, a creature must be a member of that class to attune to the item.¹ (If the class is a spellcasting class, a monster qualifies if that monster has spell slots and uses that class's spell list. [emphasis and footnote added] (p. 136)  The language of the Mage Slayer feat describes a spellcaster as a creature casting or concentrating on a spell.  You have practiced techniques useful in melee combat against spellcasters [...] When a creature within 5 feet of you casts a spell ... [and] When you damage a creature that is concentrating on a spell ... (PHB, p. 168)  From the above, it does not appear that "spellcaster" would necessarily be considered a class or group of classes, so Are characters that can cast spells, regardless of their class(es), considered spellcasters? Or, put another way, Does "spellcaster" (as an attunement prerequisite) mean any creature who can cast a spell or does it mean all classes with the Spellcasting feature? I can think of five particular cases—innate abilities, two subclasses and two feats: High Elves know one wizard cantrip (0-level spell) of their choice. Drow can cast the dancing lights cantrip, 1st-level spell faerie fire and 2nd-level spell darkness. Forest Gnomes know the minor illusion cantrip, and Tieflings can cast the thaumaturgy cantrip and 2nd-level spells hellish rebuke and darkness. Also, many monsters have innate spellcasting abilities, which would trigger the Mage Slayer feat. Starting at 3rd level, both the Eldritch Knight (Fighter Martial Archetype) and Arcane Trickster (Roguish Archetype) gain the ability to cast wizard spells and gain wizard spell slots (potentially) up to 4th-level spells. PHB, pp. 75 & 98. The latter's 17th-level Spell Thief feature also states "you gain the ability to magically steal the knowledge of how to cast a spell from another spellcaster," (Ibid.) which strongly implies that (at least) the Arcane Trickster is a spellcaster, although neither subclass is specifically listed as a prerequisite for any magic item in the DMG. Eldritch Knight and Arcane Trickster are also found under Multiclassing, Spell Slots in the PHB:  You determine your available spell slots by adding together all your levels in the bard, cleric, druid, sorcerer, and wizard classes, half your levels (rounded down) in the paladin and ranger classes, and a third of your fighter or rogue levels (rounded down) if you have the Eldritch Knight or the Arcane Trickster feature. (p. 164)  With the Ritual Caster feat, a character chooses a spellcasting class (except paladin or ranger) and gains the ability to cast spells of that class with the ritual tag as rituals. The character immediately gets two 1st-level ritual spells of that class and has the potential to (eventually) learn all of the ritual spells of the chosen class. PHB, p. 169. With the Magic Initiate feat, a character chooses a particular spellcasting class (except paladin or ranger) and immediately learns two cantrips and one 1st-level spell from the class with no further advancement. PHB, p. 168. By definition, it seems all of the above would qualify as spellcasters, but I feel spellcaster typically (or maybe traditionally) refers to bard, cleric, druid, paladin, ranger, sorcerer, warlock and wizard.   I believe an exception would be a 13th level or higher Thief (Roguish Archetype) due to the Use Magic Device feature. PHB, p. 97.


What are the differences between "impolite" and "unpolite"?

Definition of  in OD:      not having or showing good manners; rude.   Definition of  in TFD:      Not polite; impolite; rude.


I am new to Blender so I started to watch tutorials. Recently i have been doing tunnel tutorial. But i have problem with rendering.   As you can see on the picture above there is a problem with tracks and walls. As for the walls i dont know if it is a issue with textures or rendering. But on the rails there is no textures, yet there is a problem. I tried to render only rails and lights and i still get same result. I am rendering on Blender render. I am working on default Blender settings, so maybe i need to adjust settings to my computer. Best regards


Set default encoding to utf-8 using htaccess

I'm using oscommerce under xampp and I'm trying to set default encoding to utf-8, because some characters are messed up. My database is utf8-turkish-ci. Here's my htaccess code:  <filesMatch "\.(htm|html|css|js)$"> AddDefaultCharset UTF-8 DefaultLanguage tr-TR </filesMatch>   Here's a screenshot:    How can I fix these characters?  Edit: I checked my database and saw that it's utf8-unicode-ci


Cross-application drag-and-drop in Delphi

I would like to create a Delphi application for Windows XP which allows dropping of files dragged from Windows Explorer (the Desktop or folder windows) or other applications which support this operation (such as Total Commander). What about vice-versa? When the user drags an icon from my application, I should be able to set the contents of the dragged object to custom data.  My goal is to create a custom application toolbar, onto which I can drop applications and show their icons or drag applications or other entities from it.  How can this be done?


I am new to python and I read that there is no ++ operator in Python but I am not able to understand the below code.  >>>print (2++3) >>>5


Can magic items let you cast spells with long casting times as actions?

Magic items like the Staff of the Magi let you cast certain spells from it as an action, including Conjure Elemental which normally has a minute long casting time.  The Staff of the Magi is not the only exception; a more extreme example is the Staff of Woodlands which can cast Awaken this way, which is normally an eight hour long spell.  Is there any resolution to how these different rules interact?


Is it possible to temporarily skip media restore in WhatsApp?

I use WhatsApp on an iPhone X. I have chat history and media backed up on my iCloud. The total size of the backup is around 6 GB.  I had to send in the iPhone X for repair, and I’m using a temporarily loaned iPhone 6.  I restored the WhatsApp chat history from iCloud, but the iPhone 6 is a 16 GB variant. I’m unable to restore the media onto this phone since “system files” are around 11 GB. If I turn off iCloud Drive, it goes down to 7 GB but with that turned off, I can’t backup/restore WhatsApp. The only thing enabled in iCloud Drive is WhatsApp so I don’t know why it’s consuming 4GB on the phone when I haven’t restored media.  Is WhatsApp backup cumulative?   If I skip the media restore, and continue backing up the chat history, will I be able to restore the entire chat history and media on my iPhone X when I get it back? Will the media part of the backup be erased from iCloud if I skip media restore and do a chat history backup on the temporary phone?


Proving that a sequence is convergent and finding its limit

If $x$ and $A$ are positive and $x_1 = \frac{1}{2}(x + A/x)$,$x_2 = \frac{1}{2}(x_1 + A/x_1)$, and so forth, prove that the sequence $x_n$    is convergent and determine its limit.  Use your result to find an approximation to $\sqrt2$  My attempt:  To prove the convergence: I showed that since $x_n = \frac{1}{2}(x_{n-1} + A/x_{n-1}) \geq \sqrt{A}$ using the geometric-arithmetic inequality that $x_n$ is bounded below.  Then, I did $x_{n+1}-x_{n}=\frac{1}{2}(A/x_{n}-x_n) \leq 0 $ using the fact that $x_n \geq \sqrt{A} \space for \space all\space  n$  Which implies that $x_n$ is monotone decreasing. So we can conclude that it is convergent.  But how can I get an approximation of $\sqrt2$ using my result?  Any help would be appreciated. Thank you!


AES s-box – How do I calculate the inverse of this field equation?

I want to implement AES algorithm,instead of LUT based S-box, but I’m stuck at point creating "Inverse of equation" during implementation.  In creation of S-box I am using the following steps:    ($a_7a_6a_5a_4a_3a_2a_1a_0$) bits converting in to field equation. Calculating the inverse of the field equation modulo($x^8 + x^4 + x^3 + x + 1$). Doing the affine transformation. Return the 8 bits.          In these steps I did not find a way to calculate inverse of the field equation.  Can anyone help me in calculating inverse of equation in Galios field mod($x^8 + x^4 + x^3 + x + 1$)?


How to acquire a remote host fingerprint that is not in known_hosts?

ssh-keygen -l -F host will print out the key of a remote host, but only if the host exists in known_hosts.Is it possible to request a fingerprint from a host that isn't in the known_hosts file? (without manual intervention such as connecting through ssh)


Python: Import from variable after finding all files in dir

I'm trying to make a python program for a given software than will scan&run another certain python function at choice (or .py file altogether). However I can't import a function name set in a variable.  import glob  functions_list = glob.glob('*.py') #all my python files are found #pick any specific file to import import a[3]   This fails with SyntaxError: invalid syntax.  Is there any way to do this? My idea is to have a TkInter selection list where I click to run the .py I selected.


Can not instsl Ubunt-Server near to Windows 8.1

I've tried a lot. I was trying to install it using a flash card (two different cards), then with CD's (two) and DVD (one), but my computer just load windows (i've tuned BIOS, like it had to be). I've tried Wubi, but there was an exeption "Could not retrieve the required installation files" (Kubuntu), and "undefined error with disk D" (with Ubuntu). I think that the problem is in my OS - it is 32-bit, when my processor is 64-bit, can it be so? I just don't know what to do, plese, help me.


In The Force Awakens, Captain Phasma first chews out FN-2187 for disobeying orders and being disloyal. Loyalty to the First Order seems like a big deal to the Captain.  Then later, Captain Phasma      under the threat of mere death promptly helps the good guys blow up the Death Star III by helping them exploit the single point of failure. She doesn't even try to resist or trick them, she just straight up submits.   I would call this disloyal if not straight up traitorous. What could have caused this change of attitude?


confused about geometric series closed formula

I have found many definitions of geometric series, for a partial sum from 0 to n-1 $$\sum_{0}^{n-1} ar^{x} = a \frac{1-r^{k}}{1-r}.$$ But the context I need to use it in, requires the sum to be from 1 to n. Is there an easy way to rewrite the closed form for this?


I am looking forward to ....? (followed by a Gerund)?

I know, that      I am looking forward to hearing from you.   is correct. But I am not sure, if this holds also for other verbs?   So is     I am looking forward to taste your cookies.   or is     I am looking forward to tasting your cookies.   correct?


Is it possible to travel within the US without an ID?

On the one hand, I'm aware that  in the US do not have a valid government ID. On the other hand, traveling within the US requires you to show a piece of ID wherever you go - even when taking a Greyhound.   So let's say you're an American who has a large number of cash in their pocket but no ID whatsoever. Would you be able to get from New York to San Francisco or from Seattle to Miami? If so, what are your options? Even though I do have plenty of identification documents, I find it enjoyable to be able to travel anonymously.


I'm trying to get a list of all users in the local groups in my system using powershell.Get-LocalGroupMember -Group "Administrators"  This is working properly.  I would just like to know if there is any built-in API/function in C++ to get this list.


Prove that if $\gcd(a,b)=1$ then $\gcd(a,bc) = \gcd(a,c)$.   Found many similar questions to this, but none the same. I've been trying to use Bezout's Lemma, but haven't figured it out.


Database Mail on SQL Server Express 2017

I followed  to create a database mail for SQL Server Express 2017.  I got it working but before that I had tried to create accounts and different profiles.   How I do I list all database mail profiles id and account ids so I can delete the old messed up ones.


Should I delete SPAM content from an answer review?

In one of my first reviews in Stack Overflow, I've found this clearly SPAM answer:     American eagle limo give you the Party Bus with Stripper Pole in DC of the extended limos for the substantially more individuals, as just constrained individuals can conform in the normal limos .The extended limo will be bigger than the customary limos with the same offices so no compelling reason to stress that whether what number of companions you do welcome for your u......Washington USA    I've flagged it as spam, but I cant delete the answer itself, so... in order to mantain forum order, should I delete the content or i must wait to a moderator to delete it?


Remove parentheses for empty year field biblatex ieee style

By using biblatex ieee style, I found that the reference will display empty brackets even though the field "year" is undefined. How can I remove it without having to change the biblatex.bst?  \documentclass{article}  \usepackage[style=ieee,backend=bibtex]{biblatex}  \usepackage{filecontents}  \begin{filecontents}{\x.bib} @ELECTRONIC{MEMSnet,   title = {What is {MEMS}?},   organization = {MEMSnet},   url = {http://www.memsnet.org/mems/what_is.html},   urldate = {Dec. 01, 2013} } \end{filecontents}  \addbibresource{\x.bib}  \nocite{*}  \begin{document}  \printbibliography  \end{document}   I got   (). What is MEMS? MEMSnet, [Online]. Available: .  which is not a correct citation style. I would like to have:  What is MEMS? MEMSnet, [Online]. Available: .  Many Thanks


My MacBook Pro has a flashing question mark in a folder against a grey background

My MacBook Pro shows a grey screen with a flashing question mark in a folder. I tried connecting it to an older MacBook using firewire cable. I restarted the Macbook Pro in Target Mode. Now I see Thunderbolt and Firewire icons flashing and moving in a grey background. There is a green power icon at the bottom as well. I am not an expert even though I have been using Macs for ages.  How can I fix this issue so I can recover/backup things in the MacBook Pro hard drive?


How to render a mesh transparent with a color on its edges only, with nodes?

I would like to have my object transparent, with a color only on the edges, would someone know how to do this? I am starting with the nodes, if anyone can help with some guidelines I would really appreciate ;-)  EDIT:  I was looking for something like the hand in Kinectimals :    Thanks


This may not be an appropriate question for gamedev.stackexchange.com.  I'd like to make a basic  game with Unity. I'd also like to sell it on the Mac App Store, iOS App Store, Google's Play Store, Windows 8 Store etc.   I'm not sure however if that will cause trouble with Copyright. I asked Google but I didn't find any helpful results.  Can I use the game-concept without buying a license?  I know that there are plenty of games with the same concept on various platforms, I just want to be certain.


What Documents to use for Financial Documentation for Canada

I have this Documents For Canada Visa Application and Please I do need genuine and up to date responses.  Asides the normal documents for the visa Application which I would be uploading all online, Now i have this additional Documents which I want to use for Financial Documents   I have a letter from my employer detailing that they would sponsor my trip for a Biomedical Conference. The company is responsible for Perdiem, Hotels etc which I would be using in Canada, as they wouldnt be giving me company bank statements. I have my own bank statements as well but I am getting the documents for the 2 to submit for the visa application as i would be submitting soon. (For a Conference for September)  Please advise if I am on the Right track. Need replies from people with very similar experiences.


I'm getting an error stating FATAL EXCEPTION: main Caused by: java.lang.NullPointerException at Home.java:35 when attempting to create a thumbnail from a MP4 using the following example:   Line 35 is thumb.getWidth(), thumb.getHeight(), matrix, true);  The MP4 URL is valid - so I'm not sure exactly why this is happening.   Source:  public class Home extends Activity {      @Override     public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.home);           ImageView videoview;         videoview = (ImageView) findViewById(R.id.myImageView);          Bitmap thumb = ThumbnailUtils.createVideoThumbnail("http://techslides.com/demos/sample-videos/small.mp4",   MediaStore.Images.Thumbnails.MINI_KIND);          Matrix matrix = new Matrix();          Bitmap bmThumbnail = Bitmap.createBitmap(thumb, 0, 0,          thumb.getWidth(), thumb.getHeight(), matrix, true);          videoview.setImageBitmap(bmThumbnail);        } }


How to install debug symbols for installed packages?

I try to watch how programs work by running them by the 'Qt Creator' debugger. For better orientation I'd like to see also the system (core) utilities fully in the call stack window as I am used from the MS Visual Studio 6.0, not only to see their assembly code. For the utilities, the 'Qt Creator' debugger displays only that their debug symbols are not available. (Sometimes, the system generates bug reports for its developers; the bug report dialog has requested installing such symbols only for a particular program.) How can I get the core debug symbols? (Without translating the whole Ubuntu version. I use the 'Update Manager' to install updates regularly. My /sys/kernel/debug/x86 directory contains only one empty file. I have not found it in the 'Ubuntu software center' nor do I see if some of the packages at the  is what I seek.) Thanks!


Suppose $f$ is entire and $|f(z)| \leq 1/|Re z|^2$ for all $z$. Show that $f $ is identically $0$.

This is a problem from my complex analysis textbook.  The hint is to consider $g(z)=(z-iR)^2(z+iR)^2 f(z)$ and to show that $|g(z)| \leq 8R^2$.  This is what i have tried: Consider $Re z \geq 0$, then $|(z-iR)^2 f(z)|\leq \left(\frac{|z-iR|}{Re z}\right)^2\leq 2$   But then I don't know what to do next. Any help I'd appreciate :)


In python, I have code like this:  def var(a=1, b=2, c=3):         return a, b, c   Running it gives this outcome:  >>> import Test >>> Test.var() (1, 2, 3)   In this case, 1, 2 and 3 are the default values I want to use. Occasionally, I want to be able to modify all or some of those variables. However, because I have many possible var() statements with different defaults and number of defaults. They can be var(a=1, b=2, c=3) or var(d=1, e=2, f=3, g=4) or var(h=0) and so on.  I want to modify these variables through a single variable I can feed from command line, like this:   >>> arguments = 'a=0, b=5, c=7'   But this doesn't work.  >>> Test.var(arguments) ('a=0, b=5, c=7', 2, 3)   It interprets the 'arguments' variable as being only 'a' while leaving b and c untouched. How can I make my 'arguments' variable be read literally by the def statement?


Hi I am a beginner in blender, it worked fine until I tried to render a video from video editing section in blender and after that my render stopped working, here's before:  And here's after:


How to avoid decimals on position and size using pixels

I am using Adobe Illustrator CS6 to create small images (like icons) for my app so I need pixel precision.  How can I avoid X, Y, W and H properties to have decimals? Can I configure 0 decimals for this properties on my document?  If I use the textboxes with this properties it does right, it increases pixel by pixel, but when draggin with the mouse it uses up to 3 decimals.


Difference between using the Stack or the Heap

Are there any problems when using the stack instead of the heap?  Basically I want some 200 positions in memory (or more, 1000, who knows, this is hypothetical anyways), I can allocate it in the stack using an array, or on the heap using malloc(). On the heap I have to remember to always free() the memory...but using the stack, as soon as the function returns, all the memory is nicely cleaned for me.  I am just wondering if there are any issues with holding large amounts of memory on the stack. As far as I know, the stack and the heap are basically the same, just they sit on opposite sides in a RAM frame, and they grow towards the other, like in the image below.


How to run GUI applications remotely on a headless server?

I'm new to Ubuntu - sorry for novice questions. What I have - is Ubuntu server, to which I have access only via ftp and putty. What I would like to do - is to run firefox (or any other browser) from that Ubuntu machine.  I've managed to install firefox , but when I'm trying to run something like this:  x-www-browser http://google.com   It is saying:  Error: no display specified   I don't understand - there is no display at all at Ubuntu sever - it is just computer case on rack, the only display I have - is mine.  Don't know, how to redirect this display output to my machine (if this is possible at all).


How can I automatically remove duplicate sources.list entries?

I try to install a new ppa entry and when I update from command line I received a duplicate (error) message. I know what meens that and how to solve manually with Ubuntu Tweak or command line. Is any automated way to solve this problem when I install duplicate entries? like a command which find the duplicates and erase them or a software.


I’m now writing a masters thesis in mathematics. I’d like to introduce basic definitions and theorems in the beginning. By basic I mean truly basic, like the definition of a connected graph and the theorem about Eulerian paths (such a path exists if and only if even degrees).   The lecture notes written by my professor is really nice so I’d like to use his definitions (I’ll cite, of course). In this case can I cite his lecture notes?


What is the best approch to avoid ConcurrentModificationException in JAVA 8

I had the below piece of code which returns ConcurrentModificationException. I could see some approaches to handle the same in java7. Instead what is the best way to handle the same in Java 8  List<String> mylist = new ArrayList<>();         mylist.add("test");          mylist.forEach(str -> {             if(str.equalsIgnoreCase("test"))             {                 mylist.add("pass");             }         });


Give me please a hint, how to find   $$\underset{x\rightarrow\infty}{\lim}x-x^{2}\ln\left(1+\frac{1}{x}\right)$$  I tried to use substitution $h = \frac{1}{x}$ and, then, apply L'Hopital's rule, but it went worse.


Default constructors and inheritance in Java

I have a question about default constructors and inheritance in Java.   Generally, if you write a class and do not include any constructor, Java provides automatically for you a default constructor (one without parameters), which initializes all instance variables of the class (if there are any) with some default values (0, null, or false). If you write a constructor, however, with some parameters, and you don't write  any default constructor, then Java does not provide a default constructor.  My question is: what is the case with classes, which inherit from other classes - if I write a constructor with some parameters in them, but don't include a default constructor, do they inherit the default constructor of the super class?


How do I see all foreign keys to a table or column?

In MySQL, how do I get a list of all foreign key constraints pointing to a particular table? a particular column? This is the same thing as , but for MySQL.


Subgroups of Symmetric groups isomorphic to dihedral group

Is $D_n$, the dihedral group of order $2n$, isomorphic to a subgroup of $S_n$ ( symmetric group of $n$ letters) for all $n>2$?


Anyone else find that trying to use  `something in quotes'   frustrating because  `s   is always mapped to  \sigma   Where is my mistake?  1) Shouldn't I be using (`quote') in the first place?  2) Is there a way of unmapping the back-quote to greek letters?


Since updating to Big Sur Mail.app search *of any kind* is not working

I simply do not get the "All Mailboxes" mailbox icon in the mailbox panel of OSX. I followed the directions here:  So I restarted Spotlight indexing, then deleted the Mail envelope files in accordance with the advice on macobserver. This caused a rebuild of Mail data with a long progress bar and restored functionality but only temporarily. After some time, generally after closing and reopening the clamshell on my MBP, Mail search fails again and requires a logout/login to fix. Search from Spotlight fails as well as from within Mail. I have Siri off, and has always been. I can't imagine what else could affect specifically Mail search when search works in other contexts, and worked previously. This problem affects a 2015 MBP and an older Mac Mini that fails after some time sleeping. Logout/login restores functionality here as well, but only temporarily.


How to fill a large series (over 10,000 rows) in Microsoft Excel without dragging or selecting cells?

I have more than 10,000 rows of data I need to do some calculations on one column of the data. I have made the calculation in one cell and now need to fill the formula for the calculation and all the cells.  Usually I just select the cells using the keyboard and then press the Ctrl+D to fill the cells. However, now I have to do this repeatedly, and it is difficult to keep on selecting 5000 rows each file. Is there a simpler way where I can just specify the range using the keyboard? Perhaps even have a macro since all of the files have a fixed length  Also, since I have difficulty in using the mouse because of medical reasons and therefore I have not tested  which involves clicking on a very small fill handle. Maybe there is a parallel solution to this using the keyboard or maybe I can create a macro which will automatically click on a fill handle of a selected cell - please advise if there is a way.


I searched many times about the cause of the circle area formula but I did not know anything so ...      Why is the area of the circle $\pi r^2$?   Thanks for all here.


SD Card not accessible with NO MEDIA ERROR

I have a Sandisk 16GB MicroSD card, few days ago, the card suddenly stopped working, and this has happened before, the entire card was formatted or erased by itself back then, I had to reformat it and recover all my photos and files.  However, this time, while I was using my Android Phone the SD card vanished all of the sudden and I could not access it. I tried reinserting, restarting the phone etc.  When I connect the SD card to my Windows PC the OS cannot detect the memory card, there is no driver allocation to it.  The memory card reader has no fault, I confirmed with disk manager   I used the chkdsk function to check about the SD Card and the card was not accessible.  Check the image below:    Even disk manager of windows does not provide any useful information, just that the drive is not detected, the same, there is no media in it.    I even tried changing the driver letter but still there is no use.   The dskpart option shows that the sd card has no media in it and is of 0 bytes.  and    Please try to understand that this sd card contains a lot of my photos, my birthdays, farewall party everything. I utterly need them back. Please help me get through with this.


Unusual way for OS to start - text shown instead of Ubuntu image

Since I've made small upgrades from upgrade manager, I started getting this unusual starting process (line of codes).    After that, my OS is fully loaded, but I want to make this as need.


Field between the plates of a parallel plate capacitor using Gauss's Law

Consider the following parallel plate capacitor made of two plates with equal area $A$ and equal surface charge density $\sigma$:    The electric field due to the positive plate is   $$\frac{\sigma}{\epsilon_0}$$  And the magnitude of the electric field due to the negative plate is the same. These fields will add in between the capacitor giving a net field of:  $$2\frac{\sigma}{\epsilon_0}$$  If we try getting the resultant field using Gauss's Law, enclosing the plate in a Gaussian surface as shown, there is flux only through the face parallel to the positive plate and outside it (since the other face is in the conductor and the electric field skims all other faces).   $$\Phi = \oint \vec{E}\cdot\vec{dA} = EA$$  where $E$ is the electric field between the capacitor plates. From Gauss's Law this is equal to the charge $Q$ on the plates divided by $\epsilon_0$  $$\frac{Q}{\epsilon_0}\implies E = \frac{Q}{A\epsilon_0} = \frac{\sigma}{\epsilon_0}$$  I know there is something fundamentally incorrect in my assumptions or understanding, because I frequently get conflicting results when calculating electric fields using Gauss's Law. I am, however, unsuccessful in identifying this.   Edit: Also, another problem I noticed was that even if we remove the negative plate from the capacitor and then apply Gauss's Law in the same manner, the field still comes out to be $\sigma/\epsilon_0$ which is clearly wrong since the negative plate contributes to the field. So, maybe the problem is in the application of Gauss's Law.


Does the total cover provided by being swallowed work both ways?

Say a character ends up being swallowed by a monster, for the sake of an example say the monster is a .  The rules for being swallowed by a Kraken include this sentence:     While swallowed, the creature is Blinded and Restrained, it has total cover against attacks and other Effects outside the kraken, and it takes 42 (12d6) acid damage at the start of each of the kraken's turns.    So I take that to mean if one swallowed character's allies outside of the Kraken drops a spell on it like  or , then they won't be affected.  Does the same apply in reverse? If the swallowed creature casts  while inside of the Kraken, are the creatures outside of the Kraken also able to be hit by the spell or not?


what is the difference between webdriverwait polling and fluentwait polling when both can poll for element every mentioned seconds(selenium webdriver)

new WebDriverWait(driver,180).pollingEvery(10, TimeUnit.SECONDS).until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//div[contains(@class,'sweet-alert')]/p")));   new FluentWait(driver).withTimeout(180, TimeUnit.SECONDS).pollingEvery(10,TimeUnit.SECONDS)   Please have a look at the above two waits. both are going to wait for maximum 180 seconds and both are going to check for element every 10 seconds then how do they differ?  Thanks, Pradeep


Google webmaster showing error 404 of the URLs I have never created

In the Search console of Google webmaster, I am getting "Not found" in URL Errors in an extent having suffix /%EF%BB%BF. I have never created these type of pages or in website these URLs never exist. My site traffic is getting hurt due to the issue. If anyone suggests me how to come out of this issue I will be grateful.


How can I get a deleted answer undeleted?

I answered this question with a link to the vendor documentation that I believed addressed the issue.    My answer was deleted because...     Link-only answers can become invalid if the linked page changes.   That make sense to me. So I edited my answer to replicate the pertinent information from link I provide while still referencing the link.  How do I get my answer undeleted? I voted to undelete it, but I get a message that says "A moderator has deleted this post and it cannot be undeleted".  I understand wanting to not allow answers that could become stale (dead links). Should I post a new answer with the information from the link?  Thanks


Is it possible to automatically link to cross-posts?

Is it possible to automatically check if a user also posts the same question on one of the other stackexchange sites? If so, can you provide a link to the other question?  For instance,       It is a small step for developpers, but a huge step for people spending time helping others (whilst the question is in fact already solved elsewhere).  Is it also possible to throw fire at cross-posters?


Determine all positive integer solutions for $\frac 1x + \frac 1y + \frac 1z + \frac 1{xy} + \frac1{yz} + \frac 1{xz} + \frac 1{xyz} = 1$

I need to determine all positive integer solutions for the equation:  $$\frac 1x + \frac 1y + \frac 1z + \frac 1{xy} + \frac1{yz} + \frac 1{xz} + \frac 1{xyz} = 1.$$  This is how I have tried to do it:   Mulitiplied both sides by $xyz$ to get $$yz+xz+xy+z+x+y+1=xyz.$$  Factor it: \begin{align} x(y+z+1-yz)+yz+y+z &= -1   \\ x(y(1-z)+z+1)+y(1+z)+z &= -1 \end{align}  If $z=0$, we get \begin{align} x(y+1)+y=-1 &\iff xy+x+y=-1   \\ &\iff (x+1)(y+1)=0, \end{align} which gives us $x=y=-1$.  Is this all positive integer solutions? Or have I missed something?  EDIT: I am stupid.   New attempt.   If $z=1$, I get $2x+2y=-2 \iff x+y=-1$.  Then there is no solutions of positive integers for both $x$ and $y$ at the same time.    If I try for $z=2$, I get \begin{align} x(y(1-2)+2+1)+y(1+2)+2=-1 &\iff x(3-y)+3y+2=-1   \\ &\iff 3x+3y+3-xy=0 \end{align} and I won't get a solution where all the variables are positive integers.


I am trying to do an export of approx 30,000 attachments in our Salesforce Org,  Would anyone have been through a similar exercise and can advise best practice or the best way / tool to do this?  Kind Regards  matt


How do I select a non-OEM charger for my device?

My Nexus 5 D821 (2014)'s original charger started failing to charge the phone since last week. There are 1.8A & 1.2A LG OEM chargers available in ebay.com. Is it okay to use the 1.8A charger? or Should I go for 1.2A charger?


What is the natural ( and historical) motivation for determinants?

I'm quite confortable with definitions such as a derivative or an integral because i get to see why they are the way they are and that feels really natural, there is a fundamental question to be solved such as "What is the slope at a certain point of the curve" and so on...  I can't see why someone would come up with the idea of a determinant, don't tell me that gives some area , I don't see why giving an area or a volume solves the kind of problems determinants do, is there a nice line of reasoning for determinants? Thank you guys !


how do I bring back the initial menu to configure a mesh?

I hope this is easy: how do I bring back the Math Function menu for a mesh once it has been initially created?  After I first configure the function the menu disappears and I can't seem to bring it back.


Download/redirect and play audio file from external system in Salesforce lightning component

We are trying to access/play audio files stored on external system from Salesforce Lightning Component. Access to file requires a BASIC authentication with GET method and we don't want users to prompt for username/password when they click on the audio file link (Stored as URL field on Salesforce custom  object). We first tried redirecting the user to audio file but no luck. Second option we are trying is, aura component as below which takes Blob from apex controller but it's not working. Any help is greatly appreciated. <aura:component> <audio src="{!v.audioFile} type="audio/x-wav">          autoplay="true"> </audio> </aura:component>  js controller     ({     doInit : function(component, event, helper) {         var recID = component.get("v.recordId");         console.log("recordID "+recID);         var action = component.get("c.makeCallout");                  action.setParams({             "recID":recID         })        action.setCallback(this, function(response) {             console.log('get state'+response.getState());             if (response.getState() == 'SUCCESS') {                 debugger;                var templateData = response.getReturnValue();                 var byteCharacters = atob(templateData);                 console.log(templateData);                                  const buf = new Array(byteCharacters.length);                  for (var i = 0; i != byteCharacters.length; ++i)                 buf[i] = byteCharacters.charCodeAt(i);                                  debugger;                                  const view = new Uint8Array(buf);                                  //cast to blob                 const blob = new Blob([view], {                 type: 'audio/x-wav'                 });                var audio = new Audio(blob);                 audio.play();                                  component.set("v.audiofile", blob);                 component.set("v.callOutComplete", true);             }         });         $A.enqueueAction(action);     }, })


I have download a thesis template from  and I would like to vary the vertical space (as in attached image) above the title of chapters. What modifications should I make in  file in order to achieve the desired.  Thanks


Extensions like  no longer work with the Thunderbird version 60+ . How can I run thunderbird version 60+ minimised to tray?  I run awesome-wm v4.2.


Is there a way to retrieve Journey History for contact using REST API?

I'm looking for a way to retrieve journey contact history - basically the same information that is on Journey Builder - History tab (Contact key, Journey Name, Activity name, Status, Timestamp) via SFMC API. I browsed the REST API documentation but couldn't find anything regarding getting that data. Has anyone ever done something like this and can push me in the right direction?


The code gives NullPointerException for jagged array

The code gives a NullPointerException on the commented line. I'm unable to find out the issue.  package com.lambda.classes;  import java.util.Random;  public class Lambda {      public static void main(String []args)     {         int array[][]=new int[5][];         Random r=new Random();         Random r2=new Random();         for(int i=0;i<5;i++){             int x=r.nextInt(10);             for(int j=0;j<x;j++)             {                 int y=r2.nextInt(200);//this line gives a null pointer exception                 array[i][j]=y;             }         }          for (int[] is : array) {              for (int i : is) {                 System.out.print(i+"\t");             }             System.out.println();         }         Random x=new Random();         System.out.println(x.nextInt(10));         System.out.println(x.nextInt(10));     } }


Recently broke my iPhone 11 and upon trying to redownload apps after repairs, found one has been taken off the Australian app store. I use it lots, was actually the app I was using right before breaking the phone. I'm hesitant to change regions to download it because I'm unsure of the consequences for other apps and settings. I have two movies, a bit of music on my Apple ID and plenty of apps. How much of this will remain untouched? Probably sounds silly but I'd like to know if I can switch countries, download the app, and switch back with everything there or if it's worth creating an ID linked to a foreign country to  login and log back out with the app. Or if it's not worth it at all. I have any payment details needed to make the switch I'm sure.


what is the barriers of making fast lenses?

I know there are lenses like f/0.7  However as a beginner I'm wondering what's the barrier of making ultra fast lenses like f/0.01 ?  Also if lens manufacturers willing to make wide aperture lenses, why it become more expensive? What factor makes it more costly?


"all they need _is_ some words" or "all they need _are_ some words"

Which one is the correct form?   "all they need is some words"   "all they need are some words"


Probability prediction using logistic regression for an unbalanced dataset

I am trying to estimate the probability for a user to get to a specific page in a website. The collected information for the users are    countries whether they use a PC or a mobile device referral page   All the variables are categorical and I have two possible outcome, either success  (1) or not success (0).  I thought of using logistic regression as my dependent variable is categorical. I would get the probabilities for the two classes using the predict_proba method in sklearn implementation of the classifier. However, I have some doubts:   The classes are not perfectly balanced, i.e. $\sim$1 in 10 users has outcome 1. I compared my model with a dummy classifier and they equally perform; performing a grid search over the classifier, any combination of values leads to recall of zero. That is not only does the classifier outperform the dummy one, but does it not find the success-labeled users.   Given an intelligent threshold as said in this , could I use the prediction to assess such a success probability for a user? And, given that I have 3 categorical variables, should I think of the observations/variables ratio before or after the one-hot encoding process?


Showing time inversion of a Brownian Motion $X_t = tB_{1/t}$ is continuous at $t=0$ USING the fact $X_t$ is BM on $\mathbb{Q}$?

I am reading the following paper on a rigorous construction of Brownian Motion: . In the paper, they give a peculiar proof of the fact that the time inverted Brownian Motion is continuous at $t=0$ (pg.4). Specifically, a time-inverted Brownian Motion is given to be:  $$ X_t = \begin{cases} 0 &: t=0 \\ tB_{1/t} &: t \neq 0 \end{cases} $$  They say that $X_t$ has the distribution of a Brownian Motion on $\mathbb{Q}$, the set of all rationals, so that:  $$ 0 = \lim_{n \to \infty}X(\frac{1}{n}) = \lim_{t \to 0}X(t) $$  What I understand is how they get the second equality, which is obtained via setting $n = \frac{1}{t}$. However, what is confusing me and what I dont understand is how the first equality, $0 = \lim_{n \to \infty}X(\frac{1}{n})$ is obtained. I am assuming it has something to do with real analysis but am not really sure why $0 = \lim_{n \to \infty}X(\frac{1}{n})$ is true. Could someone give me a hint? Thanks.


"Wall Street banks had made billions of dollars on complex investments backed by mortgages whose value now plunged." In this sentence, why was the word "value" used as a singular noun here? (or is it an uncountable noun?) From what I thought, since there are multiple mortgages, values should also take a plural form, as each mortgage has a different value. OR is it the case where the "value" was used as an uncountable noun that includes all the values of the mortgages mentioned? I would greatly appreciate any help. Thanks!


Till today I was using ubuntu 13.04 in my windows7/ubuntu dual boot. Just now I have upgraded to ubuntu 14.04. My software updater showed an updates available message. I proceeded with  Install Now . Soon I got the following window.    Then I tried sudo apt-get clean as recommended. Nothing happened! Not even a window opened. Teach me deleting the temporary packages.   Deleting temporary files may not be highly helpful in case of further updates and installs for I don't have too much space left in my /. I wanna extend my / partition with the help of the unallocated space in my HD. The following is my Gparted window.       I got an answer . But it wasn't useful for me. I had two choices. But the answer wasn't working for both my chioces.  Choice 1: I may use the 4.25 GiB unallocated space to extend my /dev/sda10. To do so, I must need to move my linux-swap partition. But my Resize/Move option is disabled for the linux-swap partition. Choice 1 failed!   Choice 2: I may use the 14.35 GiB unallocated space instead. In this case I must move more than one partition. /dev/sda4  partition is the first on the list. Even that partition has the same problem. Resize/Move option is disabled. Choice 2 failed!  I am out of choices now.  What shall I do? Help me to extend my / with Gparted.


How to record the sound also in a screen recording if the headphones are connected?

I would like to know If I will be able to record using quick time player or other application you may suggest, both audio and video on my Macbook Air with head phones connected !!  When headphones are not connected, there is no problem, i go to setting on the recording screen and i choose built-in microphone  But what i want is while i'm using my headphones, when i want to record a video, i want it to capt the audio from that video rolling on my mac, not the sound of outside


Best design for a tree-like structure database

I'm designing a database in MS Access which is used for tracking the locations of a variety of chemical solutions, made in batches.  Each batch can be split (aliquoted) practically indefinitely. That is, we may manufacture 100g of a product, which is aliquoted into two 50g vials. One is kept in storage, the other is shipped somewhere else and further split into 50 1g vials. These vials may be transported at any time, and may be aliquoted further.  I would like to be able to track the history of any particular vial. Where it has been (and when), including the history of its 'parent' vial and the parents of that.    That is, if I look at the history of vial #7 in the above image, I want to see the history of vial #7, (reverse chronologically, for example), followed by the histories of vials #6, #3 and #8.  I'm struggling to find the best way to record this data; currently I have one main table (plus several lookup tables) which has one line for each 'node'. A node represents a vial being in a location; so each line has an AutoNumber primary key, a 'parent' (the primary key of the previous node - either the previous location of the vial, or the parent vial if it was aliquoted), a 'location' field, the batch number etc.  There is already redundancy here because the batch number is on each node whereas it really only needs to be on the first node after manufacture (it clearly doesn't change when the batch is aliquoted).   So the data structure is the first issue here.  Once I've got the data structure, does anyone have any ideas for how best to show historical data for a vial?  Many thanks


Can Blender be used for 3D reconstructions of CT and MRI scans?

I would like to know if Blender can be used for 3d reconstruction of CT scans and MRI scans etc.  If so, I would like to be directed to a resource that demonstrates this.  I would like to reconstruct 3D images of various organs of the body based on radiological scans, to also illustrate certain pathologies, for educational purposes.


Does anyone know where the Processing menu moved in QGIS 2.4? Specifically, I am trying to install the LAStools box for QGIS following these instructions:


I'm new to D&D and not played before. I don't have friends who play the game and am wanting a way to start off on my own to learn the basics.  Does anybody know of any way to play online solo?   Thank you in advance!


I want to use tdclock in beamer and I use xelatex to compile it.  \documentclass{beamer} \usepackage[timeinterval=1]{tdclock} \usetheme{Madrid} \date[\tdtime]{\today} \begin{document}  \begin{frame}     \initclock     hello \tdclock hi \end{frame}  \end{document}


Export only part of a project into .dae?

When I simply go to File > Export > Collada (Default) (dae) then the whole project is exported as a single .dae file, telling me helpfully that they exported all the objects:  Blender doesn't care if an item is visible, or selected. it exports everything. The only workaround I found on my own was to save the file (exporting seems to at times crash), then delete all but the part I wish to export, then revert the deletion. But that appears tedious. Is there a way to only export a single object and not everything in a blender file?


iPhone: Game app able to access Photos without permission

I have downloaded a game from the App Store onto my iPhone. My understanding is that apps need to ask for, and be granted or denied,  permission to access iCloud, Photo gallery etc.  But in this game, there is an option to change the profile picture, and when I tap on it, it accesses my Photo gallery and I can change the profile picture from images in my gallery.  In Settings, I don’t see that there is any Photo gallery access permission for this app.  What exactly is happening in the background? Does iPhone treat game apps different from normal apps?  The app in question is a game called .


how to consume a WSDL web service in iphone?

I have a wcf web service which returns a wsdl response when I invoke the service.How can I consume a WSDL web service in iphone?


Which punctuations to use when bringing up questions in this way?

In formal writing, is the following usage of punctuations acceptable?     I keep asking myself. Who am I? Where am I from? And where am I going?   I'm not quite sure whether using a period after I keep asking myself is weird. To me, the natural choice would have been a colon, but this also would have made the first interrogative sentence have to start with a lower case w whereas subsequent ones, as they follow a question mark, must begin with a capitalised W , like ..asking myself: who am I? Where am I from..., which doesn't make much sense to me either.   Of course, alternatively, I can reorganise these interrogative sentences into clauses like     I keep asking myself: who I am, where I am from and where I am going.   But this feels much less emotionally charged than the first one, which makes it not so desirable to me.


If God created evil would that make Him evil or, the creator of evil?

God cannot be what He has created. So if He creates something there will be a gap between Him and His creation. That gap is defined in various ways. e.g. God alone can create. God is holy. Evil exists. Therefore God had a holy motive for making something other than Himself. To prove and demonstrate that He is perfect He sent His Son to fulfil the Law and by keeping this privilege for His Son He had a motive to make sure that Adam did not obey. And thus a rationale to predestine Adam to fail. If a cook makes a cake they themselves do not become a cake. God is the only Alpha. God is at the head of every causal chain. When Christians protect God from the accusation of creating evil, because they think that that would make Him evil, they are saying something outside God can create which is to make themselves into gods i.e. first causes. Adam was "very good" i.e. fit for purpose. The purpose being to show man's status as created and therefore having no ability other than that with which he was created . Incapable of obeying God of himself but also capable of doing so when not of himself.  I am a Christian and a hard determinist. I get the impression that some people think that if God created evil that would make Him evil. And they do not explore the idea of a holy motive behind evil. Here "judgement" is living with the consequences of how we were made. The sheep go one way because they are sheep, and not because they had the free will to choose to be sheep. The goats go another way because they are goats, and goats do not become goats by choosing to be goats, it just the way they were made. We give back to God an account of the lives we were given apodo = "give back". Does God desire people to obey His Law? "Yes" if He gives us the grace to do so and "no" if He does not. Back to the question: It appears to me that if God had not created anything then evil [disobedience to the Law] would not exist. God by deciding to create is responsible for everything that occurs as a result of His creating [including evil], but as God is holy creating evil only means what it says. There is no logically inevitable link that means that creating disobedience cannot be a holy act.


How does bigO(5*2^n + 1000n^100) become bigO(2^n)?

I have just started "Cracking the Coding Interview" by Gayle Macdowell. In this BigO topic, It  says we should drop the non-dominant term.   O(n^2 + n) becomes O(n^2) and O(n + log n) becomes O(n).  Well, I understand that. If we suppose the value of n to be some large number then we can ignore the smaller result since, it will be comparatively much more smaller than the larger one.  But, in this case how can O(5*2^n + 1000n^100) become O(2^n)) ?   Isn't n^100 dominant than 2 ^n ?


scp from remote host fails due to login greeting set in .bashrc

My simple file scp from a remote host (actually a locally run VM but that shouldn't matter) failed without displaying any error message but clearly not having copied the desired file:  scp myuser@myhost:~/.bashrc ~/.bashrc.ubuntu  The only thing it displayed was  ================================================================================  I thought that was peculiar because that was the first line displayed in my login greeting on the remote, which looks like:  ================================================================================ Welcome to <Ubuntu 12.04.2 LTS> You are <myuser> logged into <hostname> (my_ipaddress) Today is <Wed Aug 28 16:48:49 EDT 2013> ================================================================================   And here are the contents of the .bashrc on the remote that define that greeting:  1 if [ -f ~/.bash_aliases ]; then 2     . ~/.bash_aliases 3 fi 4  5  6 export PS1='\w@\t>' 7  8 set -o vi 9  10 printf %80s |tr " " "=" 11 echo 12  13 echo "Welcome to <"`lsb_release -d | sed 's/Description\:\s*//'`">" 14  15 export IPADDR=`hostname -I` 16  17 echo "You are <"$LOGNAME"> logged into <"$HOSTNAME"> ("$IPADDR")" 18  19 echo "Today is <"`date`">" 20  21  22 printf %80s |tr " " "=" 23 echo   Once I removed everything from like 9 down on the remote .bashrc, the scp succeeded.  Can anyone expound on this peculiar occurrence?  The local host is Mac OS Mountain Lion and the remote (VM) is Ubuntu 12.04.


Can a moderator lose moderation privileges? Is it permanent?  I have seen a moderator who was last active like 2 years ago but he is still a moderator. I don't want to mention them but will they stay moderator forever?


Where to ask - Video Subscription Platform

Hello where can I ask this question?  I've a customer that wants a web platform with a monthly(or other term) subscription plan to provide gym/fitness videos and a few articles. I started by building a video platform from scratch with the following tech stack PHP/Symfony CloudFlare Video Hosting Symfony EasyAdmin as backend However, I don't feel it is the best approach for this. I believe there are tons of platforms that can do this much better than I do. I found a few, however, almost all of them have already implemented payment solutions. This is not bad, however, I'd like to integrate this platform with a Portuguese (yes I'm Portuguese) payment provider. This is an easy API integration that I can implement if the platform provides some kind of integration. Do you know any platform, library, software that I can use to implement this? I've no preference on the stack at all, I just want something that works and I can customize to my customer needs, which are not many, just a Portuguese payment provider.


How to populate Dependent PickList value in Apex Class/ Trigger

I need to populate some picklist value on an Opportunity Trigger.   There are two pickList : 'PickList1' and 'PickList2' . Both of them are on same Opportunity Object, 2nd one  is the dependent on the earlier.  When I populate PickList1 on the trigger, how can I get the relevent value of 'PickList2' ?  I know by using If statement and by using hard code Picklist value we can implement our logic. But thing is we don't want to hard code the value of Picklist.  Is there any solution?


Changing the mouse cursor shape on Lubuntu

Is it possible to change the cursor shape in Ubuntu desktop ? Also is it possible change the cursor shape, when the mouse pointer is inside a certain region ?


Using apropos command with -a to search multiple keywords on CentOS 7

I'm running CentOS 7.0 build 1503. I'm trying to search for commands I don't know the name of by searching the man descriptions for multiple keywords using AND (e.g. search for a command containing the both words "create" and "group" in the description).  So I came across the command apropos (which is an alias for man -k). The default behaviour when given multiple keywords is to return any command matching any of the keywords, which isn't what I want. According to the man page the option -a specifies using AND, to return matches only when all words match.  But this isn't what I'm seeing in practice, so I need some help here - e.g. using Centos 7, if I do:  apropos create user   I see a huge list of commands, seemingly matching any command with create or user in the description, as expected. Noting the list includes an entry for the command 'useradd (8) - create a new user...'.  If I do:  apropos -a create user   I only get 2 commands (environ and open). This is what I'm confused by - I would expect it to return the command 'useradd (8) - create a new user', because i can see from the previous search that command does contain those words in the description. Also the 2 returned commands don't obviously seem to be anything about creating users. What am I doing wrong? I'm sure it's something embarrassingly obvious, for that I apologise in advance.  Thanks


My bash script depends on ffmpeg which was removed when I upgraded to 14.04. What to do?

I have a bash script to capture images using the webcam and it depended on ffmpeg. I recently upgraded from 13.10 to 14.04 and noticed that ffmpeg was removed and this script wouldn't work anymore. Searching led me to answers that suggested adding some ppa to repository and install ffmpeg. But I do not want to add any unofficial ppa. What to do? What is the official substitute for ffmpeg?


Security of Python's eval() on untrusted strings?

If I am evaluating a Python string using eval(), and have a class like:  class Foo(object):     a = 3     def bar(self, x): return x + a   What are the security risks if I do not trust the string? In particular:   Is eval(string, {"f": Foo()}, {}) unsafe? That is, can you reach os or sys or something unsafe from a Foo instance? Is eval(string, {}, {}) unsafe? That is, can I reach os or sys entirely from builtins like len and list? Is there a way to make builtins not present at all in the eval context?   There are some unsafe strings like "[0] * 100000000" I don't care about, because at worst they slow/stop the program. I am primarily concerned about protecting user data external to the program.  Obviously, eval(string) without custom dictionaries is unsafe in most cases.


What is the difference between taking courses, classes or lessons?

Currently, I am preparing a letter of my study objectives for an university application. I ask myself what is the exact difference between the following terms? Or can I use them synonymously?   taking courses taking classes taking lessons