What does the movies word mean in the following statements?        If you went to the movies, I would babysit.   If only I had more money, I could go to the movies too.      Does it mean cinema or theater?     movies: the showing of movies at a theater.    but the definition isn't clear to me. it is look like the word is verb.


Which is correct? log in, log on, log into, log onto

I've seen different questions related to the same verb, but those questions implicate an imperative form (For example when you tell somebody to log in/on) which I think may vary the condition in which the verb is used.        He uses another program to log in to the system.   He uses another program to log into the system.   He uses another program to log on to the system.   He uses another program to log onto the system.      I think number 2 is correct but I'll wait for your suggestions.


How does Elo rating scale with games played?

I only take two players starting out at 0 Elo and have them play against each other with one player winning all games. Also I consider a pure version of the Elo system without artificially introduced cut-offs (like FIDE's 400 point rule).  The winner is constantly gaining rating while the other player is losing Elo rating. The gain is decreasing because the rating difference of the players increases.  How does (mathematically) the Elo rating scale with the number of games (n) played for large n?


Specify media path to add a animation in beamer tex

I need to add an .avi to my beamer-tex presentation. The other posts and the package description do not help me. I may use the media9 package. But I cannot define a relative media path.   I dont' want to embed a hyperref link or something. There is no absolute path because I will move the file from usb-stick to other computers etc.   When using this:  \begin{center} \includemedia[     activate=onclick,     width=0.75\textwidth ]{\includegraphics{stan.png}}{but-wait.avi} \end{center}   it results in a clickable picture which open my working directory and I then may select the movie-file.   I dont' know how to start solving this.   Maybe a problem of my video programs?  When I use sumatrapdf and click the picture it opens the working directory.  When I use Adobe and click the picture just vanishes within the beamer tex (nothing happens).


A friend of mine uses RPM and has many custom in house developed packages of his own and wants to switch to Ubuntu.  The question he asked me was; Can I use RPM packages with Ubuntu instead of .deb ? as it is almost impossible recompiling all packages he has already.  Note: The question is about working Natively with RPM packages (not to convert RPM to deb using Alien)  Thanks.


I have a problem because when I try to insert data into my sql from minecraft plugin it does not insert but gives and error (Image) . I want to ID insert automaticly (I have Unique and Primary key set up in phpmyadmin) admin to be null or empty. reciever to be player (I can do it by myself) and priority to be set to 0 . MyCode: if(args[0].equals(args[0])) {                 StringBuilder message = new StringBuilder();                 for(int i = 0; i < args.length; i++) {                     message.append(args[i]).append(" ");                 }                                  try {                     MySQL.ps("INSERT INTO `sawioreports`(id, admin, reciever, priority) VALUES ('', 'NULL', 'Sawio2001', '0');").executeUpdate();                     p.sendMessage(ChatColor.translateAlternateColorCodes('&', "&cWyslano Report"));                 }catch(SQLException ev) {                     ev.printStackTrace();                 }     }             return true; }


Is " Princesses' " correct and how would it be pronounced?

From my understanding:  " Princess " is the singular form  " Princess' " is the possessive form pronounced with an -es in the end  " Princesses " is the plural form which is pronounced in a similar manner  If I refer to the doll of a princess, it should be "Princess' Doll"(?)  But what if there were many princesses having dolls? Would I say "Princesses' Dolls?" (As Princess-is-is)? Or would the second "es" be silent?


Choosing technology to start Web GIS development?

I am very new to GIS development, and to be be frank I have no background about it at all. I searched the web but the tutorials I found seemed to assume the reader has some background information.  the thing is that I am confused about what to read or learn, there seems to be lots of technologies, and I feel lost since some speak about openlayers, geoserver, mapserver, google maps, and open street maps.  So here is what I am supposed to develop, and I hove you could give me an advice about which technology to use, and where should I start reading - given that I know almost nothing -.  Case 1: a closed system for about 20 users only, who can specify locations on the map, and the web application will store the latitude and longitude of the locations and show the markers. I wanted to use google maps api, but I cancelled that since there license requires you to purchase the service if the system is a closed one. so what technology should I use in such case? I need a free option, also I will be only using web server, so if the solution includes using my own geoserver, or something like that I won't be able to do it.  Case 2: I am supposed to display the roads and routes between two given points, and probably add some notes on the map. For this I case I can use my own map server/geo server, but again I want your suggestions.  The solution needs to be open source.  Finally, I hope you could tell me what to start reading first.


My internet speed wont run at 1.0 Gbps on my Realtek PCIe Family Controller

I have an asus Gigabit Router and a gigabit NIC (Realtek PCIe GBE Family Controller) witch is running at 100Mbps rather than 1000Mbps (1.0 Gbps). When I use an old laptop on the same Ethernet cable(cat6) its running succesfully at 1.0 Gbps. Means there's no problem with the setup, router nor the cable. I tried changing the speed & duplex from auto negotiation to 1.0 Gbps but its still running at 100.0 Mbps. I also have the latest driver update for my NIC.  I think im missing something but what ? What could be the problem ?


I have a zip file ( which is named ccnx-0.7.0.tar.gzip) and a related sha file( which is named ccnx-0.7.0.tar.gz.SHA1). i downloaded them from ""  how can i extract this file in ubuntu?  thanks in advanced


What is the correct way to use hyphens when saying "eight to ten week cycle"?

A friend has asked about this and so far most seem to believe the best answer is:     At the end of an eight- to ten-week project period, the team reports their findings and recommendations to their client.   Would this be the correct way to hyphenate the sentence? Do you even need hyphens or can it be an open-compound?     Indicates that this could be an open compound since it only mentions past-participles or prefixes.


Transfer from Incheon airport to Gimpo and vice versa

I am travelling from UAE to South Korea (Gwangju). I have a flight to Seoul (Incheon airport)  then from that airport to  Gimpo Airport in order to fly to Gwangju  Return ticket will be from Gimpo to Incheon  airport.  I am trying to find the different possibilities car/bus/train to go from Incheon to Gimpo  like duration as I am afraid to miss flight, and cost. Which one might be better?


I want the camera to see things that are far away. Ive tried increasing the clip but that does nothing. Can anyone help?


Without using L'Hopital's rule find: $$\lim_{x\rightarrow 0}{\frac{\ln{(e+x)}-e^x}{\cos^2{x} -e^x}}$$ I found the first derivative because I planned to use Taylor series:  \begin{align} \frac{d}{dx}{\left(\frac{\ln{(e+x)}-e^x}{\cos^2{x} -e^x}\right)} &=\frac{\left(\frac{1}{x+e}-e^x\right)\left(\cos^2{x} -e^x\right)-\left(\ln(x+e)-e^x\right)\left(\sin{2x}-e^x\right)} {(\cos^2{x} -e^x)^2}\\ &=\frac{\frac{1}{x+e}-e^x}{\cos^2{x}-e^x}-\frac{\left(\ln(x+e)-e^x\right)\left(\sin{2x}-e^x\right)}{(\cos^2{x} -e^x)^2} \end{align}  However, it seems I haven't gone so far. Should I start from the beginning and try a different method?  Source in Croatian: 2.kolokvij, matematička analiza


I can't seem to find the cause of this NullPointerException

I'm quite new to making games in Java, and this is my first project making a game. For some reason, my code is causing a NullPointerException that I couldn't find the cause of it.  Edit: Was a very dumb mistake that caused a chain reaction it's solved now


How can I make a block only be placed on certain other blocks

I want people to only be able to place TNT on only Quartz Blocks and I've see this done before where you can only place blocks on certain other blocks but I'm not sure of the command used to do that.  Does anyone know?


Flow of alternating current in an ac circuit

I know that it the frequency of an alternating current is 50Hz.It changes its polarity 50 times. So in a circuit does the polarity gets changed these many times. It seems that it is well applicable in an ac circuit. But think of the voltage we get from the transmission lines, if we connect an iron-box to a three pin plug, does the plugs except the ground changes its polarity that many times according to the frequency.


Don't automatically dismiss custom flags (containing a comment from a user)

Currently, when users are putting a custom flag on a post, there is a chance that this flag will be dismissed before a moderator could see it.  For example, if it was a close flag, and the question got closed, all flags about the question are getting removed. Including custom ones. This was , from what I see in similar questions.  The same happens when someone wants to report a spam user, and writes a comment in the flag, about it. If enough people are flagging the post as the basic "it is spam", the answer will get auto-deleted, as well as the flag. This means that it's possible that the moderator will not even see such report of a spammer account, and it makes it harder to actually find them, after, and prevent them from posting new advertisements.  So the request is: is it possible to make it so that custom flags can only be dismissed by moderators?  This would prevent the loss of information that would be given by a user.


Does memory size increase the weight of the iPhone 6 Plus?

Are the 16, 32 and 64GB models the same weight or does increased memory increase the weight?


I am trying to find a line in haproxy configuration file:  global         log 127.0.0.1   local0         log 127.0.0.1   local1 notice         #log loghost    local0 info         maxconn 32768         tune.maxaccept -1         chroot /var/lib/haproxy         daemon         stats socket /var/run/haproxy.sock mode 600 level admin         stats timeout 2m         timeout http-request 5000  defaults         log     global         mode    http         option  httplog         option  dontlognull         retries 5         option redispatch         maxconn 16384         timeout connect 7s         timeout client  500s         timeout server  500s         timeout http-request 7000         timeout client-fin      30s         timeout tunnel  1h   What is the regex to match the line timeout http-request 5000 but only in global section. Also, we need to ensure to exclude #.


Why didn't the first years know about the Sorting ceremony?

In the first book, Harry Potter and the Philosopher's Stone, just before the Sorting ceremony, all the first years were quite terrified. No one had any idea what was going to follow (even Ron who came from a wizarding family). Why is this?  The ceremony itself is not a secret since most of the wizards in England went through it. Even if there is an unofficial rule not to talk about it, at least some of the kids would probably have heard about it and spread the news.


Why does vacuum have a nonzero characteristic impedance towards electromagnetic radiation?

On Wikipedia, the  $Z_0$ is defined as square root of the ratio of the permeability of free space $\mu_0$ to the permittivity of free space $\epsilon_0$, i.e. $$Z_0 = \sqrt{\mu_0 / \epsilon_0} \, .$$ The value is approximately 377 Ohms.  Now impedance is described as an impeding effect to flow of something, it makes more sense for electric current travelling in a wire where the characteristic impedance of the line (as the line consists of capacitance and inductance per unit length) prevents the flow of AC/DC flow.  Why in the world does free space have a characteristic impedance? That makes no sense to me. Wires makes a lot of sense, but free space having 377 ohm of impedance is too much and not clear why such a value exists.


GUI applications installed with homebrew cannot be launched using Spotlight

I have installed cocoa versions of both Emacs and MacVim using homebrew. After the installation, the actual applications are installed in /usr/local/opt/emacs/Emacs.app and /usr/local/opt/macvim/MacVim.app  They are then symlinked to /Applications  They now appear in my Applications folder, but if I want to start them using Spotlight, they do not turn up in the search results when I start typing (like other applications do)  Is there anything I can do to remedy this?


i get an error when i update my ubuntu 14.10  this is an error :  Err http://ppa.launchpad.net utopic/main amd64 Packages                           404  Not Found Err http://ppa.launchpad.net utopic/main i386 Packages                            404  Not Found Ign http://kambing.ui.ac.id trusty/universe Translation-en_US                   Fetched 22,6 MB in 4min 12s (89,5 kB/s)                                         W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/utopic/main/binary-amd64/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found  E: Some index files failed to download. They have been ignored, or old ones used instead.     what should i do fix that error ?


How can I animate a mesh moving in a spiral fashion?

I want to animate a paper as it's being tightly rolled. I've done some research and seen that using the spiral add on might be advantageous, but I haven't found anything relating specifically to my question.   How might I do this?


H2 and Hibernate (JPA) -> GenerationType.IDENTITY after persisting

I use last H2 (current master) and Hibernate 5.14.14 as JPA provider. I have the following column in table:  ID INT NOT NULL AUTO_INCREMENT   and the following field in entity:  @Column(name = "ID") @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id;   And this is my code:  //POINT A entity.getId() = null entityManager = entityManagerFactory.createEntityManager(); entityManager.getTransaction().begin(); entityManager.persist(entity); entityManager.getTransaction().commit(); //POINT B entity.getId() = null.   My question - at point B according to JPA specification entity.getId() must return the value that database (H2) generated for this column (I mean next ID for the row) or null? I need to know, why I have null at point B - is the problem in H2/Hibernate or in my understanding of JPA.


The file name(s) would be too long for the destination folders but I can't edit it

I want to move a file but its filepath/filename is too long.  Its context menu only shows a reduced list of options and rename isn't in the list, pressing F2 after selecting the file in the file explorer doesn't yield any result and trying the RENAME command from command prompt just yields a "Filename or extension is too long" error.  How can I rename this file so that it becomes editable?  (The filepath to this file includes some chinese characters but the command prompt chcp is already set on 950 which is the proper value for them)


What is the default PATH environment variable setting on fresh install of Windows 7

A user of ours cleared their path, thanks to some directions on the internet.  What is the default path, I am a developer so I have tons of extra stuff in mine, what should my user get on a plain jane one?


How can I type this (number, hebrew, number) on Stack Exchange sites, aligned left?

I'm not 100% sure if this is suitable for meta but anyhow.  In , I can type this as shown in the image.  Note - the letter is the Hebrew letter aleph (UTF-16 code of 05D0). It can be copy/pasted from charmap.    On a Stack Exchange site, I can type  aaa,אאא,bbb  and have it aligned left.  But I can't see how to type the other line. It keeps ending up looking like 1,אאא,2  Even if I type 1 then, then אאא, and then 2, it ends up as 1, then 2, and then אאא.  Interestingly, if I type 1, then 2, and then אאא it also ends up in that order, 1, then 2, and then אאא.  Hebrew is a right-to-left language...  It seems that the Stack Exchange site is counting the number and the comma as Hebrew... And thus it won't do it; it won't put the comma after the Hebrew, whereas a word seems to count comma as English, and so lets me.  And that's even when/though I'm using the English keyboard to type comma.  I've tagged it bug, but I don't know if one would call it a bug...  has the same issue... Word is fine... But it seems strange that whether I type the keys 1,aleph,aleph,aleph,2 or I type 1,2,aleph,aleph,aleph, the text comes up the same order,  1,2,aleph,aleph,aleph. That, and that I can't get 1,aleph,aleph,aleph,2 to appear in that order.


Prove that $(p\oplus q)\oplus r$ is logically equivalent to $p\oplus (q \oplus r)$

I am reviewing for my upcoming Discrete Mathematics class and I'm clueless on the aforementioned question. I've tried expounding the XOR operator in hopes of transforming the problem but still I cannot find the solution to the problem.  The title is pretty self-explanatory, how do I prove their logical equivalence without using a truth table?  The truth table of the problem looks like this:  Problem truth table


Why does \n and (String)System.getProperty("line.separator"); act differently?

My program takes a input of a text file that has words each separated by a newline and my program takes it and deals with the data, and then I am required to output to a new file whilst keeping the console output.  Now I am wondering why when I append "\n" to my stringBuilder that it prints it out as it were to have a new line in the console, but in the file output, it doesn't take it as a new line and just puts all the words in one line.  When I use newLine, then only does it give a new line in both my console output and my output file. Why is that? What does (String)System.getProperty("line.separator") do that causes this?  String newLine = (String)System.getProperty("line.separator");   try{      BufferedReader fileIn = new BufferedReader(new FileReader(fileName));       stringBuilder.append(newLine);      while((s = fileIn.readLine()) != null){         stringBuilder.append(s);         stringBuilder.append(newLine);//using newLine,       }         String a = stringBuilder.toString();       if(s== null){         fileIn.close();      }


How to use indexing for multiple table join in a single query?

Query with multiple table joins is taking too much time. How to do the indexing for the query below:  QUERY:  select  ri.id, LOWER(REPLACE(ri.name,' ','-')) as urlName,ri.name, ri.logo, group_concat(distinct rc.cuisine order by  rc.cuisine asc SEPARATOR ',         '             ) as 'cuisine_string', rc.cuisine, rai.rating, rai.min_order_amount,         rai.latitude, rai.longitude, rai.delivery_time, rdf.start_dist, rdf.end_dist, rdf.fee, ri.address_search, rai.delivery_facility, ri.status as 'restaurant_status', rt.day, rt.status 'opening_status', rt.opening_time, rt.closing_time, ' - ',rdf.end_dist, ' km',' : ','₹',fee) SEPARATOR '~') as 'delivery_fee_string', GROUP_CONCAT(distinct CONCAT(rdf.start_dist, ( SELECT  MATCH (ri.address_search) AGAINST ('Kahilipara,                 Guwahati, Assam, India') as relevance             from  restaurant_info ri             where  ri.id = rai.restaurant_id               and  ri.id = rt.restaurant_id               and  ri.id = rdf.restaurant_id               and  ri.id = rc.restaurant_id) as ord , ( 3959 * acos ( cos ( radians(26.1428694) ) * cos( radians( rai.latitude ) ) * cos( radians( rai.longitude ) - radians(91.768487) ) + sin ( radians(26.1428694) ) * sin( radians( rai.latitude ) ) ) ) AS distance     from  restaurant_info ri     inner join  restaurant_additional_info rai  ON ri.id = rai.restaurant_id     inner join  restaurant_timing rt  ON ri.id = rt.restaurant_id     inner join  restaurant_delivery_fee rdf  ON ri.id = rdf.restaurant_id     inner join  restaurant_cuisine rc  ON ri.id = rc.restaurant_id     where  ri.status = 1       and  rt.status = 1       and  rt.day = lower(DATE_FORMAT(NOW(),'%a'))       and  rai.delivery_facility != 1       and  rai.min_order_amount <= 100       and  rai.rating <= ''       and  MATCH (ri.address_search) AGAINST ('Kahilipara, Guwahati,                 Assam, India'                  )       and  rt.opening_time < '12:40:21'       and  rt.closing_time > '12:40:21'     group by  ri.id     having  rdf.start_dist = 0       and  distance < 3.10686     order by  distance asc     LIMIT  100 OFFSET 0   DESCRIPTION OF PROBLEM- This Query is taking 8.5 seconds to run. My application contains 1-2 such queries.Therefore loading time approaches 1 min on server.  Can anyone help me to apply indexing on this query?


Error : Only variables should be passed by reference

I get this error Strict warning:     Only variables should be passed by reference in include() (line 20 of   ...)   Can anybody see what is wrong here?

         <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-nav">           <?php print t('Toggle navigation'); ?>                                          </button>         <a class="navbar-brand" rel="home" href="<?php print url('<front>'); ?>" title="<?php print variable_get('site_name', ''); ?>">           <?php print isset($logo) && $logo ? theme('image', array('path' => $logo)) : '
' . variable_get('site_name', '') . '
'; ?>

           <?php print drupal_render(menu_tree_output(menu_tree_all_data('menu-top-menu'))); ?>


Can I see an 'at-a-glance' badge list for another user?

When I go  I see a pretty, 'at-a-glance', alphabetically ordered, list of badges with my badges checked. Can I see this checklist for other users?  If not, do you think it's worth implementing? Consider that the list of badges at the bottom of the user page is not a good summary view and doesn't allow you to quickly see which badges the person does or does not have.


What are the legitimate uses of the `touch` command?

What's the point of the touch command? I know I can create empty files with it, but so is also the case with echo -n.  Otherwise, why would someone need to change the timestamps of a file? Unless to create the false impression about the age of a file, I don't see any other use, and this one is not a legitimate one (from my point of view).


Let $a$ and $b$ be two unitary vectors in $\mathbb E^3$, and let $Q$ be an orthogonal matrix. Does the following hold?  $$Qa \wedge Qb = \pm Q(a \wedge b)$$


Altium: How can I edit a component from a library

I downloaded a library from the internet and I want to create a new  PCB component using the ones in the downloaded library with little editing/changes (such as the footprint). Is that possible? How?


I'm drawing splines in photoshop, exporting as AI, converting online to SVG and importing to blender to extrude and work on them. But they have no fill, so they won't extrude the way I usually extrude SVGs. I know I can fill them in inkscape and reexport, but I believe there is a way to extrude them directly in Blender. Am I right?


Can my age play as an obstacle in my Ph.D. application, and while getting student visa?

I'm 42, got my master degree in Feb 2017. I´ve 17 years of work experience in the industrial field and I'm still doing academic research with my former supervisor and publishing papers.   I am going to pursue my higher education in Australia or New Zealand.  I also need to apply for a student visa once I get my admission.   Can my age play as an obstacle in my Ph.D. application?  Would my age cause trouble when I issue a student visa too?


Enable hibernate in Ubuntu 13.04 - editing hibernate.pkla doesn't work

How do I enable the hibernate option. Editing hibernate.pkla doesn't work.   I did the following -  $ sudo gedit /var/lib/polkit-1/localauthority/50-local.d/hibernate.pkla [Enable Hibernate] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes   and restarted, but nothing happens.


Who is this old lady and is she some sort of cameo?

In Star Wars: The Rise of Skywalker I was wondering who this person is? She appears near the end of the film   I looked through quite a few of the 'cameos' websites/zines, but couldn't find anything.


java ternary operator value position on performance?

why StringUtils.isEmtpy(s)? null:s is slower than !StringUtils.isEmtpy(s)? s:null? in my test, the later one is 1 millisecond faster than first one.  test:     public static void main(String[] args) {     List<String> list = new ArrayList<String>(Arrays.asList("a", "a", "a", "a", "a", null, "a"));     Long start1 = System.nanoTime();     for (String s : list     ) {         String s1 = isEmpty(s) ? null : s;      }     Long end1 = System.nanoTime();     System.out.println("null in fisrt: " + (end1 - start1));     Long start2 = System.nanoTime();     for (String s : list     ) {         String s2 = !isEmpty(s) ? s : null;      }     Long end2 = System.nanoTime();     System.out.println("null in second: " + (end2 - start2)); }   //output     null in fisrt: 98600     null in second: 8200


Is it possible to remove duplicates from search results?

I am using the following query (in the top-right search field): [worklight] is:question answers:0.  Some of the results are marked with [duplicate].  Is it possible to exclude these? I could not see a proper option for this in the search help section.


Table doesn't fit to page width properly

The table produced by this code always goes out off the width of my page. I want the table to fit within the width of the page. I tried giving extra \\ in between but it made it worse only.  \begin{tabular}{|l|l|} \hline   LocationProvider & Description \\   \hline   network & Uses the mobile network or WI-Fi to determine the best location.Might have a higher precision in closed rooms than GPS. \\ \hline  gps & Use the GPS receiver in the Android device to determine the best location via satellites. Usually better precision than network. \\ \hline  passive & Allows to participate in location of updates of other components to save energy \\  \hline  \end{tabular}   The result:


I am making a game where 9 words will be shown. After 30 seconds another set of 9 words will appear but with one word replaced. The aim of the game is to find which word was replaced. My question is how do I present the new set of words by clearing everything else on the file that is running. All I could think of was printing \n * 1000 which is not accurate as the player can just scroll up. Is there any alternate way?


Proving series $\sum\frac{x}{1+n^2x}$ is not uniformly convergent on $[0,1]$

Question asks to show that series $\sum\frac{x}{1+n^2x}$ is uniformly convergent on $[\alpha,1]$ for any $\alpha > 0$ but is not uniformly convergent on $[0,1]$  I could show that the above series is uniformly convergent on $[\alpha,1], \alpha > 0$ by using inequality $\frac{x}{1+n^2x} < \frac{x}{1+n^2\alpha} = u_{n}$, which is convergent by Raabe's test and hence the series is uniformly convergent on $[\alpha,1]$ by Weierstrass M-test   But i am clueless how to show it non uniformly convergent on $[0,1]$


Prove that $$|\frac{a-b}{1-\bar ab}|=1$$ if $|a|=1$ or $|b|=1$   I assumed $|a|=1$. Then tried to show that our statement holds.  I wrote $a=a_1+ia_2$ and $b=b_1+ib_2$ and $\bar a=a_1-ia_2$  Also $$|a|=|\bar a|=a_1^2+a_2^2=1$$  However, after multiplying it all out it doesn't get me anywhere.  I figured maybe I have to use triangle inequality, in particular I know that:  $|a+b|\leq |a|+|b|$ and $|a+b| \geq |a|-|b|$  Should I take $-b$ instead of $b$? Then the inequality becomes:  $|a-b| \leq |a|+|-b|$ and $|a-b| \geq |a|-|-b|$ which looks more similar to what I need.


I am using phpmysql for my website. And I store Unicode in utf8_general_ci.  When I tried to display the Unicode column using php some ????????? is displayed instead of Unicode data.  Note: I just tried to retrieve the data from database using mysqli.   Thanks


Using \nocite{*}, Want to exclude specific journal articles

I'm using \nocite{*} at the end of my dissertation to print a bibliography of all secondary sources that are relevant to my thesis. But I want to suppress from my bibliography a few newspaper articles that I quote in my conclusion but are otherwise insignificant. I know I could manually list the cite keys I want to  print, but to type that list out manually would take forever. Is there a way to automatically create a list of all my cite keys and then just delete the few that I want to suppress? Or is there a way to maintain the \nocite{*} command but create an exception for the entries I want suppressed?


Changing the language in Windows 8.1 single language

I followed the instructions in this  question  but now windows won't start properly, the screen is on but it's just black and I can see the cursor if I move it but I can't do anything else.


What are all the ways to increase Friendship in Pokemon X/Y?

I'm looking for all the ways to increase Friendship in Pokemon X and Y.  Note that Friendship is different from Pokemon Amie Affection; they both do different things.


I want to animate an object similar to a torus, like lips in the air.  What is the is the best way to do it? I try this way and the result at the top is not satisfactory.


How do I render a shiny metallic or chromed material?

I really thought I got this but I can't seem to get this material right. I'm trying to achieve this:     In case, anyone wants to see more photos of this, it's the Dior foundation cap. But I cant seem to get it to shine like this. Although I've tried various nodes, this is what I'm doing currently:  And this is what I'm getting:  My roughness for the above image is at 0.192 and reducing it further isn't looking great. I've also tried using principal BSDF with metallic at 1 but that didn't look similar to what I want either. This is the HDRI I'm using:  Any tips on how to come closer to the reference images would be really appreciated! Edit for Jachym:


Page numbers > 99 in the table of content are not aligned correctly (cleanthesis)

How can I correctly align page numbers > 100 in the table of content? I use the cleanthesis template.   \documentclass[draft=on]{scrbook} \usepackage{blindtext} \usepackage[ngerman]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[svgnames]{xcolor} \usepackage{cleanthesis}   \begin{document} \tableofcontents  \section{Section 1} \blindtext[100] \section{Section 2} \blindtext[500] \section{Section 3} \end{document}


Is there a way that we could rename wp-includes folder   I have found out there are ways to do for other folders. But how do we do it for wp-includes folder?


Prove that if matrix $A$ is an $m\times n$ and $B$ is $n\times p$, then $\operatorname{rank} AB$ is less than or equal to $\operatorname{rank} B$

Prove that if $A$ is an $m\times n$ matrix and $B$ is an $n\times p$ matrix, then $\operatorname{rank} AB$ is less than or equal to $\operatorname{rank} B$.  The hint is: prove that if the $k$th column of $B$ is not a pivot column, then the $k$th column of $AB$ is not a pivot column of $AB$.  I don't think I am allowed to use row space, column space or the Sylvester's inequality as we haven't learned them yet in the class.  I have been stuck here for ages, so hints or solutions are very appreciated.  Thank you for your time.


Why do we define compactness via (finite) open covers, why not closed?

I fully understand the notion of compactness, but today I as wondering why we restrict the coverings to consist of open sets? I understand there is a separate compactness formulation for closed sets using the finite intersection property, but intuitively, why must the covers be open in the standard definition of compactness?


If $X$ and $Y$ are independent random variables, does it follow that $X^2$ and $Y$ are independent?

If  $X$ and $Y$ are independent random variables, then can I say that $X^2$ and $Y$ are independent?


How to find the magnetic field in a toroid with time-dependent current $I(t)$?

The problem would be straightforward if the current $I$ were constant through the toroid. However, this is not the case.  The current is time dependent according to $I = I_{o} e^{-\gamma t}$.  So, if I'm right, a classic Ampere's Law approach doesn't work here. Because the $B$ field through the center of the toroid would change over time, it would cause an electric field, which must be taken into account in the magnetic field.  The toroid in question has a cross sectional radius $r$, internal radius $a$, and outer radius $b$.   I feel like I am missing something, or approaching the problem incorrectly, as I do not know how to find the $E$ field induced by the changing $B$ field. From there, I do not actually know what the math would look like. I also have to calculate the self-inductance of the toroid after this, which I would do by finding the flux through the cross section of the toroid and comparing it to the current through the same area. But, I can't do that yet, because I don't have the magnetic field to find the flux!


Burgers' equation $u_y + uu_x = 0$ with $u(x,0)=-x$

I couldn't solve this problem, can you help me please?  The Burgers' equation   $$ u_y + uu_x = 0 $$ $ - \infty < x < \infty $ , $ y > 0 $ , $ u(x,0)=f(x) $  My question;  is there any solution $ f(x)= -x $ for all $ y>0 $ , if not, why?  Thank you for your help.


My sw ntfs shared directory is an installation directory on a windows 2008 server. I'm using Ubuntu 12.04  I did the mkdir /media/sw and smbclient -L successfully... then while in root I tried   mount -t cifs -o user=username,ro //132.72.116.14/sw /media/sw    and got:   mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


How to cite author's name in a research paper?

I try to add the author's name of a paper to describe their contributions. But it does not work:  \usepackage[numbers]{natbib} \citeauthor{24}    This is the output of my pdf looks like this: "(author?)"  I'm using  \bibliographystyle{ieeetr}


I want to delete files from a folder that is created from another process with the 2019-02-21 format.   # Clear every 6 hours, 5 minutes */5 */6 * * * find /data/ding/dong/$(date '+%Y-%m-%d') -type f -exec rm -f {} \;   Update  Actually $(date was not working with cronjob. see the answer for solution.


I haven't logged onto my blog for years, and have, of course, forgotten the password. I click the 'Forgot' button and get a mail with a link, but that mail already says     Sorry, that key does not appear to be valid.   And sends me round the click to reset, receive a mail, click the link again etc. As if the timeout for password resets has been set to 0.5s or something.  This is a shared hosted blog, so I have full access to cPanel and all of the WP files via FTP, if that helps anything.


Winform - determine if mouse has left user control

I am struggling with something that I think should be easily (ish).  I have a windows form and a flowgridlayout panel at the bottom of the form.  Inside this form I dynamically populate it with X number of User Controls.  The controls are all the same type.  The goal is when the user hoovers the mouse over the user control it opens another form and positions it where the mouse is.  When mouse leaves the form the opened form disappears.  This almost works great.  The problem is when the User Control has anything like a label or text box inside it.  It is considered to have left the UC so the form disappears.  My thought was then to use the X and Y to tell if it is inside the UC but I can not figure this out.  Can I ask:  1)  What is the best approach to this? 2)  How can I code it, as the UC's are dynamic I can not know exactly where they will be.  Thanks  EDIT  I am trying to figure out the mouse pointers but not getting there.  The code below is within the UC SmallTagBox_MouseLeave event:          Point loc = this.Location;         Point p = this.PointToScreen(this.Location);         Point p2 = this.PointToScreen(this.Parent.Location);          Point ms = MousePosition;         Rectangle screenBounds = new Rectangle(this.PointToScreen(this.Location), this.Size);         if (!screenBounds.Contains(ms))         {             thw.Close();             thw = null;         }    loc {X = 275 Y = 3} System.Drawing.Point p   {X = 808 Y = 908}   System.Drawing.Point p   {X = 808 Y = 908}   System.Drawing.Point p2  {X = 545 Y = 1542}  System.Drawing.Point ms  {X = 574 Y = 914}   System.Drawing.Point screenBounds    {X = 808 Y = 908 Width = 62 Height = 29}    System.Drawing.Rectangle   I do not understand how p2 (its parent) can have a greater Y value relative to the screen.


What is most efficient way to find the sum of the series: (N/2^2)*2^2+(N/3^2)*3^2+(N/4^2)*4^2+........

I have been given a series: $$\lfloor(N/2^2)\rfloor*2^2+\lfloor(N/3^2)\rfloor*3^2+\lfloor(N/4^2)\rfloor*4^2+....+\lfloor(N/\lfloor\sqrt(N)\rfloor^2)\rfloor*\lfloor\sqrt(N)\rfloor^2$$  Where N is a natural number. I know it can be solved in $O({\sqrt N})$ time complexity, but can there be any other way to solve this.


Does drush need to be installed as root?

Per   # Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. php -r "readfile('http://files.drush.org/drush.phar');" > drush # Or use our upcoming release: php -r "readfile('http://files.drush.org/drush-unstable.phar');" > drush  # Test your install. php drush core-status  # Make `drush` executable as a command from anywhere. Destination can be anywhere on $PATH. chmod +x drush sudo mv drush /usr/local/bin  # Optional. Enrich the bash startup file with completion and aliases. drush init   So I try it but get the following error:  [Michael@devserver ~]$ php -r "readfile('http://files.drush.org/drush.phar');" > drush [Michael@devserver ~]$ php drush core-status PHP Warning:  pcntl_exec(): Error has occurred: (errno 13) Permission denied in phar:///home/Michael/drush/includes/startup.inc on line 359  Warning: pcntl_exec(): Error has occurred: (errno 13) Permission denied in phar:///home/Michael/drush/includes/startup.inc on line 359 Error has occurred executing the Drush script found at /home/Michael/drush (errno 13) Permission denied [Michael@devserver ~]   So then I try running it as root.  [Michael@devserver ~]$ su - Password: [root@devserver ~]# php /home/Michael/drush core-status  PHP configuration      :  /etc/php.ini  PHP OS                 :  Linux  Drush script           :  /home/Michael/drush  Drush version          :  8.1.2  Drush temp directory   :  /tmp  Drush configuration    :  Drush alias files      :  [root@devserver ~]#   So, all is good, and I just need to install it as root?  Any way I can install it as a normal user?  Thanks


Under which representation (and how exactly) transforms the given bispinor?

I am currently reading through Chapter 27 (Spinor helicity formalism) in Schwartz´s "QFT and the SM". In this chapter it says that since 4-momenta transform in the (1/2,1/2) representation of the Lorentz group they are more naturally described as bispinors.  To represent momenta as bispinors, we use the $\sigma$-matrices: $p^{\alpha,\dot{\alpha}} \equiv \sigma^{\alpha,\dot{\alpha}}_{\mu}p^{\mu}$  Furthermore it says  In the special case that the momentum is lightlike we find $det(p^{\alpha,\dot{\alpha}}) = 0$.(...) As a result from linear algebra is that any 2x2 matrix with zero determinant can be written as an outer product $p^{\alpha,\dot{\alpha}} = \lambda^{\alpha}\lambda^{\dot{\alpha}}$ for two vectors $ \lambda^{\alpha}$ and $\tilde{\lambda}^{\dot{\alpha}}$.  I understand that a left-handed spinor (eg. $\lambda^{\alpha}$) transforms under the (1/2,0)-representation of the Lorentz group and that a right-handed spinor (eg. $\tilde{\lambda}_{\dot{\alpha}}$) transforms under the (0,1/2)-representation of the Lorentz group. On the other hand the bispinor has one dotted and one undotted index. Therefore I don´t know under which representation and how this object transforms.


Describe explicitly $\operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_n, \mathbb{Z}_m)$.

Describe explicitly $\operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_n, \mathbb{Z}_m) := \{\varphi:\mathbb{Z}_n \rightarrow \mathbb{Z}_m \mid \mathbb{Z}\text{-linear homomorphism}\}$  There is an answer to this question that says $\operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_n, \mathbb{Z}_m) \cong \mathbb{Z}_{(n,m)}$ where $(n,m)=\gcd(n,m)$. But I am having some trouble seeing this.  For the sake of an argument, suppose the above answer is true, that $\operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_n, \mathbb{Z}_m) \cong \mathbb{Z}_{(n,m)}$. Suppose $n=4$ and $m=8$. Then $\operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_4, \mathbb{Z}_8) \cong \mathbb{Z}_4$.   Now consider each of the following maps in $\operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_4, \mathbb{Z}_8)$:  $\varphi_1(1)=1$   $\varphi_2(1)=2$   $\varphi_3(1)=3$   $\varphi_4(1)=4$   $\varphi_5(1)=5$  $\varphi_6(1)=6$  $\varphi_7(1)=7$  Are each of these maps not unique? If there are two that are identical, could you please explain which two and why? Thank you!  My alternate answer is that $\operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_n, \mathbb{Z}_m) \cong \mathbb{Z}_m$, since I think each $\varphi \in \operatorname{Hom}_{\mathbb{Z}}(\mathbb{Z}_n, \mathbb{Z}_m)$ is uniquely determined by where it maps $\varphi(1) \in \mathbb{Z}_m$.


Can't connect to ubuntu archive when using apt-get update

I am trying to apt-get update but it gets stuck on   0% [Connecting to ph.archive.ubuntu.com (202.90.159.172)]  and after a couple of minutes it gives me the following:  Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]      Hit:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease Err:3 http://ph.archive.ubuntu.com/ubuntu xenial InRelease                        Could not connect to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80] Err:4 http://ph.archive.ubuntu.com/ubuntu xenial-updates InRelease   Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] Err:5 http://ph.archive.ubuntu.com/ubuntu xenial-backports InRelease   Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] Fetched 102 kB in 2min 0s (846 B/s)                       Reading package lists... Done W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not connect to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80] W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80] W: Some index files failed to download. They have been ignored, or old ones used instead.   I have tried disabling IPV6 connection as described  but it doesn't seem to fix the problem. What should I do? I'm an Ubuntu newb and using 16.04.


Ubuntu in VirtualBox wants to install on every boot

I have installed Ubuntu 11.10 using Virtual Box in my Windows XP. I have use Ubuntu 11.10 iso to install it. First time when I installed every thing was fine but when I shutdown the VirtualBox and start Ubuntu again, it asks me to install Ubuntu and try Ubuntu without installing.  Do I need to do some extra settings?


Background Subjects Required to Understand Quantum Field Theory?

I tried making it through some video lectures, but got stuck at the Principle of Least Action being used to derive various equations of motion.


How to configure TeXnicCenter 2.0 with Sumatra (2013--2016 version)

Despite having gone through     and having looked at the , there seems to some little changes for TeXnicCenter version 2.0 as of May 2013.  How can I make TeXnicCenter 2.0 to work with Sumatra?


I accidentally placed my hot chicken on the counter for 1 hour and 15 minutes last night before placing it in Tupperware and storing it in the fridge for lunch today.  Before people reference the FDA, I see it says two hours. My question is: does this number change since my chicken was right out of the oven and steaming hot?


Does Python have an alternative to R's ifelse function? That is, one-line replacement for:  b = np.random.randn() i = '' if b > 0:     i = 'non-negative' elif b == 0:     i = 'zero' else:     i = 'negative'   So it assigns a value to a variable according to the value of another variable.


Badge request for heavy downvoters: punisher

I wonder if there is such a query on , similar to  on user base who cast the most downvotes.


Does an unpublished document you upload to ResearchGate count as prior publication when submitting to a journal?

On ResearchGate, if you upload something like a thesis, and then it says publish resources, does this mean the thesis becomes properly published in the sense of the usual requirements of journals that there be no prior publication of the submitted work?   I ask because I’m drafting thesis chapters into journal articles and did not choose to publish the thesis as a whole work in order to do so, so I want to make sure that by clicking publish resources I am not actually publishing the copy I’ve uploaded, I’m just making it publicly available? Does this mean it becomes published despite it not technically being a published work? (If so, I’ll just remove the copy I uploaded).


Can a DNS wildcard only be the leftmost part of a record?

I'm using TinyDNS, and have successfully used wildcard records of the form:  +*.<domain>:<ip>   (+ for A records.)  Can I also use:  +development.*.<domain>:<ip>   ?  My intention is for all subdomains to have their development website point to our dev machine in one rule.


How to set wpf image source from string data?

I have a string value in cs code from [Image] column of mytable in mydatabase that type is varbinary(Max), now want to set value to source of Image control.   I wrote this code, but not set image to source :  string strImage = "0xFFD8FFE000104A46494600010....."  static byte[] GetBytes(string str) {     byte[] bytes = new byte[str.Length * sizeof(char)];     System.Buffer.BlockCopy(str.ToCharArray(), 0, bytes, 0, bytes.Length);     return bytes; }   In constructor :  var bytes = GetBytes(strImage); var myImage = new MyImageModel {Content = bytes}; MyImg.DataContext = myImage;   In Xaml:   <Image x:Name="MyImg" Source="{Binding Path=Content}"/>           The above code does not work and is not an error.


How to tag a member in a post that is not currently in that post?

Let's say I want to reference a member in a question. The member would probably be a significant contributor to the field or a known expert in the field relating to my specific question, so they might be interested in joining in on the problem to find an answer. Good for them, good for me. Can this be done currently in SO? Perhaps using the @ in front of their name.  There is potential for abuse and members could become annoyed by such tags. However, the notifications could be separate from the inbox, or filtered out if desired. This feature will appeal to members who recognize that a tag to an expert (with a large reputation) might not be as effective as a tag to an expert of a field with a much smaller scope. The feature will draw out those members and could further the richness of answers on SO. And the tags could be required to be added separate from the question (so as not to distract from the question itself), limited to only a few in number, and an initial rep requirement before the feature can be used.


"errno 5 - input/output error" when trying to install Ubuntu

Today I downloaded Ubuntu for my laptop. It runs great from a bootable USB, but when I tried to install it, I got the following error message: The installer encountered an error copying files to the hard disk:  [Errno 5] Input/output error  This is often due to a faulty CD/DVD disk or drive, or a faulty hard    disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower   speed, to clean the CD/DVD drive lens (cleaning kits are often    available from electronics suppliers), to check whether the hard disk   is old and in need of replacement, or to move the system to a cooler   environment.     I tried everything to install it on my laptop including redownloading the Ubuntu ISO image, but nothing worked.


apt install "*" method in Ubuntu 20.04 does not work

I was trying to install all python packages using sudo apt install python3*, but it gave me this error: newtron@newtron:~$ sudo apt install python3* Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package python3*


How do I move my Home directory onto a USB EXT4 drive (18.04)

Following a default minimal installation of 18.04, I now want to move my /home directory to an EXT4 formatted USB flash drive.  By default in 18.04 the /home directory is mounted as part of the / partition.  Is there a clean and safe way to move/reconfigure my /home directory to the USB flash drive, or would it be cleaner/safer to reinstall Ubuntu and configure the /home directory on USB during the install process? Or, is having your /home folder on a separate USB drive ill-advised?  I've looked at many similar questions/answers, but can't find a contemporary clean and clear solution.


Existing answers should be eligible for bounty auto-award, when the reason for bounty is to reward an existing answer

I am not asking...     ... to  for reward-type bounties.   ... for the  the winning answer, either.    My request is this:      When a user sets a bounty to reward an existing answer, existing answers should be eligible for auto-award of the bounty.    It makes no sense to deny eligibility to the answers that the user explicitly wanted to reward.     An Example: Math.SE currently has three 500-point bounties set by a departed user, with the stated reason "reward existing answer". They are set to questions with outstanding and very thorough answers. However, those answers will not receive bounty now, because the originating account has been deleted. The bounties are still there, owned by Community and subject to auto-award rules.


Let $\{a_n\}\in\mathbb R^{\mathbb N}$. Does there exist $h\in C^\infty(\mathbb R)$ with $h^{(n)}(0)=a_n$ for every $n$?

If the power series $\sum_{n\in\mathbb N}a_n\frac{x^n}{n!}$ converges for all real $x$, then the answer is trivially yes.  If the power series above has radius of convergence $3r>0$, let $\psi_r\in C^\infty(\mathbb R)$ be supported in $[-r,r]$ with $\psi_r(0)=1$ and $\psi_r^{(n)}(0)=0$ for $n>0$, and observe that $$ h(x):=\begin{cases} \psi_r(x)\sum_{n\in\mathbb N}a_n\frac{x^n}{n!}&\text{if }x\in [-2r,2r],\\ 0&\text{otherwise} \end{cases} $$ does the job. (For the sake of completeness, I construct such a $\psi_r$ below.)  The case where $\sum_{n\in\mathbb N}a_n\frac{x^n}{n!}$ converges only at $x=0$ (e.g., if $\{a_n\}$ is something awful like $\{(n!)^2\}$) is the one I'm stuck on.    Here we construct the function $\psi_r$ used in the second case above: Define $$\begin{align} f(x)&=\begin{cases} e^{\frac {-1}{x}}&\text{if }x>0,\\ 0&\text{if }x\leq 0 \end{cases}\\ g(x)&=\frac {f(x)}{f(x)+f(1-x)} \end{align}$$ as in . Then $$\begin{align} \psi(x)&:=1-g(x)-g(-x) \end{align}$$ is a $C^\infty$ function with support $[-1,1]$ satisfying $\psi(0)=1$ and $\psi^{(n)}(0)=0$ for all $n>0$ (this much is clear from the list of properties of $g$ given in the linked article). Take $\psi_r(x)=\psi(x/r)$, and observe that $\psi_r$ does the job.


A friend of mine received a letter stating the following: "The committee has issued orders to suspend John Doe for 30 days from the 20th of April 2018 until the 19th of May 2018." So, does the suspension end on the day of the 19th of May, or the 20th of May? Thanks.


Java NullPointerException due to indexing array

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.  So it gives null pointer exception at arr[i] = i;. I am new to Java programming so I wanted to try arrays    public class Multiples     {         private int arr[];         private int sum = 0;      public void multiples1()       {         for(int i= 0 ; i <= 1000; i++)             {                 arr[i] = i ;                 if((i%3 == 0 && i%5==0))                     {                         sum = sum + arr[i];                                              }                                }            System.out.println(sum);       }   }


What is the meaning of set -e -o pipefail?

What is the meaning of the below command? I am new in shell scripting. set -e -o pipefail


This is coming from Charlie and Cardi B on BBC1 radio show:     Charlie - Would you rather have a night out with me or Offset?   Cardi B - With my man (Offset)   Charlie - Come on, man! I know London better than Offset, I can show you all sick spots.   What does “sick spots” mean?


I am having problems downloading and installing ubuntu macbook from this site

The download says it cannot write to disk or driver.


I recently started a new job,one of my male colleagues keeps referring to me as trouble. 'Hello trouble, how are you trouble'. What does this mean?

He keeps ringing me up saying, 'Hello trouble', or 'bye trouble. I don't understand it. I've never heard of this as a nickname


Book about genetic engineering to defeat disease that turns children into hermaphrodites

The initial plot was about genetic engineering being used to defeat disease, but something went awry that caused a massive social upheaval, where people in social settings would have a lapel pin or small badge that showed their blood type, so they could match up with someone compatible ( and not catch/cause a worse disease ).  An unknown effect of this genetic engineering was that newer children born turned into a sort-of hermaphrodite where they would physiologically switch genders under certain circumstances ( either puberty or pregnancy, I don't remember ).  The protagonist eventually adopted the surname Dos Caras ( meaning two-face or two-faced? ) and ended the story with a compatible mate.  All I remember of the antagonist was that he was a real ass, and regardless of the gender he/she was at the time, would flaunt the social custom of showing blood type in a gathering ( by wearing whatever blood type corresponding to the person he/she was interested in, and not his/her own ) just so he could 'sow his seed far and wide' to spread the genetic mutation that causes children to switch physiological genders.  The antagonist might have even died, by the end of the story, but that's one of the more fuzzier parts.


I am having a terrible time finding information on this and I am hoping someone here can help or point me in the right direction.  I am working on a project of setting up an IIS webfarm that is multi-site - that is, example.com will be hosted from location A and location B in high availability or load balancing.    I currently have an IIS farm in test that is working fine, but it is in the same geographical location and thus a single public IP address to access it from the outside.  I am stumped as to how I can have two public IP addresses, one for each geographical site, and make the environment highly available.    If I haven't explained my environment thoroughly, please let me know.  This is my first foray into this sort of thing and just trying to do my best.  Thank you,


How many numbers up to $1000$ are there such that the sum of digits is divisible by $7$ and the number itself is divisible by $3$?


How to prove that minimum of two exponential random variables is another exponential random variable?

How can I prove that the minimum of two exponential random variables is another exponential random variable, i.e. Z = min(X,Y)


collection of all non invertible elements in the ring is the maximal ideal

Let $R$ be a ring with unit and let $M(R)$ be a collection of all non invertible elements in $R$. If $M(R)$ is a ideal in $R$, prove that this is the only and maximal ideal  My thoughts: suppose there is a bigger ideal choose some invertible element in the bigger ideal so the bigger ideal is the whole ring because there are two elements such that $u\cdot v=1$.


Sony NEX5: Why do I have a dark spot in my images?

When I look through the display, I see always a small grey circle at the same place. Also in the picture it's the same circle. When I change the lens, the circle is still there. So I assume it's something with the sensor. Has the sensor an error?  What could happened (spot wasn't always there)?  Is there a way to fix that (I used the lens cleaning program)?  Warranty case?   Thanks  Here is an example:


There is a D state process (stuck) which is not killed even by kill -9. I see PPID is systemd.  root       1863      1     0        **Ds**    /usr/sbin/smartd -n  root          1      0     0        **Ss**    /usr/lib/systemd/systemd --switched-root --system --deserialize 23   How can I kill the D state process without a node hard reboot?


I'm trying modeling things like this using oracle:  An account can have 1~5 members  So I'll have a account table and a member table with a FK of account. But is that possible to check if the account have less than 5 members?  I've tried constraint and trigger but oracle doesn't allow sub queries in constraint or condition of trigger like  CHECK( SELECT ...) or IF count(*) >= 5  which make things getting hard.


In what formal system is Godel's Incompleteness Theorem (or similar statements of undecidability) proven?

For example, consider the proof using Rosser's trick as shown on wikipedia.  That proof isn't inside the arithmetical theory T, but in some higher level meta-theory. So if I wanted to do meta-reasoning about Godel's proof (or Rosser's etc), I would need a system that could refer to or even encode statements like "For any fixed arithmetical theory $T$, let Proof$_T(x,y)$..." In what formal system would the statement "For any fixed arithmetical theory $T$..." exist? It obviously wouldn't be in $T$ itself since that would be tantamount to a proof that $T$ is consistent that is inside $T$, in which case $T$ would be inconsistent by Godel's second incompleteness theorem, thus making $T$ useless as a formal system. Is it second order logic? ZFC?


Prove that the order of an element $g$ in $G$ is equal to the order of its inverse.

I was wondering if the following proof looks okay.  Proof. Let $g$ be any element of a group $G$. Then by definition, the order of $g$ is the least positive integer $n$ such that $g^{n}=e$. We define the order of the element $g$ as $|g|=n$. Now, we wish to show that in any group, an element and its inverse have the same order.   For the inverse of the group element g,  $(g^{-1})^{n}=g^{-n}=(g^{n})^{-1}=e^{-1}=e$.  Since the order of $g^{-1}$ is the least positive integer $m$ such that $(g^{-1})^{m}=e$, it follows that $|g^{-1}|\le |g|=n$.  Likewise, $((g^{-1})^{-1})^{m})=(g^{-1})^{-m}=(g^{-m})^{-1}=((g^{m})^{-1})^{-1}=(e^{-1})^{-1}=e$  Then since $(g^{-1})^{-1}=g$, $|g|\le |g^{-1}|.$  Therefore, the order of $g$ is equal to the order of its inverse. QED


How do I access Ubuntu on Acer Chromebook after installation?

I have installed Ubuntu in my chromebook but it only boots into chrome OS. My goal is to have my Chromebook booting into Ubuntu.


Is there a way to use XPath in Ruby without specifying the tag?  For example, I want to get all elements whose class contains 'trow1'. Not just tr, as the code below is doing:  doc.xpath("//tr[contains(@class,'trow1')]")


How can I remove mold from the outside of a DSLR body?

I have always been into photography, but did not have my camera out at all this winter. Got it out today and there is mold on the body of the camera, on the outside of the lens ring. What's the best way to remove it? Do I need it done professionally or can I do it myself? If so what is the solution I need? I've heard isopropyl alcohol or vinegar.  It does not look like there is any mold in the body itself (fingers crossed) or on any of my lenses that I can see.


Why aren't the outputs of the softmax and logistic function the same in this example?

I am trying to understand the equivalence between the logistic function and the softmax function, when k = 2. My understanding is that the following code should output the same values. Where is my mistake?  def sigmoid(x):     x = np.asarray(x, dtype=np.float)     x = 1 / (1 + np.exp(-x))     return x  def softmax(x):     x = np.asarray(x)     x = np.exp(x)/np.sum(np.exp(x))     return x  x = .5 b1 = 1 b2 = -1 sigmoid(x*b1), sigmoid(x*b2), softmax([x*(b1-b2), x*(b2-b2)]) --- Output> 0.6224593312018546, 0.3775406687981454, array([0.73105858, 0.26894142])   Is it because I am assuming that the softmax optimization would find the same betas?


Difference between wear makeup and put on makeup

Do the following sentences have the same meaning?        She put on  makeup.   She wore  makeup.


Is Beta Site Self-Evaluation Still Relevant?

Now that the graduation process for beta sites has been changed, will there be any more self-evaluation reviews?  It appears that they are no longer necessary.  A similar question:  was asked a year ago, before the graduation changes.  At that time self-evaluations were occurring less frequently.    They never seemed to attract much participation, and I haven't seen one for a while now.  Are they dead or just in limbo?  I don't think they'll be missed.


User root can't write to file in /tmp owned by someone else in 20.04, but can in 18.04

In Ubuntu 18.04, I can create a file as one user in /tmp, and write to it as user root (despite the sticky bit being set on /tmp). In Ubuntu 20.04, I get a Permission Denied error as user root. Ubuntu 18.04: # As user "ubuntu": touch /tmp/tmplock  # As user "root": echo "foo" > /tmp/tmplock  cat /tmp/tmplock # Outputs "foo"  ls -lah /tmp drwxrwxrwt 32 root   root    20K Jun 16 18:36 . -rw-rw-r--  1 ubuntu ubuntu    4 Jun 16 18:36 tmplock  Ubuntu 20.04: # As user "ubuntu": touch /tmp/tmplock  # As user "root": echo "foo" > /tmp/tmplock # Outputs: bash: /tmp/tmplock: Permission denied  ls -lah /tmp drwxrwxrwt 12 root   root   4.0K Jun 16 18:15 . -rw-rw-r--  1 ubuntu ubuntu    0 Jun 16 18:14 tmplock  I can't find any information on if this is related to the sticky bit, or an underlying Linux kernel change, or anything. Does anyone know what can explain the change in behavior?


Will dynamic link library must be loaded into RAM

As we know, any executable file, which is running, is loaded into RAM.  Also, we have two kinds of libs: static link library and dynamic link library.  The two kinds of libs should be loaded into RAM too while they are needed.  As I know, we have two ways to load the dynamic library:   link it while compiling, such as g++ -lsofile load dynamically in the code, we have dlopen to do this   I've post  but I can't still make sure that we could list all lib files. For the first case above, I think we can get the link file with ldd, or check /proc/{PID}/maps. But for the second case, I'm thinking if I can get the link files with some method, here is an example:  void SomeModule() {     //dlopen here to link mysofile }  int main() {     if (user_enter == 'a')     {         printf("hello world");     }     else     {         SomeModule();     } }   In this example, when we execute it and type always a, the dlopen will never be called, so mysofile will never be linked, which means that mysofile will never be loaded into RAM. Am I right?  If so, how can I get the necessary lib files of the executable file except reading the source code?


My Ubuntu 16.04 is suddenly started booting in to the tty1 mode. I'm not able to use gui by pressing ctrl+alt+f7. When I login in tty mode it says  -bash: /usr/bin/lesspipe: /bin/sh: bad interpreter: No such file or directory   I also tried startx and got this error  -bash: /usr/bin/startx: /bin/sh: bad interpreter: No such file or directory   How could I solve this problem and Why this happened suddenly?


How to remove duplicate imported photos in Shotwell

I've noticed that Shotwell has imported many images twice (e.g. from my camera SD card). Apparently the  once a photo is imported, tagged and then re-imported.  I have "write meta data tags" enabled in the settings. If I import a photo test-images.jpg and add tags to it the photo will not be picked up by the duplicate detection upon another import of the same file. The second time the file is imported it will be named test-images-1.jpg and placed in the library folder as per the active rules (not necessarily into the same folder).  test-images.jpg and test-images-1.jpg will have the same image data but due to the added tag/metadata the files are not the same anymore and won't be picked up by searching for duplicates (e.g. md5 hash).  My usage scenario that caused multiple duplicate is as follows:   I take pictures with my phone I import the photos from my phone, add tags but leave the images on the phone as I want to keep them for sharing etc. I add further tags to the imported photos After some weeks I repeat the import step from the phone and old photos that I have already imported will be imported again (with '-1.jpg' or '-2.jpg' added)   How to clean up the duplicates? Using a file name based search would be possible but I can't exclude that I have not imported a file ending with -1 to which was not imported as a duplicate.  How can I clean up my photo library? I tried to use the search function in Shotwell but with more than 1000 photos there must be a better, more reliable, less error prone an simpler way.  I'm not to worried about tags getting lost, typically the second import (the duplicate) has no tags applied.


Make 7-Zip extract an archive directly to a directory

Whenever I extract an archive using 7-Zip, it performs a two step operation. First it extracts the contents of the archives to a temporary folder, then Windows copies the files from the temporary folder to the target directory.   The second part of this operation can take some time, especially if there were a large number of small files in the archive. It seems like the operation could be sped up if 7-Zip just extracted the files directly to the target directory to start with. Is there a way to make it do this?


I have a problem with my trigger. In Sandbox, everything works fine. When I deploy it to production, I receive multiple exceptions - which is really strange, because I got angry and put the whole code in "try" block. When I put everything in "try" block, it shouldn't be possible not to catch an exception! This is how my code looks: trigger UpdateLeadField on Lead (before insert, before update) {      //debugging in progress     try{         if(Trigger.New[0].SomeField__c==NULL)         {             for(Lead obj: trigger.new)                 obj.SomeField__c = obj.OwnerId;             return;         }              if (Trigger.New[0].OwnerId != Trigger.Old[0].OwnerId)          {             for(Lead obj: trigger.new)             {                 if(Trigger.New[0].SomeField__c==NULL || [SELECT Name FROM UserRole Where Id = :[SELECT Id, UserRoleId FROM User WHERE Id = :obj.OwnerId][0].UserRoleId].Name == 'Some role')                 obj.SomeField__c = obj.OwnerId;             }         }     }     catch (Exception e)     {         System.debug(e);     } }  The main problem seems to be with Web-to-Lead - When deployed, it stops working. The exception:  Apex script unhandled trigger exception by user/organization: 005C00000XXXXXX/00XXXXX0000LXXQ UpdateLeadField: data changed by trigger for field Some field: id value of incorrect type: 00GC00000XXXXXqMAC  "Some field" is a lookup field.


The nucleus of an atom is made up of protons and neutrons. So if there are many protons inside nucleus even though there are neutrons why don't this protons may repel away breaking nucleus apart?  The answer I get is "it is because of the nuclear force (which is the strongest force)". When I asked this question to my chemistry teacher he was like you just destroyed chemistry..  I think this is the right place to ask it.


Consider .  I've left a comment, but I have misspelled a word: complement. I'm always doing that. But I'm a proud cat who likes to regard themselves as a linchpin for literacy.  Ideally I'd like to edit my comment and make the correction, but I can't do that due to the editing rule of 5 minutes for a comment. I understand that's a good rule most of the time.  So ideally I'd ask a moderator to edit it. The only problem being that I can't flag my own comment.  Besides my attending a spelling lesson, does anyone have any thoughts on how we could support this? I think my comment is valuable, so I don't want to remove it. Of course, I could delete and reinsert the comment with the correct spelling, but sometimes that can compromise the comment flow.


Is there a way to give a command a time delay?

Is there a way to give a command, such as /say or /tellraw a time delay?  For example I want my command to say something after ten seconds, but I don't really want a bunch of repeaters everywhere. Is there a way to do this with command blocks or alternative methods?


Dual monitor screens are reversed only in login screen

Today I installed Ubuntu 14.04 on my computer. I have dual monitor setup, and they work perfectly when I'm logged into the operating system. But every time I have to login in the login screen, the screens get reversed. And what I mean is that instead of moving the cursor on the main screen to the left to move on the secondary screen, I have to move it to the left side. After login it changes to normal.   Any suggestion would be helpful.  Graphics: NVidia GTX275. Latest drivers installed.


Long description layer in legend of ArcGIS for Desktop?

I work with arcview 10.3 and i have layer with long description (green),hence the legend spread throw out the map:   I have to use a singel symbol for the layer    and not use the unique value as describe in     I wonder if there a way to shorten the description line by sliding the line into another line under ?


$AG,AF$ are perpendiculars to the internal bisectors $CG,BF$ and $GF$ extended intersects $AB,AC$ at $H,I$

In the figure $AG,AF$ are perpendiculars to the internal bisectors $CG,BF$ and GF extended  intersects $AB,AC$ at $H,I$ respectively.Find $5GF-HI$ if $c=AB=7,a=BC=8,b=CA=5$  I know we can calculate the internal bisectors length by stewarts formula as $$BD=\frac{2\sqrt{s(s-b)}}{a+c}$$ And similarly for the other  bisector.From here we can also calculate $AF,AG$.I am stuck otherwise..it  looks like $GF$ is parallel to $BC$ but  i cant prove it..


The question is to show that for any $x,y \in\Re^n$  $||x+y||\cdot||x-y||\le||x||^2+||y||^2$  with equality if and only if $\langle x,y \rangle= 0.$  I have that $||x+y||^2=||x||^2+2 \langle x,y \rangle+||y||^2$ , which helps me prove equality but I'm lost on how to show this and show that the inequality part.


Do I have to claim and re-check in my baggage in international transit when travelling with the same air line?

I'll be traveling to Berlin, Germany from Colombo, Sri Lanka via Turkish Airways.  The itinerary would be: Colombo  <--> Istanbul- || Istanbul- <--> Berlin   The flights are all on one ticket. Would I be required to claim and re-check my baggage at Istanbul or can I check it in all the way from Colombo to Berlin without re-checking in the baggage again?


Schengen visa application form: Parent as Sponsor?

An organization will be providing accommodation and food. As I am still a student (but NOT A MINOR), my father will be paying for my whole ticket and other expenses. My father is in the country I'm in, not in the EU.  The online visa form asks for a reference (which will be the organization inviting me) and, if there is one, a sponsor. As I will not be paying for the trip, can I put my father as my sponsor?


Why aren't hash values for "nothing" (empty) defined as all zeros?

Any decent hash algorithm will produce basically "random like" values for any given input including the empty input.  For example MD5 produces d41d8cd98f00b204e9800998ecf8427e on an empty input.  I wonder, however, why the MD5 algorithm wasn't defined to have a final step where the output is XORed with d41d8cd98f00b204e9800998ecf8427e. This should not affect the cryptographic strength of the hash algorithm, and it would have the convenient property that a hash of all zeros represented a zero input.  Would it simply just because adding that step would slow the hash down a bit?


Where can I ask a PayPal business question?

I'm looking for a site where I can ask a PayPal business account question. The essence of my question would be:  Am I obligated to use PayPal's invoicing system for their online payments service?  And I will go on to explain:  They are US based and most articles on tax are US law based. I'm in the Romania / EU. Romanian law is very picky on how an invoice should look like and is administered. For that I already have a service provider with whom I'm generating invoices manually.   ? It's not personal, although I suspect most people there know PayPal and the answer to my question. ? Too theoretical I think. ? Perhaps, because I'm most worried about the legal aspect of a US company generating invoices. (Which I prefer to avoid.)   PayPal's help information all point to "how to do it". But before I start going down this road, I prefer to know where it will end up. And perhaps others here have the experience already.


I'm trying to evaluate this limit, but I don't think it's coming out correctly. Could someone please offer me some assistance?     Evaluate limit analytically   $$\lim_{h\to 0}\frac{\sqrt[3]{x + h} - \sqrt[3]{x}}{h}.$$    What I did was multiply $(x+h)^{2/3} + x^{2/3}$ top and bottom to get  $$\lim_{h\to 0}\frac{(x+h)-x}{h((x+h)^{2/3} + x^{2/3})}.$$   I end up getting $\dfrac{1}{2x^{2/3}}$.   The reason why I don't think I did this write is because isn't the limit above the definition of a derivative? And if so, then isn't the derivative of $\sqrt[3]{x}$ equal to $\dfrac{1}{3x^{2/3}}$?  I would really appreciate any kind of help. Thanks.


How to write a method to remove non alphanumerics in a string and display it in a list

method to remove non alphanumerics in a string and display it in a list.  public static list<string> s(){     String stg = 'ABC,DEF,GHI,JKL';       List<String> lst = stg.split(',');     System.debug('test'+lst); }


We have a Latex session tomorrow in our class, so our teacher sent a link to download it from .  But I found it's something called MiKTeX and I'm using ubuntu 16, and I can see that there is no link to download it for ubuntu.  So what steps do I need to follow to match me with the students who will be using MikTeX in windows?? 1.Install LaTex first?? 2.Install Texlive Then what else should I do??


Java Else If Block Not Working Correctly

Hopefully this is a quick question. I'm making a simple rock paper scissors game. I make a random computer choice fine, and get the user's choice fine. But when I try to find who wins, it prints the last else in my else if block that is for invalid input.  It prints "Enter a valid choice" when a correct choice has been made.   import java.util.Random; import javax.swing.JOptionPane;  public class JavaApplication4 {      public static void main(String[] args)      {         Random ranNums = new Random();          int comp = ranNums.nextInt(3);         String comp2;         String winner;          String user = JOptionPane.showInputDialog                 (null, "Enter rock, paper, or scissors");         user.toLowerCase();          if(comp == 0)             comp2 = "rock";         else if(comp == 1)             comp2 = "paper";         else              comp2 = "scissors";          //Computer wins         if(comp2 == "rock" && user == "scissors")             winner = "The computer wins";          else if(comp2 == "paper" && user == "rock")             winner = "The computer wins";              else if(comp2 == "scissors" && user == "paper")             winner = "The computer wins";          //Tie game         else if(comp2 == "rock" && user == "rock")             winner = "It's a tie";          else if(comp2 == "paper" && user == "paper")             winner = "It's a tie";          else if(comp2 == "scissors" && user == "scissors")             winner = "It's a tie";          //User wins         else if(comp2 == "scissors" && user == "rock")             winner = "You win!";          else if(comp2 == "rock" && user == "paper")             winner = "You win!";          else if(comp2 == "paper" && user == "scissors")             winner = "You win!";         else             winner = "Enter a valid choice";          JOptionPane.showMessageDialog(null, "You picked " + user + "\n" +             "The computer picked " + comp2 + "\n" +                 winner);        } }


I'd like to swap the contents of 2 DIV's on "click".   DIV-1 should get the content of DIV-2.  DIV-2 should get the content of DIV-1.   I can get that to work but the DIV-content originally contained jQuery-elements and of course the "on-clicks" in the swapped-content do not work anymore.   How can I get the jquery-elements working after swapping content??  I use a hidden DIV (class="temp_backup") as a "container" for the swapping of the content......  I use following jQuery-code to swap content:    $('span.ShowNumber').click(function() {    var getID = $(this).attr('id');   var spanNumber = getID.replace("ShowNumber", "");    $('div.temp_backup').html($("div[id=table-cell-1]").html());   $("div[id=table-cell-" + spanNumber + "]").html($("div[id=table-cell-2]").html());   $("div[id=table-cell-2]").html($('div.temp_backup').html());  });  1
Content of DIV-1 with jquery elements/functions
  2
Content of DIV-2 with jquery elements/functions


why does __construct() has such a strange name?

I'm just wondering why is __construct() called so. Why isn't it say just construct()? I mean maybe there's an interesting reason for that that only a few know because others didn't wonder. I'm sure that someone knows php good enough to explain that.


Given the set of S natural numbers S = {1, 2, 3, . . . , 200} select one hundred and one numbers from S. Prove that at least one of the numbers you chose is a multiple of another number that you chose.  I know that you are supposed to use the Pigeon Hole Principle, but I don't know how to set up the equation to solve it.


What to do when I suspect a person is asking questions to become a cracker?

I see a user who asked many questions and they are (almost) all about preventing or breaking user protection and blocking users out (of code or where files come from). I seriously think he is trying to learn how to crack. Worse of all, his questions seem to be wasting people's time. (If you read them you'll see what I mean). What should I do?  You guys are saying 1) it's ok, 2) show an example. So I'll post some questions:        This one is somewhat suspicious:      These ones just made me mad:


I know Tauriel is a Jackson created character, but I wondered if anywhere in the legendarium there was fodder for the story arc between her and Kili.  I do not have access to all my books for the time being and recall stories of love between men and elves in the Silmarillion and Appendices but don't remember any such stories between elves and dwarves and wondered if there was any basis of inspiration for this aspect of their relationship within Tolkien's works.   This movie, of course, departs even further from the original than those made before it, but as a story unto itself, I can still appreciate the ride, so if there is no Tolkien basis, what inspired Jackson, Boyens, and Walsh to create this particular arc?  Is there interview info or anything?


What sites should have hyperlinking (onebox) support in chat?

Some sites are . What additional sites should the chat support?  One suggestion per answer.


Trigger "don't do this" message if question starts/ends with filler

So you're not supposed to start questions with "Hello guys" or end them with a signature, right? Well, here's an idea: Detect common cases of this and warn the user that this is unwanted cruft.  So, if your question starts with:   hello hi hey etc.   ...or ends with:   username (likely an indicator of trying to manually sign) thanks in advance ()   ...then a box pops up that says:     Your question starts with "hello". This is considered unnecessary; please remove it.   ...or:     Your question ends with your username. You do not need to "sign" your questions; please remove it.   ...and so on. It shouldn't be blocking, just informational.


Division of the leading terms of numerator and denominator in "Polynomial long division" algorithm

I am trying to understand why polynomial long division algorithm works. I have found an answer on Quora, please follow the link:   As you can see the explanation comes along with the example:    And the first step is calculation of the division of the leading terms of numerator and denominator and getting to know how much this differs from the original fraction. In this case:       What I can not understand is why we can perform this first step(why we can divide only leading terms of every polynomial). Could you please explain.  Thanks in advance.


Is that possible to redirect to page accordingly for example   to  (where cookies set to 10010);  to  (where cookies set to 10010) and so on.  if ($.cookie('10010')) {  window.location.href = 'http://mysite.com/10010'+'what to insert here?'; }   Can I do it just with one string or I have to declare every page ?


How to render the Trajectory of a Moving Object?

I want to use blender to draw a cycloid animation. I know the function, but is it possible to render the motion path of a vertex of a circle like the following video?


Easy encryption program ubuntu for ubuntu 13.10

Hey i am searching for a program that can add a password too a folder with just right mouse click i am really lazy i already know there are lots of encryptions program but which one integrate well with the ubuntu interface


Pseudo code to be spread over multiple pages?

I am writing pseudo code in the algorithmic environment. It is quite long and doesn't fit on one single page. Instead of it continuing on the next page, it is cut off. I tried inserting it into a figure environment, but the problem persists. Is there a solution to have the code continue on the next page?


Is there a minimum number of entries in a bin to consider it for computing $\chi^2$ ? and for gaussian behaviour?

Let's consider a set of data points of some observable in several bins, and a theoretical model. The agreement between the two is using the $\chi^2/ndf$ formula (where we divide $\chi^2$ by the number of freedom). Let's concentrate on the $\chi^2$ part :  The $\chi^2$ formula itself is $\chi^2=\sum_i (d_i-t_i)^2/\sigma_i^2$  where :  $i$ is the bin of a given observable  $d_i$ is data in the bin $i$  $t_i$ is the prediction from theory in the bin $i$  Is there a needed minimum number of entries from data in a given bin $i$ in order not bias completely the $\chi^2$, by making it exploding ?  Is there a connection with gaussian behaviour from Poisson distribution ?


The flag counter in the 10k tools should reflect the posts I can actually see

This , and as it is a network-wide issue I am bringing it here. Currently, the 10k tools page in Physics (and, I surmise, network-wide) has a toolbar on the top which includes a very visible red counter showing a count of flags. However, upon clicking on it, the counter seldom has anything to do with the actual number of flags available to review. If there are flags for me to review, the counter will typically show more than those, and very often I will be unable to see any flags at all:  This has come up before in , but the  seems to describe a different bug (the counter dis- and re-appearing over time) which was  and marked  by Jarrod Dixon ♦. I raised this issue as a  in the Physics meta, and :  One you have flagged, but so have others - you are seeing the count of others on it, but you can't see it because you have flagged it. The second one also has a couple of flags on it, but one of those is a moderator flag. The count includes the non-moderator flag, but the moderator flag prevents you from seeing the post. So... the count is that of current non-moderator flags (minus yours), the posts don't show up in your list for two different reasons.  EDIT: On second thought, this may not be quite as simple. The flag count I see sometimes depends on what tab I'm in. At the moment I see the counter at 4 when I'm in the stats through delete tabs, and it goes down to 3 in the flags tab (with no flags shown, as in the image above).  I contend that this is a design flaw: that counter should show the number of posts (or flags) I can and should help out with. There is no reason for me to know that there are posts with moderator flags on them, and it is redundant to show me posts I have already flagged. That counter is prominently visible across all of the 10k tools so that I will go to that page when there's flags I should be handling. Having a nonzero value when there's nothing I can see makes me have to go to the flags page to check whether there's anything, and completely invalidates the purpose of the counter. Also, while I'm at this, can the flags page say something like There are currently no flags for you to review, much like the review queues currently do, when there are no flags there?  It is a bit unnerving to have a blank screen there.


I can't enable notifications icons badge on Moto E5 Play

I have a Moto E5 Play with Oreo 8.1(Android Go) and I can't enable notification icons badge, I mean those little dots over the application icons on home.  When I go to Configuration-> Apps Notifications there's no option to enable it.  If I go to application configuration is there an option to enable it individually but is grayed out.  I search on the web but nothing solve this.


Let $p$ be a prime divisor of the Fermat number $F_{n} = 2^{2^{n}} + 1$.  Show that ord$_{p}2 = 2^{n + 1}$  The order of the element modulo some integer is the least positive integer such that it divides the "maximum" order.  Some attempt I made:  Assume that Fermat number is prime.  By Fermat Theorem, we have:  $2^{2^{2^{n}}} \equiv 1 \bmod (2^{2^{n}} + 1)$  I want to show that ord$_{p}2 = 2^{n + 1}$ i.e. $2^{2^{n + 1}} \equiv 1 \bmod (2^{2^{n}} + 1)$.  The question I have is: How do you know that $2^{n + 1}$ is a least positive integer such that we obtain 1 mod Fermat number?  Can this be done by Modular Arithmetic, or is there a theorem that I need to use?  Well, I found the orders of an element that divide the order $F_{n} - 1$, which are basically in the set $\{2^{k} | k \in \mathbb{N}\}$, but I don't know where to go from here.  Any comments or suggestions?


integrate $\int_0^{2\pi} e^{\cos \theta} \cos( \sin \theta) d\theta$

How to integrate $ 1)\displaystyle \int_0^{2\pi} e^{\cos \theta} \cos( \sin \theta) d\theta$ $ 2)\displaystyle \int_0^{2\pi} e^{\cos \theta} \sin ( \sin \theta) d\theta$


Confused about language and words in logic

I am very confused about how to interpret the following.  If we write $\{0,1\}^{+}$=$\cup_{n \in \mathbb{N}} \{0,1\}^{n}$  then I am told that elements  of $\{0,1\}^{+}$ are called words and subsists of it are called languages,  Then I was asked,   if we consider $$g: P( \{0,1\}^{+}) \to P( \{0,1\}^{+})$$ defined as  $g(X)=X \cup \{w01:w \in X\} \cup \{\tau\}$  where $\tau$ represents the word of zero length, then find the least fixed point of g ordered by inclusion.  I have been trying to make sense of it but cant make progress. I know that a fixed point is an element $X$ such that $g(X)=X$  I know that since we want the least, the fixed point has to be less then any other fixed points ordered by inclusion to.  Can anyone help to make sense of this? Thank you


Switching jobs after a Schengen visa application

I have obtained a letter from the employer stating that the company has no objection for my travel to the Schengen area. I haven't yet resigned from the current company but I won't be employed with the company during the travel duration. I might be employed with a different company at that time and that is not decided yet.  Is there going to be a problem with this scenario? Should I wait and join the other firm and get a new letter and then apply for a visa? I fear that I won't have sufficient time for a new application in this case (10 - 15 days maximum).  What if I use the current employer's letter and obtain the visa? Can the current employer claim later on after I resign that the letter is no longer valid and that I cannot use it for the visa?  Please suggest.


How to prove that the algebra $k[x, xy, xy^2, xy^3, \dotsc]$ is not finitely generated?

Consider the subalgebra $R=k[x,xy,xy^2,xy^3, \ldots] \subset k[x,y]$. How do I prove that $R$ is not finitely generated (over $k$)?    What is the general strategy for proving that an algebra is not finitely generated?


How to compare conversion rates from AB test when users visit multiple times

I've been asked to compute the minimum sample size for an AB test that my company is conducting for a tweaked recommender system.  We will choose two groups of users, one of which sees only the A version and one of which sees only the B version of their recommendations. We will compute conversion rate as the number of times users choose items from their recommendations divided by the number of times they view their recommendations. Many users won't view their recommendations at all during the test period while some users will view their recommendations dozens of times.  Question: Should we calculate the overall conversion rate for each group and compare using a two-proportion Z-test? Or should we calculate the conversion rate for each user who viewed their recommendations at least once and compare the average of the individual conversion rates for each group using a two-sample t-test? I'm leaning toward the second option because it weights each user equally. Also, the first option would involve many observations that are not independent.


Wait for background images in CSS to be fully loaded

I have a web app that uses external background images loaded in external CSS.  Right now, it is possible to use the app before the images have fully rendered, creating weird visual effects.  How can I halt script execution until the images are fully loaded?  It can use normal JavaScript or jQuery.  Because the images are loaded in external CSS the normal triggers I have read about don't work.


Proof for limit superior's property: $\limsup (a_n b_n ) \leq \limsup a_n \cdot \limsup b_n$

Let $a_n,b_n>0$ for all $n\in\mathbb N$.  Prove that  $\limsup (a_n b_n ) \leq \limsup a_n \cdot \limsup b_n$  I know that $\limsup (a_n+b_n ) \leq \limsup a_n + \limsup b_n$. But I don't know how to use this to get what I want to show.


Can Someone bring a packed phone from US to India

One of my friend is coming to India from US. He bought himself a laptop and a camera which he is using their. Also I requested him to get a Nexus 5 phone for me. Is it possible to bring this phone with sealed box in India without any trouble?


History of commands run by user after logging into root

I have a requirement to audit all the commands run by a user after he logs into root. Can anyone please help me with it. (for Suse-Linux) To explain even more simpler  user alex logs into the server with his username and password switches to root user, runs few commands (I want to know what commands were run by Alex after switching into root user) if possible with timestamps


I have read from some book that: "The voltage quantity symbol V sometimes has subscripts to designate the two points to which the voltage corresponds. If the letter a designates one point and b the other, and if W joules of work are required to move Q coulombs from point b to a then, \$V_{ab}=\frac{W}{Q}\$. Note that the first subscript is the point to which the charge is moved"   While Wikipedia () says: "\$V_{CB}\$ means the "\$V\$" from \$C\$ to \$B\$."  Can you help me with the true meaning of the first subscript?


On Ubuntu 18.04.2 LTS, I completely removed/uninstalled my apt-get because of problems I was having.  I tried re-installing it with dpkg by runnung:   $ sudo wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/apt-transport-https_1.0.1ubuntu2.23_amd64.deb   to install apt-transport-https then it's dependency:  $ sudo wget http://archive.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_1.0.1ubuntu2_amd64.deb   then I ran the two following commands  $ sudo dpkg -i libapt-pkg4.12_1.0.1ubuntu2_amd64.deb $ sudo dpkg -i apt-transport-https_1.0.1ubuntu2.23_amd64.deb   but when I try run apt or apt-get I still get the error     command not found   I'm still pretty new to ubuntu and I'm not sure what to do


I recently had a discrete math midterm that I am trying to review, and one of the topics that really has me confused is the idea of proving uniqueness.     Let $x \in \mathbb R$. Prove that the $\lceil{x}\rceil$ is unique; that is, prove that there is at most one $n \in \mathbb Z$ with $n − 1 < x ≤ n.$   My professor, when doing these problems in the past, tended to use $x'$ as a second variable when proving uniqueness, but I am struggling with comprehending the logic behind these proofs. I understand the structure, i.e. that you are trying to prove that $x, x'$ both make the predicate true and that implies that $x=x'$, but I can't execute any of these proofs.  Also, please note that I am not trying to prove the existence here, but instead uniqueness.  Any help would be greatly appreciated.


Do Indian passport holders with UK Tier 2 need to get a tourist visa for Mexico?

I'm an Indian passport holder currently resident in the UK under a Tier 2 (General) visa and planning on going to Mexico on a holiday. So I was looking into the rules on the Mexican embassy in the UK and :     According to the new regulations who entered into effect on 18th, May   2016 (article 26 of the Guidelines and Requirements for Migratory   Services) regarding foreign nationals visiting Mexico, holders of a   valid UK visa, regardless their nationality, are not required to apply   for a Mexican visa as a tourist, business (Non-Lucrative Activities)   or transit visitors for a stay of up to 6 months. This regulation does   not apply to British Travel Document holders.   However, :     PERMANENT RESIDENT IN THE UK (ILR / ILE / PERMANENT RESIDENTS)        According to Mexican regulations which came into force in June 2009,   Permanent residents in the United Kingdom wishing to travel to Mexico   do not require a visa to enter the country as tourists or business   visitors for up to 180 days and as visitors in transit for up to 30   days, regardless their nationality.   So which one is correct? Are Tier 2 holders with an Indian passport allowed visa-free / visa on-arrival entry to Mexico?


In three-way ANOVA, how to interpret the three-way interaction?

I have a significant three-way interaction (with no significant two-way interactions and no significant main effects).  To begin with I have followed this up with two two-way ANOVAs (one at each level of the third variable). The first part of my question is whether this is an appropriate follow-up.  This showed no significant main effects or interactions at either level of the third variable...is this the end of the analysis?  If so, how would I interpret the three-way interaction?


A is a square matrix $n \times n$. Prove that $$A^n=0 \Leftrightarrow tr(A^k)=0, \, k=0,1,2,...,n $$


Can you Grapple a Creature that has already Grappled you?

Suppose an ettercap sneaks up on Bob the Barbarian whom is trailing his group and attacks him with a web garrote, inflicting Bob with the Grappled condition. Normally this is to the ettercap's advantage, but Bob is fine with grappling and feels the scenario is closer to the ettercap being trapped with him.  In order to ensure that this sneaky enemy can't escape, Bob wants to turn around and grapple the ettercap, to force it to hold still while Bob's allies rain pain on it from afar.  Can Bob do this without breaking the original grapple? If so, are both creatures considered to have the Grappled condition and thus have a speed of 0?


What will happen to the not reviewed raised flags?

I got 10 raised flags which are not reviewed yet and marked active. What will happen to them?