Lately, I've noticed that my memory usage is nearing almost 100% while playing games such as Overwatch, Rocket League, and Fortnite, and it's causing my game to stutter and crash. After booting, I noticed that my memory usage is around 50% while it used to be only at <=30%. The processes that are displayed in Task Manager are no where close to adding up to 4GB of RAM usage.        I've updated all of my drivers, and still no luck. I've looked around but most problems associated with this are associated with high non-paged pool memory and memory leaks.

I have been feeling this way for a while, looking at task manager mentally ballparking how much physical memory should be in use, and noticing a large disparity. I finally got around to measuring it. Taking the results of tasklist and adding, gave about 3.87 GB. Task manager told me I was using 4.6 GB of memory. This seems like a large disparity. Where did it go?  EDIT: So its clear, it is not going to prefetch. It has also been suggested that its part of the OS, but not part of any of the system processes. If this is true, please find a way to get the OS to tell me how much memory is getting used. Since I want to find out where the memory went, asking me to look at the difference does nothing for me.  EDIT 2: It is not the following:   The kernel The cache Hardware reserved memory   Picture of resources taken up. Not quite sure what it will do but...


I'd like to customize the color of just the command prompt of a BASH shell, while leaving the rest of the terminal using the default color scheme.  In example, I'm using one of the default color schemes that come with Konsole, "green on black", which, surprisingly enough, displays a green text over a black background.  Given the following example:  user@host:~> some command output of some command output of some command output of some command output of some command output of some command output of some command output of some command output of some command user@host:~>   what should I do to make the terminal display only user@host:~> some command (or even just user@host:~> ) with a different color, let's say a light blue?  All of this in order to stand out more when the output occupies many lines, to make it more visible where the output starts and ends.

Browsing the last command's results in Bash is a bit hard because the command prompt and results are the same color. This makes it hard to separate the results of consecutive commands.  How do I change the color to pink for example?


I rewrite N as kg m s^-2 and try to get Pmax, which is in Watts to kg m^2 s^-3 but when I do so I am left with an rad^2.

I know mathematically the answer to this question is yes, and it's very obvious to see that the dimensions of a ratio cancel out, leaving behind a mathematically dimensionless quantity. However, I've been writing a  (the specifics of which are out of scope), which has me thinking about the problem because I decided to handle angle units as dimensioned quantities, which seemed natural to enable the unit conversion with degrees. The overall purpose of the library is to disallow operations that don't make sense because they violate the rules of dimensional analysis, e.g. adding a length quantity to an area quantity, and thus provide some built-in sanity checking to the computation. Treating radians as units made sense because of some of the properties that dimensioned quantities seemed to me to have:  The sum and difference of two quantities with the same dimension have the same physical meaning as both quantities separately. Quantities with the same dimension are meaningfully comparable to each other, and not meaningfully comparable (directly) to quantities with different dimensions. Dimensions may have different units that are scalar multiple (sometimes with a datum shift).  If the angle is treated as a dimension, my 3 made up properties are satisfied, and everything "makes sense" to me. I can't help thinking that the fact that radians are a ratio of lengths (SI defines them as m/m) is actually critically important, even though the length is cancelled out. For example, though radians and steradians are both dimensionless, it would be a logical error to take their sum. I also can't see how a ratio of something like (kg/kg) could be described as an "angle". This seems to imply to me that not all dimensionless units are compatible, which seems analogous to how units with different dimensions are not compatible. And if not all dimensionless units are compatible, then the dimensionless "dimension" would violate made-up property #1 and cause me a lot of confusion. However, treating radians as having dimension also has a lot of issues, because now your trig functions have to be written in terms of $\cos(\text{angleUnit}) = \text{dimensionless unit}$ even though they are analytic functions (although I'm not convinced that's bad). Small-angle assumptions in this scheme would be defined as performing implicit unit conversions, which is logical given our trig function definitions but incompatible with how many functions are defined, especially since many authors neglect to mention they are making those assumptions. So I guess my question is: are all dimensionless quantities, but specifically angle quantities, really compatible with all other dimensionless quantities? And if not, don't they actually have dimension or at least the properties of dimension?


We all know that $$15=3 \times 5$$  And $$15 =(-3) \times(-5)$$  Since $3 \neq -3$ and $5 \neq -5$ , we have two different prime factorizations !  Is this wrong ?   If this is wrong , then there are no negative primes !

Do we have negative prime numbers?   $..., -7, -5, -3, -2, ...$


The below part of a circuit is from the AN2586 Reference design for an STM32F1:     RESET goes to the NRST pin of an STM32, and the left clipped line towards a JTAG connector.  B1 is a button, but what is the advantage of having the lines near 3 and 4? What is the difference with a simple 2 pin button?

What are those 1 4 and 2 3 on both sides of the button? They look like having connected to same places at both ends, it looks like redundant cable to me.  So, what are they representing?


I have a custom object called Insurance which has a Start Date field. I am planning to use bubble sort to sort the records based on the Start Date. This is what I have tried so far and got confused as to how to return all the records after sorting the dates.  //Sorting logic            List<Insurance__c> listOfRecords = new List<Insurance__c>();         integer iterationSize = listOfRecords.size();         for(Insurance__c iList1 : insuranceList){             listOfRecords.add(iList1);         }                                    for(integer y=0; y<listOfRecords.size();y++){             boolean swapped = false;             for(integer x =0; x< iterationSize; x++)             {                 if(x+1 == listOfRecords.size()) break;                 if(listOfRecords.get(x).IAR_Start_Date__c < listOfRecords.get(x+1).IAR_Start_Date__c)                 {                     Insurance__c swapVal = listOfRecords.get(x);                     swapped = true;                     listOfRecords.set(x, listOfRecords.get(x+1));                     listOfRecords.set(x+1, swapVal);                 }             }             iterationSize--;             if(!swapped){y= listOfRecords.size();}                      }    Edit 1: Insurance Wrapper Class to sort the records based on the IAR Start Date global class InsuranceWrapper implements Comparable {          public Insurance__c ins;     public Date insuranceDate;          public InsuranceWrapper(Insurance__c i){         ins = i;         insuranceDate = i.IAR_Start_Date__c;     }            // Compare Insurance based on the Insurance Date.     global Integer compareTo(Object compareTo) {         // Cast argument to OpportunityWrapper         InsuranceWrapper compareToins = (InsuranceWrapper)compareTo;          // The return value of 0 indicates that both elements are equal.         Integer returnValue = 0;         if (insuranceDate > compareToins.insuranceDate) {             // Set return value to a positive value.             returnValue = 1;         } else if (insuranceDate < compareToins.insuranceDate) {             // Set return value to a negative value.             returnValue = -1;         }          return returnValue;            }            }

I have a List<ListWrapper> comprised of List<Knowledge__kav> and List<Community_Event__c>. I would like to sort List<ListWrapper> by date but the two inner lists have different date fields. How can I sort?  Code Snippets`public class WhatsNewController {  public class ListWrapper{     @auraenabled     Knowledge__kav article {get; set;}     @auraenabled     Community_Event__c event {get; set;} }  public static List<ListWrapper> getWhatsNew(){       //Get all events     String eventQuery = 'Select Id, Title FROM Knowledge__kav WHERE Title != null ';     eventQuery = eventQuery + 'ORDER BY CreatedDate LIMIT 20';     List<Community_Event__c> events = database.query(eventQuery);      //Get all articles with filters (kav) applied     String articleQuery = 'Select Id, Name FROM Community_Event__c ';      articleQuery = articleQuery + 'ORDER BY LastPublishedDate LIMIT 20';     List<Knowledge__kav> articles = database.query(articleQuery);      List<ListWrapper> listEw = new List<ListWrapper>();     for(Community_Event__c cE : events){         ListWrapper eW = new ListWrapper();         eW.event = cE;         listEw.add(eW);         listEw.();                    for(Integer j=0;j<listEw.size();j++)                     System.debug('list values='+ listEw[j]);     }      List<ListWrapper> listAw = new List<ListWrapper>();     for(Knowledge__kav kA : articles){         ListWrapper aW = new ListWrapper();         aW.article = kA;         listAw.add(aW);                    for(Integer j=0;j<listAw.size();j++)                     System.debug('list values='+ listAw[j]);     }      //Sort the lists ----> listEw listAw sort by date and put into following list      List<ListWrapper> listOfWrappers = new List<ListWrapper>();         listOfWrappers.addAll(listAw);         listOfWrappers.addAll(listEw);         listOfWrappers.sort();         //listOfWrappers.Sort((x, y) => DateTime.Compare(x.Created, y.Created));       return listOfWrappers;  }`


is a program that has tweaks and programs that are otherwise proprietary, and you can install them with one click.

I would like to install the restricted extras package, which I didn't select during the install. How can I do that?        is a meta-package that installs:         Support for MP3 and unencrypted DVD playback   Microsoft TrueType core fonts   Flash plugin   codecs for common audio and video files


I am trying to follow Bash Cookbook to learn about Bash Scripting. I am on example 6.8 Testing with Regular Expression.   I have the following script:  #!/usr/bin/env bash # cookbook filename: trackmatch  for CDTRACK in * do      if [[ "$CDTRACK" =~ "([[:alpha:][:blank:]]*)- ([[:digit:]]*) - (.*)$" ]] then     echo ${BASH_REMATCH[2]} else     echo Error $CDTRACK fi done   I apply this to a couple of files in my directory:  Ludwig van Beethovern - 02 - Adagio un poco mosso.ogg  Ludwig van Beethovern - 01 - Allegro.ogg  I always get an error returned. The issue appears to be with ([[:alpha:][:blank:]]*)- ([[:digit:]]*) - section of code. When I do have the if statement as: if [[ "$CDTRACK" =~ "(.*)$" ]] then there is no error.  Any thoughts as to what I am doing wrong?  I am running the code on AWS, Bash v 4.2

Look at this if block:  #!/bin/bash  str="m.m" if [[ "${str}" =~ "m\.m" ]]; then     echo "matched" else     echo "not matched"     exit 1 fi  exit 0   This should print "matched", but it doesn't. Where am I going wrong?


I'm just starting off as a data scientist and i need to understand how regression,loss functions, overfitting, PCA,Clustering: k-means, random forest and much more.. algorithms function under the hood, the maths behind them and when to use them. I started with some MOOC courses but not a fan, it's just not my style of learning as i need practical examples or books i can dive into with detailed examples i can just apply myself after understanding how each algorithm works and some 20 mins vids with scarce maths explanation is not what i aim for, i've done some research and ended up with these books:  -python for data analysis  -Python Crash Course  -oreilly hands on machine learning with scikit learn and tensorflow  -automate the boring stuff with python  kindly note that i have some python experience(less than a year) and unfamiliar with tensorflow , keras, scikit-learn etc..  Kindly also note that i didn't mention any maths books to explain how the machine learning algorithms work so i'm open to suggestions .

I've taken an ML course previously, but now that I am working with ML related projects at my job, I am struggling quite a bit to actually apply it. I'm sure the stuff I'm doing has been researched/dealt with before, but I can't find specific topics.  All the machine learning examples I find online are very simple (e.g. how to use a KMeans model in Python and look at the predictions). I am looking for good resources on how to actually apply these, and maybe code examples of large scale machine learning implementations and model trainings. I want to learn about how to effectively process and create new data that can make the ML algorithms much more effective.


I would like to know how to construct a table with 16 columns and that fit on one page. Can anybody help me?  \begin{center}  \begin{longtable}{|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|p{1.5cm}|} \caption{Trabalhos Selecionados após critérios de Seleção}  \label{tab:laal} \\  \hline \multicolumn{1}{|c|}{\textbf{Identificador}} & \multicolumn{1}{c|}{\textbf{Autores}} &  \multicolumn{1}{c|}{\textbf{Ano}} &  \multicolumn{1}{c|}{\textbf{Titulo}} & \multicolumn{1}{c|}{\textbf{Resumo}} &  \multicolumn{1}{c|}{\textbf{Benefícios}} &  \multicolumn{1}{c|}{\textbf{Limitações}} &  \multicolumn{1}{c|}{\textbf{Padrão de Projeto}} &  \multicolumn{1}{c|}{\textbf{Elementos/Padrões Arquiteturais}} &  \multicolumn{1}{c|}{\textbf{Tecnologias (frameworks, APIs)}} &  \multicolumn{1}{c|}{\textbf{Modelo de Acessibilidade}} &  \multicolumn{1}{c|}{\textbf{Nível Acessibilidade}} &  \multicolumn{1}{c|}{\textbf{Tipo de Deficiência}} &  \multicolumn{1}{c|}{\textbf{Tecnologia Assistiva}} &  \multicolumn{1}{c|}{\textbf{Linguagens}} &  \multicolumn{1}{c|}{\textbf{Tipo de Avaliação}}  \\ \hline \endfirsthead  \multicolumn{16}{c}% {{ \tablename\ \thetable{} -- continuação  da página anterior}} \\ \hline  \multicolumn{1}{|c|}{\textbf{Identificador}} & \multicolumn{1}{c|}{\textbf{Autores}} &  \multicolumn{1}{c|}{\textbf{Ano}} &  \multicolumn{1}{c|}{\textbf{Titulo}} & \multicolumn{1}{c|}{\textbf{Resumo}} &  \multicolumn{1}{c|}{\textbf{Benefícios}} &  \multicolumn{1}{c|}{\textbf{Limitações}} &  \multicolumn{1}{c|}{\textbf{Padrão de Projeto}} &  \multicolumn{1}{c|}{\textbf{Elementos/Padrões Arquiteturais}} &  \multicolumn{1}{c|}{\textbf{Tecnologias (frameworks, APIs)}} &  \multicolumn{1}{c|}{\textbf{Modelo de Acessibilidade}} &  \multicolumn{1}{c|}{\textbf{Nível Acessibilidade}} &  \multicolumn{1}{c|}{\textbf{Tipo de Deficiência}} &  \multicolumn{1}{c|}{\textbf{Tecnologia Assistiva}} &  \multicolumn{1}{c|}{\textbf{Linguagens}} &  \multicolumn{1}{c|}{\textbf{Tipo de Avaliação}}  \\ \hline  \endhead  \hline \multicolumn{16}{|r|}{{Continua na próxima página}} \\ \hline \endfoot  \hline \hline \endlastfoot  \end{longtable} \end{center}

I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met:   The table is too wide to fit within the text block or page. That is, I'm exceeding some horizontal restriction. The table is too tall to fit within the text block or page. That is, I'm exceeding some vertical restriction.   What are my options to make this table fit? If it doesn't fit, regardless of my attempts, what other options exist?


The plan for moving Harry before he turned 17 seemed highly risky at best given the fact that its details were leaked to Voldemort. Why did Snape plant this idea on Mundungus, just to deliberately leak the information to Voldemort?

It seems suspicious that Snape told Voldemort when Harry Potter would be moved from his home. At that point of time, he had Voldemort's complete trust, having killed Dumbledore, why did he need to perform an extra attempt to help Voldemort find Harry Potter?


In JS, is there a regex to check the given regex itself is valid or not?

Is it possible to detect a valid regular expression with another regular expression?  If so please give example code below.


If my rogue attacks while hidden and dual-wielding shortswords, do I have advantage on both of my attacks (from ) or only on the first attack?

A hidden ranger with Extra Attack attacks a surprised creature. Do both attacks benefit from Advantage, or just the first one?  If the ranger used Horde Breaker on another creature, would this attack benefit from Advantage?


I have one simple question: Are there any official rules regarding studying books? Any kind of books really. For example, if I spend 10 days downtime studying books does my Intelligence or Wisdom increase, or do I learn anything if I study books regarding a subject?

My party has stumbled upon an abandoned library.  They've found some books that they want to read and study.  I've told them if they read and study the books they'll gain a proficiency bonus for the subject and one book will give them the knowledge to create a magic item.    Unfortunately, I'm not sure how long it should take to read and study these books. An hour or day seems too short.  Three to four weeks, reading a couple hours a day, is closer to what I spend in real life (and honestly reading just one book in real life does not give one any kind of proficiency).  Given what they're about to face, it would be best for them to get the bonuses and construct the magic item sooner rather than later, but I want to keep some air of realism too.    Are there any guidelines and, if not, are there tested and successful house rules I could use?  Obviously length, difficulty of the subject, intelligence of the reader, will have some effect on this.  So I'm hoping for something like \$D\div(I+1)\$ days for every 100 pages, where \$D\$ is the difficulty factor (based on language and subject) and \$I\$ is the character’s intelligence bonus.  Or maybe I'm just being too mathematical.    I'm more interested in balancing giving bonuses/knowledge through books, which I think should be somehow related to how long it takes to read a book.


When using xrightarrow, I sometimes gets weird artifacts on the arrow: it looks like the arrow is somewhat "doubled" in the middle. But this only happens when zoomed out; when I zoom in very close, the artifact disappears. This happens with all the PS and PDF viewers that I've tried.  \documentclass{minimal} \usepackage{amsmath} \begin{document} $\xrightarrow{\quad}$ \end{document}   Result (for SumatraPDF when compiled as a PDF, the results are similar if not identical for other viewers, PDF and PS alike):    Here I just put space to make the arrow longer, but it happens no matter what I put on the arrow. Is there a way around this issue, or an alternative to xrightarrow?

Using amsmath and extarrows packages, we have many extensible arrows. But these arrows look ugly, since some parts in an arrow are boldfaced.     Are there any better-looking extensible arrows?


In an application, I deal will a large number of images from which I successively extract particular values to compute their means and variances. Because storing them all would mean storing Gigas, I'd like to store only things that would allow me to compute the global means and variances. What do I have to store?

I am creating a component that aims to calculate the average and variance of a metric associated with events happening during time but with a limited internal memory.  Imagine that the events are visitors entering in a shop and the metric is their age.  During time, my component receives events with the age of each visitor. I don't want my component to memorize the history of each ages. Ideally, I would like a light component storing only: the average A, the variance V and the number of events N.  After each event with age E, I want to update those three values :  N<=N+1 A<=(A*N+E)/(N+1) V<=???   What for V? I am thinking of something like :  V<=(V*N+(E-A)^2)/(N+1)   I know it is not exact as my previous V is using the old A which is no more the average.   Q1 - Is there an exact formula? Q2 - If not, is my proposal a good estimate? Is it biased? Will it converge correctly when N increases? Q3 - Is there a better formula?


Basically in Bash, what I'm trying to do is take a input of seconds from a user and find the hours. So basically if the user enter 35 the output should be 0.00972222.  But bash gives me is a zero.  heres the command I have:  echo "Enter the seconds you wish to convert to hours: " && read sec && echo " $((sec/3600)) is the amount of hours "   Is there a way I can make it so it prints out 0.00972222 if I enter 35.  Thanks!

Using echo "20+5" literally produces the text "20+5".  What command can I use to get the numeric sum, 25 in this case?  Also, what's the easiest way to do it just using bash for floating point? For example, echo $((3224/3807.0)) prints 0 :(.  I am looking for answers using either the basic command shell ('command line') itself or through using languages that are available from the command line.


I am currently able to boot from an external drive or multiboot USB. Taking this concept one step further, I have 3 questions:   1) Is it possible to install and run Windows 10 on a portable external hard drive or USB card with the same functionality of being installed on the internal drive?   2) Is it considered legal to do so or will it affect Windows updates in any way?   3) What are the steps to do that? (please outline steps I can follow so I don't lose a drive in the process). :)  EDIT: My question deals specifically with Windows 10, the legality and method of making it a standalone OS running from an external device and what effect if any it has on Windows Update; questions not dealt with in the other question.

Is it possible to install Windows OS to plug and play storage devices such as external hard drives, HDD enclosures (with SATA hard drives), USB flashdrives and the likes? What OS's? And if it's possible, can I boot on it after the installation/formatting?  I've read someone has tried this already using Windows XP but failed since XP reinitializes all attached USB devices before loading OS, thus disabling the External HDD that is attached via USB port.  What about other Windows OS: on Windows 7 or 8.... or Windows 10?  I'm asking this because I'm planning to create a portable OS. When I'm at my house, when I go to my grandmother's, or to a friend's place: I just simple plug that portable storage device, change the boot priority, and turn on the system and ta-da! I will only see one environment every time.


I wasn't able to find  option in the app to delete our wrong answers on other's question.

Currently, the only way to vote to delete (and undelete, since you can't see deleted posts) in the Android app is to open the post in a browser, and then vote to delete from there.  Can we get delete vote functionality within the app, as well as the ability to delete our own posts?  Worth to mention: users , so it's possible in the API.  Related:


I know that $\cos x \leq (\sin x)/x \leq 1/(\cos x)$, but I need to prove this and I don't know how to do that. I've seen diagrams used to show the relationship, but can it be done without?

How can one prove the statement $$\lim_{x\to 0}\frac{\sin x}x=1$$ without using the Taylor series of $\sin$, $\cos$ and $\tan$? Best would be a geometrical solution.  This is homework. In my math class, we are about to prove that $\sin$ is continuous. We found out, that proving the above statement is enough for proving the continuity of $\sin$, but I can't find out how. Any help is appreciated.


Is a C++ class without inhertitance, overloaded operators, contructors or destructor and private members same as a C struct? My criteria for "same" are as follows:  They are interchangeable in the code The machine code the compiler generate are same on a line by line basis It makes sense to say they are the same (on a conversation)  If I were to slap a class and make every member public, do I still have the same program? Is the generated assembly same? Essentially, is a C++ POD equivalent to a C struct with the same members?

I've come across this term POD-type a few times. What does it mean?


I am working through an example in Hungerford. In this example, he asserts that it's not difficult to show that the only homomorphism from $\Bbb{Q}$, regarded as an additive group, to $S_3$ is the trivial homomorphism. I am having trouble seeing this. Treat $\Bbb{Q}$ as an additive group, and let $G$ be some group (written multiplicatively). If $f : \Bbb{Q} \to G$ a homomorphism, I believe that $f(p/q) = f(1)^{-pq}$, so that the homomorphism is determined by how it maps $1$ (at least is what I proved on my own; it may be wrong). In our case $G = S_3$. If $f(1)= e$, then $f$ is the trivial homomorphism. If $f(1) \neq e$, then...  Not sure what to do at this point. I could use a hint.

Prove that if $f$ is a homomorphism from $(\Bbb Q,+)$ to a finite group $G$ then $f(q)=e_G$ for all $q$ in $\Bbb Q$.    I attempted the following:  Firsty I reason that $f(1)$ generates the entire image, because $f(p/q)=p/qf(1)$. But since $f[\Bbb Q]$ is an infinite subgroup of $G$ and $G$ itself is finite we are forced to let $f(1)=e_G$.  Is this ok?


I was attempting to answer a question on StackOverflow, but repeatedly ran into an error while submitting my answer.  When I clicked "Post Your Answer", it would hang for a while and then fail; giving me the error message "An error occurred submitting the answer".  At first I thought it was a momentary glitch, so I copy/pasted my answer to a file to retry later.  After repeatedly getting this error from many attempts over the course of a few hours, I tried submitting the answer piecemeal to see if StackOverflow would accept part of the answer.  In the end, I found it to be due to the use of "UNION-ALL" (without the dash).  If I put a dash between "UNION" and "ALL", my answer would save fine.  If I removed it, I would encounter the error again.  In addition, I encountered the same problem when simply trying to type "UNION-ALL" in the comments on the question and I'm encountering it here.  Does anyone know why this is happening?  Is this a bug in StackOverflow?  Here is a link to the  I posted.

I've encountered issues posting comments or answers numerous times over the last month, I've narrowed it down that it only occurs when I use UNION and ALL next to each other (ie SQL).  If I separate them by a dash it works fine. The error is always generic:  'An error occurred during ____ submission'  The blank being either comment or answer. Someone suggested I post this question here.  I do not see a similar question, interestingly even trying to search the site for UNION and ALL errored, similarly separating them with + returns an error. Screenshot:  This occurs in Chrome or IE, on Win 7, will test tonight from personal machines. UPDATE:  Apparently through good coincidence I just never had attempted to use UNION ALL when answering questions from home, works fine here.  So it must indeed be some firewall/policy setting at my office with very specific criteria, never found any other code bits I couldn't post, and don't have a problem with UNION ALL on other sites.  Still interested to find out how it's being blocked given our high level of access.


This is just a question of curiosity. Let's say I register for a new web domain and purchase a hosting account. I set up a website, and soon search index bots are visiting the site to learn more about it. How did those bots know how to find the site if I haven't linked to it from anywhere else on the web?   My guess would be that the search providers obtain new IPs from either the domain name registrar or the hosting provider and feed these to their spiders, but I've been unable to find a clear answer on this.

I recently registered a new domain, pointed it to my existing server, and set up a minimal page just saying "test" and nothing else.  I just discovered tonight that the page is already indexed in Google! There are no links to the site (I haven't even told anyone about the domain since I haven't done anything with it yet).  Is Google trawling WHOIS records or something?


I have a question i have always written functions in javascript for returning or setting values of other elements like so:  function test(x, y){    return x*y; }   and call the function like so:   test(20, 50);   but in libraries like jquery you also see functions like so:  var test = something.test();   so my question is what is the difference between the following functions .test() or test() or are they the same and how is this other way of writing a function called?  and how do you write a .function()   Hope to learn something new, sorry if this is a bit random but i am just very curious.

Can someone provide a simple explanation of methods vs. functions in OOP context?


I'm a psychology student (and 3D design noob) who's been tasked with designing items for a test of spatial ability like this example...     I've been playing around with Blender, and I've gotten this far...   So the shapes I want are there, but I'm having trouble getting out rendered on white with black outlines.  I tried changing the World Horizon Color to white, which fixes the background, but the cube object renders solid. Any ideas on how to get it outlined like in the example?  P.S. That "LS" in the example is meant to be a window. Any suggestions on how to accomplish that would also be wonderful; I haven't even attempted it yet.

I have a schematic of a raspberry pi that is completely flat, no solid faces, just connected vertices.  Is it possible to render these lines somehow, so that it looks like a 2D drawing?  Maybe with freestyle?


I did something mildly dumb and decided I'd finally try updating my old iPod Touch 5 to the latest version of iOS (9.3.5) from the iOS 7.1.2.   Unfortunately, while it meant that some of my apps worked better, it also introduced a good 10s input lag whenever I wanted to unlock the screen or change songs more than once. I tried using a backup from before the update, but for some reason it kept the iOS version at 9.3.5, so I tried downloading 8.4.1 and updating from that .ipsw file.   The update failed with an error 3194 (presumably, 8.4.1 has exited the "signing window" I saw mentioned when I was downloading the .ipsw and thus won't update properly), and now my iPod Touch is locked into recovery mode.   Is there a solution to circumvent the update verification, or otherwise restore my iPod to its former, functional state? Or am I doomed to either an unconscionable amount of lag or buying a more recent iPod?

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


Something (I'm not sure what) created a directory and file named \dev\nul on my C: drive. With a dir command, it appears to be a normal file with a size of 949 bytes, but interestingly, with another file utility it looks like this:  [a-----]  2-25-2014 23:56:38  949   \\.\nul   If I try to do del \dev\nul I get this:  The filename, directory name, or volume label syntax is incorrect.   Same results with rd \dev /s. If I use my file utility, I get this:  -rm  \\.\nul...FAILED: The parameter is incorrect.   Deleting it from an Explorer window yields the same error.  Although it appears to be harmless, I find it annoying and want it gone. Does anyone know how to make this file go away?

I have a Windows XP box (NTFS filesystem) on which I found a file named NUL. I have not been able to remove this file in any usual way. The file appears to be owned by Administrator in the SYSTEM group, unlike any other file in the same directory (the other files are owned by my user id).  How do I get rid of this file? Where did it come from?


Some powers, for instance the warden's Earth Shield Strike, say "1[W] plus Strength modifier damage", though I've seen the same line used with different ability scores in different powers.    What is this "modifier damage"? I think it is your strength score, cut in half?

So I was filling out the character sheet and suddenly I saw an "ability modifier". I'm confused, and am asking these questions for clarification:   Where do you put your "Standard Array" number. In score? Abil Mod? Mod + 1/2 Lvl? What is MOD? (As my concern, Abil Mod is the table of chart from -5 to +5) In Fort, Ref, Will, do I put my total of score, abil mod, or mod + 1/2 lvl How many healing surges do I have? It says Ability Modifier, but in the score table, abil mod or mod + 1/2 lvl? Finally. In skill, what do I write in the Abil Mod + 1/2 lvl?   (Yes, you can tell me that I'm confused :p )  Follow up question:   I'm human. I can add +2 to one ability. Where should I put it, will it modify the score and the ability modifier? Since I'm human, my healing surge is 6 + constitution modifier. My Cons abil mod is 1, will it means that I got 7?


I have Schengen visa delivered by Germany, in the German embassy in Morocco,  I have already Mult entry 90 days, my visa will expire the 11th March 2014. I wanna visit Romania for 4 days. Can I go to Romania by Schengen visa? From Brussels to Bucharest for 4 days, from the 20th February to the 24th February.

I'm planning to go to England, Romania and Italy in June.  I have applied for the English and the Italian visa and both were approved, But when I went to the Romanian embassy in Dubai, I was told that I don't need a visa to enter Romania because I hold a multiple entry Schengen visa and that will allow me to enter Romania for 4 days.   Now I have booked my tickets - Dubai - England, England - Romania via Frankfurt, Romania England via Frankfurt and then England - Italy.   My question is would I be fine traveling to Romania via Frankfurt, considering that I got my Schengen visa from the Italian embassy and that is not my first destination and I do not hold the Romanian visa?


Situation: I updated my IDE (Eclipse IDE 2020-6 to 2020-9) and the request to my web service stopped working with the following error: sep. 19, 2020 7:09:23 A. M. io.vertx.core.impl.ContextImpl SEVERE: Unhandled exception java.lang.NullPointerException     at model.Concepto.<init>(Concepto.java:23)     at consumer.ConceptoAccess.lambda$getConceptos$0(ConceptoAccess.java:31)     at java.base/java.lang.Iterable.forEach(Iterable.java:75)     at consumer.ConceptoAccess.lambda$getConceptos$1(ConceptoAccess.java:28)     at io.vertx.ext.web.client.impl.HttpContext.handleDispatchResponse(HttpContext.java:313)     at io.vertx.ext.web.client.impl.HttpContext.execute(HttpContext.java:300)     at io.vertx.ext.web.client.impl.HttpContext.next(HttpContext.java:275)     at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:69)     at io.vertx.ext.web.client.impl.predicate.PredicateInterceptor.handle(PredicateInterceptor.java:32)  This is my line 23 in Concepto.java in package "model": package model;  import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.StringProperty;  public class Concepto {          private IntegerProperty idconcepto;     private StringProperty descripcion;          public Concepto() { //      idconcepto = new SimpleIntegerProperty();         descripcion = new SimpleStringProperty();     }      public Concepto(Integer idconcepto, String descripcion) { //      this.idconcepto.set(idconcepto);         this.descripcion.set(descripcion);     }          public Concepto(String descripcion) {         this.descripcion.set(descripcion);     //<----- Line 23     }      public StringProperty getDescripcion() {         return descripcion;     }      public void setDescripcion(String descripcion) {         this.descripcion.set(descripcion);     }      public IntegerProperty getIdconcepto() {         return idconcepto;     }      }  and this is line 31 in ConceptoAccess.java in "consumer" package: public class ConceptoAccess {          private static final String HOST = "192.168.0.15";     private static final int PORT = 8091;          public static void getConceptos(ObservableList<Concepto> conceptoData) {         WebClient client = WebClient.create(Vertx.vertx());         client         .get(PORT, HOST, "/api/conceptos")         .send(ar -> {             if (ar.succeeded()) {                 conceptoData.clear();                 HttpResponse<Buffer> response = ar.result();                 response.bodyAsJsonArray().forEach(concepto -> {                     JsonObject jo = (JsonObject) concepto;                     conceptoData.add(new Concepto(jo.getString("descripcion")));     <---Line 31                 });                 System.out.println("Received response with status code " + response.statusCode());                 System.out.println(response.bodyAsJsonArray());             } else {                 System.out.println("Something went wrong " + ar.cause().getMessage());             }         });     }  I tested the web service and works fine:  Whats' wrong? everything was working fine before the Eclipse update. I use openJDK 11 + JavaFX 14 + Vert.x 3.9.3 TIA for any help!

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


I have bash script file. last_command=$(!!);  here variable last_command should have the value of last command executed but it is not.. i get this error: !!: command not found  I also tried this: Last_command=$(fc -nl -1)  This works in direct shell but when I try to use in bash script file it gives error. I also tried  All above questions work directly on command line but when used in a script file it either gives an error or blank line.

I understand the following error is due to ! used for history expansion:  $ echo "Hello!Tim" bash: !Tim: event not found   However if I put the command into a script and run the script, there is no problem:  $ cat myscript echo "Hello!Tim" $ bash myscript  Hello!Tim   Why is that? Does the bash manual mention the reason?


final EditText d1n = (EditText) findViewById(R.id.d1n);   AA coming from edittext.  NotHesapla(d1n.getText().toString());    returns -1. if I try to   NotHesapla("AA");   working succesfully.  public double NotHesapla(String not) {     double puan;     if (not == "AA") { puan = 4; }     else if (not == "BA") { puan = 3.5; }     else if (not == "BB") { puan = 3; }     else if (not == "CB") { puan = 2.5; }     else if (not == "CC") { puan = 2; }     else if (not == "DC") { puan = 1.5; }     else if (not == "DD") { puan = 1; }     else if (not == "FD") { puan = 0.5; }     else if (not == "FF") { puan = 0; }     else { puan = -1; }     return puan; }   How can I solve this issue? Thank you

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


I'm trying to add two floating number and I cannot get to work. I need to be the output to be 100.0 What I'm doing wrong here. Thank you for any advise.  mystring = 'Value:   99.9      Date:    20130215' tot = float(mystring[8:13]) print (float(tot) + .01)   I need to be the tot = 100.0 if any one can help Thank you  I'm getting 99.91

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


When using the datetime package, I could define dates "globally" like this:  \newdate{sample}{03}{09}{2016} \begin{document} \displaydate{sample} \end{document}   Can anyone tell me, how this is possible with datetime2 library because I just don't get it somehow...  Full document:  \documentclass[a4paper, 12pt, DIV=calc, headings=small]{scrreprt} %Used packages \usepackage[UKenglish]{babel} \usepackage[utf8]{luainputenc} \usepackage{datetime}  %Other definitions \pagenumbering{arabic}  \newdate{sample}{31}{01}{2017}  \begin{document} \displaydate{sample} \end{document}

I'm currently using  \usepackage[UKenglish]{babel} \usepackage{datetime}   and I'm getting  Sunday 4th September, 2016  with the commands \today or with \newdate{example}{01}{09}{2016} (outside of \begin{document}) and \displaydate{example} inside the document.  How can I reformat this date to not have the name of the day in it (Best would be with using datetime2)? So like 4th September, 2016. With the "th" as a high letter like this:   Full document example:  \documentclass[a4paper, 12pt, DIV=calc, headings=small]{scrreprt} %Used packages \usepackage[UKenglish]{babel} \usepackage[utf8]{luainputenc} \usepackage{datetime}  %Other definitions \pagenumbering{arabic}  \newdate{sample}{31}{01}{2017}   \begin{document} \displaydate{sample}\\ \today \end{document}


On MacOS 10.15 Firefox 80, I want to restore last last lost session tabs (with a large number of tabs). I can successfully make display with the tool "https://www.jeffersonscher.com/ffu/scrounger.html" all the pages links like shown on this screen capture :  But I don't know how to convert this list of links into effective tabs in Firefox 80. I saw that I can save with this tool the file json (compressed or not) like illustrated here :  but I can't use these files to display all the tabs into Firefox again. If someone could help me to make open all the tabs into Firefox of my list displayed with the button "scrounge URL" of this tool ?

My Firefox (Quantum v.66 on Windows 10) crashed, and I accidentally clicked "Start New Session" instead of "Restore Session", which lost all of my previous tabs.  Good news: In my profile, in "sessionstore-backups" folder, I found a large file called previous.jsonlz4, which SEEMS like it contains all of my previous tabs and windows.  I confirmed that it's a valid file using  tool that seemed to be the only useful resource my Googling turned up on the topic.  Bad news: After a couple of days of Googling, I can't seem to figure out how to restore the data from jsonlz4 file to my browser's tabs (basically, turn it back into crash session restore).  How can I do that?  What I tried:   Copied that jsonlz4 into "sessionrestore-backups" directory as "recovery.jsonlz4" - which seems to be the file that gets updated when FF crashes as per my experiments. This had no effect. Copied the JS file that Scrounger created for me into previous.js and recovery.js. No effect. Deleted "store.json.mozlz4" file in "crashes" subdirectory in my profile. No effect.   Notes:   Note: I am NOT looking for random ways to get a list of URLs from the JS file that Scrounger created. I know how to do that. I want to actually import my crashed session into crash session recovery in FireFox, or into active Firefox session. Note: I'm aware of  but it asks about pre-version-57 session format circa 2012, which seems to have nothing to do with modern post-version-57 session mechanism.


I just installed LAMP server, which works fine.  But when I code a PHP script and try to save it in /var/www/html, it says:  You don't have permisission necessary to save the file   Help me!  How do I fix this problem?

I want to stop having to use sudo everytime I work in /var/www. How can I do that? I simply want to put all of my sites into this directory and work with them without too much pain.


I want to add an apex message inside of my method that will showup if query returns a null value. Here is a bit of the code that includes query.  AccName = [Select Name, Customer_Account_Number__c               from Account where Customer_Account_Number__c =:uano limit 1].Name;      if (AccName == Null) {          ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Warning, ''));                 system.debug('Empty string');      }      else{system.debug('found acc name ');}   unfortunately when a user types in a wrong number an error message in a salesforce pages shows up and I'm trying to avoid that. What could a best solution for that be ?

I have a controller that parses values from a record and attaches them as an XFDF file to the SF record.  It works perfectly fine on a standard record (Contact, Opportunity, etc.) However, when I try and run it on a custom object (Merchant Application) I recieve this error "List has no rows for assignment to SObject".   "Name" field is a standard field in both objects.  Controller:  public with sharing class myXFDFControllerMerchantApplication { public myXFDFControllerMerchantApplication() {  }   public myXFDFControllerMerchantApplication(ApexPages.StandardController controller) {  }  private String getXmlString(Merchant_Application__c m) { String s = '<?xml version="1.0" encoding="UTF-8"?>' + '<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">' + '<f href="https://cs4.salesforce.com/resource/PDFForm"/>' + '<fields>' + '<field name="Account"><value>' + m.Name + '</value></field>' + '</fields><ids original="924410F40FE3EA488AF4E54256CC4300" modified="0D19D7B81C416D44B1EBCB0D6A585227"/>' + '</xfdf>';  return s; } public PageReference XFDFInit() { Merchant_Application__c m = [SELECT Id, Name, (Select Id From Attachments) FROM Merchant_Application__c WHERE id = :ApexPages.currentPage().getParameters().get('id')];  String xmlContent = getXmlString(m);  Attachment attachment = new Attachment(); attachment.Body = Blob.valueOf(xmlContent); attachment.Name = m.Name + '.XFDF'; attachment.contenttype = 'application/vnd.adobe.xfdf'; attachment.ParentId = m.Id;  insert attachment;  PageReference attachmentPage = new PageReference('/' + attachment.id); //attachmentPage.setRedirect(true); return attachmentPage; }  }


My words are coherent and intelligible. My arguments are valid and sound. It is nonsense to accuse me of being a crackpot simply because you do not wish to hear what I have to say. Please remove the duplicate tag on this post?  I have discovered a mistaken assumption that was made three centuries ago and has somehow been overlooked since then. It is a principle that was initially and remains to this day "proven" by a perceptual error. If we put the demonstrations and examples to the test of measurement, it is clear that the principle is mistaken. It has deep rooted effects on almost every aspect of science.   It is actually a very simple problem which makes my task more difficult because I face the argument that the theoretical physics papers I have produced are too short to be of importance. This is nonsense. Bear in mind that there is no restriction on the minimum length of a physics paper and I have discovered that the more material that is available to a person who is determined not to accept something, the more hooks there are available for a confirmation bias to manifest. I have discovered through my attempts that brevity is key to overcoming confirmation bias. There is good reason that there is no restriction on the minimum length of a physics paper. Unfortunately, I have not yet discovered the key to overcoming the cognitive dissonance that confirmation bias quickly evolves into.  My papers have been rejected without peer review more than a hundred times despite having had them professionally edited to ensure that they are properly formatted and error free.   I am censored on every science forum upon which I have tried to post anything related to this in most cases before any discussion has taken place. This post itself is being marked as a duplicate with nonsensical reasoning.  It is bad science to reject a submission without even addressing the presented argument. It is bad science to reject a logical proof without showing that the premisses are false or the deduction flawed. It is bad science to base your beliefs on tradition and ignore and censor any information which might conflict with them. It is bad science to immediately accuse someone of crackpotism the moment they say something which threatens your beliefs. It is bad science to drown someone out with ad-hominem, ridicule and mockery in order to prevent that anyone else might hear what he has to say lest they be open to correct thinking.  This is a very important issue and I am not prepared to give up on it because people would prefer not to hear it.   Once the denial is overcome, this will resolve many of the anomalies that are floating around in the world of physics. Not only that, but many of the worlds greatest minds are wasting time on problems that are a result of this mistaken assumption and once they realise that, their attention can be applied to issues that are realistic instead and this might result in progress the likes of which we have not seen in many years.  It is extremely important.  How do I get my arguments properly addressed?

I am interested in the situation where you have a very interesting result. For instance, you have solved a very important open problem. However, you are not known in the field and do not have any remarkable publications. Your supervisor thinks the work is good and you submit the work to a high profile journal, but you get rejected.  The thing is that the contribution is very strong. It breaks what most people believe or what they have already proven: e.g., you solve the P vs. NP problem or any other well known open problem.   The reviewers strongly reject your work with no justification and they do not state why the result is wrong. Examples of reviewer comments include:   "The proof must be wrong."  "You cannot achieve such a result."  "You do not understand well the notion of ..."   My question is what to do in this situation? Where to go? If your advisor accepts the work, but the reviewers from the top journal reject the work without even explaining the mistakes,  what should you do?


Currently I am uploading image in codeigniter via ajax. In this all my input fields are taken, but input file was not getting. I am getting error undefine "image name" how to do image upload via ajax. I have attached my code below,  HTML:  <form method="post"  enctype="multipart/form-data" action="" id="newsFeedForm"> <input type="file" name="newsimages<?php echo $i; ?>[]" id="newsimages<?php echo $i; ?>" data-feed="feed<?php echo $i; ?>" multiple> <input type="button" id="newsSubmit" value="Update" class="btn btn-primary btn-sm pull-right mt10 col-lg-2 col-sm-2 col-xs-2 mt10" name="newsSubmit" onclick="updateFeedDatabase(<?php echo $i.','.$fed->news_id; ?>);"> </form>  ajax: function updateFeedDatabase(id, nid){    var myData = $('#your_form').serialize();      //alert(formData);      $.ajax({         type:"POST",         contentType:attr( "enctype", "multipart/form-data" ),         url:"<?=base_url();?>nhome/updateFeed/"+id+"/"+nid,         data: myData,         cache: false,         processData: false,         success: function (data) {            alert(data);         },         error: function(data){         //error function     }      }); }   Model:   public function updatefeedDb($id,$nid){     $message = $this->input->post('newsMessage'.$id);     $status = $this->input->post('newsstatus'.$id);     echo $_FILES['newsimages'.$id]['name'];      if (empty($_FILES['newsimages'.$id]['name'])) {         echo "I am not empty";     }else{         echo "I am empty";     }     }   In this above code, I am getting undefined "newsimages1". How to get image in to ajax page, Can you please help in this task.

I would like to upload a file asynchronously with jQuery.     $(document).ready(function () {     $("#uploadbutton").click(function () {         var filename = $("#file").val();          $.ajax({             type: "POST",             url: "addFile.do",             enctype: 'multipart/form-data',             data: {                 file: filename             },             success: function () {                 alert("Data Uploaded: ");             }         });     }); });  File <input type="file" id="file" name="file" size="10"/> <input id="uploadbutton" type="button" value="Upload"/>     Instead of the file being uploaded, I am only getting the filename. What can I do to fix this problem?


what is the difference between component.get("") and component:find("")?  I thought component.get("") was for aura:attribute and component.find("") was for lightning:input but if on my client-side controller I do component.get("") with a lightning:input, I get an error, the page doesn't load itself.  I read the documentation () but I don't understand.  This is my example:  lightning:input aura:id="salutationTest" label="Hello" name="hello" value="hello" console.log(component.get("salutationTest"));   The page doesn't load itself and I have no error message.

There are 2 ways to get values from UI in JS controller.   component.get("v.name"); component.find("name");   My question is when both can serve the same purpose, which one to use and when?


For some damage like a vampire's bite attack or the  spell, your maximum HP is reduced based on the damage taken. What happens if some or all of that damage is absorbed by the target's temporary hit points? Does that count as damage taken or not?

have the Life Drain action; on a hit, it forces the target to make a Con save to avoid having their max HP reduced:     The target must succeed on a DC 14 Constitution saving throw or its hit point maximum is reduced by an amount equal to the damage taken.    also have a similar ability.   are said to protect you from injury.     Temporary hit points aren't actual hit points; they are a buffer against damage, a pool of hit points that protect you from injury.   Will Life Drain's max HP reduction work if the damage you take is less than the temporary hit points you have?


Suppose $(x,y)\in\mathbb{Z}^2$ were a solution to $y^2=x^3-6$  Prove that there exists a principal ideal $\mathfrak{a}$ of $\mathbb{Z}[\sqrt{-6}]$ such that $(y+\sqrt{-6})=\mathfrak{a}^3$.  I have no idea what to do for this part of the proof.

The equation $y^2 = x^3 + k$ for $k = (4n-1)^3 - 4m^2$, with $m, n \in \mathbb{N}$ and no prime number that p is congruent to 1 modulo 4 divids m, doesn't have any answer and its proof can be obtained by using quadratic reciprocity law.  Do you know answers of this equation for two or three different values of $k$? In addition, do you know any reference about that?


I'm attempting to tie classwork theory with an actual work example just now. Yesterday I attended a lecture on hypothesis testing and my notes and lecture slides cover hypothesis testing with one sample of data.  I want to tie what I'm learning to a real world work question. We are an email marketing vendor and have been asked to split test an email message which is being deployed to the clients database. The goal of the email deployment will be opens. So if we change the subject line can we get more people to open the email?  The results of this experiment might look like this:                  Sent  | Opened | Open Rate Original Email  9,000 | 900    | 10.0% New Variant     1,000 | 125    | 12.5%   If my hypothesis is that there is no difference between the emails then what method should I use to get a p-value in order to determine if the difference seen was reasonably likely to happen anyway (>5%)?   Chi-Square?  Another method?    How should I decide with method to use for the test?  Notes:   I'm a learner of stats and at a pretty foundational level right now so please bear that in mind in any responses I'm assuming that the mean I want to compare to is the open rate of those who received the original? I did Google this question before posting. But the search results were crowded out with "Hypothesis test with 1 sample" not "Hypothesis test with 1 observation"

What statistical test can I use to compare two ratios from two independent samples. The ratios are after to before results. I need to compare the after/before ratios for two independent models and show whether they are have significant difference or not. Please help!


It's been a decade since this question has been posed here and the answers there have been outdated for nearly that long.  There is absolutely no reason why it should be difficult to configure double clicking an ics file on Windows 10 to automatically add an event to one's Google calendar.  So what's the current solution?

Lots of web sites have an option to export events as an ICS file that can then be imported into a desktop or web-based calendar (for example if you're invited to a Facebook event there will be an export button that gives you an ICS file).  By default in Firefox 3.5 on Vista I'm only offered three options here "Open with Windows Calendar", "Open with Other" or "Save File", so what I'd do is save the file onto my PC, and then log into Google Calendar and import that ICS file.  What I'd like is to have an "Open with Google Calendar" or "Import to Google Calendar" type option when I click the Export link.   I know that you can , and I've got the  extension installed that will detect hCalendar microformat entries embedded in the text and offer to import them to Google Calendar, but I can't work out how to configure either of these to do what I need.  Preferably I'd do this without installing any additional software, and in a way that will work with a Google Apps account (but if someone can point toward a solution for normal Google Calendar's that would be a good start).


As a rule (unless this really is a case-by-case basis) what's the correct possessive form for a company name that is pluralized for the singular?  For example, the company "JetBrains" uses the plural "Brains" for the singular company entity, "JetBrains."  Should it be "JetBrain's product line," "JetBrains' product line" or something else besides?

I don't think this has yet been covered in .  There was , however, it was not specifically talking about the case where the proper noun ends in a plural noun.  Feel free to vote to close if I am wrong.  What is the correct way to make a proper noun ending in a plural noun ending in an "s" possessive?  This frequently happens with corporations, e.g., "Dunkin' Donuts."  Should one work off of the fact that the entity is singular—suggesting Dunkin' Donuts's—or should one work off of the fact that "Donuts" is plural and ending in an "s"—suggesting Dunkin' Donuts'?  I expect that the answer might depend on dialect because some regions refer to corporations in the singular form ("Dunkin' Donuts is a company") while other regions refer to corporations in the plural form ("Dunkin' Donuts are a company").  I am specifically interested in American English, but would be interested in hearing answers for other dialects too.


Is it possible to make a command block respond to something being said in the chat? Or even better - make it respond to a message - /msg or /tell. I want to say something in the chat and then a comparator next to the block emits a redstone signal. Is this possible?

Basically, I'm trying to recreate the Faction plugins /f map in my single-player without mods as my PC doesn't run them very well. (I know it sounds strange.) I am trying to use the /testfor to test if I have written '/f map' in chat, and if I have, it would show me a custom generated map. I don't know how to word this better xD Essentially what I want is for it to test if I have written a command in chat, and if I have, display something.


when du -cshm . is run from home directory of user, the below is the output.   [user@host ~]$ du -cshm .  2859    .  2859    total   and when quota -s command is run, below is the output.  [user@host ~]$ quota -s Disk quotas for user user (uid 1234):   Filesystem  blocks   quota   limit   grace   files   quota   limit   grace xxx.xxx.xxx.xxx:/home1/users              15505M  16602M  17579M           26714       0       0      There is a huge difference from 2.8GB to 15-16GB(du to quota), can anyone please suggest how to resolve this.  (I have check empty folder, deleted trash but still quota show 15gb)

I have exceeded my disk quota on a system which I do not have root access. I tried removing old files but am still over. I tried runing du to find where I am using up all my space but it reports I am using very little.  Results from quota     /home/1234$ quota -s    Disk quotas for user 1234 (uid 1234):          Filesystem   space   quota   limit   grace   files   quota   limit   grace        cslab:/home   4519M*  4096M   5120M   09:47    6155       0       0    From du     /home/1234$ du -mad 1    ...    936     total   I don't understand why quota says I am using 4.5GB while du only counts .9GB. I also checked for files I own in /tmp and there was 50MB worth of files there. Where could the other 3.5GB of files be? Is it possible the quota system is wrong and needs reset?


trying to install gdebi using this command:  sudo apt-get install aptitude synaptic gbedi-core   but I'm getting this error  Unable to locate package gbedi-core"

When I try to install any package through the command line, I get an error.   $ sudo apt-get install <package> Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package <package>   Can anyone help me on this?


I am following this  for implementing date and time on edit text click. public class LoadActivity extends AppCompatActivity {   @SuppressLint("StaticFieldLeak")  static EditText DateEdit;      @Override     protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_load);     Toolbar toolbar = findViewById(R.id.toolbar);     setSupportActionBar(toolbar);            EditText startTimeEditText = (EditText) findViewById(R.id.start_time);         startTimeEditText.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View v) {             showTruitonTimePickerDialog(v);             showTruitonDatePickerDialog(v);         }     });        }  // end onCreate       public void showTruitonDatePickerDialog(View v) {     DialogFragment newFragment = new DatePickerFragment();     newFragment.show(getSupportFragmentManager(), "datePicker"); }  public static class DatePickerFragment extends DialogFragment implements         DatePickerDialog.OnDateSetListener {      @NonNull     @Override     public Dialog onCreateDialog(Bundle savedInstanceState) {         // Use the current date as the default date in the picker         final Calendar c = Calendar.getInstance();         int year = c.get(Calendar.YEAR);         int month = c.get(Calendar.MONTH);         int day = c.get(Calendar.DAY_OF_MONTH);          // Create a new instance of DatePickerDialog and return it         return new DatePickerDialog(requireActivity(), this, year, month, day);     }     }      @SuppressLint("SetTextI18n")     public void onDateSet(DatePicker view, int year, int month, int day) {         // Do something with the date chosen by the user         DateEdit.setText(day + ":" + (month + 1) + ":" + year);     }   }// end main class  I am able to see the date fragment in my app but when I press ok button the app crashes and I am getting error  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.setText(java.lang.CharSequence)' on a null object reference at com.thumbsol.accuratemobileassetsmanagament.LoadActivity$DatePickerFragment.onDateSet(LoadActivity.java:300) at android.app.DatePickerDialog.onClick(DatePickerDialog.java:134)  The line number 300 is DateEdit.setText(day + ":" + (month + 1) + ":" + year); How can I get rid of this error? Any help would be highly appreciated.

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?


For the creation of an oracle package I can use the following two headers:   CREATE OR REPLACE PACKAGE IS ... CREATE OR REPLACE PACKAGE AS ...   When do I use which header and what are the differences

I see Oracle procedures sometimes written with "AS", and sometimes with "IS" keyword.   CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID integer) **AS** ...   vs.  CREATE OR REPLACE Procedure TESTUSER.KILLINSTANCE (INSTANCEID integer) **IS** ...   Is there any difference between the two?   Edit: Apparently, there is no functional difference between the two, but some people follow a convention to use "AS" when the SP is part of a package and "IS" when it is not. Or the other way 'round. Meh.


I have met a girl online and wish to bring her to the USA. We have talked on the phone and via video chat. All documents are in order but they say she needs $3,000 (USD) in hand to travel.   Is this true?

On Travel.SE we often see questions about a person (usually a love interest) asking for money to pay for airfare, visas, permits and other expenses. For example        What general advice can be given in such situations to the person asking the question? Is it all a scam or can there be legitimate situations in which an online friend could be asking for money?


I have windows 7 ultimate in my laptop. C:, D:, E:, F:, G:,. Now C: have Windows 7 Os, D: is empty, E:, F:, G: have some important files. Now how do i install ubuntu in D:. I already tried but d: is permanently disabled in windows 7 os. NOw i ask step by step installation in my laptop installation path is D: is empty  with out deleted in my other drive files (E:, F:, G: - have some important files). I confused swap space when partition please help me installation ubuntu in my laptop.

I currently have Windows 7 on my computer and I want to install Ubuntu alongside Windows safely.  Could someone please provide clear instructions?


I have 2 dates 1.7.2016 and 5.12.2016, and I need to calculate number of days from month with 31 day (31+31+31+4=98).   How can I get the number of days?

I have two dates as the following , I want to get the duration spent between them.   6/29/2015 12:18:04 PM    Regards,


I want my new paragraph to appear below the two image. That is, the second page will have the second image followed by all the text. However, it seems like my code will shift the text in a way that efficiently uses the page instead. Here is a snippet of my code: \begin{figure}[ht]     \centering     \includegraphics{"Q1 (2) graph1".png}     \caption{Dynamic response to a reduction in the value of filled jobs} \end{figure}   \begin{figure}[ht]     \centering     \includegraphics{"Q1 (2) graph2".png}     \caption{Dynamic response to a reduction in the value of filled jobs} \end{figure}  (3) At $t = 1$, a recession caused the matching efficiency parameter $A$ to decrease to $A = 0.3$ for $15$ months...

I have a little problem with the placement of my picture. I want to insert it at the end of the introduction chapter but its place is not where I want.   I think the problem become from the:  \begin{figure} ... \end{figure}   Because when I insert the picture without using \begin{figure}... the picture is at the end of the chapter as I want.   Look the picture below.


Please, can anyone help me solve this issue? Please find the attached snapshot  for your reference. I am working on a Windows 7 Professional, Service Pack 1, 32-bit laptop.

I have installed python 2.5.1 and FWTools2.4.7 in my laptop(Windows 7) when i run my pythonscript in FWTools i get following error Import error:No module named _gdal can any one suggest how to solve this problem?


When looking for a script of a programm (.py for Python, .m for Matlab, .jl Julia or .txt in general) it is very handy to go in the finder a simply highlight that script file ==> then a preview of that script appears on the right side in Finder. However, for the Julia script file .jl there is no such preview ==> nothin appear on the right side although it is a normal text file, the proof is that when I change the extension to .txt, the preview is available. How do I do to have that preview available

When I have .txt files or .py files, I can Quick Look those files in Finder. I have .jl files that are codes written in the Julia Language. Of course they are text files. They will open in a text editor like Sublime Text. How can I Quick Look these .jl files in Finder?


class Ideone     {       int x;       public static void main (String[] args) throws java.lang.Exception       {          Ideone i;          i = new Ideone();          i.x = 25;          System.out.println(i.x);          f(i);          System.out.println(i.x);          g(i);          System.out.println(i.x);       }        public static void f(Ideone j){          j = new Ideone();          j.x = 55; // It just changes new instance of J. It is not changing actual object       }        public static void j(Ideone j){          j.x = 52; // It modifies actual object       }   }   I have a doubt in this. In case of j function, it modifies actual object. Is it not pass by reference? We are passing the object and modifying it inside j.   But I am doing the samein function f also. Passing the object and modifying it. But it is not modifying the original object.   I am confused the behaviour between these.  As per the highly voted , I am passing an URL in both cases. And I am modifying the content in the URL. But it is visible to all in one case but it is not in the other case.

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


How do I format a string with commas to display in curreny format?  Assume the incoming string is a big number. For example:     "1234567901234567890123456"   I want result as:     "12,345,678,901,234,567,890,123,456"   The DecimalFormat in Java has a limitation to format a big number.

How do I format a number in Java? What are the "Best Practices"? Will I need to round a number before I format it?  32.302342342342343 => 32.30 .7323 => 0.73  etc.


I am using Windows 10 and I'd like to install Ubuntu as a secondary OS (I want the first option in the "boot-up" screen to be Windows). I am a noob so please bare with me. A couple of years ago I somehow managed to do this, but I was only using one HDD at that time and didn't run into these issues. Windows 10 is installed on an SSD on my laptop. I also have a HDD inside and I shrunk this partition and freed up 50 GB to create a partition specially for Ubuntu on my HDD. I flashed a USB stick with Ubuntu on it and I am unsure how to proceed. My problem is that inside the Ubuntu installer I don't know whether I should choose Primary or Logical and which Mount point is correct. I tried Logical (which is the default option) and "/" as a mount point and the partition got created as 'Ext4', however, I don't know what option I should choose for "Device for boot loader installation". I tried /dev/sda as suggested in another thread here but the installer said "No EFI system partition was found" and it warned me that the installation might fail. In msinfo32 it says the BIOS mode is Legacy, if that is of any help. Also, here is a picture showing all the partitions available (the last one is the free space that I left after shrinking the HDD which isn't visible in this picture, but it's the 50 GB free space):  Other steps I've done after reading  I shrunk my HDD using Disk Management inside Windows. Also, Ubuntu Live USB gives me two options only: "Erase disk and install Ubuntu" or "Something else" (I chose "Something else"). After I created a partition from the 50 GB free space and chose /dev/stb as "Device for boot loader installation", it still tells me: "No EFI System Partition was found. This system will likely not be able to boot successfully, and the installation process may fail. Please go back and add a EFI System Partition or continue at your own risk." So I created a 256 MB EFI partition from the 50 GB free space as suggested in one of the related threads and the installer accepted that as a device for boot loader installation and Ubuntu was installing, but at the end it said: "Executing 'grub-install/dev/sdb5' failed. This is a fatal error" (sdb5 is the EFI partition I made). It prompted me to report the error to the developers but I didn't do that. I restarted my PC and it straight-up booted into Windows. No option to switch to Ubuntu. This is one of the most frustrating things I've ever done and I don't understand what I'm doing wrong. Thank you in advance!

I am in a similar situation as this poster except I have Windows 7 Pro: I have SSD which is the C drive which stores windows and a 1TB hard drive. I have created a CD with an image of Ubuntu. I'm still pretty new to all this so need a bit of hand holding!    I'm not clear from his post whether or not he has partitioned his hard drive prior to installing Ubuntu or not.   However judging from the response there 2nd hard drive sdb does not appear to be partitioned. The responder (Mitch) goes on to partition the drive using the Ubuntu installer as shown.    In my case I already have files stored on the second drive, can I still safely use the Ubuntu installation software to partition software? Or would it be better to use a different piece of software to partition the hard drive prior to install? Obviously I don't want the existing files to be wiped (although I have backed them up). FYI, I've never partitioned a hard drive before.  Also I noticed that other answers to the same problem suggest disconnecting the windows hard drive first.    2 ways, depending on exactly how you want to choose what OS you want to boot into.   You want to choose via the BIOS boot menu: Disconnect the current Windows drive Connect the other drive Install Ubuntu Choose the OS during the BIOS boot sequence You want to choose via the GRUB menu: Leave the Windows drive connected Connect the other drive Install Ubuntu to the new drive (be careful here that you choose the correct drive!) At boot time, you will be presented with a menu, allowing you which OS to boot into   As well as being safer (in that your Windows drive won't be wiped) especially important in my case as I don't have the capacity to back it up.   Is there any major advantages between choosing the OS via the BIOS as opposed to the Grub drive? FYI... I'm not even sure what a Grub drive is, I'm just looking for the easiest/quickest solution.  Mitch's original response seems to be the the GRUB based solution. Is this correct?   However all I have to do to amend Mitch's solution to the BIOS based one is to physically disconnect the windows drive after switching the boot to DVD drive in BIOS and then follow Mitch's instructions for the rest but having one drive instead of two.  I then reconnect the windows drive afterwards.  Do I have to make any other changes to the BIOS after this?


what mean this error and what should i do to solve it please help me  (! Undefined control sequence. \Ginclude@graphics ...\Ginput@path \set@curr@file {#1}\edef \uq@curr@file {...)

After updating MiKTeX graphics package on 10/5/19 to version 1.3b (packaged on 10/4/2019 8:11:27 PM), I am unable to compile LaTex files that contain \includegraphics{}.  My system: Windows 10  with MiKTeX 2.9.7200  A minimum working example:  \documentclass{article} \usepackage{graphics}  \begin{document}  \begin{figure}    \includegraphics{MC_Antenna_Gain} \end{figure}  \end{document}   The error report   This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7200) entering extended mode (C:/Users/nicrog/Dropbox/T_P_2/Scholar/Grants/Written/EWU_20/Test.tex LaTeX2e <2018-12-01> ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\article.cls" Document Class: article 2019/08/27 v1.4j Standard LaTeX document class ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/base\size10.clo")) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\graphics.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\trig.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-cfg\graphics.cfg") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics-def\pdftex.def")) No file Test.aux. ("C:\Program Files (x86)\MiKTeX 2.9\tex/context/base/mkii\supp-pdf.mkii" [Loading MPS to PDF converter (version 2006.09.02).] ) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\epstopdf-base.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\infwarerr.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\grfext.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvdefinekeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ltxcmds.sty"))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/oberdiek\kvoptions.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/latex/graphics\keyval.sty") ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\kvsetkeys.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\etexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifluatex.sty")))) ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\pdftexcmds.sty" ("C:\Program Files (x86)\MiKTeX 2.9\tex/generic/oberdiek\ifpdf.sty"))) ! Undefined control sequence. \Ginclude@graphics ...\Ginput@path \set@curr@file                                                    {#1}\edef \uq@curr@file {\... l.8    \includegraphics{MC_Antenna_Gain}  ?    I will report this potential bug to  as well.


If we know the normal vector of the plane, can we take the cross product of this vector and any other vector ( e.g, 0,0,1 ), and then do the same thing ( n x 0,1,0 ) for example. Both of the resultant vectors are perpendicular to the normal, and hence lie in the plane. If they turn out to be linearly independent, can we use them to write out the equation of our plane in parametric form?

Can you please explain to me how to get from a nonparametric equation of a plane like this:  $$ x_1−2x_2+3x_3=6$$  to a parametric one. In this case the result is supposed to be   $$ x_1 = 6-6t-6s$$ $$ x_2 = -3t$$ $$ x_3 = 2s$$  Many thanks.


If $n\geq 2$ is prime and $a\geq 1$ is an integer, then $(a+1)^n-a^n$ leaves a remainder of $1$ modulo $p$. If $n$ is even or a multiple of $3$, then it follows ad-hoc that again $(a+1)^n-a^n$ is never divisible by $n$. By simulations, the same should be true for all $n$. How would one prove this?  Prove that $(a+1)^n-a^n$ is never divisible by $n$.

Prove: if $n\mid 7^n+6^n$ and $n>1$, then $13\mid n$  Let $p$ be the least prime number such that $p\mid n$.   And I want to show that $p=13$  Let $d$ be the least number such that: $14^d\equiv 0 \pmod {p}$  And by Fermat's little theorem I have: $14^{p-1}\equiv 0 \pmod{p}$  Here I'm stuck


I'm using IMAP to get my mails from Gmail. It works fine but when I look to the mail header it's text with strange symbols. I already tried to confert it with Imap_qprint but this doens't work for all the symbols.  <?php      // Connecting to IMAP     $mailboxPath    = "{imap.gmail.com:993/imap/ssl}INBOX";     $username       = "mailadress";     $password       = "password";      $mailStream = imap_open($mailboxPath, $username, $password) or die("can't connect: " . imap_last_error());      // Number of mails     $mails = imap_num_msg($mailStream);        // Cycle trough mails     for($i=1; $i<=$mails; $i++) {          // Get headerinfo mail         $headerinfo = imap_headerinfo($mailStream, $i);          // echo "
";         // print_r($headerinfo);         // echo "
";          // Select subject out headerinfo         $subject = $headerinfo->subject;          $subject = quoted_printable_decode($subject);          echo $subject . "
";       }   Gives me subjects like this:   =?UTF-8?Q?New_from_Codecademy:_Introdu?= =?UTF-8?Q?ction_to_Data_Analysis_=F0=9F=94=8D_=F0=9F=93=88?=  When is use quoted_printable_decode() function it already clear up a bit but still not complete. Here how it looks than:  =?UTF-8?Q?New_from_Codecademy:_Introdu?= =?UTF-8?Q?ction_to_Data_Analysis_🔍_📈?  How can I convert this to:   New from Codecademy: Introduction to Data Analysis 🔍 📈

I have the string which that encoded in .  How do I decode this in php?  Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum felis = pede, vestibulum et, ullamcorper in, ultrices eget, metus. Suspendisse in n= ulla. Sed justo. Donec dapibus auctor neque. Pellentesque faucibus ante nec=  metus. Vivamus feugiat, velit rhoncus semper suscipit, libero augue venena= tis leo, nec ornare nulla elit eget diam. Nullam sollicitudin.


I've just read  question, which highlights how the goblet was fooled.  But why do the teachers allow it? DVK makes the analogy that it is like a program with a bug. But if a bug presents an obviously incorrect output, why not just ignore it?  I remember the headmasters and headmistresses discussing it, and concluding harry should compete... but I can't remember or fathom why they wouldn't dismiss the result (or at least Harry).

It seems different enchantments trigger different consequences - for example, Lily's protective enchantment over Harry disappears the moment Harry turns seventeen, and the Unbreakable Vow results in death if broken. What constitutes the 'binding magical contract' in Goblet of Fire regarding the Triwizard Tournament? What are the repercussions of breaking the Triwizard contract? Both Dumbledore and Mad-Eye Moody stress the fact that Triwizard champions cannot withdraw from the tournament. However, I cannot find any canon reference to what would happen if a Triwizard champion outright refused to participate. Is there any canon source that addresses this? Please no Wikipedia/Wikia answers - I'm looking from information from the books or J.K. Rowling. An appropriate speculative answer based within the spirit of canon if a canon reference cannot be found is fine. For reference:     ‘Once a champion has been selected by the Goblet of Fire, he or she is obliged to see the Tournament through to the end. The placing of your name in the Goblet constitutes a binding,   magical contract. There can be no change of heart once you have become champion.’ - Dumbledore -   Goblet of Fire - page 226 - Bloomsbury - chapter 16, The Goblet of Fire   and     ‘He’s got to compete. They’ve all got to compete. Binding magical contract, like Dumbledore said. Convenient, eh?’ - Mad-Eye Moody -   Goblet of Fire - page 244 - Bloomsbury - chapter 17, The Four Champions


Prove that $f: A \to B$ is continuous iff its graph is compact where $A$ is compact and $A,B$ are metric spaces. My attempt: I have already proved it. But somehow i am not satisfied with my proof. Implies part is Ok. But converse part i want to prove f is continuous by using $f(\overline C) \subset \overline{ f(C)}$. For this i took $C\subset E$ arbitrary. Let $T=\{(x, f(x)):\, x  \in C\}$, $F=\{(x, f(x)): x \in \overline{C}\}$. Now $\overline T$ is closed in graph(f),  hece it is compact. I cant proceed further. Please give me hint.

As a part of self study, I am trying to prove the following statement:  Suppose $X$ and $Y$ are topological spaces and $f: X \rightarrow Y$ is a map. Then $f$ is continuous if and only if $f(\overline{A})\subseteq \overline{f(A)}$, where $\overline{A}$ denotes the closure of an arbitrary set $A$.   Assuming $f$ is continuous, the result is almost immediate. Perhaps I am missing something obvious, but I have not been able to make progress on the other direction. Could anyone give me a hint which might illuminate the problem for me?


I'm trying to add a custom shortcut that enables selecting vertex/edge/face mode inside mesh edit mode. I'm trying to do this inside a custom keymap preset.  The image shows two instances of the same shortcut: The upper part of the image is the custom keymap preset. The lower part of the image is from the preset known as 'industry standard'.  Industry standard preset has the additional option that allows you to select vertex mode (encircled) while the same 'sub-option' is missing inside the custom preset (question mark) despite using the same operator.  How do I enable these 'sub-options'? Why is the name of the shortcut the same as the operator and is there a way to change it?

I'm new to blender and have this issue: I'm using the "Industry Compatible" keymap. In "Edit Mode" the keys 1, 2 and 3 swap between vertex, edge and face select - Great!  Now i want to customize it, so i'm adding a new preset "My keymap". As far as i understand this now is based on the "Industry Compatible" keympap and everything works accordingly. But if i close and start blender again, the 1, 2 and 3-key aren't working anymore. I need to go back to the preferences, set the "Industry Compatible" keymap and then set back to "My keymap". Then the 1, 2 and 3-key work again as expected.  This is reproduceable on the last Blender 2.8 version on several different machines. Am i doing something wrong? Is this a bug?


I use the Mathematics and Mathematica sites sometimes, to ask questions displayed in nice mathematical textbook script.  In the following screenshot from iPhone you can see that math expression is shown in code.  I think it is Mathjax.  In any case, when on my computer I see the nice type script without the code.  Is it possible to see nice typescript on my iPhone?  Or is this reserved for computers only?

TeX support works fine in question and answer bodies, and comments can be rendered manually by tapping and selecting Render MathJax. See related question .  However, the titles are not rendered which makes the browsing experience less than perfect. See screenshot below.   Are there any plans to implement MathJax support in titles?  (I'm running Stack Exhange iOS App Version 1.0.0 on an iPhone 4S with iOS 7.1.1)    EDIT: I was just informed about  asking for the same functionality for the Android app. I guess I shouldn't hope too much then...


How do I match and replace text using regular expressions in multiline mode?  I know the  option, but what is the best way to specify match all with the new line characters in C#?  Input:  <tag name="abc">this is a text</tag>   Output:  [tag name="abc"]this is a test [/tag]     Aahh, I found the actual problem. '&' and ';' in Regex are matching text in a single line, while the same need to be escaped in the Regex to work in cases where there are new lines also.

For example, this regex  (.*)<FooBar>   will match:  abcde<FooBar>   But how do I get it to match across multiple lines?  abcde fghij<FooBar>


I'm currently trying to create a diagram, with a logarithmic scale on y axis. This mostly works, except that the value of nodes near coords is wrong. Without ymode=log it shows e.g. 20551 as label. With ymode=log it shows 9.93. Is it possible to get behaviour of linear mode? (So it displays again 20551 instead of 9.93)  And is it possible to get legend automatically centered?  \begin{tikzpicture} \begin{axis}[     width=0.8\textwidth,     ybar,     enlargelimits=0.15,     ylabel={\#Pathes},     ymode=log,     log ticks with fixed point,     xlabel={Test},     symbolic x coords={1 - 10, 11 - 100, 101 - 1000, 1001 - 10000, >10000},     xtick=data,     nodes near coords={\pgfmathprintnumber{\pgfplotspointmeta}},     nodes near coords align={vertical},     legend style={at={(0,-2.5em)}, draw=none, anchor=north, legend columns=-1, legend     style={/tikz/every even column/.append style={column sep=0.5cm}}} ]     \addplot coordinates {(1 - 10, 20551) (11 - 100, 19784) (101 - 1000, 2436) (1001 - 10000, 149) (>10000, 12)};     \addplot coordinates {(1 - 10,4) (11 - 100,4) (101 - 1000,4) (1001 - 10000, 0) (>10000, 0)}; \legend{used,understood,not understood} \end{axis} \end{tikzpicture}   Current output:   Wanted output:

I created a horizontal bar plot to compare benchmark times. Since one of the tested components is really slow, I need a logarithmic y axis for the other values to be distinguishable. Combined with "nodes near coords" this results in the calculated values showing, instead of the original ones. Is there any way to fix this?  What it looks like:   What the values(!) should look like:   Clearly, I'm overlooking something terribly obvious. I'm just a beginner at PGFPlots, so please don't kill me. :)  MWE:  \documentclass[fontsize=12pt]{scrartcl}  \usepackage{pgfplots} \pgfplotsset{compat=1.8}  \begin{document}   \begin{tikzpicture}   \begin{axis}[      width=12.5cm,     xbar=0.1cm,     xmin=0,     y=0.6cm,     bar width=0.4cm,     xlabel={Time (ms)},     xmode=log,     major x tick style = transparent,     major y tick style = transparent,     symbolic y coords={       {SpreadsheetGear},       {Aspose.Cells},       {NPOI},       {C1.Excel},       {Spire.XLS},       {GemBox.Spreadsheet},       {SmartXLS},     },     ytick=data,     y dir = reverse,      nodes near coords,     nodes near coords align={horizontal},   ]    \addplot coordinates {       (3078.6,{Aspose.Cells})       (10059.2,{C1.Excel})       (28794.8,{GemBox.Spreadsheet})       (7437079.8,{SmartXLS})       (19975.2,{Spire.XLS})       (573.2,{SpreadsheetGear})       (10025.2,{NPOI})};   \end{axis}   \end{tikzpicture} \end{document}


This is a subset of my question earlier about how some questions survive while others exist, despite seeking legal advice that is clearly personal to them. I've decided if that is the law of the land, and people want to cast votes to close, I'm on board. Today, I ran across a couple questions of this type. One new user wrote a question, and with posting it, also posted a bounty. The Q is a clear plea for legal advice. The person, having come from another SE community had enough reputation to post a bounty, unlike other new uses, which prevents it from being closed.  My question is, why does the existence of a bounty shield a question from closure?

I have seen a number of questions like:     "Do this work for me please" or without "please"   If such a question doesn't have a bounty, I can downvote it if I want or flag it for closing. But if it has a bounty, then it's protected.  Why?  To be clear, I have nothing against "do-it-for-me" questions in real life, but if it's not allowed on Stack Overflow without a bounty why is it allowed with it?  Update: And you can probably close / put on hold such a question after the bounty time is over..  Examples of such questions that I have flagged:   - was put on hold and deleted by TS   - was put on hold and deleted by TS   - flag was declined   - flag was declined   - flag was declined   - flag was declined   - flag was marked as helpful   - flag was declined   - flag was marked as helpful   - flag was declined   - flag was declined


I'm planning to do a detailed research about comparing and contrasting two lossy audio type formats. However, now I'm struggling to determine the two types which I can do a lot of experiments and detailed comparisons on it. (which are the best to compare their efficiency on encoding as well as audio quality after encoding)  Could you recommend me the two types that I can do an experiment on and produce clear results that I can derive a conclusion on? Currently planning to compare either 'MP3 or OGG', or 'MP3 or AAC' codec, but not sure which can make the best comparison.

This question is related to the answers I got to .   The bitrate-efficient format (see the question's most voted answers and their comments thereunder) would be one that assures a good audio quality at a relatively lower bitrate.  In some cases one may need having files in mp3 format.  It seems that converting a lossy audio (like aac) to other lossy format with a "less efficient" bitrate, like mp3, imposes to use a somewhat higher bitrate for the output file in order to compensate its  bitrate "inefficiency".  I understand that aac is amongst the most "efficient" - but what about others?  This logic can be applied to other lossy formats. I would like to know what lossy formats can be considered more (or less) efficient - in this sense - than the others.


After reading all the books, I get the impression he was not. Perhaps something more. This is what comes to mind:  Even a highly skilled swordsman is at a disadvantage against a witcher. The Trial of the Grasses imparts super human reflexes and reaction time that could not be compensated for by sword skill alone. It is not something within normal human abilities, even honed abilities, to match (hence the need for mutation in witchers) I seem to recall specific mention of his eyes being glassy eyes, eyes like fish, etc., on more than one occasion Unusually thin stature  I suppose the only exception is that maybe he used trickery/traps. Curious to know what others think.

How was possible that Leo Bonhart, an "ordinary" human, was able to kill three Witchers? Was he just well trained, or had magic to help him as well?


shows nicely how to use data from another file while plotting data using \addplot table. However, when trying to access the create on use column using \thisrow{}, an error occurs. For example, simply plotting the column newZ below works, but dividing Y by newZ fails with the following error:  ! Package PGF Math Error: Unknown function `newZ__column_not_found'   I'd guess that this is somewhat expected because the pgfplots manual states \thisrow can only be used with "an existing column or one for which a column alias exists", but it says nothing about automatically created columns.  So, is there another way to do calculations with columns from another file that I'm not aware of?  \documentclass{article}  \usepackage{filecontents} \begin{filecontents}{data1.dat} X  Y 1  3 2  2 3  1 \end{filecontents} \begin{filecontents}{data2.dat} Z 4 7 2 \end{filecontents}  \usepackage{pgfplots,pgfplotstable} \pgfplotstableset{     create on use/newZ/.style={         create col/copy column from table={data2.dat}{Z}     }    }     \begin{document} \begin{tikzpicture} \begin{axis} \addplot table [y=newZ] {data1.dat}; % This fails: %\addplot table [y expr=\thisrow{Y} / \thisrow{newZ}] {data1.dat}; \end{axis} \end{tikzpicture} \end{document}

In the following MWE, I'm trying to create one on use column based on the definition of another on use column. PGF generates an error in this case:  PGFPlots: reading {test1.dat} PGFPlots: reading {test2.dat}  ! Package PGF Math Error: Unknown function `value__column_not_found' (in 'value __column_not_found.*0.75').   Although the example (taken from ) is trivial, I would like to keep my original data files separated, but show some of the results together, along with some simple calculations. Is there any way to create a column based on another created column in pgfplotstable?  \documentclass{article} \usepackage{pgfplotstable} \pgfplotstableset{     create on use/lb/.style={         create col/expr={\thisrow{value}*0.75}     }, } \begin{filecontents*}{test1.dat} parameter 1 2 3 4 \end{filecontents*} \begin{filecontents*}{test2.dat} value 0.00034 0.0053 0.07 0.0027 \end{filecontents*} \begin{document} \pgfplotstableread{test1.dat}\parameter \pgfplotstableread{test2.dat}\value \pgfplotstabletypeset[     columns={parameter, value, lb},     columns/parameter/.style={         column name={Parameter},     },     columns/value/.style={         column name={Default Value},     },     create on use/value/.style={create col/copy column from table={\value}{value}},     columns/lb/.style={column name={Lower Bound}}. ]\parameter \end{document}