Why must unexposed and undeveloped film be handled in total darkness? Why can analogue, unexposed and undeveloped monochromatic photographic paper be handled in red/ yellow safelights without getting fogged?


Extra tables are added when I create a new Database

This is a really weird problem. When I create a new DB from a script I'm getting extra tables added. These aren't system type tables but regular tables that look like they may have come from a past project. There are 3 of them, each with 2 columns, either ints or nchar(10) with no keys, constraints, triggers, or indices.   I have no idea where this is coming from or how I can fix it. Right now I just delete the tables but it's a bit annoying and I'd like to fix the issue.  Here is a script I wrote that reproduces the error:  CREATE DATABASE X; GO  USE X; GO  CREATE TABLE Y(   YId INT IDENTITY CONSTRAINT pk_yid PRIMARY KEY(YId)); GO  CREATE TABLE Z(   ZId INT IDENTITY CONSTRAINT pk_zid PRIMARY KEY(ZId)); GO   After I run this script my DB is created, but it has 5 tables instead of 2.   Running SELECT * FROM INFORMATION_SCHEMA.TABLES just lists my extra tables as BASE TABLE, exactly the same as the ones I defined (all other columns are the same as well).  This is happening on SQL Server 2008 R2  (Microsoft SQL Server Management Studio 10.50.2500.0)


What happens if electric field is not perpendicular to the magnetic field?

What happens if the electric field is not perpendicular to the magnetic field for an electromagnetic wave? What could be the possible consequences if such a case was found?  Are there examples or demonstrations where the two fields are not perpendicular?


The problem:  Construct an explicit bijection $f:[0,1] \to (0,1]$, where $[0,1]$ is the closed interval in $\mathbb R$ and $(0,1]$ is half open.  My Thoughts:  I imagine that I am to use the fact that there is an injection $\mathbb N \to [0,1]$ whose image contains $\{0\}$ and consider the fact that a set $X$ is infinite iff it contains a proper subset $S \subset X$ with $\lvert S \rvert = \lvert X \rvert$ (because we did something similar in class). I also have a part of proof that we did in class that I believe is supposed to help with this problem; it states the following: Start with an injection $g: \mathbb N \to X$ and then define a set $S=F(X)$ where $F$ is an injective (but NOT surjective) function $X \to X$ with $F(x) = x$ if $x \notin \text{image}(g)$ and $f(g(k)) = g(2k)$ if $x=g(k) \in \text{image}(g)$. Honestly, I'm having a lot of trouble even following this proof, so I could be wrong. Anyway, any help here would be appreciated. I feel really lost on this one. Thanks!


Inheritance-related c++ compilation error

I'm writing some c++ code which looks like:  class Base { public:   virtual ~Base() {}   void foo(int a) {}   virtual void foo(int a, int b) = 0; };  class Derived: public Base { public:   virtual void foo(int a, int b) {} };  int main() {   Derived o;   o.foo(1);    return 0; }   This produces the following error:  candidate expects 2 arguments, 1 provided   At first I thought of a compilator bug, but after trying with different ones and always getting the same result, I realize it must be part of the standard. Can somebody please point out the reason for that error?


How can I view the content of a backup of the dconf database file?

I've taken a backup of the file where my  database is stored (~/.config/dconf/user which is a binary file), and now I need to move some keys from the backup to the dconf in use.  How can I view the content of the backed up dconf without putting it "in place" and view it with for example dconf-editor?


How to make 100% hard circles without blurred edges (photoshop)

I'm making a circle with a radius of 400 pixels, the edge of it looks like this:    But the look I'm trying to achieve is a circle with hard edges, meaning no transparency, the edge of it would then look like this:    So how do I do it?


I like to print my drafts with big fonts and small margins (i do this in memoir style in a single chapter), but the \include comand creates a page break. Is there a way to avoid this and have section after section continuously?


Clarification on maintaining 401 K Account with Ex-Employer?

A year ago, I changed my job and holding new 401K with my current Employer. I have not transferred my previous 401 K account to my new Employer.  I still maintain my existing 401 K account with my previous Employer. I haven't seen any Interest Rate growth in my previous 401K Account.  In this case, can i transfer my previous 401K account to my new 401 K Account and get some financial advise to diversify my portfolio ?


How to reduce the voltage dropped in a mosfet used as a switch?

I'm trying to use a N-channel mosfet as a switch for controlling a LED, but the most of the voltage is dropped in the mosfet itself (drain-source) and the led are not turning ON. The voltage in the gate is 3.3[V] and in the drain is 4.2[V]. What is my problem? I've seen this circuit before for controlling LED's and it works, Should I use a P-channel instead?  The circuit is already done, so I measure the voltages on my board.  Attached is a screenshot of the circuit.  Thanks!


Do I need to get my baggage and proceed in custom control as a transit visitor to US via Canada?

I'm traveling from Istanbul to San Francisco via Toronto with Air Canada (for both) and I'm wondering if I have to get my luggage and head to the customs in Canada?   Currently holding a Turkish passport and I got a transit visa for Canada. Also, the time between two of the flights is about 1 hour and 50 minutes.  My flights:   Istanbul to Toronto (Air Canada)   <1 hour and 50 minutes between flights>  Toronto to San Francisco (Air Canada)  Thanks (:


Sum of the squares of the reciprocals of the fixed points of the tangent function

The sum of the squares of the reciprocals of the positive fixed points of the tangent function is $1/10$.  I've seen this proved by means of residues, but I don't remember the details.  I've also heard it asserted that it that it can be done by means of Green's functions.  What proofs of this fact are published or otherwise known?  PS: Maybe it is of interest to note that the positive fixed points of the tangent function are also the abscissas of the extreme values of the function $x\mapsto\dfrac{\sin x} x.$


Expected max number of tries needed to get heads in n samples

Let's say I'm tossing a coin until I get the first heads. I repeat that experiment n times. Then I'll take the maximum value of tries that were needed to get heads in that experiment (out of the n results obtained). I was expecting that value to be in average $\log_2 n$, but I ran a simulation on matlab and the results didn't quite match it.  The  were always around 1.3 greater than that even using millions of sample sizes. The weird thing is that the histogram of the number of tries needed to get heads for the first time is spot on, so I know that the problem isn't on my code, but on my math. The result link shows the plots I got from running 10000 times the experiment to get the maximum value of tries considering that each time $2^{14}$ values were recorded.   I expected the mean of the max to be 14, but I got it to be on average 15.3 with a standard deviation of 1.89. My question is, how can I get mathematically to this average and standard deviation, and how can I find the expression to plot that curve?   Also, please correct me if I'm wrong but the reason this doesn't follow a normal distribution is due to the fact that the result is limited from [1,inf[, so it is truncated, right?


A semigroup $X$ is a group iff for every $g\in X$, $\exists! x\in X$ such that $gxg = g$

The following could have shown up as an exercise in a basic Abstract Algebra text, and if anyone can give me a reference, I will be most grateful.  Consider a set $X$ with an associative law of composition, not known to have an identity or inverses. Suppose that for every $g\in X$, there is a unique $x\in X$ with $gxg=g$. Show that $X$ is a group.  Note that I’m not asking for a proof (though a really short one would please me!), just some place where this has been published.


Is their a word that can be used to mean "the thing that this addict is addicted to"?  An addict has addiction, which drives them to consume their "______"?  Addiction Target?    By comparison: A Manager manages their managee.


Flag individual comments or flag once for many?

When multiple comments on a single post need attention, what works best for the diamond moderator workflow?  Flag each comment Flag one comment and use the "Other" section to indicate which comments should be addressed Something else  For example, in exchanges such as:  Person A: Post your code Person B: You should really post your code OP: Okay, I posted the code  The first two are obsolete after the edit, and the third will be obsolete after the first two are removed. I assume that there may be specific cases where one is better than the other, such as those that trigger an automatic reaction. Which method should be used to reduce the overall workload?


Rename User profile and folders Windows 10

I'm trying to rename my User profile on a fresh Windows10 install.  I've followed these instructions:    However, I lose my Desktop, Startup settings (AppData?), OneDrive integration  and the Windows Apps don't seem to work fully and perhaps less obvious things as well, so it hasn't happened properly.  I'm getting this:   .  Is there something I'm doing wrong?


Anybody to solve this definite integral?

Can someone help me with this definite integral?  $$ \int _{-\pi}^{\pi}\frac{\sin(3x)}{\sin(x)}\frac{1}{1+2^x}  dx $$


How to dynamically generate file names with sequential numbers in C++

I want to generate files which have a sequential numbers in their file names with numbers having same width (appended with zeros) like file names should be generated like below : File_001.txt File_002.txt ..... File_020.txt  `  int main() { for(int i=1; i<=20; i++) { std::string file = "File_"+std::to_string(i)+".txt"; } }   `  With above code, file names generated are : File_1.txt ...... File_20.txt  But I want to generate file names as mentioned above


Move the period outside the quotes on the site-analytics page

If you don’t have 25k reputation, the  contains a stub text:        As you can see on the image, the dot should be moved outside the quotes. Also, on ruSO we need to  from “” to «», but this is not possible via Transifex, because there is no full sentence available to translate.


Should form 'Continue' button be disabled if validation is incomplete?

In forms we often see the 'continue' button inactive until all the required fields are complete:         – Wireframes created with   Is this actually a help to the user, or a hindrance?  I imagine the Pro for this is that it's a visual indicator to the user that they haven't finished filling in the form or dealing with errors (because even with inline validation a user won't be informed if they've never actually interacted with a field so won't show any errors for those at that point).  But then the main Con for this (which I've also seen borne out in usability testing) is that users will be confused why they can't click the button.  Is the pattern of disabling the Continue button until validation is complete actually providing a negative user experience?


How to run a Python script not as '~$ python myscript.py' but as a single command '~$ myscript'?

I have a Python script which takes command line arguments.  When I want to run the script I have to navigate to its directory and run:  python myscript.py [arguments]   How can I run it like:  myscript [arguments]   Do I have to create a package? If so, how?


I tried to install ubuntu but i have this error. I unpacked iso on phone to make bootable USB drive. I tried anything: - making 3 partitions : EFI, weird BIOS partition and ext4 partition with mounting / / /home - normal install and some more - using the second pendrive  I tried all answers on any forums. If you need more informations, ask me questions.


How to use 2.8's default HDRi's in renders?

Blender 2.8 contains a number of HDRi's in it by default for the LookDev. I'd like to know how to use them in final renders (EEVEE or Cycles), because quite frankly they appear fantastic.


Wi-Fi can’t be turned on (MacBook Pro 2011, High Sierra 10.13.4)

The Wi-Fi icon in the menu bar is displaying as empty. When I open Network Preferences and press “Turn Wi-Fi On”, nothing happens.  I have tried making the Wi-Fi service inactive, deleting it, then restarting the MacBook and adding the service back.   This fix actually worked, but the problem returned after about thirty minutes.   Since then, I have simply been repeating the process every time the Wi-Fi turns itself off, but it is very inconvenient and I hope it is not the only fix.  I’m afraid that the fact that the Wi-Fi turning itself back off again indicates that it’s a hardware issue.  After seeing a response to another user who had a similar problem, I have also tried using Terminal to “cycle the power to my wireless card”. It had no effect.  After restarting the MacBook again, it now says “Wi-Fi: No hardware installed” and will not let me create a new Wi-Fi service.  After another reboot I was able to turn WiFi on again, but it turned off after about ten minutes. I imagine that I will sometimes get “No Hardware Installed” again in the future.


Should I use "was" or "were" in the following context?     A huge crowd were/was present there.


Can 12 teams in 6 disciplines play 6 rounds without repetition?

Consider the following tournament:  There are 12 teams, 6 disciplines and 6 rounds, each round and each event happens simultaneously. Is it possible to create a tournament such that no team does the same discipline twice nor meets a team they have already played. There is no reward for winning teams meeting winning teams.  This is a real live problem which bothers me quite a bit. It seems impossible (mostly due to trial and error and some trying to apply math) but I cannot prove it. Given it can not be solved I would of course like to see the argument. I do not know if such math exists, but some kind of formalised best tournament would also be interesting.  Edit:  An example could be (assuming teams 1 to 12 are just numerated)  Round 1: Soccer 1 vs 2, Baseball 3 vs 4, Basketball 5 vs 6, Hockey 7 vs 8, Ultimate 9 vs 10, Football 11 vs 12  Round 2: Soccer 3 vs 6, Baseball 5 vs 8, Basketball 7 vs 10, Hockey 9 vs 12, Ultimate 11 vs 2, Football 1 vs 4  and so forth.   So the disciplines should preferably be simultaneous. Sorry for not writing that explicitly the first time.


Does bounded variation imply boundedness

Using the standard definition  $$||f||_{TV} := \sup_{x_0<\cdots<x_n}\sum_{i=1}^{n} |f(x_i) - f(x_{i-1})|.$$   1.When the domain is a bounded interval $[a,b]$, the statement holds.   2.When the domain is $\mathbb{R}$ and the function is monotone, the statement holds both ways (if and only if).  But what about in general? My guess is true, and here is my arguement:  If $||f||_{TV} < \infty$, then $f$ only has jump discontinuities, so we can bound $|f|\leq g$ where $g$ is monotone. By this construction, $||g||_{TV}\leq ||f||_{TV}<\infty$. By (2), we know $g$ is bounded, thus $f$ is bounded.  Edit: I forgot, I probably need to impose a limit behavior at $\pm \infty$ for the function $g$. would $\limsup_{x\rightarrow \infty} g(x) - |f(x)| = 0$ be enough?  is this correct and thank you for your help!


The number of ways to make $20$ out of coins of given value

Say, in one country there is currency called $X$. It is given that the country's bank produces  the following coins:   $0.1X$ $0.5X$ $1X$ $2X$ $5X$ $10X$   Example: For $0.6X$ there are 2 possibilities: $0.1X + 0.5X$ and $6\times0.1X$.  The question is how many ways there are for combining $20X$?


Script help Closing a program after set amount of time

This is not quite working right.  #!/bin/bash [ ! $1 ] && { echo -e "Error!! No time given.!!"; exit 1; } seamonkey sleep $1 killall seamonkey   7/20/18  #!/bin/bash # # Originally by pavlos_kairis # # Open Seamonkey for a specified amount of time and then terminate program if [ $# -eq 0 ]; then   echo "Error! no time given."   echo "Syntax:"   echo    echo "15s = 15 seconds"   echo "1m = 1 minute"   echo "1h = 1 hr"   exit 1 fi echo "Opening Seamonkey ..." seamonkey  & sleep $1 echo "Seamonkey will close in " $1 killall seamonkey


The Dwarf Rings are being mentioned at the start of LOTR but no mention is made of them elsewhere despite the nine and three gathering heaps of attention.  While the dwarfs of ME are renowned for sticking to their mining and delving and smithing, only rarely coming out for light and (let's face it) the Elves aren't exactly the friendliest bunch, surely some news of the Dwarf Rings would have come to the attention of the Free peoples?  So what happened to the seven


From LibreOffice Calc to LaTeX - exporting tables and graphs

Is there any easy way to export/convert LibreOffice tables & graphs to LaTeX format?  EDIT   allows you to paste the data and generates LaTeX formatted tables.   CALC LOOKS LIKE THIS:


Viewing a deleted question on mobile gives desktop 404

Attempting to view a deleted question in the mobile view (as a mere mortal unable to view deleted questions) results in a 404 - in desktop view. This is probably not intended behaviour.


"Boot device not found" when I try to boot after system installation with USB

After installing Ubuntu 18.04.1 LTS I pressed restart now, then      remove the installation medium and reboot   appeared (although it should instead say press enter).   I pulled the USB out and to restart the laptop I pressed the power button.   Now boot freezes with boot device not found. I have changed BIOS boot priority to HDD, but it didn't help.


What happens to the Windows 7 key when upgrading to Windows 8?

Microsoft is offering "Microsoft Windows 8 Professional Upgrade" at a discounted price compared to the OEM version. However it states:     If you currently have a personal computer running Windows 7, Windows XP or Windows Vista then you can upgrade to Windows 8 Pro (Professional).   My question is what happens to the Windows 7 key that I use to upgrade? Will it become the Windows 8 key or will it generate a new Windows 8 key?  Basically if I upgrade using my Windows 7 key from my laptop for my desktop will I be able to continue using the laptop on Windows 7 while concurrently using Windows 8 upgrade on my Desktop?


Is it OK for me to track visits to my Stack Exchange profile, questions, & answers?

I would like to track visits to my Stack Overflow profile.  Is it acceptable to use a transparent GIF image (or other means) to get a request to my host and record visitors' IP address, time, user agent, etc.?


How can I move my user profile on Windows 8.1 64 Bit?

I have two hard drives C: solid state with the operating system installed and D: for back up.  I would like to move my User profile from C: to D: to free up space on C: Can anyone tell me how to do this?


Interpreting OLS regression coefficients of set of dummies when dependent var is in ln form

I run a regression where I created a set of dummies to represent different intervals. I had set of 4 dummies, only included 3 in the regression so the one with the highest interval (experience) acts as a benchmark.  How do I interpret those if my dependent variable is in ln form? I have no clue how to interpret this also in relation to the benchmark variable when I have multiple sets of dummy variables.   For example, if the benchmark is 'bigger AS size' and the AS 5000m is negative -,764 does that mean that having only 'AS 5000m' decreases the output but by how much? 76,4% ? or only 0,764? I am not sure how to interpret the constant since it is in log and it also represents the benchmark for other dummies in the regression...   I have shortened the model, but there are in essence two 'sets' of dummies (locations and the size intervals) and two normal dummies.  variable              B coeff.  (Constant)           6,281 Car                  ,389 Inclination (dummy)  -,125 Fallow Land (dummy)  -,072 ln Input (USD/ha)    ,180 No_Agroforestry      -,210 **AS_5000m2          -,764** ln Land (ha)         -,337 P2: Sacaba          -,042 P3:Tiquipaya       -,130 P7:Tapacari       -,846


Can creatures with summoning sickness block?

Are you able to block with a creature that has summoning sickness? My friend always has at least 1  in his hand and plays it each chance he gets, even when I attack and it has summoning sickness he tells me that creatures with summoning sickness can still block creatures.


Anyone could help me to solve this equation  I try to study lots of material but I coulden't solve it. I am a high school student and try to learn. $\displaystyle\int \cos(\ln(x))dx$?


Why int variable id's in python 2.7 are equal only until 256?

Why int variable id's in python 2.7 are equal only until 256 ?  For example:  >>> y = 256 >>> m = 256 >>> m is y True >>> y = 257 >>> m = 257 >>> id(m) 16282096 >>> id(y) 16281952 >>> m is y False


How do you Read SharePoint Lists Programmatically?

I currently use the   to retrieve data from several SharePoint lists.  This is my current preferred method of coding my way from ASP.NET and WinForms to retrieve this data.   My only issue with this project:  I have to manually generate the SPML file and add this to the development environment, compile it in the project, and only then I am able to use it to connect to the List.  This is great for projects that require connecting to the one and the same list always.  But I am having users creating new workspaces (sites) with each its own List from which I want to retrieve data automagically (same as linq to sharepoint does, but not statically).  Can you recommend your preferred way of accessing data from several SharePoint Lists and sites in C# WinForms and/or ASP.NET outside an actual SharePoint environment where I can specify the a new source site and list at run time?


Novel where pyramids "grow" and change Earth's magnetic field?

I read this in (most likely) the 1980s or 1990s. The protagonists found what they believed were alien spacecraft; over time, they "morphed" into Mesoamerican-style pyramids (stepped, not smooth like Egyptian pyramids). Each time they "grew", an area where electrical equipment either failed or was unreliable grew; the pyramid itself became a new magnetic pole. It turned out that there were a dozen of these objects, spaced to cover the entire world from the corners of an icosahedron; the final morph of the pyramids caused the fields of electrical "disablement" to cover the entire world.


How to see list of questions I have edited?

One of the questions that I had edited few days ago was rejected by someone from SO site, and now I am not able to find what question was that I had edited. And so was wondering how to find the list of questions that I have edited in SO sites?


I need to replace the bottom bracket bearing on my fixie. I plan to get a , but I note that there are a number of different sizes. The sizes seem to be expressed as 68-110, where 68 is the shell width and the second number varies according to the table below, from Shimano's tech specs.    I assume the second number relates to the width somehow.  How do I measure my existing bearing? Is it length from end to end of the axle? Given that the only tool I have for this is a ruler (no calipers) what's the best way of measuring my existing bottom bracket to ensure I get the right size?  Update    I removed the bottom bracket and it had "103" stamped on the axle. I also measured and it was exactly 103mm from end to end. So it looks like the measure is the length. I went to my LBS and they assured me a 107mm (coincidently the shortest one they carried) would be fine. I installed it and my chainline is marginally out (I guess by 2mm). So I'm going to try to find a 103mm from somewhere else.  Thanks!


Let $f:[0,\infty) \to[0, \infty)$ be a continuous function such that $\int_0^{\infty} f(t) dt <\infty$ then find the correct option

Let $f:[0,\infty) \to[0, \infty)$ be a continuous function such that $$\int_0^{\infty} f(t) dt <\infty$$  then which of following  are true  (1) the sequence $\{f(n)\}$ is bounded  (2) $f(n) \to0$ as $n \to \infty$  (3) the series $\sum f(n)$ is convergent  i think option 1 and 2 is true, and option 3 is false.but not able to prove 1 and 2 and disprove 3.  any hint please


Convert scientific exponential value to log and reverse jquery

I need to convert exponential values to log and back to exponential. Using it for . What i have tried,  Example A:  a = 5.45e-320 5.45e-320  b = Math.log(a) -735.1316071514119  Math.exp(b) 5.45e-320   Example A is working fine for me but when i try this example  a = 2e-8 2e-8  b = Math.log(a) -17.72753356339242  Math.exp(b) 2.0000000000000004e-8    Expected and needed Output: 2e-8  I am curious to know how this Math.log and Math.exp works, I researched on many documents but didn't find my answer.  Please correct me if i am wrong here, Thanks.


Does a simple wire antenna need a 50 ohm transmission line?

I am trying to make a LoRa board with an RFM95W module. Using the calculator shown in the image below, I designed a 50 ohm impedance transmission line. I added options for both a monopole copper wire antenna and a proper U.Fl antenna. However, after further research I am unclear whether a wire antenna even needs the 50 ohm. Further, I am worried that if I end up going with the U.Fl, the board trace impedance will add with the connector impedance and create 100 ohms.  (There will be copper pour on the red side)  So do wire antennas need a 50 ohm transmission line? Will the impedance of a 50 ohm transmission line and a 50 ohm ufl antenna connector add to make 100 ohms in series?


Why is Potterwatch's security like this?

Potterwatch is a clandestine radio program:     “Potterwatch, didn’t I tell you that’s what it was called? The program I keep trying to get on the radio, the only one that tells the   truth about what’s going on! Nearly all of the programs are following   You-Know-Who’s line, all except Potterwatch, I really want you to   hear it, but it’s tricky tuning in…”   Its security is described like this:   You only need to know one password to listen to it.  There is no protection against brute force attacks. The password changes each time, but they say the next one at the end of the program. The password is usually related to the Order, e.g. ‘Albus’. They use pseudonyms, but since they don't distort the voices, they can be recognized.   This doesn't seem much safe. The bad guys will eventually find a password and be able to listen to the program. To prevent that, they could use stronger security. Or they could just broadcast with no password, and have a bigger potential audience of good guys.  Therefore,   Why do they use this kind of protection? Does it have any advantage over other alternatives? Is there any evidence that this is intentional, because they are using Potterwatch to leak false information to the enemy, in a non-suspicious way?


After downloading Ubuntu installer, it asked me to reboot for install. It shut down and seemingly rebooted into a black screen!

So for my recent project I decided to install Linux Ubuntu on a separate 60GB SSD to dual boot with Windows 8.1. Once I went on the official Ubuntu website and downloaded the free version of Ubuntu I ran the installer and with out much "installing" (meaning, without selection of new boot drive etc.) it asked me to reboot my machine, "now" or "later" I wasn't questioning it much so I simply clicked "reboot machine now". So it did its thing, shut down and rebooted as I had anticipated, but as it turns out it got stuck on a black screen (computer was still running) without any sort of error message, nada!   Then I tried to reboot manually again hoping to, perhaps entering the BIOS but as it turns out, my keyboard only activates or turns on after the BIOS loading screen, where it says "hold F2 or dlt to enter UEFI BIOS" which essentially didn't work. Now I'm completely powerless because I can't do anything with this computer simply because I don't know what it wrong.


How can I prove the following: $$ \int _0^1\:\frac{\sin \left(\pi x\right)}{x^x\left(1-x\right)^{1-x}}dx=\frac{\pi }{e} $$ I'd start by taking the imaginary part of: $$ \int _0^1\:\frac{\exp\left(\pi x i\right)}{x^x\left(1-x\right)^{1-x}}dx $$ But I don't know where to go from there? How can I use complex analysis to evaluate this integral?


How can I find out what motherboard is in my computer?

I want to find out the exact model of my computer's motherboard so that I can see what sort of memory chip, graphics cards and other components it supports.  I'm using Windows 7 Ultimate 64-bit.


I'm trying to do the same thing as the photo below  But the result that I get is pretty annoying (as you can see)  $P(E|F) = \frac{P(E\cap F)}{P(F)} = \frac{|E\cap F|}{|\Omega|}\cdot \frac{|\Omega|}{|F|} = \underbrace{\frac{|E\cap F|}{|F|}}_{\text{"casi favorevoli su casi possibili" su uno SP ridotto. Condizionare riduce lo spazio degli esiti possibili}} = \frac{3}{5}$  So my question is this: is there any way i can "wrap" the text below the bracket into something at least readable in a single row? Thanks in advance


How to import footage in the VSE for optimal playback and organization?

How to import footage in VSE for optimal playback and organization, using proxies and workarounds?


prove using binomial theorem $\left(1+\frac{1}{n}\right)^n = 1 + \sum^{n}_{k=1}\left[\frac{1}{k!}\prod^{k-1}_{r=0}\left(1-\frac{r}{n}\right)\right]$

Using the binomial theorem, prove the following equation using induction. Please have a look at my current approach, as I welcome feedback on tackling this equation. For, I'm currently experiencing hardships on where to go next. $$\left(1+\frac{1}{n}\right)^n = 1 + \sum^{n}_{k=1}\left[\frac{1}{k!}\prod^{k-1}_{r=0}\left(1-\frac{r}{n}\right)\right]$$ What I have done: starting with induction $$\left(1+\frac{1}{n}\right)^{n+1} = \left(1+\frac{1}{n}\right)\left(1+\frac{1}{n}\right)^n$$ $$\implies \left(1+\frac{1}{n}\right)\left(1 + \sum^{n}_{k=1}\left[\frac{1}{k!}\prod^{k-1}_{r=0}\left(1-\frac{r}{n}\right)\right]\right)$$ $$\implies 1 + \sum^{n}_{k=1}\left[\frac{1}{k!}\prod^{k-1}_{r=0}\left(1-\frac{r}{n}\right)\right] + \frac{1}{n}+ \frac{\sum^{n}_{k=1}\left[\frac{1}{k!}\prod^{k-1}_{r=0}\left(1-\frac{r}{n}\right)\right]}{n}$$ I'm not sure on how to break this down next, please help me.


Ok, I have a female friend, can I say "girlfriend" as "a female friend, not a romantic lover"?  Ex, I got married but I have a girlfriend.  Can I say "I have a girlfriend (a female friend, not a romantic lover)"?  Also, is "female friend" a popular term in everyday conversation?


How can we solve $y^2=x^3+23$ without trial and error?

$$y^2=x^3+23$$ Are there any easy ways to solve this problem with number theory, abstract algebra, etc.? (trial and error for mods by the way)


How to Remove Strings between two Parenthesis in Unix

I have a requirement like i have to remove the strings or numbers between two Parenthesis in a file. I used sed command but it is working on a single line. My opening Parenthesis is in one line and the closing parenthesis is in other line. How can i do it?  I tried this command using sed:  sed -e 's/([^()]*)//g'   but this works only when My opening and closing parenthesis are on the same line.  For Example:-  Input file:  select a ,b ,c FROM ABCD (select e ,f ,g ,h FROM XYZ)   Output should be:  select a ,b ,c FROM ABCD


How to make leaving a PhD program seem like a positive thing on a resume

I have a feeling this question has been posted before, but I wanted to ask as my situation is slightly different. I've recently decided to leave my PhD program in the social sciences in order to look for work. I've basically come to the conclusion after completing 3 full years, courses, and fieldwork that I don't want to be an academic but would rather put my skills to use with NGOs, non-profits, or the public sector. In many ways, the last hurdle of the PhD (i.e. writing the dissertation) seemed more like a barrier to what I wanted to do, rather than something that would bring me closer to it. I left because I wanted to go in a new direction, not because I wasn't sure that I was capable of finishing.   Anyways, my main concern right now is how to present this discrepancy on my resume. As I've been a TA and doing research projects since getting my MA, I've decided to list my years as a TA, and the rest under the position of "Researcher." I figure that the situation is a little too complex to really explain in a resume or cover letter, and that most employers will be able to read between the lines that I was probably in a PhD program. I've basically been marketing myself on my resumes/cover letters as a "researcher" with lots of research projects under my belt, without specifically stating under the "education" section that I have a partially finished PhD. My motivation behind the "researcher" title is that during my graduate studies I designed, proposed and carried out individual research on a number of projects.    I guess I should qualify this by mentioning that my PhD studies were in the social sciences, and there seems to be a bit more leeway in terms of describing what we do. All of my dissertation research was funded by a fellowship, and all of my various other research projects (where I wasn't principal investigator) were the result of competitions funded by grants. I have always designed my own research projects, which is why I didn't think it was a bad idea to go with "researcher", and my references could verify that.  It looks like this title would be a little confusing given the circumstances, so I think I'm going to use "Graduate Student Researcher", "PhD Researcher" or something similar in the future. I guess this seems like it gives a more accurate representation of what kinds of things I was doing. I figure that the 4 years of MA/PhD work on research projects gives me (and any other former graduate student) skills that are valid to most employers. I just want to be able to address this discrepancy honestly and enthusiastically in an interview, rather than clumsily addressing it in a cover letter/resume. What do you guys think? Is this the right strategy to take?


I'm trying to update active/suspend button using AJAX and jQuery, after user clicked on "suspend" -> I have to change the status to "Suspended" + active button.  After user clicked on "active" button -> I change the status to "Activated" + suspend button.  Here is the HTML/PHP code :  Status :  <?php if($row['active']==2)   // 2 = Suspended { ?>     <span id="status<?php echo $row['id']; ?>">Suspended         <button type="button" class="active-button" value="<?php echo $row['id']; ?>">active</button>      <?php } else if($row['active']==1)  // 1 = Activated { ?>     <span id="status<?php echo $row['id']; ?>">Activated         <button type="button" class="suspend-button" value="<?php echo $row['id']; ?>">suspend</button>      <?php } ?>   This is the jQuery/AJAX code :  $(function() {     $('.active-button').click(function(){         var add_active = 1;         var add_id = $(this).val();         var status = "#status"+add_id;         $(status).text('Loading...');          $.post('active.php',{id: add_id, active: add_active}, function(){             $(status).html("").append("Suspended <button type='button' class='active-button' value="+add_id+">active</button>");         });     });      $('.suspend-button').click(function(){         var add_active = 2;         var add_id = $(this).val();         var status = "#status"+add_id;         $(status).text('Loading...');          $.post('active.php',{id: add_id, active: add_active}, function(){             $(status).html("").append("Activated <button type='button' class='suspend-button' value="+add_id+">suspend</button>");         });     }); });   But The problem is that the span "status" doesn't change(in the DB it works well).  I'm almost sure that the problem is in this line:  $.post('active.php',{id: add_id, active: add_active}, function(){     $(status).html("").append("Activated <button type='button' class='suspend-button' value="+add_id+">suspend</button>"); });


Split power supply for a multiple op amp circuit

I'm working on a 9V VCO (synthesiser) that has three op amps, of which two needs virtual ground. So far I've been using voltage divider with a couple of caps and it works. I wonder if I need a separate power supply for each op amp? Is the TLE2426 any better? Do I need two of the TLE2426 for the two op amps?


if $A$ subset of $B$ then $P(B)-P(A)=P(B\setminus A)\ge 0$

Let $P$ be a probability measure on $(\Omega, \mathscr{F})$, If $a,b,\in\mathscr{F}$ and $A\subset B$, then $P(B)-P(A)=P(B\setminus A)\ge 0$.  So far I have:  $A\subset B \implies B\setminus A = B\cap A^c = \emptyset$ as $A$ and $B^c$ are disjoint. Since $A\cup (B\setminus A)=A\cup (B\cap A^c)=(A\cup B)\cap (A\cup A^c)=B\cap\Omega = B$  Then for $A,B\in \mathscr{F}\implies P(A\cup (B\setminus A))=P(A)+P(B\setminus A) = P(B)$ by countable additivity.  Rearranging, $P(B)-P(A)=P(B\setminus A) \ge 0$.


Does the Warlock's Expanded Spell List from their patron only add it to their list of options, not their spells known?

Expanded Spell List   The Fiend lets you choose from an expanded list of spells when you learn a warlock spell. The following spells are added to the warlock spell list for you.   Should this mean, that unlike the Cleric, a Warlock does not gain the Patron spells in addition to the spells known?  So a 1st level Cleric with 16 Wis can prepare 4 spells, plus 2 from the Domain, but a Warlock only knows 2 spells, no matter what?


Restore master DB to default(as just installed) without backup

I know this is not a reasonable request but is it possible to reset master DB to the status it was just installed without backup?  I deployed a DB project which I didn't know it will mess with master DB so I didn't backup it in advance plus the deployment script has some defects so the process failed and left tons of rubbishes in master DB.  I did a bit search but most of the instruction requires a backup whereas I can't be sure for those don't request backup can work master DB around or not.  Is there any way else except reinstalled the instance all over?


How do I log out/disconnect from SSH after starting a process with output to keep it running?

I ran a script from the command line today (php, not sure that matters) which has output I wanted to watch but I had to go home before it finished and I couldn't figure out how to exit without killing the script. Normally I just close the laptop (hibernate) but it doesn't appear the script finished.  Is there some keyboard combination I can hit to exit the terminal and leave the script running? It prints a log file too so I can just check it later.


For a set of positive measure there is an interval in which its density is high, $\mu(E\cap I)> \rho \mu(I)$

In my self-study, I came across the following two interesting, related results:  Let $E$ be Lebesgue measurable, with $\mu(E)>0$ (here $\mu$ denotes the Lebesgue measure). Then:   for any $0<\rho<1$, there exists an open interval $I$ such that $\mu(E \cap I)> \rho \cdot \mu(I)$. In turn we should be able to use (1) with $\rho > 3/4$ to prove that  the set $E-E = \{x-y : x, y \in E\}$ contains an (open) interval centered at $0$ (in particular, if $\rho > 3/4$, the text I am using suggests that $(-\frac{1}{2} \mu(I), \frac{1}{2}\mu(I)) \subseteq E-E$).   I would like to see if anyone visiting today would be up for proving (1) or (2) (inclusive-or). I have tried to work out (1) a few times, but none of my attempts have been satisfactory.


so basically I:  Made a Github repository and cloned it to my desktop Modified the README.md file from Github and forgot to pull it to my desktop Made over 10 commits from like 2 hours of code  Git won't let me push: ![rejected] error: failed to push some refs  Git won't let me pull: Auto-merging README.md CONFLICT (content): Merge conflict in README.md Automatic merge failed; fix conflicts and then commit the result.  What can I do?


What is known about the topological structure of spacetime?

General relativity says that spacetime is a Lorentzian 4-manifold $M$ whose metric satisfies Einstein's field equations.  I have two questions:   What topological restrictions do Einstein's equations put on the manifold?  For instance, the existence of a Lorentz metric implies some topological things, like the Euler characteristic vanishing. Are there any experiments being done or even any hypothetical experiments that can give information on the topology?  E.g. is there a group of graduate students out there trying to contract loops to discover the fundamental group of the universe?


Python does not find packages installed without Anaconda

I'm trying to install kivy for python 3 using apt-get:      sudo apt-get install python3-kivy   And it is installed in      /usr/lib/python3/dist-packages   But, when I tried to load it in python, I get a ModuleNotFoundError      Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 13 2017, 12:02:49)      [GCC 7.2.0] on linux     Type "help", "copyright", "credits" or "license" for more information.     >>> import kivy     Traceback (most recent call last):       File "<stdin>", line 1, in <module>     ModuleNotFoundError: No module named 'kivy'   When I check the system path from python, I only get packages in Anaconda:      >>> import sys     >>> print('\n'.join(sys.path))      /home/santiago/anaconda3/lib/python36.zip     /home/santiago/anaconda3/lib/python3.6     /home/santiago/anaconda3/lib/python3.6/lib-dynload     /home/santiago/anaconda3/lib/python3.6/site-packages     /home/santiago/anaconda3/lib/python3.6/site-packages/torchvision-0.2.0-py3.6.egg   Is there any way to include the '/usr/lib/python3' path to Anaconda?  Thanks.


Applying the Usa visa from a country where I don’t have resident permission

I  am from Turkey.  I live in Nigeria and residency. It is difficult to get Nonimmigrant visa from Nigeria. I have valid visas for The UK and Schengen ara and I will be visiting  the UM and , France  and Germany. Can I apply for the USA visa from these countries  since I don’t have residency. My reason is to apply from another country is I got refused once when i wanted to travel with my students after then I travelled another country again this year I travelled to the UK . My students want to visit to the USa but my company is not willing to allow me coz last time all got visa but me that is why it damaged school’s reputation .that is why , first i have to get visa then i can organize my students


I have a Windows 8 tablet with a touch screen (Surface pro) using IE10, I do not like to use the mouse a lot since it is touch, SE sites are not really touch friendly and the mobile version looks ugly on devices other than mobile devices, anyhow I still can manage to navigate SE sites with no much complains except for comments. To upvote a comment, flag it or to delete it you need to hover the mouse to see the buttons for these controls which has no alternative way for touch screens and you will have no choice but to use the mouse to hover the comment. If no mouse available there is only one way, go to the mobile site and upvote then get back to the full website, just boring! and the mobile version does not have a flag button anyway!  Can SE team solve this? Facebook solved a similar issue for posts, if you touch (or tap) a single touch on the post's div the control buttons will show and stay there just like you're hovering the mouse and disappears when selecting another post (the hover effect still there for mouse users). Can something like this be done? it will make SE sites more touch friendly.


I have the following problem:  I have a button like: <button id="button_show_countries" >Start</button> in the index.html and a click event in the view.js:          $("button#button_show_countries").click(function() {             debug('View Click Event triggered: notice the Controller that the user wants to see the Interests data');             Controller().countrieslandscapeasked();         });   This wokrs very well. Now I create with the view a button. This button I add to index.html. The button looks like:     <button class="insertButton" type="button" id="insert_button_0">insert here</button>   and in the view is also an eventlistener for this:  $("#insert_button_0").click(function() {             debug('Data should be add at Position 0');          });   But when I click on the button the event is not "fired". What is wrong with my code? :/  The button work, if I add him at the beginning like the show countries button.  Is it problematic that I add the button dynamically at runtime?  Thanks for help.


How to maintain stored procedure changes in version control?

What is the best way of tracking changes in a stored procedure? My team has multiple members working on same database and anyone can change in business logic, create or delete a stored procedure. Sometimes a single experimental change is breaking down or need extra time for digging out the problem.  Is there any reliable system that can be used for this purpose? If there multiple, which one is the best one.


Is there a topology on natural numbers being not first countable?

A topology on a countable set may be uncountable, such as discrete topology on natural numbers. Although that topology has uncountably many set, it is first countable, indeed, second countable. I wonder that is there a topology on natural numbers being not first countable?


Error in JSON Parser (NullPointerException)

I'm new to android programming and am working on a simple app, which will have to perfom POST and GET operations. I have a JSON parser class which creates a http request, but I keep getting an error on 'GET'. I have spent some time now trying to debug that and I have re-written the code a couple of times (I have also found similar threads on SO, but the suggested solutions didn't work for me), but I still cannot figure out what is wrong, as I keep getting the same error.


Can't solve NullPointerException problem (using interface)

I can't solve NullPointerException problem (82 line). It's simple code with interface. In final result it have to print 10 random shapes with its parameters and total area of shapes. Final result should look like in picture.


For$$\lim_{z\rightarrow0}\frac{\bar{z}^2}{z^2}$$   Does $\lim_{z\rightarrow0}\frac{\bar{z}^2}{z^2}$ exist? If the answer is no, why? Does $\bar{z}$ represents $a-bi$?


I am the only user on my laptop.  I upgraded from Windows 7 to Windows 10.  Anytime I try to delete the Windows.old folder, I get a prompt that says     Folder Access Is Denied   You will need administrator privileges to delete this folder.   UAC is turned off.  Why am I unable to delete this folder?  EDIT Yes, I have googled, I saw this post here, and tried to follow the instructions but no success    EDIT #2 @Ƭᴇcʜιᴇ007 -- I have tried the solutions provided in both of the links you flagged as potential duplicates and neither solved my issue.


As we all know the Death Star is spherical. I don't know if it generates gravity on its own or has a gravity generator, but that's not important. I think we have basically two scenarios:    Gravity works the same way as Earth. If you are in the lower hemisphere, you are upside down, but that's normal for you.  If that's the case, when would the gravity shift? What if you're taking an elevator, would it be same as in the Total Recall remake? Everyone has the same gravity. Same as if you were in one big house.  Now what if the trench ran in the lower hemisphere. Would the stormtroopers in the turrets be upside down?   I accept any sort of canon.


I'm having trouble putting my windows views back, I tried a few things and they won't go back, they did before

So this is a little embarrassing. I have gotten really far on this Harbor Seal project and i can't figure out how to close my python code info viewer? the large arrow won't appear. I have recently saved, I like what I have. Any suggestions? Is there python script that can hide my python viewer? or simply set to regular format?


Realistically, does the i.i.d. assumption hold for the vast majority of supervised learning tasks?

The i.i.d. assumption states:  We are given a data set, $\{(x_i,y_i)\}_{i = 1, \ldots, n}$, each data $(x_i,y_i)$ is generated in an independent and identically distributed fashion.   To me, physically this means that we can imagine that the generation of $(x_i,y_i)$ has no affect on $(x_j,y_j)$, $j \neq i$ and vice versa.  But does this hold true in practice?  For example, the most basic machine learning task is prediction on MNIST dataset. Is there a way to know whether MNIST was generated in an i.i.d. fashion? Similarly for thousands of other data sets. How do we "any practitioner" know how the data set is generated?  Sometimes I also see people mentioning shuffling your data to make the distribution more independent or random. Does shuffling tangibly create benefit as compared to a non-shuffled data set?   For example, suppose we create a "sequential" MNIST dataset contained digits arranged in an increasing sequence 1,2,3,4,5,6,..obviously, the data set was not generated in an independent fashion. If you generate 1, the next one must be 2. But does training a classifier on this data set has any difference as compared to a shuffled dataset?  Just some basic questions.


How do I completely stop the execution of a JavaScript setInterval? I've tried clearInterval, and that does not work

THIS IS NOT A DUPLICATE! I have a piece of JavaScript with what I call a "nested" setInterval; one setInterval that calls a function with another setInterval. What i want is when the "outer" setInterval calls the function when the "inner" setInterval is already running, I want the "inner" setInterval to stop it's original interval and start again fresh. So:  Outer setInterval fires. Outer setInterval calls function with inner setInterval. Inner setInterval fires.  ... inner runs for a while  Outer setInterval fires ... again. Outer setInterval calls inner setInterval ... again Inner setInterval stops it's original run. Inner setInterval starts a fresh, new run.  See my example below:       <!DOCTYPE html>                           <title></title>
<button type="button" id="the_button">click me</button>
         The way I feel this should work is: outer fires     inner prints     A     B     C     D     E     F outer is fired again     inner stops printing     inner prints     A     B     C     D     E     F     ...  Is this not possible?


I'm trying to write a test for this and I can't get anything under line 6 (for) to test. trigger createPriceBookEntry on Product2 (after insert) {          List<priceBookEntry> priceBookEntryList= new List<priceBookEntry>();          String pricebkId= [SELECT id from Pricebook2 where isStandard=true][0].Id;     for(Product2 prod: trigger.new){         priceBookEntry priceBkEntry= new priceBookEntry();         priceBkEntry.Product2Id= prod.Id;         priceBkEntry.Pricebook2Id= pricebkId;         priceBkEntry.IsActive= True;         priceBkEntry.UnitPrice= 1; // Dummy Value         priceBkEntry.UseStandardPrice= False;         priceBookEntryList.add(priceBkEntry);     }     if(priceBookEntryList.size()>0){         insert priceBookEntryList;     } }  How would I go about testing this? I can insert a product but not sure how I'd be able to deploy this.


Is there a word for wordlessly humming words/phrases?

"Yeah-huh", "Nuh-uh".  "Ah."  "Oh."  "Um."   "Ew."  "Huh!"  "Huh?"  "Ehh." "I don't know."  Tone and breath are all that separate all of these 'm' sounds.  You can say a lot without opening your mouth.  Does this phenomenon have a name?


Ubuntu 14.04 freezes after kernel update

I have Ubuntu 14.04. After having updated the system to kernel 3.13.0-49-generic, I re-booted and now everything freezes! I cannot log in. (Keyboard and mouse do not work as well)  I found this line in my kern.log when I first rebooted after kernel update:  segfault at 0 ip 00007f2d1fabd0c8 sp 00007f2d02ef7500 error 6 in libcontent.so[7f2d1f178000+141f000]   This error appeared once in the first time I wanted to reboot after updating the kernel.  I came across .  And I uninstalled my chrome browser and rebooted again. But no luck.   Anything else that I need to check?


My linux(ubuntu 14.04) unexpectedly stopped working after reboot. I caught:  error: file '/boot/grub/i386-pc/boot.mod' not found.  Entering rescue mode ...    How to solve this? And what could be a reason for such problem? Ubuntu was loading updates when I initiated reboot.


Declaring Arrays of Variable Length in Delphi

I have a procedure in Delphi which currently looks like this:  Procedure Time.TimeDB(algorithm: string; Encode, Decode: InputFunction; N, R: Int); VAR     i : LongInt;     Errors : Array[N] of LongInt; BEGIN  for i := 0 to N-1 do   Errors[i] := 0;  END;   I'm given the error that N, as passed to the definition of Errors, is an undeclared identifier, despite declaring it in the procedure definition. N is recognised in the BEGIN-END section though. Any ideas what's causing this and how I can otherwise declare a variable-length array in the VAR section?


Is "myriad" not prevalent in "day to day speech"?

I have noticed people using "myriad" when they mean "uncountable" or simply many.   Is "Myriad" not prevalent in "day to day speech Can it be used for definite but large amount of anything.


Can I invest in the London stock market when resident on a visa?

Can holders of a "Tier 2 Skill Transfer UK Visa" invest in the London stock market?  If so, what is the procedure?


Which property of modular arithmetic is being used here?

I came across this example in a video lecture on modular arithmetic. I need to calculate (99^99) modulo 100. It says that since modulo is preserved under multiplication we can just replace 99 in the base by a congruent number that is -1. AFAIK, this is neither modular multiplication or exponentiation.


Comma in "Tomorrow, I will go to the store"?

I seem to remember being taught to use a comma after introductory phrases, such as in Tomorrow, I will go to the store. However, a friend of mine says a comma is not needed here. Is the comma correct, incorrect, or optional?  Would it make a difference if the introductory phrase were longer? After breakfast tomorrow, I will go to the store.  Thanks!


suppose g is a deterministic function, and X a rv. Then we define Y=g(X) and  $f_Y(y) = f_X(g^{-1}(y))/|g'(g^{-1}(y))|$  But I don't understand at all why the $/|g'(g^{-1}(y))|$ is there. Seems like it would make perfect sense without it.


Can't define function member class of template class that returns the member class inside the source file (cpp)

I have a class and a nested class: template<class T> class foo { public:     struct small_foo     {         small_foo& operator=(const small_foo& other);     }; };  and a soruce file that looks like that: #include "foo.h"  template<class T> foo<T>::small_foo& foo<T>::small_foo::operator=(const small_foo& other) {     //Some code     return *this; }  While im compiling (static library) I'm getting 3 errors and a warning:  warning C4346:    :small_foo": name is not a type error C2061:    syntax error : identifier 'small_foo' error C2143:    syntax error : missing ';' before '{' error C2447:    '{' : missing function header (old-style formal list?)  EDIT: The problem was that the compiler couldn't tell what foo<T>::small_foo& in foo<T>::small_foo& foo<T>::small_foo::operator=(const small_foo& other) was. The solution is to add typename keyword in front of it so it looks like that: template<class T> typename foo<T>::small_foo& foo<T>::small_foo::operator=(const small_foo& other) {     //Some code     return *this; }


Sharepoint 2013. Add JS to NewForm.aspx of a list

how to place JS-code to NewForm.aspx of a list in SharePoint 2013 APP.  In sharepoint 2010 we can use this list definition to add JS:  <List ...>   <MetaData>     ...     <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" UseDefaultListFormWebPart="False">         <WebParts>           <AllUsersWebPart WebPartZoneID="Main" WebPartOrder="1">             <![CDATA[              <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2"                 xmlns:sfwp="http://schemas.microsoft.com/WebPart/v2/SimpleForm">               <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>                                        <TypeName>Microsoft.SharePoint.WebPartPages.SimpleFormWebPart</TypeName>               <FrameType>None</FrameType>               <Title>JS1</Title>               <sfwp:Content>ANY HTML YOU NEED HERE               </sfwp:Content>             </WebPart>             ]]>           </AllUsersWebPart>           <AllUsersWebPart WebPartZoneID="Main" WebPartOrder="2">             <![CDATA[             <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">               <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>                                        <TypeName>Microsoft.SharePoint.WebPartPages.ListFormWebPart</TypeName>               <PageType>PAGE_NEWFORM</PageType>             </WebPart>             ]]>           </AllUsersWebPart>         </WebParts>       </Form>     </Forms>   </MetaData> </List>   How to do the same for Sharepoint 2013?


How can the Anomalous Expansion of Water from 4$^\circ$C to 0$^\circ$C be explained with reference to subatomic particles?


GFS Didot accented letters not working in LaTeX

I am trying to use GFS Didot in pdfTeX to typeset a short French music article, but some of the accented letters are not working. While I could do without accented capitals, several essential accented lowercase letters are not showing up (à in upright; à, è and ù in bold; é and è in italic).  Am I mistaken that GFS Didot should contain this letter? It is in this specimen:   However, it is not in this font table:   (In fact, the font table seems to have generated the same errors that I have, including some weird strange boxes for the accented capital A letters.)  How can I get this to work? Where could I look for the answer?  (FYI, I am newish to LaTeX, running TeX Live 2015 on a Mac. Compiling with TeXShop.)  Here's a MWE:  \documentclass{article}  \usepackage{gfsdidot} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \linespread{1.1}  \begin{document}  % ALPHABETS \noindent 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 \\ \textbf{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} \\ \textsc{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} \\ \textit{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 \\  % DIACRITICS \noindent é à è ù â ê î ô û ç ë ï ü \\ \textbf{é à è ù â ê î ô û ç ë ï ü} \\ \textsc{é à è ù â ê î ô û ç ë ï ü} \\ \textit{é à è ù â ê î ô û ç ë ï ü} \\ É À È Ù Â Ê Î Ô Û Ç Ë Ï Ü  % EXAMPLE % text from Wikipedia: https://fr.wikipedia.org/wiki/Harmonie_tonale \section{Exemples d’harmonie tonale à quatre voix} \subsection{Passage du do majeur au ré majeur} Partons de l'accord de do majeur agencé comme ci-dessous et voyons à partir d'une basse en ré comment passer en ré majeur. Cette succession d'accords se trouvera très fréquemment dans la tonalité de sol majeur par exemple où il correspond à un enchainement des deux degrés forts IV et V. Cet exemple a pour vocation de présenter les raisonnements associés à la réalisation musicale dans l’harmonie tonale classique.  \begin{center}     \begin{lilypond}[staffsize=18]         \new Staff {             { c'1 d'1 \bar "||" }         }     \end{lilypond} \end{center}  \end{document}


How do you change individual end caps in illustrator

Hi I am looking to change individual end caps in Illustrator and don't seem to be able to find out how to do it or  is it not possible


for $f(x,y)=(x^2-y^2,2xy)$ Sketch f(A) for $x>0$

I want to solve part b) of the problem below.  Another user has provided the picture below the problem which describes the map transformation.  I am still uncertain about how to produce this image.  I understand the picture depicting the domain, since $A$ is restricted by $x>0$, but how do we then get the image $f(A)$ to wrap around the way it does.  Since the image consists of those points $(x^2-y^2,2xy)$, and in complex form, $(x^2-y^2+i2xy)$, why do we get that $y\neq 0$ for $x\leq 0$ in the image?  it's only $x$ that's restricted in the image, not the real part $(x^2-y^2)$, right?  Thanks!


in which segment, zero initialised static variables will be stored?

When I declare a static variable like  static int x = 0;   in which section of data segment, it is stored? I know all uninitialized data variables are first initialized to '0' by kernel and stored in BSS. But if I initialize the global or static variables to '0' myself where these variables will be stored (in BSS or initialized Data segment)?


Which version of Ubuntu on Celeron with 1GB RAM is suitable?

My computer has the configuration as follows:    Intel Celeron processor 1GB RAM NVIDIA graphics support.   which version of Ubuntu will be suitable to develop drivers, kernel modules related works on my system?


How to split() strings based on a delimiter?

I would like to convert a String into an Array. My string looks like this:      First-Second-Third-Fourth-Fifth-Sixth   and my Array should look like this:     ["First", "Second", "Third", "Fourth", "Fifth", "Sixth"]   Is there any way to do that?


How to recover deleted files which are on windows virtual machine on VirtualBox?

I have a Windows 10 virtual machine in VirtualBox on Ubuntu host.  I have accidentally deleted some files on virtual machine, and I need to recover them.   I have used ntfsundelete before but I think I can't use that now because my Windows partition is in .vdi file, not on a device.  So is there a way I recover those files?


I am entering the details (Username and password) in the login page and then I am displaying all the details of all the users registered in the application in a ListView.  I am populating the ListView with an ImageView , username and password.  When I am redirecting the page from the Login page to the HomePage (in which I am having the ListView) I am getting this error of null exception.  Homepage.java  public class HomePage extends AppCompatActivity {       @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);          ListView listView=(ListView)findViewById(R.id.listUserDetails);          DBhelperClass obj1=new DBhelperClass(this);         Cursor f=obj1.display();          AdapterForHomePage obj=new AdapterForHomePage(this,f,0);         listView.setAdapter(obj);      } }   AdapterForHomePage.java (this is a custom CursorAdapter for populating the ListView).  public class AdapterForHomePage extends CursorAdapter {       LayoutInflater inflater;      public AdapterForHomePage(Context context, Cursor c, int i) {         super(context, c);         inflater=LayoutInflater.from(context);     }      @Override     public View newView(Context context, Cursor cursor, ViewGroup parent) {          View v= inflater.inflate(R.layout.homepagelist,parent,false);         return  v;      }          @Override         public void bindView(View view, Context context, Cursor cursor) {          TextView name=(TextView)view.findViewById(R.id.displayName);         TextView emailId=(TextView)view.findViewById(R.id.displayEmail);            // ImageView phoneCall=(ImageView)view.findViewById(R.id.displayCallImage);             TextView phoneNumber=(TextView)view.findViewById(R.id.displayPhone);                String n=cursor.getString(cursor.getColumnIndex("NAME"));             String e=cursor.getString(cursor.getColumnIndex("EMAILID"));             String p=cursor.getString(cursor.getColumnIndex("PHONENUMBER"));              name.setText(n);             emailId.setText(e);             phoneNumber.setText(p);          } }   My DBhelper  This is the display function which is called in the HomePage.java class  public Cursor display()     {         SQLiteDatabase db=this.getReadableDatabase();         Cursor cs=db.rawQuery("SELECT * FROM USERINFO",null);         return cs;       }   The error which I am getting is :  Java.lang.RuntimeException: Unable to start activity     ComponentInfo{com.example.hsports.bandpop/com.example.hsports.bandpop.HomePage} java.lang.NullPointerException: Attempt to invoke virtual method 'void     android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object    reference   I am getting the error in the CustomAdapter object. How can I resolve this problem?


What should we do with locked questions that have answers providing inaccurate/wrong information?

When we go to Stack Overflow, it's to find an answer about something we haven't mastered. When we choose the accepted answer, we expect to get something appropriate. If for any reason we get something bad, we can raise better answers and add comment to explain what's wrong with the accepted one and what's bad with the one we thing it is better. All that process serves next users and it is what makes Stack Overflow so excellent and so distinct from all other websites.  But when there are questions like , where the accepted answer has very bad behavior (like does not check for second instance of a specific type) and we lose hours to debugging, Stack Overflow loses all its usefulness and credibility. Users who found bug in accepted answer can't help next visitors when the question is locked.   Also.. although it is written at the beginning ("LOCKED"), you should be aware that people never read things. On a long email, you are lucky if they read the 2 first lines. Also the "locked" text does not explain the proper exact reason. I think you should do something more descriptive and visually more evident. Like: answer is wrong and put the page background in red. But preferably, do nothing... let users do there job and the better answer will automatically be voted higher than the accepted one.  What do you think about it ?  Note: I think that sometimes you lock a question because an answer could be down voted so much that it could destroy people's reputation although they did answer with best intention. I wonder if question should either be destroyed permanently or if the answer should be locked (versus locking full question) to ensure people will not lose their reputation for a little mistake. But locking a full question removes all the possibilities for the so lovely automatic regulation system (reputation/points) that make Stack Overflow so useful and intelligent.


conditional probability of joints in bayesian net

I have been staring at a bayesian net for an hour and can't understand why this is correct to write:  $$P(W|B,E)\cdot P(E)\cdot P(R|E)= P(W,R,E|B)$$  Note that the joint probability of $P(A,B,E,W,R)$ can be decomposed as follows according to the bayesian net structure:  $$P(A,B,E,W,R) = P(B)\cdot P(E)\cdot P(A|B,E)\cdot P(R|E)\cdot P(A|B,E)\cdot P(W|A)$$


Protocol-relative and relative URLs should be considered "Linked"

Currently, neither protocol-relative URLs, nor relative URLs, are recognized by the system as pointing to questions to be added to the "Linked" list for the current question. Given the pending switch to using HTTPS on Stack Overflow, and later on the entire Stack Exchange network, we should, at least, recognize protocol-relative links to questions as "Linked".  Investigation  I entered the following links into a comment to point to a potential duplicate1:  [Is there a JavaScript/jQuery DOM change listener?](//stackoverflow.com/q/2844565) [Is there a JavaScript/jQuery DOM change listener?](//stackoverflow.com/questions/2844565) [Is there a JavaScript/jQuery DOM change listener?](/q/2844565) [Is there a JavaScript/jQuery DOM change listener?](/questions/2844565)   All of the above resulted in valid links to the question. None of these were picked up by the system to be considered as "Linked". By "Linked", I mean that the sidebar shows a "Linked" heading. What I expected to see was:    In order to get the question to show up as "Linked", I had to use a fully qualified URL:  [Is there a JavaScript/jQuery DOM change listener?](http://stackoverflow.com/q/2844565)   The code  We know from  that the code responsible for identifying "Linked" questions is:  public static Regex GetQuestionUrlRegex() {     return new Regex(@"https?://" + Regex.Escape(Current.Site.BaseHostAddress) + @"(?:/q(uestions)?/(?<qid>\d+)|/a/(?<aid>\d+))", RegexOptions.IgnoreCase); }   It seams that the Regex could be changed to something like (untested):  public static Regex GetQuestionUrlRegex() {     return new Regex(@"(?:https?:)?(?://" + Regex.Escape(Current.Site.BaseHostAddress) + @")?(?:/q(uestions)?/(?<qid>\d+)|/a/(?<aid>\d+))", RegexOptions.IgnoreCase); }   This change would allow the recognition of fully qualified links, protocol-relative links, and relative links.  A potential issue is that I don't know what text is being checked by this generated Regex. If this regular expression is being used to check the entirety of the raw HTML, then allowing it to pick up such shortened URLs may not be appropriate. If it is only testing active links, then it is reasonable to recognize the shorter, valid, URLs.    Notes:   A  regarding only relative links was declined at that time.  I'm unsure if this post should be considered a bug report or a feature request. I consider it a bug. However, given the previously declined bug report, the current functionality could reasonably be considered a misfeature. In such case, this would then be a feature request.   1. I'm currently out of close votes, so was unable to vote to close the question.


Each time I start up, I get a blue popup-like blue window with an exclamation mark giving me what looks like an error message. It does not stay long enough for me to write it down.  It says something like:  Avahi does not support ".local".. something about network?   But a lot more text... I deduced the name "avahi" from trying tab-completion in a terminal. ;) It has something to do with some network or other. I have cable internet, and also a wireless network adapter that is switched off.  Is this something to be concerned about? I am running an 11.04 Ubuntu inside a WinXP, on a USB-drive.


What is the procedure followed by game programmers for saving and resuming game state? like files/mappings. I want to save it for tower defense game and I am using unity3D game engine.


Our "hardware" dept has started some ASR replication on one of the servers where we run SQL Server. It seems that the method they use for this uses VSS, and I can see a lot of messages in the SQL Log about databases being backed up, and also the I/O frozen/resumed. It seems to do this about every hour.  Will these backups taken by VSS break the log chain, or are they copy backups? Is there any way to see if they are copy backups? Is it possible to instruct the VSS to use copy backups?  Any feedback appreciated.


I didn't find any answer to this question. In this post it is said that labels are by default on top of everything else: . But it was for 2.2, and years went by since then so maybe now there is the possibility...  So I would like labels of a layer to appear under symbols of another layer. For now I get a result like you can see below.     The blue squares with blue content is a personnalized symbol (linked to a database), and this is the main information to be displayed. The greyish number is a cadastre reference, which need to appear, but not so prominently. I also have sometimes some other labels on the same space, which I also would like to appear under the blue box. Does anyone know a way to do so directly in QGIS ?


What is the right tool to process big .xel files (SQL Server Extended Events logs)?

My aim is to audit all queries on an instance, who's running them and from where, how many reads, in order to consolidate/migrate on another instance.   Figured out the best way is via Extended Events to .xel files, over 2 weeks, copy those and analyse on my well-specd desktop. Set up the capture with the minimal number of details (fields), so really can't make it smaller than this - aprox 12GB in 12 files. Used "Merge Extended Event Files" in SSMS to load the .xel files and process as detailed in   Is this really the best way to do it ? Is there a better tool to load the files ? It's really slow with SSMS 17.7 - example: with only 4 filters so far (before getting into grouping and aggregates) it took over 12h to get to crunch through 50% of the logs.


Suppose $f(x)$ is continuous on $[a, b]$ with $f(x)\geq 0$ and such that $f(x) > 0$ for some $x\in\mathbb [a,b]$. Show that $\int_a^b f(x)\,dx>0$.


Where is the most recent version of the Code of Conduct?

Is  (dated 10 October 2019) the most current available Official StackExchange Code of Conduct in its entirety? Does it include the recent gender pronoun and other changes, or does it predate that?   If I behave in accordance with the 10/10/2019 Code of Conduct, will I be in compliance with SE rules?


Is there any website for announcements of journal's special issues?

I was wondering if there is a site or something where I can find announcements for all (most of) the special issues of journals (upcoming and past) . For example of Springer, IEEE, Elsevier, ...   If I search for this now, I find scattered call for papers. Also, I can't seem to find this on wikicfp.


When to ask multiple questions in a single post ? (Revisited)

This question has been asked several times in similar (yet often slightly different) ways.  The general consensus seems to be that it's best to ask multiple questions individually in multiple Question posts so that each can be addressed separately. This is as it should be...in general (and in theory!). See related posts for some context and discussion:        In practice, however, it can be more useful to ask a few similar questions if they work together to express a single fundamental concern.   I propose that there are some situations when it is best to ask several questions together, rather than in multiple posts.  For example, sometimes the question-asker finds it difficult to ask something in one question and instead asks it in two or three similar questions to "beat around the bush". This often helps the poster express their fundamental concern more clearly or thoroughly and helps the community understand what the poster is thinking, and why.   Here are a few examples of multiple questions used effectively in a single post:        In these examples, answering one of the questions almost requires answering one of the accompanying questions as well. For this reason, it's better for all if the questioner and answerer each ask and answer these related questions together. Importantly, it also makes the question a much better resource for somebody who stumbles on that that question later, or has a similar question. As pointed out in , asking a cluster of questions can help distinguish one question from a near-duplicate and avoid an incorrect flagging as a duplicate.  In other cases (such as ), it's probably best to split the questions into multiple posts, but the end result can be a highly-useful repository of knowledge that is a "one-stop-shop".   I'm not satisfied with some SX users demanding separate posts for similar questions if the questions are essentially expressing the same concern. I'm also not satisfied with the prevalence of posts with multiple, disparate questions.   My question is this:    When is it okay to post multiple questions?  How can we distinguish between multiple questions that ought to be split vs. multiple questions that work together to express a single fundamental concern?  What guidelines or standards can we give and enforce for the community?    This is different than the related posts I've seen because I'm looking for guidelines. Whereas  was asking about how the user should frame his questions in the future, I'm asking what the SX guidelines should be.


How to save a file to Dropbox using an URL to that file?

Given an URL to any file online and Dropbox, can I save the file at the URL in Dropbox without downloading the file?


Let's say I get paid by my boss. There are 2 envelopes, A and B. I know for a fact that one envelope contains twice more money than the other one.  1) If I pick an envelope A, and the boss asks me if I want to change to envelope B. Is it better to change?  -> Since I do not know which one has more money, the expected value for both envelope is $\frac{x+2x}{2}=1.5x$ each. So it does not matter if I change or not.  2) If I pick an envelope A and see that it has \$100 in it, and the boss asks me if I want to change to envelope B. Is it better to change?  -> Envelope B will have either \$50 or \$200. The expected value of envelope B is now $\frac{50+200}{2}=\$125$. So it is better to change.  What makes these two situations different? While I think that some assumptions or logic of the problem might be flawed, I just cannot figure out why these two situations lead me to a different result. Thank you in advance :)


Onboard wifi Adapter not working on Lenovo300 i5 skylake

I recently installed Ubuntu 14.04 on a new, clean, Lenovo i5 Skylake Laptop.   The built in wifi adapter doesn't seem to be working.  I used an Edimax stick, which was identified instantly, to access the web. Tried updating, upgrading, nada.   Any ideas?     lev@PC:~$ lspci -nn | grep -i net       Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit   Ethernet Controller [10ec:8168] (rev 15) 02:00.0 Network controller   [0280]: Qualcomm Atheros Device [168c:0042] (rev 30)01:00.0 Ethernet controller [0200]:


Deriving a QM expectation value for a square of momentum $\langle p^2 \rangle$

I already derived a QM expectation value for ordinary momentum which is: $$ \langle p \rangle=  \int\limits_{-\infty}^{\infty} \overline{\Psi}  \left(- i\hbar\frac{d}{dx}\right) \Psi \, d x $$ And I can read clearly that operator for momentum equals $\widehat{p}=- i\hbar\frac{d}{dx}$. Is there an easy way to derive an expectation value for $\langle p^2 \rangle$ and its QM operator $\widehat{p^2}$?


Using rand() to generate a number without digit duplicates

How can we customize the code with rand() function in order to generate a n-digit number, where n<8, without digit duplicates in it? Suppose I want to generate a 4 digit number from 1000 to 9999, this number should not contain digit duplicates: for instance 1023 4798, etc. Btw, we may not generalize n. Edits I skimmed through the answers in the question I was adressed to. I honestly think that the problem of generating a sequence of digits without a single duplicate in it is in my opinion easier that generating a number with no duplicate digits. Still looking for an answer. My code is a real mess and truthfully does not contain a single try to tackle the stated problem. I have a paper draft but still it's based on assigning an integer variable to each digit in a number and a small loop which checks if some of them are equal and increment/decrements one of them. This sounds like a bad idea even to me, but this is all I can come to.


(|) vertical bar & () greater then symbol?

(|) vertical bar & (<) smaller then is not registering on Ubuntu 18.04.03 server, instead it is showing (>) greater then symbol?    I have tried copy/paste also from "Notepad" or typing keys using virtual keyboard. But it is only registering (>) greater then symbol. Any solution please?


Can I disable Safari's pinch-to-zoom tab switcher?

When looking at a PDF document I often want to zoom-out to scroll quickly to its contents and get an overview.  However, when I zoom-out past a certain threshold (it seems to differ per PDF) Safari thinks I want to see the tab overview:    I have never found a use for this function, so it only causes annoyance.  Can I turn this tab overview off somehow? A solution that uncouples the pinch-to-zoom gesture from the functionality would also work.  I'm on Mountain Lion 10.8.5 with Safari 6.1.3.


I am facing this issue on Ubuntu 12.04, which is for my Wimax modem with beceem chipset.    If I replug the device Ubuntu goes in hang state. Its happens very often. If I plug the USB and restart it works most of the time. But it is very annoying to restart every time it hangs. The modem works smoothly in Windows 7. And it used to work OK in  Ubuntu 11.10.   Jun 13 19:25:54 iftekhar-HP-520-Notebook-PC dbus[1102]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper) Jun 13 19:25:54 iftekhar-HP-520-Notebook-PC dbus[1102]: [system] Successfully activated service 'org.freedesktop.UDisks' Jun 13 19:26:00 iftekhar-HP-520-Notebook-PC goa[2168]: goa-daemon version 3.4.0 starting [main.c:112, main()] Jun 13 19:26:47 iftekhar-HP-520-Notebook-PC udevd[432]: timeout 'cdrom_id --lock-media /dev/sr1' Jun 13 19:26:48 iftekhar-HP-520-Notebook-PC udevd[432]: timeout: killing 'cdrom_id --lock-media /dev/sr1' [1072] Jun 13 19:26:49 iftekhar-HP-520-Notebook-PC kernel: [   85.820162] sr 2:0:0:0: Device offlined - not ready after error recovery Jun 13 19:26:49 iftekhar-HP-520-Notebook-PC udevd[432]: timeout: killing 'cdrom_id --lock-media /dev/sr1' [1072] Jun 13 19:27:20  udevd[432]: last message repeated 31 times Jun 13 19:27:25  udevd[432]: last message repeated 4 times    What can I do to avoid this hangs and restarts?


Changing the values of a function $f:[a,b] \to \mathbb R$ of bounded variation for countably infinitely many points not a dense subset of $[a,b]$

Let $f:[a,b] \to \mathbb R$ be a function of bounded variation. It is known that if we change its values at finitely many points of $[a,b]$, then the changed function still remains of bounded variation on $[a,b]$. My question is, suppose we change its values at countably infinitely many points of $[a,b]$ such that the set of this points is not dense in $[a,b]$; then is it true that this changed function is of bounded variation?


Is there anyway to avoid calling NotifyChanged in the setter of each method in Xamarin?

The question says it all. When using Xamarin this pattern comes up :   public string Property         {             get             {                 return this.propertyField;             }              set             {                 if (value != this.propertyField)                 {                     this.propertyField = value;                     NotifyPropertyChanged();                 }             }         }   And it seems like I I have to do this for each property I have. Any way to avoid repetion?


Why is my motherboard's CPU temperature inconsistent with the individual core temperatures?

This image demonstrates what I'm talking about:    The motherboard's CPU temperature is in green. The individual cores' temperatures are in red.  I've tested the temperatures in three different scenarios:   Idle: All cores <5% utilization. Core temperatures are around 70C, while CPU is around 55-60C. Frequency stays around 2600 Mhz. Gaming: Three of six cores around 50% utilization, remaining three <10%. Core temperatures gradually increase to 90C. CPU temperature gradually decreases to 40C. Frequency is gradually reduced to 1200 Mhz. Pictured above. Stressed: Using Intel's diagnostic tool to stress the CPU; all cores near 100% utilization. All cores are over 90C, while CPU is at 80C (I believe the tool limits itself if it goes above 80C). I can't monitor frequency during this.   Why are the two readings so different? Also, why does the motherboard's reading decrease while gaming, even though the Core readings are almost as high as they are during the stress test?


This might not sound like a good idea to many of you. Also I do not want to criticise the rest of on-topic sites and the community.  Off late, it has become increasingly difficult to find a Stack Exchange site which has an interest in answering your question. It is not easy to choose from a variety of Stack Exchange sites and decide where exactly to ask the question. Here is my idea:   Have a site called techmology.stackexchange.com. (Ali G reference. ) The FAQ should say ask any question related to programming. Really anything. No offence will be taken for the stupidest of questions. it can be open ended etc. It is like a regular tech forum with all stackoverflow features. In case a question qualifies as a non-off-topic question on one of the other sites, such as stackoverflow, serverfault, etc, it will get migrated there. The site is not meant for future references to other people. It is meant for people who need help now. And for people who care less about what the site rules are and more about helping other people. Downvoting and user banning if only the question is not related to technology in anyway. Any question marked as off topic on any of the other techmology sites get migrated here.   This would make it much easier for people like me who need help.  What happens currently is that the moment I ask a question, I get downvoted. The question has to conform to a very strict set of rules.   IMHO, Internet is meant to be for free people according to me and conformism surely leads to decline. Let us start a stackoverflow site which is free again.


Create TAR files with limited size in Unix script

printf 'n Log-%02d.tar\n' {2..}|tar cf /var/opt/sw/e4/data/dev/e4_dev/DEVL3/EW/EWD1/DATA/AED/OUTPUT/Log-01.tar -ML1900m /var/opt/sw/e4/data/dev/e4_dev/DEVL3/EW/EWD1/DATA/AED/Temp  I tried to use the above code to tar 1000 files whose file size (varies)  greater than 2 GB, which needs to be archived as 1.9 GB separate TAR files. For example, if there are 1500 files of size 7 GB, it needs to be archived as (7 GB/1.9 GB) 4 tar files:  log-01.tar, ..., log-04.tar but I got the error: printf: {2..} expected numeric value tar: -ML1900m: No such file or directory  What should I change here? Is there a way to do this without using create volume method in GNU tar?


The measurement of the flux of muons at the Earth's surface shows that many more muons are detected than would be expected, based on their mean half-lifetime of 2,2 microseconds. This is a good proof for the time dilatation as predicted by the special relativity theory.  QUESTION: does there exist a similar proof for the Lorentz contraction?


Find the limit of $\log\Big(\frac{(n^2+n)!}{n^2!n^{2n}}\Big)$

I have to prove that      $$\Big[\log\Big(1+\frac 1{n^2}\Big)+ \log\Big(1+\frac 2{n^2}\Big)+...+ \log\Big(1+\frac n{n^2}\Big)\Big] \to \frac 12$$   I know that $$\log\Big(1+\frac 1{n^2}\Big)+ \log\Big(1+\frac 2{n^2}\Big)+...+ \log\Big(1+\frac n{n^2}\Big)= \\ =\log\Big(\frac {n^2+1}{n^2}\Big)+ \log\Big(\frac {n^2+2}{n^2}\Big)+...+ \log\Big(\frac {n^2+n}{n^2}\Big)=\\ =\log\Big(n^2+1\Big)+ \log\Big(n^2+2\Big)+...+ \log\Big(n^2+n\Big)-2n\log n$$  Doing some manipulation we get:           $$\lim_{n \to +\infty}\log\Big(\frac{(n^2+n)!}{n^2!n^{2n}}\Big)=\frac 12$$      How can I prove this limit?


Let's say I'm narrating a past incident in which a sentence goes like --  There was a rumor that Citibank is in debt.  Is the above sentence correct or do I need to replace 'is' with 'was' ?


Let's say I have the following 7 strings  Seven Swans a Swimming Six Geese a Laying Five Golden Rings Four Calling Birds Three French Hens Two Turtle Doves and a Partridge in a Pear Tree   I want to write a regex to capture only the last 5 strings by using negation, negating "Geese" and "Swans". Is there a straightforward way to do it? My best solution is .  The equivalent solution I would like to get is:  .*(Golden|Birds|Hens|Doves|Partridge in a Pear Tree).*


I have a formula in excel and want it to return blank if referenced cell is blank and not a "0"

Some of the referenced cells are blank and I would like that to be carried over instead of returning "0" in the cell This is my formula - =VLOOKUP(B2, SKUs!A$2:$E$7, 3, FALSE) Thanks for any assistance!


E or natural log problem, solve the equation

If someone could explain to me the first step or two so I could solve this that would be great. All the e's are confusing me  Solve the equation. (Round your answer to four decimal places.)  $$e^x − 6e^−{^x} − 1 = 0$$


How can I hide dock in application menu from GNOME Shell?

After I installed plank as my dock panel, I removed the default Ubuntu dock by running    sudo apt-get remove gnome-shell-extension-ubuntu-dock   Then Ubuntu dock is not on my desktop anymore, but when I open the application menu or Activities overview it is there, how can I hide it?  Removed dock shows on the left:


Proving uniform convergence of $\sqrt{x^2+1/n}$

Given $h_n(x) = \sqrt{x^2+\frac{1}{n}}$, I'm asked to first compute the pointwise limit of $h_n$ and then prove that it converges uniformly on $\mathbb{R}$. For pointwise convergence, I think that I'm supposed to fix $x \in \mathbb{R}$ and consider the $lim_{n\rightarrow \infty} \ h_n(x) = lim_{n\rightarrow \infty} \sqrt{x^2+\frac{1}{n}} = lim_{n\rightarrow \infty} \sqrt{x^2} = |x|$, so I say that $h_n \rightarrow h$ pointwise where $h:\mathbb{R} \rightarrow\mathbb{R}$, $h(x) = |x|$.   I'm having trouble showing that $h_n\rightarrow h$ uniformly. Given the definition of uniform convergence $\forall \epsilon > 0, \exists N(\epsilon)\in\mathbb{N}; |h_n(x)-h(x)|<\epsilon$ it seems that I would need to produce an $N(\epsilon)$ such that this inequality holds. However, I'm not having any luck with manipulating this inequality in order to find an appropriate $N(\epsilon)$. Is there another way to do it or a trick I'm not seeing? Thanks for the help!


How to curl multiple URL's from a text file containing URL's

I have a script on a linux server which connects to a URL refines the data and returns a text file with multiple links, please see below:  Script:  #!/bin/bash /usr/bin/curl -k -s URL | cut --characters=44-51 | sort --unique | sed -n -E 's|^AP(.+)$|http://ap\1.ztb.icb.commerzbank.com:1025/|p' >> testOutput.txt    Output:  http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/   I want to now be able to curl each of these URL's from the text file generated by the script and return a true or false depending on whether it was able to connect to them or not.


Make sure URL originates from same server

Maybe I don't know how to phrase my searches properly, but this is what I need to do: Make sure that when a user clicks on my ad, it only comes from one particular site, otherwise returns false, or error.  FILTER_VALIDATE_URL   This only makes sure the URL is valid; I want to make sure it only originates from www.example.com or example.com, etc., but from nowhere else.


Is it possible to own more than 100% of outstanding shares?

Suppose there are 100,000 shares outstanding. I own 90,000 shares. I allow my shares to be lent to short sellers. Short sellers borrow 30,000 shares from me and they sell those shares on the market. I buy the 30,000 shares from them on the market. Now, I have 120,000 shares, which is greater than the number of shares outstanding. Is this situation possible? Did my voting power and ownership stake increase from 90.0% (90,000 / 100,000 = 0.900) to 92.3% (120,000 / 130,000 = 0.923)? I have read , which deals with institutional ownership. The answer there explains the cause (somewhat similar to my hypothetical scenario above), but not the effect of >100% ownership. It claims that >100% institutional ownership is caused by "discrepancies in institutional reporting", without elaborating further on the effect of such "discrepancies".


Using Lagrangian mechanics instead of Newtonian mechanics

When studying advanced classical mechanics, we all study about Lagrangians and the Euler-Lagrange equations and their importance. Of course, the Lagrangian is calculated based on the potential and kinetic energy. But usually, this is calculated using the position function and some constants. For example, potential energy can be defined as:  $$U(x) = - \int F(x)dx$$  and  $$F = ma \, .$$  This means that potential energy can be defined with mass and acceleration, which is the second derivative of the position function. Of course kinetic energy is defined as   $$(1/2) mv^2 \, .$$  Again, kinetic energy is defined with mass and velocity, the derivative of the position function. As you can see, it is kind of repetition to use the position function to derive the Lagrangian to figure out the dynamics of a system because that is what the position function tells you. So, what is the point of the Lagrangian? I heard from @Sofia that it may be used when only the potential and kinetic energy functions are known. But in what practical experiments it that done? It id much easier to find the position function. So what uses of the Lagrangian are there that can't be done with the position function?


Combinations choosing equal groups results in division by 2

Question:   10 people, split into team of 6, team of 4=(10C4)=(10C6).   And into teams of 5,5= (10C5)/2  I don't understand why one divides by 2 in the second case. Say I choose am team of 6 by (10C6), whatever left is a team of 4. Why is the same not true for choosing a team 5?


Mathematically, how are the critical t values calculated?

I am willing to write a program for calculating the critical t values,preferably in R. I am aware of the functions used for the same. But, I am interested in getting aware of the mathematical procedure involved in its calculation.  Using that procedure, I want to make a program of my own, without using any of the in built functions.


MBP display, keyboard backlight and camera issue

I have a mid 2009 MBP which was heating up way to fast because of the fan; then I bought a new one and changed it. I also applied a new thermal grease. Plugged all the cables, tightened all the screws, reset SMC, reset NVRAM and turned on.  The heat is gone and its running perfectly now, but:   the display started showing some "blurry ghosts" at the bottom of the screen which won't show if I take a screenshot, so I took a photo that you can see below.      the keyboard backlight isn't turning on. I tried to unplug and plug the cable over and over again, but nothing happened. the camera isn't working at all. All I see is a black screen.    Is there anything I can do to fix any of these issues?


how to extract coordinates (latitudes and longitudes) from a raster? using arcGIS

I am a student working on my final year study. It's my first time using ArcGIS.  I need to have the coordinates of the polygons that I choose to work on.  After converting the zones that I created into a raster, I want to extract the coordinates.


How do I join two dictionaries based on a common key?

I have this dictionary:  {'id': 'centos7', 'remoteVersion': '7.6'}   and this one:  {'id': 'centos7', 'localVersion': '7.5'}   I'd like to get:  {'id': 'centos7', 'remoteVersion': '7.6', 'localVersion': '7.5'}   Is there a pythonic way to do it without having to iterate over all the items?


The code below just keeps giving the else error message I don't know what's wrong..     Boolean loop2 = true; userInput = scan.next();  while (loop2) {     userInput = scan.next();     if(userInput.toLowerCase() == "") {         out.println(             "Please pick a option! it's in the 'Commands' <= type this in!"         );         loop2 = true;     } else if(userInput.toLowerCase() == "fight") {          Fights(); loop2 =   false;     } else if(userInput.toLowerCase() == "train") {          Training(); loop2 = false;      } else if(userInput.toLowerCase() == "bosses") {          Bossing(); loop2 =  false;      } else if(userInput.toLowerCase() == "shops") {          ShopsAll(); loop2 = false;      } else if(userInput.toLowerCase() == "commands") {          Menu(); loop2 = false;      } else {         out.println("ERROR MESSAGE!!.");     } }


Do Russian embassies tend to put visas on completely random passport pages?

Re-posting it again because it was marked as a duplicate even though it wasn't.  Just got a Russian Transit visa. The visa pages in my passport are numbered 7-33, with only page 7 having stamps in it.  I sent a yellow post-it note to the visa application centre asking that the visa be put on page 8 ("please put the visa on page 8"). Still, the consulate put it on page 22.  I know most countries put visas on the first empty page, but what about Russian embassies specifically? The reason why it annoys me is because I truly want my passport to be neat and orderly, to make it easier to find stuff. Although it's the first time so far, I'd still like to know for future applications.  Could it even have been that my post-it note had the opposite effect? Would be good to know so I don't make that mistake again.


Why is lock(this) not considered a best practice?

I am reading over the MSDN's tutorial on lock here .  It says lock(this) is not a best practice if the instance is of public type. However I don't see why the instance being a public type would be a problem assuming lock owns the object atomically. Can anyone please shed a light? If that is not the case, I don't see though how a private object would help protect the critical section either?


Show that $x^{\frac{1}{2}} +x^{\frac{1}{3}}=1$ have atleast one real solution.

I tried to show that  $F(x) = x^{\frac{1}{2}} +x^{\frac{1}{3}}-1$ this function is monotonic but that doesn't seem to work. Also I am not allowed to use graphs. Is there some algebraic approach to solve this?


Is there a faster way to open a process as Administrator (With UAC enabled)?

Currently (In Windows 10) - if I want to open a CMD prompt, I'll hit the Windows key, type CMD and hit Enter. If I want it open as an administrator, I have to right click the item and click Run As administrator. Is there a way I can do this without using the mouse?


Can I first rise my bread dough in the fridge?

So yesterday, after kneading the dough, I oiled a bowl and put the bread dough in, sealed the top with plastic wrap and put it right into the fridge. Now reading on the web, I found out that it might not be good to let the dough rise in the fridge as the cold has affect on the byproducts of the yeast.  The dough is only half rised after 24 hours in the fridge.. what should I do now? Try to get it rise more at room temperature or punch it down and let it rise again?