This is my TEX file   \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel}  \usepackage{biblatex} \addbibresource{References.bib}  \begin{document} Let's cite! The Einstein's journal paper \cite{cvetkovic2010towards} and the Dirac's  book \cite{cvetkovic2010towards} are physics related items.   \printbibliography  \end{document}   This is my Bib file:  @article{cvetkovic2010towards,   title={Towards a spectral theory of graphs based on the signless Laplacian, II},   author={Cvetkovi{\'c}, Drago{\v{s}} and Simi{\'c}, Slobodan K},   journal={Linear Algebra and its Applications},   volume={432},   number={9},   pages={2257--2272},   year={2010},   publisher={Elsevier} }   Inspite of having References and the main tex file in the same folder and running them alternatively for 3-4 times I am getting the following error message:  Error Message  Process started: bibtex.exe "document"  This is BibTeX, Version 0.99d (MiKTeX 2.9.7300 64-bit) The top-level auxiliary file: document.aux I found no \citation commands---while reading file document.aux I found no \bibdata command---while reading file document.aux I found no \bibstyle command---while reading file document.aux (There were 3 error messages)  Process exited with error(s) Process started: pdflatex.exe -synctex=1 -interaction=nonstopmode "document".tex  Process exited normally   The Output file is also not produced properly  Here is a picture of the Output Produced:    Can anyone kindly help me out? Please help me.

Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools


I have a button on my document, upon clicking will generate certain html tags.  Reply //on button click         The problem is when i click the generated button nothing happens, not even alert function.       Am i doing something wrong? i am new to jQuery. Any help is appreciated.

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I have a web application that runs on my macbook on port 3000. I want to test this on a couple of phones and looking up the ip of my macbook eachtime i want to test this is turning to be cumbersome. I wanted a way to do access the web application from these phones by using my macbook's hostname .   ➜  ~ti git:(release-us) hostname GM20152.local  ➜  ~ti git:(release-us) curl -s   gm20152.local:3000  You are being redirected.%   But when I try this url () from my other devices - which are connected to the same wifi network as the macbook - The browser cant find the server. I guess this is because the android phone that I am trying this on has no way of mapping this name (GM20152.local) to an ip address (my macbook ) . Whats the best way to accomplish this ?

I have IIS7 on my computer, and I can access it through other computers in my house on the same network through my computer's IP address - 192.168.1.10x  Instead of typing in http : //192.168.1.10x/ I want to be able to go to http : //somename/  I know you can change the hosts file to add it but I'd have to do that on each computer and I'd still have to type in the IP to access it from my iPod/Wii... etc.


Ok so i used virtualbox in windows and ran linux,i accidentally gave it 64gbs. when i realized that it was dumb i uninstalled virtualbox and deleted the folder but i sill didnt get the 64 gbs back. I've already tried searching for the .vdi file but i couldn't find it. Can anybody tell me what to i have to do to get my 64 gbs back? I've already asked these questions in reddit but nobody answered. Need help!

How can I visualize which folders and files are taking up all of the space on my hard drive?  I'm getting some conflicting reports on the size of hard drive contents. Namely what is and isn't there and what folders are actually using the space.   I need to know which of the files or folders the culprits behind all this hidden bloat. Also there should be a print option to get it on paper.


I am having a problem while dealing with the so called torque equation τ=Iα, which I am describing with the help of an illustration. Please help me out. Consider a rod of length L and mass ‘m’ lying on the positive x axis with its edge as origin. Suppose it has the z axis as the fixed axis of rotation. A force ‘F’ is applied on the COM of the rod, and parallel to the y axis. We can easily calculate the angular acceleration of the rod ‘α’ about the fixed axis of rotation by using τ=Iα. Now if we apply this relation to a point, other than the fixed axis of rotation, say the other end, what will be the new angular acceleration? I mean how can we find out angular acceleration of an object about a point other than the axis of rotation? How can we define angular acceleration about the end farther from the origin, when it is not rotating about that end?

Assume there is a rigid body in deep space with mass $m$ and moment of inertia $I$. A force that varies with time, $F(t)$, is applied to the body off-center at a distance $r$ from its center of mass. How do I calculate the instantaneous acceleration, rotational acceleration, and trajectory of this object, assuming it starts from rest?


I finished the mission where Lilly's little brother takes me to all of these bases, and so I tried to relocate. However it says 'I don't deserve this'   Why does it say that and how can I relocate then?

I came home to the base at the church one day to find several NPCs arguing over whether to move to a new base or not. After that cutscene ended, I opened a dialogue with one of them, where I had the option to ask him to come and look for new home bases with me. He said he had a specific place in mind. So we went out and found this place, went inside, looked around, until I got the "potential home base cleared" message.   I have the required amount of materials and people in my group to build the new base. However, when I press down on the D-Pad, I only get the option to make this base an outpost, not a new home. I have around 150 influence.  Is the issue that I need more influence? Or does it need to be an outpost before it becomes a home? Or is it something else?


Texlive doesn't detect any files found under TEXMFHOME, even though kpsewhich -var-value TEXMFHOME returns the correct path (~/.texlive2017/texmf-var/).  Running Texlive 2017 on Ubuntu, installed from the ppa ().

I know how to define a package or a class, but how do I make it available (to myself) at all times?  Say I have the package file commonstuff.sty (or myprettyclass.cls), that I want to be able to include in any .tex file I create on my computer. Where do I put it? Do I need to run some installer on it, or is it enough to keep it in a certain folder?  Note: I know I can just place it in the same folder as the .tex file, but that's not what I'm after here. I'm looking for a way to "install" the package centrally on my computer.


try {     this.Invoke((MethodInvoker)delegate     {         Uri uri = new Uri("mywebpage.com");         NetworkCredential credentials = new NetworkCredential("username", "password");         byte[] lnBuffer;         byte[] lnFile;         HttpWebRequest lxRequest = (HttpWebRequest)WebRequest.Create(uri);         lxRequest.Credentials = credentials;         // the line below throws a webexception that for some reason is not being caught by my webexception catch statement.         using (HttpWebResponse lxResponse = (HttpWebResponse)lxRequest.GetResponse())         {             using (BinaryReader lxBR = new BinaryReader(lxResponse.GetResponseStream()))             {                 using (MemoryStream lxMS = new MemoryStream())                 {                     lnBuffer = lxBR.ReadBytes(1024);                     while (lnBuffer.Length > 0)                     {                         lxMS.Write(lnBuffer, 0, lnBuffer.Length);                         lnBuffer = lxBR.ReadBytes(1024);                     }                     lnFile = new byte[(int)lxMS.Length];                     lxMS.Position = 0;                     lxMS.Read(lnFile, 0, lnFile.Length);                     lxMS.Close();                     lxBR.Close();                 }             }             lxResponse.Close();         }          using (MemoryStream lxFS = new MemoryStream(lnFile))         {             lxFS.Write(lnFile, 0, lnFile.Length);             lxFS.Position = 0;             Image resizedimage = new Bitmap(Image.FromStream(lxFS), new Size(320, 240));             pictureBox23.Image = resizedimage;              //otherform.picboximage = Image.FromStream(lxFS);             lxFS.Close();         }     }); } catch (WebException e) {     this.Close(); } catch (InvalidOperationException e) {     this.Close(); }   the line with the comment above it throws a web exception however my catch statement for webexceptions is not catching it.  Any ideas? Thanks

The following bit of code catches the EOS Exception  using (var reader = new BinaryReader(httpRequestBodyStream)) {      try {         while (true) {             bodyByteList.Add(reader.ReadByte());         }     } catch (EndOfStreamException) { } }   So why do I still receive first-chance exceptions in my console?      A first chance exception of type 'System.IO.EndOfStreamException' occurred in mscorlib.dll   Is there a way to hide these first chance exception messages?


Is it possible that photon will deform through time? so after millions of years a single photon will get redshifted? Can we test this possibility by current technology?   If this is true, what scientist now think that the universe is accelerated (even long distance galaxy move faster than speed of light) is actually the deformation of photon through time.

I was thinking that maybe photons loss energy naturally when they travel great distances.  Or maybe the mass of all matter is increasing over time and therefore photons emitted in the past are necessarily less energetic.  Or is the expansion of space backed up by so much other evidences that trying to find another explanation is completely foolish?


I have an Apex class that contains @future annotation method to send email. A Visualforce page is rendered as pdf and is sent as an email. I'm getting an exception in test class-      System.EmailException: SendEmail failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, No body supplied for the file attachment.: [fileAttachments]   Controller code(@future annotated)-      PageReference pdf =  Page.ReceiptPrintPage;                                pdf.getParameters().put('AccId',parameter1);          pdf.getParameters().put('year',String.valueOf(parameter2));         pdf.setRedirect(true);         // Take the PDF content                     Blob b;       try{             b = pdf.getContentAsPDF();         }catch(Exception ex){           System.debug('ex'+ex);       }              // Create the email attachment         String filename = parameter3 + '_receipt_' + parameter2 + '.pdf';        Messaging.EmailFileAttachment efa = new Messaging.EmailFileAttachment();         //Messaging.EmailFileAttachment.setContentType(param1)                         efa.setFileName(filename);         efa.setBody(b);                                         // Sets the paramaters of the email         String subject = 'Recurring Donations Receipt for the Fiscal Year - ' + parameter2;                                                            body = 'Hello';         email.setSubject(subject);         email.setToAddresses(new String[] {parameter4});         email.setPlainTextBody(body);                  email.setFileAttachments(new Messaging.EmailFileAttachment[] {efa});                                                      // Sends the email         Messaging.SendEmailResult [] r = Messaging.sendEmail(new Messaging.SingleEmailMessage[] {email});   Test code-      PageReference pdf =  Page.ReceiptPrintPage;     pdf.getParameters().put('AccId',a1.Id);      pdf.getParameters().put('year',String.valueOf(fiscalYear));     pdf.setRedirect(true);                     Blob b;     try{         System.debug('before test content');               //b = pdf.getContentAsPDF();         b = pdf.getContent();     }catch(Exception ex){         System.debug('ex'+ex);     }        Messaging.EmailFileAttachment efa = new Messaging.EmailFileAttachment();     String filename = 'Receipt_' + fiscalYear + '.pdf';                                       efa.setFileName(filename);     efa.setBody(b);                                         Messaging.SingleEmailMessage email = new Messaging.SingleEmailMessage();     String body = 'Testing Email';     String subject = 'Recurring Donations Receipt for the Fiscal Year - ' + fiscalYear;       email.setSubject(subject);     email.setToAddresses(new String[] {'company@domain.com'});                     email.setPlainTextBody(body);                email.setFileAttachments(new Messaging.EmailFileAttachment[] {efa});                                                Messaging.SendEmailResult[] r = Messaging.sendEmail(new Messaging.SingleEmailMessage[] {email});                 How can I set body for file attachment?

My below test fails because of Run Failures: TestRangehoodObjectionSheet.RangehoodObjectionSheetTest Methods defined as TestMethod do not support getContent call. I added the Blob thinking it might resolve but it doesn't work. What could be the problem here? Have I used the Blob correctly?  @isTest public with sharing class TestRangehoodObjectionSheet {      static testMethod void RangehoodObjectionSheetTest() {             String Build                = NBATRecords.getIdFromDeveloperName('Plan_Reviews__c','Building_Plan_Review');             Account a = new Account(Name = 'Test1' ,Type = 'Lead Acct',BillingState = 'CA',Industry = 'Business Services');             insert a;              Establishment_Record__c er = new Establishment_Record__c(Account__c=a.Id ,Project_Name__c = 'TestPreet',PremiseStreet__c='Manhattan ave',PremiseBorough__c='Manhattan',PremiseState__c='NY',PremisePostalCode__c='11102',Referral_Source__c='311',Data_Source__c='CAMIS',Phase__c='Initiate',Business_Status__c='Open' );             insert er;              Application__c ap = new Application__c(Establishment_Record__c=er.Id,Job_Number__c='222222222');             insert ap;              Plan_Reviews__c pr = new Plan_Reviews__c(Application__c =ap.Id ,DOB_Job_Number__c='222222222',RecordTypeId =Build,Objections__c='Pipe size not indicated');             insert pr;             PageReference pageRef = Page.RangehoodObjectionSheet;              Test.setCurrentPage(pageRef);               Blob content = Test.isRunningTest() ? Blob.valueOf('UNIT.TEST') : pageRef.getContent();              Plan_Reviews__c              p   = new Plan_Reviews__c(id=pr.Id);                ApexPages.StandardController sc  = new ApexPages.standardController(p);             System.assertNotEquals(sc,null);             RangehoodObjectionExtention    ext = new RangehoodObjectionExtention(sc);              ext.Savecopy();       } }   Actual class for the test:  public with sharing class RangehoodObjectionExtention { private final ApexPages.StandardController controller; private final Id                           planreviewID; public String imageURL{get;set;} public List<String> objlist {get;set;}  public string currentdate {get; set;}    public RangehoodObjectionExtention (ApexPages.StandardController stdController) {         controller   = stdController;         planreviewID = (Id)controller.getRecord().get('Id');         Date dt = Date.today();         currentdate = dt.format();         list<Plan_Reviews__c> prlist = [select FDNY_Objections__c from Plan_Reviews__c where id = :planreviewID limit 1];         string obj;         for(Plan_Reviews__c pr: prlist){            obj = pr.FDNY_Objections__c;             }         if(obj!=null){            list<string> objections = obj.split(';');             integer i =1;            objlist = new list<string>();            for(string o : objections){               objlist.add(i++ +'. '+o);            }         }         imageURL='/servlet/servlet.FileDownload?file=';         List< document > documentList=[select name from document where Name='RangehoodObjectionLogo'];         if(documentList.size()>0)         {            imageURL=imageURL+documentList[0].id;         }       }          public PageReference Savecopy(){       PageReference p = Page.RangehoodObjectionSheet;       blob b = ApexPages.currentPage().getContentAsPDF ();       Attachment a = new Attachment();       a.body = b;       a.name = 'Rangehood Objection sheet Issued '+currentdate+'.pdf';       a.parentid = planreviewID;        insert a;        PageReference pref = new PageReference('/'+planreviewID);       return pref;    } }


A quick definition of asset is a useful or valuable thing, person, or quality.  Can a high credit score be thought as an asset ?  I am not asking what can I do with my credit score, I am simply asking, is it an asset or not. If Yes then up to what degree and if not then what attributes are missing.

I recently checked my credit score via two of my credit card providers. It seems to be hovering between 790 and 815. One service brands the score it provides as a FICO score and the other specifically says its score comes from Transunion.   What can I actually do to leverage this high credit score to my advantage?  The only new debt I might take on would be a small HELOC or car loan. Does a high score give me any negotiating power with the lender to get a better rate? Should I treat the score as a card in my hand or is it something I should show early in negotiations?  Does a high score make me eligible for any discounts on insurance?  Does a high score open up any options for earning more interest on savings accounts?  The typical advice I'm reading suggests refinancing a mortgage. That seems like good advice in general but it does not apply to my personal circumstances. I've got 3.5% on a 15 year note with 9 years left. A casual review of current rates suggest I could maybe scrape 0.5% off of that, hardly seems worth the effort and cost for half a percent.


I am trying to install a software through terminal. It asks  for my password and i have given the correct password but still it says wrong password. Then i removed all kind off password from my login account. but still it asks for the password. i am using Ubuntu 14.04. Can anyone help me please.

Inspired by this ....  I am the sole person using my system with 12.04. Every time I issue a sudo command; the system asks for the user password (which is good in its own way).  However I was thinking; without activating the root account; how can I execute the sudo commands which will not ask for user password to authenticate.  NOTE: I want to execute sudo command without authenticating via password; only when they are executed via terminal. I don't want to remove this extra layer of security from other functions such a while using 'Ubuntu software center' or executing a bash script by drag-drop something.sh file to the terminal.


private void drawSquare (Graphics g, int row, int col,         Tetrominoes shape){      Color[] colors={new Color(0,0,0), new Color(204,102,102),             new Color(102,204,102), new Color(102,102,204),             new Color(204,204,102), new Color(204,102,204),             new Color(102,204,204), new Color(218,170,0)     };     int x = col * squareWhidth();     int y = row * squareHeight();     Color color = colors[shape.ordinal()];  // **** NullPointerException here ****     g.setColor(color);     g.fillRect(x + 1, y + 1, squareWhidth() - 2,     squareHeight() - 2);     g.setColor(color.brighter());     g.drawLine(x, y + squareHeight() - 1, x, y);     g.drawLine(x, y, x + squareWhidth() - 1, y);     g.setColor(color.darker());     g.drawLine(x + 1, y + squareHeight() - 1,     x + squareWhidth() - 1, y + squareHeight() - 1);     g.drawLine(x + squareWhidth() - 1,     y + squareHeight() - 1,     x + squareWhidth() - 1, y + 1); }   Throws me a  nullpointerexception when I run the program and the terminal reference me in this line: Color color = colors[shape.ordinal()];

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'm running Win10 1709 Home. When I try to disable windows update service by stopping the services first then disabling service, it stops, but upon rebooting services comes back as if nothing had been done.   I tried the following power shell command in admin mode and still same result  stop-service wuauserv set-service wuauserv –startup disabled   When I try to disable from Registry, Win10 Home does not have the following Registry Folder to enter reg keys  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\   Any help to accomplish this is greatly appreciated

We've upgraded some machines to Windows 10 and realized there were some updates which updated as required. However, I realized there was no option available to stop the download similar to that on Windows 7 and 8.1. The only way I could stop the download was to stop the Windows Update service.  My question is does anyone know of a way to stop auto updates or is stopping the service is the only solution?


How can I tell if the aircraft (a.k.a. "equipment") that I will be flying on is at the departure airport? For that matter, is there a general way to tell where it is (e.g. in flight from another destination)?

My current flight has been delayed 9 hours and the plane is nowhere in sight. The airline gives no information besides pushing back the departure date every few hours.  Is there an easy way to determine which flight should be arriving that's delayed so long?


I want to produce a bubble answer sheet where the number of questions are shown by \qCount. It is always below than 100. Is it possible to produce it dynamically? I cannot print the question numbers before each row and cannot show bubbles within the cells.  desired output:   MWE:  \documentclass[a4paper]{article}  \usepackage{tikz}  \newcommand{\repeatntimes}[2]{    \newcount\i    \i=0    \newtoks\ans    \loop       \ans=\expandafter{\the\ans #2}       \advance\i by 1       \ifnum\i<#1\repeat    \the\ans }  \newcommand{\countRepeatntimes}[2]{    \newcount\i    \i=0    \newtoks\ans    \loop       \advance\i by 1       \ans=\expandafter{\the\ans #2}       \ifnum\i<#1\repeat    \the\ans }  \newcommand{\generateTable}[1]{% \countRepeatntimes{#1}{\indent \repeatntimes{4}{\textcolor{lightgray}{\rule{0.9\baselineskip}{0.9\baselineskip}} }\par } }  \begin{document} \def\qCount{80} \generateTable{\qCount} \end{document}

Is there a package to create Optical Mark Reader answer-sheets (aka bubble sheet)?  EDIT 1: No choice. I think I must use PSTricks and \multido to make it.


Question:  How to remove the "paste" feature of the middle button?  I am not asking to remove the middle button from the device (as many pages show as a solution) because I use this middle button for several operations like opening a tab on firefox, or whatever else.  Just to remove the "paste" operation by default.  Background:  Middle button is easy to press by mistake, and for a programmer, this kind of error could easily carry 2h looking for strange bugs, or worse, a crash 2 weeks later, or even worse, a comment in code with personal information, etc..  I am pretty fast to use Ctrl+V, so I do not need this dangerous feature.  Additional information:  I am currently using Linux OpenSuse with KDE. The version does not seem important, but I could provide it if requested.

I don't like having the middle mouse button paste, because I often end up with uncompilable code in Eclipse. How can I turn this off (in all programs)? I'm running Fedora.


I am still learning Tkinter and I am trying to make a simple programe that on a button click will gen three random nums but the def will not change the var, it will print it to the console but will not change the vars  from tkinter import * import random  firstNum = 0 secondNum = 0 thirdNum = 0  def PickNewNums():     firstNum = random.randint(1, 100)     secondNum = random.randint(1, 100)     thirdNum = random.randint(1, 100)     print(firstNum)     return firstNum, secondNum, thirdNum  root = Tk()   mainTitle = Label (root, text = "Amazing Title") newNumbers = Button(root, text = "Get New Numbers", command=PickNewNums)  firstNumber = Label(root, text = firstNum) secondNumber = Label(root, text = secondNum) thirdNumber = Label(root, text = thirdNum)  mainTitle.pack() firstNumber.pack() secondNumber.pack() thirdNumber.pack() newNumbers.pack(side = BOTTOM) root.geometry("600x300") root.mainloop()   Thanks for any help here guys!

What exactly are the Python scoping rules?  If I have some code:  code1 class Foo:    code2    def spam.....       code3       for code4..:        code5        x()   Where is x found?  Some possible choices include the list below:   In the enclosing source file In the class namespace In the function definition In the for loop index variable Inside the for loop   Also there is the context during execution, when the function spam is passed somewhere else. And maybe  pass a bit differently?  There must be a simple reference or algorithm somewhere.  It's a confusing world for intermediate Python programmers.


This is my setup at work:    The two monitors have a resolution of 1920 X 1080. The Dell XPS 13 has a resolution of 3840 X 2160  Trying to set up multiple screens in Windows makes the setup weird, as if the laptop monitor is way larger than the desktop monitors. This is because it has a higher resolution at a higher PPI. This makes moving the mouse between the monitors very awkward.   Is there a way to make Windows realize that despite the higher resolution of the laptop screen, it is in fact physically smaller in dimension?

I just added a new 4k monitor to my setup, bringing my total to 3. My problem is that windows "thinks" that the monitors are physically the relative sizes they are in the display settings, when they're really only an inch different (the 4k is 28" and the 2 1080s are 27").  This makes moving between the monitors a bit of a pain, since the mouse stops at the monitor edge when going from display 1 to either of the other 2.  The cursor also jumps to the middle of the screen when moving from either 1080 to the 4k.  Is there a way to get them to "line up" to the point where the cursor behaves like it's moving between monitors that have the same resolution?    System setup: nVidia GTX 970 Intel Core i7 4790K 16Gb ram Windows 10 Pro 64 bit


I need to test positioning only by wi fi network .For this i turned on "airplane mode "and after this GSM transmitters/receivers were completely disabled. In indoor cases the location is not determined even when i conected to wi fi but in outside  (in open space ) location is determined. i want to understand the services locate me by GPS or wi fi ? Isn't Gps receiver disabled in "airplane mode" ?

This is what I saw when my plane was taxing to the runway at CDG:     Airplane mode was on and all other transmissions (except Location), including WiFi, mobile data, NFC and Bluetooth were off.  Location was not manually turned on by me, after I enabled Airplane Mode. It remained turned on.  What am I missing? Is GPS now so widely accepted on-board planes that Android changed its configuration to let this kind of signal/communication to pass through Airplane mode "block"?  I believe that  isn't a duplicate, because at that time (2016) Location was generally "included" in Airplane mode and was turned off by enabling it.


This old question sounds like what I want:  It's marked as a duplicate of:  But the answers all answer a different question, how to create a bootable USB with multiple partitons. I don't want something that is simply bootable; I want to have something that can be used to install Ubuntu (what I would get if I simply used dd to copy the iso) but the USB stick should also have one or more writable partitions in addition to what is in the iso.

I want to create a recovery flash drive. I have my 8 gb flash drive[Kingston data traveller] with me. I also have the required .iso files for a>Ubuntu 13.10 b>Boot-repair disk c>AVG Rescue CD  I Wish to create 4 partitions(3 for each bootable .iso and one for data storage. Also, I want a way in which I can select which OS to boot each time I boot from USB.   So, is there a way to install GRUB on USB as well as the three other live distros? And how to create such a setup?


When I run cat /proc/version command in terminal, I got below output:  Linux version 2.6.18-348.1.1.0.1.el5 (mockbuild@ca-build56.us.oracle.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) #1 SMP Tue Jan 22 16:39:05 PST 2013   If I run lsb_release -a command, I can see below information:  LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64                         :graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:prin                         ting-4.0-noarch Distributor ID: EnterpriseEnterpriseServer Description:    Enterprise Linux Enterprise Linux Server release 5.9 (Carthage) Release:        5.9 Codename:       Carthage   As per the output of  cat /proc/version,  I can see that I am using RedHat 4.1.2. While as per the output of lsb_release -a, I am using Linux Server release 5.9. Which one Is correct?  If yes, how old is it? Because, I am not getting MySQL 5.6 installer for this version. MySQL 5.6 is available only by Red Hat Enterprise Linux 5 / Oracle Linux 5 (x86, 64-bit), RPM Package version of RedHat.   Where can I get MySQL 5.6 version for RedHat 4?  If not, How can I know which Linux ( Fedora / Ubuntu / Red Hat etc. ) and which version I am using?

We have some new hardware in our office which runs its own customized Linux OS.   How do I go about figuring which distro it's based on?


For some reason, I can only get my code to work with old school onclick events. I suspect the following attempt failed because I am actually building a string, inserting it into results div and hoping that these onclick bindings work and they don't.  This should be the right way to do it but nothing happens..  $( "a.collection-item" ).on("click", function(e) { console.log('test click event fired.'); });   Here's a link for the  so that you can visualize it better. It's a live search.  Here's the  file I am searching...  [   {     "name":"Sarah Connor",     "client_id":"111"   },   {     "name":"John Travolta",     "client_id":"222"   },   {     "name":"Tom Cruise",     "client_id":"333"   } ]   The complete JS code.    $(document).ready(function() {    $('#search').keyup(function(){  // the search input var searchField = $('#search').val();  // if at least one char is typed... if (searchField.length > 0) {  // A. Empty results div. $('#results').empty();  // "i" = ignore case var regex = new RegExp(searchField, 'i');  var output = '
';  // get JSON from PHP... $.getJSON('data.json', function(data) {  // loop through JSON array of key/value pairs... $.each(data, function(key, val){  // Returns a Number, representing the position of the first occurrence  // of the specified searchvalue, or -1 if no match is found  // Here we search and compare against the -1 condition. // Example... val.name.search(regex) different than NOT FOUND...  // If we got a match on name OR client_id.... if ((val.name.search(regex) != -1)) {  output += ''; output += val.name; output += '' + val.client_id + ''; output += ''; console.log('match!');  } // end if  }); // end each  output += '
'; // close ul tag  // output to results div $('#results').html(output);  }); // end getJSON   } else {  // clear results div $('#results').empty();  } // end search field length condition  }); // end keyup    }); // end document ready   function js_redirect(el, event) {  // Prevent the actual link redirect event.preventDefault();  // Got to href location via Script instead. window.location = el.href;  } <!DOCTYPE html>    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">  <link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" rel="stylesheet"/>    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

 <input id="search" type="text" class="validate" placeholder="at least 1 character..."> Search

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I am doing some multivariate regression. When I plot QQnorms to check my model assumptions (errors normally distributed), I get   Question: How do you interpret the above? Are the normality assumptions completely off? What's with those "breaks" near the ends of some of the plots? Is this caused by outliers?

I am working with a small dataset (21 observations) and have the following normal QQ plot in R:     Seeing that the plot does not support normality, what could I infer about the underlying distribution? It seems to me that a distribution more skewed to the right would be a better fit, is that right? Also, what other conclusions can we draw from the data?


As title says does the converges of $\sum_{i=0}^\infty a_i$ imply that $\sum_{i=0}^\infty (a_i)^3$ converge?

Per the title, if $\sum_{1}^{\infty}(a_n)^3$ diverges, does this imply that $\sum_{1}^{\infty}(a_n)$ diverges?   I'd appreciate hints (!) for dealing with this excercise.  EDIT Per the contrapositive, it is not given that $a_n$ converges absolutely, or that it is nonnegative for all $n$.  Thank you!


Actually i'm a new user i'm getting problem in knowing sudo password First of all, What is it? Secondly, Where do I get it? I'd really appreciate some help.

What is the default password of the sudo? I visit some forums, it tells that the default password is password, but it doesn't work, how can I determine the password?


I'm trying to make a notification system using windows forms and when a new notification pops up, I want it to be in front of whatever the current window is but to not have focus. How can I do this?

I'm using a Form to show notifications (it appears at the bottom right of the screen), but when I show this form it steals the focus from the main Form. Is there a way to show this "notification" form without stealing focus?


In python to obtain the digest of the byte string, I do this   hashlib.sha224(b"Nobody inspects the spammish repetition").hexdigest()      Result: 'a4337bc45a8fc544c03f52dc550cd6e1e87021bc896588bd79e901e2'   to reverse result, I do this  hashlib.sha224(b"Nobody inspects the spammish repetition").hexdigest()[::-1]      Result: '2e109e97db885698cb12078e1e6dc055cd25f30c445cf8a54cb7334a'   I would like to do the same in C with Openssl.  I do this  #include <openssl/sha.h> #include <openssl/opensslv.h> #include <openssl/crypto.h>  int main() {    unsigned char digest[SHA224_DIGEST_LENGTH];    char string[] = "Nobody inspects the spammish repetition";    SHA224((unsigned char*)&string, strlen(string), (unsigned char*)&digest);         char mdString[SHA224_DIGEST_LENGTH * 2 + 1];    for (int i = 0; i < SHA224_DIGEST_LENGTH; i++)        sprintf(&mdString[i * 2], "%02x", (unsigned int)digest[i]);    printf("SHA224 digest: %s\n", mdString);     return EXIT_SUCCESS; }   but I don't know how, with C++, to get the same result as the reverse in python.  How can I achieve this?  Any help would be greatly appreciated. Thank you.  Edit: it's not the same as using std::reverse.  It is not a duplicate of the question ?  My solution: Ref:   for (uint16_t j=0; j < SHA224_DIGEST_LENGTH; j++)     digest[j] = ((digest[j] & 0x0F) << 4) | ((digest[j] & 0xF0) >> 4); std::reverse(std::begin(digest), std::end(digest));

How do you reverse a string in C or C++ without requiring a separate buffer to hold the reversed string?


I am trying to add in a tabbed activity the app icon to the app bar and the answer is: method may produce 'java.lang.NullPointerException'. I have read and tried all the answers here and none of them it's working for me. I thought I solve it with the assert getSupportActionBar() != null; the error dissapears in MainActivity.java but then app still crashes with   FATAL EXCEPTION: main                                                                       Process: com.gadgetcatch.test, PID: 25826                                                                       java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gadgetcatch.test/com.gadgetcatch.test.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setLogo(int)' on a null object reference    I'm a beginner in Java and I would really like to understand why this happens.  Here is the MainActivity.java text      package com.gadgetcatch.test;  import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.widget.TextView;      public class MainActivity extends AppCompatActivity {          /**          * The {@link android.support.v4.view.PagerAdapter} that will provide          * fragments for each of the sections. We use a          * {@link FragmentPagerAdapter} derivative, which will keep every          * loaded fragment in memory. If this becomes too memory intensive, it          * may be best to switch to a          * {@link android.support.v4.app.FragmentStatePagerAdapter}.          */         private SectionsPagerAdapter mSectionsPagerAdapter;          /**          * The {@link ViewPager} that will host the section contents.          */         private ViewPager mViewPager;          @Override         protected void onCreate(Bundle savedInstanceState) {             super.onCreate(savedInstanceState);             setContentView(R.layout.activity_main);              assert getSupportActionBar() != null;             android.support.v7.app.ActionBar ab = getSupportActionBar();             ab.setLogo(R.drawable.babyicon);              ab.setDisplayUseLogoEnabled(true);             ab.setDisplayShowHomeEnabled(true);              Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);             setSupportActionBar(toolbar);              // Create the adapter that will return a fragment for each of the three             // primary sections of the activity.             mSectionsPagerAdapter = new SectionsPagerAdapter(getSupportFragmentManager());              // Set up the ViewPager with the sections adapter.             mViewPager = (ViewPager) findViewById(R.id.container);             mViewPager.setAdapter(mSectionsPagerAdapter);            }      }   I added here only the part that concerns my question.

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?


How does one evaluate $$\mathbb{E}[S_n]$$ if  $$S_n = \left\{      \begin{array}{lr}        X_1+X_2+...+X_n & : \text{with probability } \frac{1}{2}\\        Y_1+Y_2+...+Y_n & : \text{with probability } \frac{1}{2}      \end{array}    \right.\\$$  where, $X_i$, $Y_i$ are random variables.  Does the expectation "reduce" into the $X_i$s and $Y_i$s?  I.e.  $$\mathbb{E}[S_n]=\frac{1}{2}(\mathbb{E}[X_1]+...+\mathbb{E}[X_n]) + \frac{1}{2}(\mathbb{E}[Y_1]+...+\mathbb{E}[Y_n])$$?  Is this called "conditional expectation"?

Let $X_1$, $X_2$, $...$, be i.i.d. and follow the same distribution as a random variable $X$ that has an expectation $\mathbb{E}(X)$ and a finite variance $\operatorname{Var}(X)$.  Why does it follow that:  $$\mathbb{E}\left(\frac{X_1+\dots+X_n}{n}\right)=\mathbb{E}(X)?$$  This assertion is in a proof of the weak law of large numbers.


I've been reading  on QM, but I'm unsatisfied with the section on "Generalization to Infinite Dimensions".  Given a finite dimensional vector space with a basis $\{x_i\}$, I understand that the basis is orthonormal if $\langle x_i|x_j\rangle = \delta_{ij}$ (where $\delta_{ij}$ is the Kronecker delta).  Extending this to continuous infinite dimensions, an example "basis" vector (whatever this really means in this case) may look like $|x\rangle$ where $x$ can be any real number in some interval. Apparently the basis vectors $|x\rangle$ and $|y\rangle$ are orthonormal if $\langle x|y\rangle = \delta(x-y)$, where $\delta(x-y)$ is the Dirac delta.  I would be convinced of this generalization if I could show the following:   Define an inner product in the finite dimensional case with a basis satisfying the first orthonormality condition. Let the number of dimensions somehow go from finite to a continuous infinity. Show that in this limit basis still satisfies the second orthonormality condition.   Can the above be done, or is there a fundamental misconception I have here? Do you have any recommended reading? (preferably not an Analysis textbook)

This question is about non-normalisable states in quantum mechanics, e.g. the eigenstates of the position operator $|x\rangle$ which are defined by the eigenvalue equation  $$\tag{1} \hat{X}|x\rangle = x|x\rangle.$$  Since the spectrum of the operator is continuous, the states are not square normalisable. Instead one has an equation such as  $$\tag{2} \langle x'|x\rangle = \delta(x-x')$$  which gives the overlap meaning as a . However it is clear that there is still at least an ambiguity in choosing a constant, i.e. why no have  $$\langle x'|x\rangle = a \times \delta(x-x')$$  where $a$ is $a \in \mathbb{R} $.    So I went to see how Equation (2) is derived. In Schleich's textbook on quantum optics in phase space I found the following, very short and in my opinion not clear/complete derivation.  From Equation (1) which can be taken to be the definition of the position operator and the assumption that the operator is hermitian which is a fundamental postulate of quantum mechanics one obtains:  $$\tag{3} \left( x - x' \right) \langle x'|x\rangle = 0.$$  That was easy so far, but then Schleich jumps immediately to equation (2). But the solutions for $\langle x'|x\rangle$ of (3) are all functions/generalised functions that are non-zero everywhere except at $x=x'$. So my question is: Why is (2) the unique solution? Where does the additional information come from?  My suspicion is that we impose another requirement, which is probably the completeness of the states, which would make (2) clear since it is the identity element in the position representation.


I think the question is clear, but as you know there are devices that can vacuum the meat slices in a plastic bag. But does it make any difference if I wanna freeze them? Will that make any difference?

Below is my situation:  Is completely (vacuum) sealing leftover meat in the freezer absolutely necessary? I would always just use a plastic bag to cover the meat and fold it around couple of times so it's almost as good as sealed (usually grocery plastic bag is much bigger than the piece of meat) and have never had a problem with it last a decade or so I have been cooking.  But recently I got this new roommate who insists on me using special small plastic bags with sealers to use and he is being very paranoid, obsessive about it.  So my question is: Is he right?


I know that since 11.04 the keyboard short-cut of Ctrl+Alt+Backspace has been disabled by default.  However at least as recently as 12.04 you were able to enable it via the Keyboard GUI:    The Keyboard options in 14.04 are much more limited and there appears to be no way to re-enable this function:    Is there any way to re-enable this function?  All my searches of AU as well as a full internet search have provided no workable answers for 14.04.

Ctrl+Alt+← can usually be set to restart X, however I can't find the option to allow this (it is disabled by default).  I have looked in System->Preferences->Keyboard and System->Preferences->Keyboard Shortcuts but I can't find an option to enable it.  Where can I change this setting?


The question  explains how a cartesian product of sets are specified. It is difficult for me to follow it; for example, I do not know about "symmetric monoidal category".   Can anybody please explain cartesian product construction using simpler concepts? for example, what set of constraint should be checked to see if an object is a cartesian product of another two objects without looking inside the objects?  PS: Question edited to avoid duplication

Please describe direct products in the category Rel.


Where do I get codes for zsh bindkey? Particularity I need left shift .  So far I found different way to get the codes:  1) key[Down]=${terminfo[kcud1]} but where to find all the key names in terminfo?  2) sudo showkey -a Prints output for some values, for example ^[[C  for right arrow, but has empty output for ctrl, shitf, space and others.  3)Ctrl+V in terminal,   it returns some values, but again empty for shift, ctrl etc.  Also there is xmodmap -pk | grep Shift that returns 0xffe1 (Shift_L) but when I try to bind this code, it don't work, why so?

The Arch Linux Wiki page on Zsh has an example that gets key sequences from terminfo in it.  typeset -g -A key  key[Home]="${terminfo[khome]}" key[End]="${terminfo[kend]}" ...   But how would I get ones with modifiers? Specifically Alt+j and Alt+k.  Thank you.


I need referencing from an equation, such as:  \documentclass{article} \usepackage{amssymb,amsmath} \begin{document} \begin{equation} \label{eq:1}  y+x=3 \end{equation}  some text \ref{eq:1} some text   \end{document}   will result in: 'some text Eq.(1) some text'. Not just number, but with Eq. or 'Equation' insert before the number in brackets.

I have an equation system set up as below. When I reference it however, ie. with \ref{eqn:surfacetension}, it only prints the number '1', and not 'Equation 1'. How can I modify the code to do that? I apologise if I left out any key bits of code, I only put in the bits that I think are relevant  \documentclass[a4paper,12pt]{scrartcl}  \usepackage{amsmath}  \makeatletter \let\mytagform@=\tagform@ \def\tagform@#1{\maketag@@@{\bfseries(\ignorespaces#1\unskip\@@italiccorr)}\hspace{3mm}} \renewcommand{\eqref}[1]{\textup{\mytagform@{\ref{#1}}}} \makeatother  \begin{document}  \begin{equation} \Delta P = \frac{2\gamma}{r}  \label{eqn:surfacetension} \end{equation}  \end{document}


I almost did this change before 20-21 days but still Google is not crawling Site.

This is a general, community wiki  question and answer pair intended to address any questions   concerning the reasons a site or specific site contents do not appear   in search engine results.      If your question was closed as a duplicate of this question and you   feel that the information provided here does not provide a sufficient   answer, please open a discussion on .   My site (or specific pages on my site) is not appearing in search engine results.  Why isn't my content indexed and what can I do about it?


I am working on biomedical signal analysis and the most used method for parameters estimation is the EM algorithm.   My question is : what are the most powerful alternatives to this algorithm?

Are there any speedy alternatives to the EM algorithm for learning models with latent variables (especially pLSA)? I'm okay with sacrificing precision in favor of speed.


I will go to travel.   I will take a trip.      Are the two words - "travel" and "trip" - the same?

As they always were interchangeable in an article, I just want to know the difference.


In jQuery, what is difference between using  two single quotes for a string and using two double quotes for a string.   alert('I am using single quotes'); alert("I am using single quotes");   I see the same output for both.

console.log("double"); vs. console.log('single'); I see more and more JavaScript libraries out there using single quotes when handling strings. What are the reasons to use one over the other? I thought they're pretty much interchangeable.


In the new Star Trek movie, did they travel back in time and become their younger selves or are they in an alternate universe like the episode "Mirror, Mirror"?

Doctor Who (2005) isn't called a reboot. It is called a continuation of the old series. This was made possible by that regeneration ju-ju and stuff.  On the other hand, Star Trek 2009 reincarnation is often called a reboot. Nobody dared call it continuation. I don't think I need to do citation because it's common.  Now, if we actually go into the details:   The new universe contains two Spock. One is from the original timeline. The Spock Prime even gives data from the original timeline like trans-warp equation, Khan etc. We see other past data from before the timeline diverged. For example, Scott told that he transwarped Admiral Archer's dog. "Archer's dog" existed in Star Trek: Enterprise TV series.   So, why didn't the legacy survive in-universe? Why isn't it considered a continuation of the old Star Trek TV shows and movies?  Or, is the reboot word used by mistaken fans and media only?  Update: After the release of Star Trek: Beyond (2016), this is no longer a confusion as the movie showed a photo from original timeline.


I have been studying the Lagrangian formulation of classical mechanics. I have been introduced to the Hamiltonian formulation via the Legendre transform, and studied the transform from this    Are the Lagrangian and Hamiltonian always Legendre transforms of each other? If so, does this apply to physics in general, or just to classical mechanics? What happens if either of the Lagrangian or Hamiltonian is not convex? For example, if the former is not convex does this mean the Hamiltonian does not exist, and vice versa? The first answer to  says "At the classical level, there is no convexity condition ...", but the meaning of this phrase is obscure and I feel the gist is really lost in the details. From my limited understanding of the Legendre transform it could only be applied to (strictly) convex functions. If either of the Lagrangian or Hamiltonian is not strictly convex this would mean non-unique values for the derivative that we need for the Legendre transformation. In this case, am I right in assuming that one would need to impose further conditions on the problem in order to restrict interest to a subset of the domain where the function in question is convex?    and  have some interesting material in their answers, but .

I have encountered a problem while re-reading the formalism of Hamiltonian mechanics, and it lies in a very simple remark.   Indeed, if I am not mistaken, when we want to do mechanics using the Hamiltonian instead of the Lagrangian, we perform a Legendre tranformation on the Lagrangian to get the Hamiltonian. This, in the case of a 1 dimensional problem, is written as follows: $$ H(p,q) = p\dot{q}-L(q,\dot{q}).$$ Notice that this transformation is such that $H=H(p,q)$, where $p = \frac{\partial L}{\partial \dot{q}}$. By variation of $H$, we can indeed verify it as function of $p$ and $q$, so that they are now considered the new independent variables of the problem.  So far so good. However, there is a problem, and it lies in the fact that for this construction to hold, we need the Lagrangian not to change convexity. Let me write what I know about the Legendre transformation, in a somewhat formal way:  Given a function $f: x\rightarrow f(x)$, we define the function $p: x\rightarrow p(x)$ by the relation $\frac{df}{dx} = p$. Supposing $\frac{df}{dx}$ is invertible, we can define the inverse of $p(x)$, which we call $g : p\rightarrow g(p)$. Then, the legendre transformation of $f$ is $f^* : p\rightarrow f^*(p)$ such that $\frac{df^*}{dp}=g(p)$. We can write, in a more familiar way, $g(p) = x(p)$ since it is the inverse of $p(x)$.  Anyway, we can prove with those assumption that $f^* = pg(p)-f(g(p))$ which is $f^* = px-f(x)$ written in the "familiar" way. All that is just to point out that, for all this construction to work, and hence for the existence of $f^*$, we need the condition that $f(x)$ be of constant convexity, otherwise $\frac{df}{dx}$ is not invertible and we cannot even define $g(p)$.  However, when we consider a general Lagrangian, I don't think that this is always the case. Taking simply $L = \dot{q}^3$ makes the Lagrangian not of constant convexity. And yet, we always use the Hamiltonian, without ever checking this convexity constraint. Why can we do this? Is it because we are interested in the local behavior of our Lagrangian? But even then, what would we do at an inflexion point?   Or is it because a general "physical" Lagrangian will always satisfy the condition of constant convexity?


I want to have Python print "Yes" 70% of the time, and "No" 30% of the time. How should I go about doing so?

In unbiased coin flip H or T occurs 50% of times.  But I want to simulate coin which gives H  with probability 'p' and T with probability '(1-p)'.  something like this:  def flip(p):    '''this function return H with probability p'''    # do something    return result  >> [flip(0.8) for i in xrange(10)] [H,H,T,H,H,H,T,H,H,H]


I'm considering getting a new cable modem.  Doing some research I found myself on Wikipedia: .  I'm wondering if it's worth the extra $30-40 for my home network to go ahead and get version 3.0 instead of 2.0.  The table on this page refers to number of channels that hardware must be able to support.  Is this referring to my router and network card?

Is it worth getting a DOCSIS 3 cable modem for premium cable internet service?  I currently have a 3-4 year old Motorola Surfboard DOCSIS 2 cable modem from my last apartment, but I am now paying for premium cable internet service.  Will I see significant performance improvement, and increases download speed or bandwidth?


I'm using some code in JS and I bumped into these (unrelated) expressions:   1) var r = (d + Math.random() * 16) % 16 | 0;  2) return c === 'x' ? r : (r & 0x3 | 0x8);   I read some about bitwise operators but it does not help in this context. Can somebody explain (preferably step-by-step) how do they work ? How this two expressions are logically evaluated and run ?   Thanks in advance.

I'm someone who writes code just for fun and haven't really delved into it in either an academic or professional setting, so stuff like these bitwise operators really escapes me.  I was reading an article about JavaScript, which apparently supports bitwise operations. I keep seeing this operation mentioned in places, and I've tried reading about to figure out what exactly it is, but I just don't seem to get it at all. So what are they? Clear examples would be great! :D  Just a few more questions - what are some practical applications of bitwise operations? When might you use them?


I use a Win10 computer to control a microscope, and the image acquisition can last 48 hours. If Win10 receives an update and restarts, the entire image stack gets ruined. We have tried many methods to prevent updating, to no avail. Current Win10 versions seem to be really keen on installing updates, no matter what the owner thinks. Is there anything we can do, programmatically if possible (short of pulling out the ethernet plug)?

We've upgraded some machines to Windows 10 and realized there were some updates which updated as required. However, I realized there was no option available to stop the download similar to that on Windows 7 and 8.1. The only way I could stop the download was to stop the Windows Update service.  My question is does anyone know of a way to stop auto updates or is stopping the service is the only solution?


I want to have a precise register accuracy in a twosided document. Unfortunately there will be some graphics in the text.  For a precise register the height of a graphic and the space above and below it in sum have to be a multiple of the line height.  How to force LaTeX to add space around the graphic which is flexible to achive a precise register?

I'd like to typeset documents using the '' of page layout. Good examples are on pages 40-53 of . The  package is helpful for this, but two additional features would be useful:   Automatic flow of text across (arbitrarily placed) columns / textpos blocks. Vertical line spacing enforced to be an integer multiple of a base line spacing, even when interrupted (for example) by an equation of arbitrary height.   Any ideas as to how either or both of these could be accomplished?


hi i have a doubt with the next card thats cames on the next set:    can i put a shokland into the battlefield pay the 2 lifes and get the land untaped like withc Growth Spiral? I think is like the same efect that the land enter the battlefield taped and then you have the option to choose.

One of my  is dying and I search for an . Does the Godless Shrine enters play untapped when I pay the 2 life?


We have a remote Xen server running a lot of guest machines (on Linux), with only a couple of IPs available.  Each guest machine should be directly accessible by the SSH from the outer world.  Right now we assign a separate domain name to each guest machine, pointing to one of the few available IPs. We also assign a port number to that guest machine.  So, to access machine named foo, one should do as follows:   $ ssh foo.example.com -p 12345   ...And to access machine named bar:   $ ssh bar.example.com -p 12346   Both foo.example.com and bar.example.com point to the same IP.  Is it possible to somehow get rid of custom ports in this configuration and configure SSH server, listening at that IP (or firewall or whatever on server side), so it would route the incoming connection to the correct guest machine, based on the domain address, so that following works as intended?   $ ssh foo.example.com hostname # prints foo $ ssh bar.example.com hostname # prints bar   Note that I do know about .ssh/config and related client-side configuration solutions, we're using that now. This question is specifically about a zero client configuration solution.

I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the firewall makes it much easier for management.  I'd like to find something similar to do SSH connections but haven't had much luck. I'd prefer not to simply use SSH tunneling since that requires opening port ranges other than the standard. Is there anything out there that can do this?  Could HAProxy do this?


If $T$ is a linear operator.  Prove the following:  $$ (\ker T)^\bot = \operatorname{Im}(T^*) $$  where $T^*$ is the adjoint operator of the $T$.

Where $ f: V \rightarrow V  $ is a linear operator on an inner product space $V$, I'm trying to show that $$ \mathrm{ker}(f^*) = \mathrm{im}(f)^{\perp} $$  i.e. the Kernel of the adjoint is equal to the orthogonal complement of the image of f.  I taking the inner product of $f(v)$, where $v \in V$  and an arbitary element of the kernel, $k \in \mathrm{ker}(f^*) $  $$\langle f(v), k\rangle = \langle v, f^*(k)\rangle = \langle v, 0\rangle = 0$$  And then taking the inner product of $f(v)$ with $w$, where $w \in  \mathrm{im}(f)^{\perp}$  By definition  of the orthogonal complement to the image of f,   $$ \langle f(v), w\rangle = 0 $$  My question is, now that we have   $$ \langle f(v), k\rangle = \langle f(v), w\rangle = 0 $$  What can we conclude? I would like to conclude that because $w$ and $k$ are arbitary elements of their respective subspaces, that these must be equal, i.e. $ \mathrm{ker}(f^*) = \mathrm{im}(f)^{\perp} $  However, I am not sure this is mathematically sound, is that conclusion valid or are there any technical barriers or additional statements that would have to be made to make that watertight?


I want to create an alias that can still take input, like:  alias ytx='youtube-dl -ciw -f bestaudio --yes-playlist   Is this possible within windows?  I tried  but it doesn't allow for input at the end.

By default my Windows PowerShell starts in C:\Users\Santosh, my XAMPP installation is in D:\ so the htdocs folder is located at D:\xampp\htdocs. If I have to edit something in htdocs folder then I have to type full cd D:\xampp\htdocs\ (autocompletion is not so kind) then edit that file.  If this PowerShell were a Bash I would do this in .bash_aliases file:  alias htdocs='cd D:\xampp\htdocs'  Is it possible to maintain Bash aliases like file and alias any command in PowerShell?


I always need to find some key words in thousands of feedback and locate it in which line. I used to redirect feedback to a file, and open file wiith vim, and execute vim command :set nu to do this. But it is pretty inconvenient and cause some unnecessary disk IO. So I wonder if there is a command can achive below results: $ sudo my-command | line-number-command | grep 'foo\|bar' 114  bla bla bla foo 514  bla bar bla bla 810  foo bla bla bla 1919 bla bla bar bla

So I have a file text.txt  with lines of some characters example:  abc     abc yxz abc   now I would like to number the lines like this and copy it to another file.  End expected result:  1  abc 2  abc  3  yxz 4  abc


I need to find the derivative wrt ${X}$ of:  $$ f({X}) = \operatorname{tr}( B^{T}X^{T}A^{T}CXD )$$  To make this simpler, I let $E = A^{T}C$, then I have:  $$ f({X}) = \operatorname{tr}( B^{T}X^{T}EXD ) = \operatorname{tr}( DB^{T}X^{T}EX )$$  We can rewrite this using the Frobenius inner product:  $$ f({X}) = XBD^{T}:EX$$  So we can calculate the differential easily now:  $$ df = (dX)BD^{T}:EdX$$  Unfortunately this is where I am stuck.    Perhaps we can rewrite this as:  $$ df = BD^{T}:(dX)^{T} E dX$$  But how do we isolate the dX value?    Edits:  I tried: $(dX)^{T} E dX = \operatorname{tr}( dXdX^{T}E) = \operatorname{tr}( EdXdX^{T}) $ but that isn't getting me anywhere either...

How is the derivative of $\mbox{Trace}\left\{ X^T A X B\right\}$ with respect to matrix $X$ equal to $AXB + A^TXB^T$?  \begin{align}   \nabla_X \ \textrm{Trace}\left\{ X^T A X B\right\} = AXB + A^TXB^T \end{align}  where $A$ and $B$ matrices are given.


I would like to know how to check if the date that I inputted is valid. public static bool JeVeljavenDatum(int dan, int mesec, int leto)     {         return dan > 0 && dan <= 31 && mesec > 0 && mesec <= 12 && leto > 0 && leto <= DateTime.Today.Year;      }      As shown above I don't really think that function is the optimal way to check the date so any tips would be welcome :) The problem is checking if the year is leap or not and when the months are only 30 days or 31. Or is the only way to check that with the long if methods like this. if ((Mesec == 1 || Mesec == 3 || Mesec == 5 || Mesec == 7 || Mesec == 8 || Mesec == 10 || Mesec == 12) && Dan == 31)         {             Dan = 1;             Mesec++;              if (Mesec == 12)             {                 Mesec = 1;                 Leto++;             }          }          if ((Mesec == 4 || Mesec == 6 || Mesec == 9 || Mesec == 11) && Dan == 30)         {             Dan = 1;             Mesec++;              if (Mesec == 12)             {                 Mesec = 1;                 Leto++;             }          }

I doubt I am the only one who has come up with this solution, but if you have a better one please post it here. I simply want to leave this question here so I and others can search it later.   I needed to tell whether a valid date had been entered into a text box and this is the code that I came up with. I fire this when focus leaves the text box.  try {     DateTime.Parse(startDateTextBox.Text); } catch {     startDateTextBox.Text = DateTime.Today.ToShortDateString(); }


Let $X_n \geq 0$ be independent for $n \geq 1$. Then the following are equivalent:   (i) $\sum_{n=1}^\infty X_n$ converges a.s.  (ii)$\sum_{n=1}^\infty  {[P(X_n >1) + E[ X_n I_{X_n \leq 1} ] }]  < \infty $  (iii)$\sum_{n=1}^\infty E [ X_n / (1+ X_n)] < \infty $  How could we show the above? I tried using Kolmogorov's Three-Series Theorem but I was unable to show it.

Question  Let $X_n\geq 0$ be independent for $n\geq 1$. The following are equivalent.  $\sum_{n=1}^\infty X_n<\infty$ a.s. $\sum_{n=1}^\infty[P(X_n>1)+E(X_nI(X_n\leq 1)]<\infty$ $\sum_{n=1}^\infty E(X_n/(1+X_n))<\infty$   My attempt I was able to prove $(1)$ implies $(2)$ and $(2)$ implies $(3)$ but not $(3)$ implies $(1)$. For $(1)$ implies $(2)$, observe that by Borel-Cantelli $\sum_{n=1}^\infty P(X_n>1)<\infty$, else $X_n>1$ infinitely often w.p.1 so that $(1)$ is violated. To see that $\sum_{n=1}^\infty E(X_nI(X_n\leq 1)]<\infty$, apply Kolmogorov three-series theorem (I think). For $(2)$ implies $(3)$ we can write that $$ \begin{align} \frac{X_n}{1+X_n}& =\frac{X_n}{1+X_n}I(X_n\leq 1)+\frac{X_n}{1+X_n}I(X_n>1)\\ &\leq X_nI(X_n\leq 1)+ I(X_n>1). \end{align} $$ Now take the expectation of both sides and sum on $n$ using $(2)$ to conclude $(3)$. For the last implication $(3)$ implies $(1)$, I tried to use Kolmogorov three series theorem. To this end put $Y_n=X_nI(X_n\leq 1)$. First note that $\sum_{n=1}^\infty P(X_n>1)<\infty$ since $$ P(X_n>1)\leq P\left(\frac{X_n}{1+X_n}>\frac{1}{2}\right)\leq 2E\frac{X_n}{1+X_n} $$ by Markov's inequality. But I am unable to show that $\sum EY_n<\infty$ and $\sum\text{Var}(Y_n)<\infty$. Any help is appreciated.


we have to build a houses on $m$ plots, such that no two consecutive plots exist on which it is allowed to build house calculate the number of possible ways of assigning free plots to buildings   example if we have $3$ plots then no of possible ways mark $X$ as a plot where building is allowed and $Y$ as a free plot, we have: $XYX$, $YXY$, $YYX$, $XYY$, $YYY$.

There are N plant pots available in nursery placed in a straight line. Bob is planning to take few of these pots. But whatever number of pots he is going to take, he will take no two successive pots.(i.e. if he is  taking a pot i from nursery, he will not take i-1 and i+1 pots.)  So given N, we need to calculate how many different set of pots he could select. He need to take at least one pot from nursery.  Example : Let N=3 then answer is 4. Please help to solve this problem


What is the correct process to pass a standard type traits qualified type as an argument to a template class?  I have the following (rather useless but useful to depict my problem) program that qualifies a type via standard type traits before passing to a template class.   #include <iostream> #include <type_traits> #include <vector> template <typename T> struct is_foo {     static bool const value = true; }; template<     typename Ty,     bool foo = is_foo<std::remove_reference<Ty>::type>::value > struct bar {     static bool const value = true; }; int main() {     int elem;     std::cout << bar<decltype(elem)>::value << std::endl;     return 0; }   This program compiles fine with VC12 but fails to compile with g++ 4.8 with the following error  prog.cpp:11:51: error: type/value mismatch at argument 1 in template parameter list for ‘template<class T> struct is_foo’   bool foo = is_foo<std::remove_reference<Ty>::type>::value                                                    ^ prog.cpp:11:51: error:   expected a type, got ‘std::remove_reference< <template-parameter-1-1> >::type’ prog.cpp: In function ‘int main()’: prog.cpp:18:33: error: template argument 2 is invalid   std::cout << bar<decltype(elem)>::value << std::endl;                                  ^   Any idea what might be wrong with my code?   Note If you need to play with the code, here is a version in  Note Also, it would be quite beneficial if you can refer me back to the standard. Note If I remove the std::remove_reference call, bool foo = is_foo<Ty>::value my code compiles fine. Refer

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


Hi I'm moving a mostly static site with some dynamic asp.net pages into a new CMS. The CMS uses SEO friendly URLs while the old site used dynamic URLs ending in .aspx. The client is worried that this might somehow change their great Search Engine Rankings especially since the URLs will be a bit different now. I'm trying my best to keep the new URLs as close as possible to the originals but I'm wondering if this move will help or hurt with their SEO. Any ideas?

I started working on a blog from last month. My blogs URL was quite big (for ex. http://my-old-long-url-blog.blogspot.com). I used it because I thought having 2-3 keywords in my URL will help me (I am not really sure that it really helps?).  My blog was getting 22-25 visitors everyday. I changed it's URL 4 days ago & added new URL. http://autohippo.blogspot.com. In blogger, there is a provision to edit & take any URL, anytime we want.  Now:   My old URL posts are still indexed (they appear in Google for particular keywords). My new URL posts are indexed but not ranked (i.e. when I searchsite:http://autohippo.blogspot.com they appear but i haven't received single visit from Google yet. I added this URL to my webmasters & even submitted sitemap.


I'm not sure whether to say ' SWTC has over 14 years' experience ' or ' SWTC have over 14 years' experience '. Can anyone help please?  Thanks.

Do native speakers of English use verbs in the plural form when speaking about one company? I've come across such use by supposed natives.   Don't you think that it is ungrammatical to use verbs in plural,mentioning one company? Maybe when you speak about one company you imply that it is a team or staff or a group of thousands people working in one place.     Fujitsu send newsletter to all subscribers once a month.    I've made up the above example. It is not a quote.


i need to connect  wich is an 3.3v I2C humidity sensor with Arduino,  this sensor has  open drain SCL and SDA drivers. is it possible to connect this sensor directly to Arduino 5V?.

Is there any IC that interfaces any 3.3V Input/Output to 5V Output/Input? I need it primarily for an Arduino Due but if there any bidirectional IC that works like that it would be great.  Some people advised me to use the SN74AHC125 and CD4050 ICs, but I don't understand how they work or how to interface with them.


My guess is that it diverges because 1/n diverges and sin is bounded between [-1,1]; however, I know that the product of two divergent series may yield a convergent. Any suggestions of going about this?

I think that the series $$\sum_{n=1}^{\infty} \dfrac{\sin(n)}{n}$$ converges conditionally, but I´m not able to prove it. Any suggestions ?


I don't mean if we had a dataset where if sequentially sampled, the labels would be [1111122223333]. In this case, the network learns to predict everything as 1, then 2, and so on and it's impossible to learn.  I mean: Assume you have Imagenet 2012 dataset. You shuffle it once. So now the labels and the images are shuffled. Since the dataset is huge, can the network really remember the previous epoch's predictions and overfit?  OR, I shuffle data 5 times and use each ordering in epochs 1,2,..5, and then at epoch 6 I use the Shuffled data#1 again.  Everybody talks about the importance of shuffling but I never read anything that addresses these problems.  BTW, this question was prompted by me using a database where accessing data sequentially is a lot faster than random access. If I knew that even a pseudo-shuffling helps, it would save me 6-7 hours per training epoch.

In machine learning tasks it is common to shuffle data and normalize it. The purpose of normalization is clear (for having same range of feature values). But, after struggling a lot, I did not find any valuable reason for shuffling data.  I have read this post  discussing when we need to shuffle data, but it is not obvious why we should shuffle the data. Furthermore, I have frequently seen in algorithms such as Adam or SGD where we need batch gradient descent (data should be separated to mini-batches and batch size has to be specified). It is vital according to this  to shuffle data for each epoch to have different data for each batch. So, perhaps the data is shuffled and more importantly changed.  Why do we do this?


I am new to rendering with cycles (I usually just use internal), and am trying to render a particular scene with it. The scene does include an explode particle system and a smoke system, however they are still quite simple. Though I believe there must be something wrong with my setup, as it is taking about 2 hours just to render one frame at a time. I have tried using GPU rather than CPU but it caused an error ("OpenCL build failed") so I ignored that option.  Computer details -  AMD A10-7300 Radeon R6, 10 Compute Cores 4C +6G 1.90 GHz  8.00 GB RAM  64 Bit Operating System  Windows 10      Any suggestions will be gratefully appreciated!  Michael.

I am currently using Sheep It! to render my blend (built on v2.68c) on multiple computers, and I noticed something rather strange. According to the log on-site, the frames rendered from other people's blends were completing in 3 to 4 minutes. This was on an 4 core i5. My main rig (with an 8 core i7) was completing frames in no less than half an hour. How is this possible?  To clarify, these people's frames are very complex, often with very detailed textures. I have 2 objects in my blend. Below are the options I changed for my blend:   Aspect Ratio: 1000px x 1000px Output: PNG Clamp Indirect: 0.98 Render Sampling: 128 Min Light Bounces: 0 Max Light Bounces: 4 Cycles Render   Is there something in there that I should change to make it go faster? I can't really comprehend how it's going to quickly.  EDIT: To answer what @Duarte asked...   System Specs: i7-920, 3GB DDR3, GT 630, Windows 10 I have two circles, extended to form a sort of coin with a star on it. It is not complex at all. I have Firefox and Steam running in the background, but not actively. I've been away from the computer for 8 hours and noticed this behavior. (I am running Blender from Steam.) I made sure when I began rendering that the blend was set for CPU rendering.          And to answer what @pycoder asked, yes, I am using Cycles Render.


root@sagar-Lenovo-Product:~# apt install git Reading package lists... Done Building dependency tree        Reading state information... Done Package git is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'git' has no installation candidate

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


When using Logistic Regression, and the categorical variables are one hot encoded, do we always have to drop a variable to avoid the dummy variable trap? If I recall it correctly, I have seen somewhere that if you use regularization, you don't need to drop 1 variable, but I can't find seem the find the article back. I'm a newbie. Many thanks

My understanding is that in machine learning it can be a problem if your dataset has highly correlated features, as they effectively encode the same information.  Recently someone pointed out that when you do one-hot encoding on a categorical variable you end up with correlated features, so you should drop one of them as a "reference".  For example, encoding gender as two variables, is_male and is_female, produces two features which are perfectly negatively correlated, so they suggested just using one of them, effectively setting the baseline to say male, and then seeing if the is_female column is important in the predictive algorithm.  That made sense to me but I haven't found anything online to suggest this may be the case, so is this wrong or am I missing something?  Possible (unanswered) duplicate:


I really don't get it. I've made e.th. in theory and still it says that I've probably missed "}" somewhere.   \documentclass[a4paper,12pt]{scrartcl}  \usepackage[ngerman]{babel}  \usepackage{bpchem}  \usepackage{times}  \usepackage[version=3]{mhchem}  \usepackage{graphicx}  \usepackage{pdflscape}  \usepackage[final]{pdfpages}  \usepackage{hyperref}   \usepackage{geometry}  \geometry{a4paper, left=25mm, right=20mm, top=2cm, bottom=2cm}  \newcommand{\degreeCelsius}{\ensuremath{\,^{\circ}\mathrm{C}}\xspace}   \begin{document}   \begin{tabular}{ll}  {\footnotesize Single-Photon Polymerization (1-PP):} &  {\footnotesize Two-Photon      Polymerization (2-PP):} \\  {\footnotesize   \begin{itemize}  \item UV-light irradiation  \item restricted to the surface  \end{itemize}}   &   {\footnotesize  \begin{itemize}  \item NIR-laser irradiation  \item pulses focused into the volume of the resin  \item condition: certain photon density value to be exceeded  \end{itemize}}  \\  \end{tabular}   \end{document}

I have the following (Non-working) example.  \renewcommand*{\arraystretch}{1.8} \begin{longtable}{lcl}     \caption{Summary of proven determinants for falling}\\ \toprule     \label{tab:FallPredictionVariables}     \textbf{Author} &\textbf{Subject count (M:F)} & \textbf{Determinants}\\     \midrule      \noindent Author 1 &     1780 (?) &      \begin{itemize}%[label={--},noitemsep,leftmargin=*,topsep=0pt,partopsep=0pt]         \item Recent falls (last 2 months)         \item Agitation         \item Frequent toileting         \item Visual impairment     \end{itemize}\\      \noindent Author 2 &     311 (?) &     \begin{itemize}%[label={--},noitemsep,leftmargin=*,topsep=0pt,partopsep=0pt]         \item Posture sway         \item Two or more falls in previous year         \item Low hand grip strength         \item Depressive state of mind     \end{itemize}\\         \bottomrule  \end{longtable}   However, it works OK outside a longtable environment:  \renewcommand*{\arraystretch}{1.8} \begin{table} \centering     \caption{Summary of proven determinants for falling}      \label{tab:FallPredictionVariables}     \begin{tabular}{lcp{60mm}}     \toprule     \textbf{Author} &\textbf{Subject count (M:F)} & \textbf{Determinants}\\     \midrule      \noindent Author 1 &     1780 (?) &      \begin{itemize}[label={--},noitemsep,leftmargin=*,topsep=0pt,partopsep=0pt]         \item Recent falls (last 2 months)         \item Agitation         \item Frequent toileting         \item Visual impairment     \end{itemize}\\      \noindent Author 2 &     311 (?) &     \begin{itemize}[label={--},noitemsep,leftmargin=*,topsep=0pt,partopsep=0pt]         \item Posture sway         \item Two or more falls in previous year         \item Low hand grip strength         \item Depressive state of mind     \end{itemize}\\         \bottomrule          \end{tabular}  \end{table}   As you can see in the picture below, it does what I'm expecting (except there is some vertical space over the first item that I would like to remove, and the solutions posted in  only seem to work for tabularx environments).    I'm unable to make my code work inside longtable, and I really need it (the complete table is very long).  Any ideas for both things:   To be able to have itemize inside longtable environment Eliminate the extra space for the first item   PS: This is the preamble for both examples:  \documentclass[a4paper,twoside,11pt,openright]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{longtable}   \usepackage[inline]{enumitem}    \usepackage{booktabs}  \begin{document} ... \end{document}


We say the universe is expanding, and by expanding we mean the distance between objects gets larger over time. We call that "Metric Expansion of the Universe". So far so good. I kind of get the idea about of distances getting larger.   Now, I  think of a balloon's surface and the distance between two arbitrary points on the surface gets larger as the metric expansion happens. But, in order for metric expansion to happen, doesn't the universe really expand INTO something. Balloon's surface expands into air so there's no problem imagining it, but how about the universe itself?   Also, do we mean the whole universe or observable universe when we say the universe is expanding? Both maybe?  Edit: Also, I know some multiverse theories that try to explain it, but the idea of universe is expanding has been there before multiverse was even considered, so I guess it can be explained without multiverse theories.

If the universe is expanding, what is it expanding into? When the big bang happened where did it occur?  When the big bang happened how did it occur?  Where did the energy come from? Energy can not be created or destroyed does that mean, energy has existed before the universe was here?


I'm working with a colleague who's proposed to split our 1 instance-database into about 7 databases (divided by data domain) for development and 7 identical databases for production. I get the test-production duality logic, but in what case or what advantages are there to splitting our 1, relatively straightforward database into 7 databases? Our data warehouse is only consumed/ used by ONE business intelligence application, period.  I am concerned about this direction so hopefully you can discuss the general reasons proposed for this split, and I can give you a run down of the current properties of the database.  1 database Data Warehouse: 352 GB total, 203 tables, 170 views  Proposed split:  A: 280 GB B: 43 GB C: 28 GB D: 1 GB E,F,G: < 1 GB combined   As you can see, this is already a head-scratcher in terms of proposed benefits as the storage won't even be remotely evenly split, with 80% remaining on 1 database. Apparently partitioning our db by schema isn't possible (from a hardware perspective) because we do not have Enterprise level SQL Server.  Reasons given for split:   Current db is poorly optimized, little documentation, sub-optimal datatypes, sub-optimal indices.   My rookie thoughts: Aren't these problems irrelevant to splitting the database? They are simply problems that need to be solved on their own either way.   There are 372 objects in the current database which makes it slow.   My thoughts: This hardly seems large in my opinion.   One database is harder to document and draw schema diagrams for than 7 databases (we will have views that will span multiple database).   My thoughts: .... This seems completely ridiculous to me, but maybe I'm wrong. We've already organized our data warehouse by 13 'source system' schemas.   One database will lead to more database deadlocks.   -- Isn't this problem also completely irrelevant to having multiple databases? It's my understanding that deadlocks occur at the table level (actually usually even just the row level, but eh). Even then, all our data inserts happen at midnight, all our selects downstream to the BI happen at 2 am. Having two processes update the same table is irrelevant to multiple databases, is it not (deadlock would happen either way)? Also, I personally have seen no evidence of table deadlocks occurring during normal operations.   Database technical ownership/ ownership.    It's only the two of us that work on the database. It's possible he wants to really segregate our 'fiefdoms'. Really, hasn't been an issue, but can't user permissions be determined at the schema level anyway?  What ARE valid reasons for splitting a Data Warehouse into multiple databases?  Would love to further my knowledge here about databases in general. Yes, I happen to be doing a lot of work on one with gaps in my knowledge, but well the job is what it is, what I've been thrust into. Stuff has been working great so far (knock on wood).

I'm not an expert on database performance. A colleague has suggested splitting a BI data warehouse database into several databases based on functional business unit - I believe still on one machine though I'm not sure - for performance reasons - there are many processes, procedures, logging, and monitoring happening. This has nothing to do with security or permissions - in fact those will be made more complicated potentially.  Again I can't say I'm the expert but for some reason, it doesn't seem logical to me. DB in total is about 500 GB and we have about 200 tables. Naturally it seems like most solutions from my cursory research recommend improving the disc drive speed (like SSD) or RAM (currently an anemic 4 GB) for performance reasons. Or possibly keeping one logical database, but fragmenting the schemas into 2-3 different machines.  But I don't know. Is there a significant use case or performance reason to split one database into 2 logical databases - other than user permissions/ security which aren't a factor here. There will be many views that span across these 3-4 databases.  Do read operations, normalization, tuning options, or database/table locks come into play here? My instincts tell me no - those are entirely separate issues, but I can certainly be wrong. I'm just concerned that we are going to trade minimal, if not zero, performance improvements for a whole lot of added complexity and maintenance.  I obviously am coming in here already leaning/ biased at one side, but wondering your thoughts.


I'm creating a graph with tkz berge, but I want my own labels, not the ones given by the empty ladder sequence. Is there any way to overwrite the tkz berge labels a_0, a_1, etc. and give my own?   Here's my code:  \documentclass[dvipsnames]{article} \usepackage{tikz} \usepackage{tkz-berge} \begin{document} \begin{tikzpicture} \begin{scope}[rotate=90] \tikzset{VertexStyle/.style ={shape = circle, shading = ball, ball color = RoyalPurple!60, % minimum size = 24pt, % draw}} \SetVertexMath    \grEmptyLadder[RA=2,RB=4]{3}       \EdgeFromOneToSel{a}{b}{1}{0}    \EdgeFromOneToSel{a}{b}{0}{1}    \EdgeFromOneToSel{a}{b}{1}{1}    \EdgeFromOneToSel[label={$1,2$}]{a}{b}{1}{2}    \EdgeFromOneToSel[label={$1,3$}]{a}{b}{2}{1}    \EdgeFromOneToSel[label={$2,2$}]{a}{b}{2}{2}    \end{scope} \end{tikzpicture} \end{document}

I found TikZ code for drawing an icosahedron :  \NeedsTeXFormat{LaTeX2e}[1995/06/01] \documentclass[a4paper]{amsart} \usepackage{graphics, tikz, tkz-berge, tkz-graph} \begin{document} \begin{figure} \begin{tikzpicture}   \begin{scope}[rotate=90]     \grIcosahedral[form=1,RA=3,RB=1.5]     \SetUpEdge[color=white,style={double=black,double distance=2pt}]     \EdgeInGraphLoop{a}{6}     \EdgeFromOneToSel{a}{b}{0}{1,5}     \Edges(a2,b1,b3,b5,a4)     \Edge(a3)(b3)     \Edges(a1,b1,b5,a5)     \Edges(a2,b3,a4)   \end{scope} \end{tikzpicture} \end{figure} \end{document}   The output is:    which is very nice, but I want to label the vertices v_1, v_2, ..., v_12 instead of a's and b's. However, I don't know how to change the code so that the labels will be different. I tried to simply replace all the a's in the code by v's but that gives an error.


Basically I am making a script where I would like to give a list of parameters to some option, say -l, eg: usr@domain:$./somescript -l hi bye cry nigh  The list specified to -l would be then stored into a specific array and iterated over. So far, I have been using these lines from Arch linux's mkinitcpio script to do so. This allows one to specify a comma-separated list to an option: _optaddhooks()  while :; do     case $1 in         -A|--add|--addhooks)             shift             IFS=, read -r -a add <<< "$1"             _optaddhooks+=("${add[@]}")             unset add             ;;  What are some other methods to do this, particularly when other options/parameters will be used? Can the list provided to an option be space separated? Or is specifying a list by "," (or some other character") easier to manage?

Say, I have a script that gets called with this line: ./myscript -vfd ./foo/bar/someFile -o /fizz/someOtherFile  or this one: ./myscript -v -f -d -o /fizz/someOtherFile ./foo/bar/someFile   What's the accepted way of parsing this such that in each case (or some combination of the two) $v, $f, and  $d will all be set to true and $outFile will be equal to /fizz/someOtherFile?


Does anyone knows what are special items required for Pokemon go gen 2 evolution and how to obtain them? I observed that some of the evolutions require new items, but i am currently not getting them on poke stops.

How can you obtain the new evolution items like King's Rock after the new update?


In the Close Votes review queue a post can be voted as duplicate. The duplicate which was flagged is available in the queue interface to allow to compare the two posts easily. When I'm in that queue I do as follows: I read the original post, I click on the Duplicate button, I read the duplicate, and if I agree I want to press the Close button that has the tooltip agree with this close vote. However, in this case the button does not do anything. It shows up as clicked (visible by a blue border) but the close dialog does not show up (in fact the screen does not change at all). Screenshot (from TeX.SE):  To actually cast the vote I first need to click on the Question button again, which shows the question that is to be voted on, and only then the Close button works as expected. Note that the close dialog does seem to be present in the page source. The Inspector in Firefox shows the following when the button is clicked while the duplicate target is viewed:  The dialog is however not shown on the page itself. Proposed bug fix: could the UI be changed to make the button work (i.e., show the close dialog) when viewing the duplicate? Browser: Firefox 79.0 (64-bits) on Ubuntu 18.04.

It appears that the recent UI change for the close vote review dialog introduced a bug when it concerns suggested dupes. Reproducing in Firefox 78.0.1 (Mac OS). In this dialog there are two tabs, "Question" that shows the question to be closed, and "Duplicate" that shows the suggested duplicate. When the latter tab is active, the "Close" button produces no action though it is not disabled.  Only when on the "Question" tab can you successfully vote to close the question.   There seems to be an uncaught exception raised by JQuery, when called from review.en.js:  SyntaxError: Document.querySelectorAll: '.close-question-link[data-questionid=63380604]' is not a valid selector  Looks like the original question ID may be lost when switching to the "Duplicate" tab.


I set up an old computer on desktop Ubuntu with the goal of having it as a NAS, media server, and torrent machine. After quite a long time and tries with FreeNAS, and Ubuntu server, I finally tried a normal desktop distro and got it working near perfectly. However, now that I've unplugged the screen, when I connect via vnc, the desktop is completely black (and no, it isn't a problem with the power saving settings). Is there any way to force the screen to act as though there's a physical screen or otherwise get it to work?

I have a Ubuntu machine that I use as a Plex and data server. There is no monitor connected to it. This wasn't a problem with Ubuntu 16.04, but now, with 18.04, it is and it shows a black screen whenever I connect using VNC. I've already created the virtual display using the answer to this question:   Create a 20-intel.conf file: sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf  Add the following configuration information into the file: Section "Device"     Identifier "intelgpu0"     Driver "intel"     Option "VirtualHeads" "2" EndSection  This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads to your needs.  Then I made a shell script (don't forget to set executable) and put that in Startup Applications: #! /bin/bash /usr/bin/xrandr -d :0 --output VIRTUAL1 --primary --auto /usr/bin/xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900$ /usr/bin/xrandr --addmode VIRTUAL1 "1600x900_60.00"  After this, it still shows a black screen when I connect using VNC. BUT, when I run this with SSH: export DISPLAY=:0 xrandr  After that, I can see my desktop in VNC... Any ideas on how to fix this? Also, when I see my desktop after all this, the dock is missing and all the icons are in the same spot.


To create the material for my model, I've constructed a node tree. This node tree is interactive (based on the dimension of the model it changes its values). When I export the final model as an obj file, the corresponding MTL file is generated. The problem is that when I import again the model in Blender the node tree is not present and the color of the model is white. I can' t create a group and simply load it, as the node tree is interactive and not unique, I've tried to check the box "copy" when I export the model and I've also checked that the files have the same name and are in the same directory. I don't understand if the problem is during the export or import operation. Do you have any suggestion?

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


I am a beginner to Selenium Webdriver.I know some basics of it but don't have whole contents about selenium webdriver with me which I should learn.I also know java and its concepts very well.So, I preferably want to learn selenium in java.  Is there any one who could help me with the contents and the learning sites which are free for selenium learning? I have done lot of reasearch on selenium webdriver but most of the sites provide paid learning for selenium. I want to learn selenium by self. So, if I could get any site which provides free video tutorials for all contents then it will be heaven for me.  Thanks in advance!  (CurrentlyIi am doing job as manual tester but I want to move my career into automation field and thought selenium is the best way to start with)

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated tests and to introduce automated testing into my company.  I've done a little research and it seems that Selenium is quite big when it comes to writing automated tests, but most of the tutorials I've come across reference the Java language.  Some questions:   Is Java the primary language used for Selenium tests?  Do you recommend it over C# ?  Wat is the process of writing test scripts?  Are there Frameworks that I should use that can make the process even easier?