I am using a mixed model in lmer to analyse some phenotype data across 3 levels of a treatment I am interested in, blocked by a random factor I am not interested in (just want to control for). So my model is basically:  model <- lmer( thing ~ treatment + (1|block) )   I have pilot data that gives me a measure of the variance of the phenotype 'thing' in this population. So I was hoping to use a power analysis to ask the question -      'Given the variance X in thing, how many samples would be needed to   find significant differences across treatments?'   I was planning on running this power analysis for different hypothetical effect sizes. The thing is, I haven't even thought about power analysis since a distant stats lesson some time in my undergrad bio degree, and at that time I certainly wasn't told anything about dealing with them in mixed models.  I had a look at potential R functions and could only come up with the pwr package, which doesn't seem to have functionality for mixed models. I also came across some tutorials which started with a simulated dataset, but it didn't seem to address what I thought would be a simple problem (either that or I didn't understand).   I simply want to give the variance and [hypothetical] effect size, and get the sample size needed to find a significant difference - within the mixed model. Is this more complicated than I thought? Has anyone got any pointers of where I could look for some clear instruction, or functions I've missed that might be helpful?  Thanks in advance for any help,  Harriet

I am wondering if there are any methods for calculating sample size in mixed models? I'm using lmer in R to fit the models (I have random slopes and intercepts).


enter image description here this is my evevee render

The selection toggle arrows in the Outliner disappeared. Is there some preference in the settings that has to be turned on?


Using SQL Server - 2014.  I have stored proc,  CREATE PROCEDURE getRequest(         @Id INT        ,@ApiNo NVARCHAR(100)        ,@RContent VARCHAR(max) out) AS BEGIN     IF((@ApiNo != ''))     BEGIN         DECLARE @name VARCHAR(100)         DECLARE @class VARCHAR(100)         SET @name = (SELECT name FROM Student WHERE id = @Id)         SET @class = CASE                 WHEN (                         @name LIKE '%First%'                        )                     THEN 'FR'                 WHEN (                         @name LIKE '%Second%'                        )                     THEN '''FR'',''TR'''                 WHEN (                         @name LIKE '%Fourthd%'                        )                     THEN '''FR'',''BM'',''TR'',''KK'''                 ELSE 'TM'                 END             SELECT RContent FROM School where Class IN (@class) AND Id = @Id              print 'This is a test' + @class     END END;   In this I am setting @class using when case, and using IN to cheeking for multiple value.   eg: SELECT RContent FROM School where Class IN (@class) AND Id = @Id    I have used print to see my @class variable set correctly.  I am seeing following value as : This is a test'FR','BM','TR','KK' .  But Its not working. If I remove Class IN (@class) . It will work, while If I add this doesn't work as expected.

How do I parameterize a query containing an IN clause with a variable number of arguments, like this one?  SELECT * FROM Tags  WHERE Name IN ('ruby','rails','scruffy','rubyonrails') ORDER BY Count DESC   In this query, the number of arguments could be anywhere from 1 to 5.  I would prefer not to use a dedicated stored procedure for this (or XML), but if there is some elegant way specific to , I am open to that.


Not seeking answers, just drawing attention to somewhat positive effect of StackOverflow I have noticed recently.  Today, for some fifth time in a row I didn't post a question I started typing. Once again I found my answer while halfway through.  The process goes like this:   State my problems. State tools available for solving them that are at my disposal, and the constraints. State possible solutions and why they are not viable. Discuss why they are not viable; how each obstacle is insurmountable given accessible tools, constraints and my knowledge, or how standard solutions to them will not work. Find one with standard solutions that will work. Enjoy my solution, cancel posting the question and just proceed with my work.   Rubber ducky to be efficient must be believable. You must overcome the suspension of belief when explaining things to the ducky. You must believe the ducky can answer and help. A real rubber ducky doesn't really cut it for me, but SO works quite well!

Beginning to ask a question on Stack Overflow actually helps me debug my problem myself, especially while trying to formulate a coherent and detailed enough question body in order to get decent answers.  Is this common?


I am a physics student and I am trying to solve a central potential problem and came to an equation like this:  $$y^{\prime\prime}+y=\frac{1}{y^3}$$  and I don't know how to solve this equation. Can anyone help me out?

I am trying to solve a central force problem and came to an equation like this:  $$\frac{d^2 y}{dx^2} + y = \frac{1}{y^3}$$  I can't find a decent method to solve it.


Question : Let $p(z)$ be a polynomial of degree n satisfying $|p(z)|\leq 1$ for all $z, |z| \leq 1$. Show that then $|p(z)| \leq |z|^n$ for all $z, |z| >1$.  This is what I could get done :- Let $p(z) = \sum_{k=0}^{n-1} c_k z^k + z^n $. Given $|p(z)| \leq 1$ when $|z|=1$. Then by Cauchy's estimates , $|c_k| = \frac{|p^{(k)}(0)|}{k!} \leq 1$ for all $k$. Therefore, $|p(z)| \leq \sum_{k=0}^{n-1} |c_k| |z|^k + |z|^n  \leq \sum_{k=0}^{n-1} |z|^k + |z|^n \leq \dfrac{|z|^{n+1}-1}{|z|-1}$.  From this we can say that when $|z| >> 1$, then $|p(z)| \leq |z|^n$. But how do I complete the argument for all $z \in \{|z|>1 \} $?

I've got following problem. Let $z$ be a complex number. Let $P(z)$ be a polynomial of degree $n$. Suppose that $|P(z)| \le M$ for $|z| \le 1$. Prove that for $|z| \ge 1$ we have. $|P(z)| \le M \cdot |z|^n$. Can somebody help?


was Darth Vader ever even allowed to just straight up kill his own men or did the emperor not care. because that seems like a waste of personal.

Obviously, Emperor Palpatine isn't likely to send Darth Vader on sensitivity training for his casual killing of several Imperial military leaders, and he is deeply feared himself (see Moff Jerjerrod's reaction to his planned appearance on the Second Death Star). But in the novelisations, or anywhere else, is there any evidence of his opinion?   Does he approve? Does he scowl at the murder of his most experienced tactical officers? Does he even know?


According to  I can use ~ to make a non-breaking space. But how do I make a non-breaking paragraph?  Example:  Have a look at this table:  \begin{table}[h]    ... contents ... \end{table}  Next step is to ...   Here, LaTeX made a page break where the table was supposed to be, meaning the output went like this:   Have a look at this table:   Next step is to ...   (table contents)

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?


What is the difference between "get/got/gotten" and "am/is/was/are/were/be/have or has been" in the (Passive Voice) grammar?  For example:     My computer gets/got/gotten damaged.   and     My computer is/was/has been damaged.   And what about if I mix with them in a sentence? For example:     My computer is got/gotten damaged.   Thanks for reading and being interested of my question :).

In spoken English (at least in America), passives are often formed with "to get" rather than "to be;" I would wager the majority of the time:   he got hit by a car I get driven to work I've gotten called for jury duty eight times   Are there specific verbs that prefer "be" to "get," or vice-versa, or semantic differences between these forms? I cannot think of any.


When a reviewer feels something is off about a question, he/she has two choices:   Flagging the question with a category Downvote and optionally leave a comment   Leaving a comment is encouraged by a message saying something like: 'Please consider adding a comment ...'  However, writing a comment takes time (unless one has a user-script with templates), and I assume many downvotes have common causes, such as:   Mostly off-topic (but not in the off-topic list of reasons in the flags) Badly formatted Badly phrased Answer easily found via search engine, did not read the manual   I think it would be helpful if there was a one-click way of justifying a downvote, possibly adding a auto-generated comment (or an upvote on the same comment category).  Alternatively providing comment templates in the UI, such as these already shared in questions like this (which indicates there is a whole cult about many new posts doing the same mistakes requiring same old comments):

Preamble: I know that 'give a reason when downvoting' is a very common request, and I assure you that I have read these posts and the discussions in them and my request is very different. This isn't about encouraging people to comment and is more about gathering metrics.  I'd like to see a feature whereby people who are downvoted get some better feedback on why they were downvoted, especially given that people rarely leave comments in practice.  So my suggestion is that when user clicks on the downvote, they are prompted to pick from a short list (No more than 5) of common reasons. It would be a popup that replaces the existing "Please consider adding a comment" box.  The user receiving the downvote would see how many people downvoted them for each reason, but not who did it. It would significantly address the issue of people being too lazy to comment or not wanting to comment (for fear of retaliation or any other reason) while helping to ensure the user gets useful feedback.  Perhaps the downvote could also be weighted based on whether or not a reason is picked.  For questions the list might look something like:   Not a question Not relevant to the subject area Trivial question with no research effort Poorly asked question Other   And for answers, this might be:   Nonconstructive or not an answer Incorrect or dangerous answer Poor explanation Doesn't answer the original question Other


I'm a new Star Trek fan and I want to watch all the television series and the movies, but I don't know in what order the movies go. Please help. Thank you!

Some things are best read/viewed in the order of release, regardless of chronology.  Some works are better taken in a sequence that reflects the order of the events represented.  And for some others, it's a blend of the two.  I'd like to introduce my 8-year old daughter to the Star Trek franchise, and hope to eventually cover it completely.  That is, to fully include:   TV series   The Original Series The Next Generation Deep Space Nine Voyager Enterprise  Movies   The Motion Picture Star Trek: II - VI Generations First Contact Insurrection Nemesis Star Trek (2009) Star Trek Into Darkness (2013)    I've found a * that seems to thoroughly cover the chronological order down to individual episodes.  Should I use this, or should I go in order of release?  Or, is there another recommended alternative order?  I am not interested in any answers that recommend exclusion of any series, episode, or movie from those listed above.  However, lists that add more content are certainly welcome.  Also, unless someone offers a compelling reason to do otherwise, I'm planning on leaving the 2009 movie for last since it represents the beginning of a completely new canon.  *On a slightly related note, it would be really nice if somebody with sufficient time and resources could add episode numbers to that list.


As you can see above, that is my character, I modeled him, textured him, rigged him, used GLSL texturing, in the game engine, pressed "P," and he looked like this. I don't know what this is, is it transparent, I don't know? Please help!

I have a problem where I can see through a box in blender game, see picture. This effect changes so that the near side of the "chassis" of the truck is invisible when I rotate the model    What can I do to not make this happen?


I am new to Ubuntu and I have downloaded version 17.10. Please tell me how to get the uTorrent or is there any other way I can use to download torrents?

I am trying to install utorrent instead of using the torrent apps and I just came off windows seven can someone help me?


I installed xrdp on my Ubuntu 14.04 and am connected using Remote Desktop Connection. Everything works fine except "Tab" button has no effect. Any advice on how to fix it?

I'm using Xubuntu and connecting over RemoteDesktop with Windows 7.  Everything works fine, but the auto_completion in my bash doesn't work. I checked the .bashrc file in my home directory and also the /etc/bash.bashrc.  I uncommend the lines below in my local bashrc configuration and also in bash.bashrc, but nothing changes.  if ! shopt -oq posix; then   if [ -f /usr/share/bash-completion/bash_completion ]; then     . /usr/share/bash-completion/bash_completion   elif [ -f /etc/bash_completion ]; then     . /etc/bash_completion   fi fi


I am facing login loop problem and also incorrect login problem with the terminal in Ubuntu 18.4. When I tried to log in using the terminal, it shows incorrect login. But both username and password are correct.

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.   I've read that the problem might be caused by an error depending on the graphics, here's my graphics card: ATI Radeon 7670M


name_list=['Tomas', 'Mina', 'John', 'Amy'] gender_list=['Male', 'Female', 'Male', 'Female']   How to create a dictionary variable that contains name:gender pairs using the name_list and gender list?   I have to use 'for'

Imagine that you have the following list. keys = ['name', 'age', 'food'] values = ['Monty', 42, 'spam']  What is the simplest way to produce the following dictionary? a_dict = {'name': 'Monty', 'age': 42, 'food': 'spam'}


I have many flow sites and I used them to delineate catchments upstream of each flow site using Spatial Analyst Tools > Hydrology > Watershed.   As you know using this tool, you'll get the catchments delineated as shown below (Figure 1).  Is there a way to get the catchments delineated as illustrated in Figure 2? In other words, as you move downstream, the catchment of each flow site will include all the catchments upstream of this site.

I have a DEM file of one district, and I have used those following tools in spatial analyst tools in ArcGIS 10.1 to get files related to the original DEM file：   Fill Flow direction Flow accumulation   Besides, I already have the point shapefile that these points are vertices in the river the one belongs to the same district as DEM file, so I use the point shapefile as the pour points in the river.   I use the watershed tool, setting my flow direction file and point shapefile as input files, try to get the subbasin area in this river.  I just got this：   But here's the schematic photo that I want：I want to get every subbasin area and calculate them, assigning them to the attribute of the designated segment   In what way should I use tools in ArcGIS to achieve my goal, thanks for giving me any suggestion!  Although I have a great answer to this question, I got another problem afterwards：


Consider you have a processor with AND, OR, XOR, NOT and 2 registers X & Y. What is the smartest way to swap the values of the 2 registers?

Can someone explain to me how XOR swapping of two variables with no temp variable works?  void xorSwap (int *x, int *y) {     if (x != y) {         *x ^= *y;         *y ^= *x;         *x ^= *y;     } }   I understand WHAT it does, but can someone walk me through the logic of how it works?


I've got a pluscom pci card plugged into my desktop and although the mac address shows up in network manager, it says "Wireless unavailable".  I'm using Ubuntu 12.10 Gnome Shell Remix...  edgar@edgarQuantal:~$ iwconfig eth0      no wireless extensions.  lo        no wireless extensions.  wlan0     IEEE 802.11bg  ESSID:off/any             Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm              Retry  long limit:7   RTS thr:off   Fragment thr:off           Power Management:off  edgar@edgarQuantal:~$ ifconfig eth0      Link encap:Ethernet  HWaddr 6c:f0:49:02:1f:b8             inet addr:192.168.0.7  Bcast:192.168.0.255  Mask:255.255.255.0           inet6 addr: fe80::6ef0:49ff:fe02:1fb8/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:1425 errors:0 dropped:0 overruns:0 frame:0           TX packets:1393 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:995753 (995.7 KB)  TX bytes:134079 (134.0 KB)  lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:16436  Metric:1           RX packets:363 errors:0 dropped:0 overruns:0 frame:0           TX packets:363 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:40828 (40.8 KB)  TX bytes:40828 (40.8 KB)   It looks the same as the problem as here, seems quite complicated:   Tried downloading the driver but I get this:  Unpacking firmware-ralink (from .../firmware-ralink_0.36_all.deb) ... dpkg: error processing /home/edgar/Downloads/firmware-ralink_0.36_all.deb (--install): trying to overwrite '/lib/firmware/rt2870.bin', which is also in package linux-firmware 1.95"

For example:  $ sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: bsh : Depends: libjline-java but it is not going to be installed groovy : Depends: libjline-java but it is not going to be installed rhino : Depends: libjline-java but it is not going to be installed E: Unmet dependencies.   Try 'apt-get -f install' with no packages (or specify a solution).   I get the same or similar errors when I attempt to install clojure1.3, leiningen, and several other packages.   When I try the suggestion made in the error message, this is what happens:  $ sudo apt-get -f install  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   diffstat linux-headers-3.2.0-26-generic linux-headers-3.2.0-26 dh-apparmor dkms html2text libmail-sendmail-perl libsys-hostname-long-perl Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   libjline-java Suggested packages:   libjline-java-doc The following NEW packages will be installed:   libjline-java 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 23 not fully installed or removed. Need to get 0 B/72.0 kB of archives. After this operation, 129 kB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 226243 files and directories currently installed.) Unpacking libjline-java (from .../libjline-java_1.0-1_all.deb) ... dpkg: error processing /var/cache/apt/archives/libjline-java_1.0-1_all.deb (--unpack):  trying to overwrite '/usr/share/java/jline.jar', which is also in package scala 2.9.2-400 Errors were encountered while processing:  /var/cache/apt/archives/libjline-java_1.0-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  $ sudo apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:  bsh : Depends: libjline-java but it is not installed  groovy : Depends: libjline-java but it is not installed  rhino : Depends: libjline-java but it is not installed E: Unmet dependencies. Try using -f.


Does anybody know how to compare two positive predictive value (PPV) from two different predictive models? I found some papers reporting $\chi^2$-test or Fisher exact test but I can´t figure out how the contingency tables would look like: They cannot be the same as for sensitivity/specifity tests, can they?  To clarify:   Imagine you want to compare one method for detecting cancer with another, newer one. I know how to estimate sensitivity, specificity etc., and to compare the two sensitivities from the two different models (sensitivity_method1 vs. sensitivity_method2; using McNemar) but regarding the comparison between PPV_method1 vs. PPV_method2 you can not use McNemar, because margins differ. There are possibilities to calculate the comparison in SAS catmod but it was too difficult for me to understand. So I thought there may be an easier way.  I would be really thankful for clarifications.

I was reading through a paper and I saw a table with a comparison between PPV (Positive Predictive Value) and NPV (Negative Predictive Value). They did some kind of statistical test for them, this is a sketch of the table:  PPV    NPV    p-value 65.9   100    < 0.00001 ...   Every rows refers to a particular contingency table.   What kind of hypothesis test did they do? Thanks!


I commonly find I need to convert an enum to a string in c++  I always end up doing:  enum Enum{ Banana, Orange, Apple } ;  char * getTextForEnum( int enumVal ) {   switch( enumVal )   {   case Enum::Banana:     return "bananas & monkeys";   case Enum::Orange:     return "Round and orange";   case Enum::Apple:     return "APPLE" ;    default:     return "Not recognized..";   } }   Is there a better or recognized idiom for doing this?

Suppose we have some named enums:  enum MyEnum {       FOO,       BAR = 0x50 };   What I googled for is a script (any language) that scans all the headers in my project and generates a header with one function per enum.  char* enum_to_string(MyEnum t);   And a implementation with something like this:  char* enum_to_string(MyEnum t){       switch(t){          case FOO:             return "FOO";          case BAR:             return "BAR";          default:             return "INVALID ENUM";       }  }   The gotcha is really with typedefed enums, and unnamed C style enums. Does anybody know something for this?  EDIT: The solution should not modify my source, except for the generated functions. The enums are in an API, so using the solutions proposed until now is just not an option.


I keep getting the system report of system programs: the action is com.ubuntu.apport.apport-gtk-root.   Why is this happening? Should I authenticate it?   I haven't allowed it since I'm not sure what it is and don't have a clue. I just click close and it doesn't come back; it only happens when I boot or reboot.

This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says "System program problem detected". Then when I try to hit 'report problem' not much happens. I am led through a dialogue that always ends up the problem cannot be solved.  I am aware this is not a lot of information, however I'm not sure which information I need to publish and how should I obtain it to debug this problem.  Here's a screenshot!


I am a new user and I just installed Blender 2.76b on a Lenovo R500, OS Windows XP Pro. I intend to use it mostly for (short) video editing. I could load, hear audio, cut and animate video correctly, but the preview is in a white square on a black background.   When I initialize Blender, I got the following output:  "AL lib: <EE> ALCdsoundPLayback_reset: Unknown system speaker config:0x0 Warning! Using result of ChoosePixelFormat."   and at the start this alert:  "Your system does not use 3D hardware acceleration. Such system can cause stability problems in Blender and they are unsupported. This may cause by: * A missing or faulty graphics driver installation.   Blender needs a graphic card driver to work correctly. * Accessing Blender through a remote connession * Using Blender through a virtual machine"   Cases two and three are not mine. Do I need any special driver for my graphics card (ATI Mobility Radeaon HD 3400 Series) to use Blender? Does it have anything to do with seeing no preview?

I add video files to the video editor,  Both audio and video channels appear but only the audio plays.  The video is just a white box.  Anyone know what is wrong.  Added video in WMV.  Also tried MP4 same thing.


If we have a formula for $0=x^4-3x^2-2x+1$, exactly what characteristic of the equation changes when I add an $x^5$ term to only the RHS (and not the entire equation) so that $0=x^5+x^4-3x^2-2x+1$ cannot be solved in a general algebraic way? Please try to keep the answers at a low level (beginning calculus) if possible. Thanks.

The question that follows was inspired by  question:  When trying to solve for the roots of a polynomial equation, the quadratic formula is much more simple than the cubic formula and the cubic formula is much more simple than the quartic formula.    That the general solutions to various polynomial equations are so complex and difficult to derive seems to suggest a fundamental limitation in the problem solving capabilities of the mathematical machinery. Does this intuition of mine make any sense? What should I make of it? Why is it that with each successive degree in a polynomial equation, the solution becomes so much more complex? Can I gain some intuition about what makes finding the roots so hard? According to the : "there is no general algebraic solution—that is, solution in radicals— to polynomial equations of degree five or higher." What is so special about the quintic that makes it the cut-off for finding a general algebraic solution?


I was looking for solutions for measuring string height of a HTML5 canvas element. I found  solution but that doesn't satisfied my needs. Later, when I came up with my own solution, I come back and made my own answer. But then while looking at other answers more attentively I found that one answer uses the same approach as mine.   Should I delete my answer or not? Should I add answers with the same approach but different content?

When I post an answer to a brand new question I usually find that someone else has submitted that same answer just moments before. (, usually ;-) )  What I've started to do lately is (I think) the right thing.   If I notice that another answer predates mine, and that I add no value over it, I immediately delete my own answer, and upvote the other guy.  I recommend that you too do the same. Otherwise the message will be diluted.  Similarly, if after posting your "answer" you realise that you are in fact wrong (and you've just misread the question) -- you can actually delete your answer.  Is this reasonable?  (The reason why I'm writing this down is because it feels completely counter-intuitive to delete your own stuff. But it really saves everyone time and effort)


I've installed GitKraken from Snap.  When I try to open a repository from my second disk, I see no /disk2/ directory in the list of directories under /.  I suspect this is caused by application confinement.  How can I access /disk2/ from GitKraken? And how does this (the thing which causes a directory to be missing) work in general?

I have Ubuntu 18.04 LTS installed. I inserted USB-flash to my laptop. It was automounted to /media/username/DISKLABEL and opened in Nautilus. I can read and write objects to it. How can I access it from the application, which is installed as Snap? I tried snaps of the following applications such as gedit, arduino-mhall119, organize-my-files. All them show me errors if I navigate to /media folder:    Could not read the contents of Media Error opening the directory of '/media': permission denied  Output of active Snap  is below: $ snap interfaces  | grep -v ".*-$" Slot                             Plug :browser-support                 organize-my-files :core-support                    core:core-support-plug :cups-control                    gedit :desktop                         gedit,organize-my-files :desktop-legacy                  gedit,organize-my-files :gsettings                       gedit,organize-my-files :home                            arduino-mhall119,gedit,organize-my-files :network                         arduino-mhall119,gedit,organize-my-files,pulsemixer :opengl                          organize-my-files :pulseaudio                      organize-my-files,pulsemixer :unity7                          arduino-mhall119,gedit,organize-my-files :wayland                         gedit :x11                             arduino-mhall119,organize-my-files,pulsemixer gnome-3-26-1604:gnome-3-26-1604  gedit gtk-common-themes:gtk3-themes    gedit gtk-common-themes:icon-themes    gedit gtk-common-themes:sound-themes   gedit -                                arduino-mhall119:serial-port -                                gedit:avahi-observe -                                gedit:mount-observe  Updates:  connecting mount-observe to Gedit with snap connect gedit:mount-observe does not help. it seems that we need special Snap with support of  interface.


In short: Do totem barbarian features continue after they are polymorphed?   In long: The 6th level bear totem barbarian feature doubles carrying capacity. Carrying capacity is your strength times 15 in pounds. With strength of 16, he can carry 240 pounds. Then double it for the bear totem to 480 pounds.    If this barbarian was polymorphed into a polar bear, they would have strength 20, so a carrying capacity of 300 pounds. If bear totem still applies, this doubles to 600 pounds.   Unknown: I don't know how or if, size affects this as the barbarian is medium and the bear is large.

The Polymorph spell states (in part):     The target’s game statistics, including mental ability scores, are   replaced by the statistics of the chosen beast. It retains its   alignment and personality.      The creature is limited in actions it can perform by the nature of its   new form, and it can’t speak, cast spells, or take any other action   that requires hands, or speech.   So, can a polymorphed Paladin use their Divine Smite class feature?  It expends a spell slot, but it is not a spell, and as far as we can tell does not require hands or speech.  We know (based on the 10th level Transmutation Wizard feature) that a wizard is supposed to be able to polymorph herself, and we can assume that she is also supposed to be able to maintain concentration needed to stay in the new form (otherwise it would be a pretty useless ability).  This is (as far as I can tell) not something any of the beasts eligible as polymorph targets can normally do.  So it is clear that the polymorphed creature maintains some abilities from her old form.  The question is which ones.    The Druid's Wild Shape ability explicitly says you can use class features, while Polymorph does not, suggesting that you can't use class features while polymorphed.  However, Wild Shape also explicitly says that you can continue to concentrate on a spell (see below, emphasis mine), and Polymorph does not, yet we believe that a polymorphed creature can continue to concentrate on the polymorph spell.  So the fact that Wild Shape explicitly allows something and Polymorph is not explicit about it does not necessarily mean that the polymorphed creature cannot do those things.  From Wild Shape rules:     You can't cast spells, and your ability to speak or take any action   that requires hands is limited to the capabilities of your beast form.   Transforming doesn't break your concentration on a spell you've   already cast, however, or prevent you from taking actions that are   part of a spell, such as call lightning, that you've already cast.   So, since Polymorph is silent on the question of whether or not class abilities can be used, and states only that the polymorphed creature cannot perform actions that require hands or speech, how can we best determine whether (RAI) polymorphed creatures maintain any of their old abilities beyond spell concentration?


How do you prove this?  $$\left(n-1\right)^2\mid\left(n^k-1\right)\Longleftrightarrow\left(n-1\right)\mid k$$


root@ubuntu:~# su root@ubuntu:~# apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic The following packages will be upgraded:   apport apport-gtk apt apt-transport-https apt-utils cinelerra-cv fuse   libapt-inst1.4 libapt-pkg4.12 libfuse2 libguicast1-cv libldap-2.4-2  libldap-2.4-2:i386 libmpeg3cine-cv libpq5 libquicktimecine-cv libssl1.0.0   libssl1.0.0:i386 linux-libc-dev openssl python-apport python-problem-report   thunderbird thunderbird-gnome-support upstart virtualbox virtualbox-dkms   virtualbox-qt 28 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 2 not fully installed or removed. Need to get 84.1 MB of archives. After this operation, 11.3 kB of additional disk space will be used. E: You don't have enough free space in /var/cache/apt/archives/.  NOTE: I tried bleachbit, sudo apt-get clean, autoclean, etc even dpkg -i --configure -a? and I looked at my root.disk and it says 0.0kb of free room(I think( I don't say verbatim)?) I think there is a bug that causes this problem or I destroyed my system. I have a Dell Vostro 1400 notebook from 2007 with a 1.8Ghz cpu with XD/NX support in the bios enabled, I am not able to fix my problem for my knowledge base is primitive when compared to people with higher experience on Ubuntu Forums. Anything will help. I am still able to use the system and have wifi enabled on Ubuntu OS. Nothing seems to work when I try to apply the security updates it still throws that error.

When I run the command to install the package solr-jetty, I am told   You don't have enough free space in /var/cache/apt/archives/   Here's the result of the df -H command:    I have installed Ubuntu with VirtualBox on my Mac.  How can I fix this problem?


This is the block diagram I want to draw:  This is the block diagram I was able to produce:  Here is my MWE:  \documentclass[tikz,14pt,border=10pt]{standalone} %%%< \usepackage{verbatim} %%%> \usepackage{textcomp} \usetikzlibrary{shapes,arrows} \begin{document} % Definition of blocks: % Defining string as labels of certain blocks.     \tikzset{%         block/.style    = {draw, thick, rectangle, minimum height = 3em,             minimum width = 3em},         cross/.style={path picture={                  \draw[black]                 (path picture bounding box.south east) -- (path picture bounding box.north west) (path picture bounding box.south west) -- (path picture bounding box.north east);         }},         sum/.style      = {draw, circle, cross, node distance = 2cm, minimum size = 1.5em}, % Adder         input/.style    = {coordinate}, % Input         output/.style   = {coordinate}, % Output         dconnection/.style = {coordinate}     }     % Defining string as labels of certain blocks.      \begin{tikzpicture}[auto, thick, node distance=2cm, >=triangle 45]     \draw     node at (0,4) [input, name=input1] {}      node [sum, right of=input1] (suma1) {}     node at (4,4) [block] (k1) {$k_1$}     node at (5,4) [dconnection, name = d11]{}     node at (7,4) [block](G1) {$\frac{1}{s}$}     node at (9,4) [sum] (suma2) {}     node at (10,4) [dconnection, name = d12] {}     node at (11,4) [output](output1){}     node at (10,5) [dconnection, name = d13] {}     ;     % Joining blocks.      % Commands \draw with options like [->] must be written individually     \draw[->](input1) -- node[near start] {$r_1$}(suma1)     node[near end,above]{$+$}(suma1);     \draw[->](suma1) -- node {} (k1);     \draw[->](k1) -- node{}(d11) -- node{}(G1);     \draw[->](G1) -- node[near end, below]{$+$}(suma2);     \draw[->](suma2)--node[near end, above]{$y_1$}(output1);     \draw[->](d12) -- node[]{}(d13) -| node[near end, left]{$-$}(suma1);     % Second System     \draw     node at (0,1) [input, name=input2] {}      node [sum, right of=input2] (suma3) {}     node at (4,1) [block] (k2) {$k_2$}     node at (5.5,1) [dconnection, name = d21]{}     node at (7,1) [block](G2) {$\frac{1}{s+2}$}     node at (9,1) [sum] (suma4) {}     node at (10,1) [dconnection, name = d22] {}     node at (11,1) [output](output2){}     node at (10,0) [dconnection, name = d23] {}      ;        % Joining blocks.      % Commands \draw with options like [->] must be written individually     \draw[->](input2) -- node[near start] {$r_2$}(suma3)     node[near end,below]{$+$}(suma3);     \draw[->](suma3) -- node {} (k2);     \draw[->](k2) -- node{}(d21) -- node{}(G2);     \draw[->](G2) -- node[near end, above]{$+$}(suma4);     \draw[->](suma4)--node[near end, above]{$y_2$}(output2);     \draw[->](d22) -- node[]{}(d23) -| node[near end, left]{$-$}(suma3);     % connecting the two systems     \draw   node at (5.5,3) [dconnection, name =d31]{};     \draw[->](d21) -- node[]{}(d31) -| node[near end, above=2mm, left]{$+$}(suma2);     \draw   node at (5,2) [dconnection, name =d32]{};     \draw[->](d11) -- node[]{}(d32) -| node[near end, below=2mm, left]{$+$}(suma4);     \end{tikzpicture} \end{document}

I am trying to create a process flow diagram of my rig using LaTex but I am stuck at trying to figure out how to create a semicircular jump at the intersection of two independent lines in the drawing. My current code and output are as follows.  \documentclass[11pt]{standalone} \usepackage{lmodern} \renewcommand*{\familydefault}{\sfdefault} \usepackage{sfmath} \usepackage[version=4]{mhchem} \usepackage{tikz}  \usetikzlibrary{arrows.meta,fit,positioning,intersections,shapes.geometric, decorations,patterns,decorations.markings} \tikzset{ every path/.style={thick}, every node/.style={     font={\normalsize},     align=center,     transform shape     }, } \begin{document} \begin{tikzpicture}[node distance=0.75cm]     \tikzset{         sv/.pic={             \def \x {0.43}             \node[draw,isosceles triangle,fill=none] (a) at (-\x,0) {};             \node[draw,isosceles triangle,shape border rotate=180,fill=none] at (\x,0){};             \draw[fill=none] (0,0) circle (0.22);            },%shutoff valve         lifwv/.pic={             \def \x {1pt}             \node[draw,circle,minimum size=0.6cm] (a) at (0,0){};             \node[circle,minimum size=0.4cm] (b) at (0.1,0){};             \fill (b.90) circle (\x) (b.0) circle (\x) (b.180) circle (\x) (b.270) circle (\x);             \draw[->] (a.90) -- ++(0,0.5) -- ++(0.5,0) node[right,ellipse,draw,inner sep=0.5pt](mv){M.V.};             \draw[->] (a.270) --  ++(0,-0.5) -- node[pos=0.5,nosep] (evap){} ++(1,0) -- ++(0,0.815) -- (a.0);             \node[below right = of evap,draw,yshift=0.25cm] (syp){Pump};             \draw[->] (syp) -|(evap);                    },%liquid injection right 4-way valve         pt/.pic={             \draw (0,0) -- ++(0.25,0) node[right,draw,circle,minimum size=0.5cm,font=\small,inner sep=0pt](a){P};         },%pressure transducer         jump/.pic={             \filldraw[draw=black,fill=white] (0.15,0) arc (0:180:0.15);             \draw[red,dashed] (0,0) circle (0.5);         },         mfc/.style={             draw,minimum width=1.75cm,minimum height=0.9cm,             text height=1.5ex         },         nosep/.style={             inner sep=0pt,             outer sep=0pt,           },%meeting-point     }     \node[mfc] (mfc1) {a};     \node[below = of mfc1,mfc] (mfc2) {\ce{b}};     \node[below = of mfc2,mfc] (mfc3) {\ce{c}};     \node[below = of mfc3,mfc] (mfc4) {\ce{d}};     \node[below = of mfc4,mfc] (mfc5) {\ce{e}};     \node[below = of mfc5,mfc] (mfc6) {\ce{f}};     \foreach \y in {1,2,...,6}{         \draw[->] (mfc\y.east) --++(0.5,0) node[right=12pt] (svmfcc\y){} node[right=24pt](svmfcr\y){};         \pic at (svmfcc\y){sv};      };     %line-1     \draw[->] (svmfcr1) -- node[pos=0.45,nosep](mpl1){} ++(1.5,0) -- pic[pos=0.4,-]{pt}++(0,0.75) -- ++(2,0) pic[right]{lifwv} node[right](l1){};     \foreach \y in {3,5,6} {         \draw[->] (svmfcr\y) -- ++(0.75,0);      };     \draw[->] (svmfcr6) ++(0.75,0) -- (mpl1);     %line-2     \draw[->] (svmfcr2) -- node[pos=0.75,nosep] (mpl2){} ++(1.5,0) -- pic[-,pos=0.4]{pt}++(0,-0.75) -- ++(2,0) pic[right]{lifwv} node[right](l2){};     \draw[->] (svmfcr4) -- ++(1.16,0) -- (mpl2); \draw[->] (svmfcr4) -- pic[pos=0.6,-]{jump} ++(1.16,0) -- (mpl2); \end{tikzpicture}    \end{document}      I know one way is to define a semicircular pic with a white fill and overlay it at the intersection (as implemented in the current code and highlighted with a red dashed circle). But ideally, I would like to implement a jump with no fill and define it as a marking decoration on the line, just like an arrow decoration that can be defined using decorations.markings library. Is there a way to implement this?


I've created a screen on my web application that will allow super administrators change values of parameters on Web.Config.  The problem  One time we change the values of parameters using that code users connected to the applications have to refreshed it!  I would like to know if that's a good idea  >   The code:  public void SetAppSettings(string key, string value)     {         Configuration objConfig = WebConfigurationManager.OpenWebConfiguration("~");         objConfig.AppSettings.Settings[key].Value = value;         objConfig.Save(ConfigurationSaveMode.Full )     }   Why the application is KO changing web.config.

I need to edit the web.config file on a live Sharepoint environment, but I'm unsure what will happen if I do (I want to output custom errors).  Will this cause the IIS6 worker process to recycle?  Will active users lose their session state because of this?  Or can I safely edit the file?


If I recall my physics correctly, and it was a long time ago, when a photon strikes a reflecting surface that specific photon is not what is reflected--rather the photon excites an electron which ejects a new photon. My question is how does the new photon know it has to come out at the angle of incidence?

The "equal angles" law of refection on a flat mirror is a macroscopic phenomenon. To put it in anthropomorphic terms, how do individual photons know the orientation of the mirror so as to bounce off in the correct direction?


I need help finding an example of a function such that $\int_{1}^{\infty}f(x)dx$ converges, but $\displaystyle \lim_{x\to\infty}f(x)$ does not exist.    I was trying to find examples of functions containing some trigonometric function and/or some exponential function, but all the functions I've managed to think of whose improper integral converges also have a well defined limit as $x$ goes to infinity.  I'd appreciate any ideas and hints you might have!

Let $f: \mathbb R \rightarrow \mathbb R $ be a continuous function such that $\int_{0}^{\infty} \,f(x) dx$ exists.  Then Prove that incase   (i) $f$ is a non negative function, then $\lim_{x\rightarrow \infty} f(x) $ must exist and is $0$.  (ii) $f$ is a positive differentiable function , $\lim_{x\rightarrow \infty} f'(x) $ must exist and is $0$  $Attempt$: For the first part, i don't have a rigorous proof except for the fact that the given condition can be visualised geometrically. Since, the definite integral is actually calculating the area beneath the non negative function, the only way the given limit can exist when limit of f(x) itself tends to 0 at infinity.  Please give me a direction so that i can make this proof rigorous enough.  For the second part, i took an example. We know that ( leaving out the finite integration parts from $0$ to $1$ ..) $\int_{1}^{\infty} e^{-x^2} dx \leq \int_{1}^{\infty} e^{-x} dx$ and the latter converges.  But the derivative of $e^{-x^2} = (-2x)e^{-x^2}$ whose integration does not exist when x $\in~[1,\infty)$ as it's a monotonic function after a finite $x$.  Any help in providing rigor to the above proof will be very helpful  Thanks


am not familiar with QM , and i have checked web many times to know wether all measured Quantities of any arbitray system should be real since it is Hermitian ?

Position, momentum, energy and other observables yield real-valued measurements. The Hilbert-space formalism accounts for this physical fact by associating observables with Hermitian ('self-adjoint') operators. The eigenvalues of the operator are the allowed values of the observable. Since Hermitian operators have a real spectrum, all is well.  However, there are non-Hermitian operators with real eigenvalues, too. Consider the real triangular matrix:  $$ \left( \begin{array}{ccc} 1 & 0 & 0 \\ 8 & 4 & 0 \\ 5 & 9 & 3 \end{array} \right)  $$  Obviously this matrix isn't Hermitian, but it does have real eigenvalues, as can be easily verified.  Why can't this matrix represent an observable in QM? What other properties do Hermitian matrices have, which (for example) triangular matrices lack, that makes them desirable for this purpose?


Most people will think either using dd or sfill to usually wipe free space with zeros... however, the limit with FAT32 drives are that the largest file size can only be 4 GB.   How can I create multiple, smaller, files, to wipe free space of a FAT32 drive, to overcome this limit?

I'm planning on selling a USB external hard drive that currently contains an old Ubuntu installation with stored passwords and banking information.  How can I securely erase the drive before selling it?


I need to check multiple regexp in one string. Is it possible to check in one regexp? Here is important to find any order of words.  For example I looking for "quick", "jump" "lazy" in the string.  I can check it with OR operator. It working with | (pipe) character. But how can I change the OR to AND ?  I can use this with OR:  /quick|jump|lazy/   But I want to use something like this:  /quick&jump&lazy/   Is there any way?

Obviously, you can use the | (pipe?) to represent OR, but is there a way to represent AND as well?  Specifically, I'd like to match paragraphs of text that contain ALL of a certain phrase, but in no particular order.


Can i create a mac Osx application that can bypass the audio jack to produce sound through the speakers. I accidentally broke off the headphone jack inside my Macbook Pro and sound no longer comes out, this is clearly a software issue since the internal speakers produce sound on startup but subsequently become "disabled" once logged in.  Can't I spoof the MacBook Pro using software to think that the headphone jack is disconnected even if it is.

A 3.5mm jack broke into my mac's jack input and I can't take it out (we tried for a day, it's absolutely impossible) and because of that my MacBook detects a plugged in audio output. I can't listen music or audio output on my Mac's speakers.  Is there a way to force the sound to come out from speakers, even while the system detects a plugged in jack?


I am looking for more information about my graphics card whether it will support Ubuntu or not. I have GeForce GT 640_(). I would really appreciate any information could be provided by the community.

I have a device on which I would like to install Ubuntu. How do I find out if Ubuntu will work on it?


I have a new annoying icon on my Razr notification bar.  It is a tiny blinking symbol that sort of looks like a tiny house with a cloud over it.  It is blinking above the network strength bars where the "x" would be if there was no service.  Anyone know what that is?

There is a strange icon that shows up in my status bar only when I'm at a certain restaurant. It looks like a cross between a house and wifi.   I suspect it might be a free wifi hotspot or something related to a nearby phone store, but I can't find any information about it in manual for my phone.  See the following screenshot:


I would like to add a crontab entry from a script as a normal user, so I use sudo to get root permissions, but fails no matter what I try.  $ sudo { crontab -u root -l; echo ' 15  9  *  *  * root /opt/script.sh'; } | crontab -u root bash: syntax error near unexpected token `}'  $ sudo echo ' 15  9  *  *  * root /opt/script.sh' >> /etc/crontab bash: /etc/crontab: Permission denied $ sudo echo ok ok

I've been given sudo access on one of our development RedHat linux boxes, and I seem to find myself quite often needing to redirect output to a location I don't normally have write access to.  The trouble is, this contrived example doesn't work:  sudo ls -hal /root/ > /root/test.out   I just receive the response:  -bash: /root/test.out: Permission denied   How can I get this to work?


I'm using Macbook Pro Mid 2012 on Sierra. It has two partitions without OS partition. Four times those 2 partitions getting corrupted(can't copy files). And I tried to repair disk, And got this message    After I restart my MBP got this.    So as they said I copied the data and reformat it to "Mac OS Extended (Journaled)". Again in 2 days one partition got corrupted. So then I realize File system was "Mac OS Extended (Journaled)" and now it shows only "Mac OS Extended".    Rashs-MacBook-Pro:~ rashmendis$ sudo gpt -r show disk0 Password:        start        size  index  contents            0           1         PMBR            1           1         Pri GPT header            2          32         Pri GPT table           34           6                    40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B       409640   781975184      2  GPT part - 53746F72-6167-11AA-AA11-00306543ECAC    782384824     1269536      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC    783654360   715947032      4  GPT part - 48465300-0000-11AA-AA11-00306543ECAC   1499601392      262144            1499863536   453399448      5  GPT part - 48465300-0000-11AA-AA11-00306543ECAC   1953262984      262151            1953525135          32         Sec GPT table   1953525167           1         Sec GPT header  Rashs-MacBook-Pro:~ rashmendis$ diskutil list /dev/disk0 (internal, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *1.0 TB     disk0    1:                        EFI EFI                     209.7 MB   disk0s1    2:          Apple_CoreStorage MacOS                   400.4 GB   disk0s2    3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3    4:                  Apple_HFS Backup                  366.6 GB   disk0s4    5:                  Apple_HFS Data                    232.1 GB   disk0s5  /dev/disk1 (internal, virtual):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:                            MacOS                  +400.0 GB   disk1                                  Logical Volume on disk0s2                                  6E77AA56-7B2E-4388-9640-F34D7E92164C                                  Unencrypted   Issues having with disk0s4 and disk0s5.   I need to know is this a problem of my HDD drive or a issue with the OS.

I'm trying to remove linux partition from my iMac (21.5-inch, Mid 2011) on MacOS Sierra 10.12 Beta 2, So I tried existing solutions by using Disk Utility, I tried from Recovery as well, But it says      You can not remove this volume because the previous volume can not be resized         Some  use Terminal but I have no idea about that.  I need a simplest and easiest way to remove these linux partitions and grow my mac partition.


I just got the new update, and the app logged me out.  I tried logging in with Google, but when I log in, it redirects me to the Google homepage. I click done and all it does is prompt me to log in again. I do again and it redirects me to Google again. I click done and this time, it shows a white screen.

I downloaded the July 30th update for Pokemon Go and when I open the app I'm prompted to login, But once I login, it redirects me to this page on Cookies::     If I click "Done" in the top left, it prompts me to login again! I've tried reinstalling the game, restarting my phone, etc. I can't much enable Cookies on the inline Safari browser. It doesn't make sense, and cookies are on in Safari (because I don't use Safari and they're enabled by default).  How can I fix this?


I see in some gifted physical texts great discovery that "The gravity is not a force, its manifest of spacetime curvature"  And in others i see "the major problem of unifying the extra weak force of gravity by other three forces"  Some words are a little misleading...

I have studied some of Einstein's Theory of General Relativity, and I understand that it states that gravity isn't a force but rather the effects of objects curving space-time. If this is true, then why are we instructed in middle school that it is a force?


I have no C++ experience and want to learn. I have XCode but the IDE confuses me and seems far too advanced for my current level.  I'm starting with this   // my first program in C++  #include <iostream> using namespace std;  int main () {   cout << "Hello World!";   return 0; }   I entered it into SublimeText2 using the C++ formatting and then saved the file in   Ryan>Desktop>ApplicationDevelopment>Sandbox as helloworld.cpp   I have XCode installed and found   I went to terminal, navigated to the directory it is in and tried:  make helloworld.cpp   It returned:  make: Nothing to be done for 'helloworld.cpp'   Update, hopefully the below formatting is clear     $ g++      i686-apple-darwin10-g++-4.2.1: no input files      $ g++ helloworld.cpp -o outputname.bin      $ (nothing returned)      $ g++ helloworld.cpp helloApp ./helloApp      i686-apple-darwin10-g++-4.2.1: helloApp: No such file or directory      i686-apple-darwin10-g++-4.2.1: ./helloApp: No such file or directory      $ g++ helloworld.cpp -o helloApp ./helloApp      ld: in ./helloApp, can't link with a main executable      collect2: ld returned 1 exit status

How can I compile/run C or C++ in Unix console or a Mac terminal?  (I know it, forget it, and relearn it again. Time to write it down.)


Can someone enable syntax highlighting for verilog and system-verilog code in SO?

I noticed that sometimes my code gets highlighted in different colors when rendered.   What is syntax highlighting? How does it work? Why isn't my code being highlighted correctly? How do I report a bug or request a new language? How do I use syntax highlighting? What languages are currently available on Stack Exchange?


Hello everyone how are you? I created a ConfigEntity with some fields:  Title (textfield) Body (CKEditor)  After that I insert the first item:  Title = "Hello World" Body = "This is a test"  And now I need to translate this Entity to show "Title" and "Body" in the Spanish language. E.g:  Title = "Hola Mundo" Body = "Esto es una prueba"  How can I do this? Thank you so much.

The question is fairly straight forward. I have several config entities with various fields.   I haven't found a way to translate config entity fields in the Drupal 8 documentation(or maybe I haven't looked hard enough, both are a strong possibility).


You can apparently interchangeably include or omit INTO in INSERT statements at least both in MySQL and SQL Server:  -- works: INSERT INTO Table (Column) VALUES (1); -- also works: INSERT Table (Column) VALUES (1);   Why is this and which approach should be taken?

I have been working with T-SQL in MS SQL for some time now and somehow whenever I have to insert data into a table I tend to use syntax:  INSERT INTO myTable <something here>   I understand that keyword INTO is optional here and I do not have to use it but somehow it grew into habit in my case.  My question is:    Are there any implications of using INSERT syntax versus INSERT INTO? Which one complies fully with the standard? Are they both valid in other implementations of SQL standard?


I am new to Crypto field. Many papers are boasting of not using Random Oracle model. Instead, those prove security in Standard Model. I am surprised how do these models differ. Can anyone please clarify me? Does using Hash function mean that the paper makes use of Random Oracle?

What is the "Random Oracle Model"?  Is it an "assumption" akin to the hardness of factoring and discrete log?  Or something else?  And why do some researchers have a strong distrust of this model?


I came across  in Ray Monk's Bertrand Russell: The Spirit of Solitude, 1872-1921, Volume 1:     On the contrary, she had just written — and had had accepted by The Nineteenth Century — a polemic of her own entitled 'A reply from the daughters', which defended the right of ….   What is the structure of "had had accepted" in the above sentence? Is it of the form:"past perfect + p.p.", or of the form:"have/had + object + past perfect" , with the object "pulled out to the end"? Is there a passive voice in it?

For example, what is the difference between the following two sentences:     I had a bad day      I had had a bad day


I am looking to insert a count down clock in content editor web part using html / jQuery. Did any one ever do this? I am unable to figure out how to start as am not a pro in scripting.

I am having a little trouble figuring out how to make this work properly, I am trying to put a small countdown clock in the left column and one in the right column, which will show a countdown to two separate dates. I was able to create a single countdown clock using the below code and was hoping to be able to be able to tweak the code enough to allow it to run on a second CEWP with a different date. Is it possible to run two Javascript files on the page without them interferring with eachother? Thank you anyone that can lend a quick hand.

Countdown Clock Left

Days

Hrs.

Min.

Sec.


Upon exporting my character in blender as fbx it rotates by -90.  The question linked has not fixed my problem. :|  I have already applied transform, rotation, and scale. This happens in blender right after i export and it brings me back to the 3D view.  The character used to export normally, until i recently rechecked some animations and edited the bones.

I have had no problems exporting .fbx files for Unity except recently some of my .fbx started to rotate the mesh. The asset is correctly oriented, but the mesh is rotated 90 degrees. Is there an explanation and fix for why this happens sometimes, and works properly otherwise?


While visiting the flags I just noticed that  answer has two flags:   very low quality not an answer   I disagree that it is "not an answer", but I agree that this might be of "very low quality". I can't simply select "it has invalid flags" as that means I disagree with both flags. What should I do in this case? Use "other" option?

Sometimes a post has both valid flags and invalid flags. As far as I can tell, all the flags on the same post have to be dismissed with the same validity.  The scenario I encountered (on ):   A low-quality question is closed. The asker improves the question and flags for reopening. A moderator reopens the question, but doesn't dismiss the flag yet. Someone else flags the question as “off topic”.   Since I agree with the reopening, and I don't consider the question off-topic, I would like to dismiss the first flag as valid and the second flag as invalid. But there's only one set of buttons for both flags.  And just now, two flags on a closed question: one that says “delete it”, the other one that says “reopen it”. The correct course of action is neither (the ideal outcome would be for the question to be edited then reopened). I should provide different feedback to the two flaggers, but I can't.  Unless I've missed something, please allow multiple flags on the same post to be dismissed separately.


I have submitted a paper to a very reputed publication of electrical engineering via ScholarOne.The status of my paper changed from "Awaiting AE assignment" to "Under Review" directly. Does it mean that is under the review of editorial office? Could it change from Awaiting AE assignment to Under Review directly without AE being assigned ?

What steps does a manuscript typically go through from submission to publication (or rejection) in a typical journal? How are these steps referred to, in particular by editorial systems, and how long do they each typically take?  Note that this question is about the typical situation and hence not about:   Journals with an atypical workflow, e.g. those that allow for an instantaneous reviewer–author interaction. Exceptional steps or rare occurrences such as withdrawal or .   This is a canonical question on this topic as per . Due to its nature, it is rather broad and not exemplary for a regular question on this site. Please feel free to improve this question.


I want to send an SMS via iPhone code to a selected recipient - I don't want to have to specify the recipient's number in the code. I want the app to take the message and enable me to select recipients from the Contacts in the iPhone device.

Does anybody know if it's possible, and how, to programmatically send a SMS from the iPhone, with the official SDK / Cocoa Touch?


I want to repeat the uv mapped texture by precisely 'n' times without using array etc. How can it be done?

I want to make a wall with a image repeating across it like wallpaper.  I tried it in the node editor but the image is taking up the entire plane. I just want it to be small and for the image to repeat across the entire plane.  How do I do that?


On my mobile device (iphone safari), after I switched to full site view, I wasn't able to find the link to switch back to mobile view.  How to go back to mobile view without clear cookies?

At the moment I am using damn slow dialup internet and desperately need a link to switch to mobile site for faster browsing.  There should be a link to switch to mobile site also in desktop web browser.


I have a problem.  Lately I've installed nodejs (if you don't know what it is, it does not really matter, could be anything else) from sources to /opt/node:  $ ls -la /opt ... lrwxrwxrwx  1 root root   11 2012-07-25 13:48 node -> node-0.6.3/ drwxr-xr-x  6 root root 4096 2012-07-25 13:48 node-0.6.3 ...   so, the binaries are in /opt/node/bin:  $ ls -la /opt/node/bin ... lrwxrwxrwx 1 root root      38 2012-06-20 11:44 npm -> ../lib/node_modules/npm/bin/npm-cli.js ...   As you can see, npm is there. To make it easier to use it from a command line I fixed $PATH inside .bashrc script:  HOME=$HOME:...:/opt/node/bin  and so did to the root's .bashrc:  # which npm /opt/node/bin/npm   But if I run npm with sudo, npm is not found:  $ sudo which npm $ sudo npm -g install uglify-js sudo: npm: command not found   So, why is it happening? How do I gain what I want?  Thanks.  UPDATE: Following Paul's advice, I've added  Defaults  env_keep = PATH   to the /etc/sudoers  but the problem persists anyway:  $ echo $PATH ... :/opt/node/bin $ sudo su - # # sudo -V ... Environment variables to preserve:     XAUTHORIZATION     XAUTHORITY     TZ     PS2     PS1     PATH ...   So, Defaults directive did it's job, but I'm getting the same sudo: npm: command not found

There are a few question on the site that seem related to my problem but I could not find a solution in any of them.   My operating system is Ubuntu 12.04. I have mvn installed in /tools/noarch/apache-maven-3.1.1 and I have added the following lines at the end of my /etc/profile:  export M2_HOME=/tools/noarch/apache-maven-3.1.1 export PATH=$M2_HOME/bin:$PATH   After that I execute source /etc/profile.   Now my problem is: when I run mvn --version the command succeeds and mvn executable is found, while if I execute: sudo mvn --version I get the output: sudo: mvn: command not found. I know that PATH may be different when I execute a command with sudo and that is why I tried this:  $>sudo echo $PATH /tools/noarch/apache-maven-3.1.1/bin:... some other stuff ...   Another thing I tried is to execute sudo su - and then type mvn --version. In this case mvn is successfully found and the command succeeds. What is going on here?


Suppose, $f:\mathbb{R} \to \mathbb{R}$ is Borel-measurable. Define $A$ to be the smallest $\sigma-$algebra containing the sets $ \{\ x: f(x)> a \}\ $ for every $a\in \mathbb{R}$. Suppose $g:\mathbb{R}\to \mathbb{R}$ is measurable with respect to this $\sigma-$ algebra $A$. Prove that there exists a Borel-measurable function $h:\mathbb{R} \to \mathbb{R}$ such that $g=h\circ f$.  Now, what I understand is the the new $\sigma-$algebra is contained in the Borel-sigma algebra. Hence g is Borel-measurable. But how do we construuct such an h?  Thanks in advance!!

Problem:  Suppose $f: \mathbb R \to \mathbb R$ is Borel measurable. Define $\mathcal A$ to be the smallest $\sigma$-algebra containing the sets $\{ x : f(x) > a\}$ for every $a \in \mathbb R$. Suppose $g: \mathbb R \to \mathbb R$ is measurable with respect to $\mathcal A$, which means that $\{x : g(x) > a\} \in \mathcal A$ for every $a \in \mathbb R$. Prove that there exists a Borel measurable function $h: \mathbb R \to \mathbb R$ such that $g= h\circ f$.  What I've looked into so far:  I'm thinking $h = g\circ f^{-1}$. This would mean I would need to prove that for any Borel measurable set $B$, we have $h^{-1}(B) = f(g^{-1}(B))\in \mathcal B$. Since $g$ is $\mathcal A$-measurable, $g^{-1}(B) = A\in \mathcal A$. Can we say that since $f$ is Borel measurable, $\{x: f(x) > a\} \in \mathcal B$, and $\mathcal A \subset \mathcal B$? However, I'm not sure what I can say about $f(A)$ besides that I need it to be Borel measurable.   Should I approach this differently, or am I on the right track?


Let’s say a defender is injured and leaves the pitch for treatment just outside his goal-line. If an attacker of the opposite side then receives the ball in a position which would previously be called offside, would it also be offside then, or would the off-pitch defender break the offside?

I had a little conversation one of my football friends and we had this interesting situation come up during the conversation.   As I understand the , the offending player should not be closer to the goal than the second-to-last defender.   But, what if at the point of the player receiving the ball, one of the defenders go out of play? Like for example, the goal keeper or the other defender is injured or goes out of the field. Would it still be considered an offside because there is only a single defender between the offending player and the goal? If yes, why can't this rule be exploited to effectively nullify the goal scored, if any?


I have a class like this:  public class DateS extends Date {     public DateS yesterday(){         Calendar cal = Calendar.getInstance();         cal.setTime(this);         cal.add(Calendar.DAY_OF_YEAR, -1);         return (DateS) cal.getTime();     } }   It can be successfully built. At runtime, when I call date.yesterday(), a Cannot cast 'java.util.Date' to 'myproject.package.DateS' are throwed.  I need to know why and what can I do to fix this.

Upcasting is allowed in Java, however downcasting gives a compile error.   The compile error can be removed by adding a cast but would anyway break at the runtime.   In this case why Java allows downcasting if it cannot be executed at the runtime? Is there any practical use for this concept?   public class demo {   public static void main(String a[]) {       B b = (B) new A(); // compiles with the cast,                           // but runtime exception - java.lang.ClassCastException   } }  class A {   public void draw() {     System.out.println("1");   }    public void draw1() {     System.out.println("2");   } }  class B extends A {   public void draw() {     System.out.println("3");   }   public void draw2() {     System.out.println("4");   } }


I am beginner in photography and want to buy a small and cheap camera for learning purposes. I am in a dilemma: should I purchase a point and shoot camera with high zoom (50X) or should I purchase a basic DSLR at the same price.  My budget is not so high but I can get a point and shoot camera for INR 20000. Though there are some DSLR cameras in the same range, the lens quality and Zoom X are not high.  Please recommend, do I get a great point-and-shoot with 50x zoom or a DSLR with small zoom?

I am thinking of buying a camera to learn photography. Most of the time I'll be shooting portraits and landscapes. But I am not sure where I should start. Most of my friends tell me that I should get an entry level DSLR, but I am not sure if I have the persistence and enthusiasm to carry it all day in a backpack. But the camera on my cellphone doesn't seem to be enough to begin with.  So what I want is some expert advice (preferably with professional experience). Can most compact fixed-lens or mirrorless cameras fit the situations I mentioned? Or do I really need to go to a DSLR to get a tool to learn photography?


I am new to latex. So I am using only basic commands. I am writing my thesis, in which I have to add a lot of tables. Regarding the horizontal length of tables, I would like to have same horizental length for all tables.   Is there any command to set this?  Thanks

I have the following table:  \begin{table}[htb] \begin{tikzpicture} \node (table) [inner sep=0pt] { \begin{tabular}{ l | l }   {\bf Symptom} & {\bf Metric} \\ \hline Class that has many accessor methods and accesses a lot of external data & ATFD is more than a few\\ Class that is large and complex & WMC is high\\ Class that has a lot of methods that only operate on a proper subset of the instance variable set & TCC is low\\ \end{tabular} }; \draw [rounded corners=.5em] (table.north west) rectangle (table.south east); \end{tikzpicture} \caption{God class symptoms} \label{tbl:god_class} \end{table}   Now I want to force the width of the table to be the same as the \textwidth, either by linewrapping of table text or by scaling. How can I achieve that?


For primes $p,q$, what are the solutions to $$x^2=(p+q)x\pmod{pq}$$

Solve $x^2+5x+6 \equiv 187 \mod 187$ Solution $$x^2+5x+6 \equiv 187 \mod 187$$ $$ (x+\frac{5}{2})^2 \equiv \frac{1}{4}$$ $$ 4(x+\frac{5}{2})^2 \equiv 1$$ $$ y:= x+\frac{5}{2} $$ $$ 4y^2 \equiv 1 \mod 11 \wedge 4y^2 \equiv 1 \mod 17  $$ $$ ( 2y \equiv 1 \mod 11 \vee 2y \equiv 10 \mod 11 ) \wedge ( 2y \equiv 1 \mod 17  \vee 2y \equiv 13 \mod 17)  $$ $$ ( y \equiv 6 \mod 11 \vee y \equiv 5 \mod 11 ) \wedge ( y \equiv 9 \mod 17  \vee y \equiv 15 \mod 17)  $$ Combining that from CRT I got: $$ y \in \left\{49, 60,83,94 \right\} $$ and for example: $$ x+\frac{5}{2}  \equiv 94 \mod 187$$ $$ 2x  \equiv 183 \mod 187$$ some calculus and get... $$x \equiv 185 $$ And the same thing for each other case. Question Is there any faster (or smarter) way to solve equations like that?


Snippet from the book "STYLING vs. SAFETY The American Automobile Industry and the Development of Automotive Safety, 1900-1966" by Joel W. Eastman:     and its continual improvement by progressive and innova- tive   manufacturers. The industry also pointed to stat- istics which   indicated that automobiles rarely caused accidents as support for the   assumptions that it was not normal for one to be involved in a crash   and that even a perfect motor vehicle could not overcome defects in   drivers and highways.      By the late 1940's and early 1950's, however, there came to be a   growing awareness within the industry that the small but increasing   demand for design for crash protection by members of the medical   profession and oth- ers was significant enough so that it would be   wise to keep abreast of developments in the area. One by one, the   major manufacturers either officially or unofficial- ly assigned the   responsibility to an individual or set up an automotive safety   department. Although the number of engineers involved was   insignificant compared to the thousands of specialists working on   automobile design   Is this a valid American "style"? I know you can shorten "1950s" to "'50s", but "50's"? That's like, "50 is" or "the 50 dollar bill's serial number"... surely it can't be right? I'm aware that it's "common", but this is... a book?

I typically don’t use an apostrophe with plurals in any situation, but I always assumed that the use of an apostrophe in constructions like acronyms:     Forty BA’s were given out to students this year.   or numbers:     Though the greatest period instability occurred during the 1950’s when. . . .   was more or less ok. I would personally use BAs and 1950s here, but I've never thought the apostrophe in this case was necessarily “incorrect”. What say ye?


This Java code below is not returning true in if else statement...  public class DecimalComparator {      public static void main(String[] args) {         System.out.println(areEqualByThreeDecimalPlaces(25.367876,25.367873));     }      public static boolean areEqualByThreeDecimalPlaces(double a, double b){          DecimalFormat threePreshizen = new DecimalFormat("###.###");         String aNew = threePreshizen.format(a);         String bNew = threePreshizen.format(b);          System.out.println(aNew);         System.out.println(bNew);          if (aNew == bNew){             return true;         }else {             return false;         }     } }   I expect it to return "true".

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


I recently used my Sigma 150-500 lens to shoot my son surfing. I was using a circular polarizer. The shots all appear out of focus even though focus was good and depth of field was good, even though the filter was clean. As a guess, I removed the filter and the problem went away. I did not have the same problem with my other lens and its polarizing filter, so I'm thinking I have a cheap filter and need a better one. I was using AGFAphoto CPL 86mm. Do you agree, and if so, what is a recommended circular polarizer please? Thank you

It was suggested that I should get myself a polarizer filter to get over my reflection problem. (  )  I found out that a Nikon 52mm Circular Polarizing Filter CPL   while I can get another filter for less than half the price — . (Please note that I know nothing about these filters and googled them just for the example.)  What is the difference between polarizer filters?  I need to remove the glare and nothing else — would either of the two do the magic for me? What filter do you recommend for me?


How would I go about printing an array that holds a string that is in another class using println? An example of what I mean is:  public class questions{      public void QuestionDatabase(){          String[] QuestionArray;         QuestionArray = new String[2];          QuestionArray[0] = ("What is a dog?");         QuestionArray[1] = ("How many types of dogs are there?");      }  }   In this other class, I want to grab a question from there like so:  public class quiz{      public static void main (String[] args){         //Here is where I want to grab QuestionArray[0] and print to the screen.         System.out.println("");      }  }

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


Given $k$ is an algebraically closed set.I was thinking to do some sort of Taylor series expansion, but it is only valid when $k$ has some metric.what should I do?

Let $R$ be a commutative ring, $a_1, ..., a_n$ its elements and  $\phi: R[x_1, ..., x_n] \to R$  defined by  $ \phi(f(x_1, ..., x_n)) = f(a_1, ... ,a_n)$  a ring homomorphism.  Prove: $\ker \phi = (x_1-a_1, ..., x_n-a_n)$  It is obvious that $(x_1 - a_1, ..., x_n -a_n) \subseteq \ker \phi$. I'm not sure how to prove the converse.  At this point I don't know any division algorithms for multivariable polynomials, only for the ones in $R[x]$(and the book from where I taken the exercise doesn't assume the reader to know something beyond basics of rings and ideals, and the division algorithm for $R[x]$). Though I know this could be solved for $i = 1$ by dividing by $x-a$:   Let $f(x) \in \ker \phi$, divide by $x-a: f(x) = q(x)(x-a) + r, f(a) = r = 0$, so $f(x) = q(x)(x-a) \in (x-a)$.


I can't quite install the fonts properly and check the log files, nor can I identify if the font is loading properly. That is, I want to choose the typography but can't notice minor differences between several types that may appear.  Main question: How do I know what fonts are loading?  ... and not just the default?    How do I install and change to other typgraphies? How do I identify the fonts compiled in pdf, or log? I'm interested specially in  How do I get a grip to understand the log files     Relevant?

I'm getting some cryptic (for me) errors and warnings when I compile.  On the advice of darn near every internet resource I could find, I dug into the .log file.  The trouble is, I don't know how to interpret what I see.  I don't want to take up people's time so, where can I find a Reading LaTex .log Files for Beginners document?


This morning i noticed that wherever i want to click on menu and above menu i have invisible links leading to spam websites.  It looks to me that they are hard coded but i have no idea where to delete them or how did hacker get access to my website. Was it through Drupal, or through server ftp or some other way. I have several websites on this server so i guess its possible that all of them are attacked. Checking everything through drupal interface gives me no clue.  What steps should i do to prevent this from happening. Is there any way to find out when did this happen so i can maybe do server backup (websites are static so not much would be lost). Will it be enough to just change server/drupals passwords ?  Any help would be apreciated. Only thing i can think of right now is to put all websites in maintanance mode and wait for help.  UPDATE: With hacked module i found that 4 files were changed:  includes/bootstrap.inc (no change there except 1 extra emtpy line at the end of document)  .htaccess (change is only in non www to www, which i did myself)  robots.txt (Crawl speed default line was removed, nothing else).    includes/theme.inc (here is the change, at line 2704, three lines added).  if($variables['classes_array'][1]=='front')  "$variables['page_bottom'] .= '<div class="_all_wplink_2CUJ7TnE_cc"style="position:absolute;left:0;top:0;opacity:0.001;z-index:10;filter:alpha(opacity=0)">Don\'t pump.... here comes bunch of links."   if($variables['classes_array'][1]=='front')   Line 2 is huge and contains bunch of spam links. Easy to fix this but no idea how to prevent from happening again, how did hacker got access to server. Please advise.

I just updated all my sites using the patch method of resolving the Drupal SA-CORE-2014-005 exploit. I just read reports that just yesterday there is someone from a Russian IP infiltrating drupal sites.     My main concerns are now:   How do I tell if my sites have been comprised? What should I search for in my apache access logs to detect if my site was a victim or not? So far what are these hackers doing to comprised sites?


X and Y are independent uniform r.vs in the common interval (0,1).   Determine where Z = X + Y.   There are 2 ranges of z: $0 < z < 1$ and $1<z<2$.  The diagrams given for both ranges to find $F_z(z)$ is given as follows.    For $1<z<2$,  $$F_z(z) = 1-P(Z>z) = 1-\int_{y=z-1}^{1}\int_{x=z-y}^{1} 1 \,dx \,dy$$  I understand the integral over x, but I don't understand how to get the integral over y, i.e. $\int_{y=z-1}^{1}$. How is the $y=z-1$ obtained?

I'm really having a hard time with this topic in probability theory and I was wondering if someone has any tricks, tips or anything useful to help me understand it. In my notes I am told that $X\sim$Uniform$[0,1]$ and $Y\sim$Uniform$[0,1]$. My professor wrote:      $f_{X+Y}(Z) = \int_0^Z f_X(x) f_Y(Z-x)\;dx \neq Z$   Then somehow he came up with these cases where $Z$ is defined, and used that in making the pdf. I'm just not sure of how he did this or how he also came to find $P(X_1+X_2\le 2)$. Can someone help me fill in the blanks? I went to him directly but he just said the same thing as in lecture and wasn't helpful.


I need to have other cities' time on Ubuntu 18.04, like on Ubuntu 16.04 Time & Date settings, but I can find no information on how to do this. Any Suggestions?

I looked everywhere but I couldn't find a way to display multiple clocks in GNOME 3. In classic GNOME and Unity, it is possible. Also, for some strange reason, additional timezones cannot be added to the clock using the time-date applet in classic GNOME. Any solutions?


We want to create a "Greeting Counter" that tell us how many times you entered a greeting. Improve the program that takes any number of words in a single line as input, and outputs the number of greetings. Valid greetings to count are "Hi", "Hello" and "Hey". Different cases are allowed. The input ends with -1 on a line alone. Ex: If the input is: Hi World Hey -1  then the output is: Greetings: 2  import java.util.Scanner;  public class GreetCounter {      public static void main(String[] args) {       Scanner scnr = new Scanner(System.in);       String input = scnr.nextLine();      int i = 1;              while(!input.equals("-1")) {          if (input.equals("Hi") || input.equals("Hello") || input.equals("Hey")) {              i +=0;           }       }          System.out.print("Greetings: ");          System.out.println(i);     } }


I was given a question to determine whether the following access is legal.  package SomePack;  public class A1 {     ... protected int y1; }  ///////////  package Whatever; class B2 extends A1 {     void h(SomePack.A1 x) {         x.y1 = 3; // Is this line legal?     } }   I thought it's presumably legal since  1. y1 field is protected 2. B2 extends A1 so B2 is a subtype of A1.  3. Access control is based on static type and the static type of x is A1.  But the interviewer said the answer should be illegal. Anyone could help explain this? Many thanks.

In Java, are there clear rules on when to use each of access modifiers, namely the default (package private), public, protected and private, while making class and interface and dealing with inheritance?


The show I'm looking for is highly unknown to the vast public. Despite all my attempts to find it (and I have for a long time), I have yet to find any clue that could lead me to it. The only memories I have of it are very vague, all I know it that it had a very unusual style of animation. If memory serves me, it took place in a high school type setting. Everything about the show was animated (so no real life actors, etc.) Another thing I seem to remember is that the protagonists used some sort of digital tablets, and they would, using them, transfer into other worlds/galaxies to fight/capture monsters. I used to watch this show somewhere back in the year 2006-2009 (I don't even remeber exactly). Also, it was broadcasted on French television (where I watched it). I could be an american show for all I know. Most likely this show was a huge flop and cancelled, hence why I have to this day failed to find anything relating to it.

I remember very little but enough... I know that there were 3 worlds, a real one, a mid-world kind of with a teleporter, and the world with all the creatures. The first episode was in the desert and there was a good monster that saved the main guys from a bad one. Before he saved them he said every end is a beginning and every beginning is an end.   Please help me; I've tried everything. I saw it on , I think it was not Japanese. I live in Croatia, so I saw it there. It was aimed at kids, but not younger kids. The main characters were human, around 15 years old. The teleporter was in the middle of a big structure. It was a 6 piece tp, so every circle was one, and it was shaped like a star. There were robots working there; they carried food and other things.  I remember that all the creatures thought that the humans are evil, all but the one, the "lord" of all of them. And yes, the main character got to the world by some sort of a device that he found and it belonged to another kid who lost it and they were able to transform in the creatures from the world by it. When they are in the "other world", their body stays in the real world and acts normally but their soul gets transported to the mid-world


prove: if $x,y\in\mathbb{R}$ then $2xy\le x^2+y^2$  if one or both of $x,y$ is $0$ or one is negative, the result follows.  if both are negative the negatives cancel and it is the same as if they were both positive.  both positive or both negative:  $2xy\le x^2+y^2\Leftrightarrow 2y\le{x+{y^2\over x}}\Leftrightarrow 2\le {x\over y}+{y\over x}$.$\space\space$if $x=y$ the result follows with ${x\over y}+{y\over x}=2$. if $x\gt y\space$ then $x=y+i,i\in\mathbb{R_+} \space$ and $\space{x\over y}+{y\over x}={{y+i}\over y}+{y\over {y+i}}={y\over y}+{i\over y}+{y\over {y+i}}\gt {y\over y}+{i\over {y+i}}+{y\over {y+i}}$ $=1+{{i+y}\over{i+y}}=2$.$\space\space$similar argument can be used for $y\gt x$.  Is this proof valid for real numbers?  especially irrational numbers.  thanks.

How can I prove that $xy\leq x^2+y^2$ for all $x,y\in\mathbb{R}$ ?


The command i want to execute:  tool <input> [<input> ...] <output>   I have the input list in a file, separated by newline.   I want to put that file's content into the input field. What I have tried:  First I load the file into an array:  # Load file into array. declare -a list let i=0 while IFS=$'\n' read -r line_data; do     list[i]="${line_data}"     ((++i)) done < file.txt   Then I tried using that array in the command as:  tool $list output   But it doesn't work as I expected. Can someone help me on this?   Thank you very much

I've got this situation:  ./ ./myscript.sh ./arguments.txt ./test.sh   Inside myscript.sh, I have to run the file test.sh, passing to it the arguments contained inside arguments.txt.  myscript.sh is:  arguments=$(cat arguments.txt) source test.sh $arguments   This works well if if arguments.txt contains at most one argument:  firstargument    The substitution is:  ++ source test.sh 'firstargument'   But the problem is with two or more arguments. It does this:  ++ source test.sh 'firstargument secondargument'   Also, I don't know in advance the number of arguments inside arguments.txt. There can be zero or more.


This is my code:  public class Main {  private int[][] AR; private int[][] AG; private int[][] Sink; private int[][] RR; private int[][] RP;  private int n;  //int n = 3;  public void initialization(int n) {     initAR(n);     initAG(n);     initSink(n);     initRR(n);     initRP(n); }  public void initAR(int n) {     this.AR = new int[n][n]; }  public void initAG(int n) {     this.AG = new int[n][n]; }  public void initSink(int n) {     this.Sink = new int[n][n]; }  public void initRR(int n) {     this.RR = new int[n][n]; }  public void initRP(int n) {     this.RP = new int[n][n]; }  public int multi_unit_fun(int process, int resource) {      boolean IsAllocated = false;     for (int i = 0;i < n;i++) {         if (AG[resource][i] == 1) {             IsAllocated = true;             break;         }     }       if (!IsAllocated) {//resource is available         AG[resource][process] = 1;         Sink[resource][process] = 1;         RP[resource][process] = 1;         return 0;     }     else {//resource is not available.         if (Sink[resource][process] == 1) {             return 1;         }         else {             blockProcess(process, resource, n);             return 2;         }     } }  public int[][] getSink() {     return this.Sink; }  public  void blockProcess(int process, int resource, int n) {     AR[process][resource] = 1;     int sum = 0;     for (int i = 0;i < n;i++) {         sum += AG[i][process];     }     if (sum > 0) {         for (int k = 0; k < n;k++) {             if (Sink[k][process] == 1) {                 for (int j = 0;j < n;j++) {                     Sink[k][j] = Sink[resource][j];                     RR[k][j] = RR[k][j] | RR[resource][j];                     RP[k][j] = RP[k][j] | RP[resource][j];                 }             }         }     } }  }   When the code is executed at "AG[resource][process] = 1" there is an exception said "NullPointerException". It seems like there is something wrong when I initialize the matrix AR. But I cannot figure out what is the problem.

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


We know that atom is ninety nine percent empty and all matter is made up of matter then why matter is mostly empty ?

The ghostly passage of one body through another is obviously out of the question if the continuum assumption were valid, but we know that at the micro, nano, pico levels (and beyond) this is not even remotely the case. My understanding is that the volume of the average atom actually occupied by matter is a vanishingly small fraction of the atom's volume as a whole. If this is the case, why can't matter simply pass through other matter? Are the atom's electrons so nearly omnipresent that they can simultaneously prevent collisions/intersections from all possible directions?


Solve Burgers' equation $$ \left\{\begin{aligned} u_{t}+uu_x &=0 \quad \text { for } \quad t>0 \\ u(x, 0) &=u_{0}(x) \end{aligned}\right. $$ with $u=u(x,t)$ and the side condition $u(x,0)=-x$.  I am aware that a similar question with  has been asked before, and asked this because I was wondering what the difference would be when the characteristic lines are set to converge.

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.


We know that the following property conditional expectation holds, assuming $\mathbb E[|X|]<\infty$: $\mathbb E\left( {\mathbb E\left( {X|Y} \right)} \right) = \mathbb E(X)$ Could anyone give me some intuition into this? why when we take the expected value again, knowing the random variable Y will not affect the expected value of X.

I understand how to define conditional expectation and how to prove that it exists.  Further, I think I understand what conditional expectation means intuitively. I can also prove the tower property, that is if $X$ and $Y$ are random variables (or $Y$ a $\sigma$-field) then we have that  $$\mathbb E[X] = \mathbb{E}[\mathbb E [X | Y]].$$  My question is: What is the intuitive meaning of this? It seems quite puzzling to me.  (I could find similar questions but not this one.)


Two players each have a coin which gives heads with probability $0.7$   (player 1) and $0.3$ (player 2), respectively. Player 1 goes first,   and the players alternate until someone gets heads. What is the   expected number of tosses?   The  would model for each player separately the number of tosses until the first heads ($1.43$ and $3.33$), but I can't figure out the solution in this alternating case. I also tried an approach using Markov chains but to no avail. This is not my homework; I saw this problem online and couldn't figure out a solution.  Simulations place the expected number of tosses near $1.65$.   set.seed(142857)  res <- replicate(1e5, {   which.max(rbinom(100, 1, c(0.7, 0.3))) })  mean(res) [1] 1.6479

Here is the problem setup:  Two people play a game of throwing balls at a pin. Sally hits the pin 70% of the times she throws, and Bill hits the pin 40% of the times he throws. The game is won by the person who hits the target first. If Bill throws first each time, find the probability he will win.  With simulation, I get Bill's probability of winning to be around 0.52 (rounding to two decimal places). How to solve this problem analytically?


Show that there exists a constant $c$ such that $$\left|\int_0^b\frac{\sin ax}{x}dx\right|\le c$$ In fact, show that the smallest such number is $c=\int_0^\pi\frac{\sin x}xdx$.    Well, I'm thinking of a change of variable $y=ax$, and we want to show $\left|\int_0^B\frac{\sin x}xdx\right|$ is bounded. Then consider the intervals $[n\pi,(n+1)\pi)$ for natural number n. Thank you.

I need to show that there exists a $c$ such that $|\int_0^b\frac{sin(ax)}{x}dx | \le c$, where $a$ is any real number, and $b$ is any real number greater than 0. Also I need to show that the smallest $c$ possible is $c=\int_0^\pi\frac{sinx}{x}dx$. I know that $\int_0^\infty \frac{sin(ax)}{x}dx = sig(a)\frac{\pi}{2}$ where $sig(a)$ literally just means positive one or negative one, depending on the sign of $a$. I think the fourier tranform of the characteristic function on the interval $(0,a)$ is $\frac{sin(ax)}{x}$. After that, I am unsure about how to proceed. Thanks for your help!


Since I'm planning to visit Japan for 10 days and plan to apportion 5 days to Tokyo, I thought to reframe  inside a 300 km radius around Tokyo. 300 is just an estimate; I'm not strict about this. Moreover, I'm curious to know if where urban  go, for want of a seaside/costal  region for picturesque, scenic relaxation, resembling that of a nature getaway/resort/retreat. I tried  and     such as it's written , I equally want: 'We love rocky beaches, nature hikes, history, the smell of ocean air, the scenery of water, and ... to experience Japan in a smaller town way'   but I would like the satisfaction of these criteria:   I want to avoid bears and lethal animals.     Due to possible radiation, I'd like to shun Fukushima and its surroundings.     I won't drive, so must rely on public transport and walking (over reasonable distances).  I want to evade temples and all buildings related to religion.

I plan to visit Japan for 10 days and apportion 5 days to Tokyo. For the remainder, I want to escape the megalopolis and enjoy picturesque backwoods or countryside. Please recommend? Criteria:   No dangerous animals or untamed boondocks. No  or snakes. I won't drive, and must rely on public transport and walking less than 5 km in total.  No shrines, temples or any religious edifice. OPTIONAL: I fancy  , the more  the better.   This instantiates, doesn't duplicate, .


I've heard "gingerly" used to describe walking, running, and maybe a few other verbs that I can't think of right now. Was the term first used to describe walking, and why? The meaning doesn't seem obvious if you haven't heard it before.

For years I thought gingerly meant "with spirit or liveliness," I suppose because "spirit and liveliness" define the noun ginger.   But no; gingerly means "cautiously or carefully." How did it take on this meaning?  The Online Etymology Dictionary's entry is woefully unsatisfying:     gingerly (adv)   1510s, "elegantly, daintily," perhaps from Old French gensor, comp. of gent "dainty, delicate," from Latin gentius "(well)-born" (see gentle). Meaning "extremely cautiously" is from c.1600.


I have a problem, that when I use DVIview I get the correct picture but no result with PDFView. Maybe I don't use a necessary package or the problem in the pdf program in my computer!  here is an example   \documentclass{article} \usepackage{pstricks} \begin{document}  \scalebox{1} {% \begin{pspicture}(0,-2.15)(4.94,2.15) \psline[linewidth=0.04](1.92,1.63)(3.06,0.15)(4.88,1.31)(0.38,-0.73)(0.86,2.01)(4.92,1.33)(4.86,1.33) \end{pspicture}}  %\end{center}<-- disabled by mozartstrasse! \end{document}   I'm using (winshell)  I need your help :)

I thought that PSTricks package was not possible to use in pdfLaTeX but .   How can I force pdfLaTeX to use PSTricks then?


See the screen shot:        I guess it's not a feature but another minor bug.

When editing a question the tags are feeling a little shy and aren't displaying themselves fully.    The inline tag editing does not have the same problem but the tags jump around a little as well. I'm fairly sure that this has happened before but it was fixed and I can't find the bug report.  This only appears to be happening on MSE.  I'm on Chrome 34.0.1847.116 on Windows 7 if it makes a difference.


The scroll bars are too narrow to use, both in Ubuntu 20.04 windows and in application (Firefox) windows.  How can I make the scrollbars wider?  I'm new to Linux and I expected it to be more configurable; is Ubuntu Gnome not the best in configuration flexibility? I left Microsoft because, although XP was the best OS I've every used (almost infinitely configurable), Windows 7 has lost most of that user control.  Ubunutu is worse than even Windows 7 in that respect - VERY limited flexibility in the desktop. I installed Ubuntu 20.04 LTR and so expected Gnome 2, but apparently Gnome 3 was installed.  How can I get Gnome 2 back?  I also don't like snapd.  Should I just try another distro, like Mint or Debian and use KDE - something less proprietary?  Ubuntu is pretty useless to me if I can't even use the skinny scrollbars and Gnome provides no way to fix that(I'm 72). Thanks, AnneF

I'm glad the outside overlay scrollbars are finally gone.  But the scrollbar is still a razor thin line that becomes a less razor thin scrollbar, but still thin scrollbar, when the mouse hovers.  How can I get a normal scrollbar? I.e., like in other OSes, like in Firefox, a scrollbar that doesn't change depending on what the mouse points to, and with a nice width.  I already tried  gsettings set com.canonical.desktop.interface scrollbar-mode normal   but no luck.