A random popup appears in Windows 7 titled as Information with a progress bar and a clock. The window sometimes says Please wait a moment..., and the progress bar moves very slowly and disappears.     I don't know the source of this popup. I tried to search regarding this popup on the Internet, and some people had this problem. It also has a question on Yahoo! Answers, but everyone told to scan for malware and viruses.   Is there any way to know the source process for this window/popup?   The task manager shows nothing about this window The only tasks that are running are Google Chrome, etc. Right-click and left-click does not work on this window or its title bar.

I've been receiving this error every few days but have no idea what program is causing it.  The error window isn't resizable, so I'm not able to see the program's location.  Is there some other way I can find out what program is causing this? (*Finding the program location is my main objective, see below for the reasoning,)  It doesn't occur when I've just opened/closed a program (Googling, I noticed other people were getting runtime errors when they would open a program, that's not the case for me), it randomly appears while I'm in the middle of doing something (e.g. browsing on Chrome, editing a video, etc. or even with nothing actively open and just looking at a blank Desktop).  Nothing crashes when the error comes up either, all active windows and programs in the system tray stay active.  *:Given how unoften it happens it would be pretty difficult to take suggestions on how to fix the error itself (because I wouldn't be able to simply answer "did it work?" for maybe a week at a time).  For now I think I'll just focus on suggestions for finding the specific program that's causing the error, from there I should be able to search and find the solution myself.  Text version of error:  Microsoft Visual C++ Runtime Library --------------------------- Runtime Error!  Program: C:...  R6025  - pure virtual function call


I'm a little (very) confused about the usage of the the following queries  This:  var query = from p in ctx.Persons             where x.Flat.Building.Id == 1 && x.Archived == false             select p;   And this:   var query = ctx.Persons.Where(x => x.Flat.Building.Id == 1 && x.Archived == false);   If I make some changes to the result of both queries and try to query them again, the 1st shows the old results, but the 2nd doesn't?   tries to explain, but it is really confusing, at least for me.  EDIT Maybe my question doesn't be so clear as I expect but I'm going to try to focus.  My exact problem is if I use Query Sintax and made some changes over the data, and query again it doesn't load the fresh data. But in  The autor talks about if use Fluent Sintax this doesn´t happen.   Now here is my nigthmare why this happens with Query Sintax and doesn't with Fluent sintax?

LINQ is one of the greatest improvements to .NET since generics and it saves me tons of time, and lines of code.  However, the fluent syntax seems to come much more natural to me than the query expression syntax.  var title = entries.Where(e => e.Approved)     .OrderBy(e => e.Rating).Select(e => e.Title)     .FirstOrDefault();  var query = (from e in entries              where e.Approved              orderby e.Rating              select e.Title).FirstOrDefault();   Is there any difference between the two or is there any particular benefit of one over other?


Let’s assume I measure time t in my rest frame - thus in a moving frame I have t’ corrected according to the Lorentz factor.  I have a moving primed frame such that t’= 0.5t for example.  I measure 1 second in my rest frame, which is observed as 0.5 second in my primed frame.  If I now consider my primed frame to be the rest frame, and my previous rest frame to now be my “primed” frame, and measure 0.5 seconds in my now rest frame, I get 0.25 seconds in my now moving frame. How does that work out? Shouldn’t I get my whole 1 second back?  It is safe to assume I could consider any possible frame of reference, so what detail is it that I’m missing?  Edit*: I have 2 pairs of frames:  Rest1: Let time be t Motion1: moving observer relative to Rest1 such that t’=.5t  Rest2: chosen such that Rest2 is at same speed as Motion1. Let time be T Motion2: chosen such that Motion2 is at same speed as Rest1. T’ =  0.5T  If t = 1, then t’=0.5 Since Rest2 and Motion 1 are at the same speed, then T = t’ = 0.5 Therefore T’ = 0.5*0.5 = 0.25  Motion2 and Rest1 are at the same speed, thus T’ = t, 1=0.25!?

Suppose we have two twins travelling away from each other, each twin moving at some speed $v$:    Twin $A$ observes twin $B$’s time to be dilated so his clock runs faster than twin $B$’s clock. But twin $B$ observes twin $A$’s time to be dilated so his clock runs faster than twin $A$’s clock. Each twin thinks their clock is running faster. How can this be? Isn’t this a paradox?


I would like to create an Ubuntu package from a single  I wrote.  Is there a simple instruction how to build an Ubuntu package, that can be uploaded to launchpad? (I already ).  I already  (with Packages.gz and a PPA hosted at github itself) but that package is missing the needed files that are required in this Ubuntu manual: :   .dsc .changes .diff.gz or .debian.tar.gz and optionally the .orig.tar.gz (if you used debuild -S -sa to build your package)    How do those files have to look like and how do I create them? (examples, commandline tools?)

I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package tutorials are assuming you have a source tarball you want to compile. Then I've found  short tutorial (german).  Afterwards, I created a small script to create a simple repository. Like this:  rm /export/my-repository/repository/* cd /home/tdeutsch/deb-pkg for i in $(ls | grep my); do dpkg -b ./$i /export/my-repository/repository/$i.deb; done cd /export/avanon-repository/repository gpg --armor --export "My Package Signing Key" > PublicKey apt-ftparchive packages ./ | gzip > Packages.gz apt-ftparchive packages ./ > Packages apt-ftparchive release ./ > /tmp/Release.tmp; mv /tmp/Release.tmp Release gpg --output Release.gpg -ba Release   I added the key to the apt keyring and included the source like this:  deb http://my.default.com/my-repository/ ./   It looks like the repo itself is working well (I ran into some problems, to fix them I needed to add the Packages twice and make the temp-file workaround for the Release file). I also put some downloaded .deb into the repo, it looks like they are also working without problems. But my self created packages didn't... Wenn i do sudo apt-get update, they are causing errors like this:  E: Problem parsing dependency Depends E: Error occurred while processing my-printerconf (NewVersion2) E: Problem with MergeList /var/lib/apt/lists/my.default.com_my-repository_._Packages E: The package lists or status file could not be parsed or opened.   Has anyone an idea what I did wrong?  UPDATE 2012-03-06: Just a a hint for another person who is searching for a easy way to create DEBs: Take a look at .


I just bumped into to unexpected things when reviewing the reopen queue.  Firstly, when clicked "Leave Closed", I got a popup asking "Nominate this question for reopening?". Thinking that perhaps I accidentally clicked Reopen rather than Leave Closed (pretty sure I didn't, though), I just closed it (did not click yes or no).  Secondly, closing the dialog (not clicking yes, not clicking no) moved onto the next item (which happened to be the "no items left" page). Going back, it appears I voted to "Leave Open".  The particular post I was reviewing was .  I would expect that closing the dialog would cancel whatever action was pending (reopen), rather than actually perform the action opposite of what it is suggesting (voting to leave closed). Additionally, I wouldn't expect the reopen confirmation to pop up on a "Leave Closed" vote.  (Yes, the result was what I intended, but the process was not at all correct.)

This is rather difficult to describe with fancy pictures with red circles but it's easily reproducible.  Whenever I click Leave Closed in the re-open queue on MSO the "nominate this question for re-opening" pop-up appears. I normally press escape out of shock and a leave closed vote is recorded.  This is the latest review it's happened to me on:   You can also test it on , I clicked reopen this time and a leave closed vote was recorded but I also got a red popup stating that an error had occurred.  This is also occurring when the Edit & Reopen button is clicked, the edit box opens for a second before being overridden by the popup.


I'm trying to understand how I would decide whether a policy actually had a meaningful impact by comparing the population itself, not samples.  An example that comes to mind is comparing the number of accidents on a specific road during $n$ months prior to enacting a law to reduce the speed on that road, to $n$ months after enacting this law.  I would think that I could use a paired t-test using biased standard deviation, since I'm looking at absolute values of the actual population, not samples, but I see a few problems with that: how would I calculate the Standard Error for the t-value if there is no error because I'm looking at the population itself? How would I calculate standard deviation, if there is no mean?  What I'm really trying to understand is: say in my pre-test I get an $x$ number of accidents and in the post-test I got a $y$ number of accidents where $0 < x < y$. How could I know if this change was statistically significant? If someone could just point me to the right direction I can study the subject. I just don't know where to look.

Imagine you have to do reporting on the numbers of candidates who yearly take a given test. It seems rather difficult to infer the observed % of success, for instance, on a wider population due to the specifity of the target population. So you may consider that these data represent the whole population.   Are results of tests indicating that the proportions of males and females are different really correct? Does a test comparing observed and theoretical proportions appear to be a correct one, since you consider a whole population (and not a sample)?


This is excerpted from ~/.bashrc on a RasPi.   if [ -z "${SSH_TTY}" ]; then   startx > /dev/null 2>&1  fi   I'm fairly sure the if statement means not for ssh tty sessions ie when establishing a remote console.  Obviously it starts x-windows and discards console output, but what does 2>&1 mean?  The ampersand probably means it forks, but what are the numbers? And what are some keywords for next time I need to read up on this?

I'm reading an example bash shell script: #!/bin/bash  # This script makes a backup of my home directory.  cd /home  # This creates the archive tar cf /var/tmp/home_franky.tar franky > /dev/null 2>&1  # First remove the old bzip2 file.  Redirect errors because this generates some if the archive # does not exist.  Then create a new compressed file. rm /var/tmp/home_franky.tar.bz2 2> /dev/null bzip2 /var/tmp/home_franky.tar  # Copy the file to another host - we have ssh keys for making this work without intervention. scp /var/tmp/home_franky.tar.bz2 bordeaux:/opt/backup/franky > /dev/null 2>&1  # Create a timestamp in a logfile. date >> /home/franky/log/home_backup.log echo backup succeeded >> /home/franky/log/home_backup.log  I'm trying to understand the use of /dev/null 2>&1 here. At first, I thought this script uses /dev/null in order to gracefully ignore errors, without causing the script to crash (kind of like try catch exception handling in programming languages). Because I don't see how using tar to compress a directory into a tar file could possibly cause any type of errors.


I am new to unix(just a week into it), i have problem there are two files  2|1019|0|12  2|1019|3|0  2|1021|0|2  2|1021|2|0  2|1022|4|5 2|1030|0|1  2|1030|5|0  2|1031|4|4   and   2|1019|0|12  2|1019|3|10  2|1021|0|22  2|1021|2|0  2|1022|4|15   one is an output file and another an input file   If the values in column 2 match, I want to sum the values in column 3 and 4 of both lines, else just the sum of the values in column 3 and 4 in the unique line for both input and output and compare the values of the total(3rd and 4th) and if diffrent raise a message with the value of 2nd column for which the sum is not matching  Total of   1019 15 1021 4 1022 9 1030 6 1031 8   in input  Total of   1019 25 1021 24 1022 19   in output  Expected output  Unequal total for 1019,1021,1022   Note: The values in input and output are pipe(|) seperated  Ran this script  awk -F '|' '{Arr[$2]=Arr[$2]+$3+$4}END{ for(i in Arr)print "amount for planId " i " is :"Arr[i]}'   on first file and got this output  amount for planId  is :0 amount for planId 1019 is :12 amount for planId 1021 is :4 amount for planId 1022 is :9 amount for planId 1030 is :6 amount for planId 1031 is :8   dont know why the first line comes   amount for planId  is :0

I have a large file in the following format:  2 1019 0 12  2 1019 3 0  2 1021 0 2  2 1021 2 0  2 1022 4 5 2 1030 0 1  2 1030 5 0  2 1031 4 4   If the values in column 2 match, I want to sum the values in column 3 and 4 of both lines, else just the sum of the values in the unique line.  So the output I am hoping for would look like this:  2 1019 15  2 1021 4  2 1022 9  2 1030 6  2 1031 8   I am able to sort files according to column 2 with awk or sort and sum the last columns with awk, but only for individual lines not for two lines where column 2 matches.


I have a question, I have installed Ubuntu 14.04 and on this machine is icinga software. when I opened the terminal and typed:   sudo vi /etc/icinga/objects/localhost.cfg   then the terminal opened the file, but I can't type in this file. When I type "d" then the terminal delete everything in the file.

I am open a file in vi:  vi index.php   Here the problem is: when I press the down arrow and it prints 'B'. Why it prints 'B'?


There is question that I don't know how to prove. we have set $A=\{1,2,3,\ldots,n\},\; O=\{B\mid B⊆A,\text{ odd }B\},\; E=\{B\mid B⊆A,\text{ even }B\}$ it ask to prove that subsets even equal to subsets odd by proving that $f:O\to E$ is an injective and surjective function

Let $A$ be a finite set. Prove or disprove: the number of subsets of $A$ whose size is even is equal to the number of subsets of $A$ whose size is odd.   Example: $A = {1,2}$. The subsets of $A$ are {},{1},{2}, and {1,2}.  Since there are two subsets of odd size ({1} and {2}) and two subsets of even size ({} and {1,2}) the claim holds for this particular example.


On Ubuntu 18.04, is there a way to have 4 workspaces in a 2x2 disposition not in 1x4?

I have just upgraded to Ubuntu 17.10 and found out there is no option to have 2 by 2 workspaces. I was able to configure 4 "static" workspaces using , but I would like to have them in 2 rows by 2. Any ideas?


I got the Ubuntu server , but it downloaded as an ISO file, which after opening, I had no idea what to do with. There were no .exe or .msi files in the disk. I did a Google search, but some results said that a language selection should automatically appear, and some said I had to burn the ISO file, but I don't have a disk slot on my PC (Running Windows 8). Does anybody know how this works?

I'd like to install Ubuntu server on my machine, is there a step-by-step instructions on how to accomplish that or a guide that will just go through the basic steps of installing Ubuntu Server from beginning to end.  Instructions originally for 13.04.


Is there a literal syntax to write a char or short? For example:  4  --> int 4L --> long 4LL --> long long 4C ? 4H ?  Or, do you need to cast it to do the literal notation, for example:  (char) 4 --> char (short) 4 --> short  Note: even if I write it as 'a', it still recognizes it as an int (at least when I inspect it in VS Code).

Very basic question: how do I write a short literal in C++?  I know the following:   2 is an int 2U is an unsigned int 2L is a long 2LL is a long long 2.0f is a float 2.0 is a double '\2' is a char.   But how would I write a short literal?  I tried 2S but that gives a compiler warning.


I am not sure why issues are being raised again when internet is not available. I have posted some issues regarding internet connectivity and some of them are already marked as .  Step to reproduce the issue:     Open any question   Make net connection off   Now do pull-to-refresh and get forced close :)    P.S. this question is posted by using Stack Exchange Android app :)

100% reproducible.   Reloading a feed or a search result without a connection gives a proper error message. Questions and answers just crash.  This happens both when you use the pull down to refresh feature, and when you rotate the app.


I know there is a "Day" counter at the top right in-game (as well as seasons), but I am wondering if this can go on indefinitely or is there an "end" to the game?  For example, when you hit day 100 (day 1,000? day 10,000?), does the game end?  Do you win?  Does it continue?  Any information would be helpful, thanks!

I would like to know if it's possible to win in Don't Starve? Or is it just the matter of how long until you die?


I am brand new to the world of cryptogrophy. I am trying to decrypt a many-time-pad. I understand the methodology of using the XOR to get the messages.  C1 XOR C2 = M1 XOR M2  Now my question lies in a specific case. I have about 11 cipher texts with a number down the same index. All of them either have a '2', '3', or '4'. I am completely lost on how to decrypt this key index. If the cipher texts are the same, then it means if I XOR them together I get a ASCII 0 value, I don't know how that helps me. Anything XOR 0, is that anything. So is the message itself contain a integer at that location? Is my key a 0? I doubt that 11 cipher texts would have a number at the exact same spot, seems odd.  How would I go on about getting the key at this specific spot?

My question might appear the same as the question , but actually I did read all the answers and none of them helped me with the details I need.  I am new to cryptography and my problem is with two time pad attacks on OTP. The problem I had in my course was that I have 10 ciphertexts encrypted with the same key $K$. I am then given another ciphertext that I should decrypt.  I know that XOR-ing two ciphers gives me the XOR of their original messages.  My question is what is the correct thing to do after that?  I tried to take 3 ciphertexts $C_1, C_2$ and $C_3$.  Then get $S_1 = C_1 \oplus C_2  \oplus $' ', also get $S_2 = C_1 \oplus C_3 \oplus$ ' '.  After that I compared all corresponding characters in $S_1$ and $S_2$,  and if $S_1[i] = S_2[i]$ then I calculate $S_1[i] \oplus C_2[i]$ to get $K[i]$.  I tried this on paper before coding and it worked, but I might be missing something.  Is this the right approach? Why does it work?


Atiyah's Introduction to Commutative Algebra, chapter 1 exercise 14: In a commutative ring $A$ with identity, let ∑ be the set of all ideals in which every element is a zero-divisor. Show that the set ∑ has maximal elements and that every maximal element of ∑ is a prime ideal. Hence the set of zero-divisors in A is a union of prime ideals.  The existence of maximal elements is guaranteed by Zorn's lemma. To prove that every maximal element of ∑ is prime: Given $\mathfrak m$ a maximal element of ∑ and $xy \in \mathfrak m$. There exists a nonzero $z$ such that $xyz=0$. If $xz=0$, then $(x)\in$ ∑. If $xz\neq0$, then $(y)\in$ ∑. So we suppose $(x)\in$ ∑. HERE IS THE PROBLEM：Intuitively I want to prove $(x,\mathfrak m)\in$ ∑ and by maximality of $\mathfrak m$, $x\in\mathfrak m$. But how to prove that every element in $(x,\mathfrak m)$ is a zero-divisor? For example, if given $ax+bz$ where $a,b\in A, z\in \mathfrak m$ and $xs=zt=st=xz=0, xt\neq0,zs\neq0 $, how to prove that $ax+bz$ is a zero-divisor?

This is in follow-up to .     Let $R$ be a commutative ring with identity and consider the set $Z \subset R$ of zero divisors. If the ideal $I\subset Z$ is maximal with respect to the constraint, need it be prime?    Since Zorn's Lemma applies equally well to proving that either minimal prime ideals exist or that maximal ideals contained in $Z$ exist, this would provide an alternative proof of that question if true.  A naive approach to proving this is to assume $ab \in I$ with $a, b \notin I$. Since $ab \in I$, it follows that $ab$ is a zero divisor, so $abx = 0$ for some $x \neq 0$, and therefore either $a$ is a zero divisor annihilated by $bx \neq 0$ or $b$ is a zero divisor annihilated by $x$. In either case, the obvious thing to consider would be $aR+I$ or $bR+I$, but there's no obvious reason why either of these ideals should consist of zero divisors.  According to rschwieb, the answer is yes for reduced Noetherian rings.


I'm not able to create new folders in my laptop. Even when I right click on my mouse it's not showing me the new folder option. Is this any spam or not?   I tried the following registry fix:    but it says that NewFolderFix.reg, didn't work:   Not all data was succesfully written to the registry. Some keys are open by the system or other processes.

I have this problem on two of my new laptops and can't seem to find a decent workable solution elsewhere in forum land. The problem is that on my Windows 7 Professional machines the right mouse button doesn't show the New Folder option and elsewhere as well (via Explorer) I'm unable to create new folders.   I'll be happy to get this tiny problem resolved and declare that Windows 7 is almost perfect! Thanks to all of you in advance for your contribution!  PS: None of the Vista solutions seem to work here!      Tried NewFolderFix.reg, didn't work - "Not all data was succesfully written to the registry. Some keys are open by the system or other processes."  Converted FolderFix.reg to .inf file and that worked.  Don't recall the problem appearing after an update.  MS answer to the explore process hanging (KB 972685) was to install the latest Visual C++ Update (vcredist.exe).  Nope. That didn't help either.  I haven't touched Silverlight since installation when Windows 7 hit the shelves. I tortured the RC installation before that, and never had problems there either.    UPDATE-  Logged back into Administrator account, still missing from there. Spent a bit more time looking instead of just fixing. Just yto make sure, logged back into my user account - still OK there.  Turns out the entries in HKCR\CLSID were the culprit here. Reg file wouldn't take again (as above) but inf file fixed it. This key was unable to be entered from regfile, or altered or deleted in Regedit (Permissions).   Don't quite understand why a common key in HKCR needed to be entered separately for each user.   Here is the file I used to fix it. Just copy into notepad, save as newfolderfix.inf, rt-click and select Install  ================================================================  [Version]  Signature=$Windows NT$  [DefaultInstall]  AddReg     =REGEntries.AddReg  [REGEntries.AddReg]  HKCR,"%String0%",,0x0,"CLSID_ExecuteFolder"  HKCR,"%String0%\InProcServer32",,0x0,"ExplorerFrame.dll"  HKCR,"%String0%\InProcServer32","ThreadingModel",0x0,"Apartment"   [Strings]  String0 = "CLSID\{11dbb47c-a525-400b-9e80-a54615a090c0}"  =============================================================   Thanks to others who helped point me in the right direction.


It always says "Insufficient memory for java runtime to continue" I already have 6GB dedicated to minecraft so I am not sure what else to do to fix the problem

Similar to  on the bugs in Minecraft, I would like a complete list of what error codes exist in Minecraft and how they occur, as well as how they can be resolved.


My situation  I'm not proficient with Ubuntu or Linux. I'm a Windows convert. My computer tech knowledge is also novice. I'm running a NVIDIA GF119 on UBUNTU 12.04. Under Additional Drivers I have "NVIDIA accelerated graphics driver (post-release updates) (version 331-updates)" activated and currently in use.  I'm a student and I read hundreds of page of text out of ebooks everyday.  My issue  Text quality is blurry.  It's hard to tell the difference between i's and l's (infact I can't tell the difference as I just typed those two.)  also m's and n's often look the same.  I don't know what refresh rate I'm currently running, but my monitor is built to run 60 hz.  I tried xrandr -r 60 and got this.     Rate 60.0 Hz not available for this size   I found another article on this, but the solution was over my head.  How can I get the text readable?  Thank you!

I've been finding fonts on the internet and  on my system.   What's the easiest way to change my fonts? I would prefer an easy to use graphical way, but answers with command line recommendations are also welcome.


Question has been asked before.  Guess I didn't look hard enough ;)

Is there any good reason that an empty set of round brackets (parentheses) isn't valid for calling the default constructor in C++?  MyObject  object;  // ok - default ctor MyObject  object(blah); // ok  MyObject  object();  // error   I seem to type "()" automatically everytime. Is there a good reason this isn't allowed?


I am newbie, is learning to make the program connect to the mysql database, but there is an error. i want to know how to look for url jdbc: mysql:  public class KoneksiDatabase { private static Connection koneksi; public static Connection getKoneksi(){     if (koneksi == null) {         try {             String url = "jdbc:mysql://localhost/universitas";             String user = "root";             String pasword = "kendo";              DriverManager.registerDriver (new com.mysql.jdbc.Driver());             koneksi = DriverManager.getConnection (url, user, pasword);         } catch (SQLException t) {             System.out.println ("Eror Java Database Connection");         }      }     return koneksi; }

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


I put icecream mixture in freezer but after taking it out of freezer, I found ice crystals in it. What should be done to avoid ice crystals in icecream?

I have bought a electric ice-cream churner, I have tried so many different flavours, different recipes, used alcohols. Have read previous questions and a don't believe that leaving ice-cream out to thaw -scoop then refreeze is the only answer.How do the commercial companies keep them soft. I generally find the next day it is fairly reasonable to scoop, but day after day -the longer it stays the harder it becomes.


Why my soql query is returning 'RecordTypeId' instead of the fields mentioned in the query?  Here's my query:  SELECT Id, Name, ABC, (SELECT Id, XYZ FROM InnerObject) FROM OuterObj   Note: My query contains a subquery.

I am running this script from developer console.  List<Account> lstAccount = [SELECT Id, Name, BillingStreet From Account LIMIT 1]; System.debug(lstAccount);   Debug Log:     23:47:04:012 USER_DEBUG [5]|DEBUG|(Account:{Id=0019000001nNLGEAA4, Name=Acct_nm001, BillingStreet=xyz Road, RecordTypeId=01290000000iaNiAAI})   I never queried for RecordtypeId in SOQL, but it is included in the list.  Although, if I run the query from the query editor, it is not showing RecordtypeId column.   Is this by design? Then why not Salesforce is not providing us audit fields in the first scenario.


I'm new to Ubuntu. I am trying it in a VM from the past 2 months and I like it! I want to dual boot it alongside Windows. Now I know how to install it, but I don't know how to install drivers. So can anyone help me to find drivers? Here are my comp's specs Intel(R) Core(TM) i7-3610QM 8 GB DDR3 RAM NVIDIA GeForce GT 630M 1 TB SSD Model: ASUS K55VM

Is there a package of Ubuntu drivers as driver pack solution? I tried to search for it, but I did not find it. If there is, how can I easily get it?


I have a value   sections = "12A,13B,14C"   But I need [12A, 13B, 14C] for future use. How to create array from above string?

I have this string  'john smith~123 Street~Apt 4~New York~NY~12345'   Using JavaScript, what is the fastest way to parse this into  var name = "john smith"; var street= "123 Street"; //etc...


One of my process written in C# is forked by another process during application startup. This process needs administrator rights  as it is accessing drivers, but the parent application (forking process) was launched in user mode.   There were two ways which I could think of: 1. Change the manifest, but the UAC dialog box would be irritating for the users. 2. Like Linux rpm installation, install the application with super user and give full control to the process  Is there any other better way of doing this?  Please guide  Thanks

I'm trying to install a service using InstallUtil.exe but invoked through Process.Start. Here's the code:  ProcessStartInfo startInfo = new ProcessStartInfo (m_strInstallUtil, strExePath); System.Diagnostics.Process.Start (startInfo);   where m_strInstallUtil is the fully qualified path and exe to "InstallUtil.exe" and strExePath is the fully qualified path/name to my service.  Running the command line syntax from an elevated command prompt works; running from my app (using the above code) does not. I assume I'm dealing with some process elevation issue, so how would I run my process in an elevated state? Do I need to look at ShellExecute for this?  This is all on Windows Vista. I am running the process in the VS2008 debugger elevated to admin privilege.  I also tried setting startInfo.Verb = "runas"; but it didn't seem to solve the problem.


If you have orthonormal vectors $q_1,q_2,q_3,q_4$ of $\mathbb R^4$ and orthonormal vectors $z_1,z_2,z_3,z_4,z_5,z_6$ of $\mathbb R^6$ and matrix A is $A=z_1q_1^T+z_2q_2^T$.  a)Find a base and dimension of fundamental subspaces of  $A$  b) Using fact from a) find a solution $Ax=z_1$  For a)$ Im(A)=L(z_1,z_2), dimIm(A)=2, Im(A^T)=L(q_1,q_2), dim Im(A^T)=2, ker(A)=L(q_3,q_4) dimker(A)=2, ker(A^T)=L(z_3,z_4,z_5,z_6) ,dim N(A^T)=4.$  For b) $Ax=z_1$, If $z_1 \in Im(A)$ then this equation have solution, then $x=q_1$ since $(x_1,x_1)=1$ and $(x_2,x_1)=0$ so $Aq_1=(z_1q_1^Tq_1+z_2q_2^Tq_1)=z_1+0=z_1$ is this ok?

Let $q_1,q_2,q_3,q_4$ be orthonormal vectors in $\mathbb{R}^4$,$z_1,z_2,...,z_6$ orthonormal vectors in $\mathbb{R}^6$ and $A=z_1q_1^T + z_2q_2^T$.  a) Find the base and dimension of fundamental subspaces of matrix A  b) Using the results given by a) find the general solution for $Ax - z_1$.  Any hint would be appreciated.


1) If she beats him he'll claim she cheated. [non-deictic past]   2) If you eat any more you'll say you don't want any tea. [non deictic present]   I don't know whether it is right or wrong but what I know is deictic expressions referring to a specific things and non- dectic expressions not referring to a specific things...In this sense, in these sentences, in the words cheated(past) and don't(present), how we refer these words are in non-deictic past or present? And the terms deictic expressions and deictic time are have different or same meaning? Because in some books I saw deictic expressions referring to a specific things and non- dectic expressions not referring to a specific things. So please tell me which is correct?

[5]     i  If she beats him he’ll claim she cheated.    [non-deictic past]     ii If you eat any more you’ll say you don’t want any tea.[non-deictic present]      The preterite and present tense inflections on cheat and do indicate that Tr is respectively anterior to and simultaneous with To, but here  To is clearly not Td. The time of the (possible) cheating is not anterior to the time of my uttering [5i], but to the time of his (possibly) making a claim of cheating.                       — The Cambridge Grammar of the English Language, p126   I can understand To (time of orientation = utterance time), yet don’t get what the ‘deictic time (Td)’ is. Would you let me know the Td?


I am trying to interpret the sign of my 5 x-variables against y-variable. The sign of some coefficients in the regression output (command: reg) are different than the signs under correlation matrix (command: correlate). Which one defines the relation sign/direction?

The coefficient of an explanatory variable in a multiple regression tells us the relationship of that explanatory variable with the dependent variable. All this, while 'controlling' for the other explanatory variables.  How I have viewed it so far:  While each coefficient is being calculated, the other variables are not taken into account, so I consider them to be ignored.   So am I right when I think that the terms 'controlled' and 'ignored' can be used interchangeably?


I visited the site  to do some study and found that this site uses mini-profiler. I believe devs generally use it when the app is in test/development mode. So was wondering if the mini-profiler was left like that on purpose or it was not taken care of while deploying to prod?

Not sure if this is actually desired, but  is currently showing me (a SE non-dev)  results, including all queries that are being run against the DB (not talking about data-explorer queries of course, talking about site rendering queries).    New feature of  or a deployment whoops?  Edit:  I didn't realize that data was .  With that in mind, this probably isn't a security problem after all, and is in fact more likely .


\documentclass[12pt,aspectratio=169]{beamer}  \usepackage{bookman} \usetheme{Madrid} \graphicspath{{Arquivos/}} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx}  \newcommand{\CO}{Contexte scientifique et objectif} \newcommand{\I}{Introduction} \newcommand{\MM}{Modèle mathématique} \newcommand{\SM}{Simulation numérique} \newcommand{\C}{Conclusion} \AtBeginSection[] { \begin{frame}<beamer>{Table of Contents} \tableofcontents[currentsection,currentsubsection,      hideothersubsections,      sectionstyle=show/shaded, ] \end{frame} } \title{...............}  \author[.....]{......} \institute[IPT]{\large{;............} } \date{May 20-24, 2019}   \begin{document}  \begin{frame} \titlepage \end{frame}     \section{\CO} \begin{frame}{\CO}\pause  \end{frame}  \section{\I} \begin{frame}{\I}\pause  \end{frame}  \section{\MM} \begin{frame}{\MM}  \end{frame}  \section{\SM} \begin{frame}{\SM}\pause     \cite{FV} \end{frame}  \section{\C} \begin{frame}{\C} \cite{CrPas} \end{frame}  \begin{frame}{Référence}         \bibliographystyle{plain}          \bibliography{biblio}  \end{frame}  \begin{frame} \Large{\textbf{Merci pour votre attention}} \end{frame}  \end{document}

I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home page to get familiar with it. Instead of the citation number I get a question mark. I compile using Latex+Bibtex+Latex+Latex+PDFLatex+ViewPDF just as has been previously suggested and the problem persists.   \documentclass[11pt]{article} \usepackage{cite}  \begin{document}  \title{My Article} \author{Nobody Jr.} \date{Today} \maketitle  Blablabla said Nobody ~\cite{Nobody06}.  \bibliography{mybib} \bibliographystyle{plain} \end{document}   My bibliography (Bib.bbl)  @misc{ Nobody06, author = "Nobody Jr", title = "My Article", year = "2006" }    Looking at previous posts one thing that is concerning is that my .bbl looks empty as shown below. Further, I don't have a .blg  \begin{thebibliography}{}  \end{thebibliography}


I have this code  #!/bin/bash read num sum=0 i=1 while [$i -le $num]; do     let sum=$sum+1     let i=$i+1 done echo $sum   I am getting the error ./test: line 5: [1: command not found , but I am not sure what part of this is wrong and can not be found.

I am using the below script to move two days back when script runs at starting two days of the year and also check first and second days of every month and move two days back. if [$month="01"] && [$day="01"]; then         date="$last_month/$yes_day/$last_year"         fulldate="$last_month/$yes_day/$last_year" else         if [$month="01"] && [$day="02"]; then                 date="$last_month/$yes_day/$last_year"                 fulldate="$last_month/$yes_day/$last_year"         else                 if [ $day = "01" ]; then                         date="$last_month/$yes_day/$year"                         fulldate="$year$last_month$yes_day"                 else                         if [ $day = "02" ]; then                                 date="$last_month/$yes_day/$year"                                 fulldate="$year$last_month$yes_day"                         else                                 date="$month/$yes_day/$year"                                 fulldate="$year$month$yes_day"                         fi                 fi         fi fi  But my bad am getting the below error message Etime_script.sh: line 19: [06=01]: command not found Etime_script.sh: line 24: [06=01]: command not found


I am having an Irish residence permit. I am travelling via UK airport to Dublin. Do I need a transit visa?

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


In my JavaFx application I want to update my BarChart whenever calculate button is clicked. The problem is that I am getting:      java.lang.NullPointerException at   application.StatController.setActivityData(StatController.java:47)   It is always pointing to:`xAxis.setCategories(optionsNames); But it has elements on the list (See printscreen:  In my StatController class I have setActivityData which is called from FormController class.  StatController class:  public class StatController {      @FXML     private BarChart<String, Double> barChart;     @FXML     private CategoryAxis xAxis;     Activities activities = new Activities();     private Map<String, List<Double>> uniqueActivityOptions = new HashMap<>();           private ObservableList<String> optionsNames = FXCollections.observableArrayList();            public StatController(){}      @FXML     private void initialize() {      }      public void setActivityData(Activities activitiesList) {         for(Activity activity : activities.getActivityList()) {             String optionName = activity.getOption();             if(uniqueActivityOptions.containsKey(optionName)) {                 uniqueActivityOptions.get(optionName).add((double) activity.getNumber());             } else {                 List<Double> activityOptionList = new ArrayList<>();                 activityOptionList.add((double) activity.getNumber());                 uniqueActivityOptions.put(optionName, activityOptionList);             }         }          for (Map.Entry<String, List<Double>> entry : uniqueActivityOptions.entrySet()) {             optionsNames.add(entry.getKey());         }          xAxis.setCategories(optionsNames);          XYChart.Series<String, Double> series = new XYChart.Series<>();         for (Map.Entry<String, List<Double>> entry : uniqueActivityOptions.entrySet()) {             Double average = calculateAverage(entry.getValue());             series.getData().add(new XYChart.Data<>(entry.getKey().toString(), average));         }            barChart.getData().add(series);      }     private double calculateAverage(List<Double> values) {         double result = 0;         for (Double value : values) {             result += value;         }         return result / values.size();     } }   FormController class:  public class FormController {      Activities act = new Activities();     List<Activity> activities = act.getActivityList();      private ObservableList<String> opt = FXCollections.observableArrayList(                 "Option 1",                 "Option 2",                 "Option 3"             );     @FXML     private Button calculateButton;     @FXML     private TextField numberField;     @FXML     private ComboBox<String> options;     private String selectedOption;      @FXML     private void initialize() {          options.getItems().addAll(opt);         options.getSelectionModel().selectedItemProperty()         .addListener(new ChangeListener<String>() {             @Override             public void changed(ObservableValue<? extends String> observable, String oldValue, String newValue) {                 selectedOption = newValue;               }          });      }     @FXML     public void calculateButtonClicked(){            activities.add(new Activity(selectedOption, Integer.parseInt(numberField.getText())));         StatController  sc = new StatController();         sc.setActivityData(act);     } }   I tested setActivityData method in StatsController and it is working correctly when I am passing Activities.  Please advise what to change in the code to pass and update BarChart. I know that this is something trivial but I really don't know how to do it.  ` Thank you very much for the help!

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


5x + 19y = 100    given the constraint that the two variables belong to N  I get the answer:   x = 400  y = (-100)   I dont know if this is the right asnwer to the question

I need help with this equation: $$100x - 23y = -19.$$  When I plug this into Wolfram|Alpha, one of the integer solutions is $x = 23n + 12$ where $n$ is a subset of all the integers, but I can't seem to figure out how they got to that answer.


I am to use mathematical induction to prove that:     $$1^3 + 2^3 + 3^3 + \cdots + n^3 = (1 + 2 + 3 + \cdots + n)^2 $$

How can I prove that     $$1^3+ 2^3 + \cdots + n^3 = \left(\frac{n(n+1)}{2}\right)^2$$    for all $n \in \mathbb{N}$? I am looking for a proof using mathematical induction.  Thanks


I am begginer animator, learning about rigging, animation, constraints etc. Did some humanoid rigs, got some logic, but now I want to learn Quadruped rigging for dog. Can't find any quality content for Blender. There are some tutorials for Maya, and it seems similiar but still there is a lot of differences. However, I find a lot of artworks with complete quadruped rigs, so I want to know what would be quality content for learning.

Since asking for tutorials, videos, resources, links to other content or downloads is considered off topic here, this is a specifically created Community Wiki which gathers resources for Blender and it has been approved by the .  Just write in the appropriate answer/section. If you have concerns, questions, post a  question, so we don't clutter the comments, but you can link your meta question from the comments.  Questions regarding such resources are not allowed anymore, except for very specific and on topic requests (ask on  if you're unsure about your question). Follow the instructions made in the question about how to post, what can be posted, etc.  Learning             Assets    (also see: )   Reference Images/Blueprints (also see: )    Tools    (also see: )      Other   Special Interest ()     Also see the .


Which is correct?  ...others are compensated thus. ...others are compensated thusly.  This page says 'thusly' is incorrect:  However without the 'ly' is sounds wrong. This page on adverbs didn't mention adverbs at the end of a sentence as being wrong.  It provides some examples:  A viewpoint adverb generally comes after a noun and is related to an adjective that precedes that noun: A successful athletic team is often a good team scholastically.  I just think '...a good team scholastical' would be wrong. Why is 'thus' different? This related question also says 'thus' over 'thusly', but the word was not at the end of a sentence.

I read an article that used "thusly" and was wondering if there is any grammatical credence to it.   The :     The issue started when Sokolowski quickly ran out of storage capacity in his 32GB Surface after adding media files. After poking around, he realized that while the device has a 32GB drive, only 16GB of that capacity is available for users’ data. Thusly Microsoft is being sued for false advertisement, with the suit seeking class action status.   Is thusly an outmoded form of thus, or does it have a different meaning altogether?


I checked my Windows Explorer and I don't see the file so I am wondering if there is a way to find a particular file or program that is stopping the deletion process from taking place.

I'm trying to delete some folder but this error is preventing from doing it:     Cannot delete [FileName]: It is being used by another person or program.      Close any programs that might be using the file and try again.   How can I identify what application is using the file?   I want to end the application using a Task Manager, but I didn't know what application is using it.  The folder is not shared and my user account is an administrator.


I currently have three tables: product, ingredient, and product_ingredient (m2m relationship).  A product has many ingredients and nested products through product_ingredient. The nested products themselves have many ingredients and nested products. How can I efficiently query these relationships so that a single query can select a product's ingredients through multiple levels of nested relationships?  The product ingredients should be ordered by their position int, with respect to its product_id. Each level of nested ingredients need to be grouped and ordered by the product they're related to. The entities are read more frequently than written, so read optimized would be preferred if there are any cache-based approaches (like materialized views). The actual structure has foreign keys on the ingredient table which are aggregated in different ways.  For example: > select * from product;  id | name ----+------------------------   1 | chocolate   2 | chocolate chip cookies  > select * from ingredient;  id | name ----+--------------   1 | cocoa   2 | cocoa butter   3 | flour   4 | eggs   5 | baking soda  > select * from product_ingredient;  id | product_id | ingredient_id | nested_product_id | position ----+------------+---------------+-------------------+----------   1 |          1 |             2 |            (null) |        0   2 |          1 |             1 |            (null) |        1   3 |          2 |             3 |            (null) |        0   4 |          2 |             4 |            (null) |        1   5 |          2 |        (null) |                 1 |        2   6 |          2 |             5 |            (null) |        3  My ideal query would produce the following output: > select ...;  product_id |           product_name | ingredient_id | ingredient_name | position ------------+------------------------+---------------+-----------------+----------           2 | chocolate chip cookies |             3 | flour           |        0           2 | chocolate chip cookies |             4 | eggs            |        1           1 |              chocolate |             2 | cocoa butter    |        0           1 |              chocolate |             1 | cocoa           |        1           2 | chocolate chip cookies |             5 | baking soda     |        3  Note that the sort order is maintained using position through the nested relationships. Additionally, how do I prevent a circular relationships, where a product_ingredient references a nested_product_id that is a parent or grandparent relation? Is there a CONSTRAINT that I can use?

I am building a database system for my retail business. I have set some tables which are:   Product Purchase Sales Balance   All are connected one another and are able to show my inventory level.  The problem I am having is I also sell bundles of products - that have different prices than their individual prices. Example: I sell an orange for $1, an apple for $1.2; I sell fruit package 1 (2 oranges and 2 apples) for $3.8, package 2 (4 oranges and 4 apples) for $7.  Is there a right way how to create relationship for these product bundles?  PS: I am using FileMaker Pro creating this.


Help my opponent has stopped responding.  How long does it take until I am assigned the win.  This is literally the 1st game I have played on this site...Wow.

When I accidentally clicked "resign" while the game was on my opponent's turn, I got this message:     You can only resign when it is your turn.  But fear not!  If your opponent does not make a move in a reasonable amount of time they will be resigned automatically.   What is the "reasonable amount of time" referred to, here?


Take this stackexchange UX page itself as an example. It contains the StackExchange logo and the words "UX User Experience" (website name) in huge letters.    If you're creating a single-page-application like GMail, you'd want the User to have more space for functionality. Does it really make sense to allow the website name to take up so much space? If yes, why?    As for the logo, I understand that for any brand, showing their logo is of prime importance, but is it really necessary to show it on the top-left corner? Would it constitute a visibility problem if it is shown at the top-right corner of the page or as a watermark at any area on the top/side of the page?

We are building a webapp, so everyone asks me what content should be in header and why you are using a header at the top.  So my question is why are we using a header and logo at the top, we can use it at the right or left or bottom?  And what content should be in the header?


So I am trying to add a ppa and when using     add-apt-repository     I get    apt-add-repository: command not found    I tried to do    sudo apt-get Install apt-add-repository     and there is no file to download  I need to install this ppa Thanks in advance

The server version of Ubuntu does not have the  command. How can I add a  (PPA) to the server without this command?


According to my Longman Dictionary of Contemporary English, the word "Professor" is a countable noun. However, one of its examples reads:  professor a teacher in a college or university. In Britain, a professor is a high-ranking university teacher, especially one who is head of a department.  She was professor of linguistics at Cambridge University.  "She was professor ..." or "She was a professor ..."? Is this a difference between American and British usage?  Another Example from a website of Prof. Tony McEnery:   I am Distinguished Professor of English Language and Linguistics at Lancaster University.  Thank you in advance.

Why is there no the before president and captain?     They elected him president.       She was made captain of the team.


I Have an cloud page with smart capture form that is pushing data to data extension.  What i want is, when user fill the form and become a subscriber will get an email and at the same time i want to trigger another email as alert to me.  So i am using journey builder that is sending email to the subscriber when ever they fill form email sent to them, But i also want to have an alert email at the same time.  Is there any way to do this ?

I have a cloud page in SMFC with the smart capture form. The form is submitting the data to DE working fine.   I have created a journey to send a email, when user fill the smart capture form in my cloud page, Right now the email goes to the person who have filled the form.   I want to sent email to 3rd person as well to the subscriber who just filled the form.  So any one can let me know what changes i need to do for this.  Or  Is there any way i can do this.  I more thing i don't want to use two journeys for this until i don't have other solution.


I am having some trouble solving this question:  Determine a power series entered at 0 for: $$f(x) = \arcsin(x^2)$$ Hence, write an expression for the $kth$ derivative of $\arcsin(x)$, where $k \in \mathbb{N} $.  Side note: I am able to derive the expression for the Maclaurin Series of $\arcsin(x)$, but I don't really understand how to use that information in obtaining the $kth$ derivative of $\arcsin(x)$. Any help is appreciated! Thanks a lot.

I want to calculate the nth derivative of $\arcsin x$. I know $$ \frac{d}{dx}\arcsin x=\frac1{\sqrt{1-x^2}} $$ And $$  \frac{d^n}{dx^n} \frac1{\sqrt{1-x^2}} = \frac{d}{dx} \left(P_{n-1}(x) \frac1{\sqrt{1-x^2}}\right) = \left(-\frac{x}{(1-x^2)^{}} P_{n-1}(x) + \frac{dP_{n-1}}{dx}\right)\frac1{\sqrt{1-x^2}} = P_n(x) \frac1{\sqrt{1-x^2}} $$ Hence we have the recursive relation of $P_n$: $$  P_{n}(x)=-\frac{x}{(1-x^2)^{}} P_{n-1}(x) + \frac{dP_{n-1}}{dx}, \:P_0(x) = 1 $$ My question is how to solve the recursive relation involving function and derivative. I think it should use the generating function, but not sure what it is.


I'm using an Airport Extreme 802.11n (2nd Generation), running firmware version 7.6.3  I'm connecting to it via a Mac Mini running 10.8.4  I'm trying to diagnose a backup software issue, where the software wants to open a number of files in the directory structure of a disk mounted and shared from the Airport Extreme. There are around 420 files in the directory structure.  I replicated the directory structure on a local disk, and made a test program (in Java, for what it's worth) that opened each file (i.e. obtained a file descriptor) for each file.   I've already changed the default launchctl limits and ulimit settings to be higher for OS X.  When running the test program that opened the files on the local disk, it worked, but it failed on the Airport Extreme over AFP, as well as when I mounted the Airport Extreme volume over SMB.  This is the failure message (over SMB, when mounting in AFP the error was "Too many open files in system".  Exception in thread "main" java.io.FileNotFoundException: /Volumes/XXX/Crashplan    Backup/485670197192556908/cpbf0000000000006343267/cpbdf (Too many open files)   at java.io.FileInputStream.open(Native Method)   at java.io.FileInputStream.<init>(FileInputStream.java:120)   at java.io.FileInputStream.<init>(FileInputStream.java:79)   at AFPTest.main(AFPTest.java:105)   Is this a known issue, and is there any way I can increase the number of open files the Airport Extreme can serve simultaneously?  My ulimit -a settings are:  $ ulimit -a Maximum size of core files created                           (kB, -c) 0 Maximum size of a process’s data segment                     (kB, -d) unlimited Maximum size of files created by the shell                   (kB, -f) unlimited Maximum size that may be locked into memory                  (kB, -l) unlimited Maximum resident set size                                    (kB, -m) unlimited Maximum number of open file descriptors                          (-n) 1000000 Maximum stack size                                           (kB, -s) 8192 Maximum amount of cpu time in seconds                   (seconds, -t) unlimited Maximum number of processes available to a single user           (-u) 709 Maximum amount of virtual memory available to the shell      (kB, -v) unlimited   And launchctl limit:  $ launchctl limit cpu         unlimited      unlimited filesize    unlimited      unlimited data        unlimited      unlimited stack       8388608        67104768 core        0              unlimited rss         unlimited      unlimited memlock     unlimited      unlimited maxproc     709            1064 maxfiles    1000000        1000000

Which command / configuration file controls the open file limits on OS X?  Is there a different command for OS X 10.5 / 10.6 / 10.7?  The options I explore below are ulimit, sysctl, and launchctl  "Too many open files" is apparently a common error on Leopard, perhaps other versions of OS X:        There are many (related?) ways to view the open file limits:  $ ulimit -a core file size          (blocks, -c) 0 data seg size           (kbytes, -d) unlimited file size               (blocks, -f) unlimited max locked memory       (kbytes, -l) unlimited max memory size         (kbytes, -m) unlimited open files                      (-n) 2048 pipe size            (512 bytes, -p) 1 stack size              (kbytes, -s) 8192 cpu time               (seconds, -t) unlimited max user processes              (-u) 512 virtual memory          (kbytes, -v) unlimited   $ launchctl limit cpu         unlimited      unlimited       filesize    unlimited      unlimited       data        unlimited      unlimited       stack       8388608        67104768        core        0              unlimited       rss         unlimited      unlimited       memlock     unlimited      unlimited       maxproc     1024           2048            maxfiles    2048           4096         $ sysctl -a | grep files kern.maxfiles = 32768 kern.maxfilesperproc = 16384 kern.maxfiles: 32768 kern.maxfilesperproc: 16384 kern.num_files: 2049   It has been claimed in some of the above posts that these can be modified with the following commands:  sudo launchctl limit maxfiles 16384 32768 sudo ulimit -n 32768 sudo sysctl -w kern.maxfilesperproc=16384 sudo sysctl -w kern.maxfiles=32768   However, out of the above commands, only the sysctl commands have any apparently effect (i.e. ulimit -n and launchctl limit show no change after the above commands have been entered, while sysctl -a does show the requested changes).  The corresponding locations to change these parameters for the OS are:  /etc/sysctl.conf /etc/launchd.conf   I also discovered one  which reads that ulimit only controls the current shell.  How can I adjust upwards the max files / max open files limits on macOS?


During apt-get update of Ubuntu 18.04 the Windows10 is missing. How to get back back the Windows10?

I recently got a computer from school. It came with Windows 8.1 installed. I then installed another copy of Windows 8.1 (so it would use the built-in Windows Pro license) and upgraded it to Windows 10. I then installed Ubuntu alongside both Windows 8 and 10. Note that I made a separate 255MB ext2 partition for /boot. Now, when I boot the computer, I first see a GRUB prompt (I already un-hid the grub prompt 'cuz I like it that way) with Windows 8 and Ubuntu options. However, there is no Windows 10 option. If I select Ubuntu, the computer boots into Ubuntu. However, if I select the Windows 8 option, I then get sent to the Windows bootloader, where it then gives me options to boot either Windows 8 or Windows 10. (However, by this point, the computer has already loaded the kernel and all. Apparently Microsoft misunderstood the concept of a bootloader and decided that that meant "boot practically the entire system before actually showing the bootloader". Typical Microsoft.) How can I disable the Windows bootloader and add a Windows 10 option to GRUB? EDIT: Someone has answered telling me to disable the Windows bootloader. However, I still do not know how to add Windows to the GRUB OS list. Can anyone help with this? EDIT 2: After removing Windows 10 from the Windows bootloader with EasyBCD, it seemed that, after a few reboots, it would continually unhide itself and Windows 10 would reappear. However, I then later deleted Windows 10 from the list of OSes in msconfig, and it seems to have stayed deleted. However, I STILL have not managed to get Windows 10 to appear in GRUB. It's as if GRUB simply doesn't detect it. Also, I'll put this in the question so that people see it - I have tried using boot-repair, however, it has NOT helped any.


I have a x.tar.gz as a backup which has the following contents:   .htaccess a.html b.html c.html x.html   I have also a ./x directory, already existing, which has the following contents:   .htaccess a.html b.html c.html y.html   Now, if I tar xzf the tar file in the same location, what will be the contents of the ./x directory?

I lost a couple hundred lines of a Vim plugin I wrote and continue back up every so often because I extracted a tar file containing an older version. I decided not to use source control management when I wrote the plugin, since I only update it periodically.  Why doesn't tar ask before overwriting existing files by default? I'm guessing that there's some rationale behind why the default behavior is to overwrite files silently, since we usually want safety over speed and convenience. For example, we usually use #ifdef NDEBUG, not #ifdef DEBUG; similarly, I would expect tar ask me before overwriting any files, and for it to have some flag which I can use to tell it to overwrite files without asking me. Also, how can make it so that tar does ask me by default, without me having to give it any flags? I'm fine with using tools other than tar, if they support this safer default behavior.  Thank you for your time!


I think Method A will displays "Ok", but in fact it displays "Fails". The Method B can get the correct result "OK".  I'm sure that the function fi.iki.elonen.NanoHTTPD.getMimeTypeForFile("my.css") will return the result "text/css".  I don't understand why the Method A can't get correct result.  Is there some bugs with the function fi.iki.elonen.NanoHTTPD.getMimeTypeForFile ?  BTW, Method C can get the correct result "OK".  Method A  String a="text/css"; String b= fi.iki.elonen.NanoHTTPD.getMimeTypeForFile("my.css");  Utility.LogError("B: "+b);  if (a==b){     Utility.LogError("Ok"); }else{     Utility.LogError("Fails"); }   Method B     String a="text/css";     String b= fi.iki.elonen.NanoHTTPD.getMimeTypeForFile("my.css");      Utility.LogError("B: "+b);      if (a.compareTo(b)==0){         Utility.LogError("Ok");     }else{         Utility.LogError("Fails");     }   Method C     String a="text/css";    String b= "text/css";      Utility.LogError("B: "+b);      if (a==b){         Utility.LogError("Ok");     }else{         Utility.LogError("Fails");     }

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


I have successfully installed Windows Vista 32-bit in a VM with VirtualBox. Now I'm trying to do the same with Windows Vista 64-bit and it just isn't working. I have created the VM but it seems that it won't boot off of the 64-bit Vista ISO image. It spits out this boot manager error.    The host OS is Windows 7 64-bit on a 64-bit Intel Core 2 Duo processor. Now, I have done the same thing and installed the same VirtualBox version on another computer, also running Windows 7 64-bit, created the VM, and then... during the VM setup process I noticed that it had additional options to choose from when I pick the guest Os. Here's a screenshot.    You can see those options in-between where it says 64-bit, I don't have those options on that other computer. Now, this one runs an Intel Core 2 Quad, a higher end model. It supports Intel virtualization technology, while the other one does not.  This is what the same dialog looks like on the Core 2 Duo computer. Here's a screenshot.    Could this be the reason why? Does that mean that you can't emulate a 64-bit Windows guest OS at all with VirtualBox, unless your processor supports Intel virtualization technology? I understand that this technology makes things much faster, but not letting you emulate that OS at all... that's a bit extreme, no?  If so, what do you suggest I use instead?

I have an Intel E7300 Core2 Duo processor with 2.66GHz speed. I need to run a 64-bit WinXP SP2 VMWare image. My host operating system is Win 7. So I just installed the VMPlayer from www.vmware.com.  The problem is when I run the VM image it says This host doesn't support VT.  If I continue I see Windows shows an error message saying     Attempting to load an x64 operating system, however this CPU is not compatible with x64 mode.   My question is how do I run this VM without buying a new processor? Any other tools or software?


I am trying to construct a set of sets in the mathematical sense. However If I add another set which is equal to one that is already in the set of sets, but which is represented by a different object, the set gets duplicated.  HashSet<HashSet<string>> setOfSets = new HashSet<HashSet<string>>(); HashSet<string> set1 = new HashSet<string>();     HashSet<string> set2 = new HashSet<string>();  set1.Add("Foo"); set1.Add("Bar"); set1.Add("Bar"); // set behavior okay, "Bar" is not duplicated  set2.Add("Foo"); set2.Add("Bar"); // now set1 == set2  setOfSets.Add(set1); setOfSets.Add(set2); // now set1 AND set2 are in setOfSets, which is "wrong"   Why does the set-logic work for equality of strings but not for equality of HashSets themselves? How can I fix this with the least effort.

I am trying to determine if two HashSet objects in .NET 3.5 (C#) are equal sets, i.e. contain the same values. This seems like something one would obviously want to do but none of the provided functions seem to give you this information.  The way I can think to do this is by checking if the count of the two sets are equal and one set is a subset (not proper) of the other. I think the only way that can happen is if they are equal sets. Example code:  HashSet<int> set1 = new HashSet<int>(); set1.Add(1); set1.Add(2); set1.Add(3);  HashSet<int> set2 = new HashSet<int>(); set2.Add(1); set2.Add(2); set2.Add(3);  if(set1.Count == set2.Count && set1.IsSubsetOf(set2)) {     // do something }   Would this always work? Is there a better way? Why doesn't HashSet have a  public bool IsEqualSetWith() function?


I am trying to recover with testdisk, but I don't know the correct options to select in testdisk and I cant take risk of selecting wrong options. When I selected Quick search I can see two partitionsas shown below.  Linux                    0  32 33 60554 194 56  972810240 P Linux Swap           60554 227 26 60801  47 46    3956736  Structure: Ok.  Use Up/Down Arrow keys to select partition. Use Left/Right Arrow keys to CHANGE partition characteristics: =Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted Keys A: add partition, L: load backup, T: change type, P: list files, Enter: to continue   I am not sure what to do next.

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


I'm attempting to replace a pattern in a file with the complete contents of another file using sed.  Currently I am using:  sed "s/PATTERN/`cat replacement.txt`/g" "openfile.txt" > "output.txt"   However, if the replacement file contains any characters such as ', ", or / I start getting errors due to input not being sanitized.  I have been trying to use  to aid me, but I am finding it quite hard to follow. If I try the suggested r file command, I just end up with a string.  What is the best way to approach this?

I have two files: file1 and file2.  file1 has the following contents:  ---   host: "localhost"   port: 3000   reporter_type: "zookeeper"   zk_hosts:      - "localhost:2181"   file2 contains an IP address (1.1.1.1)  What I want to do is replace localhost with 1.1.1.1, so that the end result is:  ---   host: "1.1.1.1"   port: 3000   reporter_type: "zookeeper"   zk_hosts:      - "1.1.1.1:2181"   I have tried:  sed -i -e "/localhost/r file2" -e "/localhost/d" file1 sed '/localhost/r file2' file1 |sed '/localhost/d' sed -e '/localhost/r file2' -e "s///" file1   But I either get the whole line replaced, or the IP going to the line after the one I need to modify.


I am trying to write a JavaScript RegEx which returns content(maybe including nested parentheses) which is between parentheses like the solution described in this  (implemented by Java RegEx)  String:  xxx @connect(({ app }) => (   {     ...app   } )) xxx   Result:  ({ app }) => (   {     ...app   } )   Is it possible to resolve it with JavaScript RegEx?

I need a regular expression to select all the text between two outer brackets.  Example: some text(text here(possible text)text(possible text(more text)))end text  Result: (text here(possible text)text(possible text(more text)))


\documentclass{amsart} \begin{document} \[ \prod_{k=0,\ k\neq i}^{n} \frac{x-c_{k}}{c_{i}-c_{k}} \] \end{document}   I would like to make the k \neq i, which is next to k=0, parallel to k = 0. I tried \\, \limits, and \begin{align*} ... \end{align*}, but somehow I did not get the desired result out of the actions.

I have the following equation, where there is a lot of stuff under the sum symbol:  \begin{equation} d(\vec{x},\vec{y})=   \sum_{Z_{xy}\in\vec{Z}_{xy},\forall x\in\vec{x},\forall y\in\vec{y}}      f(Z_{xy}) \end{equation}   In the resulting document, I find it kind of hard to read. Is there a way to write the equation to make the result more readable, e.g. putting the stuff under the sum symbol on different lines?


I have a family member with a 3rd Gen iPad (a1416) currently running iOS 6. They need to install an app that requires iOS 7. When looking at the system upgrade page in settings, it shows iOS 9 which I believe isn't compatible and also would probably run pretty slow anyway.   Is it possible to upgrade this 3rd Gen iPad to iOS 7? How can we do that? Thanks!  PS: I've already looked at  but the site mentioned in the answer there doesn't offer a signed iOS 7 image.

I'm trying to downgrade my iPhone from the current iOS to an older one, as per .  But every time I try, I always receive this error:     The iPhone could not be restored. This device isn't eligible for the requested build.     I have tried many times with and without DFU mode. Any ideas regarding this?


I'm trying to plot a recursive sequence namely x(1)=1, x(n+1)=1/2[x(n)+2/x(n)]. I've tried messing around with the \tikzmath library but so far I'm not really successfull. My main issue is properly defining the function, not sure how or even what tool to use to do so. Plotting it is the easy part though.  I'd appreciate any help.

I would like to use pgfplots to create a figure where I plot curves that have a recursive formula. I tried a very simple case that uses the declare function command to see whether this is possible, and I can't compile (TeX capacity exceeded). Is it even possible to do this?  \documentclass{standalone}  \usepackage{pgfplots}  \begin{document}  \begin{tikzpicture}[   declare function={test(\p)=ifthenelse(\p>1, test(\p-1), 0.5);}, ]     \begin{axis}[]     % use TeX as calculator:     \addplot [mark=none] {x};     \addplot [mark=none] {test(0)};     \end{axis} \end{tikzpicture}  \end{document}


I am trying to find out if my system has VT-x with the CPU-G tool but I am not able to see what I expect. It is because my virtualbox gave a message  .I run Ubuntu 16.04LTS. Please help. Thanks.

I want to use VirtualBox but it is giving me the error VT-x/AMD-V hardware acceleration is not available on your system. And in the virtual box settings, I am not able to open accelerator tab as it's frozen:    Please give me a step-by=step guide on how to fix this.


Suppose I have a line like this:  abc + def - vfg *   I want my output to be like this:  abc  def  vfg   If only a single operator is there, I can replace: \r\n+ with + but how to do it irrespective of all operators?  Is this possible using regex in Notepad++?

I have a file with multiple instances of Text_1 and Text1 and I need to replace both those strings with Text_A and TextB respectively.    Currently I'm doing two Find and Replace functions on each file one that finds Text_1 and replaces it with Text_A and the other that finds Text1 and replaces it with TextB.    Is there any way to do this all at once instead of having to run "Find and Replace" twice?  I am using Dreamweaver CS3, but I also have Notepad++, regular Notepad, OO Writer, MS Word if those will be easier.  Ideally I could do this in Dreamweaver or Notepad++ but I'm open to downloading something else to get the job done.  I'd prefer not to have to do any command line stuff or create a batch file (while I'm aware of it, I don't understand it really).  In case the above description isn't clear, let me explain it this way...  I want to run Find & Replace 1 time in 1 document and I want it to do ALL of the following during that one Find & Replace instance:   Find Text_1 and Replace with Text_A Find Text1 and Replace with TextB   I am not trying to do a Find and Replace across several documents.


I have a law I wish to cite in an article. I know the Act/Chapter/Section/Subsection/sub-subsection, etc. But, I don't know how to write this in a way that doesn't span 3 lines. What Exchange would be the appropriate place to ask such a question?  This is a State law, in the United States and the law relates to education within the state.

Possible Duplicate:          Site that will allow to ask questions about the law system, every each country System work in different way so users can ask about different languages (countries).  from programming point of view people can ask questions about different licenses, Term of Services EULA, Public domain and other things not related to computers and internet.


How can I solve this problem?   docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?. See 'docker run --help'

On Docker's documentation pages, all example commands are shown without sudo, like this one:  docker ps   On Ubuntu, the binary is called docker.io. It also does not work without sudo:  sudo docker.io ps   How can I configure Docker so that I don't need to prefix every Docker command with sudo?


It appears most people drive relays through a transistor rather than directly from a digital output pin on an Arduino.  I had wired the output pin directly to my relay before realizing this and it worked fine.  What's the transistor for?    Is it to protect the output pin from exceeding the max current if the relay coil has too low a resistance?  Or, is it to conserve energy taking advantage of the common emitter amplification?  To produce less heat perhaps?

In the circuit the relay is controlled from a manual switch on a 12v bus. I can't understand why you would want to add the extra components of the transistor and diodes to the circuit? ie why are D4, R1, T1, D1 needed? Thinking about cost and component count here.


Traveling to Australia, where is best place to exchange money?  US Bank?  Airport in LAX?  SLC airport or in Australia

Recently my wife and I traveled to Italy and before we left we got about 85% of our money in travelers checks and the other 15% we carried on in cash. When we arrived there, no one would take our travelers checks and many places did not accept credit cards. Eventually, we found some currency exchange places that would take the travelers checks and give us Euro's, but at a 7-15% fee, which was not really a very fun surprise.   While I was under the impression that it is safer to use travelers checks, it seems that they were not really accepted (the usual explanation being fraud). So the question is, is it best to just exchange your currency at home and carry all of it with you when you travel or are there other alternatives to carrying cash that are safer and cost effective?


How conduction happens with the conduction band electrons? I mean does the electrons which are responsible for the conduction of holes(by just moving from one atom to other) are those which are present in conduction band? But it is also written that holes are generated in valence band (by movement of electrons from valence band to conduction band) than how holes can participate in conduction? So i want to ask how conduction band electrons are used for conduction and valence band electrons cant be used where as valence band holes can used??? I am confused!!

I had questions about holes in semiconductor, when i checked the net it is said holes are said to be equivalent positive charge and they say because the hole moves from one place to another when it is occupied by electron the electron leaves holes and etc... But i couldn't find the clear answer in " P type " semi conductor it is written the holes in the valence band increase, my problem is i see that lags and reduces the current not increases it because the holes somehow will attract electrons and get them from conduction band to valence band and since the conduction band is the band that does current , isn't that will reduce current not increase it ?


I submitted an research paper to Elsevier journal after 4 months i got major revision i submitting my revised paper,  After one month i receive comments from reviewers. Editor letter stated that "I am pleased to inform .....favourable reviews from reefers....Some modifications to be implemented before the manuscript is published"  I submitted my paper at the end of march but still journal status shows that "under review".  What will be the decision i expect from the journal? pls clarify.

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


Let $f,g:[0,1] \rightarrow \Bbb R$ be continuous such that $\int_0^1 f(x)\,dx=\int_0^1 g(x)\,dx=1$. Let $n \in \Bbb N$. I want to prove that there exists $[a,b] \subset [0,1]$ such that $\int_a^b f(x)\,dx=\int_a^b g(x)\,dx=\frac{ 1}n$.  I tried everything I can for a few hours but couldn't get anything. could somone please help on this? We can use everything involving 1-variable real analysis - including results from topology if needed.

Let $f(x)$ and $g(x)$ be two continuous functions on $[0,1]$ and  $$\int_{0}^{1}f(x) dx= \int_{0}^{1}g(x)dx = 1$$   Show that there exist  $[a,b]\subset [0,1]$, such that  $$\int_{a}^{b}f(x) dx= \int_{a}^{b}g(x)dx = \frac{1}{2} $$  The question can be solved by considering the fundamental group of $S^1$, now I am wondering if we can solve it by real-analysis.  Here is the topological solution:  Assume that for any $[a,b]\subset[0,1]$, we always have  $$(\int_{a}^{b}f(x) dx\neq \frac{1}{2}) \quad \vee \quad(\int_{a}^{b}g(x)dx \neq \frac{1}{2}) $$ Consider mapping $$\phi:D\rightarrow\mathbb{E}^2\backslash\{(\frac{1}{2},\frac{1}{2})\},\,\,(x,y)\mapsto(\int_{y}^{x}f(t) dt,\int_{y}^{x}g(t) dt)$$ where $D=\{(x,y)|0\leq x\leq y\leq 1\}$.  Let $a$ be path from $(0,0)$ to $(0,1) $in $D$ and $b$ be path from $(0,1)$ to $(1,1) $in $D$, then $ab$ is a path from $(0,0)$ to $(1,1) $in $D$ and $$\phi\circ (ab):[0,1]\rightarrow\mathbb{E}^2\backslash\{(\frac{1}{2},\frac{1}{2})\} $$ Notice that $$(\phi\circ (ab))(0)=(\phi\circ (ab))(1)=(0,0)$$  so $\phi\circ (ab)$ is a loop based on $(0,0)$ in $\mathbb{E}^2\backslash\{(\frac{1}{2},\frac{1}{2})\}$.  For any $t\in [0,\frac{1}{2}]$, it's not hard to get that $$(\phi\circ (ab))(t+\frac{1}{2})=(1,1)-(\phi\circ (ab))(t)$$ is equivalent to $$(\phi\circ (ab))(t+\frac{1}{2})-(\frac{1}{2},\frac{1}{2})=-((\phi\circ (ab))(t)-(\frac{1}{2},\frac{1}{2}))$$  Define retraction  $$r:\mathbb{E}^2\backslash\{(\frac{1}{2},\frac{1}{2})\}\rightarrow S^1,\quad (x,y)\rightarrow\ \frac{(x,y)-(\frac{1}{2},\frac{1}{2})}{||(x,y)-(\frac{1}{2},\frac{1}{2})||}$$  Then $r\circ \phi\circ (ab)$ is a loop on $S^1$, such that $$(r\circ \phi\circ (ab))(t+\frac{1}{2})=-(r\circ \phi\circ (ab))(t),\quad\forall t\in [0,\frac{1}{2}]$$  So $<r\circ \phi\circ (ab)>$ is not trivial in $\pi_1(S^1)$.   However, $ab$ is path homotopic to $c$ in $D$, where $c$ is the path between $(0,0)$ and $(1,1)$ in $D$. In this case, $r\circ \phi\circ (ab)$ is a point-path in $S^1$ by $$(\phi\circ c)(t)=\phi(t,t)\equiv (0,0)$$  which leads to contradiction.


I would like to know the reputation score from a certain user on some specific moments in the past, is there the possibility of recovering this with the SQL language?

I would like to programmatically - or with the API determine what a user's reputation is on a particular day. As such, I have found this link:   However, it does not outline a programmatic method to do so.


Put another way, when is a grapple(MM) not a grapple(PHB)?    My wild shaped Circle of the Moon druid loves to be a giant crocodile.  Big and strong, he can grapple much bigger creatures than our barbarian can.  He is huge, so he can grapple Huge and larger creatures.         Bite. Melee Weapon Attack: +8 to hit, reach 5 ft., one target.   Hit: 21 (3d10 + 5) piercing damage, and the target is grappled (escape DC   16). Until this grapple ends, the target is restrained, and the crocodile   can't bite another target. (MM, )   So where does this DC of 16 come from to keep the grapple? 8 + (strength bonus~5+ +  (CR 5 proficiency bonus~3) = 16. (It is of interest that the giant crocodile is not listed as having the Athletics ability the way that a giant does.)      Druid is not polymorphed; he is wild shaped.  The  feature says:     While you are transformed, the following rules apply:      Your game statistics are replaced by the statistics of the beast, but   you retain your alignment, personality, and Intelligence, Wisdom, and   Charisma scores. You also retain all of your skill and saving throw   proficiencies, in addition to gaining those of the creature. If the   creature has the same proficiency as you and the bonus in its stat   block is higher than yours, use the creature’s bonus instead of yours.   If the creature has any legendary or lair actions, you can’t use them.   (PHB, Wild Shape).   My druid has Athletics proficiency(from outlander), and took a level in rogue to get Athletics expertise.  His proficiency bonus is 4, which doubles to 8 when grappling or shoving in druid form.   Should I double the proficiency for the giant crocodile and compute the DC as 19, rather than 16, since I retain my abilities and proficiencies?  (Double the +3, not the +4, in this case). 8+5+3+3 = 19     Or, is this a case of "that grapple isn't the same as the other grapple" even though the same term is being used?  The reason for my uncertainty is that a PHB grapple does not, by default, restrain a creature (that takes the grappler feat), while certain monsters restrain a creature when they grapple them. (Ropers, for example).

Can a Druid/Barbarian multiclass wildshaped into a giant constrictor snake use my Athletics skill in the place of the constrict attack?  A barbarian/druid multiclass can have a much better grapple than a lot of wild shapes have specialized grapple DC set to (especially when including feats like Prodigy to get expertise in Athletics).   Would I be resigned to using the animal's DC for those special attacks, or can I use an Athletics check instead?


Show that the series converges, but not absolutely. $\sum_{n=1}^{\infty}( $exp$(\frac{(-1)^n}{n})-1)$.   My Try:  Let $a_n=$exp$(\frac{(-1)^n}{n})-1$. I was going to use alternating series test because the sequence $\{a_n\}$ is alternating. But $\{|a_n|\}$ is not decreasing to $0$. So, I am stuck now. Can anybody please give me a hint?

Consider the series   $ \sum_{n=1}^\infty a_n $ where   $$ a_n:=\left(\exp\left(\frac{(-1)^n}{n}\right)-1\right).  $$   Show that it is convergent but not absolutely convergent.      I tried the alternating test but I'm not sure if $\{|a_n|\}$ is decreasing or not. And I don't see how other tests might help. Any ideas?    [Disclaimer: this question, asked on Jan 9 '14 at 16:01, is NOT a duplicate of the , which was asked much later on Jul 19 '15 at 20:32]


How many pints of cooked cabbage should I be able to get out of 2 cabbage heads (about 3 pounds each) ? I am wanting to cook and freeze the cabbage.

I am making sauerkraut, and don't have a handy kitchen scale. What is the approximate volume of 1 lb of cabbage?  Also, any advice on saurkraut making would be appreciated. This is my second batch. The first one turned out very good, but I had to throw away that last of what was in the crock as it had mold on top.  I am using a Harsch Crock.


I just set a read only permission to a file using chmod 400 filename.txt after that I open the file via vi editor and edit and try to save using :w then is says E45: 'readonly' option is set (add ! to override) so I use :w!. Then it save the edited file with read only permission? How can it be possible?  Are there any differences between Ubuntu and Fedora that affect access permissions?

Short Question:  Why can we manipulate a read-only file in Vim using : + w + q + ! even without being an administrator?  Long Question:  I have a text file (myFile.txt) which is read-only for everyone:  navid@navid-ThinkPad-T530:~/ubuntuTest$ ls -l myFile.txt  -r--r--r-- 1 navid navid 26 Aug 22 21:21 myFile.txt   I can open it with Vim without having admin privileges:  navid@navid-ThinkPad-T530:~/ubuntuTest$ vi myFile.txt    I modify it and press: Esc + : + w + q + Enter and I see this error message:  E45: 'readonly' option is set (add ! to override)   So far, everything makes sense.  But when I press: Esc + : + w + q + ! + Enter, Vim saves the changes.  I'm using Ubuntu 16.04 and VIM 7.4.


I'm traveling to London, UK for tourism. I just received my passport from UK embassy with 6 months visa. My passport is about to expire and will renew it before travelling to London. So I'm travelling with 2 passports (one with the visa and one is new), I believe that's fine with the UK immigration. My concern is that the visa has the passport number and never travelled to uk before, is there any problem travelling with passport has new visa and holding another new passport?  (Note: travelling from Saudi Arabia to UK)

I have a valid (multiple entry) business visit visa to the UK on my old passport. I have recently obtained a new passport as I ran out of pages on my old passport. The purpose of my visit is still for business and there are no change in personal details on my new passport. There is however a change in address on the new passport. Incidentally it is the same address that I filled out for my UK visa application while answering the query "WHAT IS YOUR PERMANENT RESIDENTIAL ADDRESS AND CONTACT DETAILS?"  In light of the above, can I still travel to the UK by carrying both the old and new passports? Or, will I be required to either transfer the visa or make a fresh application for my new passport. Thanks.


Given that $$\begin{aligned} &x=r\cos(\theta),\\ &y=r\sin(\theta),\\ & \qquad \text{and}\\ &x^2+y^2=r^2 \end{aligned}$$ Use the chain rule to show that $\nabla=\mathbf{\hat{r}}\frac\partial{\partial r}+\mathbf{\hat{\theta}}\frac1r\frac\partial{\partial\theta}.$  I derived that $\,\mathbf{\hat{r}}=\cos(\theta)\mathbf{\hat{\text{i}}}+\sin(\theta)\mathbf{\hat{\text{j}}}\,$ and that  $\,\mathbf{\hat{\theta}}=-\sin(\theta)\mathbf{\hat{\text{i}}}+\cos(\theta)\mathbf{\hat{\text{j}}}.$ But I can't seem to gro from here.

I'm not sure on how to find the gradient in polar coordinates. The thing that troubles me the most is how to find the unit vectors $\hat{r}$ and $\hat{\theta}$. My approach for the rest is expressing the partial derivatives in respect of $r$ and $\theta$ using the chain rule.   How can I get around solving this problem?


I had been enjoying Windows 8 for the last couple of months on my desktop and laptop, but now it seems MS did actually do something really stupid in this OS that bothers me. You can't change the default system font... Not via the control panel or other "regular" method anyway.  Looking it up on the net, I fount two possible ways, both involving registry edits. One method changes a couple of registry keys in     HKCU\Control Panel\Desktop\WindowMetrics   but they are in binary and so it seems weird to edit them. Also there are quite a few keys to edit.  Other tutorials change MS Shell Dlg and Ms Shell Dlg 2 in     HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes   Method 2 seems a lot easier but a lot of people also report it doesn't work.  Are there any more alternatives?

In Windows 7, there is an option to change the fonts for things such as the active title bar, menu, etc. It was found by opening the Window Color and Appearance settings in the Control Panel. I just installed Windows 8 and would like to change the fonts, but I can't find anything to change the actual fonts (there is however a limited drop-down list to change a few font sizes in the appearance settings). Does anyone how to change the fonts used in Windows 8?


I would like to compute the value of the following sum:     $\sum_{k\leq m} (-1)^k\binom{n}{k}$    for an integer m and a non negative integer n.  Progress  I know $\sum_{k=0}^n (-1)^k\binom{n}{k} = 0$ and symmetry of binomial-coefficients can be used to simplify some cases but beyond that i'm stuck.

It is easily checked that $\displaystyle\sum_{i\ =\ 0}^{n}\left(\, -1\,\right)^{i} \binom{n}{i} = 0$, for example by appealing to the binomial theorem.  I'm trying to figure out what happens with the truncated sum $\displaystyle\sum_{i\ =\ 0}^{D}\left(\, -1\,\right)^{i}\binom{n}{i}$.  How far away from $0$ can this get, as a function of $D$ ?.  I'm mostly interested in the case of when $D \ll n$, such as $D \sim \,\sqrt{\,n\,}\,$.  Thanks !


So in drupal 7 we can update node fields without saving the node itself via field_attach_update. Here the link :   Is there a DRUPAL 8 version of this? example please.

I need to change a field in a node without altering the 'changed' timestamp. I know this was possible in Drupal 7 using field_attach_update(), but that has been removed since then.  I could use an update query and change the field directly in the database, but I was wondering if there is a better way (or a replacement for field_attach_update()).


Are there any rules or other metrics that help determine if a role is considered a leading one or a supporting role? Or is it more like a gut feeling? Clearly, the choice is obvious in many movies such as Terminator or Pitch Black. But how do they determine the lead when there are several "main" characters to choose from?   For example: Lord of the Rings had Elijah Wood (Frodo), Ian McKellen (Gandalf), and Viggo Mortensen (Aragorn). Or Pulp Fiction's John Travolta (Vincent), Samuel L. Jackson (Jules) & Bruce Willis (Butch). How did they determine who was the leading role?  (Not sure what tags to put on this one)

On what basis,  is considered as a Lead actor in the movie ?  In the movie, both characters have equal importance and both narrated the story in equal measure and occupied same amount of screen space, how come  is a supporting actor in the movie Rush?  I’m very intrigued to know on what basis Leading Actor and Supporting Actor is categorized in Hollywood.


I have tried the question but not sure if my solution is correct or not... My try..  a^3 + b^3 + c^3 = (a+b+c)^3 - 3(a+b)(b+c)(c+a)  So , if   6 |(a^3 + b^3 + c^3)  Then,  6 | [(a+b+c)^3 - 3(a+b)(b+c)(c+a)]  So, also  6 | (a+b+c)^3  6 | (a+b+c)(a+b+c)(a+b+c)  So,  6|(a+b+c)  Is my solution correct ?

Prove that $6$ divides $a+b+c$ if and only if $6$ divides $a^{3}+b^{3}+c^{3}$   Here's my attempt:  As $6$ divides $a+b+c$ , $a+b+c$ must be even. This implies,  $a^{3}+b^{3}+c^{3}$ is also even. Also, By Fermat's theorem $$a^3 \equiv a\pmod 3$$ Similarly $$b^3 \equiv b\pmod 3$$ and $$c^3 \equiv c\pmod 3$$. Therefore, $$a^{3}+b^{3}+c^{3} \equiv {a+b+c} \pmod 3$$ This implies that, $3$ divides $a^{3}+b^{3}+c^{3}$  and $a^{3}+b^{3}+c^{3}$  is even. Therefore , $6$ divides $a^{3}+b^{3}+c^{3}$. Does this look correct?  Also, Could you please help me write the proof for converse part. Thank you.


So i've come to find it annoying that i have to type every ï as \"{i} same with à and other such characters, isn't there a package which allows me to type it freely or program that changes it automatically, thanks in advantage.

How do I enter Unicode characters in LaTeX?  What packages do I need to install and what escape sequence do I type to specify Unicode characters in an ASCII source file?


I have a script to install trough a automated process.  Here is an example:    sudo apt-get update     clear      sudo apt-get install -y nginx     clear   It works good, but not when I need to add a PPA.  Here I have this following message:  please [Enter] to continue or ...   At this point I need to press the enter to continue the process.  How can I skip this question and make it "Enter" by default?  This is an example that ask me to press [Enter]:  sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install -y sublime-text-installer clear  sudo add-apt-repository ppa:webupd8team/java   sudo apt-get update sudo apt install -y oracle-java8-installer clear

When I add a repository by running  sudo add-apt-repository ppa:ubuntu-x-swat/x-updates   It outputs this dialog:  Updated versions of X.org drivers, libraries, etc. for Ubuntu.  This PPA is for stable upstream releases of X.org components.  If you're looking for something even more bleeding-edge, please see the xorg-edgers PPA.  While Ubuntu does not "officially/formally" support these packages, if you discover problems when installing these debs please feel free to report bugs to launchpad.  However, please make sure to clearly state that you are running packages from this PPA so we know the fixes need to come here.  If you are upgrading from one release to another with this PPA activated, please install the ppa-purge package and use it to downgrade everything in here beforehand. sudo ppa-purge ppa:ubuntu-x-swat/x-updates will do it.  [Directions for packaging drivers can be seen at https://wiki.ubuntu.com/X/DriverBuilding]  More info: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates Press [ENTER] to continue or ctrl-c to cancel adding it   I want to skip the confirmation step  Press [ENTER] to continue or ctrl-c to cancel adding it   How can I automatically confirm the addition of a PPA?


Basically, the question is to solve $z^8= 1$. I have factored this down to $$(z+1)(z-1)(z^2+1)(z^4+1)=0$$  I have simplified $(z^4+1)$ to  $z =\pm \sqrt{i}$ and online I know that this can be simplified to the following four solutions:  z=  0.7071 + 0.7071 i   z=  -0.7071 + 0.7071 i   z=  -0.7071 - 0.7071 i   z=  0.7071 - 0.7071 i    How would I get this without a calculator?  Thank you!

I'm trying to find the roots of $x^4+1$. I've already found in this site solutions for polynomials like this $x^n+a$, where $a$ is a negative term. I don't remember how to solve an equation when $a$ is a positive term as the equation above.  Thanks


W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.playonlinux.com precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 73F0D6E88E3D6C3A W: Failed to fetch http://deb.playonlinux.com/dists/precise/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 73F0D6E88E3D6C3A W: Some index files failed to download. They have been ignored, or old ones used instead.

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following:     W: GPG error:  trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F   I know I can fix it using apt-key in a terminal, according to the official Ubuntu documentation. But I would have liked to do it graphically. Is there a way to do this without using a terminal?


I have a linq query that gets some records from a database using Entity Framework Core, like this:  var result = (from users in _context.Users               on ratings in _context.Ratings on ratings.UserId = users.Id     select new     {         FirstName = users.FirstName,         LastName = users.LastName,         Rating = ratings.Rating     }     ).ToList();   This give me something like:  John   Doe   7 John   Doe   4 John   Doe   8 John   Doe   9 John   Doe   7   But I would like it to be in one record, like this:  John   Doe   7   4   8   9   7   The result can be an anonymous type that is returned in Json through a web api.  Is this possible using the above query or do I have to do some processing afterwards using a foreach loop?


$$\sum_{n=1}^{N}\frac {z^n}{2^n}$$   I attempted to use the method of difference but it didn't work.

Why does the following hold:  \begin{equation*} \displaystyle \sum\limits_{n=0}^{\infty} 0.7^n=\frac{1}{1-0.7} = 10/3\quad ? \end{equation*}  Can we generalize the above to      $\displaystyle \sum_{n=0}^{\infty} x^n = \frac{1}{1-x}$ ?   Are there some values of $x$ for which the above formula is invalid?  What about if we take only a finite number of terms? Is there a simpler formula?     $\displaystyle \sum_{n=0}^{N} x^n$   Is there a name for such a sequence?    This is being repurposed in an effort to cut down on duplicates, see here: Coping with  duplicate questions.  and here: .


Prove $s^\lambda t^{(1-\lambda)}\leq \lambda s +(1-\lambda)t$, for all $s,t\geq 0$ and $\lambda \in (0,1)$

Given that $\{\phi_n\}$ is a sequence of non-negative numbers whose sum is $1$ and $\{\psi_n\}$ is a sequence of positive numbers, how can I show that  $$ \prod_{n=1}^{\infty}~\psi_n^{\phi_n}~\leq~\sum_{n=1}^{\infty}~\phi_n\psi_n~? $$    Thanks.    PS: I'm not too sure about the title. Perhaps, someone could give it a better title?