Python: how to duplicate collections by listed names?

I have a list with collection names collection_names = ["Collection", "Collection 2"] and I want to duplicate this collections. How to do this? Thanks!


Can I apply for Schengen visa 4 months before travel

I am indian citizen on H1b visa in US. I am planning to visit France in Oct 2014. Can I apply for Schengen visa now about 3/4 months in advance. Are there any restrictions that on early you can apply for Schengen visa.


Real number initialization approximation

I couldn't find any question about this, so I decided to post. Basically, I just noticed that whenever I initialize float or double variables, the actual values assigned are approximations of what I specified.  Ex:   float dx = 7.1; //upon debugging this is: 7.09999990  float dy = 9.9; //upon debugging this is: 9.89999962  I realize that they're approximations of what I asked, and that in a real calculation it's absolutely understood that the result would be a calculation, but I'm wondering and sort of expected the aproximation to be 7.10000000  And also, if I use the constant 7.1 or 7.10000000 in something like if (7.10000000 == 7.1), it seems literal constant is approximated to 7.0999999999999996. (I guess this is a bit obvious now, it's first aproximated to a double and not a float; so this isn't a mystery anymore)  So I guess my question is why is 7.1 approximated to 7.09999990, and not even 7.09999999 which is closer to 7.1 than 7.09999990. No? Am I missing something?


How to find the equation of a plane given a line in this plane and a distance from a point?

So I have a question which goes like this:  Find the equation of a plane containing the line: $$\left\{\begin{align*}x &= 1 + k\\ y &=1\\ z &= -2k\end{align*}\right. ,\quad k\in\Bbb{R}$$ and lying at distance one from the point $(-1,0,1)$.  I wouldn't even know how to start this as I am used to having questions which are usually simpler than this.  Any help would be appreciated.  Thank you very much.


Sort a list according to a property java

I have a list of Strings   ArrayList<String> titles = t1,t1,t2,t2,t3,t3,t3   I want a sublist with the unique values ie. titles2 = t1,t2,t3  How can I do this? Any help is appreciated


I would like to find the conditional bivariate normal distribution. There are two dependent normal variables with the same distribution and the correlation coefficient $\rho$: $X,Y \sim N(\mu, \sigma^2)$. I would like to get $P(X|Y>M)$. I found the conditional expectation of $X$ given that $Y$ is bigger than $M$: $E(X|Y>M)= \mu + \rho \sigma \frac{\phi(\frac{M-\mu}{\sigma})}{1-\Phi(\frac{M-\mu}{\sigma})}$. But what is the conditional variance of $var(X|Y>M)$? Is it $(1-\rho^2)\sigma^2 $, as it would be in the case of $var(X|Y=M)$, where variance does not depends on $M$? And is the conditional distribution $N(E(X|Y>M),var(X|Y>M))$?


I have several lines win one word in each in my Notepad++. How to select all words not not containing Set ant Get phrase.  SetBlaBla1 BlaGetBla2 BlaBla3   Result should be BlaBla3


How my ac-dc adapter gives constant voltage and current?

I have multiple ac-dc adapters, one with variable voltage and the others for electronic devices. written on them they give specific voltage and current, How come? Doesn't the current change with the applied resistor?   For those adapters of electronic devices may be the resistance of the device is constant. but for that adapter I bought with variable voltages how it says it gives specific current? It says   OUTPUT: 1.5-3-4.5....V CURRENT: 500 mA


Can unarmed strike work with a rogue's sneak attack?

So a situation came up last night where a player with a monk/rogue was flanking (I use the optional flanking rules to grant advantage) an enemy. He was armed with a shortsword, but even with advantage, he missed the attack roll and thus did not get to use his sneak damage.   Since he had taken the Attack action with a monk weapon (shortsword), he could make an unarmed strike as a bonus action, as granted by the monk's Martial Arts feature. He still has advantage on that role since nobody had moved and the attack hit. But then the issue came up; is unarmed strike a finesse weapon? Is it eligible for sneak attack?  I ruled yes and allowed the sneak damage on this attack, but should I have allowed this or strictly should this not have worked?


Is the series $\sum \limits_{n=1}^{\infty} \sin(n^2)$ convergent?

Does the series $\sum \limits_{n=1}^{\infty} \sin(n^2)$ converge?  I think I've tried everything, I have no more ideas.


If the Empire can make a shield around the entire planet of Scarif, why not make a shield around the entire moon of Endor?

In Return on the Jedi, the Empire made a shield around just the Death Star and a small part of the moon of Endor.    In Rogue One, the Empire made a shield around the entire planet, Scarif.    If it can shield an entire planet, it can also surely shield a moon (plus nearby space station).  Why not make a shield around the entire moon of Endor?  One possible out-of-universe explanation is that the producers of Star Wars had not considered a planet-wide shield when they wrote Return of the Jedi. I don't want an out-of-universe explanation. Is there an in-universe explanation? Please provide answers from canon sources.


Balloon tethering cable tension model (catenary tether)

If a moving balloon (let's say it's a blimp system with some rotors for movement) is connected to the ground by a cable that describes a catenary curve, how can we model the tension being applied on the blimp by the cable?     This force has a vertical component that will be related to the mass of the cable and a horizontal component with the opposite direction of the movement of the blimp. Is there any model for this kind of behavior?


How do I calculate a point between two points with a given distance percentage?

I've made a simple drawing:    The distance between these two points is calculated with a simple formula:    Which gives: 5,38   I need to calculate the green point's coordinates, which is set at 80% distance from the B point towards the A point.  I could make a direction vector between A and B, and then, add (dir * 5.38 * 0.8) to the B point itself, but it gives me strange results.  Is there a simpler (and more efficient!) way to achieve that?


Effect of choosing https over http in a new website for AdSense & SEO

First off, sorry for my english. I am currently developing a new website that may be deployed in early 2017. This site may contain user login but that may be shipped later in that year.   Now, I googled about https and I hear mixed opinions, google wants the web in https and may punish those who don't use https in the future. Mozilla will also favor https over http for its Firefox. Let's Encrypt make it for free. So far so good.  What is worrying me is I read that many sites that switched to https suffered much lower revenues of adsense (I read also some terrible things about seo and ranking suffering after switching) and many returned again to http.  How much truth is in the suffering of revenues due to switching to https? My website is still in development so I have actually no links needed to be reindexed. My site isn't a blog type. It mainly provides profiles on local artists in my country.  The problem is I need every penny to cover the server and cdn hosting costs. I can't be sure how much using https will hurt the revenues.


Set sql_mode “blank” after upgrading to MySQL 5.6

After upgrading MySQL from 5.5 to 5.6, some our app face to problem and need set sql_mode to blank to solve this issue. I added sql_mode = '' to my.cnf but there was no effect on the mysql setting.  How do I keep the sql_mode blank ?


centos: update tzdata for new DST rules in Brazil.

Brazil looks like being changing its DST rules again (next transition date was initially oct'20th, changed to nov'4th and now to nov'18th ).  Looking at  the last update is 2018e, which doesn't include this last change.   Any clue on how to handle this for both linux tzdata and openjdk tzdata-java ?  thanks.


Do I always need a capital letter after an exclamation mark?

Do I always need a capital letter after an exclamation mark or a question mark?  I'm bilingual with french, and, especially in older works, I've often stumbled upon exclamation marks or question marks that don't end a sentence, but merely serve to accentuate a specific part of a sentence. Sometimes they replace a comma, sometimes not.  Is this kind of stuff legal in the english language or not? I haven't seen it in english texts so far, but I have no reason to believe it would only exist in french and not in english.  EDIT: Here are some examples (in french) that  provides:     « Ah ! non ! c'est un peu court, jeune homme ! On pouvait dire… Oh !   Dieu !… bien des choses en somme… »        — Edmond Rostand, Cyrano de Bergerac (I, 4)      « C'est la femme d'un autre ! ô jalousie affreuse ! »        — Victor Hugo, Ruy Blas (II, 3)


what is the specific usecase for !! in C++

Came across using !! in C++ during condition check if ( !! (flag != 0 )){.. }  This could be directly used like if( flag != 0 ){.. }    Is there any specific corner use case in C/C++ or is it just a form of coding style ?


Could anyone help me get my NETGEAR WNA3100 (Broadcom BCM43231) wireless adapter to work?

I have just moved back to Ubuntu from Windows 7 and a few months ago, I bought a NETGEAR WNA3100 wireless adapter because my old adapter had broken. I plugged in my adapter and it doesn't seem to work, I also used the windows 7 drivers for it and tried them on the program "Windows Wireless Drivers" and they don't seem to recognize the device. However I have heard you need XP drivers but I can't seem to find them on the internet nor find them on the CD.  Could anyone help me get my wireless adapter to work? Any help is greatly appreciate.   P.S I do have internet connection though I have to tether my phone to my computer and then connect my phone to my router.


Cluster analysis in R with a mix of variable types

I am looking to do a cluster analysis in R with variables of mixed types (continuous, categorical). In the past I Have used SPSS's two-step cluster analysis to do this, but I need to now use R. Is there a way to conduct cluster analysis with variables of mixed types in R? I did find this thread:   however, it is 8 years old, so I'm not sure if there have been any new approaches since then. Thank you!


How to select suitable RAM for my machine?

I have a Core i3 machine. Therefore, I know that I need is DDR3 RAM. Are there any other factors that I need to consider when I buy a RAM module?  I have already installed 2 GB. Here is more info:  Memory slots   Total memory slots  2   Used memory slots 1   Free memory slots 1 Memory   Type  DDR3   Size  2048 MBytes   Channels #  Single   DRAM Frequency  665.2 MHz   CAS# Latency (CL) 9 clocks   RAS# to CAS# Delay (tRCD) 9 clocks   RAS# Precharge (tRP)  9 clocks   Cycle Time (tRAS) 24 clocks   Command Rate (CR) 1T Physical Memory   Memory Usage  50 %   Total Physical  1.91 GB   Available Physical  972 MB   Total Virtual 3.85 GB   Available Virtual 2.45 GB SPD   Number Of SPD Modules 1     Slot #1       Type  DDR3       Size  2048 MBytes       Manufacturer  Unknown       Max Bandwidth PC3-10700 (667 MHz)       Part Number RMB2GB484CA4-13HC       Week/year 19 / 11       SPD Ext.  EPP         JEDEC #4           Frequency 685.7 MHz           CAS# Latency  9.0           RAS# To CAS#  9           RAS# Precharge  9           tRAS  25           tRC 34           Voltage 1.500 V         JEDEC #3           Frequency 609.5 MHz           CAS# Latency  8.0           RAS# To CAS#  8           RAS# Precharge  8           tRAS  22           tRC 30           Voltage 1.500 V         JEDEC #2           Frequency 533.3 MHz           CAS# Latency  7.0           RAS# To CAS#  7           RAS# Precharge  7           tRAS  20           tRC 27           Voltage 1.500 V         JEDEC #1           Frequency 457.1 MHz           CAS# Latency  6.0           RAS# To CAS#  6           RAS# Precharge  6           tRAS  17           tRC 23           Voltage 1.500 V   Here is the motherboard info  Manufacturer  Intel Corporation Model DH61WW (LGA1155 CPU 1) Chipset Vendor  Intel Chipset Model Sandy Bridge Chipset Revision  09 Southbridge Vendor  Intel Southbridge Model H61 Southbridge Revision  B3 System Temperature  40 °C   BIOS     Brand Intel Corp.     Version BEH6110H.86A.0020.2011.0218.1538     Date  2/18/2011   Voltage     CPU CORE  0.960 V     MEMORY CONTROLLER 1.104 V     AVCC  3.440 V     3VCC  3.440 V     VIN4  1.048 V     VIN5  1.056 V     VIN6  1.056 V   PCI Data       Slot PCI         Slot Type PCI         Slot Usage  Available         Bus Width Unknown         Slot Designation  PCIe x16 Slot         Slot Number 0       Slot PCI         Slot Type PCI         Slot Usage  Available         Bus Width 32 bit         Slot Designation  PCI Slot         Slot Number 1       Slot PCI         Slot Type PCI         Slot Usage  Available         Bus Width Unknown         Slot Designation  PCIe x1 Slot         Slot Number 2   If I add RAM modules for the rest of the empty sockets, what is the suitable type? This is for my personal work. I use this for development and gaming.


I would like to have some applications always appear in a specific workspace. For example: I would like my mp3 player on the bottom left workspace, and terminal application on the bottom right one;  I am new to Ubuntu, so tried using wmctrl but it looks to me as desktop wall works by creating one big desktop and then splitting it up into 4 pieces.


Clicking the username redirects to the revision history in CW posts

When using the mobile site, clicking the username of the OP redirects to the edit history of the post while it should redirect to the profile page of the user (as it normaly does in the full site).  Is this bydesign?


Automate the process of picklist values retrieval from the backend

Is it possible to automate the process of picklist values retrieval from the backend?  Here is how I am doing it right now:  @AuraEnabled public static List<String> retrieveMyObjectMyFieldOptions() {     List<String> res = new List<String>();      Schema.DescribeFieldResult fieldResult             = MyObject__c.MyField__c.getDescribe();     List<Schema.PicklistEntry> ple = fieldResult.getPicklistValues();     for(Schema.PicklistEntry f: ple) {         res.add(f.getLabel());         res.add(f.getValue());     }      return res; }   Is it possible to pass two strings to a method and get the same list as above? In other words is it possible to change the signature to the following:   public static retrieveMyObjectMyFieldOptions(String MyObject, String MyField)?


How did this user offer a bounty on their question?

How can someone with a reputation of 19 offer a bounty of 100, and thus stop the question being closed?


I want to find the image of the function that defined as $\exp(x+iy)=e^x(\cos(y)+i\sin(y))$ for $z\in L$ where $L=\left\{z\in \mathbb C \mid a\mathrm{Re}(z)+b\mathrm{Im}(z)+c=0 \right\}$ and $a^2+b^2\ne 0$.  I tried to get to an expression for $z$ uing the identities $\mathrm{Re}(z)=\dfrac{z+\bar z}{2}$ and $\mathrm{Im}(z)=\dfrac{z-\bar z}{2i}$ but I got to a dead end.   How should I approach this problem?


Differential of the inversion of Lie group

Let $G$ be a Lie group and $\iota \colon G\to G$ denote the inversion. If $e$ is the identity of $G$, prove that: $$\text d \iota _e = -\text {id} _{T_e G}.$$ I understand that the differential at $e$ should be an involution, since $$\iota \circ \iota = \text{id}_G$$ implies that $$\text d \iota _e \circ \text d \iota _e=\text d (\iota \circ \iota)_e=\text d(\text {id} _G)_e=\text {id} _{T_e G}.$$ However I don't know how to conclude the thesis from this. Any hint?


How to sort numbers in strings in python

sorry... my English is not very good... so i didn't know How to ask this question... please just read so u can understand what i want... I have a def which takes a dictionary:  {'John':30.370, 'Mike':84.5, 'Sara':97.55, 'Frank': 75.990}   And i wanna return this:  Sara       97.55 Mike       84.50 Frank      75.99 John       30.37   But My solution don't return this! My solution:  def formatted(a):     s=''     for i in a:         d='{0:<10s}{1:>6.2f}\n'.format(i, a[i])         s=s+d     s=s.rstrip()       return s a={'John':30.370, 'Mike':84.5, 'Sara':97.55, 'Frank': 75.990} print (formatted(a))   it returns:  John       30.37 Mike       84.50 Sara       97.55 Frank      75.99   I should sort these numbers...But i Have no idea How to do that! Anybody can help??


you have helped me (Present Perfect)   you helped me (Past Simple)    Which one is correct and why?


Changing default date range in Google Analyics?

Is there a way to change the default date range of 31 days in GA? After changing it and clicking apply, only the current report changes? Next time I use GA, 31 days again???      Here is  on GA date range.


Electrical issues in house less than 18 mos old

I built a carriage house is SC about 18 mos ago which I visited almost monthly. I took possession from my builder in mid May. In June, the can lights in the master mad e a sizzling noise when I turned the switch on and then died. I called the electrician and he came over and re wired them. Every month when I come back down the electric has been off and the clocks are flashing. I was down in August and the air conditioner had shut off and it seems the thermostat went bad. The fan in the freezer portion of the refrigerator also went bad.  We replaced the thermostat and the fan. I keep questioning my builder and he first called the power company. They came out and told me that some animals ate my wire and they fixed it. I was at the house the very next day and the power went off again. This does not happen to any of the neighbors. I keep questioning my builder. He is now telling me it is arc breakers which are required here. Problem is that his electrician hanged these out the first time. Now last week the ceiling fan in the family room burnt out. There is power tot he switch but the fan itself is dead. I keep telling my builder there is something wrong. He insists not. I can’t believe all this is normal. I’m 53 and never had such issues.  Can anyone shed any light on what might be going on??? I don’t want my house to burn down and I’m super tired of paying to replace everything. Thanks in advance!!!


Reinitialize jQuery after loading additional information

I have a list of items that I can select but when I append additional items the new items are not able to be selected.   HTML

item 1

item 2

 <button id="ud">update</button>   JQuery  $(document).ready(function() {   $('#ud').click(function() {     $.post("page", function(data){       $('#list').append(data);     });   });   $('#list ul').click(function(){     $(this).addClass("selected").siblings().removeClass("selected");   }); });   I am unable to select any of the items that are appended after the initial page is loaded.  What is the best way to address this?


I really need help, I downloaded a software that installed this malware to my computer.. Now, I used adwcleaner,hitmanpro,malwarebytes and all of those found something but that wasn't it.. When I got to extensions there is no adfreeapp in there, just the regular stuff.. In the program files there is no adfreeapp program to uninstall.. But it still pops up whenever I open almost any site.. Sometimes it even crashes my browser.. Thanks. :)


How do you set DNS record so that www subdomain is set to root domain?

I don't want "www" in my domain. How do I set dns record so that when someone types www.mydomain.com it will just show up as mydomain.com?  I just want www to foward to root domain? Tried searching but google only tells me how to make my domain "www" which I do not want.  Is DNS even what I should be looking at?  Tool Tips is telling me, "The question you're asking appears subjective and is likely to be closed"...  Look, I don't know how to ask the question any different. I thought this could be done on a DNS level without messing with htaccess.  Any help would be appreciated.


Is it OK to "repost" a question that hasn't gotten many views?

I don't mean a complete repost, but rewriting the question to be more interesting, more general, so that more people read it, and possibly write an answer.


How to proof an open set and its complement contained in a metric space with infinite element are both infinite?

Let X be a set containing infinitely many elements, and let d be a metric on X. Prove that X contains an open set U such that U and its complement $U^c$ = X\U are both infinite.


$f : S^1 \to\mathbb R$ is continuous then $f(x)=f(-x)$ for some $x\in S^1$

Question is to prove :  $f : S^1 \to \mathbb R$ is continuous then $f(x)=f(-x)$ for some $x\in S^1$  I guess it would be helpful to use intermediate value theorem  Assuming $f(x)\neq f(-x)$ then given any $p\in (f(-x),f(x))$ (assuming $f(-x)<f(x)$) there exists $y\in (-x, x)$ such that $f(y)=p$  I am not very sure of how to use this..   It would be helpful if someone can give some hint which would help me to solve this..  Thank you.


I want every part have a new counter.  \documentclass[UTF8,10pt,a4paper]{article} \author{wsy} \title{test} \begin{document} \maketitle  \tableofcontents \part{part $1$} \section{part 1, section 1} \part{part $2$} \section{  how to make this section label become 1}  %(* now  it is 1 *) \end{document}


How can I trigger the Oauth authentication flow for my apex-created Named Credential?

I am trying to callout to the Salesforce Metadata service (ApexMDAPI) using Named Credentials.  My goal is to use this credential with configuration in a managed package.  Here's my use case: I'm putting together a setup script for a managed LWC application. My app is using custom metadata which must occasionally be changed. (A series of configurable lists, to be specific) To do that, i need a first class sessionId or a Named Credential. (I'd rather not have a whole bunch of VF pages to do that part, and since Lightning doesn't provide the first class sessionId, I think I'm stuck with the Named Credential approach. After the pkg is installed, I have a VF screen which creates the Named Credential, so that Lightning components can use the Named Cred callout from lightning  I have successfully created the ConnectedApp/AuthProvider/NamedCredential records entirely with apex/Visualforce.  The problem is that since I created the NamedCredential with apex, the initial authentication flow hasn't been triggered, and this can't be used in Callouts.  If I simply click "Edit"/"Save" on the new NamedCredential, then the auth flow will be triggered, and the credential works perfectly.  Is there another way that I can trigger this initial flow without requiring the user to edit/save the Named Cred?  In case you're wondering why I didn't just include the Named Credential in my original package, I've already tried that.  The problem with that is the endpoint for the Named Credential still points to the org where the package was assembled.  Editing the endpoint in the new org results in an unuseable Named Credential.


Is The Flash's physiology faster than normal humans?

Can the Flash do things like build muscle faster than normal (do his muscles grow right after a work-out or meal)? Can he heal faster than normal? Does he have a faster immune system to stop all illness or at least make the flu last 2 minutes or something along those lines?


I am reading Gathmann's free online notes on Algebraic Geometry. One exercise asks to show that     "Every affine variety in $\mathbb A^n$ consisting of finitely many points can be written as the zero locus of $n$ polynomials".    There is a hint says "interpolation". I don't know how to start with the hint.   If $n=2$, we can use interpolation to get 1 polynomial for finitely many points. But we need to show 2 polynomials instead. I am also not sure how to apply interpolation for higher dimensions. Anyone can help? Thank you!


Can I upgrade to Windows 10 with BitLocker Enabled?

I am currently running Windows 8.1 Pro, with BitLocker enabled (the hardware has no TPM, though).  I am curious as to whether I will be able to upgrade to Windows 10 when it is rolled out without having to disable BitLocker/decrypt the hard drive.  Windows Updates obviously work fine with BitLocker, but as I have not beta tested Windows 10 I have no idea whether I will need to decrypt the drive before upgrading the system to Windows 10 or not.  Any and all information is appreciated!


Is there another term, or even a single word, for "tonal recognition"?

This has been bugging me for a while. I use the term liberally when I talk about music, and more often than not I draw blank stares.  It's a simple concept. You hear a tune and associate it with something that's happening in your life at the same time, mostly pleasant. Years later the same tune plays on the radio, and you recognize it, and it brings back all those good memories. Without realizing that it's the memory and not necessarily the tune itself that fills your heart with joy, you come to believe that the tune is great music regardless of its actual artistic value. That's the important point: the tune may be boring and stupid, yet you're still inclined to believe it's great.  This phenomenon is known as "tonal recognition." Is there a better term for it, or at least a term everyone's familiar with?


Python 3.5 has just been released, can I get it as a package for Ubuntu 15.4?

I want the very latest version of Python, but I don't want to bypass the apt package manager: I don't want to do an old-school source install because that can make it harder to uninstall when the official packages come out.  Python3.5 is not currently featured in any of Canonical's package repositories, which means I cannot just "apt-get install python3.5".  Is there a way to get Python3.5 installed on my PC in the meantime?


g++ linker is unable to locate functions despite header inclusion

I have 4 files world.cpp, world.hpp, Helpers/tools.cpp, Helpers/tools.hpp.  wrold.cpp and tools.cpp include their respective headers and world.hpp includes tools.hpp  world.hpp/cpp use structures defined in tools.hpp/cpp   on my CMake file I have added  target_sources(voxel-world PUBLIC ${PROJECT_SOURCE_DIR}/Helpers/tools.cpp)   and  target_sources(voxel-world PUBLIC ${PROJECT_SOURCE_DIR}/World.cpp)   So, to my understading, the generated make file should attempt to link everything properly.  However when I attempt to compile my program I get the error message:      CMakeFiles/voxel-world.dir/source/World.cpp.o: In function `Chunk_Holder::Chunk_Holder()':     World.cpp:(.text+0x112a): undefined reference to `cirArray<cirArray<cirArray<Chunk*> > >::cirArray()'     CMakeFiles/voxel-world.dir/source/World.cpp.o: In function `Chunk_Holder::Chunk_Holder(int, int, int, World*)':     World.cpp:(.text+0x117c): undefined reference to `cirArray<cirArray<cirArray<Chunk*> > >::cirArray()'     World.cpp:(.text+0x11a2): undefined reference to `cirArray<cirArray<cirArray<Chunk*> > >::cirArray(unsigned int)'     World.cpp:(.text+0x11ee): undefined reference to `cirArray<cirArray<Chunk*> >::cirArray(unsigned int)'  ...  ...   I am not sure why the linker is failing to find these declarations, since the include statements are on each file. What have I missed?


Here's the situation- someone asks a question, accepts an answer, and then un-accepts the answer, and edits the question, making that answer and other existing answers incorrect...  I've tried to research the issue on Meta and found a few cases of this happening, the general consensus seems to be that its not appreciated and the OP should have asked a new question, but there doesn't seem to be any real mechanism or suggestion as to what to do about it.   Should these cases be flagged for an edit roll back?  Related Questions-      Note- I'd rather not reference the specific case as it would likely draw a lot of negative attention to the asker, and I think keeping it broad would help in other cases.


Show that $A \setminus (B \setminus C)$ is equivalent to $(A \setminus B) \cup (A \cap C)$?

Not sure what I'm doing wrong.  Here's my work:  Expressing the first part $A \setminus (B\setminus C)$ using logical symbols:  $A \land \neg(B \land \neg C)$ becomes  $A \land \neg B\lor C$ (De Morgan's law)  While the second expression $(A \setminus B) \cup (A \cap C)$ is   $(A \land \neg B) \lor (A \land C)$ which becomes  $A \land \neg B \lor A \land C$ (Associative Law)  or $A \land \neg B \land C$  How are these two expressions similar? Thanks for any help in advance!


Is it appropriate for new/unaware members know what a controversy is about?

After a long gap away from SE, I have returned to find innumerable requests to reinstate someone. As you can imagine my curiosity is piqued but, more importantly, I would like to know enough to form an opinion about the matter. Clearly this concerns what journalists would describe as "public interest" - indicating that publication may be justified even at the cost of betraying some confidences. It seems that the matter is already out in the open but without those in the know explicitly describing the events. Is it acceptable to ask what happened and why?


"Errors were encountered while processing: steam:i386" and "Resource temporarily unavailable"

Deleted Steam from terminal, now, when I try to install or remove anything I get the same error:  tim@tim-X55A:~$ sudo apt-get remove gimp Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:   gimp-data libamd2.4.1 libbabl-0.1-0 libblas-common libblas3 libcamd2.4.1   libccolamd2.9.1 libcholmod3.0.6 libgegl-0.3-0 libgfortran3 libgimp2.0   liblapack3 libmng2 libraw15 libsdl1.2debian libumfpack5.7.1 python-cairo   python-gobject-2 python-gtk2 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED:   gimp 0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded. 1 not fully installed or removed. Need to get 0 B/875 kB of archives. After this operation, 16,0 MB disk space will be freed. Do you want to continue? [Y/n] y debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable (Reading database ... 193119 files and directories currently installed.) Removing gimp (2.8.16-1ubuntu1.1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ... Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... Processing triggers for mime-support (3.59ubuntu1) ... dpkg: error processing package steam:i386 (--configure):  package steam:i386 is not ready for configuration  cannot configure (current status 'half-installed') Errors were encountered while processing:  steam:i386 E: Sub-process /usr/bin/dpkg returned an error code (1)


I applied for a UK tourist visa from India for myself, my wife and 2 kids. My brother, his wife and 2 kids also applied along with us. Good news - we all received the visa in 8 days.  For myself and my family we got only the application forms back. But my brother and his family got all documents submitted along with the application form.  Why did I not get my docs back?  There is no way to reach VFS in Mumbai. They diverted me to some email ID, which responded with an auto mail and then some, which said I will be charged for the inquiry. Isn't it their mistake if they forgot to send my docs back?  Suggestions on what to do?


In general, how do you solve $x^2$ is congruent to $-1 \bmod p$, where $p$ is an odd prime and $x$ is an integer.  Specifically, I need to solve $x^2\equiv-1 \pmod{29}$


Exception in thread "Image Animator 3" java.lang.OutOfMemoryError: Java heap space at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.awt.image.GifImageDecoder.readBytes(Unknown Source) at sun.awt.image.GifImageDecoder.parseImage(Native Method) at sun.awt.image.GifImageDecoder.readImage(Unknown Source) at sun.awt.image.GifImageDecoder.produceImage(Unknown Source) at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source) at sun.awt.image.ImageFetcher.fetchloop(Unknown Source) at sun.awt.image.ImageFetcher.run(Unknown Source)   what's wrong? In java, the gif file normally runs in the java program, and after a while, this error message appears.


How can it be that $(P \rightarrow Q) \vee (Q \rightarrow P)$ is a tautology?

I consider $(P \rightarrow Q) \vee (Q \rightarrow P)$, that is $(\neg P \vee Q) \vee (\neg Q \vee P)$ and so $\neg P \vee Q \vee \neg Q \vee P$, which is a tautology.  It seems strange to me that, given two arbitrary formulas, necessarily  one implies the other or viceversa. (I am thinking for example of this case: P stands for 'Ann loves animals' and Q 'Ann is a student')  Where is my mistake? Perhaps in the interpretation of $P$ and $Q$?  Any clarification will be much appreciated.


Problems with \input{table.tex}\hline after 2020 fall LaTeX release

Since updating to the 2020 Fall release (MikTeX on Windows but also tested with TeXLive), I can no longer compile files where tables are imported from an external file using \input and followed by \hline (or \bottomrule). Things work perfectly with older releases. Note that it works if the last \\ is outside the file to be imported, but this is not a feasible option if the tables are created automatically from other softwares. Here is a MWE:  \begin{document}  \begin{table}   \caption{Table in text}   \begin{tabular}{lcc}     a & 1 & 2\\     b & 1 & 2\\     \hline   \end{tabular} \end{table}  \begin{table}   \caption{Table in other file 1}   \begin{tabular}{lcc}     \input{table1}     \hline   \end{tabular} \end{table}  \begin{table}   \caption{Table in other file 2}   \begin{tabular}{lcc}     \input{table2}\\     \hline   \end{tabular} \end{table}  \end{document}  with external files: table1.tex:     a & 1 & 2\\     b & 1 & 2\\  table2.tex:     a & 1 & 2\\     b & 1 & 2  Here is the log when it fails: This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 20.10) entering extended mode (MWE.tex LaTeX2e <2020-10-01> patch level 1 L3 programming layer <2020-10-05> xparse <2020-03-03> ("C:\Program Files\MiKTeX\tex/latex/base\article.cls" Document Class: article 2020/04/10 v1.4m Standard LaTeX document class ("C:\Program Files\MiKTeX\tex/latex/base\size10.clo")) ("C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-pdftex.def") (MWE.aux) (table1.tex) ! Misplaced \noalign. \hline ->\noalign                    {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth \futurelet... l.18     \hline                 ! You can't use `\hrule' here except with leaders. \hline ->\noalign {\ifnum 0=`}\fi \hrule                                           \@height \arrayrulewidth \futurelet... l.18     \hline                 ! Missing number, treated as zero. <to be read again>                     \futurelet  l.18     \hline                 ! Illegal unit of measure (pt inserted). <to be read again>                     \futurelet  l.18     \hline                 (table2.tex) [1{C:/Users/Gouel/AppData/Local/MiKTeX/pdftex/config/pdftex.map}] (MWE.aux) ) (see the transcript file for additional information)<C:/Program Files/MiKTeX/fo nts/type1/public/amsfonts/cm/cmr10.pfb> Output written on MWE.pdf (1 page, 14750 bytes). Transcript written on MWE.log.  With an older release under Linux, it works perfectly: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex)  restricted \write18 enabled. entering extended mode (./MWE.tex LaTeX2e <2020-02-02> patch level 2 L3 programming layer <2020-02-14> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2019/12/20 v1.4l Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def) (./MWE.aux) (./table1.tex) (./table2.tex) [1{/var/lib/texmf/fonts/map/pdftex/up dmap/pdftex.map}] (./MWE.aux) )</usr/share/texlive/texmf-dist/fonts/type1/publi c/amsfonts/cm/cmr10.pfb> Output written on MWE.pdf (1 page, 13788 bytes). Transcript written on MWE.log.


I'm currently using R to predict a time series with these instructions:  X <- ts(datas, frequency=24) X.arima <- Arima(X, order=c(2,1,0), seasonal=c(1,1,1)) pred <- predict(X.arima, n.ahead=24) plot.ts(pred$pred)   As you can see I've data each hour, and I chose the seasonal period of 24 (one day).  I would like to improve my forecasting using an additional seasonal period in order to include the seasonal component of the week (seasonal length of 7*24=168 data)  Is there any method for this? How do you do it?  UPDATE: I've read  (your) blog page, maybe can I use the external regressors to simulate a second seasonal period?


When I wanted to launch an app in Windows 7 (or Gnome), I pressed the windows key and typed the name of the app, for example, "Firefox", and pressed enter. Now in Windows 10 the Search Windows have weird behavior - I can search for "Edge", but not for "Firefox". "Firefox" will result in nothing found. However, "Firefox." (notice the dot) will result in result that will open Firefox.   Searching for "Notepad" will result in only windows usual Notepad, I cannot select Notepad++. Query "Notepad+" will yield the same result - only Notepad showing. Only typing full "Notepad++" yields useful Notepad++.  Is there logic behind the Search I cannot understand and/or can I bypass it and make it search the regular apps too?


if block fails to create temp table in a procedure

I'm attempting to do this in a procedure:  DECLARE @a bit = 1; BEGIN     SELECT * INTO #aTemp FROM OPENROWSET( ... );      IF @a = 0     BEGIN         SELECT ... INTO #bTemp FROM #aTemp;     END     ELSE     BEGIN         SELECT ... INTO #bTemp FROM #aTemp;     END END   I get the error:  Msg 2714, Level 16, State 1, Line 10 There is already an object named '#bTemp' in the database.   Why is this happening and is there a work around?  Update  I've attempted to add a DROP statement as suggested , but it still does not work:  DECLARE @a bit = 1; BEGIN     SELECT * INTO #aTemp FROM OPENROWSET( ... );      IF @a = 0     BEGIN         IF OBJECT_ID('[tempdb]..#bTemp') IS NOT NULL         BEGIN             DROP TABLE #bTemp;         END          SELECT ... INTO #bTemp FROM #aTemp;     END     ELSE     BEGIN         IF OBJECT_ID('[tempdb]..#bTemp') IS NOT NULL         BEGIN             DROP TABLE #bTemp;         END          SELECT ... INTO #bTemp FROM #aTemp;     END END


Please include an 'Add Favourite' option for questions in the Stack Exchange mobile application, which is already available on the stack exchange sites on the web.


I know that one of the advantages of mixed models is that they allow to specify variance-covariance matrix for the data (compound symmetry, autoregressive, unstructured, etc.) However, lmer function in R does not allow for easy specification of this matrix. Does anyone know what structure lmer uses by default and why there is no way to easily specify it?


Why was Professor McGonagall sitting outside the Dursley's house?

Dumbledore gave her the news about the death of the Potters while they were sitting outside the Dursley's house. She had been watching the house all the previous day & into the night. So when she started, they didn't need a safe house for Harry, did they?


"Fast" vs "Quickly" vs "Speedy" vs "Rapidly"

A  has been asked.  However, is it possible to give (general) differences in usage of  fast, quickly, speedy  and rapidly?  And with respect to : Are quick and fast absolutely interchangeable?


How to find questions with very negative votes?

In relation to , where the accepted answer said, "If the question is poor and the user is being very lazy, and/or abusive, or even unnecessarily abrupt, I will downvote based on that....  If the post is really bad, and/or the OP gets negative towards other users in comments, then it can rain down the fires of hell."  That piqued my curiosity -- I haven't seen anything that bad yet.  How would I do a site search or a google search to find questions with very negative numbers?


How to change permission external hard drive in ubuntu 12.04

I want to copy any file to my external hard drive. But always when I tried to do this I have next output:  cp: cannot create regular file /media/NameOfCard/[file]' : Read only file system  I also tried:  sudo chmod -R 775 /media/NameOfCard sudo chmod -R 777 /media/NameOfCard   But the same effect - ... Read only file system  Update:   After mount I have next output:  nazar_art@nazar-desctop:~$ mount /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) /dev/sdb1 on /media/sdb1 type vfat (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/nazar_art/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=nazar_art)   Any suggestions?   How to solve this trouble and let permission to copy and delete files to hard drive?


Why did we evolve to be able to see this specific set of wavelengths only?

It is understandable that life didn't evolve the capability to sense all wavelengths of light, it simply didn't need it. My question is, why did it evolve the set of wavelengths it has, for example, the human visible range is 390-700nm, so why couldn't it be a different set of wavelengths, like, (say) 300-620nm? Is there a reason for it?


Fundamental invariants of the electromagnetic field

It is a standard exercise in relativistic electrodynamics to show that the  $F_{\mu\nu}$, whose components equal the electric  $E^i=cF^{i0}$ and magnetic $B_i=-\frac12\epsilon_{ijk}F^{jk}$ fields in the taken frame of reference, has two Lorentz invariant quantities, $$\frac12F^{\mu\nu}F_{\mu\nu}=\mathbf{B}^2-\mathbf{E}^2$$ and $$\frac14F_{\mu\nu} {}^\ast F^{\mu\nu}=\frac14\epsilon^{\mu\nu\alpha\beta }F_{\mu\nu}F_{\alpha\beta}=\mathbf{B}\cdot\mathbf{E}.$$  There is, however, a further  which states that these two quantities are fundamental, in the sense that any other invariant of this tensor must be a function of these two. While I find this plausible, I have never seen a proof of this fact, and it is absent from e.g. Jackson. Is there a simple proof of this fact? I'm particularly interested in higher-order invariants, but I would also like answers to include a proof that these are the only two bilinears.   To be more precise, I would like to see a proof that     Any function $I:F_{\mu\nu}\mapsto I(F)\in\mathbb{R}$ that takes electromagnetic field tensors to real scalars and which is Lorentz invariant (i.e. $I(\Lambda_{\mu}^\alpha \Lambda_{\nu}^\beta F_{\alpha\beta})= I(F_{\mu\nu})$ for all Lorentz transformations) must be a function $I(F)=I'(F^{\mu\nu}F_{\mu\nu},F_{\mu\nu}\ {}^\ast F^{\mu\nu})$ of the two fundamental invariants described above.   If there are multiple ways to arrive at this result, I would also appreciate comments on how they relate to each other.


Solid mode shows only a narrow band of objects

One of my viewports does not show all objects in solid or wireframe modes. Only parts of objects within a narrow range will show. It's as if the beam of a dark flashlight is determining what shows. (The full objects do show in rendered mode.) What is this effect and how do I turn it off?


Suppose there are two elements $x,y\in \mathfrak{gl}(V)$ for $V$ finite dimensional vector space over an algebraically closed field. If both $x,y$ commute with $z=[x,y]$, then how to show that $z$ is nilpotent?


This is a very silly question since nobody will actually do this because it makes very little sense in the real world but I just want to know how would it actually work if possible.  For example let us take an amount of 2 dollars and 2 cents and multiply that buy 2 dollars and 2 cents. Would the result be 4 dollars and 4 cents? The only way to make sense out of this for me is to treat them as vectors and multiply components.


Let $G$ be a compact Lie group and $\left\langle ,\right\rangle $ be a left invariant metric on $G$; $\omega$ be a positive differential $n$-form on $G$ which is left invariant. Consider the metric $(,)$ on $G$ given by: $$ \left(u,v\right)=\int_{G}\left\langle (dR_{x})_{y}u,(dR_{x})_{y}v\right\rangle _{yx}\omega$$  It's not too hard to show that this is left-invariant but I'm wondering how to show that $\left(,\right)$ is right-invariant?


Split on spaces not inside parentheses in Python

I have a several strings that I want to split by spaces when not inside parentheses.  For example  sentence = "blah (blah2 (blah3))|blah4 blah5"   should produce  ["blah", "(blah2 (blah3))|blah4", "blah5"]   I've tried:  re.split(r"\s+(?=[^()]*(?:\(|$))", sentence)   but it produces:  ['blah', '(blah2', '(blah3))|blah4', 'blah5']


Models not showing up when rendering on blender 2.90 using Cycles or EEVEE. I have restarted my pc, it did not work. result:


QGIS Raster Layer - Black rectangle appears as background

I have looked at solutions to what seem to be somewhat similar problems but they don't seem to solve my problem.  A georeferenced raster layer loads into the correct location in relation to other layers, so CRS is obviously OK, but has this black background which I don't know how to remove.


Proof of irreducibilty of $f(x)=\sum_{i=0}^{p-1}(p-i)x^i$

Let $p$ be an odd prime. Show that $f(x)=\displaystyle\sum_{i=0}^{p-1}(p-i)x^i$ is irreducible.  Clearly modulo reduction doesn't work (Since this is already modulo $p$ reduced). So I've thought about the roots of this polynomial. Note $f(0)=p, f(-1)=\frac{1+p}{2}$, but then I'm stuck. Any hint would be appreciated!


Time required to do pipe output to head/tail

There are lots of txt files in a directory.  If I do time wc -l *.txt | head it takes   real    0m0.032s user    0m0.020s sys     0m0.008s   If I do time wc -l *.txt | tail it takes  real    0m0.156s user    0m0.076s sys     0m0.088s   Does this mean that wc will know beforehand that it is piping to head and will only count for first 10 files and save time? In other words, is it aware of the pipe? And is this somethign special about wc or does it apply to all standard/built-in commands?


I am trying to run a check to see if a string is just white space. I tried using trim like this:  if( dataIn[ i ].trim() == "" )     {         throw new MailRecordException( "Line: " + lineNumber + ", Field: "             + fieldNumber + " :Blank Field" );     }   But it never registers as true. How could I run a check to see if a string is only whitespace?


How do I find all homomorphisms between $S_3 \to \mathbb{Z}_{15}$? I know that since $S_3 \cong \langle x,y: x^3 = y^2 = e;yx = x^2y\rangle$, the homomorphism is dependent on $\phi{(x)}$ and $\phi{(y)}$. $\phi{(x)}$ must have order of $1$ or $3$ and $\mathbb{Z}_{15}$ has elements of both $1$ and $3$. How do I proceed from here?


Is there a way to find users with the largest number of helpful flags?

In each user's profile, number of helpful flags is displayed - so this is a public information. However, I did not find this number in the .  Question: Is there some simple way to find the users who have the biggest number of helpful flags? Possibly also ordered by number of flags and showing the number of flags somewhere?  I know that I could look at the  to see all users who have at least 500 helpful flags. However, if I wanted to find out who is the "leader" in this statistic, I would have to check each user profile individually.  This question is to some extent motivated by curiosity. Still, the numbers of flags by individual users give some insight into which users help with curating and moderating the site. (Similarly as number of reviews and some other tasks - which can be obtained from , as far as I can tell.)  Proposal: If currently there is no way to do this (using website interface or SEDE), let me also add a feature request to include this possibility somewhere.  EDIT: Glorfindel directed me in comments to another question where he provides a script getting the list of top flaggers. So I suppose that only the feature request part of this question now remains.


Is there a tool or an easier way to remove unneeded geometry from objects? Mostly when using a "Displace" modifier, on many places there are flat surfaces where there is extra geometry on the mesh, that you would like them to be removed. At first I thought of the "Decimate" modifier, but is there a way to do it more evenly. By preserving the edge/face flow and such. Is there some feature for something like that in Blender?   From this      To this      Or to this (if I want the geometry to be to the very limits and worrying only about the shape)


Why do residuals in linear regression always sum to zero when an intercept is included?

I'm taking a course on regression models and one of the properties provided for linear regression is that the residuals always sum to zero when an intercept is included.   Can someone provide a good explanation for why this is the case?


What tense should I use to describe something in the past but probably is still true?

The title may be a bit confusing. See the below example:     The movie (was/is) so good.   The simplest guideline on deciding which tense to use, past tense or present tense, to describe an object comes down to whether the description was only true that that time or is true even to the present point of time.  But now we talking about literary work(movies,books,etc) of which quality tend to stay the same over time, which tense should we use?


Showing the current date using JSTL formatDate tag

I am trying to show the current date in my JSP page using JSTL. below is the code I am using.  <jsp:useBean id="now" class="java.util.Date" scope="request" /> <fmt:formatDate value="${now}" pattern="MM.dd.yyyy" />   But the above code is not producing any results? Am I missing anything here or is there any better approach for this? I am using JSTL 1.1.


How to make an arrow with words on top in texstudio

I am new in TeXstudio editor and I want to add an arrow with words above to show a transition  between two states. Something like the picture below.    How can I do that.


SciFi series from the 80s (or 70s?): main character with bionic powers

I recall it being a series of books, each being approximately 200 pages or so.  The main character I recall had 'bionic' powers - or, his skeleton was made out of some indestructible type of metal or something...  If I'm recalling it correctly he had a sidekick named 'wolf' perhaps?  Sorry, that's about all I can remember.  Would LOVE to find this series again!  Edit: After googling 'science fiction metal skeleton' I turn up the 'Last Legionary' series by Douglas Hill.  The name of the series rings a bell, the name of the main character rings a bell (Keill Randor), BUT...  His sidekick is described as a telepathic 'bat' named Glr.  I don't remember this...  I could swear that the sidekick was some type of hairy creature named 'wolf' or 'bear' or 'baer'.... ?


Solving for three unknowns given three linear equations

Have to admit, I forgot how to do simple 9th grade algebra problems. I need to know how to do this stuff for an exam tomorrow.  I am doing recurrences and the only thing I need to do is find $a, b$, and $c$ from the following  $$\begin{align*} a + b + c &= 3\\ 4a + 2b+ c&= 6\\ 9a + 3b + c& = 13 \end{align*}$$  Can someone refresh my memory on how to solve for  $a, b$ and $c$ ?


Alrighty, so I have a program that is supposed to take the first name of the customer, and regardless if the letters in the name are capitalized or lower case, if they are Mike or Diane, it sets the discount to being true and then later on applies the discount. By default discount = false.   Heres getting the name and setting discount to true:  if (firstName == "Mike" || firstName == "Diane")   {      discount = true;   }   And here's later on when I'm trying to apply the discount and lower the cost:  if (discount == true)   {      System.out.println("You are eligible for a $2.00 discount!");      cost = cost - (2.00);   }   However the problem is that when I use Mike or Diane, whether capitalizing or not, it simply does not apply the discount to the price. It compiles and runs, it just doesn't apply the discount.


How to stop Windows 10 from autostarting apps?

Windows 10 has been autostarting calculator, weather, movies & tv, store, xbox, and photos usually after login. It isn't in the task manager autostart list or in the task scheduler. Any help is appreciated.    Some of the processes are outlined. They do not appear in the taskbar below.


Ring where irreducibles are primes which is not an UFD

I am looking for      an example of a ring where unique factorization does not hold. However the ring is supposed to have the property that every irreducible is already a prime.    So unique factorization should fail because one cannot decompose every element into a finite product of irreducibles. In particular the ring must not be Noetherian. What is an example of such a ring?


Automatically enter input in command line

I'm running a script that it requests entering 'y' on each operation, I am looking for a solution like $ ./script < echo 'yyyyyyyyyyyyyy' to pass all my inputs in one time.


The potential of a conservative force is equal to the reversible work done on or by a system. But since the potential of a conservative force is represented by a point function, this would seem to imply that reversible work is a state or point function.  But, in thermodynamics, doesn't the reversible work between two states depend also on the path (as well as the end states)? Confused!!  Thanks for any help!!  Auburn


Hi I just started to inequality  I came across this Q I don't get how to solve show that   $$(a^2-b^2)(c^2-d^2)\le(ac-bd)^2$$ and $$(a^2+b^2)(c^2+d^2)\ge(ac+bd)^2$$ for all a,b,c,d and the sign of equality holds if and only if ad=bc


Inserting Chines/Japanese characters into phpMyAdmin show up weirdly in database

So I've started making a web application and I thought it would be nice to also have a the functionality in it to handle 'special' characters.  So I have looked around to fix this and have tried multiple things to change charset to utf8.  So I have changed my table using ALTER TABLE mytable CONVERT TO CHARACTER SET utf8  This works IF I run the SQL query in the database.  But when I run my query using PHP code, it shows as this:  &#25446;&#12409; &#35011;&#22734;  My PDO connection is like this:  $this->dbopen = new PDO('mysql:host=' . $this->dbhost . ';dbname='. $this->dbname . '', $this->dbuser, $this->dbpass, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8") );    I've also tried:  $this->dbopen = new PDO('mysql:host=' . $this->dbhost . ';dbname='. $this->dbname . ';charset=utf8', $this->dbuser, $this->dbpass);    My query goes as follows:  $this->query = 'INSERT INTO titles (Title, Description, Image, SoundFile) VALUES (' . $this->title . ', ' . $this->description . ', ' . $this->image . ', ' . $this->sound . ')';   Yet it still shows it like: &#25446;&#12409; &#35011;&#22734; &#12378;&#24870;&#12402;&#23973;&#37157; &#12368;&#12356;&#39343;&#12461;&#12515;&#12400;  I have no clue how to change this. Any other suggestions?


How did Dumbledore gain the loyalty of Fawkes?

How did Dumbledore find Fawkes. Did Dumbledore have Fawkes even when working as a Transfiguration teacher or acquired it after having Headmaster position. They both have a very strong bond between them. When did Dumbledore gain this. Update: Dumbledore says that Ollivander wrote to him when Harry's wand was purchased; if Dumbledore did not have Fawkes before 1938, he would not know about the two feathers being in the wands, so Fawkes and Dumbledore must have met and bonded before 1938  “My wand's feather came from Fawkes?” Harry said, amazed. "Yes,” said Dumbledore. “Mr. Ollivander wrote to tell me you had bought the second wand, the moment you left his shop four years ago.” -Harry Potter and the Goblet Of Fire, Chapter 36-The Parting Of the Ways.  Update 2: JKR says that Dumbledore was the only owner of Fawkes. So it is to be believed that Fawkes was a wild Phoenix before its bonding with Dumbledore.  Peter Humphreys for BBC Newsround: Who did Fawkes previously belong to and will he play a vital role in the next book? JK Rowling: I am not going to answer about the role in the next books, which probably gives you a big clue, and he has never been owned by anyone but Dumbledore. You will notice that when Harry goes back in the Pensieve in this book, Fawkes is never there, and  no, I am sorry, not in this book, I take that back. When Harry has previously seen the study with a different headmaster he saw it with Dippet and Fawkes was not there then. Fawkes is Dumbledore's possession, not a Hogwarts possession.


How could we formalize the introduction of new notation?

What I am thinking about is how in a textbook/proof/theorem/discussion/definition one states that from now on a new notation will be used in the appropriate scope.   Example:      Let $V^*$ denote the dual of a vector space $V$   although the above is a widely accepted notation, we could always choose to redefine it (however ill-advised that is)     Let $G$ be a group with group operation $(x,y)\mapsto (x,y)+$   stating that i will be using a post-fix notation.  Also there is a function application notation $(f,x)\mapsto f(x)$, but we may override it, as is done when considering sequences $(a,n)\mapsto a_n$.  $\textbf{Question}$: How can this "introduction of new notation" be formalized?


Need help adding tags [#24] Sakuras, Tumblr theme

The full code for the theme is  and a preview is located . They show on the permalink page but not the theme's front page.  I've tried to theme it using various codes, including one by the theme maker, but with no real success! Not overly picky about how the tags appear, though being at the bottom of the post in some fashion would be preferable.


Proof Verification: $\lim (a^n + b^n)^{\frac 1 n} = b$ for $ 0 \lt a \le b$

Found the following exercise in Bartle's Elements of Real Analysis in the section on combinations of sequences. Am unsure about my solution and would really appreciate it if someone could verify it.     If $ \; 0 \lt a \le b \; $ and $x_n = (a^n + b^n)^{\frac 1 n}, \; $ then $\lim  (x_n) = b$   My Attempt:  $x_n =  (a^n + b^n)^{\frac 1 n} = b\left[\left({\frac a b}\right)^n + 1\right]^{\frac 1 n} $ where $\frac a b \le 1$. Now let us define two more sequences in $\Bbb R, \;\; (y_n)$ and $(z_n)$ such that $y_n = b$ and $\; z_n = \left[\left({\frac a b}\right)^n + 1\right]^{\frac 1 n}$ for all $n \in \Bbb N$. And furthermore, since $\frac a b \le 1, $ let us equate the fraction to $\dfrac {1}{1 + t}$ for some $t \ge 0. $ Then:  $$|z_n - 1| = \left|{  \left[{\left({\dfrac {1}{1 + t}}\right)^n +1}\right]^{\frac 1 n} - 1}\right| =   \left[{\left({\dfrac {1}{1 + t}}\right)^n +1}\right]^{\frac 1 n} - 1 $$  By Bernoulli's Inequality:  $$ |z_n - 1| \le  \left[{\left({\dfrac {1}{1 + nt}}\right) +1}\right]^{\frac 1 n} - 1^{\frac 1 n} \le \dfrac {1}{(1 + nt)^{\frac 1 n}} \lt \dfrac{1}{(nt)^{\frac 1 n}}$$   Given any $\epsilon \gt 0$ there is a natural number $m$ such that $ m \gt \dfrac{1}{t\epsilon^m}$. Then;  $$n \ge m \implies \epsilon \gt \dfrac{1}{(tm)^{\frac 1 m}} \ge \dfrac{1}{(tn)^{\frac 1 n}} \gt |z_n - 1| \implies \lim (z_n) = 1$$  We know that $\lim (y_n) = b$. Therefore $(x_n) = (y_n.z_n)$ converges to $\lim(y_n).\lim(z_n) = b$  Q.E.D.  The following identities have also been used:   $$\left|\sqrt[n]y-\sqrt[n]x\right|\le\sqrt[n]{|y-x|} \;\; \text{for every $x, y \gt 0$} $$ $$n^n \lt (n + 1 )^{n+ 1} \;\; \forall n \in \Bbb N$$


According to this $0!$ Should be not defined, but why it is not?

According to my knowledge factorial means that the number is multiplied by the numbers preceding it up to $1$ . That's it . $5!=5×4×3×2×1=120$  $4!=4×3×2×1=24$  $3!=3×2×1=6$  $n!=n×(n-1)×\cdots \times 2×1$  And similarly  $0!=0×(-1)×(-2)\times\cdots\times1$   But this is not possible as we have crossed 1 before and another 1 is bot possible . So it should be ND. please tell me where I am wrong


Is it possible to give permission to a user via sudo for only a specific Bash script?

I'm an administrator of my Ubuntu 16.04.3.  On this system, there are many users, who are in the list of sudoers. I'm thinking if I can make such a configuration as below:  I'd like to create a Bash script for each user, each user can do nothing but execute this script.  In a word, each user can tell me what they want to do, and I'll put it into a Bash script. When they login, they can do nothing but execute this script.


qgis atlas: represent only polygons that are within the main polygon

In the following image, the polygon without filling and the polygon with the red filling are two different layers. In my atlas I would like that only those red Polygons are represented that are inside the polygons with no filling.     The atlas is iterating over the polygons with no filling.


My Samsung Galaxy Admire phone is saying that an SD card isn't found when the SD card is inside the phone: it shows "Please insert SD Card".  What could be wrong?


My Braixen switched gender when it evolved

So I was just playing Pokemon Y. My Braixen (female) evolved yesterday and I just realized that its gender switched to male. How is that possible? Does Delphox have a 100% male gender ratio or something?   Please note though- I'm actually not exactly sure when it switched- I just noticed it, but I think it was at evolution.   I know that it's not a case of having mistook its gender when I first received my starter- I named it Aurora and even thought that I was lucky to have a girl Fennekin. So... can pokemon switch gender when they evolve? Is there a way to change it back?


Can someone walk me through getting gparted on my computer so that I can install a second hard drive. This is the error I get everytime I write in   $ apt-get install gparted. E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


How to prove $x^2 + y^2 + z^2\geq xy + xz + yz$

Result: Let $𝑥, 𝑦, 𝑧 ∈ ℝ$. Then we have  $𝑥^2 + 𝑦^2 + 𝑧^2 ≥ 𝑥𝑦 + 𝑥𝑧 + 𝑦𝑧$  Need some help proving this, just a few steps with work. Was thinking you start with $x^2+y^2+z^2−xy−xz−yz$ then factor? can anyone show me how to solve this?  $x^2+y^2+z^2≥xy+yz+zx⇔ $  $⇔2(x^2+y^2+z^2)≥2(xy+yz+zx)⇔$  $⇔x^2−2xy+y^2+y^2−2yz+z^2+z^2−2xz+x^2≥0⇔$  $⇔(x−y)^2+(y−z)^2+(z−x)^2≥0$  Should I do anything else? Or is this right?


What is going on in front of and behind a fan?

Why is it that when you drop paper behind a fan, it drops, and is not blown/sucked into the fan, whereas if you drop paper in front of a fan, it is blown away?


Could someone point me in the right direction for this series?

Let $a \in \mathbb{R}$ and the series  $x_1=1;$  $n \in \mathbb{N^*};$ $x_{n+1} = x_n + \sqrt{x_n^2 + 1};$  Calculate: $\lim_{n\to\infty}(\frac{2^n}{x_n})$  Please do not post a proof to this because I only want a hint.


I'd like to use advance mode and programming mode in calculator. but it is not showing mode option button in 16.04 ubuntu. How to enable the calculator mode button.


Is my baby's gender an example of Schrodinger's cat?

At some time in the conception of a child, gender is determined by the X or Y chromosomes given by the male. This is, from my perception, a random selection, like the decaying atom.   Like Schrodinger's cat in a box, I am unable to know the gender of my child until I observe it through an ultrasound. Is my baby both a male and a female until I observe it?


How to enable and create multiple workspaces in ubuntu 15.04

Is there any way to create and access multiple workspaces in Ubuntu 15.04.


Proving multiplicative inverse of modulo $m$ exists when $\gcd(m,x)=1$

I basically don't understand the way the proof is given in my text as well as some references online. They basically do the same thing.   THEOREM: Let $m,x$ be positive integers such that $\gcd(m, x) = 1$. Then $x$ has a multiplicative inverse modulo $m$, and it is unique, $\mod m $.  Now,  this is a sufficient and  necessary condition,  but  let's just look  at the  proof  that it is the sufficient condition which is given in my texts.  Proof: Consider the sequence of m numbers $0,x,2x,...,(m−1)x$. We claim that these are all distinct,$\mod m$. Since there are only $m$ distinct values modulo $m$, it must then be the case that $ax = 1 \mod m$,  for exactly one $a (\mod m)$. This a is the unique multiplicative inverse. To verify the above claim, suppose that $ax = bx \mod m$ for two distinct values $a,b$ in the range $0 ≤ a,b ≤ m−1$. Then we would have $(a−b)x = 0 \mod m$, or equivalently, $(a−b)x = km$ for some integer $k$ (possibly zero or negative). But since $x$ and $m$ are relatively prime, it follows that $a−b$ must be an integer multiple of $m$. This is not possible since $a,b$ are distinct non-negative integers less than $m$.  What I don't see particularly in this proof is the connection betweent the $\gcd$ being one and the existence of the multiplicative  inverse. What I do  see instead is that the proof that the multiplicative inverse is  unique.    What is the connection of  the $\gcd$ being $1$ and  the existence of  the multiplicative  inverse $\mod m$?


If $(x_n)$ is a Cauchy sequence, then it has a subsequence such that $\|x_{n_k} - x_{n_{k-1}}\| < 1/2^k$

If $X$ is a normed linear space and $(x_n)$ is a Cauchy sequence in $X$, then $x_n$ has a subsequence $x_{n_k}$ which satisfies $$\|x_{n_k} - x_{n_{k-1}}\| < \frac 1 {2^k}$$ for every $k > 0$.  Why is this assertion true?


Let $C \subset \mathbb{R}^{m}$ be a convex set. Prove that $\bar{C}$ is also convex   My attempt  Let $x,y \in \bar{C}$, this implies two things:  $x=\lim_{n\rightarrow ∞} x_{n}$ where $(x_{n})_{n \in \mathbb{N}}$ in $C$ and thus $x_{n} \in \bar{C}$  $y=\lim_{n\rightarrow ∞} x_{n}$ where $(y_{n})_{n \in \mathbb{N}}$ in $C$ and thus $y_{n} \in \bar{C}$  We have to prove that for all $t \in [0,1]$, $tx_{n}+(1-t)y_{n} \in C$, and this is $\lim_{n\rightarrow ∞} z_{n}=z$ where $z_{n}=tx_{n}+(1-t)y_{n}$ and $z=tx+(1-t)y$  Let's take $\lim_{n\rightarrow ∞} x_{n}=x$ and $\epsilon=\frac{\epsilon}{2t}$, then we have (by definition of limit), $\exists N_{1}\in \mathbb{N}$ such that $||x_{n}-x||<\frac{\epsilon}{2t}$ for every $n \geq N_{1}$  Then, let's take $\lim_{n\rightarrow ∞} y_{n}=y$ and $\epsilon=\frac{\epsilon}{2(1-t)}$, then we have (by definition of limit), $\exists N_{2}\in \mathbb{N}$ such that $||y_{n}-y||<\frac{\epsilon}{2(1-t)}$ for every $n \geq N_{2}$  Taking $N=max(N_{1},N_{2})$ we have:  $||tx_{n}+(1-t)y_{n}-(tx+(1-t)y)|| \leq ||t(x_{n}-x)+(1-t)(y_{n}-y)|| \leq t||x_{n}-x||+(1-t)||y_{n}-y|| < t\frac{\epsilon}{2t} + (1-t)\frac{\epsilon}{2(1-t)}=\epsilon $. And that is what we wanted.  P.S. I don't know if the epsilon thing is totally right because $t$ may be $0$ o $1$ and in that case epsilon doesn't exit.


From which Consulate should I apply for Schengen Visa?

My itinerary is as described below:  22nd December - Land in Paris ( 9 am)  26th December - Leave from Paris in evening via Bus (5 Days)  27th December - Arrive at Zurich in Morning, Stay till 1st January 3.30pm ( 5.5 days)  1st Jan - Take a flight to Paris from Zurich in afternoon (3.30 pm).  1st Jan - Leave for India from Paris Airport.  Which Embassy should I apply Visa for?


How to turn on laptop with external power button

I want to turn a laptop into a desktop computer by connecting it to a monitor and mouse & keyboard, however, it is very annoying to have to open and close the lid every time i want to turn it on... is there anything i can do to turn it on externally, like a usb power button or extend the existing button outside the computer. Of course, i could remove the creen, but it would be a pitty to remove a perfectly working screen just to gain access to the power button :) haha!  I would ideally like to place it under the screen, closed lid, which would make it even more inconvinient to open and close to turn on...


Understanding relationship with Shared DNA of 1,501 cM across 50 segments

My husband and I recently did AncestryDNA. He came back with a DNA match (shared with his mother) that simply says "close relative". He has no idea who this person is, and his mother claims she's never heard of him. The person in question does not have a tree, and it appears they haven't logged on to Ancestry for more than a year, so I don't hold out hope for an answer to messages. That said, any ideas on possible relationship? I am new to DNA testing and interpretation of its results.


How can I publish my game (*.aab file) on google play?

I select arm64 (64 bit) and x86 and amrv7 and select build app bundle in player setting so but when I want publish so I have an error like : Error This release is not compliant with the Google Play 64-bit requirement The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 2. Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app.  I tried following the steps listed in , but the problem remains. PLease answer me, why no people answer in this web site?


Assigning the same graduated style in PyQgis as the Layer property

I tried to apply the graduated style with color ramp "Blues" in PyQgis and assigned linear interpolation of RGB values with the following code  ranges = [] minval = 1.75 maxval = 6.25 delval = 0.25 minlist = np.arange(minval,maxval,delval)  for i, min in enumerate(minlist):     # print i, min     mylabel = str(min)+'-'+str(min+delval)     r = int((8.0-247)/(len(minlist)-1)*i+247)     g = int((48.0-251)/(len(minlist)-1)*i+251)     b = int((107.0-255)/(len(minlist)-1)*i+255)     mycolor = QColor(r,g,b)     ranges.append((min, min+delval, mylabel, mycolor))   But I realized when it applies the graduated style from Layer Properties, it is not linear change of RGB values or HSV values. If I set 5 classes, RGB values are   1: (8,48,107) 2: (40,121,185) 3: (115,179,216) 4: (200,221,240) 5: (247,251,255)   and if I plot, they are like this,   How can I set the same RGB values like I do from the Layer property? I am guessing that I should have the information of the color ramp but I don't know where to find it.


I'm revising a text containing these two sentences:      a) Students’ sex was coded by using their first names.        b) Students’   birthday was self-reported in the survey.   I'm sure the correct version should have "students' birthdays" because the rule in English is to use the plural for the possessed objects, even if the possessors only have one each.  But if I apply this logic to sentence a) about sex, I get  "students' sexes" ...  which seems ridiculous. Why? They are both potentially plural, yet each student has only one sex, and one birthday.   I wonder if the parameter "sex" has only a superficial resemblance to the parameter "birthday". Have you any ideas? Many thanks.


Attach a pre-exising SQLite database in Android

I have a SQLite database that I already created and it has data in it.  Now I just want to attach the database with existing tables and keys without any changes to the Android application and use it.  Most of the samples about SQLite databases in Android involve creating the database in the application, .  But my database file already exists.  After some searching, I found  about database attachment but it isn't clear and I don't understand where I should put the database file and how to call the attachment query for it.


Are there any free/open source alternatives to Adobe After Effects?

I've been a illustrator and graphic designer for a number of years and now I'm looking to go more into motion graphics and visual effects. Is there anything that is open source/free (not a demo, education version or trial) that is as complex and feature-rich as Adobe After Effects but for Linux? I've tried Cinlerra, kdenlive, openshot and Blender and whilst they are good at video editing (and 3d modelling in Blender's case) they fall short in effects and compositing features.  I've also tried , but the project recently closed and the last update was quite buggy.  Also,  doesn't work and hasn't been updated in many many years, so don't mention it ;-)


How can I mount a removable device as un-ejectable

I have a Micro-SD card which I keep permanently inserted in my MacBook Pro using a nifty Mini-drive. I doubt it should matter, but this is a , running High Sierra (hardware doesn't support upgrading to Mojave, and app store actively prevents it).  Since I use this as my long-term "tepid" storage (not disconnected "cold" storage, but not using space on my more actively used SSDs), I would prefer that it be mounted in a manner where it cannot be ejected from the OS, either through Finder, or  or any other means.  Is there a way of flagging the device, through Disk Utility, fstab or some other manner, to do so? Essentially, for it to behave like a permanent/fixed disk, as opposed to it being removable?


My Car is up for repo my grandfather is a co signer on the car and recently just passed. I heard that the car will be paid off.. Is that true? By the granffather that passed. I was told that because he passed that since it is up for repossession that it will be paid off.


I have read this question:     where Safesphere says in a comment:     Actually, photons themselves don't bend spacetime. Intuitively, this is because photons can't emit gravitons, because, as any massless particles not experiencing time, photons can't decay by emitting anything. The latest theoretical results show that the gravitational field of a photon is not static, but a gravitational wave emanating from the events of the emission and absorption of the photon. Thus the spacetime is bent by the charged particles emitting or absorbing photons, but not by the photons themselves.        where John Rennie says:     as far as I know there has been no experimental evidence that light curves spacetime. We know that if GR is correct it must do, and all the experiments we've done have (so far) confirmed the predictions made by GR, so it seems very likely that light does indeed curve spacetime.   Now this cannot be right. One of them says photons do bend spacetime, since they do have stress-energy, but it is hard to measure it since the energy they carry is little compared to astronomical body's stress-energy. So they do bend spacetime, it is just that it is hard to measure it with our currently available devices.  Now the other one says that photons do not bend spacetime at all. It is only the emitting charge (fermion) that bends spacetime.  Which one is right? Do photons bend spacetime themselves because they do have stress-energy or do they not?


In Drupal 7, I could manually edit the {system} table in the database to disable a stubbon module.  In my Drupal 8 site, this table is gone.  How can I manually disable a module in Drupal 8?


Basically, I am wondering if there is a way to automatically run a function when an element becomes hidden or visible, not on a user click but automatically in another script.  I don't want this to just run one time, because the elements (such as a slider) constantly change from visible to hidden.  Would this be something that jQuery can do with bind? Such as binding the element's visibility to a function (I don't know how to write this)  If you need me to elaborate more on what I'm trying to do, let me know. Thanks  Pseudocode:   $('#element').bind('display:none', function); function(){     //do something when element is display:none }  $('#element').bind('display:block', function2); function2(){     //do opposite of function }


let $p$ be a polynomial. If $p(x)=p(x+1)$ for all real $x$, then prove that $p$ is constant. I can't think of how to prove this. It seems almost trivial, I must be missing something. Any help would be appreciated.


How to calculate this approximation with no errors

I have a problem when I want to calculate the following:  Let's say that I have an online class for only 5 students. The class costs **6000 NOK per student.** I want to withdraw money every 5 seconds. If we calculate the cost for 5 seconds, we need to calculate the cost for one second which would be:  6000 NOK/3600 = 1.666666666666667 and let's approximate the result to 1.67 NOK per second.   So every 5 seconds I have to withdraw:  5x1.67 = 8.35 NOK  Let's say that the class lasted for 1 hour. That means 3600/5 = 720 times I have to charge the students. I end up charging every student with this amount  720x8.35 = 6012 NOK  So my question is that there is a difference between the initial cost of the class which is 6000 NOK, but in the end, I charged 6012 NOK from each student. How do I solve this issue when I write this in code?   Thanks in advance.


I just got a new computer today, its an inspiron 3542, which runs on windows 8.1 and a 64-bit OS. After which i download texstudio to edit some documents, everything works fine until i try to build and compile. When i press compile / build & view nothing updates at all, the document remains the same. But i do notice that on the bottom right there is a message that reads:  Failed to find "C:\Users\ -----\AppData\Local\Temp\texstudio_Zy5708.pdf"; perhaps it has been deleted  I had the same problem on another computer after i downloaded it, which also had a 64 bit OS and ran on windows 8.1  I am pretty new to this latex thing, therefore im not exactly the greatest at understanding it in complex terms. So please try to answer in a way that is understandable if at all possible.   Thank you in advance


Get the numbers from (0-30) by using the number $2$ four times


How do I display inline image in a post on Stack Exchange / Stack Overflow (not a link to a photo)?

How do I display an image inline in a post or answer on Stack Exchange?  I've noticed other answers on similar questions show how to link to pictures, but don't show how to display a picture in a post.  I've answered the question below to help the community.  Note to community: I'm asking this (duplicate) question to provide the answer because the other (duplicate) questions like this didn't let me provide a more detailed answer since they were closed as duplicates, and the existing answers on all the existing questions like this didn't contain enough detail for me to figure out how to post inline pictures, although they were good hints to get started. My answer below is verbose and explains how to anyone.  Example of successful inline image:


Let $f$ be an infinitely differentiable function on an interval $I$. If $a \in I$ and there are positive constants $C$, $R$ such that for every $x$ in a neighborhood of $a$ and every $k$ it holds that  $|f^{(k)}(x)| \leq C  \frac{k!}{R^k}$  then prove that the Taylor series of $f$ about $a$ converges to $f(x)$.   I think a good approach would be to estimate the error term. I'm not sure how to proceed exactly though. Thoughts?


How can install MariaDb on ubuntu 14.04 , i have searched in Ubuntu Software Center but its not there. Then checked MariaDB official website but its clearly mentioned there are some issues in .deb file for ubuntu.  Can I download the .rpm file which is for redhat and then onvert it into .deb by using Alien command.  Would it be fine?   As mentioned  . Ubuntu 14.04 LTS continues to provide official support for MySQL 5.5. Three other community supported alternatives of MySQL are also included:  MariaDB 5.5 - a drop in replacement for MySQL 5.5.


Title of a 1 or at most 2 page short SF-story about aliens coming to our solar system and bringing the cure

The story is basically a very positive tale of aliens on the way to our solar system to meet us and promising the solution to some big problems of us humans like the cure for cancer, cheap, clean energy etc.. The twist at the very end is they also are very happy to be able to offer the cure for  the caucasians amongst us. Made me laugh and think at the time and would love to be able to put a title/ Author to this, so i could properly attribute it and share it in it's original.  If anyone knows this, many thanks in advance!  Editted right after posting :  Wow great site people, found it already in an already answered linked post! I was thinking of Reunion by Arthur C. Clarke :  We have a simple remedy for the offensive yet harmless genetic plague that afflicted so many of the colonists. […]  People of Earth, you can rejoin the society of the universe without shame, without embarrassment.  If any of you are still white, we can cure you.  :)


sources.list broken -- missing universe, multiverse etc.. in 18.04.1 server?

So I just fresh installed 18.04.1 server from this ISO: ubuntu-18.04.1-live-server-amd64.iso  This is how my /etc/apt/sources.list looks:  svy@emerg-reg-srv:~$ cat /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu bionic main deb http://archive.ubuntu.com/ubuntu bionic-security main deb http://archive.ubuntu.com/ubuntu bionic-updates main svy@emerg-reg-srv:~$    It's missing universe and multiverse, all src ones. I can't even install mc. So what's going on here? Did something break during installation?


I am trying to prove that $\{0,1\}^\mathbb{N}$ is homeomorphic to the cantor set. Consider the mapping $f:\{0,1\}^\mathbb{N}\to[0,1]$ defined as$$f(x)=2\sum_{n=0}^\infty 3^{-n-1}x(n)$$ I think that $f$ being continuous and injective would be enough. how does one show it is injective?


I am basically trying to make an intro for my youtube channel. I am sort of familiar with the program because I was playing around with it for a long time, getting the basics of it. With the help of youtube videos I am basically done with my project. I put my name in it and everything. I just need to know how to save the animation onto my desktop as a file that I could open and would be in a video format.


Will the color change in the upper bar be available tomorrow and beyond?

It's the unicorn attack!  I bought the bar color change with my hard-earned Unicoins.  Even if the change is barely noticeable, I think it would be great to be able to change it, maybe even have more options.  So, I was wondering if this change will be available from now on, or if it's just for today...


Cannot update and terminal says sources could not be read

$ sudo apt-get update E: Type ' < !DOCTYPE' is not known on line 1 in source list /etc/apt/sources.list.d/medibuntu.list E: The list of sources could not be read.


What is the easiest way to find and replace text in 20 text files in a directory?

I have 20 text files with various extensions in a directory.  I want to replace "nnn" with "ooo" in all files.  I could import them into a project in Eclipse or Visual Studio to replace them all but that is overkill and would add other meta files etc.  What is a simple way to do this, I'm thinking: select all files, right click, choose some tool called (e.g. "QuickReplacer") and fill in find and replace, click and done.  Does anyone know of a tool like this?


Ex-dividend date: How long do I have to hold a stock in order to get the next dividend?

I want to be a stockholder on record for a dividend. So lets assume I bought stock before the ex dividend date. Can I immediately sell the stock after the ex-dividend date to collect the dividend, or do I need to hold for a few weeks to collect the dividend?  Lets say the ex-dividend date is the 15th of the month. I buy stock on the 14th (I think this is soon enough to be a shareholder on record) and then I sell on the 15th. Do I get the dividend in my account when it is distributed?  Don't worry – I have a proprietary way of hedging the stock's post-dividend price adjustment, and it costs less than the actual dividend so all is well.  I just don't know what the shortest time I can hold a position is. I'd like to know the shortest theoretical time possible in order to get the dividend.  Insight appreciated.


How do I set brightness to a lower level in Lubuntu 12 (HP laptop)?

I tried everything I found online, but none of the methods I found worked. The buttons don't work, and there's no such thing as Brightness in Monitor Settings. I tried   xbacklight -set   but it didn't do anything. (Theoretically it should have worked, I have everything installed and it actually ran, but no effect was shown.) I also tried   xrandr --output VG1 --brightness   but it had some error.  My eyes are pleading for help :3


Can we have a feature to allow commenting on Data Explorer queries?

I love  but sometimes, I want to collaborate with the query creator - perhaps suggesting why their query isn't working as expected or asking something about the query. I don't know if comments is the appropriate form for this - perhaps a meta.data.stackexchange.com works instead or some other system, but I feel that something is lacking in this general area. For example,  has a comment suggesting the data dump is broken - actually, I believe it's anonymized as it should be. However, I can't comment to clarify that.


Why is absolute zero considered to be asymptotical? Wouldn't regions such as massive gaps between galaxy clusters have temperatures of absolute zero?

Why is absolute zero considered to be ? Wouldn't regions such as massive gaps between galaxy clusters have temperatures of absolute zero?  I just do not see why our model must work the way that it does. I mean there have to be regions with no thermal energy out there, the universe is massive.


Bid-Ask at market open, which comes first?

I am trying to get a grasp on how the bid-ask match maker works, in particular for options as there is less volume and fewer market orders.  Lets say I own an option, and place a limit sell order for $10.00 overnight.  Now, overnight something happens which causes the stock to pop, and for whatever reason other traders don't see my sell order for $10.00 and place bids at $20.00 pre-market open.  Now at market open for an instant there is a bid-ask spread of $20 - $10.  My question is, which takes priority?  Is it based on the time the order was placed, even when the market is closed?


I'm working on a projects which involves a lot of database writes, I'd say (70% inserts and 30% reads).  This ratio would also include updates which I consider to be one read and one write.  The reads can be dirty (e.g. I don't need 100% accurate information at the time of read). The task in question will be doing over 1 million database transactions an hour.    I've read a bunch of stuff on the web about the differences between MyISAM and InnoDB, and MyISAM seems like the obvious choice to me for the particular database/tables that I'll be using for this task.  From what I seem to be reading, InnoDB is good if transactions are needed since row level locking is supported.  Does anybody have any experience with this type of load (or higher)?  Is MyISAM the way to go?


I'm having a bit of trouble with section numbering. When I use \section{} it starts at 0.1 rather than 1.0.   Here's my preamble:   \documentclass[12pt]{report} \usepackage{hyperref} \usepackage[landscape]{geometry} \usepackage{wallpaper} \usepackage{fullpage}   Any thoughts?


Can I still play Starcraft 1 on Battle.Net?

Can I still play Starcraft 1 multiplayer on Battle.Net?


Intersecting overlapping polylines using ArcGIS for Desktop?

I have 4 multipart polyline shapefiles (download a sample dataset ).   The geometries are identical, except for the length of segments in each shapefile. They represent 4 variables describing an identical shoreline. From these 4 overlapping polylines, I would like to create a resulting polyline that has segments for each unique set of the 4 input lines.    My approach was to use an intersect. This, however, breaks down when I try to run it on 4 huge feature classes.  My question is whether there is a more efficient way to combine polyline attributes stored in separate layers. I thought a union would be good, but it only works on polygons. Spatial Join seems inefficient, as I would end up with many to many joins for a single segment. Turning the segment end points into a point layer, then splitting the line at those points?  I have access to arcpy, PostGIS, and shapely.  Has anyone had experience doing this before on large datasets? Is there a more efficient way to store these variables?


How can I take a return value which is a char, and check if the char is contained within a String?  I've been told that I should be able to work with the char as is, w/o converting to String. SO I have something like:  String answer = "JAVA IS THE BEST"; char guess = getUserInput(); //Returns a char if (answer.contains(Character.toString(guess))){     //DO SOMETHING }   I was told this is "incorrect" and should be able to work with the char return value as is?!  Thanks


One thing that's always confused me during Star Wars was the fact that NO ONE freed or even did anything to help Shmi. I mean, this is the mother of the Chosen One. Why didn't the Jedi do anything? I know that they aren't supposed to interact with their original family but they couldn't have at least sent some credits or at least have done something. For that matter, why didn't one of Anakin's AMAZING connections/friends do anything either. One of his mentors was the Chancellor of the Galactic Republic. Padme, the Queen of Naboo saw for herself the pitiful condition of her friend's former life. I don't understand. Why didn't anyone do anything?


Impressing a spiral on the surface of a cone

I'm attempting to model a hybrid French-Turkish drop spindle and have most of it modeled out from a sketch and prototyping a simple Turkish style model first. The only difference I'm aiming for is a spiral impressed shaft top for the French addition.  Example of a French spindle top, this is my goal.  Example of the Turkish shaft and the cone base I'm using to create the French shaft. I've tried using a boolean modifier to create the spiral using spiral bases I've found on Thingiverse (allowing for the CCs to do so of course), but this hasn't worked and frankly I don't like relying on someone else's work to accomplish my own, I'd rather have an understanding of how something is achieved. I'm very new to 3d modeling and I suspect this problem may have a simple solution, but I lack the technical vocabulary to find what I need just searching online. If anyone can help me understand what functions would be useful in this case from a modeling perspective it would be deeply appreciated!


Is there a way to reply to chat messages from the mobile chat site? I have only been able to manually @ ping people, but that doesn't link conversations together.


I've used the following rule to redirect a non-www domain to www domain (). RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]  In this case the domain is redirecting to the www domain. This is due to full URL inclusion in the rule. But is there a way to rewrite the domain to www instead of redirecting? I've tried some methods and doesn't worked. Someone experienced the same issue?


How do I to add a chapter-name to this dedication and to add it to TOC, please?  \newenvironment{dedication}   {\clearpage           % we want a new page    \thispagestyle{empty}% no header and footer    \vspace*{\stretch{1}}% some space at the top     \slshape             % the text is in italics    \raggedleft          % flush to the right margin   }   {\par % end the paragraph    \vspace{\stretch{3}} % space at bottom is three times that at the top    \clearpage           % finish off the page   } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{dedication} ABC \\ DEF \end{dedication}   I'm using report class. Thanks a lot!


As per the image, Safari has been showing the roll-over popups all the time on all Stack Exchange sites. I've tried disabling all ad blockers but to no avail. I'm on MacOS 11.2.3, using Safari 14.0.3. Edit: A stopgap solution was to add .s-popover.s-popover__tooltip to the CSS Hide Elements list in 1Blocker. The downside is that this completely removes the tooltips so that they can't be seen even when hovering over the buttons.


How can I monitor a directory for copy & pasting files?

How can I create a script for monitoring file transferring  including the source location and the destination location ? ( example : Test.file from /home/Desktop to /home/Documents ) .


Now that Lightning is here, what's the future of Visualforce? (in short - Visualforce vs Lightning)

As a developer, just curious to know what's the future of Visualforce (pages, components, email templates, etc..) ??  I believe for sure there will be backward compatibility so that the existing ones will still run.  But what's gonna happen next (say after couple of releases when lightning becomes GA & goes mainstream). ??    will Salesforce stop customers from using VF for new development ? will VF & L work together (like embed one in another or call one from another) is it possible to migrate / upgrade existing VF to L without rewriting ?   Just a few questions i can think of now.. but in general if any of you know more details on these, please share with us..  Thanks


I need help with an exercise, probably I think too difficult, so it would be nice to have just a beginning: $A\in GL_n(\mathbb{R})$, with $A*B=B*A$ for all $B\in GL_n(\mathbb{R}) $. Show that there exists a $r\in \mathbb{R}$ without $0$ with $A=r*E_n$ where $E_n$ is the $n \times n$ unit matrix. It is obvious that this statement is true but probably I'm too dumb to show it correctly, so it would be great to have a beginning. Thank you very much, have a nice day and stay healthy!


Live refresh shows "modified" on tagged questions even when unmodified

I commonly review , sorted by newest, and just now it showed "1 question with new activity":        So as always, I clicked on that bar to show it.  showed here as "modified".         But yet, when I opened it up, it didn't show that it was modified.  It's my understanding that if you modify your question within the first minute or so, it doesn't show as a modification. The OP did in fact quickly edit their question right after asking it, after I asked them.  Shouldn't this say "asked" for instead of "modified"?  After refreshing, it shows "asked". But when I clicked on the message to show new activity, it showed "modified".


Is there a way to specify where the Transparent BDSF takes effect on the desired object?

Lets say I have a flat 2D circle (bezier that's been filled). The node setup is simply a transparent BDSF + Diffuse BDSF going into a mix shader.  Is there a way that you can use nodes to make it so only a desired part of the circle appears transparent like in the image?    I don't necessarily want this exact pattern, I just made some random shape for the example,


Connect Talend to Salesforce using OAuth JWT Flow in Talend v6.2

I followed the steps exactly mentioned here  for connecting Talend v6.2 to salesforce.  The documentation states that we need to add 'Token File': the path to the token file that stores the refresh token used to get the access token without authorization.  But I am not getting how to generate Token File. Please help.


I recently upgraded my computer from 32 bit ubuntu 14 to 64 bit ubuntu 16. My computer takes much longer to boot now. When I boot I see the dell logo and loading screen for 5 seconds and then I get a black screen for 50 seconds. After that I get a screen that shows a lot of [ OK ] 's and other text. This shows for about 30 seconds and then it shows my lockscreen. I am not satisfied with my 1:30 boot time and am wondering if there is a fix. I am on a Dell Inspiron 1525 and want to know if there is a way that I can speed up the boot. After running systemd-analyze blame | head -n 10 I got these results      16.294s dev-sda1.device     15.127s NetworkManager-wait-online.service     11.512s irqbalance.service     11.447s grub-common.service     11.398s ondemand.service     11.387s speech-dispatcher.service     10.328s apport.service     10.192s lightdm.service      9.473s systemd-udevd.service


Apparently the new top bar rollout had some negative effects on the top bar of the network site . It looks completely unstyled:     Since I see this on different browsers and machines, I assume it's a server-side issue.


This is in refernce to testing if a given number is prime by square root method. Qs:  I understand the logic behind taking square root ( based on factor pair) but why do we consider only the prime numbers below the sq. root to test the divisibility and not all the numbers? 2). Also as any number with a square  root will have that sq. root as a factor, so why cant that be considered as another factor apart from (1 and itself) ( I guess may b we consider only integers ?)


Question on 3DS power adapters, minor voltage difference

I am going to be traveling overseas and bringing my Nintendo 3DS which the adapter outputs DC 4.6V 900mA.  I found an unofficial USB cable to charge it and I was curious if the minor variance in the voltage would cause any issue. Say if I use an iPad 5.2V charger or the iPhone 5V one, being I have them and they support 240V input.  Thank you!


Is the Trump travel ban only limited to citizens/nationals of the seven countries or even to people born in those countries? I was born in Libya, relocated to India when I was 4. We now live in HKG, but hold an Indian Passport. Am planning to visit family in the first week of March on a visitor visa issued 8 years ago. This is my first trip to the US. Am I likely to encounter trouble at the immigration desk?


I need to change the text to the mouse hover over the buttons i try this code but doesn't work.  <script type="text/javascript">   jQuery(function($){     $(".cat-item-13").hover(function () {      $('#text-digital-solution p').hide().html("<?php echo term_description('13','casestudies_category'); ?>").fadeIn('fast');      });  }); </script>   this is error: Uncaught SyntaxError: Unexpected token ILLEGAL


Is it safe to connect battery in series with wall adapter?

Is it safe to connect a battery in series to wall via adapter?  I have an AC adapter which gives me 10 vDC from the wall (220 volts). I've measured the adapter and it outputs 10 vDC. I have a 3 volt battery. I would like to connect in series to get 13 vDC.   Is this possible? Is this safe? If not, what can go wrong?