Will keeping all my fans at 100% speed harm my computer?

If I use a program such as SpeedFan to keep my fans at 100% power 24/7, will it harm my computer? I don't care about my power bill but if the excess power could harm my computer I would worry. I have a 350 watt power supply so I don't think the excess power usage will harm it. Here's what I think:  Pros   Things it cools off are kept cooler Cooler parts = faster computer Cooler parts = slower fail rate   Cons   It just sounds wrong. I know this sounds dumb but still Most fans are designed to do their job already I'm either gaming or just browsing the web. Obviously gaming while keeping the fans on can be beneficial but my computer doesn't get very hot while browsing the internet.


Is it possible to split (or move) a git repository between directories?

When working on a home project, I decided to keep one common git repository for two close areas of the project: hello and world, each being developed in its own directory:  $ ls -la .git hello world   I now realize that this was a mistake and that I should have split it into two repositories, one in each directory.  Best case scenario: is there a mechanism which splits a repository in two, moving the changes relevant to files in hello and in world to their respective repositories (one in hello and one in world)  Less good case scenario: I care somehow less about the history in world so is there a way to move the whole repository into hello (it would also cover changes in world but never mind) so that I can restart a fresh repo in world?  Even less good case scenario (but who know): I will restart the repos from scratch and call it a lesson learned in thinking ahead more than I thought I should.


Is there a way to prevent a SystemExit exception raised from sys.exit() from being caught?

The docs say that calling sys.exit() raises a SystemExit exception which can be caught in outer levels.  I have a situation in which I want to definitively and unquestionably exit from inside a test case, however the unittest module catches SystemExit and prevents the exit.  This is normally great, but the specific situation I am trying to handle is one where our test framework has detected that it is configured to point to a non-test database.  In this case I want to exit and prevent any further tests from being run.  Of course since unittest traps the SystemExit and continues happily on it's way, it is thwarting me.  The only option I have thought of so far is using ctypes or something similar to call   exit(3) directly but this seems like a pretty fugly hack for something that should be really simple.


Show that $f$ is convex in $I$ such that $f(\frac{x+y}{2})<\frac{1}{2}(f(x)+f(y))$

$f$ is continuous in $I$  Show that if $f$ satisfies the condition   $f(\frac{x+y}{2})<\frac{1}{2}(f(x)+f(y))$ so it's convex    What I have to show here is $f(k_1y_1+k_2y_2+..k_ny_n)<k_1f(y_1)+k_2f(y_2)+...k_nf(y_n)$ such that $k_1+k_2+...+k_n=1$  The problem  is I don't know how to find  those coefficients $k$.


How do I boot Windows 10 after installing Ubuntu 16.04.3?

When I boot the computer, it briefly prompts to press DELETE to go into UEFI BIOS, then goes to the GRUB menu prompting which option of Ubuntu to boot with: generic or advanced. There is no Windows option anywhere in this menu. When I installed Ubuntu, I used a live-USB, following the official Ubuntu tutorials on installing Ubuntu to a USB (with Rufus and the iso file), and the installation guide, without deviating from the tutorial instructions. After booting with the USB, I successfully installed Ubuntu with the OEM option. (Booting with the "Install Ubuntu" option didn't work, I got a ubi-partman failed with exit code 151 error. Windows 10 v. 1511 was installed originally on an OEM software disc, where I since upgraded it to v. 1703.) During the installation I opted to install Ubuntu alongside Windows 10, then got this pop-up .  The original partitions are still visibile , showing that filesystem partition 1 (which Windows 10 is installed on) is reserved, bootable, but not NTFS mounted, partition 5 has the parition type "Linux", mounted at the filesystem root, and partition 6 has the partition type "Linux swap" and has contents "Swap (version 1) — Active".  I tried to follow Karel's answer on the linked question, but it seems to be lacking in details. I booted from the live USB, pressed e to go to command line, pressed tab to see the available commands, and saw no option for sudo. I pressed esc and in GRUB selected "Try Ubuntu without installing", and got a list of errors. Similarly, I tried selecting check disk for errors, with the first line being:  initramfs unpacking failed: LZMA data is corrupt.  Unfortunately I can't post more images due to my limited privileges.  I wanted to export the HTML file from the Brave browser on Windows to the Brave browser on Linux.


Be like or what is … like?     We can use be like to ask for a description of someone or something   (e.g. their appearance, their character, their behaviour):  What’s your new apartment like?  Not: How is your new apartment like?    What does "someone" mean? Is "a dog" belonged to someone or something?  Is "How is your dog like?" wrong?


How to avoid modifications during pg_dumpall

I want to do a final pg_dumpall on a server, then copy the output to a different server and restore the db there.  How can I avoid modification to the database during pg_dumpall?


How can I show that $\mathbb R [x]/(x^5+x-3)$ is not an Integral domain?   To prove that it is not an Integral domain at first I have show that $(x^5+x-3)$ this ideal is not a prime ideal as $\mathbb R [x]$ is a commutative ring with unity. For this I have to show $a(x)b(x)$ product of two polynomials belongs to the ideal $(x^5+x-3)$ but $a(x)\ \&\ b(x) \notin (x^5+x-3)$.  I can't find such $a(x)\ \&\ b(x)$?  Is there any other method to do this?  Please suggest some edit.


Is there a word that describes the act of trying to impose guilt on another party?

Context: an organization with which I am affiliated just sent an e-mail asking for donations. It was an obvious attempt to make everyone feel guilty about not donating. I wanted to send a message to a colleague: "this email is dripping with <enter word here>" -- but  I couldn't come up with a word. I know the of the phrase "guilt trip", which describes the actual guilt imposition, but it doesn't quite fit the usage I was after. Is there a word that describes the act of trying to impose guilt, that would fit the usage above?


Difference between reference by argument or reference by parameter?

I'm wondering if there is any difference between passing an object reference as a parameter or as an argument. Is the code below equivalent? Is there situations where I should use one or the other?   void foo(Object &object){     object.update() }   Object object  foo(object)   VS  void bar(Object *object){      object->update() }  Object object bar(&object)


Prove that $\lim_{n \to \infty} \int_0^1{nx^nf(x)}dx$ is equal to $f(1)$.

$\mathbf{Question}:$ Let $f$ be a continuous function on $[0,1]$. Then prove that the limit $\lim_{n \to \infty} \int_0^1{nx^nf(x)}dx$ is equal to $f(1)$.   $\mathbf{Attempt}$: First, we try to show that the sequence of functions $\{nx^nf(x)\}_{x\in [0,1]}$ is uniformly convergent to $0$ on the restricted domain $[0,1-\epsilon]$, $0<\epsilon<1$.   Let $\sup_{x\in[0,1]}f(x)= \mathcal{M}$. Then $|{nx^nf(x)}|\leq n(1-\epsilon)^n|\mathcal{M}|$ for any $x$ and $n(1-\epsilon)^n \to 0$ as $n\to \infty$.  Thereby, $\lim_{n \to \infty}\int_0^{1-\epsilon}nx^nf(x)dx=\int_0^{1-\epsilon}{\lim_{n \to \infty} }nx^nf(x)dx=0$  Now, denote $\sup_{x\in [1-\epsilon,1]} f(x)=M(\epsilon)$ and $\inf_{x\in[1-\epsilon,1]}f(x)=m(\epsilon)$.  $\int_{1-\epsilon}^1nx^n\ m(\epsilon)dx\leq\int_{1-\epsilon}^{1}nx^nf(x)dx\leq \int_{1-\epsilon}^1 nx^n\ M(\epsilon)dx$.  Now,  $\lim_{n \to \infty}\int_{1-\epsilon}^1 nx^n\ M(\epsilon)dx =\displaystyle \lim_{n\to\infty}\bigg[ \frac{nx^{n+1}}{n+1}M(\epsilon)\bigg]_{1-\epsilon}^1=M(\epsilon)$ [Similarly the other one is $m(\epsilon)$]  Clearly, as $\epsilon \to 0 , \ \ M(\epsilon), m(\epsilon) \to f(1)$, so $\lim_{n \to \infty} \int_0^1{nx^nf(x)}dx=f(1)$.  Is the procedure correct? Kindly verify.


Prove that if graph with $n$ vertices has at least $n$ edges, then graph has a cycle.

Could someone give a hint on this proof?


I wanted to flag a question as off-topic  (Flagging > Closing > Off-topic > Migration), and point it to  but that option wasn't possible. There were only 5 options possible.  Maybe include the same search box like you get when you click on the StackExchange header bar that says "Find a StackExchange site".


What is the equivalent of cin.ignore() in Java?

I am a new learner of Java language and for the past two years I have been working with C++. I am gonna need something equivalent to cin.ignore() in Java.


Gain Factors and Dynamic Ranges of Digital Cameras

I am a student working on a construction method for under sampled images. I am looking for a group of text books, papers, or web sites that would give me further understanding on how digital cameras apply gain before a raw image is output. More specifically is the Max and Min number of photons collected on the set of sensors used to define a Gain factor and how does this affect the dynamic range.  My current concerns are that these max and min values are used causing an issue with under sampled data as a max or min value might not have been sensed. Any references would be greatly appreciated in furthering my understanding of what current day recreational digital cameras are doing before outputting a lossless image format.  -Colin


Using particle accelerators for nuclear fusion

Apologies this is probably a stupid idea but I am curious and my knowledge of physics is limited as I am 14. So I was wondering if we could use particle accelerators to achieve nuclear fusion. I have found a few other posts about this but they seem to be about unnecessarily high energy accelerators when only approximately 1 MeV seems to be necessary to reach the fraction of the speed of light for fusion.   So it seems that there are two forces involved there is the electromagnetic which causes the protons to repel preventing fusion and has an infinite range. Then there is the strong force which is approximately 137 times stronger than electromagnetic but has a limited range of a femtometer and is necessary for fusion. So basically all that is required is to overcome the Coulomb barrier which requires the protons to be travelling at around 0.05-0.07c and requires approximately 1 MeV according to my research and calculation. This means that 18.6 MeV profit per collision (19.6 MeV per fusion reaction) so that means that over 5.1% of the nuclei need to fuse to gain energy. This seems to be a major flaw as this seems unlikely to happen.   However I was wondering if this could be overcome by using a 1 MeV linear accelerator to accelerate the hydrogen ions at a target which is essentially a very long and dense highly pressurised chamber of deuterium gas where it is almost certain for collisons to occur due to the high amount of atoms?


Modern textbook on statistical field theory with an emphasis on applications to non-equilibrium phenomena?

What is a good textbook on statistical field theory,  with an emphasis on applications to non-equilibrium phenomena?  I am a final-year undergraduate, have already taken introductory classes in statistical physics and quantum mechanics but do not know a lot of quantum field theory yet. I would like to better understand nonequilibrium phenomena, phase transitions and spontaneous symmetry breaking in condensed matter systems.


Left brace including several lines in eqnarray

How is it possible to make a brace and have something like this in a eqnarray block?


Can SE be considered to a both dangerous and helpful network?

While I feel that SO or SE helps people especially programmers and sysadmins to get knowledge on things they really need to do or work on I tend to feel the down votes, regulation of questions and answers, harsh words thrown to newbies tend to make it dangerous as you grow from a new contributor especially at the moment. Don't you think SO should be considered as both dangerous and helpful just like other social sites to help people with questions to ask them without fearing to get whipped with down votes or strong words.


Deciding when to use projected coordinate system (PCS) or geographic coordinate system (GCS)?

While I understand the technical differences between them both, I'd like an expert's breakdown of criteria to look out for that would determine when I should use a PCS or GCS.  I understand that a PCS is an additional algorithm placed on a GCS to transform it from a 3D placement to a 2D placement on a map. For that reason, PCS units are metrics of length (e.g. meters or kilometers) to determine a file's location and shape. GCS on the other hand is its 3D placement on a spheroid, and its units are in degrees, minutes, and seconds.


How to initialize a list to a buch of different empty dicts

I'm trying to initialize a list of empty dictionaries to be filled up later.  Tried using the multiplication operand:  x=2*[{}]   This apparently creates a list with two references that point to the same dictionary object, so that each thing I do to each dictionary gets done to all:  >>>  >>> x=2*[{}] >>> x [{}, {}] >>> x[0] is x[1] True >>> x[0].update({'foo':[]}) >>> x [{'foo': []}, {'foo': []}] >>>  >>>  >>> y=2*[{}] >>> y [{}, {}] >>> y[0]['bar']=[] >>> y [{'bar': []}, {'bar': []}] >>>  >>>  >>> w=2*[{}] >>> w [{}, {}] >>> w[1][1]=1 >>> w [{1: 1}, {1: 1}] >>>    If I assign without the multiplication operand, then I get the behaviour I want:  >>> z=[{},{}] >>> z [{}, {}] >>> z[1][1]=1 >>> z [{}, {1: 1}] >>>    But in my actual code I do not know before runtime how big the list will be!  So, two questions: Is this expected, or a bug in the language? How do I initialize a list to be like the z variable without knowing its size when I write the code?  Context:  Python 3.3.4. Using xlrd to parse a MS Excel spreadsheet. The spreadsheet has several header lines spread whithin the data, each changing the meaning of the data between it and the next header line. I want to loop over the lines filling each dict with the data using the correct (nearest above) headers as keys.  A possible workaround would be to hardcode the list length to the number of lines of this spreadsheet, but that introduces a maintenance issue of requiring a code change every time that number changes.  Thanks for any help.


when the main return nothing, Why I got the return value of the last func called by main in linux c?

here is my code in linux:  #include <stdio.h> static int tt(void); static int tt(void) {   return 1; } int main(int charc,char **charv) {   tt(); }   in the shell:  $./a.out $echo %? $1   Why i got the "1" as the result


How to remove last comma and space in array? Java

guys I was wondering how to remove the extra comma and space from the array? When I run the program it gives me {1, 2, 3, 4, 5, }. What I want is  {1, 2, 3, 4, 5}. Main must stay the same. PrintArray method is the one I need help with.   Referring to duplicate question statement. This is different because it asks a user for a number and prints the array accordingly. This is not a duplicate question.      public static void printArray(int[] myArray)     {          System.out.print("[");         for(int i = 0; i < myArray.length; i++)         {             myArray[i] = i + 1;             System.out.print(myArray[i] + ", ");         }         System.out.println("]");     } }


I have a trigger which create sharing when a record is created and delete sharings when records are deleted. My problem is that I would like the request for the sharing to be basic and work when multiple records are deleted. What i have now:         List<AssignedResource> listAR = aRSel.selectUsersAndAccountFromServiceAppointments(setIdSAToRemoveSharing);         Set<Id> setUserId = new Set<Id>();         Set<Id> setAccountId = new Set<Id>();         for(AssignedResource ar : listAR){             setUserId.add(ar.ServiceResource.RelatedRecordId);             setAccountId.add(ar.ServiceAppointment.AccountId);         }          List<AccountShare> accShare = [select Id from AccountShare where UserOrGroupId in: setUserId AND AccountId in: setAccountId];         delete accShare;  My problem with the request for accShare is that it wont work the way it should if I delete multiple AssignedRessource (The object which will trigger the deletion of the sharing). It will delete more due to the double IN that i use in my request. E.G : Let's say I have: Record1 (R1) linked to Account1(A1) and User1(U1) Record2 (R2) linked to Account2(A2) and User2(U2) Record3 (R3) linked to Account2(A1) and User2(U2) If i delete R1 and R2. R3 will be deleted aswell and that I don't want. So is there a way to either add a field to the AccountShare Object so i can make a formula to have a field which is the pair I want to delete and request over that field ? Is there any other solution to have multiples IN in an SOQL statement without those taking too much records? In advance thank you.


sudo apt-get install kubuntu-restricted-extras   seems to run fine  sudo /usr/share/doc/libdvdread4/install-css.sh   gives:    sudo: /usr/share/doc/libdvdread4/install-css.sh: command not found   have run      sudo apt-get update several times  how to fix? how to get libdvdread4 to install?  michaeleric@michaeleric-Inspiron-1750:~$ sudo apt-get install libdvdread4   [sudo] password for michaeleric:    Reading package lists... Done   Building dependency tree           Reading state information... Done   libdvdread4 is already the newest version (5.0.3-1).   0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   michaeleric@michaeleric-Inspiron-1750:~$ sudo /usr/share/doc/libdvdread4/install-css.sh   sudo: /usr/share/doc/libdvdread4/install-css.sh: command not found   michaeleric@michaeleric-Inspiron-1750:~$      ==========================================  sudo apt install libdvdcss2 libdvdread4 libdvdnav4 ubuntu-restricted-extras   seems to install  michaeleric@michaeleric-Inspiron-1750:~$ sudo /usr/share/doc/libdvdread4/install-css.shsudo: /usr/share/doc/libdvdread4/install-css.sh: command not found   ===========================================


I have a Script called "test.sh" in my Home Directory  I want to be able to run it in crontab.  I have added  * * * * * /home/tom/test.sh   to the crontab however it doesn't seem to be excecuting.  I can excecute ./test.sh fine normally in a Terminal Window.  Edit:   This is the content of my script "test.sh"  #!/bin/sh gnome-terminal -- sh -c 'cd Server && ./start.sh'   It creates a new terminal window, changes directory to Server and runs another executable script.  I do not know if this has something to do with the script not working in Cron.  The error I get in /var/log/syslog is:  CRON[18694]: (tom) CMD (sh /home/tom/test.sh) CRON[18693]: (CRON) info (No MTA installed, discarding output)


Should I provide feedback from a save button?

I'm currently in the process of developing a Windows Application which produces Word Documents. In the program there is the ability to save your progress (different to the "Save as a Word Document" option). This option "Save Current Progress" saves your progress, there is no user input, except the action of clicking the button (i.e. they don't have to specify a file location). When designing the functionality for this button I researched other instances of "Save" buttons in programs. Most of them resemble floppy disks, and on clicking them there is no feedback (except the subtle visual cue of mouseover and click on the button itself). i.e. there is no alert window saying "you have saved" nor does the button change to signify a saved state. The problem is that in my application this could be confusing. In Microsoft Word (for instance) it is the most natural thing to click the save icon and know it has saved, without any positive feedback. However in my application it confuses users and they say that they "don't know" that what they've done has actually saved anything. The icon is different to the Word one. It resembles a hard drive with an arrow pointing down onto it.  However, surely the thought process should be the same. I'm going to change the functionality so that the icon changes to that of a tick momentarily to give positive reinforcement that the status has saved, but I'm interested as to why the two scenarios differ so much. Update As per some of the suggestions here I have created this graphic to switch states when the user saves.


Story about a probe sent outside the solar system, awaiting a signal from it

I'm trying to remember the name of the short story, or TV episode, where the plot is that it's set at a mission control centre on Earth somewhere, and they are awaiting the signal from a probe which has been sent to a world outside our solar system.  The twist of it is that one of the people there is an alien from that world; they saw the probe, and destroyed it and came looking for us after they realised it wasn't hostile, and are offering to swap their FTL technology for our probe technology if the signal is received etc.  Any ideas what this was?


What is the radius of the event horizon?

I know that the Schwarzschild radius is given by  $$r~=~\frac{2GM}{c^{2}}.\tag{1}$$  However, If we had the metric  $$ds^2~=~−A(r,t)dt^2+\frac{dr^2}{B(r,t)}+r^2(dθ^2+\sin^2{θ}dϕ^2),\tag{2}$$  where   $$A(r,t)~\neq~(1−\frac{2GM}{c^2r})\tag{3}$$   and   $$B(r,t)~\neq~(1−\frac{2GM}{c^{2}r}),\tag{4}$$   then what is the event horizon?


install Radeon HD 8670A/8670M/8690M / R5 M330

I am new on ubuntu and i use xubuntu 16.04 my graphic card is AMD and Radeon HD 8670A/8670M/8690M / R5 M330 how i can install this driver ?


Visualizing the Riemann-Stieltjes integral

I know that he Riemann Stieltjes integral is a generalization of the Riemann integral, i.e. we integrate one function say $f$ with respect to another say $g$ and then we write $\int f(x)d(g(x))$.   But I'd like to see it geometrically, or at least to try.  Because I can see the geometric of the Riemann integral which is the area under the function $f$, but how is for the Stieltjes-integral??


What are the key differences between HTML 4 and HTML 5? How to know, which HTML to use?

I want to know the key differences between html 4 and html 5? Should I prefer html 4 or html 5 for development? What are the benefits of HTML 5 and how to know if a website is using html 5 or not?


How to understand the correlation coefficient formula?

Can anyone help me understand the Pearson correlation formula? the sample $r$ = the mean of the products of the standard scores of variables $X$ and $Y$.   I kind of understand why they need to standardize $X$ and $Y$, but how to understand the products of both the z scores?    This formula is also called "product-moment correlation coefficient", but what's the rationale for the product action? I am not sure if I have made my question clear, but I just want to remember the formula intuitively.


How do I locate command blocks? I was messing around with some commands and died, and lost the location where I was testing out a lot of stuff.  I do not have access to MCEdit or anything like that.  I accidentally took a screenshot, but didn't have co-ords up, if that helps.


I'm sure we all know its profanities, but is there any word or phrase that can represent "#@$%!"?


Black Cube instead Quick Smoke in Cycles

Just did one tutorial from youtube with colored quick smoke in Cycles and everything goes well and in render view it show me my smoke and i even render it in low quality to look how's it.  After i bake my simulation... Now i can't see what's happened, because i see only BLACK CUBE (smoke domain) and when i start render it just a black cube...  I made this in cycles from the beginning and it's cpu and it used to work fine.  Does someone know what's happening.


Where does Blender store log information?

It would be useful to know where Blender log files are stored on Mac, Linux, and Windows. It could help with troubleshooting crashes and other issues.


Using .sh file to return the number of files in a directory

I have written the script below but it returns 0 for the number of files in the directory now matter how many files are in the directory.  source ~/Alan/assign/changeDir.sh num=$(( ls | wc -l )) echo $num   changeDir.sh script is the following  function my_cd() { cd ~/Alan }   All I need is a number to be returned in order for it to be used later in the same script. I would very much appreciate guidance on this. Thanks


Timed Shutdown - shutdown after 30 minutes

I am running Xubuntu 13.04, I got in the habbit of closing my Acer Netbook and forgetting about it for a week+. I open it up to find it has still been running. How do I set it to shutdown after 15 minutes of inactivity? I don't want to set it to lid close because I often get up and close the lid so kids don't get at it. Also, due to the sometimes long stretches I go without touching it, I would like to make sure it is completely shutdown.  I'm sure I'm just missing some little check box. I've never had a setup that didn't shut itself down, or wasn't able to with a few click.  I already Googled the question for a bit and wasn't able to get the keywords right to get a relevant answer.


Start all the time with ALT+CTRL+F1|F2|F3...|F6

when the desktop starts and my lubuntu loads, i can press ALT+CTRL+F2 to use console only without windows or taskbar.  It's possible to force only this console mode ? i just want to use a console   What is the advantages? It starts only faster? The disadvantages? Some usefuls process don't start (like ssh-server?) ?  I use lubuntu because it's more ligher than ubuntu, but is there any difference between lubuntu-console-only and ubuntu-console-only ?  Thanks    EDIT#1: My actual /etc/default/grub file  # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text nogpumanager" GRUB_CMDLINE_LINUX=""  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter t Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"


Logistic Regression Vs Simple Regression

I am new to this area of regression analysis   why do we select  ${e^{\beta x } }/{[1+e^{ \beta x}]}$  as $p\{Y=1|X\}$   or how to get $E(y |x )$ in the case where $y$ is dichotomous.


Can you release your zanpakuto if you are mute?

So, this sounds like a stupid question I know but in the bleachverse 'names' are very important and you can only unleash the power of your zanpakuto if you can call out its name. Therefore, if a shinigami is mute, will they ever be able to achieve shikai/bankai? If so then how? Only one case that I know of is for shinigamis who have already achieved bankai to be able to release their shikais without a command.  Answers based on LN are welcome, but if you are citing from a dubious source or a source whose canon status can be question, please specifically mention it. I am mostly interested in an answer based on a  canon source.


Is the class rating of my MicroSD card relevant?

Does Class 4 perform differently from Class 6, and so on, when it comes to Micro SD(HC) memory cards on smartphones? Samsung Galaxy S to be specific.


Will staying in Northern Cyprus cause problems for later travel in the EU?

I am Peruvian, and will study in the Turkish Republic of Northern Cyprus for two years.  As a South American, what problems may I have if I decide to study in the TRNC, as it is recognized only by Turkey?  What if, having been in the TRNC, I decide to travel to the EU (Amsterdam) for summer vacations? Would I encounter any problem entering The Netherlands, a member of EU, after having been in the TRNC?  I have read that many tourists (Russians and Asians for now) are deported mostly because they go from Northern Cyprus to the Republic of Cyprus. Cyprus, a member of the EU, believes that those entering the country from the north are illegal immigrants. Does this rule apply to Cypriot internal issues only, or does it extend throughout the EU? Will it cause problems for my intended travel to Amsterdam?


A question about space quotient and homeomorphism

Let $X$ and $Y$ be topological space and let be $\sim_X$ and $\sim_Y$ the corresponding equivalence relations on $X$ and $Y$. Let $f\colon X\to Y$ an homeomorphism, suppose we are in the following hypotheses     $$x\sim_Xy\iff f(x)\sim_Y f(y)$$        Question Can we conclude that $$X/\sim_X\;\simeq\;Y/\sim_Y$$   If yes, can the hypotheses be weakened?   Thanks!


I'm a beginner with configuration of server computers.  my company wants to upgrade one of the servers with SSD storage. the server is HP DL380 G8.  the hardware seller company which my company works with, suggested SAMSUNG EVO 840 which seems it is basically a SSD for laptop PCs.  now the question is whether this kind of SSDs work with this kind of servers as the seller says?  does it have reliable and good performance?  will it endure long enough comparing to HP SSDs which are very costlier?


Should the word “hay” not be deleted at the beginning of posts, especially on Spanish SE?

When saving posts, the first sentence is removed if it matches a regular expression. See . The purpose is to automatically remove salutations from posts.  The word “hay” is a very uncommon English salutation, but it is a quite important word in Spanish, meaning “There is”. It is also a common word in English. It is included in the above-mentioned regular expression.  Should it be removed from it, and therefore allow questions and answers to start with “hay”?  Advantages: you could start a question in the Spanish Stack Exchange with “Hay una palabra que...” (“There is a word that...”), or an answer with “Hay dos respuestas para tu pregunta” (“Your question has two answers”). You could start a question on Puzzles SE with the words “Hay weighs 8 pounds per cubic foot”. Etcetera. Basically, you can start a post with a valid sentence starting with “hay”, of which there are many in Spanish.  Disadvantages: Somebody could start a question with the very uncommon salutation “hay!” and that salutation will have to be deleted.


How can I use microsoft windows xp or 7 and ubuntu lts on same computer?

I want to use windows xp and ubuntu lts on same pc. How can I do it? and is ubuntu free os or we have to purchase it for proffesional or for best use?


When running umount /path I get:  umount: /path: device is busy.   The filesystem is huge, so lsof +D /path is not a realistic option.  lsof /path, lsof +f -- /path, and fuser /path all return nothing. fuser -v /path gives:                    USER        PID ACCESS COMMAND /path:            root     kernel mount /path   which is normal for all unused mounted file systems.  umount -l and umount -f is not good enough for my situation.  How do I figure out why the kernel thinks this filesystem is busy?


Use my example to explain why loop diagram will not occur in classical equation of motion?

We always say that tree levels are classical but loop diagrams are quantum.  Let's talk about a concrete example： $$\mathcal{L}=\partial_a \phi\partial^a \phi-\frac{g}{4}\phi^4+\phi J$$ where $J$ is source.   The equation of motion is $$\Box \phi=-g \phi^3+J$$  Let's do perturbation, $\phi=\sum \phi_{n}$ and $\phi_n \sim \mathcal{O}(g^n) $. And define Green function $G(x)$ as $$\Box G(x) =\delta^4(x)$$  Then   Zero order:  $\Box \phi_0 = J$   $\phi_0(x)=\int d^4y G(x-y) J(y) $  This solution corresponds to the following diagram:  First order:  $\Box \phi_1 = -g \phi_0^3   $  $\phi_1(x)=-g \int d^4x_1 d^4x_2 d^4x_3 d^4x_4 G(x-x_1)G(x_1-x_2)G(x_1-x_3)G(x_1-x_4)J(x_2)J(x_3)J(x_4) $  This solution corresponds to the following diagram:  Second order:  $\Box \phi_2 = -3g \phi_0^2\phi_1  $  $\phi_2(x)= 3g^2 \int d^4x_1 d^4x_2 d^4x_3 d^4x_4 d^4x_5 d^4yd^4z  G(x-y)G(y-x_1)G(y-x_2)G(y-z)G(z-x_3)G(z-x_4)G(z-x_5) J(x_1)J(x_2)J(x_3)J(x_4)J(x_5) $ This solution corresponds to the following diagram:  Therefore, we've proved in brute force that up to 2nd order, only tree level diagram make contribution.  However in principle the first order can have the loop diagram, such as  but it really does not occur in above classical calculation.  My question is:   What's the crucial point in classical calculation, which forbids the loop diagram to occur? Because the classical calculation seems similiar with quantum calculation. How to prove the general claim rigorously that loop diagram will not occur in above classical perturbative calculation.


Solve the congruence relation  $$1978^{20}\equiv x \pmod{125}$$  We have  $$125=5^3$$ $$1978^{2}\equiv -1 \pmod 5\Rightarrow 1978^{20}\equiv 1978^{2\cdot10+0}\equiv 1\pmod 5$$  The remainder $x$ should be $26$.  If the remainder $\bmod 5$ is $1$, how to evaluate remainder $\bmod 25$ and combine them to give $x=26$?


Understanding Viewshed Analysis in ArcGIS Desktop?

I am trying to understand viewshed analysis in ArcGIS 10.1.  After you add fields such as RADIUS1, AZIMUTH1 to your observer vector attribute table, does it automatically calculate visible/non-visible areas within the specified radius and azimuth? Or do you have to use a different tool?    What I really need to find out is the areas visible from each monument location (including whether the monuments themselves are visible to each other, if they are close), in such a case what would be the best way to approach this?   Also, is it necessary to always convert xy coordinates of sites (already added as File Geodatabase Feature Class) to Observer points using observer points tool? I am only asking because for some areas, I have more than 16 monuments and I think you can only have a max of 16 observation points.


How to safely clean the front element of a lens?

I was shooting with a Nikon 16-35 f/4 while suddenly it started drizzling. Before even I could rush back under a shade, there were a few droplets of water all over my camera and lens, especially on the front element of the lens, too. Back home, I cleaned the front glass with a piece of flannel cloth, yet I can see a few stain of the dried water. How can I safely clean the front element of my $1000+ worth lens?


Paying off student loan or using that money for a downpayment on a house

I am 22 years old, I live in Atlanta, Georgia and I am a recent graduate. I approximately owe 22,000 dollars in student debt (all federal student loans at a fixed rate). My job pays me around 50,000 dollars annually. I am currently living with my parents, however, I will like to own a home soon.  My question is, if it is better to live with my parents until I can pay off my student debt and collect enough money for a down payment on a house or should I go about paying my student debt monthly for the next ten years or so and go ahead and purchase a home when I am able to save up enough money for a down payment?  I am hesitant in going with the former because 22,000 dollars is a lot of money and hard work. However, I don't think it will be in my best interest to pay 250 dollars every month for the next ten years.


Why does triply periodic univariate function not exist?

A univariate function $f$ is periodic with period $p_1,\ldots,p_k$ if   $$f(z) = f(z + \sum_{i=1}^k n_i \cdot p_i)$$   for all complex $z$ and integers $n_i$. Elliptic function is an example of doubly periodic function.  that a triply periodic univariate function cannot exist, but why? Can't we follow the construction of elliptic functions that uses Schwarz-Christoffel formula to map upper-plane onto a triangle, and use the reflection principle to create a lattice which corresponds to three periods?     Which step fails to hold when we mimic the construction of an elliptic function to create a triply period meromorphic univariate function?   Sorry if the question is stupid. I do not have an access to the original proof that a triply periodic function cannot exist, either. So references are welcome!


Looking for a short story probably anthologized in a golden age collection about space cadets that are under the impression they have to figure out who in their class is the secret android (and maybe kill him). They end up picking the valedictorian / smartest in the class for obvious reasons.   I think that it might then be revealed that this is a hoax played upon the students by the instructors.


Test for convergence of the series $\sum\limits_{n=3}^\infty\frac{1}{(\ln \ln n)^{\ln n}}$   I test the series by this steps  $(\ln \ln n)^{\ln n} = (e^{\ln \ln \ln n})^{\ln n}= (e^{ \ln n})^{\ln \ln \ln n }=n^{\ln \ln \ln n}$.  Then  $(\ln{ {\ln \ln{n}}}) > 2$.   Thus,  $\frac{1}{(\ln \ln n)^{\ln n}} < \frac{1}{n^2}$ and thus the series converges by the comparison test. Is this work..!? are there some wrongs ..!?


What actually is meant by wave nature of electron or any other material particles?

Einstein has suggested that light can behave as a waves as well as like a particle i.e, it has dual character. In 1924, Louis de Broglie suggested that just as light exhibits wave and particle properties, all microscopic material particles such as electrons, protons, atoms, molecules etc. have also dual character. They behave as a particle as well as wave. This means that an electron which has been regarded as a particle also behaves like a wave. Thus, according to de Broglie,       .      Although the dual nature of matter is applicable to all material objects but it is significant for microscopic bodies only. For large bodies, the wavelengths of associated waves are very small and cannot be measured by any of the avalable methods. Therefore, practically these bodies are said to have no wavelengths. Thus, any material body in motion can have wavelength but it is measurable or significant only for microscopic bodies such as electron, proton, atom or molecule. And it is to be noted that electrons won't orbit the nucleus in the sense planet orbits around the sun, but instead exist as STANDING WAVES.    I am finding difficulty in understanding electron or other material particles to behave as wave. In order to understand electron in the form of wave, I considered the following example of high racing car. See the picture below.   You can see that car is under very less speed compared to electron, it shows some what blur appearance, I considered this to be wave like in nature. And car has comparatively very very less wavelength, so that it can be considered as negligible, even though I considered it to understand. I assumed electron to be under similar position as the car, to understand what actually is called wave nature. Is it that as like car appears to be blur or some what wavy, electron also under immense speed show wave like appearance. But in reality car stays as material particle, even if it appears to be wavy. Is it the same thing what actually meant by wave nature of electron? i.e is it that electron seems to be wavy under high speed, but it will remain as particle during its motion?    This is what I have understood about wave nature of electron. I don't know whether I have misunderstood or not. If I have misunderstood the concept about wave nature, please explain what actually is meant by wave nature of material particles.


I'm caught in a discussion with a colleague about using a fixed string before using a slug or not. The aim off course is to rank better at search engines.  The site involves hotel travels. And the exact question is, should the URL be:  http://www.ourdomain.com/the-hilton-berlin   or  http://www.ourdomain.com/hotels/the-hilton-berlin   Does anyone have any ideas on this?  Another similar question is: should common words (such as the, of but also hotel) be removed from the slug itself if it is contained? So in the above example the word the would be removed from the slug.


I have bought a new laptop (acer notebook) with windows 10, but I can't install ubuntu 16.04 on it. When I make a bootable usb flash drive (by Rufus) and I put it in the flash drive, then pressing f12, the usb is not being recognized and the installation process doesn't start.  Please help


How to search in unconnected external hard drive?

I have three harddisks. 1. Laptop harddisk ( 720gb ) 2. Two External harddisk ( 1TB each )    These two external hard disk mainly contain movies, songs, games etc. Now, the point is I can't remember which movie is in which external hdd. For that I have to connect the hdd on by one and search.  ( Infact I know there exists duplicate copies of same files as well ).  Is there any software which can index the data in external hdd and later on it can use this data to search? That way I will be able to search in all my hdd without connecting these.      I am using Windows 7.


STM32F10x microcontroller debugging problem

I'm a beginner and I'm using STM32F10x family to learn about electronics.I was using STM32F103 blue pill in the past few months and I can debug it and upload code to it while both boot0 and boot1 are equal to 0. When I switched to STM32F105 which has only boot0 and exposed since I couldn't find boot1 in the pinout in the datasheet.I have to hook boot0 into vcc in order to flash the elf file.now this also happens on the blue pill I can't flash it wihout turning boot0 into 1. the problem is I can't debug it while boot0 is equal to 1 i'm getting Target is not responding, retrying... Target is not responding, retrying... Error! Failed to read target status Debugger connection lost. Shutting down... I think its because boot0 is equal to 1. and when I turn back boot0 into zero the debugger can't flash the file and can't debug. I'm trying to debug it since I have a problem I done a simple code to toggle led after 1 second but the code only execute for 16 seconds and stop executing. and I want to debug it to see why. on the STM32F103 the this problem don't happen


Lualatex compilation problem using cancel and breqn packages

foo.tex   \documentclass{article} \usepackage{cancel} \usepackage{breqn} % <= this include is causing troubles  \begin{document}    \[\cancelto{0}{foo}\]  \end{document}   compiling produces these results  $ lualatex foo.tex     $ pdflatex foo.tex     I have no clue what is happening, since the log files are clean of any warnings/errors. Does anyone have a clue on this ?


I have a custom metadata type with one field(text) which holds a single value. I am referring this field value in the Lightning Component to pass it as a URL. Apex controller:  @AuraEnabled public static String getLogoutUrl() {     List<Portal_Metadata__mdt> testUrl =          [Select Id, Portal_URL__c from Portal_Metadata__mdt LIMIT 1];        return testUrl[0].Portal_URL__c;   }   In Component's JS, I have configured to get this value when I have:  window.location.href = myUrl;   How could I write a unit test for this Custom metadata type?


Live updates missing on new navigation tag pages

In the alpha version of the new navigation, there does not seem to be a live update on the tag pages anymore.   Example:


Is canon Boba Fett deserving of his reputation?

Boba Fett is a pure, unmodified clone of Jango Fett, the best bounty hunter in the galaxy of his time. This is a reputation that Boba Fett appears to have eventually attained as well. He also has a reputation as a Mandalorian warrior.  That said, we constantly observe in the Clone Wars TV series that although Boba Fett, growing up, is skilled enough to meet job requirements at the level bare essentials, he's always being played out at the end and pushed around.  During the Empire era, we can see him in Jabba's employ. The only time we see him in action, he 1) employed some ingenuity (we can't say if it's a moment of genius or a quality he always had) in tracking down the Millenium Falcon 2) took over the frozen Han Solo from Darth Vader, then successfully got it onto his ship, albeit with Imperial help to slow down his pursuers, and finally 3) when he finally got into a fight, he got thrown into a Sarlacc pit.  From what I know of him alone, I'm not sure it's that impressive a resume. He demonstrated some skills, but always fails at the end no matter how close he gets. Is there anything in Disney canon only I don't know/haven't mentioned that is proof of him deserving his reputation as the best bounty hunter in the galaxy?


On the next iteration of the 14.04 LTS (14.04.3), Will I be able to upgrade to it from 15.04 or am I stuck on the monthly track? Specifically, Can I get off the rolling release track?


Comparing Arrays of Objects in JavaScript

I want to compare 2 arrays of objects in JavaScript code.  The objects have 8 total properties, but each object will not have a value for each, and the arrays are never going to be any larger than 8 items each, so maybe the brute force method of traversing each and then looking at the values of the 8 properties is the easiest way to do what I want to do, but before implementing, I wanted to see if anyone had a more elegant solution. Any thoughts?


On data explorer, why do votes have the time part of their creationDate (a DATETIME datatype, that is a date and a time) all set to midnight?  shows that this has been the case for some time. It means that certain time sensitive queries can't be made. Can this be fixed?


i have this simple function in the Blender text editor : import bpy bpy.ops.object.select_pattern(pattern="Cube?") bpy.ops.object.select_pattern(pattern="Sphere?")  I just simply want to run this function using a shortcut. How can i bind a shortcut to it ? Thanks.


What is the purpose of this transformer winding in the following SMPS schematic?

I am trying to understand how the following PC switched mode power supply works :     The way it works in general is OK. What is not clear to me is what is the purpose of the following part in red :     AFAIK :  The main IC (TL494) alternatively open/close Q3 / Q4 transistors. This, in turn, induce current in T2 windings and alternatively open/close Q01 / Q02 transistors. It will connect one end of primary winding of T1 to positive or negative voltage.  When either Q01 or Q02 transistor close, current is forced to go first to the part I have highlighted in red. Why is it so ? What if the primary side of T1 is connected directly to Q01 emitter (instead of having to pass thought T2 red part) ?


How to create some pages with blur text like in sample image

\documentclass[twoside]{article} \usepackage{lipsum} % Package to generate dummy text throughout this template \usepackage[explicit]{titlesec} \usepackage{times}[3.35139mm] % Use the Palatino font %\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs \linespread{1.15} % Line spacing - Palatino needs more space between line \usepackage{microtype} % Slightly tweak font spacing for aesthetics %\usepackage[bottom]{footmisc} \usepackage{hyperref, graphicx} \usepackage[hmarginratio=1:1,margin=16.51mm, top=20mm, bottom=25mm,columnsep=20pt]{geometry} \usepackage{flafter}


I thought it might be cute to introduce notebook lines in my text.  Also it may help readers from straining their eyes.  Let's use the classic filler text:     Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.      Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this.      But, in a larger sense, we can not dedicate -- we can not consecrate -- we can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us -- that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not have died in vain -- that this nation, under God, shall have a new birth of freedom -- and that government of the people, by the people, for the people, shall not perish from the earth.   Blah blah blah.  I could like this paragraph to appear as a notebook with  a faint line, perhaps - black!20!white underneath each line.   Is this styling possible?  Here is a cute html example on       Is it possible to add these lines without resorting to adding another package like background ?


I want to execute a command for an each file that matches a pattern. But the command that seems to be right, doesn't work for me, I have no idea why.  $ find . -type f -name '*.c' -or -name '*.h' -or -name '*.cpp' -exec ls {} \; $ ls script.sh  test.c  test.h


There is a set of exams (e.g. SAT subject tests, AP exams, etc.), and a (male) student is necessarily taking more than one of those exams. My friend knows which ones he's taking, so I'm asking him which ones. Which sentence is correct?       "Which exams is he taking?"    or      "Which exams are he taking?"   Both sound weird to me, especially the second (even though I believe that is technically the correct one).   I would appreciate if somebody could help tag this question properly.


A start job is running for dev-disk by \x2duuid : error take 1min 30s to boot Debian

I have multiboot Debian with others Unix/linux distro. During the boot process ,i get the following error:  A start job is running for dev-disk by \x2duuid-.....1min:30 s Dependencies failed for swap   After 1min : 30 s the boot process continued without problem , How to solve it?


I have a question related to already shortened words and their plural forms. As I have seen on this site and have found in the dictionary, words like mas and pas are the plural form of the shortened words ma and pa (as in mother and father). However, it occurs to me that were I to write this, in order to clarify the meaning of what I was trying to write (because if you are like me, you read mas and pas and did a double-take), I would write it as ma's and pa's.  Some words like cuz have a similar issue, although the pluralization makes more sense: cuzzes. Perhaps cuz's?  I know that in the pluralization of single letters there is some contention regarding whether there should or should not be an apostrophe (A's or a's versus As or as). "I got a lot of A's this semester." just looks better to me, although I have no grammatical backing for this. I'm not sure if this is the same for these types of words as well.  My question is this: Is there a precedent for using an apostrophe for words that are shortened to convey appropriate meaning, or is the convention simply to omit the apostrophe altogether and leave the word pluralized with an s?


I find it odd that we say our "nose runs". Even stranger is that our feet "smell". Why is this?


Scale watermark overlay by video size with ffmpeg

I would like to scale a watermark to 5% of the video width.  I need something like that:  ffmpeg -i 1.mp4 -i logo.png -filter_complex "[1:v] scale=1_MP4_VIDEO_WIDTH*0.05:-1 [logo1]; [0:v][logo1] overlay=0:0" -y -b 1600k -c:v libx264 -profile high -level 4.1 -c:a libfaac -q:a 128k 2.mp4   How can I reference the video width?


Is possible to create black hole in laboratory?

Recently I came to know that black hole are the object which concentrate large amount of mass in small volume. what are the requirements to create this if possible?


Selling properties while owing another player

Can I sell properties to a player while I have to pay another player?  I was wondering if I land on a player's building and I have to pay him or her but I don't have money, however I have a property that another player would like to buy. Can I sell it to this player?


java.lang.NullPointerException for Object instantiateItem in ViewPager use in fragment activity

class PagesAdapter extends FragmentPagerAdapter       {     public PageAdapter(FragmentManager fm) {         super(fm);     }      @Override     public int getCount() {         //Return total pages, here one for each data item         return pageData.length;}      @Override     public Fragment getItem(int position) {         return null;     }      //Create the given page (indicated by position)     @Override     public Object instantiateItem(ViewGroup container, int position) {    View page = null;    page = (View) inflater.inflate(R.layout.page,null,false);    ((TextView)page.findViewById (R.id.textMessage)).setText(pageData[position]);         //Add the page to the front of the queue         ((ViewPager) container).addView(page, 0);         return page;     }   Error:  1-16 18:41:34.354 24761-24761/? E/AndroidRuntime: FATAL EXCEPTION: main 11-16 18:41:34.354 24761-24761/? E/Android  Runtimejava.lang.NullPointerException 11-16 18:41:34.354 24761-24761/? E/AndroidRuntime: atOnlytext $ MyPagesAdapter.instantiateItem 11-16 18:41:34.354 24761-24761/? E/AndroidRuntime:at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:870) 11-16 18:41:34.354 24761-24761/? E/AndroidRuntime:     at android.support.v4.view.ViewPager.populate(ViewPager.java:1020)


Testing JK Flipflop using system verilog

I have a testbench written for a JK flip flop. Below I have the correct circuit that passes the testbench and another circuit which passes the testbench as well. Is there something wrong with my testbench.  a) Correct JK flip flop  module jk_ff (input j, input k, input clk, output logic q);     always @ (posedge clk)        case ({j,k})           2'b00 :  q <= q;           2'b01 :  q <= 0;           2'b10 :  q <= 1;           2'b11 :  q <= ~q;        endcase  endmodule   b) Wrong JK flip flop but passes all test cases in the testbench  module jk_ff (input j, input k, input clk, output logic q);  always @(posedge clk)  case ({j,k})  2'b10 : q <= ~ q ;  2'b01 : q <= 0 ;  2'b11 : q <= 0 ;   endcase  endmodule   c) Testbench  include "jk.sv"  module tb_jk();      // open fitness file     int passedFile;     reg j;    reg k;    reg clk;    wire q;     always #5 clk = ~clk;     jk_ff    jk0 ( .j(j),                   .k(k),                   .clk(clk),                   .q(q));     initial begin     // open file     passedFile = $fopen("passed.txt", "w");        clk = 0;       j = 0;       k = 1;        #10 if(clk == 1 && j == 0 && k == 1 && q == 0) $fdisplay(passedFile, "%d", 1);          else $fdisplay(passedFile, "%d", 0);       #10 j = 0; k = 0;        #10 if(clk == 1 && j == 0 && k == 0 && q == 0) $fdisplay(passedFile, "%d", 1);             else $fdisplay(passedFile, "%d", 0);       #10 j = 1; k = 0;         #10 if(clk == 1 && j == 1 && k == 0 && q == 1) $fdisplay(passedFile, "%d", 1);              else $fdisplay(passedFile, "%d", 0);       #10 j = 1; k = 1;        #10 if(clk == 1 && j == 1 && k == 1 && q == 0) $fdisplay(passedFile, "%d", 1);             else $fdisplay(passedFile, "%d", 0);         #10 $finish;         // close file       $fclose(passedFile);    end endmodule ```


Reviewing suggested edit of own post after completing 20 reviews

I've completed 20 suggested edits reviews today. Then, I came across a  and I approved it.   Then, I had a doubt that whether the review count has incremented or not, oh! it's not incrementing. System works fine.  But, take a look at review page,     The edit was already reviewed by one reviewer and then I reviewed it. As I'm the Owner of the post it's enough to approve the edit. But, the review history doesn't show the detail that I had approved it. It's misleading that only one vote of a reviewer who is neither the community user nor the OP nor the moderator, is enough.  So, what should we do in this type of situation?  Is it correct to make OP to review the suggested edit after completing daily limit?  Should we need to display/hide the OP has approved the edit in the review history?


I have a few \cite commands in my pgfplots which are not being displayed properly when externalization in on. As soon as you turn off the externalization, the references will be displayed correctly.  \documentclass{article} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize \begin{document} \begin{tikzpicture} \begin{axis}[xmin=-1,xmax=1,xlabel = \cite{Lorem}, title=\cite{Lorem2}, ylabel=\cite{Lorem3}] \addplot  coordinates{ (0,0)(2,2)}; \end{axis} \end{tikzpicture}  \begin{thebibliography}{99\kern\bibindent}  \bibitem{Lorem}\textsc{Lorem ipsum dolor sit} \texttt{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vitae purus mi. Fusce quam urna, elementum at ullamcorper in, tempus sed quam.}  \bibitem{Lorem2}\textsc{Lorem ipsum dolor sit} \texttt{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vitae purus mi. Fusce quam urna, elementum at ullamcorper in, tempus sed quam.}  \bibitem{Lorem3}\textsc{Lorem ipsum dolor sit} \texttt{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vitae purus mi. Fusce quam urna, elementum at ullamcorper in, tempus sed quam.} \end{thebibliography} \end{document}


Downloading in Epic Games Launcher starts from 0% after pause and reboot, why?

I'm downloading GTA V. After 20gb / 100gb I paused my download for restarting my pc. Then download restarts from 0%.  Why this could happen? Can I restart my PC during downloads without losing progress?


Single word to mean 'having more than one meaning'

Is there a single word to mean the following:  'having more than one meanings'


If the sim is out and the phone has been factory reseted can I track it?

My phone was stolen and I called but they obvioulsy had taken out the sim.They've logged out all my google accounts,twitter,facebook,viber and I'm thinking that  they did a factory reset!Is there anyway I can track my phone?It was a sony xperia m


Night photo with Leica 25mm: blur at f/1.4

I have an Olympus OMD EM5 and a Leica 25mm which takes wonderful pictures in daylight.  I was trying to take night pictures with this setup and I had the following results (after several tries and double-checking)  f/1.4, 1.3s extremely blurry    f/2, 3.2s sharp   f/3.2, 8s sharper   I don't understand why this would happen. Is there any phenomenon responsible for that?  Thanks!


I want to use a DLL library for Win32 in Linux.  Can I use a library of Wine to do that?


How to prevent all usb mass storages from mounting at boot

On a Mac Lion 10.7.5 I have 5 USB external disk and I'm not using them all the time so I want to prevent it to mount at boot and only mount the one I need when needed.  How can I achieve this ?  Thank you


Using c# to allow users to write own methods

I have a C# program that uses objects from a class that has a method looking something like this:  public double TheMethod(double argument1, double argument2, ...,double argumentN) {      //method body: do something with the arguments     //return the result }   I would like to give the user the ability to write their own logic into the method body and then have that be used when the program is run.  It seems to me that scripting may be the way to go, but I am having trouble trying to get started. What is the best way to approach this situation?  Note: If it matters, the program would be run from within a larger main desktop application. I would like the user to be able to write their code when the application is already running through some sort of editor program. Their code would then be saved and used once they launch the program that actually uses the method.


I reset my phone. then when it finally turned back on after restoring itself, it asked for my Apple ID and the password. I forget both of them . it will not let me into the phone without imputing that information, which I don't have.  is there a way to get into my phone so I can use it again without knowing it ?


I just bought my first camera. A Pentax k1000. I really want to eliminate my shutter sound or just the sound of the mirror slapping. What do you suggest


Probability of 3 people in a room of 30 having the same birthday

I have been looking at the birthday problem (http://en.wikipedia.org/wiki/Birthday_problem) and I am trying to figure out what the probability of 3 people sharing a birthday in a room of 30 people is. (Instead of 2).  I thought I understood the problem but I guess not since I have no idea how to do it with 3.


changing IFS temporarily before a for loop

I know that the SHELL allows variable assignment to take place immediately before a command, such that IFS=":" read a b c d <<< "$here_string" works... What I was wondering is do such assignments not work when done with compound statements such as loops? I tried something like IFS=":" for i in $PATH; do echo $i; done but it results in a syntax error. I could always do something like oldIFS="$IFS"; IFS=":"; for....; IFS="$oldIFS", but I wanted to know if there was any way I could make such inline assignments work for compound statements like for loops?


Does every set have a set that is bigger?

Is it true that for every set $A$, there exist set $B$, such that $A \subset B$, where $B$ is bigger (has at least one element more) than $A$? What about infinite sets?


Hibernate - New colums from a joined table

I have a class User object. I am trying to load this object from the Database using Hibernate. My SQL statement is:  SELECT     users.uid               AS uid,     users.deleted           AS deleted,     users.username          AS username,     users.passwd            AS passwd,     users.disabled          AS disabled,     users.lockout           AS lockout,     users.expires           AS expires,     data_firstname.value            AS firstname,     data_lastname.value     AS lastname  FROM      ac_users as users LEFT JOIN     ac_userdef_data as data_firstname ON     users.uid = data_firstname.parentuid AND     data_firstname.fieldname like 'firstname' LEFT JOIN     ac_userdef_data as data_lastname ON     users.uid = data_lastname.parentuid AND     data_lastname.fieldname like 'lastname' WHERE     users.deleted = 0   My mapping for the User class is:  <class name="com.agetor.commons.security.User" table="ac_users">     <id name="uid" column="uid" type="long" >         <generator class="native"/>     </id>     <property name="deleted" column="deleted" />     <property name="username" column="username" />        <property name="password" column="passwd" />     <property name="firstname" column="firstname" />     <property name="lastname" column="lastname" />     <property name="disabled" column="disabled" />     <property name="lockout" column="lockout" />     <property name="expires" column="expires" />             </class>    My problem is that the table ac_users does not have a column 'firstname' or 'lastname' These columns, only exist in my resultset from the SQL-join statement. They do also not exist in the ac_userdef_data table. There i have 2 colums: fieldname and value. and 2 rows: fieldname = 'firstname' with some value in the value column and another row with fieldname = 'lastname' with some value in the value column  How do i change my mapping file, so that Hibernate will understand that it needs to load the firstname and lastname column into my firstname and lastname fields on my POJO, while those columns dont actually exist on the referenced ac_users table.?


Logistic Regression - Model Selection Method

What is the best way to know the best selection method for our logistic regression model ?   Forward Selection Backward Elimination Step-wise Selection Full Model.   I am running logistic regression in SAS EG.   I have tried running each of them for the data that we have but for each method I get different results. Some of the factors are common but some are not. Basically, I just want to understand the logic behind selection of the method. So, Is there a way we can identify that for a specific data one method is better than the other based on the results that we get ? Please help.  Thanks


Autocorrelation in residuals, what to do next?

I run an OLS, after check residuals, they are normally distributed, mean is zero with some randomness. But after the autocorrelation plot shows significant correlations to 15+ lags. What should I do next to avoid this autocorrelation?


Where does music downloaded from Google Play go on my phone?

New Nexus 6 with Lollipop. I downloaded some music from Google Play, but cannot for the life of me find where it is on the phone. I've searched through the entire thing using Astro, and can't find my music. (The Play app sees it, but I want to make one of my songs a ringtone, and apparently with Lollipop, you need to copy your file into a certain location for it to be available.)


Do citizens migrate closer to their workplace within the town?

By using the Path tool (F2, 7) I have found some laborers walking very long to eat at home or to warm up in winter.  If I build a house close to a Quarry or a Mine, will Stonecutters or Miners move automatically to this house to avoid long walking distances between the workplace and home?  Or can I assign some citizens to houses closer to their workplace?


Two questions:  Prove $a_n$  is bounded by 2 if $a_1=0, a_2=\sqrt2,\ldots,a_{n+1}=\sqrt{2+a_n}$  Prove (I've already proven $s_n$ is monotonically increasing and bounded above by 3) $\lim_{n \to \infty} s_n=e$ for $s_n=(1+\frac1n)^n$.


Generating a Random Number between 1 and 10 Java

I want to generate a number between 1 and 10 in Java.  Here is what I tried:  Random rn = new Random(); int answer = rn.nextInt(10) + 1;   Is there a way to tell what to put in the parenthesis () when calling the nextInt method and what to add?


What is the proper usage of "not only... but also"?

I'm trying to figure out how to use "not only... but also" properly. Basically, my goal is to combine two clauses by using "not only".  For negations, I've figured out two styles that both sound correct:   He knew that if he fractures his finger, not only would he not be able to compete in the water polo tournament, he would not be able to take the SAT on Monday, either. He knew that if he fractures his finger, neither would he be able to compete in the water polo tournament, nor would he be able to take the SAT on Monday.   However, I don't know how to form a sentence that does not include a negation while using "not only". Here are a few possibilities that I've considered:   Thanks to his remarkable performance on the SAT, not only was he accepted into Harvard, but he was also given a full scholarship. Thanks to his remarkable performance on the SAT, not only was he accepted into Harvard, but he was given a full scholarship. Thanks to his remarkable performance on the SAT, not only was he accepted into Harvard, he was given a full scholarship. Thanks to his remarkable performance on the SAT, not only was he accepted into Harvard, he was also given a full scholarship.   In those four possibilities, I'm varying the usage of "but" and "also" in the last clause.  What is the proper usage of "not only"?


Can the mass of an orbiting object and the object being orbited be determined by the distance and orbit velocity alone?

This question is the inverse of: "Could an object orbit while moving at twice the speed, but at the same distance, if it had half the mass?"  I'm curious about the nature of orbits, but am not well enough versed in mathematics to understand Kepler's laws well. I have been wondering if the mass of a planet and a star it orbits could be determined based solely on the distance and speed of the orbit, or if the ability to orbit at a given speed/distance was based relatively on the mass of both objects (i.e., we could determine the ratio of the mass of the two objects, but not the actual mass).


Full Wi-fi/ethernet signal but no internet

I'm really hoping someone here can help me, as I'm getting pretty frustrated with my macbook now. I have a late 2011 model 15" macbook pro running OSX 10.9.5 that refuses to connect to Internet on my home network. I have the same problem whether it's WiFi or through ethernet cable, I have full signal but not getting online. Every other device connects fine; android phones and tablets,xbox one, iPhone and other macbooks, all online and browsing the net. I have had no problems connecting to other networks with my macbook pro before and I just tried at a friend's house to check, with no problems. A little something, that may be a clue to someone: when I open network diagnostic tool, my macbook pro connects for something that seems like a microsecond and it tells me I'm connected to Internet and everything seems fine. My IP is 192.168.0.5 subnet mask 255.255.255.0 and IPv6 is set to automatic. None of the options are checked under the proxies tab. Now I've tried the following, in different order and a number of times, to no avail:   Renewing/turning off&on/inputting manually DHCP.  Restarting/resetting the router and the macbook.  Turning WiFi on/off. Remove & add services (WiFi & ethernet). Checked and copied all network settings from another macbook pro that's connected and online on my network. Ran network diagnostic and assistant tools Duplicated/removed/added location Removed the /Library/Preferences/SystemConfiguration folder. Removed network password from keychain.      I've tried other things too, but can't remember what else right now.  Response from ifconfig en1:  en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500              ether 28:cf:da:e6:95:0a              inet6 fe80::2acf:daff:fee6:950a%en1 prefixlen 64 scopeid 0x5               inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255              nd6 options=1<PERFORMNUD>              media: autoselect               status: active    I'm praying that someone out there has the magic words or the 2-click solution for me, but I would be grateful for a long thorough guidelines to solve it too! <3        Regards Trond


I have 2 8gb RAM sticks on my motherboard. One is faulty on some bytes and is giving me BSOD once in a while.  Is it possible to disable one of them without removing it physically? I want to keep it inside the motherboard as I dual boot with Xubuntu and I can block the fauly bits there, and as far as I know, it is impossible to block them in Windows.


How many arrangements of GRACEFUL have no pair of consecutive vowels?   Soln:  Breaking up the question into pieces:   First I found the total amount of arrangememts possible with GRACEFUL:  $$8!$$  Next I went about finding all the possible arrangements with consecutive vowels:  Letting V'= double vowel and V = single vowel I am left with the string:                     "VV'GRCFL"   This could be arramged in $$(7!)(3)(2)$$ types of ways.   Therefore to find arrangements with no consecutive vowels: $$8! - (7!)(3)(2)$$ Where 3 was for the ways the single vowel could be chosen and 2 was for the possible arrangements of the double vowel  Initially I had split the consecutive vowels into a set of 3 and the sets of doubles,  but I realized I could count all arramgements together.  I feel there may be an easier way using the method I applied which was with some assistance from the text.    Did I approach correctly?  Ways to improve?   Edit: The solution by N.F Taussig is a very well written explanation that really provides a visual of what I did wrong and would serve as a guide for others


Nested Dictionaries updating simultaneously Python

I'm not sure what my problem is but it seems quite simple although I can't seem to figure it out.  I have a nested dictionary:  letters = [' ', '!', '"', '%', '&', "'", '(', ')', '*', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '|', '}', '~']  count1 = 0 lettersdict = [{i : 1 for i in letters}]*len(letters) nestedletters = {letters[i] : lettersdict[i] for i in range(len(letters)) }   ... (here mapdict is just a dictionary that maps a word in txtmatrix2[x] to a word in trainingset[count] and I iterate through all txtmatrix[x]'s and their corresponding trainingset[count])  for key in mapdict: if len(txtmatrix[x][key]) == len(trainingset[count][mapdict[key]]):     for letnum in range(len(txtmatrix2[x][key])):         letter = txtmatrix2[x][key][letnum]         corespletter = trainingset[count][mapdict[key]][letnum]         if letter in letters:             nestedletters[letter][corespletter] += 2             sums[mapofletters[letter]] += 2   The problem is that when I run the code I want it to count the number of times a letter that appears in my object character recognition (txtmatrix2) as for example 'a' appears in my gold standard(trainingset as 'a','b','c'...).  However when I run this code, it seems as if instead of updating the dictionary associated with nestedletters['a']['a'] it updates nestedletters[j for j in letters]['a'] (ie it updates the 'a' slot for all dictionaries corresponding to 'a'...'Z').  Curious if someone has any ideas with what is going on.    Cameron


Swapping implications - I have no idea where to begin with this

$(s \to p) \lor (t \to q) \vdash (s \to q) \lor (t \to p)$ This has been giving me a terrible headache. I have no idea how to go about proving this. I'm not asking for a complete solution, I just need some pointers to prove this with natural deduction...


How do I match a word of a specific length, let's say, five?  Given the input file temp of text:  1) ci sono quattro mele 2) sentiamoci il 16 ottobre 2018 3) decidiamo il 17 ottabre 2017 4) Manipolo di eroi 5) 17 mele 6) 18 ott 2020 7) una mela e mezza 8) 2 mele   If i do:  awk '/[[:lower:]]{5}/ {print}' temp   I would expect as output the sentence 7), because is the only one with a word of length 5 (mezza). Actually, it returns every line with a word of length equal or superior than 5.  This behavior is not compatible with any source of information I consulted:       The construct {n} should match exactly n times. At this point, I am afraid I am missing something obvious.


Why am I getting a nullpointer exception in this Processing code?

I am using a java program called Processing (3.2.3), and I am getting a nullpointer when attempting to draw. This has been tested, and is definitely in the rect() call.  Here is my main class:  square[][] squares;  void setup(){   frameRate(30);   size(600, 600, P2D);   background(0);   stroke(255);    int row = 20, col = 20;   squares = new square[row][col];    for (int i = 0; i < row; i = i + 30) {     for (int j = 0; j < col; j = j + 30) {       squares[i][j] = new square(i, j, i+30, j+30, 1);     }   } }  void draw() {   frameRate(30);   for (int i = 0; i < squares.length; i++) {     for (int j = 0; j < squares[0].length; j++) {       squares[i][j].display();     }   } }   Here is the square object:  class square { float x1, y1; float x2, y2; int age;  square (float x1, float y1, float x2, float y2, int age) {   this.x1 = x1;   this.y1 = y1;   this.x2 = x2;   this.y2 = y2;   this.age = age; }  void display() {   stroke(255);   if (age == 0) {     fill(0);   } else {     fill(255);   }   rectMode(CORNERS);   rect(x1, y1, x2, y2); }  }   On the call to rect(), it gives me a null pointer.  Full error:  java.lang.NullPointerException     at sketch_161212a.draw(sketch_161212a.java:38)     at processing.core.PApplet.handleDraw(PApplet.java:2418)     at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:884)     at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)     at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)     at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)     at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)     at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)     at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)     at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)     at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)     at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)     at java.util.TimerThread.mainLoop(Timer.java:555)     at java.util.TimerThread.run(Timer.java:505)


If I want to indicate that the current batch of items isn't the last one, what's one generic word to say "not last"?   P.S. Not looking for a specific word e.g. penultimate


Does there exist an $a_0$ such that the sequence $a_{n+1} = 2a_n + 1$ is prime for all $n \ge 0$?

I believe I see that $a_n = 2^n(a_0+1) - 1$ but am somewhat uncertain where to proceed afterwards. I am a complete beginner at number theory and would appreciate it if someone could point me in the right direction--surely there is some obvious argument I am missing.


Implement a class from Interface having implemented methods as static (.NET)

public class MyClass:MyClassBaseClass, IInterface  {    public static method A()    {    }     public static method B()     {     } }   Consider the snippet above.  I want to implement an interface in my class. I want to make all the implemented methods from interface IInterface as static in my class so that I do not have to create an instance before calling the method. Why I am not allowed to do it and what are the possible solutions and workaround to do the same thing which I wish to do.


Concurrent requests limit exceeded - how to find the problematic code

I am a developer for a Salesforce org that serves as a community portal for thousands of users. We have been consulting with a large team of developers for years and everything we have is custom coded. Our pages are built using AngularJS to remotely call Apex code. We are on an Unlimited Edition org and we are nearing 90% of our total allowed code. We have a lot of callouts to external services and many times these callouts can run long.  We are now running into issues where users are seeing the "Unable to Process Request - Concurrent requests limit exceeded" error. The issue is there is so much code written by so many different developers it is hard to identify what/where the problematic code is. Sometimes users see this error when they are trying to perform a callout. Sometimes it's when they are inserting a record and triggers are firing. The long-running code issue can be anywhere in our org. Another issue is error handling has been done very poorly, so if any process does run long, we most likely are not looking for it or logging it.  Other than enhancing the logging on our callouts, I do not know where to even begin to find other problematic code. Every developer before me has written code with no regards to limits, so inefficient code can be anywhere. Is there any way or best practice to being able to analyze such a complex org and find where the problems may be? All I can think of is enhanced logging EVERYWHERE, but that may not be the best approach and would be very time consuming, especially considering how many developers we have constantly writing and pushing new code.  I have tried to replicate the issue in a sandbox however I cannot seem to get it working. I wrote Javascript to remotely call an Apex method that waits for 6 seconds. I called this remotely 11 times at once, causing 11 synchronous transactions running concurrently each longer than 5 seconds. However instead of getting the concurrent limit error, each Apex transaction just errors out with a timeout.  Any help would be greatly appreciated. I am not familiar with the majority of the code/functionality of our org, so I do not know how to really solve this issue considering I don't even know what could be problematic aside from long running callouts. Thanks!


Proof of "clear" infinite trigonometric equality.

I was reading a paper and the author stated: It is clear that, $cot((1/2) x)sin(nx) = 1+2cos(x)+2cos(2x)+...2cos((n-1)x)+cos(nx)$ it doesn't look like a taylor expansion so how is this true? It is trivial to prove by induction but what do you think the inspiration is? Also, while I am already discussing it: Any formula for $cos(nx)$ or the Tchebyshev polynomials?  The paper by Ramanujan:   see page 3.


How to quit python2.x script when ESCape is pressed

I'm new to python and I have a python2.x script that asks a user to enter a choice between answers A, B or C in bash. How can I make the script to quit immediately when only escape key is pressed at that time while waiting for user input?   For now, I have this function. However, after escape key I have to press enter too.  def choice(prompt):     """     Choose A, B or C     ESC exits script     """     while True:         char = raw_input(prompt)         if char.encode() == '\x1B': # ESC is pressed             sys.exit("Quitting ...")         elif char.lower() not in ('a', 'b', 'c'):             print("Wrong input. Please try again.")             continue         else:             break     return char  user_choice = choice("\nChoose between A - C: ") print("You chose %s.") % user_choice.upper()   The code is in UTF-8 and escape key in bash terminal gives me ^[. As I understand msvcrt doesn't work in Linux. Can this be done, so the script works in Windows and Linux?


Using SimpleXML to create an XML object from scratch

Is it possible to use PHP's SimpleXML functions to create an XML object from scratch?  Looking through the function list, there's ways to import an existing XML string into an object that you can then manipulate, but if I just want to generate an XML object programmatically from scratch, what's the best way to do that?  I figured out that you can use simplexml_load_string() and pass in the root string that you want, and then you've got an object you can manipulate by adding children... although this seems like kind of a hack, since I have to actually hardcode some XML into the string before it can be loaded.  I've done it using the , although it's a little confusing because I'm not sure what the DOM has to do with creating a pure XML document... so maybe it's just badly named :-)


The comparison of the norms of $l^p$ and $l^q$

Let $1 \le p \le q \le \infty$ and $\Vert x \Vert_p = \big( \sum\limits_{i=1}^\infty \vert x \vert^p \big)^{1/p}$ where $x = (x_1, x_2, \cdots, x_k, \cdots )$. $l^p = \{x: \Vert x \Vert_p < \infty\}$.     Then $\Vert x \Vert_q \le \Vert x \Vert_p$ for $x \in l^p$.    I can show $l^p \subset l^q$, but I am a little struggling to show this. Any help would be appreciated!


Quotes for work by a tradesman in the UK: rules for VAT?

If I receive a quote for work from a tradesman, and this quote is supplied as a document (PDF) which does not mention VAT as being either includes or excluded, can the tradesman later say that it didn't include VAT and demand I pay 20% more than the amount stated on the quote?


How can I clear an item with a custom name?

I've read all the same questions already but mine is in Bedrock, not Java, so. I need a command to clear one item custom named from my inventory. I've already tried clear @p [type=light_block] 1 and kill @e [type=item, name="$100"] 1  but it doesn't work. I'm using Minecraft PE Bedrock 1.16.201


"Needs repairing" vs. "needs to be repaired"

Do the following two sentences mean the same thing? If so, which is more commonly used?        My car needs repairing.   My car needs to be repaired.


Is hempseed oil good for seasoning cast iron cookware?

It is 82% polyunsaturated, 9% monounsaturated and 7% saturated fats with a smoke point 330 F. Can it be used to season cast iron cookware? (It's close to flaxseed oil.) Has anyone used hempseed oil for seasoning cast iron cookware?


I've been using Ubuntu 15.0 without problems for a couple of months, but now it has started freezing.  The screen freezes, the mouse cursor freezes, and the audio stops. My only option, as far as I know, is to shut the computer down by holding the power button.  It never freezes while left alone, nor while watching videos on VLC. It does freeze, seemingly randomly, while watching videos or listening to podcasts through my browser. Typically while using SoundCloud or YouTube. Also while navigating web pages.  I've done upgrade/update and tried using a different browser, but the problem keeps occurring. Perhaps it only seems as though the browser is the cause, because I'm using it nearly constantly.  The freeze occurs every 15 minutes or so when in active use.  Appreciate any advice.


In Python, why does 'is' operator fail with ints larger than 256?

I have stumbled upon a "feature" of Python, like so:  x = 256 x is 256   # returns True  x = 257 x is 257   # returns False   Integers in range [-5, 256] (inclusive) return True, while others return False.  I understand that the 'is' operator tests for the same reference, while the '==' operator tests for the same value. However, I don't understand the dark magics involved here, and Googling "Python is" doesn't help. Anyone have a nudge in the right direction?  My intuition is that the numbers that return True have permanent locations in memory - behind the scenes, Python is replacing both 'x' and '256' with a reference to that location. Less frequently used numbers do not, and are thus stored in whatever memory is available. But I wasn't a CS major, so I'm behind the curve on the "lower level" aspects of programming. (Working on it, however...)


What is the general rule behind mixing tenses in sentences such as this:  "He said he was hungry" versus "He said he is hungry"  My colleague thinks you can't say the latter because "said" and "is" are in different tenses. But I think the first sentence risks confusing the situation completely as it can possibly imply that he he was hungry but is not anymore. The second sentence I think implies that he was hungry and probably still is.


Cannot install HP printer Deskjet 2710 in Ubuntu 20.04

I install hplip however at startinn hp-scan, I get: HP Linux Imaging and Printing System (ver. 3.20.9) Scan Utility ver. 2.2 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. error: No device selected/specified or that supports this functionality. When I do hp-check I get. Missing Required Dependencies error: 'libcups2' package is missing/incompatible error: 'python3-pyqt4' package is missing/incompatible error: 'gtk2-engines-pixbuf' package is missing/incompatible Missing Optional Dependencies error: 'python3-dbus.mainloop.qt' package is missing/incompatible But I have the following: gtk2-engines-pixbuf is already the newest version (2.24.32-4ubuntu4). 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. libcups2 is already the newest version (2.3.1-9ubuntu1.1). libcups2 set to manually installed. and Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python3-pyqt4 E: Unable to locate package python3-dbus.mainloop.qt What should I do here? Thanks!


Laravel MYSQL if DB::commit not added skips id and when added takes subsequent one

I am working with Laravel Transactions. I came across a weird thing can anyone help me out to explain the same.  I start DB::transaction() in my base controller construct like the following  Controller.php  public function __construct(){     DB::transaction(); }   This will be used in any other controller functions as follows  class ProductsController extends Controller{     function testing(){         try{             //Code which works             if(//notworks){                 throw new Exception('Yo! Something fucked up');             }              DB::commit();         }catch(Exception $e){             DB::rollback();         }     } }   For the first time, I omitted the DB::commit and then the very next time I added it. Instead of having id as 1 it added 2. Again I retested the same with same steps so instead of 3 it added 4  As per my knowledge that row is locked or something.   What exactly is happening? Any help on the same will be really appreciated.


How to construct block matrix with shadowed entries?

Is there a simple way of drawing matrices with shadowed blocks like the ones in the picture?     I've tried something like :  %% with these packages loaded %% \usepackage{tikz} %% \usetikzlibrary{matrix} \begin{frame}   \frametitle{Other matrix groups}   \begin{itemize}   \item Upper triangular $UT(p,q)$:      \begin{tikzpicture}[every node/.style={anchor=base,text depth=.5ex,text height=2ex,text width=1em}]       \matrix [matrix of nodes,nodes in empty cells]               {                 |[fill=black]| a  & |[fill=black]| b \\                 |[fill=white]| 0  & |[fill=black]| c \\               };     \end{tikzpicture}   \end{itemize} \end{frame}   However, I get an error     ! Undefined control sequence.       \pgf@matrix@last@nextcell@options       l.307 \end{frame}   nonstop compilation yields        Any suggestions?


If $X$ and $Y$ are identically distributed, not necessarily independent, show that $cov(X+Y,X-Y)=0$

The answer wrote, $$cov(X+Y,X-Y) = cov(X,X) + cov (X,-Y)+cov(Y,X)+cov(Y,-Y)$$  Can anyone enlighten me on this, which formula did they use?


How to make script run on system start/user login via terminal

I have Mac OS PC, let's name it PC1, and I have Linux PC (PC2), on Mac os PC I have python script(reverse shell), I need to make it run on system start or user login(no matter) threw terminal, I have sudo access to Mac OS terminal from my Linux, so how can I do it?


Is a Dragonborn's breath weapon an attack action?

In 5e, is the breath weapon of a Dragonborn an attack action or can it be combined with another attack? The Player's Handbook does not specify.


Add discuss.area51 to the list of viewable sites on the Android app

I understand why Area 51 isn't viewable in the Android app - it's running on different software and all that. However, isn't it the case that  runs on the standard software? If so, could it be made viewable in the Android app?


regex to stop at the first match instead of the last? using PHP

If I have a111Ta222T  I wish to extract in PHP a111T  The point is to stop match at the first occurence of T, instead of at the last T.  How can I do this using regex?    I don't wish to use  a[\S]+(?=a)  which can have the same result a111T


I am looking for a (local) pre-paid data SIM card for my trip to Italy. What matters the most is a price for GB of data only, I don't really need voice calls. Coverage in the Alps should be decent too. I guess the local SIM still gives me the best value in comparison to EU-regulated data roaming charges.


I would like to query only pages with a certain page template with WP_Query or a function that would return the post object, but I can't find any information about that on the official codex.


Probability of being $\$5$ up after $25$ plays of a game of Heads and Tails (fair coin)

In a game of heads and tails with a fair coin - you win $\$1$ if heads; lose $\$1$ if tails - what is the probability of being $\$5$ up after $25$ tosses?


What is the nature of Christmas observance in the Potterverse?

Every winter, Hogwarts students return home and celebrate Christmas with their families. However, given their extensive use of magic, it does not seem likely they'd understand Christianity the way muggles would.  How and why do wizards observe Christmas?


Show that if $a_n\rightarrow a$ then $\frac{a_1+...+a_n}{n}\rightarrow a$

This was an excercise in my exam and I was wondering whether my solution was correct or not.  I have said since $a_n\rightarrow a$ there exists a $N$ such that for every $n>N$ we have $|a_n-a|<\epsilon_0$. Therefore we have for $n>N$  $|\frac{1}{n}\cdot(a_1+...+a_N+...a_n)-a|=|\frac{1}{n}\cdot(a_1+...+a_N+...a_n)-\frac{na}{n}|=|\frac{a_1-a}{n}+...+\frac{a_{N+1}-a}{n}+...+\frac{a_n-a}{n}|\Longrightarrow -\frac{n\epsilon_0}{n}-|\frac{a_1-a}{n}+...+\frac{a_N-a}{n}|<|\frac{1}{n}\cdot(a_1+...+a_N+...a_n)-\frac{na}{n}|<\frac{n\epsilon_0}{n}+|\frac{a_1-a}{n}+...+\frac{a_N-a}{n}|$  We choose now $n$ so big such  that for $n>N'$ $|\frac{a_1-a}{n}+...+\frac{a_N-a}{n}|<\epsilon_1$   Because $\epsilon_1$ and $\epsilon_0$ were arbitrary the claim is proved.   If there are two points for this excercise how many would you give me?


The existence of orthonormal basis in the dense subspace

Let $H$ be a Hilbert space and $V$ is a dense linear subspace of $H$. Can we find an orthonormal basis of $H$ such that all elements are in $V$?


What is the effect of extern "C" in C++?

What exactly does putting extern "C" into C++ code do?  For example:  extern "C" {    void foo(); }


How can I improve the sharpness of my Sigma 50mm 1.4 DG HSM lens?

I've had it for a while but haven't used it much because it is not sharp. Suggestions? Can it be sent off and is that expensive?


Suppose I apply two vertical but opposite forces with the same magnitude in a body like is shown in the picture:    According to newton's second law, the center of mass shouldn't accelerate, since the sum of the forces in the system are zero. However, I believe that in the situation shown in the picture the body would start rotating around a point which is not it's center of mass, hence, the center of mass would accelerate.  What is wrong with my reasoning?


Does an extension or option exist to replicate the "shake mouse to find pointer" in Gnome 3?

Every now and then I fail to track my mouse pointer on a large screen resp. multi monitor setup. MacOS has this nice feature to grow the mouse pointer when shaking the mouse for a bit. Is there any extension or tweak to have this accessibility feature inside Gnome 3?


Everyone knows the following: $$0^x = 0 \quad \wedge \quad x^0 = 1 , \quad\forall x \in R^*$$  One morning, I wake up asking myself the question "$\text{What is $0^0$, then?}$". So, I did what any curious highschool student would do, I tried to figure it out using algebra $$0^0 = 0^{x-x} = \frac{0^x}{0^x} = \frac{0}{0} = \text{undefined}$$  ...and I can't seem to not divide by zero every time I try.  But then, using the concept of limits, I can sort of say what it could be.  $$\lim_{x \to 0} 0^x = 0 \quad\wedge\quad \lim_{x \to 0} x^0 = 1$$  Yeah, that doesn't provide me with much clarity either. From my perspective there's a 50% chance that it is $1$ and a 50% chance that it's $0$. $$\text{So, probabilistically it's } ^1/_2 \text{ !??}$$  Almost all calculators that I put it into gives me back Math Error. But oddly enough   Thanks to , I realize that there can't be a proper definition for it.  But many still define it to be $1$ for many more reasons. I wish to understand these reasons. I would like some proofs for this.  Hence, I seek proofs inclined (biased) to saying that $0^0 = 1$  EDIT: I've changed the question slightly to avoid being a duplicate. Thank you.


How can I get my contacts backs from my galaxy s3 when the LCD doesn't work and the screen is pitch black ?


How does one actually show from associativity that one can drop parentheses?

I've always heard this reasoning, and it makes obvious sense, but how do you actually show it for some arbitrary product? Would it be something like this?  $$(a(b(cd)))e=((ab)(cd))e=(((ab)c)d)e=abcde?$$  Do you just say that the grouping of the parentheses now corresponds to just multiplying straight through? Thanks.


Can reviewers have reserved time when they're reviewing a post?

We've been . Some of us were getting frustrated that some users were smashing through 20 reviews in a minute so I decided to lay down the law.  Aaaanyway, as part of this  brought up the problem that if they take too long being diligent (looking into duplicates properly, checking rules, etc) there's a very good chance that somebody else will have reviewed that post and their decision (and the time that went into it) is wasted. That doesn't seem like a fair reward for what is an otherwise thankless task.  So I'm suggesting the a review "reservation" system so only one person can review something at once:   Once something is opened in review, it becomes unavailable to other users to review. That includes other queues. A reservation or lock should be against a post, not a post in a queue. The reviewer should get, for example, two minutes of alone-time with a post. If they review before their time is up, the lock goes away. If they're still reviewing when their time runs out, a notification should pop up (audio too?) and allow them to request an extension... Perhaps with 10 seconds grace to stop somebody else being allocated something. Questions are simply allocated on a first-unlocked-post basis. There should be a safety-limit on the number of times something can be review-locked or extended so that somebody can't wrongfully extend the life of a bad post (offensive/spam/etc) by gumming up review.   It sounds messy (and there's certainly some concurrency issues if you've split the servers out horizontally) but data-wise, it's actually not too hard to implement (speaking as somebody who has implemented an edit-lock system before).  Above all else, it shows reviewers the respect they deserve for a job that few of us really want to do.