I have problems with this exercise in the book Real Analysis of Miklós Laczkovich:  Let $f$ be continuous on $(a,b)$ and differentiable on $(a,b)\setminus \{c\}$, where $a<c<b$. Prove that if $\lim\limits_{x\to c}f'(x)=A$, where $A$ is finite. then $f$ is differentiable at $c$ and $f'(c)=A$  Since this problem is in the section of the mean value theorem, I have tried to attack it from that side, but I can not see what considerations to take to solve it, I would appreciate any help, thank you.

Let $f$ be a real-valued function continuous on $[a,b]$ and differentiable on $(a,b)$. Suppose that $\lim_{x\rightarrow a}f'(x)$ exists. Then, prove that $f$ is differentiable at $a$ and $f'(a)=\lim_{x\rightarrow a}f'(x)$.    It seems like an easy example, but a little bit tricky. I'm not sure which theorems should be used in here.    ==============================================================  Using @David Mitra's advice and @Pete L. Clark's notes I tried to solve this proof. I want to know my proof is correct or not.  By MVT, for $h>0$ and $c_h \in (a,a+h)$ $$\frac{f(a+h)-f(a)}{h}=f'(c_h)$$ and $\lim_{h \rightarrow 0^+}c_h=a$.    Then $$\lim_{h \rightarrow 0^+}\frac{f(a+h)-f(a)}{h}=\lim_{h \rightarrow 0^+}f'(c_h)=\lim_{h \rightarrow 0^+}f'(a)$$   But that's enough? I think I should show something more, but don't know what it is.


I am trying to have a text-box populate with X if another text-box has a certain value, else Y.  However, it's populating with X or Y seemingly randomly.  d4 is my button, d4result is where it populates the result, d4txt1 is where I want to see a 1 or 0, depending.  d4.setOnClickListener {         if  (d4result.text.toString() == "1") {             d4txt1.text = "1"         } else {             d4txt1.text = "0"         }         val rand = Random().nextInt(4) + 1         d4result.text = rand.toString()     }   So if d4result is populated with 1, I want d4txt1 to populate with 1, otherwise it should be zero.  But when I try it, I get 1 or 0 and I can't notice a pattern as to when/why.

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


I am planning to fly from China to the USA. One of the optiona is from Beijing to Haneda and then Narita to the USA? Do I need a Japanese visa for this transfer with my Chinese passport?

I'm arriving from New Delhi, India (Indian passport) with JAL at Narita on 11th July at 07:30 and departing for San Francisco with JAL at 00:05 on 12th July from Haneda. Do I need a transit visa as I'll be switching airports and spending a few hours at JAL City Haneda Airport Hotel?  Previously I had connecting flights from Narita to San Francisco and obtained shore passes to relax at Narita Nikko Hotel. Now I'm travelling with my elderly Mom and do not want complications at Narita immigration or later in the day while going from Narita Airport to Haneda airport. Please advise.


What type of punctuation should be used in the sentence "What is Stonehenge you might ask"?

If a sentence contains a complete question, but ends with a statement, should it be punctuated with a question mark?  Example:      Could she go to the store, he wondered


Every once and a while, I hear a game- like tune different from the usual end level tune and then there are fireworks.

What are the requirements for making fireworks appear at the end of a level in the original Super Mario Bros.?


After a difficult installation of ubuntu on a win 8 asus n56v, now I only can get ubuntu running... On starting computer I get different options including some win 8 (eg on sda2). I tried boot repair but didnt work. after choosing win8 i get message: "cant find command drive map" and "invalid efi file path". more info:  and here:   thanks, yoeri

I installed ubuntu 13.04 on my new notebook (that came with windows 8 installed) and now when I try to load windows 8 appear the error:  impossible to find command 'drivemap'. (this is in portuguese, I'm not sure if I translated it right invalid EFI file path.  ubuntu is working OK. someone knows what can I do to solve this and have both SO running? I have searched on the internet but couldn't find anything I could understand. can someone help me?


Let function $\,\, f:\mathbb{R}^2\rightarrow\mathbb{R}\,$ be defined as $$ f(x,y) =       \begin{cases}        \frac{x^ny^m}{x^{n'}+y^{m'}}\text{,} &\quad(x,y)\neq(0,0)\\        \text{0,} &\quad \text{otherwise}\\      \end{cases} $$ with $n,m,n',m' \in\mathbb{N}^*$ so that $n>n'$ or $m>m' $. Then from previous examples I've analysed, I'd guess that $\,f$ is continous at $(0,0)$. But somehow I've got a feeling that this can't be true. (My feeling is caused by the sequence criterion. Suppose $n>n'$ and $m'>m$. If $y$ "shrinks a lot faster" in a given sequence, $\,f(x,y)$ should grow instead of converging to 0.)  If $\,\boldsymbol{f}$ is continus at origin could you either:   proof it explain your intuition why this is true   If $\,\boldsymbol{f}$ is not continus at origin could you either:   hint me a counter-example disproof the statement   Cheers, Pascal

Ted Shifrin on this site posed an interesting problem to me: show that   $$ \lim_{(x,y) \to (0,0)} \frac {|x|^ \alpha |y|^ \beta} {|x|^ \gamma + |y|^ \delta} \text {exists} \iff \frac\alpha\gamma + \frac\beta\delta > 1, \,\,\,\,\text{where } \alpha, \beta, \gamma, \delta >0$$  I think I've got the $(\Leftarrow)$ direction as follows: assume WLOG that $\gamma \leq \delta$. Then switch to polar coordinates and get   $$\frac {r^ {\alpha + \beta} (*) } {r^\gamma (1(*) + r^{\delta - \gamma}(*))},$$  where $(*)$ represents some trig stuff that is bounded near zero.   Edit: I need to make sure that $(1(*) + r^{\delta - \gamma}(*))$ is bounded below here.  The other direction is giving me some trouble. It seems we need a lower bound for the fraction (something to force to zero), and I'm not sure where to find one. In particular, I'm not sure what to do with the denominator. Any ideas?


It is likely that the native dropbox app for Linux that is installed by  apt-get install nautilus-dropbox this method has a bug which is why it uses high CPU resources ? How to fix this?

I tried to install Dropbox using , or with apt-get install nautilus-dropbox.  Dropbox loads until 99% and then hangs, causing the system to go to 100% cpu usage.  If I reboot or close the terminal, I sometimes get dpkg errors which prevent me from using apt-get or Software Center to perform any package management functions.  I would like to resolve all these and just get Dropbox working. How do I do that?        Note: This question is possibly answered in two parts:            tells you how to install Dropbox.     But if you  have dpkg errors, see  before you use answer 1 to install Dropbox.


my wifi is not working. I followed the instructions of another post to generate a report, which is here -->   I understand this is relevant:     0: ideapad_wlan: Wireless LAN       Soft blocked: no       Hard blocked: yes   I'm getting kind of desperate :( Any help appreciated

I can't enable the Wifi (nothing happens when press enable button) and in Wifi settings it says:     "No Wi-Fi Adapter Found"   I have tried several things from other questions/answers here but nothing worked. Here some information if this is helpful for the answer:     Device: Lenovo Miix 2 11   sudo lspci:  Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)   sudo lshw -C network:  *-network DISABLED            description: Wireless interface    product: AR9462 Wireless Network Adapter    vendor: Qualcomm Atheros    physical id: 0    bus info: pci@0000:02:00.0    logical name: wlp2s0    version: 01    serial: 48:d2:24:8a:ea:e6    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless    configuration: broadcast=yes driver=ath9k driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11    resources: irq:18 memory:f0400000-f047ffff memory:f0480000-f048ffff   sudo lsmod | grep ath:  ath3k                  20480  0 bluetooth             548864  12 btrtl,btintel,btbcm,bnep,ath3k,btusb ath9k                 151552  0 ath9k_common           36864  1 ath9k ath9k_hw              475136  2 ath9k_common,ath9k ath                    36864  3 ath9k_common,ath9k,ath9k_hw mac80211              794624  1 ath9k cfg80211              663552  5 wl,ath9k_common,ath9k,ath,mac80211   In system settings it shows the Wifi-Adapter Name:  Qualcomm Atheros AR9462   Edit:  lspci -knn | grep Net -A3; rfkill list:  02:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01) Subsystem: Lenovo AR9462 Wireless Network Adapter [17aa:3214] Kernel driver in use: ath9k Kernel modules: ath9k, wl 0: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 1: ideapad_wlan: Wireless LAN     Soft blocked: no     Hard blocked: yes 2: ideapad_bluetooth: Bluetooth     Soft blocked: yes     Hard blocked: yes


I received a fully cooked 13 pound pit ham from work at 12 noon. It was refrigerated when I got it. I made it home 4 hours later after running errands and it was 38 degrees outside and the ham was in the car the whole time. I forgot to put the ham in the refrigerator and left it still in the bag and box on the floor in the kitchen. It was 10 pm before I remembered about it and I immediately put it in the refrigerator. Is it still safe to eat?

If I left food out of the refrigerator for some period of time, is it still safe? If I left it out too long, can I salvage it by cooking it more?


If $m,n>1$ are integers such that $g.c.d.(m,n)=1$ then is it true that there are at-least four elements in $\mathbb Z_{mn}$ such that $x^2=x$ ( i.e. idempotent ) ?

Let $R$ be a ring. An element $x$ in $R$ is said to be idempotent if $x^2=x$. For a specific $n\in{\bf Z}_+$ which is not very large, say, $n=20$, one can calculate one by one to find that there are four idempotent elements: $x=0,1,5,16$. So here is my question:     Is there a general result which tells the number of the idempotent elements of ${\bf Z}_n$?


I have a chart with 5 curves (curves 1-5). A person told me that colors 1 vs. 2 as well as colors 3 vs. 5 are difficult to distinguish. While I can understand that 3 and 5 are somewhat similar, the 1 and 2 are completely different in my view. I do not know, maybe this person color-blind. But I need to make the graph so that he will be able to distinguish the colors. My problem is that I have only 7 colors in total (additional two colors are 6 and 7). I did not use the yellow (6) originally because it is too faint in my view. The cyan (7) also is similar to blue.  How you would suggest me to choose the colors? The proximate curves should clearly have the most distinguishable colors.  Thanks!

I am trying to design an infographic that is colorful and informative. At the same time, people who are colorblind should be able to view it.   allows you to view images with normal vision and different type of color-blindness.  When I my computer program's default "colorblind safe" colors, the image is visible to people with some types of color blindness and not others.  Please tell me where I can find a palette of all colors that are visible to those with normal vision and all different types of color blindness.  Thank you


If the events $A$ and $B$ are independent and the events $B$ and $C$ are independent, does this necessarily mean events $A$ and $C$ are independent?  I used coin tosses to try to model this with $A = H$, $B = T$, and $C = H$ in separate fair tosses.  I get that they are independent, but am not sure if I am correct.  I also have problems determining if $B$ is independent to $A\cap C$ and also $A \cup C$.

Take any three random variables $X_1$, $X_2$, and $X_3$.   Is it possible for $X_1$ and $X_2$ to be dependent, $X_2$ and $X_3$ to be dependent, but $X_1$ and $X_3$ to be independent?  Is it possible for $X_1$ and $X_2$ to be independent, $X_2$ and $X_3$ to be independent, but $X_1$ and $X_3$ to be dependent?


Can you please tell me what "working out of" means in this context?  "African composers working out of European-based choral and instrumental art music traditions are gaining recognition, as are the varied roles that women play in making music."   Google Books: 'The Harvard Dictionary of Music' By Don Michael Randel

I have seen people use both forms below. Which is correct? If both are, in which situation is each better used?  I am a software engineer based in New York. I am a software engineer based out of New York.


I got the following error message:    The following packages have unmet dependencies:  mumble-server : Depends: libiceutil34 but it is not installable                  Depends: libzeroc-ice34 but it is not installable   E: Unable to correct problems, you have held broken packages.   I honestly have no clue how to solve this problem. I'm relatively new to Linux in general and Google provides answers way too complicated for my level of understanding.

Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (>= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this?


I'm trying to migrate a MySQL-based app over to Microsoft SQL Server 2005 (not by choice, but that's life).  In the original app, we used almost entirely ANSI-SQL compliant statements, with one significant exception -- we used MySQL's group_concat function fairly frequently.  group_concat, by the way, does this: given a table of, say, employee names and projects...  SELECT empName, projID FROM project_members;   returns:  ANDY   |  A100 ANDY   |  B391 ANDY   |  X010 TOM    |  A100 TOM    |  A510   ... and here's what you get with group_concat:  SELECT      empName, group_concat(projID SEPARATOR ' / ')  FROM      project_members  GROUP BY      empName;   returns:  ANDY   |  A100 / B391 / X010 TOM    |  A100 / A510   So what I'd like to know is: Is it possible to write, say, a user-defined function in SQL Server which emulates the functionality of group_concat?   I have almost no experience using UDFs, stored procedures, or anything like that, just straight-up SQL, so please err on the side of too much explanation :)


In my report, sometimes, the section label is getting completely at the bottom, or if sometimes not completely, after the section label, there is only one or two lines, like the picture below:  How do I move the section to a new page if after the section there is less than 5 lines to obtain a new page?

I use a very custom style (not mine) and very frequently I get a heading  on the bottom of a page and the next paragraph on the top of the next page. Sometimes this paragraph may be a list or similar. The same is true for listings and the listing description.   Is there a general way how I can adjust the "badness" of these events? Or can I adjust when a section heading would be on the last, say, 3cm of a page it should go to the next page? Or can I say, if a *listing description" is on the top 3cm of a page pull 5 more listing lines from the last page onto this page?   The style I use does not use standard structure tags and environments. But lets call them section, subsection, listing and I will try to migrate them to my lingo.


I have recently been made a temporary owner of an old 12.10 Ubuntu machine so I can upgrade it to the latest(14.04). So I am trying to upgrade to the 13.04 as per ubuntu website, and from there to 14.04, but I seemed to have run into the apt-get bug:  root@camolls1000774583:/etc/apt# do-release-upgrade  Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife  Traceback (most recent call last): File "/usr/bin/do-release-upgrade", line 145, in <module> fetcher.run_options += ["--mode=%s" % options.mode, AttributeError: type object 'DistUpgradeFetcherCore' has no attribute 'run_options'   I googled around, apparently the fix was pushed in a upgrade and was placed in quantal repo.   But when I tried to run apt-get update and apt-get upgrade all my quantal repos came back as 404 not found or ignored. I am guessing since Quantal is EOL they took away the repo.  So how do I upgrade to Raring without quantal repo?   I have also attached a copy of my sources.list in case that helps.  I can't nuke it. I need the user's data intact.   thanks  Edited for additional clarification.

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


(I have a feeling that this question may be off-topic here because it is so utterly, enormously basic, and hardly related to engineering at all. Please bear with me...)  My phone came with a power cable that outputs 1 ampere. I have a different cable that outputs 2.1 ampere, which can be plugged in in a car's cigarette lighter socket. Is there a chance of damaging the phone in case I use the second cable? If not, why is this? Is it because an "overdose" in current simply does no harm, or because the difference is too small?

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


Is there any algorithm that decides whether a given directed acyclic graph is transitive or not, in time-complexity asymptotically better than boolean matrix multiplication?

Is checking transitivity of a digraph not easier than (in terms of asymptotic complexity) taking the transitive closure of the digraph? Do we know any lower bound better than $\Omega(n^2)$ to determine if a digraph is transitive or not?


I'd like to write a formula where there is a $\smile$ underneath the exponent.  Like in this example which works fine:   $2^{\overset{\text{blabla}}{\smile}}$   But when I want to replace the blabla by a mathematical symbol like $\omega$ it does not work.  Any suggestions?

I sometimes find that the \widetilde accents sits too high above the math letter it is applied to. An example:    To me it looks as if the first tilde is sitting just in between the two lines; it is not visually attached to the "B". As the second "B tilde" shows, I did manage to produce a version where the \widetilde is lowered, but this is an ugly hack using \textcolor:  \rlap{\raisebox{-0.1ex}{$\widetilde{B}$}} \rlap{\smash{\textcolor{white}{\rule[-1ex]{2em}{2.7ex}}}} B   What I'm doing here: I lower the whole \widetilde{B}, then I erase the "B" by some (manually adjusted) white box, and finally I typeset the "B" that is seen in the output. Of course I have this wrapped in some macro, but this macro does not work for small letters such as "m", which is due to the white box.  The more straightforward attempt  \rlap{\raisebox{-0.1ex}{$\widetilde{\phantom{B}}$}}B   does not work as the output shows: the tilde in  is too far to the left. The reason for this is that TeX handles accents over single characters differently, using the \skewchar of the font, and \phantom{B} is not a single character. Moreover, in the version \tilde B I find the tilde too small: .  One of the problems of my solution is that it doesn't render properly when I view the dvi file in Yap. Does anyone know a better solution to lower the \widetilde?  EDIT:  TH's first solution works rather well. It has the only drawback that it does not lower the \widetilde over small letters such as "m". However, this is not a big deal since in this case the tilde does not look as if it is sitting in between two lines. I came up with an answer that does lower the \widetilde over "m", but that has other major problems. TH's (rather involved) second solution fixes most of these problems. Great work!


, receiving an upvote on your question will give you 10 points of reputation instead of 5.   The whole reputation of any user is being recalculated and is taking into account the "".   Does that also mean that I will gain some "step" toward the achievement of the "Earn 200 daily reputation" badges?   Since the recalculation is taking into account "rep cap", it sounds fair that I should also win steps toward the badges, but I would like to know for sure (I case SE Inc forgot about that ^^)

When the recalc runs what happens regarding rep capping on particular days? Say I earned 200 solely from questions on one day, will I earn a further 200 when the recalc runs or will I earn zero?  On a similar note if I got no rep from a question upvote on a day will the recalc give me 10, 5 or 0 rep?


In the movies and the various TV shows shooting blasters at Jedi is shown to be utterly ineffective. They bat the blasts away like flies with their lightsabers. As was noted in  shooting at Jedi very rarely works and far more often results in the blast being deflected back at the attackers. This fact is well known to the various militaries. The Empire and the Separatists both had extensive experience of it. Yet their troops keep trying and trying to shoot Jedi. What is the in-universe explanation for making no effort to develop better tactics?

There is a scene in The Clone Wars where Ahsoka is in the middle of hallway, deflecting blaster fire from two directions while carrying on a conversation (, I think) and it got me wondering... In the original trilogy, lightsabers are mostly used for dueling - but we see Luke successfully ward off blaster fire with 100% success (amended: see ... nearly 100%).  He never gets hit. In The Clone Wars, there are many examples like Ahsoka's where the Jedi are defending against an amazing amount of blaster fire.  Often from multiple angles.  Usually while talking. But in the prequels, we see the defense effective - with the notable exception being when Sidious starts speed dialing Clone Troopers to murder Jedi:                                Even then:  Master Mundi is clearly shocked at the betrayal and not defending himself fully Secura is shot in the back while she is unarmed.  Repeatedly. Plo Koon is shot down while in a Starfighter A Jedi is killed by speeder bike cannon fire (no lightsaber involved)  Obi Wan and Yoda make dramatic escapes.  We basically see one lone nameless Jedi get gunned down in what looks like a fair fight.  While conjecture might assume there were many more... what we see onscreen is that the best chance you have to beat a Jedi that is ready and armed with a lightsaber is to bring a cannon. Are there other notable times when a blaster beats a lightsaber?


I'm looking at this proof (relating to lower/upper sums and integrals) and near the end it says this: U(f) ≤ U(f,P) < L(f,P) + ε ≤ L(f) + ε And then it says: "Since ε > 0 is arbitrary, we must have U(f) ≤ L(f)". I don't have any trouble understanding the rest of the proof but I don't understand how we get from the inequality above to U(f) ≤ L(f). Can someone explain to me the reason why we can remove ε and get to U(f) ≤ L(f)? I've added a picture of the full proof to make it easier to understand my question.

I am reading Tom Apostol's Analysis and come across this theorem.   Should $a \leq b$ if $a\leq b+\epsilon$ for all $\epsilon >0$?   I don't doubt the proof in the book but I don't understand the intuition or geometric explanation behind this. Could somebody shed some light on this equation? I just started studying analysis on my own.$\ \ $


is it possible to switching visibility between multiple selected meshes? I have a mesh and the same slightly modified and I need to switch between them to see what is best for my needs.

I want to be able to toggle the visibility of selected objects with a shortcut (H) the way you can do in Maya and XSI, shown in the GIF. I'm guessing scrippting is needed. I've tried to do it my self but I'm new to Python and Blender and as soon as the objects are hidden they seem to no longer be in a selection state/list. Eg if I manually select the hidden object/s in the Outliner and try to print the selected object to the console, none seem to be selected. Is this possible to do with the current state of Blender 2.8?


I would like to bring my Japanese akita dog with me from Europe to the US. And I would really like it to be with me in the cabin. Which air companies allow that?

I would like to bring my small (9 lbs) dog on a flight from the U.S. to Germany as "carry on" (in-cabin).  Apparently neither Continental airlines nor American airlines allows in-cabin pets on flights from the U.S. to Europe.  Which airlines do allow in-cabin pets on flights from the U.S. to Europe?  [cross-posted:  ]


I can't set dimensions, looked really easy according to questions answered more than one year ago but I swear I am doing my best and have come up stumped. batFINGER gave me some pointers and I tried them but honestly I cannot see where I am going wrong. On my menu there is nothing about setting dimensions (see drop down and also workspace on the right). Just scaling.

Anyone seen this panel? Essential for precise modeling.


The reason for asking this question is to understand the elliptical orbits of planets and why aren't they circular, we know that if a particle moves with an initial velocity perpendicular to the gravitational force of another particle, it orbits it in a circle as the perpendicular acceleration is constantly changing the direction of the velocity.  I recently came across , and didn't see him explain why are the orbits elliptical.  But I did some research on it and I learnt that a particle can move around/orbit another particle in any of the four conic sections, all I want now is to compare the conditions of a circular orbit(I know them) to the ones for an elliptical orbits(that's why you're here).   If theoretically planets should orbit in circles then my guess would be that modeling the planets and their stars as particles when they aren't even perfect spheres and the effects of external gravitational fields is the reason.

Almost all of the orbits of planets and other celestial bodies are elliptical, not circular.   Is this due to  by other nearby massive bodies?  If this was the case a two body system should always have a circular orbit.  Is that true?


Is our moral obligation to not do harm, as opposed to preventing harm form occurring to someone else? Am I in the wrong for not donating money?

Do any philosophers either explicitly avoid condemning harm, or condone it, especially harming others, in their ethics?  Why do humans consider causing bad to others as bad and represent it as bad act ?


So I have been following the Blender Guru modeling tutorial with minor changes every thing looked OK till he added the sub-surf modifier and I have no idea how to fix  (followed tutorial  )  this is my edit view with and with out sub surf     and this is how it should look like

I am currently trying to develop my modeling skills, and following a tutorial found on YouTube. The tutorial teaches how to create an anvil. At 19:10 or so into the video, a subdivision surface modifier is used to create a smooth, soft look.  However, when I do the same, mine looks very sharp and generally bad.  Any ideas why? I will include the blend file below, I appreciate your time and suggestions.    This is his when he subdivides, which is very different from mine when I do the same at the same settings. (I cannot post more pictures because I am new, but if you check the blend file I attached, you should be able to see the difference.   This is what it looks like when I subsurf without the base face.


What is the best way to accomplish the following pipeline in python using subprocess:   run three script files python1_a.py, python1_b.py, python1_c.py in parallel If no errors have been raised, run python2.py If no errors have been raised, run python3.py   Also I'd want to pass arguments through argprase.  Note: there are print statements in those files to expose progress - what is the best way to log them ?  If you can answer with an example code would be great

How do I execute the following shell command using the Python  module?  echo "input data" | awk -f script.awk | sort > outfile.txt   The input data will come from a string, so I don't actually need echo.  I've got this far, can anyone explain how I get it to pipe through sort too?  p_awk = subprocess.Popen(["awk","-f","script.awk"],                           stdin=subprocess.PIPE,                           stdout=file("outfile.txt", "w")) p_awk.communicate( "input data" )   UPDATE:  Note that while the accepted answer below doesn't actually answer the question as asked, I believe S.Lott is right and it's better to avoid having to solve that problem in the first place!


I am not a programmer, just a user who finds Notepad++ very useful.  I want to open Notepad++ twice for separate projects. Each would open with different shortcut (icons). I've read about opening separate instances of Notepad++ using -multiInst and/or -nosession and have not figured this out. I either open the original instance or a blank instance (with no obvious way to open the first, much less the second).  Someone had suggested loading Notepad++ twice, but all that happens is an over-write. I tried creating a sub-directory in Notepad++ with the same results as above.  I am using Windows XP and Notepad++ 5.9.6.2  What am I doing wrong?

I want to run Notepad++ twice. Like in this paint printscreen.  How I want it:    Not what I want:    Is this possible?


A problem appeared in a maths contest as follows: Consider a recurrence relation: $$a_{n+3}= - a_{n+2}+2a_{n+1}+ 8a_{n}$$ where the intial conditions are : $a_1=1;a_2=1;a_3=9$.  Then prove that the quantity $a_n$ is always a perfect square for any $n$. I tried to solve it using the characteristic equation method looking at the homogenous nature of it. But the roots were complex and it became near impossible to show by hand that the imaginary part would be zero and the real part would be a perfect square. Hence is there any way of without going through that route and getting a proof?

I would be happy if you let me know how to tackle this problem. Thanks.


I want to remove duplicate lines from a file with words of  script. The source file has 3 lines, 1st and 3rd are identical.  $ cat file.txt  ܐܒܘܢ ܢܗܘܐ ܐܒܘܢ   When I use sort and uniq, the result presumes that all the 3 lines are identical, which is wrong:  $ cat file.txt | sort | uniq -c       3 ܐܒܘܢ   Explicitly setting locale to Syriac doesn't help either.  $ LC_COLLATE=syr_SY.utf8 cat file.txt | sort | uniq -c            3 ܐܒܘܢ   Why would that happen? I'm using Kubuntu 18 and bash, if that matters.

I'm trying to combine both the American and British dictionaries into one large dictionaries, and I'm trying to remove all the duplicates from the superset, but it seems that uniq is not outputting words like, "épée" or single letters.  This is what I've tried using:  LC_COLLATE=en_US.UTF-8 cat american-english british-english |sort|uniq -u > unique_sorted_combined_dict   If I just do this:  LC_COLLATE=en_US.UTF-8 cat american-english british-english |sort > sorted_combined_dict   "épée" and other such words do show up, along with single letters.  Is there something I'm missing here with uniq?  I should note that I'm using uniq from the GNU coreutils on Ubuntu 12.10, if that makes any difference.


Today I came to SO and realized that all my hats disappeared! They have been there just yesterday!   What happened? Is Winter Bash over? What a disappointment... I thought it will take place all the winter!

The  page indicates "the hats get put back in their boxes on January 4th". Aside from the pure terror that sentence seems to invoke, I was curious of exactly when this is going to be.  I know that the hats have caused a bit of a time warp at times (for example the starred chat hats). Will this be true of the removal process as well?  Do we get our hats until 23:39 UTC Jan 4th, are they removed at the end of UTC Jan 3rd?


This is some code that is behaving peculiarly. This is a simplified version of the behavior that I've written. This will still demonstrate the weird behavior and I had some specific questions on why this is occurring.  I'm using Python 2.6.6 on Windows 7.  def demo1():     try:         raise RuntimeError,"To Force Issue"     except:         return 1     else:         return 2     finally:         return 3  def demo2():     try:         try:             raise RuntimeError,"To Force Issue"         except:             return 1         else:             return 2         finally:             return 3     except:         print 4     else:         print 5     finally:         print 6   Results:  >>> print demo1() 3 >>> print demo2() 6 3    Why is demo one returning 3 instead of 1? Why is demo two printing 6 instead of printing 6 w/ 4 or 5?

I found the following behavior at least weird:  def errors():     try:         ErrorErrorError     finally:         return 10  print errors() # prints: 10 # It should raise: NameError: name 'ErrorErrorError' is not defined   The exception disappears when you use return inside a finally clause. Is that a bug? Is that documented anywhere?  But the real question (and the answer I will mark as correct) is: What is the python developers' reason to allow that odd behavior?


I have tried GIMP and the tool I am looking for is not in it. I have looked into paint.mono but have no clue on how to install it. I just need an art program with a simple Curve tool, where draws a curve through specified multiple points.

Does anyone know of a simple Image Editor, with functionality comparable to ,  for Ubuntu?  I've always found GIMP to be overkill and too complicated for what I want to do.


Why no alert appear in the following HTML?  My HTML  <!DOCTYPE html> <html> <head lang="en">     <meta charset="UTF-8">     <title></title>     <script src="a.js"/> </head> <body>  </body> <html>   a.js  alert("hello");

What is the reason browsers do not correctly recognize:  <script src="foobar.js" /> <!-- self-closing script element -->   Only this is recognized:  <script src="foobar.js"></script>   Does this break the concept of XHTML support?  Note: This statement is correct at least for all IE (6-8 beta 2).


I created a link using javascript and I want for delete confirmation dialog here is the html code

Are you sure you want to delete this element?

Yes

No

       Close

    Here is my jquery code  jQuery(document).ready(function($){ //open popup $('.cd-popup-trigger').on('click', function(event){     event.preventDefault();     $('.cd-popup').addClass('is-visible'); });  //close popup $('.cd-popup').on('click', function(event){     if( $(event.target).is('.cd-popup-close') || $(event.target).is('.cd-popup') ) {         event.preventDefault();         $(this).removeClass('is-visible');     } }); //close popup when clicking the esc keyboard button $(document).keyup(function(event){     if(event.which=='27'){         $('.cd-popup').removeClass('is-visible');     } }); });   When I created a link button is working fine.Now the problem is that when I create a javascript dynamic button is not working anymore...     btn = document.createElement('a');         btn.className = "btn btn-danger cd-popup-trigger";         btn.innerHTML = "Delete";         btn.href="#";

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I have an OEM Windows 7 Professional install on my machine.  I want to install Windows 7 Professional on the same machine, on another hard disk, without removing the first install.  I do not want boot multi-loaders. I am choosing manually the boot disk via BIOS at machine start-up. (That means the installation's should not be aware of each other regarding boot priority.)  My question is: Can i legally use the same license key? Will the new installation activate?

I plan on buying Windows 7 Ultimate Edition to run on an old Pentium 4. I also want to run Windows 7 virtual machines inside Windows 7. My question is two fold:   Do I need a license for each Virtual Machine? Does the answer change if I use a third party virtualization platform (e.g. , , , etc) as opposed to ?


I have a transparent item and want to take photo which i can use later without using the background, yet not losing the effect on the transparent item.

I've taken some stock photography of lots of clear bottles, and now want to remove the background (which is white-ish, because at a pinch I could leave it...) so that the bottle becomes transparent with highlighting.  My bottles are clear with different colored liquids with multiple refraction and reflection surfaces.  I am looking for a background color subtraction effect that will allow me to get to transparent (hopefully with some sort of effect/opacity slider).  Ideas that I can't pull off yet:   Combine layer with a color fill layer (keyed off the "transparent color") in some manner to produce some output that could be used as the starting point of a layer mask Same layer combination as above, but somehow translating "pure white" to transparency.   Notes for what doesn't work (Photoshop terminology):   "Color Range" and delete (fuzzy select, but not graded/alpha) - results in harsh lines and only leaves the pure white and dark highlights and shadow refractions/reflections Magic wand selections for the same reason "Background Eraser" because although it is able to only subtract a certain color and leave "the rest", it (like all tolerance based tools) eventually hits a colour slightly outside of the range that it just won't touch.   I'll add more if I can remember what I've found


I have a text file which has 16 ASCII characters from positions 9 to 24 in a Mapped File.    I am trying to retrieve that text into a String variable.  I have tried:          // MAPPED FILE DATA         private RandomAccessFile file;         private static int fileSize = Integer.MAX_VALUE;         MappedByteBuffer fileBuffer;          // OPEN MAPPED MEMORY FILE         file = new RandomAccessFile("myfile.txt", "rw");          // ASSIGN BUFFER         fileBuffer = file.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, fileSize);          // READ HEADER         byte[] byteExchange = new byte[16];          fileBuffer.position(8);         fileBuffer.get(byteExchange, 0, 16);          System.out.print("### ");         System.out.println(byteExchange);         System.out.println(byteExchange.toString());         System.out.println(byteExchange[0]);   But I get this:  ### [B@65ab7765 [B@65ab7765 67   While I was expecting   ### CME CME 67   It seems that the individual bytes are being retrieved correctly but I am failing to understand how to convert the byte array into a valid String.  My goal is to have a string variable containing up to 16 characters read from the file (just "CME" in this example).  string myString; myString = whatever(byteExchange); System.out.println(myString)  Outputs:  CME

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


Let $K \subseteq \mathbb{R}$. We want to show that if $K$ is closed and bounded, then it is a compact set.  B-W THM: Every bounded sequence contains a convergent subsequence.  Theorem: Subsequences of a convergent sequence converge to the same limit as the original sequence.  Theorem: $x$ is a limit point of a set $A \iff$ $x = \lim a_n$ for some $(a_n) \subset A$ s.t: $a_n \neq x, \, \forall n \in \mathbb{N}$  Proof: Let $(x_n) \subset K$ and $\lim x_n = x$, so that $x$ is a limit point of $K$. If $K$ is bounded, then by the Bolzano-Weierstrass Theorem, $(x_n)$ is bounded so that it contains a convergent subsequence $(x_{n_k}) \subset K$.  Since subsequences of a convergent sequence converge to the same limit, we have that $x_{n_k} \longrightarrow x$. But, $K$ is closed, so it contains all its limit points. Therefore, $x \in K$.  Hence, we have shown $K$ is compact since every sequence in $K$ has a subsequence that converges to a limit that is also in $K$. QED.  How did I do?

I want to prove $\Leftarrow$.  I just need one more step, now. If I find a compact set that contains K, then it will finish the proof. Rudin take a k-cell to do that, but before it he proves that every k-cell is compact, and I think I can take a more simple compact to do this step. I has thinked in the closed ball, but don't know how to prove that it is compact. Can anyone help me to find this set, if it really exists? Thanks.


first off, please know I am not using this as a real world login it is purely for practice.  I am using PHP/MySQLi and I have attempted to implement prepared statements but I'm not doing it correctly.  Here is my working code with just mysqli_escape_string:  $host="localhost"; $username="login"; $password="password"; $db_name="database";   $link=mysqli_connect("$host", "$username", "$password", "$db_name")or die("cannot connect to server");   $tbl_name=temp_members;  // Random confirmation code to be sent in email $confirm_code=md5(uniqid(rand()));   //from signup.php $name=$_POST['name']; $email=$_POST['email']; $pwd=$_POST['password'];  $name = mysqli_real_escape_string($link, $name); $email = mysqli_real_escape_string($link, $email); $pwd = mysqli_real_escape_string($link, $pwd);  $pwd = password_hash($pwd, PASSWORD_DEFAULT);  // Insert data into temp_members $sql="INSERT INTO $tbl_name(confirm_code, name, email, password)VALUES('$confirm_code', '$name', '$email', '$pwd')"; $result=mysqli_query($link, $sql);   if($result){      //email     $to=$email;     $subject="(no reply)";     $header="from: Ben Pappas <mrbenpappas@gmail.com>";      // message      $message="Hello ".$name.", Thanks for signing up! \r\n";     $message.="Click on this link to activate your account: \r\n";     $message.="http://www.monger.us/verify/confirmation.php?       passkey=$confirm_code";      // send email     $sentmail = mail($to,$subject,$message,$header); }   Here is my (poor) attempt at PDO/ prepared statements:  $host="localhost"; $username="login"; $password="password"; $db_name="database";   $link = new PDO("mysql:host=$host;dbname=$db_name",$username,$password) or die("cannot connect to server");  $tbl_name=temp_members;  // Random confirmation code to be sent in email $confirm_code=md5(uniqid(rand()));   //from signup.php $name=$_POST['name']; $email=$_POST['email']; $pwd=$_POST['password'];  $name = mysqli_real_escape_string($link, $name); $email = mysqli_real_escape_string($link, $email); $pwd = mysqli_real_escape_string($link, $pwd);  $pwd = password_hash($pwd, PASSWORD_DEFAULT);  // Insert data into temp_members  $statement = $link->prepare("INSERT INTO $tbl_name(confirm_code, name, email, password)VALUES('$confirm_code', '$name', '$email', '$pwd')"; $statement->execute(array(     $confirm_code => 'confirm_code',     $email => 'email',     $name => 'name' )); $result = ($link, $statement);   if($result){  //email $to=$email; $subject="(no reply)"; $header="from: Ben Pappas <mrbenpappas@gmail.com>";  // message $message="Hello ".$name.", Thanks for signing up! \r\n"; $message.="Click on this link to activate your account: \r\n"; $message.="http://www.monger.us/verify/confirmation.php?    passkey=$confirm_code";  // send email $sentmail = mail($to,$subject,$message,$header); }   I am getting an error on the line the statement variable is being called with a message saying unexpected ";"  please forgive any obvious mistakes I am a padawan

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I'm trying to create a "cable" (i want to animate the start/end-point of it later) on a surface.  As you can see the shrinkwrap modifier is doing a pretty good job:   But as soon i try to bevel the curve it looks completely destroyed:   Is there a way to maintain the curve without affecting the geometry?

I have a basic sphere and with freehand addon i have created and arc and bevel that with the circle. To the arc its been bevel like a tube shape.   Tube shape   Adding shrinkwrap modifier the tube shape became flat  Tube flat   Whats wrong why the tube gone flat after adding shrinkwrap modifier. Any suggestion or help thanks.


I am currently processing a handful of DEMs (derived from LiDAR data). I have a conceptual question, when choosing a Resampling Technique what are the pros and cons of using Bilinear Interpolation and Cubic Convolution when dealing with DEMs specifically?  EDIT:  The DEM data will be used to calculate flooding in a watershed, so keeping data values as close to the original DEM as possible seems to take precedence.  I will be Mosaicing 6 DEM rasters together, then re-projecting (datum, NAD1983, will stay the same), and then clipping/masking the mosaic.  My main question is how does Bilinear Interpolation and Cubic Convolution affect DEM data specifically. In other words, what are the pros and cons of using these to methods on continuous data that needs to maintain numerical integrity.  Here are the specs for my data:

Are there hard and fast rules about which interpolation methods are suited to each kind of raster data?


I am using 12.04 LTS. Is there a way to properly disable that feedback sound when you are adjusting the volume? I would like to adjust the volume on my system without producing those "pops".  Unfortunately  did not produce any answers that are useful for my situation, since disabling all notification sounds impacts the use of many applications.

Whenever I adjust the volume there's a popping sound to indicate when the volume is changing. I find it really annoying.   Is there any way to change/disable this behaviour?


I'm using InDesing CS4.  Is there a way to setup text frames to start at the end of thread and flow upwards?  This is how I want it to look/work.  Each box will represent a text frame on a page:    If I add a new line:    Edit: This data gets filled in by an automated app.  So re sizing, or adding frame-breaks not really an option.

In InDesign, I have some filled text boxes, sized by columns, with the one on the left being three columns wide.   The wide text box is most likely to contain the most text (it's an invoice template).  I will use the 'Fit frame to content' button on the Selection Tool toolbar for automatically vertically resize it to fit the containing text.  How do I make the other three smaller text frames automatically adjust to the same height as the big (and longer) text box?


I use dropbear to activate laptop remotely and expect to detect SSH server port open after I login and decrypt disk remotely, but it seems that I have to leave laptop open for this to work, does anyone know how to work around this problem and startup correctly the default SSH server?  This problem is not “how do I ignore lid closed and avoid shutdown in that case”, it is opposite, how to ignore it already being closed when starting up.  I am on Debian 9 Stretch and here is how sshd service is set up so you don’t have to look up (so I want to reach multi-user target I guess)  [Unit] Description=OpenBSD Secure Shell server After=network.target auditd.service ConditionPathExists=!/etc/ssh/sshd_not_to_be_run  [Service] EnvironmentFile=-/etc/default/ssh ExecStartPre=/usr/sbin/sshd -t ExecStart=/usr/sbin/sshd -D $SSHD_OPTS ExecReload=/usr/sbin/sshd -t ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartPreventExitStatus=255 Type=notify  [Install] WantedBy=multi-user.target Alias=sshd.service

Is it possible to stop my laptop going to sleep when I close the lid?  GNOME 3.20, Fedora 24.    My laptop does not reliably wake from sleep.  (It happens to be a hardware issue... I think I basically killed it while trying to replace a wifi card.  But I want to keep using it for a while longer).


I wan to add a css class for all elements that has particular style.   Eg.  if there are 5 elements that with the style "float:left".  I want to remove the "float:left" and add "align-left" class.  please help me

Using jQuery, how would you find elements which have a particular style (eg: float: left), regardless of whether it's an inline style or one defined in a CSS file?


In scientific pdfs one often reads sentences with the corresponding papers in ()-brakets from which the information is taken: e.g. blablabla (Super Mario et al. 2005). Often the year is blue painted and when you click on it, then you are lead to the reference of the cited paper at the end of the pdf. When clicking on the coloured parts there one is even lead to the location in the internet where the respective paper can be downloaded. How is this coded?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.


The input is a word. If the word is hello it should print: Hello sir etc if the input is not hello it should print: why dont you say hello? The problem is that it always prints: Why dont you say hello? Why is this?  Scanner input =new Scanner(System.in); String word=input.nextLine(); if(word=="hello"){     System.out.println("hello sir have a good day"); } else{     System.out.println("Why dont you say hello?"); }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


Is it possible to download ubuntu 16.04 for an i3 based machine which doesn't connect to the internet by first downloading to an amd based machine and then creating a bootable usb? (The download page detects the amd and starts to download the version for that, so I need to be able to choose one suitable for an i3 processor and get that one, I already have ubuntu on the amd machine).

What is the difference between standard i386 download and the amd64 download of Ubuntu 11.04? I am currently running the i386 on an amd machine, would my system work better with the amd64 download instead? (my machine was running Windows 7 64bit, but I neglected to look at that prior to installing Ubuntu).


Is this correct: "This is the view from Alice and mine's office"

I just stumbled upon a :     My wife and I's seafood collaboration dinner. How does it look?   Sure enough, the top comment immediately points out that it should be "my wife's and my". However, a cross-post to the Grammar subreddit produced :     It's fine as it is written. "my wife and I" is a noun phrase, functioning as a subjective pronoun in the singular and made possessive with the apostrophe. It is exactly the same as "our".      It seems weird because you would never use "I's" on its own but it is not on its own here - it is part of a noun phrase.   That's a rather intriguing argument. Does it hold any water?


Given three nonzero polynomials $a(x), b(x)$ and $c(x)$ satisfying $\gcd(a(x), b(x), c(x))=1$.  Please help me prove that there exists six polynomials $f(x), g(x), h(x), u(x), v(x), w(x)$ such that  $$\begin{vmatrix} a(x) & b(x) & c(x) \\  f(x) & g(x) & h(x) \\  u(x) & v(x) & w(x)  \end{vmatrix}=1$$

Say you're given a ordered set of $n$ relatively prime elements, $a_1,\dots,a_n$ in a principal ideal domain $D$. If I relabel these elements $a_{11},\dots,a_{1n}$ in the same order, is it possible to find some remaining $a_{kj}$ in $D$ such that $(a_{kj})$ is an invertible $n\times n$ matrix over $D$?


I have JavaScript function with pass one parameter to   <script type="text/javascript"> function myfun(var1) {    var returnVal = "<?php echo get_value(); ?>"; } </script>   I want to pass JavaScript variable i.e. var1 to get_value();

I am using PHP and JavaScript. My JavaScript code contains a function, get_data():  function get_Data(){     var name;     var job;     .....      return buffer; }   Now I have PHP code with the following.  <?php     $i=0;     $buffer_data;      /* Here I need to get the value from JavaScript get_data() of buffer;        and assign to variable $buffer_data. */ ?>   How do I assign the JavaScript function data into the PHP variable?


If $X_1,X_2,…,X_n∼Bernoulli(p)$   Variance of the average of $X$ is   $Var[S_x/n]=\frac{p(1−p)}{n}$  But if we have sample, where all $X$ are equal, $\hat{p}=1$ (or zero), and estimation of var of mean became equal to 0. Is it correct?

I have a large population of data instances (say, 1000 instances) that are either of class1 or of class2. I would like to obtain a confidence interval for how many instances are of class1 without exhaustively checking all instances. I have randomly sampled 50 instances, and all 50 were of class1. I used the  to determine that a 95% confidence interval for the percentage that an instance is of class1 is  [0.94, 1].  From my sampling, I know that at least 50 instances are of class1. For the remaining 1000 – 50 = 950 instances whose classes are unknown, I assume I can apply the [0.94, 1] confidence interval found above. Therefore, can I conclude that, with a 95% confidence, there are at least 50 + (1000 – 50)(0.94) = 943 instances from the population of 1000 that are of class1?  If this conclusion isn’t statistically sound, how can I obtain a confidence interval for class1?


I have to show the followiing equation, but I can't see how that can even be true: $$\frac{B(x,y)}{c^{y}} = \int_{0}^{\infty} \frac{t^{x-1}}{{(c+t)}^{x+y}}$$ What I tried is $$\int_{0}^{\infty} \frac{t^{x-1}}{{(1+t)}^{x+y}c^{y}} = \int_{0}^{\infty} \frac{t^{x-1}}{{(1+t)}^{x}{(1+t)}^{y}c^{y}} = \int_{0}^{\infty} \frac{t^{x-1}}{{(1+t)}^{x}{(c+ct)}^{y}}$$ but this doesn't seem to get me anywhere since it doesn't result in the integral on the right side.

Beta function is defined as:  $$B(x,y)=\int_0^1 t^{x-1}(1-t)^{y-1}dt$$  for $\Re(x) , \Re(y)>0$, I want to show that:$\frac{B(x,y)}{c^y}=\int_0^\infty \frac{t^{x-1}dt}{(c+t)^{x+y}}$.  I thought of changing variables to $s=\frac{c}{t}-c$, but only for the case $c>0$, then I get the following integral: $$\int_0^\infty\frac{1}{(s+c)^{x+y}}c^xs^{y-1}c^{1-y}ds$$ which looks similar to what I need to show but not quite, any advice as to what change of variables will yield the appropriate integral?  Thanks. The reference of the question is question 8 on page 47 of the book: Special Functions by Andrews et al.  It isn't mentioned if $c>0$ or not, so I assume it can be negative.


I found  interesting paper on Arxiv devoted to explaining Einstein's field equations in simple English. The author, JC Baez, does this by considering a group of small spherical balls in gravitational field, at rest with respect to each other. He then proposes a law by which the balls would shrink in volume in presence of gravity. The idea is that when the balls shrink while still maintaining contact with each other, they must move. Also, one has to consider all the infinitely many possible ways the mutually stationary balls could initially be moving to completely understand the motion of particles in a complicated gravitational field.  Here is the law that the author describes on the rate of change of volume of such balls in gravitational field: Given a small ball of freely falling test particles initially at rest  with respect to each other, the rate at which it begins to shrink is  proportional to its volume times: the energy density at the center  of the ball, plus the pressure in the x direction at that point, plus  the pressure in the y direction, plus the pressure in the z direction.  Alternatively,   My question: what is pressure in x (or t) direction? What is the physical meaning of this pressure? What is flow of x ( or t) momentum in x ( or t) direction? I understand x and t momentum as the component of the momentum of a body in x and t direction respectively. But what is the flow of these things in these directions? What exactly we mean by flow? What is going on?  if you do not understand my question, kindly ask to clarify or read the  paper in question.

Most of us have heard of Einstein's amazing equations which describe the universe around us, yet only some of us understand what the equations are actually saying.      What are these equations actually saying, and is there a simple (relatively) way to derive them?   Here they are, from :  $$R_{\mu\nu}-\dfrac{1}{2}g_{\mu\nu}R+g_{\mu\nu}\Lambda=\dfrac{8\pi G}{c^4}T_{\mu\nu}$$  I have a vague notion of what a tensor is (it describes things as an array and higher orders define more complex transformations), but I don't understand what all of these tensors are doing. And why is there a $c^{4}$  in the equation!?


The generalized inequality defined by a proper cone $K$ is that $x \ge_{K} y$ if $x-y \in K$ for $x,y \in K$. Does this means that for any $x \in K$, we have $x \ge_{K} 0$ since $x - 0 = x \in K$ ?  EDIT: My definitions of cones and proper cones follow the ones in "" by S. Boyd, in which 0 is contained in cones. On page 53 of the book, there is a statement about generalized inequalities:  $x \le_{K} y$ if and only if $\lambda^T x \le \lambda^T y$ for all $\lambda \ge_{K^*} 0$  where $K^*$ is the dual cone of the proper cone $K$, so $K^*$ is also a proper cone.  The reason I ask this question is that if for any $\lambda \in K^*$, we have $\lambda \ge_{K^*} 0$, why not just using $\lambda \in K^*$ instead of $\lambda \ge_{K^*} 0$ in the above statement?

I am reading Boyd & Vandenberghe's Convex Optimization. The authors use curved greater than or equal to (\succcurlyeq)  $$f(x^*) \succcurlyeq \alpha$$  and curved less than or equal to (\preccurlyeq)  $$f(x^*) \preccurlyeq \alpha$$  Can someone explain what they mean?


public static void main(String[] args) {     int number = 3;     modifyNumber(number);     System.out.println(addAndReturn(number)); }  public static void modifyNumber(int number) {     number = number + 2; }  public static int addAndReturn(int number) {     return number + 10; }  I reviewed the code many times but i still don't understand it. The method "modifyNumber" doesn´t create a variable inside itself so, shouldn't it actually modify the main method's number variable?

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


This document... \documentclass{article} \usepackage[a-2u]{pdfx} \usepackage{babel} \babelprovide[import=zh-Hans]{chineseS} \babelfont[chineseS]{rm}{AR PL UMing CN} \begin{document} what \foreignlanguage{chineseS}{什么什么} what \end{document}  ... compiled with lualatex, produces a PDF that fails PDF/A validation (veraPDF v1.16.1) with an error that I have no idea how to resolve:  clause 6.2.11.4 test 4: If the FontDescriptor dictionary of an embedded CID font contains a CIDSet stream, then it shall identify all CIDs which are present in the font program, regardless of whether a CID in the font is referenced or used by the PDF or not.  veraPDF also tells me that the offending font is AR PL UMing CN.  I tried replacing it with each other CJK font I have, with the same result. Is this a problem with the fonts, or a problem with TeX itself, or what? Is there anything I can do about it? Note: The full document from which this is cut down, is primarily written in English but contains many short phrases in both Simplified and Traditional Chinese script.  There is also one paragraph-length quotation in Japanese which requires both kanji and kana.  So I need fonts that, taken together, can handle all three.

I try to compile a document as pdf/x and pdf/a with pdfx under LuaLaTeX, and I am already quite successful. One thing still poses problems though: With some fonts I get the following error if I check the resulting pdf/a file with Acrobat: "CIDset in subset font is incomplete (font contains glyphs that are not listed)" (VeraPDF gives the same error, so the issue seems to be real).  Here's a MWE:  \RequirePackage{filecontents} \begin{filecontents*}{\jobname.xmpdata} \Title{Test}       \Author{Simon Spiegel}       \Language{de-DE} \end{filecontents*} \documentclass {article} \usepackage{fontspec} \setmainfont{Palatino Linotype} [Ligatures={TeX,Common}, Extension = .ttf, ] \usepackage[a-3b]{pdfx} \begin{document} Test \end{document}   I realise that not everyone will be able to compile this MWE due to the proprietary font, but since the problem only occurs with specific fonts, I had to use this example.  The pdfx manual mentions this error, but only in relation to XeLaTeX. According to the manual, it should not occur with LuaLaTeX.  From what I understand, this seems to be at least to some degree a problem of this specific font, but since I am relying on it, I am looking for a way to fix it.  EDIT  Here's a new MWE with a bunch of fonts which are hopefully more common (the paths have to be adapted of course).  \RequirePackage{filecontents} \begin{filecontents*}{\jobname.xmpdata} \Title{Test}       \Author{Simon Spiegel}       \Language{de-DE} \end{filecontents*} \documentclass {article} \usepackage{fontspec} \setmainfont{Georgia} [Ligatures={TeX,Common}, Extension = .ttf, ]  \newfontfamily\fontone{Verdana} [Ligatures={TeX,Common}, Extension = .ttf, ] \newfontfamily\fonttwo{Cambria} [Ligatures={TeX,Common}, Extension = .ttf, Path = {/Users/simi/FontExplorerX/C/Cambria/} ] \usepackage[a-3b]{pdfx} \begin{document} Test  \fontone Test  \fonttwo Test \end{document}   All these fonts give me the same error. I wonder if this only happens with .ttf OpenType fonts.


From what I've found on the internet, CPU clocks work with piezoelectric material to produce a very stable oscillating signal but those materials must change in shape or size to get a different frequency. So how does a CPU change frequency? Do CPUs use some other kind of less stable clocks then fix them with a crystal oscillator or ...?  (I know very little about electronics, please stay simple, thanks)  Please note that I'm not asking how it is decided to change the frequency (like ), I'm asking how the frequency change actually happens in the circuit.

My Intel CPU changes clock speed depending on the usage, but how does it decide what clock speed to run at? Is the clock speed determined by the OS software using an algorithm, or is it hardware based? Is it dependent on the # of interrupts? The cache turnover? Does the CPU itself set its own clock? Or does a separate controller set it? Or software?


If I do this:  SUMAN_DEBUG=foo echo $SUMAN_DEBUG   I get no output  but if I do:  SUMAN_DEBUG=foo && echo $SUMAN_DEBUG   then I get  "foo"  why is that?

If I run  export TEST=foo echo $TEST   It outputs foo.  If I run  TEST=foo echo $TEST   It does not. How can I get this functionality without using export or a script?


If I'm not mistaken, there are symbols in ASCII those differ depending on language. For example, on my computer the default language for Windows 7 is Russian. So, I can save text files like "абацаба"using ANSI in notepad. Also, this script shows russian characters from 128th in IDE not supporting unicode  #include<stdio.h> #include<stdlib.h> int main() {     for(int i=0;i<256;++i)     {         printf("%d - %c\n",i,char(i));     }     system("PAUSE");     return 0; }   My laptop has Windows 8 with English default language. When I send russian text files saved in ASCII to it, it doesn't show them correctly. (However, I can print and save russian characters in unicode).  Switching some of my applications to unicode seems very complicated, so can I change ascii, without reinstalling Win8?

I had Windows 7 Ultimate before I upgraded to Windows 8 Pro and before, in Windows Update, there were updates that allowed me to install more language packs for Windows. After installing the updates I would have more languages for the interface.  Now I don't see any language updates, is it not possible to have various languages in Windows 8? Or maybe they are not ready yet?


I have this error in my code. System.QueryException: List has more than 1 row for assignment to SObject May I know how to fix this? @isTest (SeeAllData=false) public class preventDeleteTest {          @isTest     public static void DeletetestPositive(){         try {                         Test.startTest();                         Profile prof = [SELECT Id FROM Profile WHERE Name = 'Marketer']; //get a profile Id             UserRole role = [SELECT Id FROM UserRole where name LIKE 'OIC%'];             User testUser = new User(Alias = 'STYAOAG', Email = 'slyon@tve.com.invalid', EmailEncodingKey = 'UTF-8', FirstName = 'YFOGG', LanguageLocaleKey = 'en_US', LastName = 'SUET LEE', LocaleSidKey = 'en_MY', ProfileId = prof.Id, TimeZoneSidKey = 'Asia/Kuala_Lumpur', Username = 'slyeg@tve.com.devcr',UserRoleId = role.Id);              insert testUser;             System.runAs(testUser) {                                  MDR_Line_Item_Number__c MDRLineItem = new MDR_Line_Item_Number__c();                 MDRLineItem.Option__c = 'OEMi';                 MDRLineItem.Product__c = 'Nitrile PF Polymer';                 MDRLineItem.Packing_Style__c = '43';                 MDRLineItem.Brand_Name__c = 'gggkkjhk';                 MDRLineItem.Brand_Name_OBM__c= '- N/A -';                 MDRLineItem.Weight_Code__c = 'ENW035';                 MDRLineItem.Colour__c = 'BRN Blue';                 MDRLineItem.Flavour__c= 'Lemon';                 MDRLineItem.Length__c= '270mm';                 MDRLineItem.Surface__c= 'Double Embossed';                 MDRLineItem.Size__c= 'XS';                 MDRLineItem.Manufacturer_OEMi_OBM__c= 'Sentienx Sdn.Bhd.';                 MDRLineItem.CE_Cert_Number_OEMi_OBM__c= '- N/A -';                 MDRLineItem.Notify_Body_OEMi_OBM__c= '- N/A -';                 MDRLineItem.MDR_Declaration_Form__c = 'a0V5D000001rW8hUAE';                  insert MDRLineItem;                 Delete MDRLineItem;                                                   //Apex Trigger addError Checking                 MDR_Line_Item_Number__c testResult = [SELECT Id, IsDeleted FROM MDR_Line_Item_Number__c WHERE Id =: MDRLineItem.Id];                 system.debug('testResult.IsDeleted:::'+testResult.IsDeleted);                 system.assertEquals(true, testResult.IsDeleted);             }             Test.stopTest();                      } catch(Exception e) {             system.debug('Got error::'+e);         }              } }

While cloning record i am getting the below error in the 1st line of the code, the SOQL. Can anyone help me with that.  XX_Segment__c desc1 = [select  Id, XXX_New_Keyword_Description__r.Description__c from XX_Segment__c where Availability_Forecast_XXX__c =:id1]; String s= desc1.XXX_New_Keyword_Description__r.Description__c; s= s.substring(0,3); String s1 = s+'%';   Regards


An answer to  question advises that "If you can't prove it, then make it more complicated, then prove it". But my question is not when is proving the complicated one is easier, it is:  What are some famous cases when proving a generalization of a theorem is easier than proving the special case?  Usually, posts that contain very little information in the body get downvotes, but in this question, nothing is asked to be proved or solved, etc, so there are very less things to mention in this post. Some users would say that  question should answer my question, but there are many reasons why it doesn't answer my question. An example of an answer can be:  Lindemann–Weierstrass theorem — if $α_1, ..., α_n$ are algebraic numbers that are linearly independent over the rational numbers ℚ, then $e^α_1, ..., e^α_n$ are algebraically independent over ℚ. The transcendence of $e$ and $\pi$ follows from this.  I don't know if the proof of this theorem is harder than the transcendence of e and pi, but this is a possible example.

When solving a problem, we often look at some special cases first, then try to work our way up to the general case.  It would be interesting to see some counterexamples to this mental process, i.e. problems that become easier when you formulate them in a more general (or ambitious) form.    Motivation/Example  Recently  for the solution of $a,b,c$ such that $\frac{a}{b+c} = \frac{b}{a+c} = \frac{c}{a+b} (=t).$  Someone suggested writing this down as a system of linear equations in terms of $t$ and solving for $a,b,c$. It turns out that either (i) $a=b=c$ or (ii) $a+b+c=0$.  Solution (i) is obvious from looking at the problem, but (ii) was not apparent to me until I solved the system of equations.  Then I wondered how this would generalize to more variables, and wrote the problem as: $$ \frac{x_i}{\sum x - x_i} = \frac{x_j}{\sum x - x_j} \quad \forall i,j\in1,2,\dots,n $$  Looking at this formulation, both solutions became immediately evident without the need for linear algebra (for (ii), set $\sum x=0$ so that each denominator cancels out with its numerator).


I want to format the default inputField value on a Visualforce page.  I am pre-filling the number field with 1 but it is displaying as 1.00.  The underlying standard field has a data type of number(10,2).  How can I display the prefilled value as 1 with no decimals?  I consider this not to be a duplicate question because there is not a single right answer and helpful information has been provided here which is different to that provided in similar questions and will be useful to others.

I am wondering if it is possible to dynamically format input numbers in Visualforce components when rendering as HTML. I am able to successfully accomplish this when rendering as output tags doing the following:  <apex:outputText value="{0, number, ###,##0}">     <apex:param value="{!myNumber}"/> </apex:outputText>   Which yields a value of 123,456 provided myNumber is an Integer of 123456. In an ideal world, this would work in inputText as well (and there are ways to accomplish this via javascript), but I am curious if there is anything "out of the box" with Salesforce.  UPDATE: Modified original question after noticing a syntax error.


Most ISPs in my area almost exclusively use shared IPv4 addresses; I gather that this is forced by the IPv4 exhaustion.  Is this the only reason? Will IPv6 eliminate the need for shared IPs?  After some comment I realized that I had not specified that my focus is on typical home internet and not business oriented; so the question is not whether will NAT still be useful but whether ISP will offer them in the base packages.

NAT is a wonderful concept used in ipv4. It is the major reason for the existence on internet, in my concerns. There are no networks in the world that doesn't work without employing NAT.  All I seek to know is that, would NAT be required if after ipv6 is implemented, would NAT be eliminated or be used in a different way(Transformed or Upgraded into a new version with some added abilities to tackle any situations or problems that the network specialists or researchers foresee).


Tomorrow morning I want to try a soft-boiled ostrich egg in my sous-vide cooker at a temperature of 65°C. Does somebody know how long the egg has to stay in the sous-vide cooker? I've found an online calculator which says 1h40min. Do you think that's enough time? I'am a little bit skeptical. :D

Is there some guide I can use for cooking soft boiled ostrich eggs?


I use Windows 10. I use the hotkey Windows-Space to switch keyboard layouts (between QWERTY and Colemak). This is a built-in feature of Windows 10.  The Windows-Space hotkey is inconvenient because I often hit it by accident. How  can I change the shortcut to left-altright-alt?

In windows 8, I love how I can switch to Japanese input by pressing [Win key] + [space bar].  Can I do this in Windows 7 without auto hotkey or special programs?


What does -a and -G mean? Thanks.  sudo usermod -a -G www-data username

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing:  $ sudo useradd -G audio www-data useradd: user 'www-data' already exists   If I leave out the -G option, bash, prints the help info for useradd:  $ sudo useradd  audio www-data Usage: useradd [options] LOGIN Options: -b, --base-dir BASE_DIR       base directory for the home directory...   It's not clear to me from the man page what options I should use to make this work.


It's the staple of so many tutorials this time of year. I'm following some and mostly know what I'm doing. But mostly is the operative word. I cannot, for the life of me, figure out the Curve modifier. Sometimes it works perfectly. Other times (like now) it is an irritating failure. I have tried everything to get my array-of-lights-on-a-cord to follow the spiral curve found in the tree. I don't know what I'm doing wrong and would love some pointers.  Thanks.

Every time I think I have the curve modifier mastered, it throws me a another curve ball (no pun intended).  Why in  can I not get the lights to follow the spiral curve? When the modifier is activated, the lights are stretched and distorted along the curve.  I created the curve by converting it from a mesh (string of verts). Why does it not display like a normal Bezier? Is that related to my problem?  I am following all the "rules" that I am aware of, as detailed here: . The curve seems to run in the correct direction. The origin point is at the first point of the curve. The curve modifier on the lights is set to -Y which is the local orientation of the curve's direction.  What am I missing?


If lightsabers can cut through anything, why don't more people (especially bounty hunters) carry lightsabers as a simple cutting tool?  It has been  why non-Jedi don't carry lightsabers as weapons.  However,  whether there are non-weapon items based on lightsaber technology.  But my question is different: If a non-Jedi can get ahold of a lightsaber, such as Boba-Fett, Grievous or Cad-Bane (the latter two who have used them as weapons, in fact), for example, why doesn't he keep one handy?  It doesn't take Jedi training to use one safely in order to cut things.  Han Solo has done it on occasion (on Hoth, for example, when he opened the TaunTaun) and didn't think twice about it.  And in The Force Awakens, Finn easily used a lightsaber without any training whatsoever, so it's not a matter of possessing the Force that makes the item able to be used.  [reasons why this is not a duplicate]  This question was marked as a duplicate of this: Are there non-weapon items in the Star Wars universe based on lightsaber technology?  However, just from the title you can see the scope is different.  Perhaps there are non-weapon tools based on lightsaber technology, but my question is whether non-Jedi carry lightsabers, it has nothing to do with non-weapon, non-lightsaber tools.  [later]  Some of the replies below maintain that non-Jedi people cannot carry a lightsaber because of various reasons.  It seems to me that Jedi would certainly be more skilled with a lightsaber on account of their affinity with the force and the relation of the force to the kyber crystal, but other people could definitely use a lightsaber as a tool.  .

After mis-reading this question:  I found myself wondering if there are other non-weapon items such as tools that utilize lightsaber technology.  Example: the lightsaber bread knife


I've been struggling with this problem for a while now:  Prove that, given positive integers $m$ and $n$, if $m | n$ then $2^m-1 | 2^n-1$.    I can't seem to get any traction with this problem.  Most of my approaches to the problem depend on knowing something about $\gcd(m,n)$, and all I know from the problem is that $\gcd(m,n) \neq 1$ when $m,n \neq 1$.  Can anyone give me a hint or suggest an approach I'm not seeing?  Thanks

My Number Theory book says that for $n, m$ be positive integers and $a>1$, then     $(a^n -1)\mid(a^m -1)$ if and only if $n\mid m$.   I understand the proof for only if part, but in if part the autor says "it is clear". However a tried to prove that but a get stuck. Can you give a hint?


Is there a sandbox site for the Stack Exchange API?  I have found a couple of questions which were made for testing answers (EG ), but no way to test posting or editing questions.

I have noticed a behaviour that may or may not be a  bug. It is a discrepancy between the preview and the rendered result, which is why I would need to post a question to check it out.  Is there an official place to do that?


Consider a relation $R$ = {$(a, b), (c, d)$}. This relation is transitive. Since transitive pair $(a, b)$ and $(b, c)$ is absent, We cannot prove that this relation is TRANSITIVE or NOT TRANSITIVE. What we say is that it is transitive "by vacuity“ or "vacuously true". My questions are:-   Why did we define vacuous statements as true rather than false? Cannot we say that there are not enough facts available to determine the transitivity of the relation? Is it necessary that a relation must be called either TRANSITIVE or NOT TRANSITIVE?   Thanks.    Edit(added 11:27 PM, 23 March 20): I know that the relation in my question is transitive and I also know how. That is not my question. My question is, here we have an if-then statement, $P⇒Q$, (the condition of transitivity), now when the transitive pair (a, b) and (b, c) is absent, P becomes false, then it implies every Q statement. It means that this implies (i) relation is transitive, as well as (ii) relation is not transitive. Then why do we define this type of relation  as transitive (vacuously true) rather than not transitive (vacuously false)?    Edit: I am surprised, why this question is marked as duplicate. I saw the mentioned question and observed that they are different. The mentioned question is interested in whether the relation is transitive or not, whereas in my question I have admitted from the beginning that the relation is transitive and questioned the logic behind it. Do you people think they are same?

Studying relation properties. My definition of a transitive relation is as follows:     A relation is transitive if and only if $\forall a,b,c \in A [aRb \land bRc \implies aRc]$   My question is: if $aRb \land bRc$ never occurs in the first place, is the relation considered transitive?  I ask this because when I read $\forall a,b,c \in A [aRb \land bRc \implies aRc]$ I read it as follows: "when $a$ relates with $b$ and $b$ relates with $c$, $a$ relates to $c$". But since this "when" never happens, there is no condition to evaluate to decide if it is transitive or not.  The same issue occurs with antisymmetry, where $\forall a,b \in A[aRb \land bRa \implies a = b]$ - what if $aRb \land bRa$ never occurs in the first place?  EDIT  I just remembered that $F_0\implies whatever$ is always $V_0$.... I guess this answers my question... kinda.


A scalar quantity is one which has magnitude but no direction. A vector quantity is one which has both magnitude and direction. The direction of current is opposite to the flow of electrons.  Electric current has both magnitude and direction so ideally it 'should' be a vector. But all sources say it's a scalar just because it does not follow vector addition.   Is it enough to ignore the direction of current, which also is an important factor in determining whether a quantity is scalar or vector?

Current has both magnitude and direction. As per the definition of vector , current should be a vector quantity. But, we know that current is a scalar quantity. What is the reason behind it?


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)

I can't find my house and I have specific kind of blocks in it like beacons, enchantment tables, furnaces, stuff like that. I didn't put a bed and I never viewed the coordinates.


Which sentence is correct in this case?         Class conflict and class exploitation are the prime moving force in history of mankind   Class conflict and class exploitation is the prime moving force in history of mankind?

My fish's native habitat is rice fields. My fish's native habitat are rice fields.   Which one is correct? I'm pretty sure it's the first, since 'is' modifies 'habitat,' but it still sounds weird...


I have just run both Pearson's correlation analysis and linear regression analysis, and both sets of correlations differ. Is this supposed to be the case and if so, could somebody please tell me why?   Thank you.

If I want to investigate how two continuous variables are linked, what is the difference between calculating the correlation coefficient (Pearson's $r$) versus calculating the (simple linear) regression coefficient?  I see people who, if the regression coefficient is significantly different from zero, talk about the two variables as if they are correlated, which is confusing as it suggests that the two coefficients (correlation, regression) are the same thing.  Having said that, isn't $r$ a measure of the (regression line) slope anyway? I'm confused!!


Having deleted hundreds of "chatty", "not constructive" and "obsolete" comments, it seems there are (roughly) two kinds of comments:  Permanent, eg "The foo library has been deprecated. Use foo2 instead" Ephemeral, eg "I changed the regex to also work with numbers. Try now."  Ephemeral comments have a temporary relevance, and once read can be deleted without detracting anything from the post, and should be deleted as they are no longer relevant to the post once initially read. Proposal: When creating comments, have an option to make the comment "temporary", which means that the comment will be automatically deleted (say) 7 days after:  the last edit on the post the comment belongs to the comment is read by the target user, if the comment was addressed (via @user)  Benefit: This could save users/moderators a lot of time flagging/deleting comments like "thanks!", "are you sure?", "I get a compile error", "OK I fixed it, try now" and similar chatty and soon-to-be obsolete content. Note: The value of "7 days" is entirely arbitrary. 1 month may be better. 1 day may be better still. To be decided.

Meanwhile, in August 2009  as reason for comment flagging, and the comment flags show in the 10k tools. And  is on its way. Hence: I don't care for this request myself anymore. An explicit [status-declined] would be fine.    What about being able to set comments to auto-expire? Or, alternatively, set a comment to be removable by the author of the question or answer one comments on?  This way the communities would allow for some personal or funny comments (even like "Thanks") without those comments littering the sites forever. Or, when the original author is allowed to clean up, then comments that have been taken care of by editing the question or answer, could be removed.  Why?  As, , there's no way to send a personal message to other members, I find myself abusing the comments like some "poor man's private messaging system". I try to refrain from things like "Thank you", but sometimes I do want to point out something to someone. After a while (hours, days) I then  to remove them (hoping that no-one actually replied to them with another comment, like "Thanks, fixed it").  Like :    (I don't find this feature request very important (at all), I am quite impressed by what's been given us already, and I doubt there's a way to implement it without making things too confusing. Maybe I'm just trying too hard to keep things tidy and clean. Still, I wanted to share it, just in case someone comes up with something very clever...)


I have a computer with Windows 7. When I boot it, I get the usual starting animation, the harddisk LED blinks but then the screen gets black and nothing more happens. No sound, so activity, no changes when I press any keys or the mouse buttons.  When I start the computer with a Fedora 23 Linux live system from usb pendrive, it has no problems, everything works out of the box.  When I start the Windows system restore (I have testet several restore points), it takes some minutes with harddisk LED activity, but then an error appears: 0x8000ffff, and some text, that it is an unspecified error. Not helpful.  I am not very experienced with recent Windows systems, but very experienced with Linux and Mac OS X. So I need help here.  Now the question is: What is the best and fastest way to get the computer back to work with the old Windows 7 system? When I use the Windows 7 install CD, is there a way to install it over the old system? Could this work? Will the installed software work (or at least most of it)? I have not tested it, as I don’t want to destroy anything, until I know what the best approach is.

I've experienced some freaky data loss in Windows 7 & tried to recover the files. (.) The work data is safe but I also decided to copy everything missing back into Windows directory & rebooted thinking that the recovery mode would be a better option for rolling back to a restore point. Shockingly, the only options System Restore gave me were from November 2010 (2.5 years old) despite many updates & installs since. I thought that only the dates were corrupted but when I scanned for software to be affected by the roll-back, the list included everything installed since then. On top of that, something got screwed up in the OS and I can't boot even into Safe Mode - the system BSODs supposedly on compbatt.sys (which I've already tried to copy from the original distro).  Since I have many settings not saved, I don't want to perform a clean install of the OS. The problem is that the install disc keeps on telling me that upgrade can be performed only from the fully-booted system and not from the recovery mode. This is very annoying because all previous versions of Windows could be upgraded from DOS or PE.  Thus, the question is: how can I fix my OS without formatting the drive if it's not bootable & System Restore is broken?


if (!lstFieldData.Items.Contains(ItemValue))         MessageBox.Show(ItemValue + "Item not found.");   Above code is to get the list of items that is not in the list. Now i want to check this with ignoring the case. How do i?

Is there a way to make the following return true?  string title = "ASTRINGTOTEST"; title.Contains("string");   There doesn't seem to be an overload that allows me to set the case sensitivity.. Currently I UPPERCASE them both, but that's just silly (by which I am referring to the  issues that come with up- and down casing).  UPDATE This question is ancient and since then I have realized I asked for a simple answer for a really vast and difficult topic if you care to investigate it fully. For most cases, in mono-lingual, English code bases  answer will suffice. I'm suspecting because most people coming here fall in this category this is the most popular answer.  answer however brings up the inherent problem that we can't compare text case insensitive until we know both texts are the same culture and we know  what that culture is. This is maybe a less popular answer, but I think it is more correct and that's why I marked it as such.


So far I have, given that n is an integer we have integers q,b and r such that n = q x b + r. We know N REM 4 = 2. what is the next step?

An integer $n$ is a perfect square if and only if it can be expressed as the square of some other integer i.e. there exists some integer $a$ such that $n=a^2$.    Prove that if $n$ is a perfect square, then either $n \equiv 1 ~(\mod 4)$, or $n \equiv 0 ~(\mod 4)$.  How can I prove this?


I'm taking Algorithms I on coursera and came across the implementation of a Data Structure called Bag.    However I don't undertand why the use a Node class like this:  private static class Node<Item> {         private Item item;         private Node<Item> next;     }   Why is the Item in there? Why can't I use:  private class Node {          private Item item;         private Node next; }   Is there a difference? Thanks

Can someone explained, as detailed as possible, the differences between the following types?  List List<Object> List<?>   Let me make this more specific. When would I want to use  // 1  public void CanYouGiveMeAnAnswer(List l) { }  // 2 public void CanYouGiveMeAnAnswer(List<Object> l) { }  // 3 public void CanYouGiveMeAnAnswer(List<?> l) { }


I need to prove this equality,  $$\sum_{i=0}^{n} \binom{n}{i}=2^n$$  but I don't know how to start and what even to do

Prove by induction that for all $n \ge 0$:  $${n \choose 0} + {n \choose 1} + ... + {n \choose n} = 2^n.$$  In the inductive step, use Pascal’s identity, which is:  $${n+1 \choose k} = {n \choose k-1} + {n \choose k}.$$  I can only prove it using the binomial theorem, not induction.


I am trying to display all the information of my csv file. Except that in my visualforce page, he shows me the last element of my table.  public class ImportExcel {        public String fileName{get; set;}     public Blob contentFile{get;set;}     public String[] csvFileLines{get;set;}     public String[] data{get;set;}      public ImportExcel(){         csvFileLines = new String[]{};     }      public void readFile(){         try         {             fileName=contentFile.toString();             system.debug(fileName);                      csvFileLines = fileName.split('\n');             system.debug(csvFileLines);                  for(integer i=0;i<csvFileLines.size();i++){                     data=csvFileLines[i].split(',');                     system.debug('***'+data[0]+'**'+data[1]+'**'+data[2]+'**'+data[3]);                 }           }catch(Exception e){             ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.FATAL,'Please upload a valid CSV document');             ApexPages.addMessage(myMsg);              return ;          }           }  }  <apex:page controller="ImportExcel">     <apex:pageBlock>         <apex:form >             <apex:pageBlockSection columns="4">                <apex:inputFile value="{!contentFile}"  filename="{!fileName}"/>                <apex:commandButton value="Import Excel" action="{!readFile}"/>             </apex:pageBlockSection>                  <apex:pageBlock >                 {!data}              </apex:pageBlock>               </apex:form>     </apex:pageBlock> </apex:page>

I want to open an Excel file through an Apex dialog box, then browse the information in my file line and display it with visualforce. I show you my code  public class ImportExcel {       public String fileName{get; set;}     public Blob contentFile{get;set;}     public String[] csvFileLines{get;set;}     public List<String> acclist{get;set;}     public String[] data{get;set;}     public ImportExcel(){         csvFileLines = new String[]{};         acclist = New List<String>();      } public void readFile(){         try         {             fileName=contentFile.toString();         }catch(Exception e){         ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.FATAL,'Please upload a valid CSV document');         ApexPages.addMessage(myMsg);              return ;          }         csvFileLines=fileName.split('\n');          system.debug(csvFileLines);         for(Integer i=0;i<csvFileLines.size();i++){             data=csvFileLines[i].split(',');             acclist.add(data[i]);         }     } }   Once I execute my code, it puts me this error:     13:52:13:012 VARIABLE_ASSIGNMENT   [15]|e|"common.apex.runtime.impl.ExecutionException: BLOB is not a   valid UTF-8 string"|0x4e4728


I need help diagnosing this:  It says my server has been sending spam for 4 months!  I try to be a responsible mail server admin, I hate spam, I do everything I am capable of to prevent it from happening. I need to figure out what is going on and where it is coming from so I can stop this.  I have watched the logs and tcpdumped traffic and I cannot find anything out of the ordinary. Everything going out is legitimate emails from users. There is no sign of spam, and no sign of increased traffic.  Network is locked down by a firewall/gateway server running shorewall. The 66.18.204.186 IP address is one of several static IP addresses I have, but it is the ONLY IP address I use for mail and it is dedicated to only that purpose. It is 1:1 NAT translated to an internal server at 192.168.50.9 (bismark - my mail server) The firewall is configured to allow traffic in/out on port 25 ONLY from this server, and ONLY mapped to that outbound IP. This works, I've tested it, there's no way in or out on port 25 from any other computer on the network.  This leaves me with the conclusion that any spam originating from that IP address must indeed be coming from my mail server but I have no idea how. My only guess is a compromised user account password (it does allow external SMTP auth, defended against brute force by fail2ban)  I can't see any spam going out at the moment. How do I monitor for it? How will I know if it starts again? More importantly, how do I make sure it will never start again? Help! I don't want to be one of the bad guys!

This is a  about Fighting Spam.   Also related:                    There are so many techniques and so much to know about fighting SPAM. What widely used techniques and technologies are available to Administrator, Domain Owners, and End Users to help keep the junk out of our inboxes?  We're looking for an answer that covers different tech from various angles. The accepted answer should include a variety of technologies (eg SPF/SenderID, DomainKeys/DKIM, Graylisting, DNS RBLs, Reputation Services, Filtering Software [SpamAssassin, etc]); best practices (eg mail on Port 25 should never be allowed to relay, Port 587 should be used; etc), terminology (eg, Open Relay, Backscatter, MSA/MTA/MUA, Spam/Ham), and possibly other techniques.


The embassy of Spain recently refused my tourist visa, saying:     one or more of members states consider you a threat to public policy, internal security, public health under article 2(21) of regulation (EC)no399/2016 Schengen barcode or international relations of one or more member states   Similarly my Schengen visa was refused by Germany, Hungary and Italy within the last year.  I am a 62 year-old Medical Doctor and have previously traveled to the United States, Australia, Canada, Brazil, South Africa, Japan, Russia, Singapore, Hongkong, Turkey and many more countries, but never to Schengen countries.  I was misguided by my travel agent and didn’t appeal any of them before the Schengen visa refusal.  How should I appeal now to clear myself to visit Schengen countries?  Thanks.

I applied for German Schengen visa as a medical escort to my relative in a different country from  where I reside, but my visa application was refused and the refusal letter  was written in German as the following:        Ein oder mehrere Mitgliedstaaten sind der Auffassung, dass Sie eine Gefahr für die öffentliche Ordnung, die innere Sicherheit, die   öffentliche Gesundheit gemäß Artikel 2 Absatz 19 der Verordnung (EG)   Nr 562/2006 (Schengener Grenzkodex) oder die internationalen   Beziehungen eines oder mehrerer Mitgliedstaaten darstellen.      I was in Germany for nearly a year with my relative during his treatment; I extended my stay there 3 times; and I returned back home two months ago in order to renew my passport. I applied again using the same documents that I used for my extension in Germany.    First, can anyone tell me what the refusal means? Next, is there any possibility that there is a mistake in the assessment?    Note: In English this reason is...     One or more member state(s) consider you to be a threat to public   policy, internal security, public health as defined in Article 2(19)   of Regulation (EC) No 562/2006 (Schengen Borders Code) or the   international relations of one or more of the member states).


I'm looking for the font used in this fragment:    Anybody could guide me on the family name, and how to use it by myself?

Is it possible to identify the font used in a specific document/picture?  Answers to this question should identify:   Possible methods to do this (perhaps one answer per method) and adequately describe how to use it (as opposed to merely stating it); Ways of finding the identified fonts, if possible (free or not); and Any prerequisites associated with the method used, if required (for example, "In order to use method X, your document has to be in format Y").   This question is meant as an FAQ, based on an . Its aim is to facilitate the community with the general procedures involved in font identification. Similar cases are solved on a per-usage basis on 's  tag.