Is the sum of two variables independent of a third variable, if they are so on their own?

Given 3 random variables $X_1$, $X_2$ and $Y$. $Y$ and $X_1$ are independent. $Y$ and $X_2$ are independent. Intuitively I would assume that $Y$ and $X_1+X_2$ are independent. Is this the case, and how can I prove it formally?


Hartshorne, Prop II.5.2(d,e): direct and inverse images of sheaves associated to modules

Hartshorne, Algebraic Geometry, Proposition II.5.2, reads (in part):     Let $A$ be a ring and let $X = \operatorname{Spec} A$.  Also let $A \to B$ be a ring homomorphism and $f : \operatorname{Spec} B \to \operatorname{Spec} A$ be the corresponding map of spectra.  Then:      [...]      (d) for any $B$-module $N$ we have $f_\ast(\widetilde{N}) \cong \widetilde{_{A}N}$, where $_A N$ means $N$ considered as an $A$-module;      (e) for any $A$-module $M$ we have $f^\ast(\widetilde{M}) \cong \widetilde{M \otimes_A B}$.   The corresponding proof in the text reads:     The last statements... follow directly from the definitions.   I don't get it.  For instance,  $$(f_\ast\widetilde{N})(U) = \left\{s : f^{-1}(U) \to \bigsqcup_{f(\mathfrak{p}) \in U} N_\mathfrak{p} \; \middle\vert \; s(\mathfrak{p}) \in N_\mathfrak{p}, s = \frac{n}{b} \text{ locally}\right\}$$  while  $$\widetilde{_{A}N}(U) = \left\{t : U \to \bigsqcup_{\mathfrak{q} \in U} ({}_AN)_\mathfrak{q} \; \middle\vert \; s(\mathfrak{q}) \in ({}_AN)_\mathfrak{q}, s = \frac{n}{a} \text{ locally}\right\}$$  I can't see the connection.    What am I missing?


Graph of a continuous function has measure zero

I need help to solve the following problem:  Let $f: \mathbb{R}^n \rightarrow \mathbb{R}$ be a continuous function. Prove that the graph $G(f)=\{(x,f(x)):x\in\mathbb{R}^n\}$ has measure zero in $\mathbb{R}^{n+1}$.  I suppose that I have to use that f es uniformly continuous, but I don't know what rectangle which sum of volumes is less than $\varepsilon > 0$ should I take.


How do you get these arrows in math mode? Is there a standard command or package?


I have some html  and want to scrape some data from it.  The HTML is structured in the following way
Text

       label	       data

       label	       data

       label	       data

Text

       label	       data

       label	       data

       label	       data

Text
   I need to be able to scrape the Text value located in the span where class="someOtherClass" (I've already implemented this portion)  I then need to be able to scrape the table directly below the div. Since the "parent" div doesn't actually contain the table, I'm having some issues implementing this.


I'm trying to write the binary number of 16-bit signed integer to a file. I searched a lot and ofcourse I found many examples which converts integer variables to binary. But in my case these functions will not be efficient, because I need to convert 50e6 samples/s. Calling a function to convert each sample will need a lot of computing time.  So what I want to do is:  int array[] = {233, 431, 1024, ...} for (i = 0; i < sizeof(array); i++){     fprintf(outfile, "%any_binary_format \n", array[i]); }   result in the file should be:  0000000011101001 0000000110101111 0000010000000000


Description list with right alignment of labels

I want a description list that looks like the following:            Name | Joel Spolsky        Address | Some address                  Some zipcode      Telephone | +31 123 456         E-Mail | email@domain.org Something more | Bashing latex in-       elaborate | to submission        How would I accomplish this? I've tried using the enumitem package but it doesn't want to align the labels (not the items) to the right as in the above example. When using the multiline style option items either overlap or bump into eachother.  I'm trying to create something like this:    \usepackage{enumitem} \setdescription{style=multiline,topsep=10pt,leftmargin=5cm,font=\normalfont}  \section{Experience} \begin{description}   \item[Data] 2011 - heden (20 weken)    \item[Beroep of functie] Software Developer   \item[Voornaamste werkzaamheden en verantwoordelijkheden] Software ontwikkeling    \item[Naam en adres van de werkgever] Multicast Automatisering B.V.    \item[Soort onderneming of sector] Informatie Communicatie Technologie (ICT) \end{description}


I didn't read books, but I have seen movies with Harry Potter.  I understand that he is the main character. What I don't understand is that everyone treats him as someone very important. For example, his professors are talking to him like to someone equal to them (equal status and knowledge).  There are so many kids in the university. Why everyone talks to him as some kind of super-genius?    I can't point to exact scene, since I am not that big fan. But this pattern repeats through the movies. Ok, I just remembered the scene where the white beard wizard in Halfblood prince, takes Harry to that dangerous place, to drink watter and get that watch. Why didn't he take someone else, a colleague professor, or someone powerful?


This was an exercise in an old exam in probability theory without a solution. We are flipping a coin repeatedly. The probability of tail is $p$ < $\frac{1}{2}$. Let $A_{k}$ for $k \geq 2$ be the Event that under the throws from $2^{k},2^{k}+1,...,2^{k+1}-1$ at least $k$-times in a row tails occurs. It is to Show that  $$ \mathbb{P}(A_{k}~~ \text{infinitely often}) = 0. $$  There is also the hint to consider $A_{k} = \bigcup_{j=2^{k}}^{2^{k+1}-k}\{X_{j}=1,...,X_{j+k-1}=1\}$ and to estimate $\mathbb{P}(A_{k})$. Here $X_{i}$ is the outcome of the $i$-th coin flipping, where $X_{i} = 1$ if the $i$-th coin flippin gis tail.  First I think Borell-Cantelli would help me here. But the hint confuses me a bit


Shouldn’t the work done be zero in this case?

In an online test the following question was asked:  The motion of a mass is described by $s=2t$ where $s$ is displacement and the force on it by $F=e^t$. What is the work done by it? Their answer was the usual integration of force with displacement by the substitution of $ds=2dt$.  But $s=2t$ describes the motion of a particle with a constant velocity which means no acceleration and so no work. So shouldn't the work done be zero?


Read text file using java , eclipse kepler

I am novice in Java and I am currently working in Eclipse Kepler. I have a JSP page from where I am reading a text file which is continuously being written using a shell script.                  <b>                     <%                         String filePath = "/home/default/test.txt";                         BufferedReader reader = new BufferedReader(new FileReader(filePath));                         StringBuilder sb = new StringBuilder();                         String line;                          while((line = reader.readLine()) != "Success"){                             sb.append(line+"\n");                             out.println(sb.toString());                         }                                            %>                 </b>   I need the logic to keep reading the log until it reads the final "Success" string and until it doesn't, it should not print any blank rows.  How to solve it?


Is there an alternative to the `which` command?

If the which command is not available, is there another 'standard' method to find out where a command's executable can be found?  If there is no other 'standard' method available, the actual system I face currently is a bare Android emulator with an ash , if that means anything.


Configuration and compilation settings used for Ubuntu packages

I want to be able to recreate specific packages by compiling the source code of the package. To compile the source code one has to run the configuration process, followed by the compilation process. I know how to do it, just not what specifics Ubuntu is supplying.  Packages could be Empathy, Banshee or specific libraries for that matter. I can compile them just fine using the (general) information provided at each project site. In a lot of cases I do, however, end up with a build which is just not quite the same as the original one. Slightly different menu options, some functionality functioning differently or not at all, etc.  Is there any source where the configuration and compilation options can be found which are used for the packages included in Ubuntu? Possible also Ubuntu or Debian specific patches.


I have the amulet of Mara but when I go to talk to maramal about a wedding nothing shows up. WHY is that.


This must be a simple question for a native speaker.  I know that we use "on" with dates: I'll see you on January 1st.  And we use "at" with times: I'll see you at 17:30.  But what preposition has to be used when we speak for date and time:  I'll see you on January 1st at 17:30. looks ok.  But what in this case: It happened on 2014-01-01 17:30.  Is "on" correct when we are specifying the date and the time?   The date-time comes as a ready text as 2014-01-01 17:30 and I cannot modify it. I can only put text before the date-time string or after it.


Explanation for different Noise Signatures on Series Terminated Clock Line

In the picture below (taken from ), it is explained what the clock signal would look like depending upon the value of Driver and Series Resistance value compared to the transmission line impedance.   The video explains what the clock would look in each of the cases. I am trying to understand WHY?  Clearly, I am learning Transmission lines so any pointers or help would be helpful.


What movie features a hovering spherical robot that kills a man with a propeller blade?

One of the most memorable scenes is where one of the characters is killed by a hovering spherical robot about 1-2 ft in diameter (looks a little bit like the pokémon fortress). The robot sticks out a little propeller blade about 4 inches wide and saws through the guy’s clipboard (which for some reason he chooses to protect himself with) and into his abdomen. The guy who is in charge of the robot says something like "Why did you do that? He was a good man" to the robot, which I think must've had a mind of its own as it didn't seem to care.    Another thing I remember in the film is these people sitting at control panels and they wear long dark brown robes, and wear large reflective helmets so you can't see their faces.  I'm sorry there isn't a lot of detail here, but I remember seeing this movie when I was really young and it terrified me. I'd love to know what it is, so any suggestions would be much appreciated. Thanks!


Can you grammatically end a sentence with "with"?

Do you want to come with? Can I come with?  I seem to hear this construction more often in recent years, but it still grates on my ear. I know it's often said that one shouldn't , but I class that rule along with  (i.e. — pedantic tosh). Is it always informal/casual speech to end a sentence with "with"? Was it ever thus?


app store wont let me download free apps

when I try to download a free app it asks for my credit card info, and I don't have one and I say none but it just restarts and wont let me pick none.


i am trying to texbox over to button but my case first line texbox then next line in button  html:-
                                 <input type="text" id="surName" /><button id="add" class="hidden">Add</button>                                 Surname
   css:-  .custom-input #surnamediv #add{         vertical-align:middle;     }


What is a practical function of the third derivative? For example, the function $y=x^3+x^2+x+1$ has a third derivative of $d^3y/dx^3=6$. What is the practical application of this? I know that the first derivative of a function $f(x)$ is how the function is changing. Given that $f'(x) = g(x)$, I know the change in $g(x)$ is equal to $f''(x)$. That is the change of the change.  Does $f'''(x)$ have any practical application that is not miniscule?


I think this guy is trying to scam me please help

A guy contacted me regarding a business that I have. He never told me what he did for a living. I have never met him but he told me his wife died and he wants to support a young woman like me and help with all my bills. He gave me his bank account and routing number and full name, which I used to pay some utility, phone, and credit card bills and they all went through. I read a similar story and now I’m thinking it’s suspect because I’m not sure where his money comes from.  I’m so stupid for using the information to pay my bills because i now realized it could be dirty money! He wants me to use my credit card to go buy “gift cards for his clients” because it’s good for his business. Please someone help me, what do I do? The payments already went though on my credit cards but I want to return it all. I don’t want to go to jail please help.  The thing is he made me trust him, he acts like he cares about me and wants to take care of me. I just thought he wanted “someone to be there for him” but I don’t know what he wants or what he’s doing. How do I return the money? Please help!


I have many style files (and one or two class files) that I've written in my local texmf tree.  Most were simple things that got me out of some trouble and which I put in to a style file in case I needed them again.  One or two are quite complicated (probably unnecessarily).  My thinking is that I should add some documentation to these files.  Mainly for myself: although my reasoning for defining stuff the way I did was perfectly clear when I did it, it may not be so clear next year when I try to use it again (or, worse, try to modify it again).  Also for others since I do sometimes share these files, either with collaborators or with anyone who says, "Hey, that's neat!  How did you do that?".  But definitely not for uploading to CTAN.  So I'd like to add some basic documentation to these files.  As it is just for myself, I don't feel that I want to do too much, so what I'd like is a system that is as close to the following parameters as possible:   It should be "in file": I want to be able to add the documentation for a command right where the command is defined. The format should be readable when not compiled: this is a corollary of the above, since if I want to be able to read it there and then, I don't want to have to compile it first. But it should be compilable so that I can send it to someone else if I want to and they don't have to wade through the style/class file to find the documentation. However, the compiled form doesn't have to be all that pretty.   Is there such a system?  Searching for 'documentation' on CTAN is like searching for snow in Norway - there's plenty of it but, to an outsider, it's hard to figure out what is the right type of snow.  If there isn't a system that does what I describe, I'd be happy to hear of others' experiences in trying to do this (I'd be happy to hear them anyway, in fact).


Example with a context ():     However, the very fact that the West and those Russians in the know were alarmed, and that even the Kremlin apparatus seemed clumsy and unsure of what to do, stress the degree to which if anything happens to Putin the regime will be in trouble — and we do not know what would follow.   What is the subject of this sentence? To me, it looks like the very fact should be the subject. Thus, we need a singular verb to go along with it. But, as you can see, that's not the case at all. The verb is stress and it is a plural verb. On the other hand, that entire monstrosity in bold might very well be the subject, although, to me, that doesn't really sound like it can be one—it'd grammatically inconsistent to think of it as the subject. Hmm, am I missing something here? What do you think is going on?


$\\$   A normal subgroup $N$ is a subgroup where the left cosets are the same as the right cosets. $N$ is normal $\iff $ $xnx^{-1} \in N,  \forall x\in G$.   5.) Why is it that if $[G:H]=2 \implies $ $H$ is normal subgroup?  6.) Can we say that a factor group is just a group that has left cosets of $N$ (being a normal subgroup) as its elements? So if $N$ is a normal subgroup, then the left cosets of $N$ forms a group under coset multiplication given by $aNbN = abN$.   7.) The group of left cosets of $N$ in $G$ is called the factor group, why do we denote this by $G/N$? These are the same things as the integers modulo $n$ groups? How can I relate those exactly?


I updated the iPad and the music app updated to different layout. Can I return to previous update? It is for my mother and she can't see. She could play music and now with the upgrade she can't use it. Just need to know if it is possible to go back to previous upgrade or even a few upgrades previous.


Short story about jet fighter pilot who travels back in time to WW1, fights against the Germans?

Story Details/Summary  The protagonist is either an American or British combat pilot.  He's currently flying to a base in Europe, but when he touches down on a rather primitive landing strip, he discovers that somehow, he and his jet aircraft have been hurled back to the time of the Great War.   There is the usual confusion and "how did THIS happen?!?" on the part of the protagonist, but he gradually accepts that he has landed on an allied airbase smack in the middle of the war.  The protagonist's contact in the story is a British, or perhaps French, officer who acts as his go between throughout much of the story.  Once acclimated to the reality of his surroundings, the pilot is eager to join the fight against the Central Powers.  Specifically, he is willing to take the fight to a German squadron of biplanes that have been pummeling this particular airbase and thwarting attempts to advance friendly ground forces against the enemy.  Naturally, the pilot believes the huge technological advantage of his modern fighter jet will allow him to smash the German air forces easily.  I do not recall the particular model of the jet the pilot flies.  It might have been a real-world design, or a fictional one.  I do recall that the plane's design is very much in keeping with American fighters and strike aircraft of the early 60's.  That is, big, powerful and fast, with sophisticated equipment and armed with missiles.  The plane does not have guns of any sort, nor is it particularly maneuverable (in keeping with the "dogfighting is a dead art" doctrine of that era).  It's also a thirsty beast, and the protagonist asks the other officer to requisition several thousand liters of refined kerosene (i.e. jet fuel).  When the German air forces launch their next attack, the protagonist takes flight.  IIRC, he tells the other officer to keep his planes on the ground and well away from the battle.  I believe this is because one or more of the long-range missiles on his aircraft are nuclear-tipped.  The protagonist engages the enemy at long range, selecting choice targets and firing missiles at them.  Unfortunately, the attack is a complete failure.  Each of the missiles fails to lock on to its target, and fizzle out when their fuel is expended.   The pilot realizes that the German biplanes are made mostly of wood and canvas, and there's not enough heat or radar signal generated by the planes for the sensors in the missiles to lock on to them.  The protagonist chides himself that he should have gone after the enemy airfield hangars with his missiles.  As he has no guns on his jet, he can do nothing but return to base.  The pilot touches down, bitterly disappointed.  The other officer is sympathetic, though disappointed.  The protagonist stews about what to do next.  There is a line about how the powerful radars in his jet can cook a man alive, but it would take hours against a target standing completely still.  Eventually, he comes upon an idea.   He pleads with the other officer to requisition more refined kerosene.  The man is reluctant, but eventually does so.  The climax of the story comes with the protagonist once again facing the German squadron.  This time, though, he has the means to defeat them.  He accelerates to maximum speed, using the afterburners to go supersonic, and rockets straight through their formation.  The shock wave of the supersonic boom is too much for the fragile biplanes, and their wings are ripped to pieces.  The entire squadron is destroyed mid-air.  The story closes with the protagonist landing his jet one last time, and the exultant officer and others cheering the dramatic victory over a foe they thought unbeatable.  Publication Timeframe  I'd guess this one would be late 1950's to early 1960s.  That would seem to be about the right era for the technology of the protagonist's jet.


How much memory required to initialize object using new keyword in java?

Many time i facing the "java.lang.OutOfMemoryError: Java heap space" error, is there any problem with new keyword, because i used new keyword many time for creating object of class in web application.


I use ssh to remote into my Ubuntu desktop.   I have set it up to use key based authentication and disabled using the password to log in.   I have also configured iptables to only allow ssh from my internal network and the IP from my work and dropped everything else for added security.   Anyways, I am only able to gain access if I am already logged in. If I remote in and reboot for any reason, I get the permission denied pubkey message and it refuses to let me in.   For kicks, I used team viewer to log into my machine. After I logged myself in via team viewer, It let me ssh into it again.   Is there a setting I may have forgot to check when editing my sshd_config file?   My home directory is encrypted if that makes any difference. This is possibly the culprit.   I originally configured everything on 16.04 but recently upgraded to 17.04. I left all configurations the same during the upgrade.


I am writing a preface, which consists of roughly ten sentences describing my work. I have to write this in both English and Swedish. Same content, merely different languages.  I have chosen to have both prefaces (or abstracts is probably the correct term) on a single page. I am having trouble making this work. Here is a MWE of my approach  \documentclass[a4paper, 10pt]{memoir} \usepackage[ansinew]{inputenc}  \begin{document}  \chapter*{Test 1} This is a test  \chapter*{Test 2} This is a test  \end{document}   This creates two different chapters. Is there a way to keep both chapters on the same page?


Do any (non-trivial) 2-chains of Pythagorean triplets exist?

Define an "integer 3-relationship" as a function $f(a,b,c)$ of three integer variables, together with the condition that this function must equal zero.  Two examples would be the "Pythagorean triplet relationship" with $f(a,b,c) \equiv c^2 - (a^2 + b^2) $ and the "near-miss Pythagorean triplet relationship" with $f(a,b,c) \equiv c^2 +1 - (a^2 + b^2) $.  For any given integer 3-relationship based of some $f$, there may be many triplets that satisfy the condition.  For example, any triplet  $$ \{k(m^2 - n^2), \,2k m n, \, k(m^2+n^2)\}\,\, (k,m,n \in \Bbb N) $$ satisfies the Pythagorean triplet relationship.   In some cases, there may be a chain of $n$ triplets  $$ \{a, b, c\},\, \{b, c, d\},\,  \{c, d, e\},\, \cdots $$ such that each of these triplets satisfies the same integer 3-relationship based of some $f$, and the last two entries in each triplet match the first two entries in the next.  For example, with $f(a,b,c) = c^2 +1 - (a^2 + b^2)$, the triplets $\{7,\, 11,\, 13\}, \{11,\, 13,\, 17\}$ form a 2-chain because $$ 7^2 + 11^2 = 13^2+1 \\ 11^2 + 13^2 = 17^2 + 1 $$ I am concerned with looking for chains of Pythagorean triplets.     Prove that (other that trivial chains with $a$ or $b$ zero) there are no 2-chains of Pythagorean triplets (or disprove that conjecture by providing an example Pythagorean 2-chain).     I think I have a proof along the lines of starting with a "primitive" 2-chain (with no common factor in $a$ and $b$), applying the general form of Pythagorean triplets given above, and re-distributing the factors in $2 m n$ to form the $2 r s$ of the next triplet, so that $ 2mn = 2rs$ and $m^2 + n^2 = r^2 - s^2$. At that point I can solve a quadratic equation for one of the factors and the condition that the discriminant be a perfect square leads to the construction of a different 2-chain with smaller numbers -- and reduction ad absurdium applies.  But my proof is not what I consider solid...


I want to show: If $R$ is local and $I\neq R$ an ideal, then $R/I$ is also local.  We already know: A Ring $R$ is local if and only if $R-R^{\times} = \{r\in R \, | r \notin R^\times \}$ is an ideal. We also know that if $I$ is an maximal Ideal, $R/I$ is a field.  I have no idea how to show that other than using the above Lemma.


"Everyone" versus "everybody" in a sentence?

When can I use everyone, or everybody in a sentence?


How can I configure the items shown on the Touch Bar Control Strip when the display is locked?

I know I can configure the Touch Bar Control Strip in System Preferences, but how do I configure the items shown when the screen is locked?  In particular, I would like to configure it so that the previous/play-pause/next and mute/volume down/volume up keys remain in the same position regardless of whether the screen is locked or not.


Do I need to buy the Dungeons and Dragons 4th Edition Red Box

I'm a beginner to DnD, and I've been reading everywhere that you should buy the Red Box Set, but this is about $100, in comparison to the DM Kit, Monster Vault, and Hero's of the Forgotten Kingdom (Which has a supplement to the PHB Correct?).


Why can't I play Minecraft 1.7.10 Single player? I get JsonSyntaxException

Every time I try I get this JsonSyntaxException:  ---- Minecraft Crash Report ---- // Ouch. That hurt :(  Time: 8/8/14 8:59 AM Description: Starting integrated server  com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 at com.google.gson.Gson.fromJson(Gson.java:815) at com.google.gson.Gson.fromJson(Gson.java:768) at ns.b(SourceFile:156) at ns.<init>(SourceFile:42) at net.minecraft.server.MinecraftServer.<init>(SourceFile:114) at bsx.<init>(SourceFile:38) at bao.a(SourceFile:1610) at bdx.e(SourceFile:162) at bdx.a(SourceFile:127) at bdw.a(SourceFile:172) at bdw.k(SourceFile:232) at bdw.p(SourceFile:211) at bao.p(SourceFile:1328) at bao.ak(SourceFile:774) at bao.f(SourceFile:728) at net.minecraft.client.main.Main.main(SourceFile:148) Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1 at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:338) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79) at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60) at com.google.gson.Gson.fromJson(Gson.java:803) ... 15 more   A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------  -- Head -- Stacktrace:     at com.google.gson.Gson.fromJson(Gson.java:815)     at com.google.gson.Gson.fromJson(Gson.java:768)     at ns.b(SourceFile:156)     at ns.<init>(SourceFile:42)     at net.minecraft.server.MinecraftServer.<init>(SourceFile:114)     at bsx.<init>(SourceFile:38)  -- Starting integrated server -- Details:     Level ID: New World     Level Name: New World Stacktrace:     at bao.a(SourceFile:1610)     at bdx.e(SourceFile:162)     at bdx.a(SourceFile:127)     at bdw.a(SourceFile:172)     at bdw.k(SourceFile:232)     at bdw.p(SourceFile:211)  -- Affected screen -- Details:     Screen name: bee Stacktrace:     at bao.p(SourceFile:1328)     at bao.ak(SourceFile:774)     at bao.f(SourceFile:728)     at net.minecraft.client.main.Main.main(SourceFile:148)  -- System Details -- Details:     Minecraft Version: 1.7.10     Operating System: Windows 8 (x86) version 6.2     Java Version: 1.7.0_25, Oracle Corporation     Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation     Memory: 222667112 bytes (212 MB) / 377651200 bytes (360 MB) up to 523501568 bytes (499 MB)     JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M     AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95     Launched Version: 1.7.10     LWJGL: 2.9.1     OpenGL: AMD Radeon HD 7340 Graphics GL version 4.3.12618 Compatibility Profile Context 13.251.9001.0, ATI Technologies Inc.     GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported.      Is Modded: Probably not. Jar signature remains and client brand is untouched.     Type: Client (map_client.txt)     Resource Packs: []     Current Language: English (US)     Profiler Position: N/A (disabled)     Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     Anisotropic Filtering: Off (1)


Problem with appstreamcli when running apt update

I had a problem with debian testing today when I was running an apt update with following return:  E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi' E: Sub-process returned an error code


I'm pretty sure when I started the game, my guy was level 1.   After playing a while, all my guys seem to be level 8. Do later generations level up at a fixed rate, making the game easier the more you play, or is it tied to upgrades I've purchased (such as upgrading knight to paladin)?


How can the tangent vector to a beam of light be expressed in these 2 ways?

Considering a Minkowski spacetime:  $ds^2 = -dt^2 + dx^2 + dy^2 + dz^2$  For a beam of light moving in a +ve $x$ direction I have found the tangent vector to be:  $k_\mu = B(1,1,0,0)$ where B > $0$  However, the answer in the textbook I'm using has $k_\mu = B(-1,1,0,0)$  I am not sure how the -1 comes to be in the time component, can someone shed some light on where it comes from?  The only way I can think of is if the textbook assumes $k^\mu = B(1,1,0,0)$ and then uses the metric to lower the index which introduces the negative 1 in the time component.  The question I'm asking is where does the -1 come from?


How do I prevent condensation on a lens when outdoors?

I was attempting a time lapse the other evening, outdoors and after a warmish sunny day, with a fairly cool air temp. I set my camera up and set it clicking away and left it for about 3 hours. Most of the time when I checked on it it was perfectly fine. But when I finally went out there was loads of condensation on the lens, glass and barrel, and on the back of the camera too.  I had set my camera up a few hours before it went dark, just to get the framing right, so I assume it was at the ambient temperature. It wasn't in the sunlight, so it could only have cooled down from when I set it up.  Is there a reliable and simple way to stop this happening? I hope so, as it must be a fairly common occurrence. Main reason is I don't want a damp camera as it will do it no good. Second reason is that it will ruin my timelapses!


Why can't I ask a question on Stack Overflow?

I can't ask a question on Stack Overflow. I have not been banned. When I try to ask a question, it says:     You must have at least 5 reputation to ask a question. Try answering some questions first.


Yesterday I noticed a Google notification indicator when Google Chrome updated to Version 35.0.1916.114.    How can I remove it and stop Google from changing my desktop like that?


in 2.7 my file the items were saved hidden 2.8 the same items are not unable to be unhidden. it is a lot of work and put in this and if you tell me how to fix and/or update to repair this problem would be nice


How do you install tplink tl-wn823n v2 on ubuntu 16.04?

I have a problem with my tplink tl-wn823n v2 usb wifi adapter. I can not make it work on ubuntu 16.04. How can I fix this?


How to setblock a command block with a /summon command?

I'm trying to make a one command creation, so I need a /setblock command to set a command block with a /summon command. This is the command I'm using:    /setblock ~ ~1 ~ minecraft:command_block 4 replace {auto:0b,powered:0b,conditionMet:0b,Command:"/execute @e[type=Wolf,name=MiniMe] ~ ~ ~ /summon Wolf ~ ~ ~ {Owner:PLAYER_NAME,CustomName:"Mini"}",TrackOutput:0}   It keeps saying:    "Data tag parsing failed: Unexpected token 'M' at: Mini"}",TrackOutput:0"   When I use the /summon command normally it works fine! Please help.


How can I run a command in zsh without pushing it onto the current session's history?

Both bash and zsh support a shorthand of not placing a command in history if you prepend it with a space.  This works great across sessions (if you've setopt histignorespace).  However, the command is still in the current session's history.  How can I avoid placing a command in the current session's history (or remove if after executing it)?


proving a theorem from limit using Hopital rule

If $\lim_{x \to a}f(x)=1$ and $\lim_{x\to a}g(x)=\infty$, then  $$\lim_{x \to a} f(x)^{g(x)} = e^{\lim_{x\to a}g(x)(f(x)-1)}.$$ How can one prove this theorem?


How can I get ubuntu 20.04 lts to recognize the Realtek Wifi network controller

I just got an HP laptop with a Realtek RTL8821CE  802.11ac network controller. Ubuntu studio 20.04 LTS works fine except for the Wifi. sudo lshw -C network shows the hardware but lists it as *-network UNCLAIMED Secure boot is disabled. How can I get the drivers for this and install them? My internet access is limited to Windows10 Wifi at this time.


Is calculating "actual coverage probability" the same thing as calculating a "credible interval"?

I was reading an entry level statistics textbook. In the chapter on maximum likelihood estimation of the success proportion in data with binomial distribution, it gave a formula for calculating a confidence interval and then nonchalantly mentioned     Consider its actual coverage probability, that is, the probability that the method produces an interval that captures the true parameter value. This may be quite a bit less than the nominal value.    And goes on with a suggestion to construct an alternative "confidence interval", which presumably contains the actual coverage probability.   I was confronted with the idea of nominal and actual coverage probability for the first time. Making my way through old questions here, I think I got an understanding for it: there are two different concepts we call probability, the first being how probable it is that a not-yet-happened event will produce a given result, and the second is how probable is that an observing agent's guess for the result of an already-happened-event is true. It also seemed that confidence intervals only measure the first type of probability, and that something called "credible intervals" measure the second type of probability. I summarily assumed that confidence intervals are the ones which calculate "nominal coverage probability" and credible intervals are the ones which cover "actual coverage probability".   But maybe I have misinterpreted the book (it is not entirely clear on whether the different calculation methods it offers are for a confidence interval and a credible interval, or for two different types of confidence interval), or the other sources I used to come to my current understanding. Especially a comment which I got on another question,      Confidence intervals for frequentist, credible for Bayesian    made me doubt my conclusions, as the book did not describe a Bayesian method in that chapter.   So please clarify if my understanding is correct, or if I have made a logical error on the way.


I am using Android 4.0.3 and I can no longer find package name for some app. If I recall, I used to go to Applications and has been able to see it there.   So, how can I see full package name of some app? Like, the app's name is "Test" and I need to see its package com.test.mytest.


How do I turn off typing suggestions in iOS 10?

Several iOS 10 apps enable typing suggestions by default, even if these were disabled prior to iOS 10. This is especially notable in Messages, where the suggestions include emoji.   How do I disable typing suggestions in iOS 10?


Image count when referencing is wrong, but below the figure it is correct

It seems that the numbering system refers to the section rather than the images. Moreover, when clicking the number it takes you to the start of the section that contains it, not at the real label.  For images I use:  \begin{figure}[H]     \centering     \label{fig:proc_func}     \includegraphics[width=\linewidth]{img/proc_func}     \caption{Effects of non-continuous sampling.} \end{figure}   Just saying: I have a page which is shown horizontal and that contains an image (I use package pdflscape), but removing it does not solve the problem.  These are my packages. I am using pdfLatex to compile.  \usepackage[utf8]{inputenc} \usepackage[urlcolor=blue, colorlinks=true, linkcolor=blue]{hyperref} \usepackage{graphicx} \usepackage{amsmath} \usepackage{pdflscape} \usepackage{pdfpages} \usepackage{geometry} \usepackage{float} \usepackage{rotating} \geometry{     a4paper,     total={170mm,257mm},     left=35mm,     right=35mm,     top=20mm, }   I'm thinking that hyperref is to blame, but I haven't changed its option.


How to clean an old metal newspaper photo engraved plate?

I have an old metal engraved plate of a picture of my family that was used by the newspaper back in the 1950's.  Unfortunately, it has a lot of white type spots of some kind of powder/crystal growth over some of the photo.  Is there anyway that I can safely clean the photo plate?


How to Remove the duplicates in SQL Table and concat other part

Let's Assume I have DataTable /SQL Table(MicroSoft SQL) that represents employee information for example  which contains firstname,lastname,age,company,yearsofexperience,Degree  I want to combine information based on firstname,lastname,age   company,yearsofexperience,Degree must be concat into corresponding cell  firstname   lastname   age   company   yearsofexperience      Degree  john         muller     21    IBM           4years            MBA    jan          tonny      22,   MSoft         1years            MS martin       tata       21    apple         2years            PHD john         Muller     21    sony          3years            MBA james        muller     21    IBM           4years            PHD    jan          tonny      22    Telsa         1years            BS      martin       tata       21    sun           2years            MBA james        Muller     21    TCS           3years            BS   Note:MS SQL solution not Mysql   Please find me way to remove the duplicate rows and make other data concat in particular column  For example in from above example I want combine the information present in the similar other 3 entries  firstname   lastname   age   company            yearsofexperience      Degree  john      muller        21   IBM,sony,              4years,3years,        MBA,MBA    jan       tonny         22,  MSoft,Telsa            1years,1years         MS,BS martin    tata          21   apple,sun              2years,2years         PHD,MBA james     muller        21   IBM,TCS               4years,3years          PHD,BS   Right I am looking for what is  best ways to implement this   Its good approach if I Split the Tables in to 2 different tables? may be based on Primary key match. we can con cat other entries ?  Please help me out thanks(+1) in advance


Texture-painted images turn black when used?

I was experimenting with texture painting and noticed something really, really annoying.   I spent 15-30 minutes painting, saved, then used the map as a texture. Note that I saved immediately after painting and before setting the object texture.   As soon as I did, it turned black. I couldn't make it go back, so I quit, making sure to not to save the messed up image. When I opened the save, the map was still messed up.   Does it automatically save changes to the UV even when the blend it's self isn't saved?


jQuery button .on click delete not working properly

Good evening all.  I have a really random issue that I can't seem to get beyond, which is frustrating me to no end.  I basically took working HTML/PHP/jQuery code from another page of mine, modified field names and such, and turned it loose.  I have an "Add Row" button that dynamically adds an input row to my table, with each iteration incrementing a counter variable that is added to field names and such to ensure uniqueness.  The row also contains a "Delete Row" button, which is what's acting odd.  If I open my page, click "Add Row" 10 times, I can label them 1-10 in my textarea.  The appropriate row deletes with each click... except the last row I try to delete.  I can click the Delete button until my finger cramps - no difference.  Here is my jQuery code:  $(document).ready(function() {     $('#addrow').click(function() {         var count = $('#progyrgoals tr').length;         var ID = count + 1;         var tdclassnum = ID % 2;         if (tdclassnum == 1) {             tdclass = "td1";         } else {             tdclass = "td2";         }          $.post("/jqf/progyroutcomegoals_processajax.php", function(data) {             //alert( "Data Loaded: " + data );             $('#progyrgoals').append('
<select name="progyr' + ID + '"><option value="0">-- Select --</option>' + data + '</select>
<button  type="button" class="dbutton" title="Delete Row">X</button>	<textarea class="txta6" name="desc' + ID + '"></textarea>
');         });         $(".dbutton").bind("click", Delete);          function Delete() {             var par = $(this).parent().parent();             par.remove();         };     }); });   Am I doing something that is obviously wrong?  (( I tried to hardcode into JSFiddle in place of my variables and such - it was a no-go.  What I did accomplish can be seen here:   ))


How to copy some lines from old folder after using ls to new blank file

My old folder has this output when I ls -lh  drwxr-xr-x 2 ahmet   sistem  4,0K Eyl 17 22:33 ahmet drwxr-xr-x 2 ali     sistem  4,0K Eyl 20 16:08 ali drwxrwxr-x 2 hexcake hexcake 4,0K Eyl 13 18:57 Deneme drwxr-xr-x 2 eda     maliye  4,0K Eyl 17 11:19 eda drwxr-xr-x 2 mehmet  yonetim 4,0K Eyl 20 16:10 mehmet drwxr-xr-x 2 selami  sistem  4,0K Eyl 20 16:08 selami -rw-rw-r-- 1 hexcake hexcake 2,0K Eyl 14 11:48 words -rw-rw-r-- 1 hexcake hexcake   16 Eyl 14 11:48 words2   I want this output to be in my new blank file. Is it possible to copy ls output and write it to new file?  hexcake hexcake hexcake hexcake hexcake hexcake maliye eda sistem ahmet sistem ali sistem selami yonetim mehmet   I got this output using this command btw  ls -lh | awk '{print $4,$3}' | sort   Thank you for your help.


ufw: how to forward single port to another port on different interface

I have two interfaces eth0 (192.168.1.2) and eth1 (192.168.3.2).  I receive data from 8080 at eth0. I want to forward it to eth1 port 80.  I'm using UFW, because i don't understand iptables and how to add it at the beggining of /etc/ufw/before.rules.  I've already edited DEFAULT_FORWARD_POLICY="ACCEPT" on /etc/default/ufw and already edited net.ipv4.ip_forward=1 on /etc/ufw/sysctl.conf


Proving a special case of the binomial theorem: $\sum^{k}_{m=0}\binom{k}{m} = 2^k$

I want to know if I can get some help with this proof. I tried, but I just cannot seem to get $2^{k}$. It states that,     For $k \in \mathbb{Z}_{\ge 0}$, $$\sum^{k}_{m=0}\binom{k}{m} = 2^k$$   Thank You.


Which Yongnuo trigger, RF-605C (Canon) or RF-605N (Nikon), works on the GH4?

I'm guessing the difference between the two is the pin config and not the hotshoe mounting. Which one do I go for?


How connect to home ubuntu server from remote

I want to connect my home ubuntu server with ssh from remote. So i bought static ip address from my provider. But i don't know how to set up it correctly.  I have done something like that in /etc/netplan/50-cloud-init.yaml  network:   version: 2   renderer: networkd   ethernets:     enp0s5:      dhcp4: no      addresses: [<my_ip>/24]      gateway4: <my_ip>      nameservers:        addresses: [8.8.8.8,8.8.4.4]   And after  sudo netplan apply   But it haven't work for me. (Sorry if it is a dumb question)


What packages will let me use Cyrillic characters in math mode?

Note I'm not actually planning on writing any, for instance, Russian prose or even any Russian words. It's just that, on paper, I've always had the habit of denoting sets by uppercase roman letters, sets of sets by script letters and, when the need arises, sets of sets of sets by uppercase Cyrillic letters. Is there some package I can load which will allow me to typeset (in LaTeX math mode) Cyrillic letters much as I would typeset Greek letters? ie. $\Zhe$ to produce an uppercase zhe. Thanks!


2015 Macbook Air screen gradually dimming and dying

This is not a problem at booting up. For a couple months now I'll be using my laptop when suddenly the screen dims to about 50% of normal. According to the brightness indicator the brightness is all the way up; I can make it dimmer, but not as bright as normal. The dimming isn't super even either, there are small areas of the screen that seem darker/brighter. In the past the problem easily goes away if I close the lid and reopen it... but now it's happening a lot and sometimes going completely black. Is this an easy/cheap fix? I'm traveling and can't do it myself. Is it worth bringing to the Mac store?  Thanks!


Which Stack community will answer my website cPanel link problem

I had created an ecommerce website named "www.bookslab.in". I want to block my cpanel link for users who are accessing my website. Link is www.bookslab.in/cpanel. If any I.T. specialist user go to my www.bookslab.in/cpanel link then he should go on my homepage link.


I have Windows 10 and Ubuntu 18.04. Is there any way I could temporarily  disable grub so that it would by default boot into Windows 10. I would like to undo it when I need Ubuntu and the dual boot screen back.


Install pantheon desktop on Ubuntu 15.10?

Pantheon desktop doesn't install on recent versions of Ubuntu, but is there a way to install it now?  Are there any workarounds?


"Comments only" lock notice on closed questions mistakenly says that question is still accepting answers

When a question has a "comments-only" lock, the following notice is displayed on top of the question:  Locked for X days. Comments on this question have been disabled, but it is still accepting new answers and other interactions.  However, I noticed that if the question is closed (even before the lock), the same notice is used:  ..which could be confusing, especially for new users. Proposed change to the notice on closed questions:  Locked for X days. Comments on this question have been disabled, but it is still accepting [votes and] other interactions.  Or, as others have suggested, the additional "but it is still accepting [...]" part can simply be removed as it hardly provides any new information.


I'm new here! I was wondering if my PC can run Ubuntu and I don't know how to check it... My system is: Processor: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz RAM: 4GB (2,70GB AVAILABLE) 32 BITS  Can somebody help me pleaseee?? Thankssss


Can $\int_0^1 f^2(x)dx<\infty$ imply $\int_0^1 |f(x)|dx<\infty$, if $f$ unbounded near $0$.    The converse is wrong, since $f(x)=1/\sqrt{x}$ is an example.


How do I create a route with a query string?

I have tried a few things and I cannot manage to make this working.  My route is the following.      amu_hal.publicationsPerYear:       path: '/publications/{year}'       defaults:         _controller: '\Drupal\amu_hal\Controller\AmuHalController::publicationPerYear'         _title: 'publicationPerYear'         year: 2016         route_parameters:           url: 'default'       requirements:         _permission: 'access content'   The code for the controller is the following.      public function publicationPerYear($year,$url) {       $url=urldecode($url);       $url .='&fq=producedDateY_i:' . $year;        try {         $client = new Client();         $response = $client->request('GET', $url);         $content = json_decode($response->getBody(), true);         // ...       }     }   The request  gives the following error:     RuntimeException: Controller "Drupal\amu_hal\Controller\AmuHalController::publicationPerYear()" requires that you provide a value for the "$url" argument (because there is no default value or because there is a non optional argument after this one). in Drupal\Core\Controller\ControllerResolver->doGetArguments() (line 165 of /var/aegir/platforms/drupal8-dev/core/lib/Drupal/Core/Controller/ControllerResolver.php).


My 2010 MacBook Pro is stuck at the Apple logo and spinner (followed by a circle with a line through it). I accidentally mis-typed and altered the NVRAM setting. (as this sudo nvrm "rd=wrognserver"). I have already tried ⌘ Command⌥ OptionPR, to no avail (but suspect the keyboard is not working, I have ordered a wired USB keyboard, awaiting delivery). Any clues would be helpful.


I'm trying to find the mass of a spherical object with a given density function, and to do so I must solve this integral $$\int_{0}^{\pi}\sin^5{\theta}\cos^2{\theta}\ d\theta,$$  but no matter which method I choose (integration by parts, substitution, etc) I can't for the life of my figure out the anti-derivative.


How can I position a paragraph within a div to the very bottom?  I am trying a position-relative (on div), position-absolute (on p) combo but it doesn't work. I want the "Read more" text to be at the very bottom of the div because there are several of these divs next to each other and they very in text length.   HTML:

Joia

Concept design for an eCommerce solution for a local art store (exercise).

Read More

   CSS:    .card-body {         position: relative;     }      .read-more {         position: absolute;         bottom: 0;         left: 0;     }


I am using ubuntu as for educational purpose ,ubuntu is good working OS but i want to control my laptop's fan and us it in maximum speed, i am using a dell laptop. fan is on good working but i want more performance ,so I want to control it ,i would also like to say I am using nvidia graphics card.Please someone help me to solve it ,i will be thank full to him. Thanks.


Finding and using a single (best) decision tree from random forest to evalute a sample

Is there a way that we can find an optimum tree (highly accurate) from a random forest?   The purpose is to run some samples manually through the optimum tree and see how the tree classify the given sample.   I am using Scikit-learn for data analysis and my model has ~100 trees. Is it possible to find out an optimum tree and run some samples manually?  Thanks


What is the origin of the Dirac delta term in the dipole electric field?

I am a bit lost how one has deduced the formula for electric field with electric dipole because of some inconsistency between different sources. The  contains a delta function in the formula, but  gives only the formula without the delta function,  $$\bar{E} = -\nabla \phi = \frac{-p}{4\pi \epsilon_{0} r^{3}} ( \hat{e}_{z}-3\hat{u}_{r}(\hat{u}_{r} \cdot \hat{u}_{z}) ) $$  Is it intentionally left out?  My notes mention that the dipole is with a circular thing $P=Q d$ where $d$ is distance and $Q$ is charge.


Is there a way to extrude an image in Photoshop?

I want to create a new icon for my application according to the new . Is there any way to get my 2D silhouette and automatically extrude it to create the 3D effect?


If all Infinity Stones have a power, what is the Soul Stone's power and aren't the Mind and Soul Stone the same thing?

What does the Soul stone do? Why is it so important? Are the Mind and Soul Stone the same thing?  In Avengers: Infinity War, Thanos has to sacrifice his own daughter to get the Soul Stone when the Soul Stone seems useless.


What was the density of the universe when it was only the size of our solar system?  Did it approach neutron star density?  Is it physically correct to even ask such a question?


Isomorphism Between Gaussian Integers Modulo Some Element and the Ring of Integers Modulo it's Norm.

Show that for $\theta\in\mathbb{Z}[i]$, if $\theta=a+bi$ for $\mathrm{gcd}(a,b)=1$, we have $\mathbb{Z}[i] / (\theta)\cong\mathbb{Z}/{(N(\theta))}.$


is:answer flag in advanced search should only return answers

If you  you will get a list of answers:    However, if you  then you get a list of questions:    Searches tagged is:answer should only return answers. The is:answer flag should take priority, and anything related to the question should be inherited from the parent question (like using question_id field for answers in the ). This way we could, for instance, . This currently returns nothing while  will provide us with what we want.


I'm a huge fan of SF from the golden age of SF, so this could be a fairly old book.  It was a story about a "generation" starship or sublight starship.  I believe most of the story was about their journey and some of the problems and difficulties.  I believe that something strange is observed along the way which later turns out to be them being passed by an FTL starship which was developed, on their long voyage, after they left Earth.  When they arrived at their destination they were amazed and, I believe, disheartened to be greeted by people from Earth.


I am just curious about the axioms of topology. In particular with regard to finite intersections. The way that I imagine the axioms of topology is that we give a set $X$ a way of arranging it's points. I was wondering why do we restrict ourself to only finite intersections. Does someone has any intuition about this?


Null Pointer Exception in Android , what does it say?

I have faced many time the NullPointerException in android. Some times I understand why the exception is thrown.  My Question is: Android applications are developed in Java and Java does not support pointers, then why is the exception called NullPointerException?


Can entry into US just before visa expires create any problems?

My mother's visa is expiring soon. I am intending to take her to USA on a one month trip but I am fearful, her entry into USA when her visa is expiring that soon may cause problems?  Note that I have done that before, she last entered USA when her visa was expiring in about 20 days. She then got another 5 year multiple visa, but now that visa is expiring soon too.   My concern is, would it be ok for my mother to enter USA just 3 days before her visa expires. She will have a return ticket.


Does $G\times K\cong H\times K$ imply $G\cong H$?

Let $G\times K$ be a finite group. Suppoose $G\times K\cong H\times K$. Is this sufficient to imply $G\cong H$?


How can I include dot files in Nautilus?

I would like to configure Nautilus to include files like .bashrc etc by default. They have been intentionally omitted, however, I find myself needed to work with them often enough that it would be convenient to have them view-able all the time.  Also is there a way to at least tell Nautilus to include dot files?  Thanks!


How to view SSL Certificate details on Chrome?

Before somewhere around Chrome 55, I could look at the details of a certificate a website is using by clicking on the Green lock icon. Now that functionality seems to be gone; see picture below.  How can I bring this back? I know I can go into Developer Console -> Security but it's tad bit inconvenient.


Need further explanation for this problem

I have recently asked this problem:   I don't understand how one arrive at the questions posted by lulu and greedoid.  I guess I don't understand what the problem asks for.  Could you provide a fuller explanation to these answers?


I am trying to update our SQL database from a JFrame panel in Netbeans. Currently, I am trying to use a button in from the "registernewStudent" panel, where the user can assing 4 text fields, where the first (Student ID) and the last (room) should be an integer and the middle 2 are strings. However, I am getting an errormessage saying "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException"  Below are the source code for the button.  This is our first real project, so we'd appreciate any help we could get.   private void btnNyREActionPerformed(java.awt.event.ActionEvent evt) {                                             try {         String talStrang1 = txtElevID.getText();         int tal1 = Integer.parseInt(talStrang1);          String Strang2 = txtElevFN.getText();         String Strang3 = txtElevEN.getText();         String talStrang4 = txtElevSS.getText();          int tal2 = Integer.parseInt(talStrang4);          database.insert("insert into Elev values( tal1, Strang2, Strang3,tal2)");      } catch (InfException ex) {         Logger.getLogger(NyRegElev.class.getName()).log(Level.SEVERE, null, ex);     }  }


Sorting an array in c is deleting values

I am programming a genetic algorithm so that this solves problems of linear programming, I am using C language, when I calculate the limit of the variables I keep the values in a float type array, I need to order that array but it deletes a data that I need to moment of ordering: I have used a shell_sort pogramed by me and the qsort that is implemented in the standard librarian and with both gives me the same result, I append the code of the algorithm that I use to order and the comparator function that I use for the qsort () :      void shell_sort(float *A, int n){     int gap = n/2;  //Se obtiene el gap dividiendo el tamaño de arreglo entre dos     int inner, outer, swap; //Variables auxiliares      while (gap > 0) { //Mientras gap sea mayor que zero entonces:         for(outer = gap; outer < n; outer++){ // Para outer igual a gap, siempre que outer sea menor a n, outer aumentara su valor en uno             inner = outer; // inner se iguala al valor de outer             swap = A[inner]; // Swap se iguala a la posiscion inner de A             while (inner > gap - 1 && A[inner - gap] > swap ) {  // Mientras inner sea mayor que gap menos 1 y que A en su posicion inner menos gap sea mayor a Swap                 A[inner] = A[inner - gap]; //La posicion inner de A tomara como nuevo valor la posicion inner menos  gap de A                 inner -= gap; //inner decrementa su valor en gap veces             }             A[inner] = swap; //La posicion inner de A tomo como nuevo valor swap         }         gap /=2; // se divide a gap entre dos     } }   Comparer function:  int comp(const void * a, const void * b){     if(*(float*)a < *(float*)b) return -1;     if(*(float*)a == *(float*)b) return 0;     if(*(float*)a > *(float*)b) return 1; }   Output:  I think when I sort the array the result will be 0,26,37 but the result is 26,37 and I need that zero I don't really know why is this happen.  Hope someone can help me.  This is the piece of code when I use the sorting.      Limites obtenerValoresLimites(lista *l,char var){         //This code works Limites lim;         restriccion r;         int i,j;         float *aux = (float*)malloc(sizeof(float));         for (i = 0; i < Size(l); i++)         {             r = Element(l,i+1);             for (j = 0; j < strlen(r.variables); j++)             {                 if(r.variables[j] == var){                     aux[i] = (r.limite/r.coeficientes[j]);                     }             }         }     //First print of the output that confirms the zero originally exist          //for (i = 0; i < sizeof(aux)/sizeof(*aux) ;i++)             //printf("%f\n",aux[i]);      //Sorting         //qsort(aux,sizeof(aux)/sizeof(*aux)+1,sizeof(float),comp);         shell_sort(aux,sizeof(aux)/sizeof(*aux));          //printf("\n");     //Second print of the output now the zero is no longer in the array         //for (i = 0; i < sizeof(aux)/sizeof(*aux) ;i++)         //{         //  printf("%f\n",aux[i]);         //}          lim.inferior = 0;         lim.superior = aux[(sizeof(aux)/sizeof(*aux))-1];         lim.variable = var;          return lim;     }   Thanks for answer and read.  I think the code is a little bit difficult to read, its because we are using some data structures to modelete the problem so if you are interested in we leave the gitHub repo below.  Complete code if you are interesed in:


I want to define a macro \create that accept a single mandatory argument from which another new macro is created and named.   The following code snippet may speak clearer what I want to achieve. But the following code cannot be compiled because it is wrong. :-)  \documentclass{article}  \newcommand\create[1]{% \newcommand\#1{My name is #1}}  \begin{document} \create{test} \test \end{document}   How to define a macro to create a new macro with a name passed as its argument?


How to extract lines from source file with reference file, add to the result file?

I have a question and cannot figure out.  It is Solaris. the over simplified source & reference files.  s.txt source file:  dn: cn=task,cn=Groups,dc=domain  changetype: modify  add: uniquemember  uniquemember: cn=user1,cn=users,dc=domain  dn: cn=task,cn=Groups,dc=domain  changetype: modify  add: uniquemember  uniquemember: cn=user9,cn=users,dc=domain  dn: cn=task,cn=Groups,dc=domain  changetype: modify  add: uniquemember  uniquemember: cn=user10,cn=users,dc=domain   r.txt reference file:   uniquemember: cn=user9,cn=users,dc=domain  uniquemember: cn=user8,cn=users,dc=domain   I'd want a script for using the reference record uniquemember file to extract the source file's cn=user9's line and 3 lines Above,  add to a result file usermember_  add.ldif:  dn: cn=task,cn=Groups,dc=domain  changetype: modify  add: uniquemember  uniquemember: cn=user9,cn=users,dc=domain


What's a word or phrase for lacking the normal fear of a particular danger?

The logical opposite of having an irrational fear (or phobia) is not having that fear. But what is the opposite condition, the condition of having an irrational lack of fear for something that should frighten, such as, let's say, being burned? It's not philia since there's no particular affinity for it either, and it's not courage as stated in  since courage is something mustered for a particular situation.


I have seen the answers to this saying that the effect Earth's rotation is neglegible compared to Gravity. But isnt the answer to this should include that the relative acceleration between object under consideration and the observer on the ground is zero. As both have the same effect of Earths rotation.


Can't access GeoServer after CORS filter

To enable CORS filter I added the following in web.xml file in webapps/Geoserver/WEB-INF  <filter>  <filter-name>cross-origin</filter-name>  <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>    ...  <filter-mapping>     <filter-name>cross-origin</filter-name>     <url-pattern>/*</url-pattern> </filter-mapping>   After adding above, I restarted GeoServer. Now, when I access GeoServer, I get following error:  HTTP ERROR: 503  Problem accessing /geoserver/. Reason:  Service Unavailable


How to avoid unnecessary deletion and recopying of moved folders when using rsync?

I've read that rsync cannot detect moved folders, and simply delete and recopy them into the new folder structure.  Since the only change I did to my master copy is the simple introduction of a top folder to contain my original files, i.e.:  folder1 folder2 folder3   into  top\folder1 top\folder2 top\folder3   I was wondering if I could just do the same manually in my backup copy, fix the modification times of both top folders somehow, so that succeeding calls to rsync would run normally.  Will this work? If so, how? If not, what is the recommended way to solve this problem? Or should I be running rsync with different parameters in the first place? (instead of rsync -a --delete /mnt/SRC /mnt/DEST which I'm currently using)  The directories are pretty large and so I'd like to avoid unnecessary recopying as much as possible.


Since humans and apes share up to 99% of their DNA, can they interbreed? For example, a horse and a donkey seem to be just as distantly related and produce offspring. Mules, however, are sterile. Would ape-human interbreds be sterile?


How to report a potential rep-farming sock-puppet?

I've just found a pair of users, one who only asks questions, one who only answers.  Both are low rep new users, and almost all the askers questions have accepted answers by the answerer. The answers aren't that good either.   Asker:  Answerer:


Why put a resistor in series with signal line?

A lot of times in circuits I see a resistor placed in series in a signal line and sometimes even in series with an MCU's VDD line. Is the intention of this to smooth out noise in the line? How is this different from using a small cap, like a .1µF to do the same thing?


I am visiting Vietnam in November 2015, I will entering the country on the 10th and my flight home is 14 days later, I will be leaving Vietnam and travelling to Cambodia in between the 2 weeks then travel back into Vietnam to get my flight home on the 24th November, do I need a visa? Can't get hold of anyone at Embassy and not clear about entering twice on the website.


Asking "what have you tried" is based on the assumption that the author did not make any effort. People don't want to make an effort if they assume someone else didn't. No matter how much they love coding, if someone else seems to lack motivation, their motivation is gone in an instant. The same is the case with remarks regarding "homework".   Example:   But having gotten some imperfect approach, people (usually different ones than the "what have you tried"-people) reply with a perfect solution they could have come up right from the start.  Also it could be that the people replying want to correct the author's approach to make it better. But then, if the author contributes his approach the solutions being given do not include the approach but go an entirely different route, which leads to the conclusion that you could have saved your effort of sharing your approach. Sometimes I see replies like "I asked my cat for an answer and she hates me now, so I ask here" and people reply.  Seems like you need to just get past the first person asking "what did you try" without giving something for others (who happen to have mod-rights more often than not to quickly close the topic) to work with like "idiot" (which fits perfectly whether you like it or not) or "a lot" or similar and you get your desired replies.  I suggest treating those "what have you tried"-phrases as what they are: spam and reconsider the "what have you tried"-phrase-author's mod rights.


How can I timestamp my paper without violating double-blind review?

I submitted a paper to a top tier conference and it did not get accepted. The paper contains an original idea, and I am afraid that the paper could get plagiarized between the time I send it to another conference after incorporating reviewer's suggestions and making some modifications. Such things have happened in the past to a few students in my department.  I had considered posting the paper on arxiv as a means of timestamping before sending it to the aforementioned conference, but didn't, as this would have violated the double-blind review requirements of the conference. (The conference chair replied to my query as follows:)     The submission of a paper in the arxhiv.org system is not strictly   speaking a double-submission, but rather a violation of a double-blind   submission required in this conference, as the reviewers will be able to   find your name (and those of the coauthors) if they do a simple search   in Google. Thus, I am quite certain it will be rejected, and I do not   consider it an acceptable practice in this conference's submission to be    fair with all the submissions in order to handle them equally during the   review process by the reviewers.   Hence I had not posted it on arxiv. Now this paper has been rejected and I would like to timestamp this paper now, while still being able to send a modified version to some conferences in the future (including those that follow a double-blind review).   Is there a mechanism by which I can timestamp my paper that does not violate the blind review requirements?   Edit: The paper was in computer science, if that matters. A related question "" asks about ways to timestamp while keeping the information in the paper private or hidden to avoid plagiarism. However my question is about ways to timestamp such that it is still possible to publish the information while not violating blind review.


How to stop event propagation with inline onclick attribute?

Consider the following:
   something inside the header
   How can I make it so that when the user clicks the span, it does not fire the div's click event?


Kernel did not upgrade between 14.04 LTS to 16.04 LTS

Yesterday I upgraded my Ubuntu Desktop from LTS 14.04 to LTS 16.04. I did it via Software Updater.  There were several errors during the upgrade (is there a place where these errors are listed in the system so I can post it here?). The last one of them was at the end, saying that the boot partition was full. Following a post, I deleted a few kernels which I thought were old.  Now when I do uname -r it tells me that the kernel version is 3.13.0-93-generic, but it should be 4.4 something right? Can it be that I deleted the correct kernel by mistake? If yes, how do I fix this?  But the command cat /etc/os-release shows:  NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" UBUNTU_CODENAME=xenial   The system seems to think it is 16.04 but I have a feeling there are many other wrong things, I just don't know how to find these upgrade errors.  Is there an official ubuntu post upgrade script that checks if everything is ok?  I don't know if it adds anything, but two other errors that I remember were that the ubuntu software center did not work after the upgrade, I fixed following a post that said it had something to do with a language setting. The other error was that on boot it showed "Lvmetad is not active yet, using direct activation during sysinit" which I fixed by edditing the GRUB file.  Anyways, I just want to know if my system is ok and what is the meaning of this contradiction between the kernel and the system version (if 16.04 had the wrong kernel would it even boot?)  Thank you very much in advance for any help!!!  Edit: Here is what I have installed (output of dpkg -l | grep linux-image):  linux-image-3.11.0-19-generic                                                                linux-image-3.11.0-20-generic                                                                linux-image-3.11.0-22-generic                                                               linux-image-3.13.0-93-generic                                                               linux-image-extra-3.11.0-19-generic                                                           linux-image-extra-3.11.0-20-generic                                                           linux-image-extra-3.11.0-22-generic                                                        linux-image-extra-3.13.0-93-generic


Why is my reputation tab points higher than achievements drop-down in the top right corner?

I am looking at my reputation today, it shows on my reputation tab that I got 295 rep today, here is the image:  As you can see, I got 295 reputation, but when I look at my achievements drop-down in the top right corner, it shows that I only got 291 reputation, as you can see below:  I personally think this is a bit confusing... I don't think it's meant to be like this, right??..


I've got an exercise that I've been battling for 5 hours to solve. There is a picture of the graph below. I am sure that I can't find a K5 as a minor since every vertex has 3 edges leaving. I tried so long to find a K3,3 minor and failed. What is the correct approach? I also strongly believe that it is not planar graph.


Combinatorial proof of an identity with squared binomial coefficients

Is it true that $\sum_kk\binom{n}{k}^2=n\binom{2n-1}{n-1}$? (I proved it using generating functions). Could you help me to prove it combinatorially? please


As I understand, the number of all infinite lentgh sequences which is consist of $\left\{1,2\right\}$ is uncountable. I want to learn, Does mean of uncountable infinite equal to infinite, which is known in calculus? I mean for example, Let, $N$ be a number of all infinite lentgh sequences which is consist of $\left\{1,2\right\}$.  Then, can we say ? $$\lim_{n\to\infty} \frac{N}{2^n}=1 $$


Why Does hotmail still reject my emails?

I have a very strange problem with my emails being marked as spam by hotmail. I just have configured Postfix + Dovecot on my server and all works perfectly. I can Send/Receive emails. I only have problems with hotmail accounts, I do not understand the reason, because I also configured:   SPF DKIM rDNS My IP is not listed in any backlist, I used: mxtoolbox.com   Checking the headers I see that SPF and DKIM pass correctly. I have no problem with GMAIL, YAHOO, and other, but hotmail seems very strict.  The only problem I think... could be that my IP had no email traffic yet. I've sent very few emails to hotmail.  So, if postfix has no problem, what do I have to do to send emails to hotmail correctly? Because if the only reason is that I had no email traffic yet it means that my first newsletters will be tag as SPAM without no reason.  Advice?  (An example of email received as SPAM is below)  HEADERS:  x-store-info:4r51+eLowCe79NzwdU2kRwMf1FfZT+JrxVyutn/pLjoZiDggbl3J7aHGkQoNPd8ZB9iY77nKNhzoKkbFqj2wPQ4Ha91HUDyzG+BsQ2lzn+x/xsXGuDBWhAPIPgrYY3dCiWYILdpiCyM= Authentication-Results: hotmail.com; sender-id=pass (sender IP is 66.85.140.94) header.from=info@example.net; dkim=pass header.d=example.net; x-hmca=pass X-SID-PRA: info@example.net X-SID-Result: Pass X-DKIM-Result: Pass X-AUTH-Result: PASS X-Message-Status: n:n X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MjtHRD0yO1NDTD00 X-Message-Info: M98loaK0Lo1j8FOgXol8UFVrP26QMSvVTQXke21+QxXu+DJ5ttCh6cM/eFA+HRgTBFdz52wvmszvfgxVXBCfExvqqIFxcJKaFap8dwTFrYmSiOTK6J40vAbrC+QeYPnMG9Hntes6IFH9T95bydckDQ== Received: from mail.example.net ([66.85.140.94]) by SNT0-MC3-F15.Snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4900);      Sun, 30 Sep 2012 14:13:33 -0700 Received: from [192.168.1.2] (2-231-150-154.ip207.fastwebnet.it [2.231.150.154])     by mail.example.net (Postfix) with ESMTPA id DD0A3401D9     for <abcdef@hotmail.it>; Sun, 30 Sep 2012 21:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=example.net;     s=mail; t=1349039612;     bh=qCXqeVFYopgNSxSiqL3ANA5CfkeFw8AlGDFYh/ruUlg=;     h=Date:From:To:Subject;     b=NIYcYZJ4YitQHGus2ZQV4ErzN+hvFoDWi+M53eJXZSx3o0VamoA8PODMEZlWqvG29      aYQK8DVW140wZ1tmHCvNCIe+KF/FVmRkxtD2aWGVK5OhVNuFv6ldRE7VUDhlPfOvaZ      uUqp1QopHJsg8pGDTeifigb58xTa2V4AOac6WY4c= Message-ID: <5068B5FA.7040704@example.net> Date: Sun, 30 Sep 2012 23:13:30 +0200 From: Aziende Mandanti <info@example.net> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: abcdef@hotmail.it Subject: Registrazione avvenuta con successo Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Return-Path: info@example.net X-OriginalArrivalTime: 30 Sep 2012 21:13:33.0410 (UTC) FILETIME=[72B24C20:01CD9F50]  Gentile Damiano, la registrazione è avvenuta correttamente. Saluti  example.net   The IP you see in the headers is correct, I only obfuscated the email addresses


Installed Ubuntu 14.04 alongside OEM Windows 8.1 -- cannot successfuly manipulate Windows Boot Manager

None of the previous questions or guides have been successful for me after a long day of trying.  My laptop came with Windows 8.1 installed and is UEFI. I installed Ubuntu alongside it and can get into either successfully-- windows by default upon booting, or ubuntu when I press ESC during boot and manually choose the ubuntu OS in my BIOS menu. Otherwise it is always skipped over.  I have used boot repair, rEFInd, and GRUB and have both of the latter installed (and can navigate to them via the BIOS menu) but Windows Boot Manager / Windows 8.1 always takes control upon startup, and I cannot add any other options to it.  Using the "bcdedit.............grubx64.efi" line in a windows terminal says operation successful but then nothing changes.  So, I'm pretty stuck. Here is the link from Boot Repair for you guys:   Thanks in advance.  edit: My goal is to have a menu when I boot (GRUB or rEFInd) for me to choose between Windows 8.1 or Ubuntu each time (and windows 10 tech preview, once I get this figured out), instead of Windows 8.1 bullying the others out of the picture.


Where is .deb package location after I run apt dist-upgrade on Ubuntu 16.04 LTS?

I am using Xubuntu 16.04 LTS.  When I run sudo apt-get dist-upgrade in the Terminal there isn't any problem.    After that, I want to copy the .deb file in /var/cache/apt/archives/ using Thunar file manager, but it doesn't exist.   See screenshot below:    But the locate command finds it:    The summary, file .deb is there in /var/cache/apt/archives/  I am confused, what’s wrong with my system? Could you help about this problem, please?


I am a beginner with LED lights, but would like to use a 5mm 365nm UV LED diode to make a pendant with a small fluorescent crystal. I would like to create a very simple, very compact circuit with a coin cell (watch battery), and an on/off switch. What would be the easiest way to do this? I had asked a similar question earlier, but have a brief additional inquiry to make. How would the circuit change if I wanted to use an LED chip instead? Or if I added other diodes for extra brightness?


What's a word to describe someone who thinks quick?

A word to describe someone's personality trait that think quick. For example he gets lost in the woods then comes up with a solution on the fly to find his way back home.


I've recently been rather fed up with Windows, and have started removing useless system apps like Edge & IE, and I constantly see Windows Defender using 30+% of my CPU.  I have another antivirus. A better antivirus, so that's no issue. The only thing I'm worried about is whether or not Windows will stably work if I remove Windows Defender. I have heard news of Windows seemingly "breaking" when removing core packages.   Is it safe to remove defender? Will Windows functionality be hindered by the removal?  EDIT: This question is not about how to remove Windows Defender.     Why do so many users assume the question is "how to remove?", while it's "is it safe?"


how to number the figure into the subsection level (such as figure 1.1.1,1.1.2)?

I used the following codes to achieve numbering the figure in section level like (1.1, 1.2...):  \usepackage{amsmath} \numberwithin{figure}{section}   Then I can got the first figure in the first section is 1.1, the second figure in the second section is 1.2... but if there is a figure in subsection(1.2) in section 1, how to change the first figure label from 1.1 to 1.1.1?


App crashing when removing an Object from an ArrayList

Hello I have an ArrayList of Notecard objects. The code I have looks through the ArrayList for a Notecard object of the same title and removes it. Then the updated ArrayList is rewritten onto a file.  public void deleteThisNote() {         for (NoteCard card : notecardList) {             if (noteCardTitle.equals(card.getNoteCardTitle())) {                 notecardList.remove(card);                 try {                     FileOutputStream fos = openFileOutput("rootFile", MODE_PRIVATE);                     ObjectOutputStream oos = new ObjectOutputStream(fos);                     oos.writeObject(notecardList);                     fos.close();                     oos.close();                 } catch (FileNotFoundException e) {                     e.printStackTrace();                 } catch (IOException e) {                     e.printStackTrace();                 }             }         }     }   This is the log that is printed out when it crashes:  E/AndroidRuntime: FATAL EXCEPTION: main                   Process: com.dlimited.mydolist, PID: 8620                   java.util.ConcurrentModificationException                       at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)                       at com.dlimited.mydolist.NoteEdit.deleteThisNote(NoteEdit.java:119)                       at com.dlimited.mydolist.NoteEdit$2$1.onClick(NoteEdit.java:101)                       at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)                       at android.os.Handler.dispatchMessage(Handler.java:102)                       at android.os.Looper.loop(Looper.java:136)                       at android.app.ActivityThread.main(ActivityThread.java:5017)                       at java.lang.reflect.Method.invokeNative(Native Method)                       at java.lang.reflect.Method.invoke(Method.java:515)                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)                       at dalvik.system.NativeStart.main(Native Method)   What am I doing wrong here? Also is there a better way of deleting? Any help is much appreciated.


Can someone tell me where this denoiser is? I know it's in the renderlayetab, but i can't find it i can only find view  Thanks


Find the probability function of $X_1+X_2$ in geometric distribution

Let  $X_1,X_2$ be a random variables with geometric distribution with $p$,     Find the probability function of the random variable $X_1+X_2$   My try:  $$X_1,X_2\sim G(p)$$  $$X_1+X_2 \in \{2,3,4,\dots\}$$  $$P(X_1=k)=(1-p)^{k-1}p$$  $$P(X_2=n)=(1-p)^{n-1}p$$  Now,  $$P(X_1+X_2=k+n)=(1-p)^{(k+n)-1}p$$     My attempt is correct?


First of all i have surfed through all previous questions related to this error, but nothing worked. Below is my output of sudo apt-get update:  following an old post i ended up changing my whole sources.list file.  Get:1 http://archive.canonical.com/ubuntu xenial InRelease [3,537 B] Err:1 http://archive.canonical.com/ubuntu xenial InRelease                        Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [3,534 B]               Err:2 http://archive.ubuntu.com/ubuntu xenial InRelease   Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [3,542 B] Err:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease   Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [3,544 B] Err:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease   Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Get:5 http://archive.ubuntu.com/ubuntu xenial-security InRelease [3,543 B] Err:5 http://archive.ubuntu.com/ubuntu xenial-security InRelease   Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Reading package lists... Done   N: See apt-secure(8) manpage for repository creation and user configuration details. N: Updating from such a repository can't be done securely, and is therefore disabled by default. E: The repository 'http://archive.canonical.com/ubuntu xenial InRelease' is not signed. E: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) N: See apt-secure(8) manpage for repository creation and user configuration details. N: Updating from such a repository can't be done securely, and is therefore disabled by default. E: The repository 'http://archive.ubuntu.com/ubuntu xenial InRelease' is not signed. E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) N: See apt-secure(8) manpage for repository creation and user configuration details. N: Updating from such a repository can't be done securely, and is therefore disabled by default. E: The repository 'http://archive.ubuntu.com/ubuntu xenial-updates InRelease' is not signed. E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://archive.ubuntu.com/ubuntu xenial-backports InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-security/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://archive.ubuntu.com/ubuntu xenial-security InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.


Make bootable USB/DVD from Mac for PC installation

i've downloaded the last 64 bit version of ubuntu on my macbook pro. Now i want to create a bootable usb/dvd for install ubuntu on my pc, but i'm on a mac. My pc is formatted, so i can't use it. Please help!


How can light have the same speed for all observers?

I'm a little confused on this. If you're travelling at, say, 10% of the speed of light then light is travelling at 3x10^8 ms^(-1) relative to you. If you're moving at 80% of the speed of light and light is also travelling at 3x10^8 ms^(-1). For the second case, wouldnt light have to accelerate and move at a greater velocity in order to maintain the 3x10^8 ms^(-1) speed...? Then that means the actual speed of light relative to a stationary observer would be greater than 3x10^8 ms^(-1) . I might have confused myself even more here...


To make things simpler I assume that getting and being in the following sentences have the same meaning. So I will use being as less colloquial.  I am being (getting) married. (passive)  This sentence is in the passive form. What would be the active form? I suppose:  Something is marrying me. (active)  Sounds to me like the object is in the middle of an action. The bride and groom stand before a priest who is reading the common lines. And the bride thinks: "I am being married." But people say it long before the wedding:  I am being married in July. (Active ~ The church is marrying me in July.) Congratulate me, I'm being married. (But he / she is not in the middle of a marriage.)  Wouldn't it be more accurate to say "I will be married in July." or "Congratulate me, I am going to be married." Because the marriage is a kind of a contract (a one shot deal.)


How are PCs supposed to know this detail relevant to Area 4 of the Redbrand Hideout in the Lost Mine of Phandelver adventure?

Spoilers! Careful, there are spoilers ahead. If you are playing the adventure Lost Mine of Phandelver or ever plan to in the future, please stop reading now.  Hello everyone,  This is a question related to my .  I'm DM'ing the Lost Mine of Phandelver adventure. We've just arrived at the Hideout      beneath Tresendar Manor, belonging to the Redbrands   And there is another point that is not explained in the book.  In Area 4      There are several skeletons. They will 'Attack unless that person is wearing a red cloak or speaks the password Illefarn'. Nowhere in the adventure does it detail where PC's can learn the codeword though. How are PC's supposed to know this?


Why is the subject omitted in sentences like "Thought you'd never ask"?

"Thought you'd never ask" is "I thought you'd never ask" with "I" omitted. "Hope this helps" is "I hope this helps" with "I" omitted.   In English grammar, normally every sentence should have a subject, right?   My first thought is that these two examples are so often used that they are like set phrases. But these are not really set phrases. You can alter the words after "thought" and "hope".  Another possible explanation is the tendency to drop the subject if it is the first person pronoun. It seems that in many languages, such as Spanish, Italian and Japanese, the first person subject is usually omitted. Maybe English is going the same way? (Not exactly the same, since in Italian, verb forms change according to the person, so the subject is not necessary to understand who one's referring to.)  And, apparently, such omission is more common in spoken English than in written English.  Are there more examples of such first person subject omission? How frequent is it?


Whose fault is it? Google's or Samsung's?

Like a lot of other owners of Samsung S5 smartphones, I had a lot of trouble and difficulty with my phone after installing the lolipop update. lollipop isn't working well with my phone, so my question is: Who's fault is it for that huge mistake? Is it Google or is it Samsung, because I didn't see such problems for manufacturers other than Samsung.


How to create an illusion of movement in space?

I am currently making a space game. The player's ship is stationary at world origin while things come towards it. However, the player is supposed to move towards the next destination.  To create the illusion of movement, I have particles moving backwards while my ship remains stationary. However, the particles seems to get lost visually during complex battle scenes.  Is there any other way to give the illusion of movement where there is an absence of stationary reference points?  Here are some screenshots of the game       The referenced question that has been identified as a duplicate does not answer my question. It is somewhat unclear what some of the implementations are. I seek a tried example that is used in other games if possible.  Most of the implementations suggested is more relevant to a first person perspective. I am looking for 3rd person effect where the player cannot "Visually Feel" the effect through a jolt.


How to make it difficult to copy content of a USB drive?

I have a video file in my USB drive. I am going to give it to many people. I do not want anyone of them to copy the content. I am searching a way to make the file  I searched in Google. I came to know it is impossible to do.   So I don't want to make it impossible to copy. I just want to make it difficult. It should not be simple right click and copy OR drag and drop.   Is there any method to do that ? (I assume the user is using Windows.)


What is maximum size about mysql to running Wordpress?

I have one WordPress site using MySQL for the database, normally each post is attached with a lot of photos and daily traffic is about 5,000-8,000. My current Database size is 750MB and wp-content/uploads = 2.75GB  My question is in the future if my website grows to have 10,000 posts, will it be possible to be running? (in case of the disk space is enough) or will my site be very slow?  Thank you


How do I remove files from a range in a folder?

How do I delete a specific frame range in a folder?  I have   star_bg_true.0001.dpx star_bg_true.0002.dpx .... star_bg_true.0100.dpx   How do I remove only frames 0030–0050?


I have my enum defined like this.   public enum Places : long   {     World = (long)1,     India = (long)23424848,     USA = (long)23424977   }   Now I get a string of value like 'India'. I want the corresponding value of the enumerator.  for instance if i get the string 'World'(or world - case insensitive ), I need the value 1 to be returned.  I tried this way:  long woeid = ((long)(typeof(Places)country));    this doesnot work.  Is there a simple way to do?


DES algorithm exhaustive key search 2^55 instead of 2^56

How is it possible to do an exhaustive key search (DES algorithm) and only search for 2^55 instead of 2^56 keys ?  This is a slide from my course if this helps you. I don't understand it.


Clipping raster with mask in QGIS gives AAIGrid error?

I am using QGIS 2.18.4 Las Palmas on Windows 10 (32 bits).  I need to clip raster (TIF) 1 km resolution imagery files downloaded from MODIS using a shapefile mask of Argentina. To do so I tried to use the Clipper tool in the GDAL plugin. All of my layers are in the same coordinate reference system and I have the "Enable on the fly CRS transformation" option disabled.  After doing Raster >> Extraction >> Clipper >> Clipping mode: mask layer, I get the following error message:     Output driver 'AAIGrid' not recognised or does not support direct   output file creation. The following format drivers are configured and   support direct output: ...   followed by a list of 45 supported outputs.  After a thorough online search of related problems and potential solutions, I feel like I have exhausted all possibilities.   Could someone point me in the right direction please?


JQuery Ajax Replacing items with Jquery functions on it

here is my problem...  i use ajax and jquery to fill up a form...  the user chooses something in a select, and, as he has chosen this or that, ajax returns data, and this data is placed into the form...  sometimes, new elements are created with the ajax data return, example :   ajax returns "blahblah", then i put it in my form, like this :  $("#myDiv").empty(); $("#myDiv").html(ajaxReturn);   IT WORKS FINE! BUT :   the new elements i put into my form are not observed anymore by my jquery...! i have a function like this :  $("#xxxx").on("change",function(){     alert("something"); });   this function works great for the element i have in my form at PAGE LOAD, once this element is replaced by another coming from my ajax call, EVEN IF it has the same ID as the previous one, the actions on it are no more spotted by JQuery...  how can i solve that?  (i really need to replace my select with my ajax return, because sometimes it's no more a select but an input text i need...)  thanks for advices :)


More specifically, why does having two objects of different weights make the balance lean to one or the other then stop partway? Why does the balance not just keep tilting until it falls to the side? How can something be heavy enough to tip the balance but not heavy enough to make it tilt the rest of the way?


How can I make my Windows keyboard shortcuts work on a Mac, exactly how they do on Windows?

I've yet to find a guide that is both (a) complete, and (b) compatible with recent macOS releases. I have a Windows keyboard that I'd like to set up on my Mac to work with the same shortcuts. Some things I've tried include setting Application Shortcuts, and modifying key actions in the keyboard settings (i.e., setting ⌘ to take the action ⌥) -- these sort of work, but still leave me without several shortcuts.  Shortcuts I'm specifically hoping to get on my Mac:  - ctrl + c : copy - ctrl + v : paste - ctrl + x : cut - ctrl + a : select all - ctrl + s : save - ctrl + shift + s : save all - end : end of line - home : front of line - ctrl + end : end of document - ctrl + home : front of document   I know there are tons more that I'd like, but I assume if I can get the Ctrl, Shift, End, and Home keys working, then the rest of my normal keyboard shortcuts will kind of fall into place from there.  So basically, I'm looking for a way to get my Windows keyboard to act like a Windows keyboard, on a Mac. Is this possible?


How to install skype on ubuntu 12.04 64bit

I tried sudo apt-get install skype and it shows Unable to locate package skype  How should I install it ?