Hey guys i have a question i did a house model and i have a plenty of good materials with normal map, multiply shaders is there anyway i can join this all together to make a bake in order for me to export it to an OBJ?

I have been experiencing an issue that once I have a material created and looking the way I want it, I cannot seem to export it correctly with the textures mixed.  I don't know the correct words to use, but in blender I have the material created using the nodes editor, and I have placed two textures inside of there (one for the rock texture and one for moss, my object is a rock). When I export this model and import to Unity (the game engine I am using), I find a materials folder but the material inside of it does not have the textures assigned, it's just a plain white material?  How can I export my material from blender in a way that it will allow me to import it WITH TEXTURES into Unity?


When using graphical modeler in QGIS 3.6 I have added additional parameters to the model inputs for the buffer tool.  The model looks like this:    When running the tool the order of the parameters in the resultant window do not follow the order parameters were added. They appear to be listed alphabetically:    I can change this quite easily by exporting the model as a Python script (as per ) and changing the order of the input parameters there:    This means my model is a now a Python script rather than a .model3 file. Is there any way to change the order of parameters through graphical modeler. Or alternatively is there a way to save a Python script as a .model3 file?

Using QGIS 3 graphical modeler I created a model with a variety of input parameters (> 10). When starting the model, a nice user interface is generated. But the arrangement of the GUI elements is totally confused and apparently unpredictable during creating the model. It does neither seem to depend on the arrangement of input parameters in the graphical modeler nor on the chronological order in which the input parameters are added to the model.   Is there a way that let's me arrange the GUI elements in the order I desire?


Is it possible to somehow measure the rate at which time is passing?

Is there (or can there be) a device that could measure the speed and acceleration of time?


I have a excel having data like below:  Data.xlsx  Method_Name | Argument_01 | Argument _02 Func1       | val1        | val2 Func2       | val3        | val4   Now my question is:  How to read the function name and arguments from Data.xlsx file and invoke the method Func1 and pass the arguments (val1,val2) using python?  If provide me a code on that using python it would be very very helpful for me.  Thanks.

What is the best way to go about calling a function given a string with the function's name in a Python program.  For example, let's say that I have a module foo, and I have a string whose content is "bar". What is the best way to call foo.bar()?  I need to get the return value of the function, which is why I don't just use eval. I figured out how to do it by using eval to define a temp function that returns the result of that function call, but I'm hoping that there is a more elegant way to do this.


In the feeds page, when I scroll down I see the refresh "bubble" flicker on my screen.   App version: 1.0.85 Device manufacturer: Samsung Device model: SM-N920S OS version: 6.0.1 (N920SKSU2ZPF4)

I'm using Android 5.1. There is a bug in the Feed view with the loading indicator. The normal loading indicator still exists. Some more information: because my feed view is now bigger, I discovered the bug only in the last half of the page. The bug appears to be the load circle to load old data from the timeline. Normally it just works, but at the end of the timeline, it goes crazy.


My phone screen is damaged, and I need to login into my email. But the problem is I didn't give any recovery method through phone number, or alternate email id. So Google asking to login into this email by open this phone, and in the settings app there is a security code. I can't open the phone to know the security code. Anyone help me to get this email please.

I have forgotten the password or username for my Google account, or I'm unable to access my account for other reasons.  How can I recover my account?  (This Q&A is meant as a general description for all Google and Gmail username/password questions. See: )


I am using an application in php that requires having PECL installed. I was looking for but I can not find something clear that indicates how to do it. Does anyone know how to do it? I use Ubuntu 16.04 and PHP 7.0.18.  Thanks for the help you can give me.

I've tried it a 100 times I'm really new to Ubuntu and ended with a bunch of error that I don't even understand can any one please help me??  Here is what I did:   I installed PHP  I installed libcurl then php5-dev I tried installing PECL extension and it says PHPIZE not found.


df -h in my redhat 7 is reporting its taking 61G of space. This should be wrong because there shouldn't be anything there which is this big. Other server with the same configuration reports only 11G.      Maximum space is consumed by /var and thats only 11g. I checked all the files and directories inside /var but couldn't find anything big.   Please Advise,

I'm trying to free up some disk space - if I do a df -h, I have a filesystem called /dev/mapper/vg00-var which says its 4G, 3.8G used, 205M left.  That corresponds to my /var directory.  If I descend into /var and do du -kscxh *, the total is 2.1G  2.1G + 200M free = 2.3G... So my question is, where is the remaining 1.7G ?


While selecting a diode, I came across  , which appear to be the same, save the ending part numbers after a "/" (i.e. one is 54, the other 73). I've surmised from  section 5.3 that the "E3" refers to the leads being pure tin; section 5.1 mentions a "slash-sheet" number, but this refers to PCB base materials, and according to section 7.9, should come before the "E3" designation. I haven't found an answer in the . What do the numbers after the slash ("/") mean?

1N5819-E3/73  1N5819-E3/53 1N5819-E3/54   the first one is 4x cheaper than the last, why ?  aren't they all the same ?


I am still new to this, so I apologise if I don't make a lot of sense!   I am using QGIS 2.4.0 Chugiak.  I am working on a project set to the GDA94/MGA Zone 50 coordinate system with 'on the fly transformation' enabled. I have added a shapefile that was created in ArcGis and set the coordinate system to the same as the projects (GDA94/MGA Zone 50). However, the shapefile is projecting at a much larger scale and A LOT further away than it should be. I have tried changing the coordinate system of the shapefile and reprojecting the shapefile, but haven't had any luck.  Any chance someone may be able to help?

Using QGIS v. 1.9 (1.7 does not seem to be available for Ubuntu Linux 12.04), do the following:   Create new project, specify coordinate system by clicking on button in bottom right hand corner, enable on the fly CRS transformation, set projection to WGS 84 / UTM Zone 18S. Pass mouse over project window and UTM coordinates appear in coordinates window in status bar at the bottom. Add delimited text layer in decimal degrees. When asked for projection, specify same projection as in (1). Points in the layer are plotted but, mousing over the map, the coordinates in the coordinates window are now in decimal degrees (even though the projection is set to UTM).   Is there something I am missing here? I have tried doing this in so many ways, so many times, but the result is always the same. I seem to be setting the projection correctly but only decimal degrees show in the coordinates window.  With thanks, Martin


This question is taken from problem 4.1.8 of "Real Analysis and Foundations" by Krantz  The question reads:  "Let S be an uncountable subset of $\mathbb{R}$. Prove that S must have infinitely many accumulation points. Must it have uncountably many?"  The first part of the question took some work but ended up coming out pretty smoothly; however, I'm at a complete loss as to how to go about addressing the second problem. Intuitively, I think the answer is yes.  My first attempt was to try to show that a countable number of accumulation points allowed one to order the elements of S in such a way that they are countable (ie prove the contrapositive), but I did not manage to get much further than that.  My second attempt was to show that $S-{s_{1},s_{2}...}$ where $s_{1},s_{2},...$ are countably many accumulation points of S is uncountable and thus must have an accumulation point, so S has an accumulation point that is not one of the countably infinite set. Hence, the number of accumulation points is uncountable.   My question is, is this logic valid? I would have to prove that an uncountable set minus a countable set is uncountable, which shouldn't be too difficult.  Any hints/points in the right direction/outright answers are greatly appreciated.

Given any uncountable subset $S$ of the unit interval. Then $S$ clearly has an accumulation point and indeed uncountably many (which might also be a nice exercise). So my question is: Is there an accumulation point, that again lies in $S$?


I want to show unicode character on my windows console. For this I changed the cmd's font to lucida console and I'm using chcp 65001 before every session I will open a program which will display unicode characters. This only works to session where I ran chcp 65001. If an external program open the cmd instead of myself I can't control it and call chcp before. So I want run it automatically when a new cmd is run (and turn on/off as I want to). Is it possible?

I am looking for a way to execute some console commands automatically when a command-prompt is opened in Windows, specifically to set some command aliases.  For example, when a command-prompt is opened, I want a command such as the following to be automatically run so that I can use ls instead of dir.  doskey ls=dir   How can this be done?


I have been fiddling around with some piece of Javascript and I find console logs 1 for below code, However I was expecting 2, as it is 'a' which created b.  function b(){          c();     function c(){                     d();         function d(){              console.log(myVar);         }     } } function a(){     var myVar=2;      b(); } var myVar=1;  a();   But again I see b sits in lexical environment of window so it is getting the value from there. So how does scope chain work?Does it take value from caller/ creator or lexical scope?

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?


I have to set up a few encounters where my players are part of a small caravan, about 4 small wagons being pulled by horses and oxes.   I am needing some help on if there are any rules pertaining to combat in a moving vehicle such as cover, attack roles, certain save throws, and if there are any advantages and disadvantages while attack in/on a wagon as well as initiative order.   A follow up question is where to locate the rules with mounted combat while targeting a moving target to attack. I can't seem to find the rules in the "Dungeon Master's Guide" or I just haven't seen it yet.

In my next session, I want my players to have a chase sequence followed by a battle on board a moving train.  They'll be chasing Githyanki, so their mage hand, jump, and misty step spells will all come into play.  I have a better idea of how to run the combat following the chase, which is covered to some extent .  However, any 5e-specific suggestions in that area would be welcome as well.  The problem   I ran a chase sequence through a graveyard according to the stock rules (DMG 252-255) a few months ago, and everyone including me ended up getting bored before it was over, even after I put the Benny Hill theme on.    It was repetitive: players and NPCs both sprinted constantly, and few of the regular urban chase pitfalls really applied to graveyards (crowd of beggars? stained glass window? cart blocks your way?). To my discredit, I didn't draw up a custom chase table in advance, which is why the same pitfalls kept happening over and over; that I'll definitely fix this time around.  How do I keep things interesting throughout the chase?


I have some files in the format  Y15-SUB-B04-P17-BK_M02734_4_000000000-ANNUF_1_1111_24724_4878;size=1; Y15-SUB-B05-P22-LM_M02734_4_000000000-ANNUF_1_1111_20624_14973;size=1; Y15-SUB-B05-P22-LM_M02734_4_000000000-ANNUF_1_1103_11326_10379;size=1;   I wish to replace every occurrence of the underscore (_) with a colon (:) EXCEPT for the first one. I want an output like this:  Y15-SUB-B04-P17-BK_M02734:4:000000000-ANNUF:1:1111:24724:4878;size=1; Y15-SUB-B05-P22-LM_M02734:4:000000000-ANNUF:1:1111:20624:14973;size=1; Y15-SUB-B05-P22-LM_M02734:4:000000000-ANNUF:1:1103:11326:10379;size=1;   I know I can use sed -i '' 's/_/:/g' old_file to replace ALL (or sed 's/_/:/g' old_file > new_file), and that I could add numbers to replace only the 2nd, 4th or so occurrence:  sed 's/_/:/2' old_file > new_file   But how to replace every occurrence on each line BUT the first?

I have a logfile with timestamps in it. Occasionally there are multiple timestamps in one line. Now I would like to remove all of the timestamps from a line but keep the first one.  I can do s/pattern//2 but that only removes the second occurrence and sed doesn't allow something like s/pattern//2-.  Any suggestions?


I have the following code:  var voucherAmountValue = "5"; var totalValue = Math.Round(Convert.ToDecimal(voucherAmountValue), 2);   When I write totalValue to the console, it prints 5. I'd expect the fractional digits to be added, printing 5.00 for totalValue, but it doesn't: it still prints 5.  How can I add the fractional digits to a decimal that doesn't have them?

When displaying the value of a decimal currently with .ToString(), it's accurate to like 15 decimal places, and since I'm using it to represent dollars and cents, I only want the output to be 2 decimal places.   Do I use a variation of .ToString() for this?


I'm getting a null pointer exception for this and I'm not sure why   public static boolean hasPair(Card[] cards) {     int k=0;      cards = new Card[5];       for (int atPos = 0; atPos<5; atPos++){          for (int atPos2 = atPos+1; atPos2<5; atPos2++){               if(cards[atPos].getValue() == cards[atPos2].getValue()){                  k++;              }             if (atPos2 == (cards.length-1) && k!=1){                  k=0;             }             else if (atPos2 == (cards.length-1) && k>=2){                  return true;              }         }     }     return false; }   My method is testing whether or not my hand of cards has two cards that hold the same value and the nul pointer says it's within this line   if(cards[atPos].getValue() == cards[atPos2].getValue()){    I also have this method...could i use it as a helper?   public Card[] deal(int numCards) {       Card[] newArray;     newArray = new Card[numCards];          for (int index=0; index<numCards; index++){              newArray[index] = cards.get(0);             cards.remove(0);      }     return newArray;     }

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 need to manually edit /etc/shadow to change the root password inside of a virtual machine image.  Is there a command-line tool that takes a password and generates an /etc/shadow compatible password hash on standard out?

In Linux I can create a SHA1 password hash using sha1pass mypassword. Is there a similar command line tool which lets me create sha512 hashes? Same question for Bcrypt and PBKDF2.


Consider all colorings of the edges of K6 such that every edge is either colored red or blue. Prove or disprove: there always exist at least two monochromatic triangles in any 2-coloring of the edges of K6.  So I have already proved using the pigeonhole principle that K6 must have at least one monochromatic triangle, so now I am wondering if it must also have two. I am currently trying to see if I can draw one without two monochromatic triangles, because that seems like it would be an easy way to disprove it, but that's getting very complicated.  I can't quite figure out where to go from here.

Let $K_n$ be a complete $n$ graph with a color set $c$ with $c=\{\text{Red}, \text{Blue}\}$. Every edge of the complete $n$ graph is colored either $\text{Red}$ or $\text{Blue}$. Since $R(3, 3)=6$, the $K_6$ graph must contain at least one monochromatic $K_3$ graph. How can I prove that this graph must contain another (different) monochromatic $K_3$ graph. I saw proofs which uses the fact that there are at most $18$ non-monochromatic $K_3$ graphs. Since there are $20$ $K_3$ graphs (how can you calculate this) there are at least 2 monochromatic $K_3$ graphs. Are there other proofs?


What do the four individual Walmart receipt codes of "O", "T", "X", and "N" denote?

Today, I only bought groceries at Walmart and noticed that there is no tax on groceries in California (Google tells me that this is perhaps true for whole of the US?)  So far I have always paid tax at Walmart for my grocery purchases, but that also included items like crackers, shampoo etc  Did Walmart charge me then only for the items that were not groceries, or if your cart has groceries + non-grocery items, you get charged tax on all of them?  Or is this a policy that varies by store, or cashiers' knowledge/discretion, etc?  Would people recommend for me to break down a single mixed purchase into two: one only having groceries and the other with the rest, or is this being paranoid?  My grocery purchases, every two weeks, amount to around $100+.  I pay 8.25% tax, so that is enough to get me free gas if I can figure this out!


I'm using Blender 2.9 on my Macbook Pro, but it renders very slowly in Cycles on CPU. I've tried using ProRender but it makes the interface very laggy and it doesn't render any faster (at least nothing noticeable). When rendering I know to set all the settings properly for faster render (samples, tile size etc.), but I would like to render my art and animations on proper GPU. These are my computer details.  What would be a proper eGPU to use with my computer? I realize this could be more opinion based question, but there are so many options out there that I am lost, also it gets expensive buying wrong gear.

I am considering purchasing a Mac for my godson who will be using it to run Blender 2.8.  I know very little about this program.  All I can find are requirements for a Mac that will run earlier versions of Blender.  Would someone please recommend a list of requirements for a Mac (or a link to a list of requirements) that I could use to find a model that can run 2.8?  Thank you in advance for all your help! Sincerely, M. Lap


This question   Has a canonical URL of   Which is an encoded form of ��  It should instead have a canonical URL of   Which is a correct encoded form of 💩.

Some questions, for example    Instead of using a correct URL, such as  http://meta.stackexchange.com/questions/79543/٩●̮̮̃-̃۶-forbid-unicode   are using  https://superuser.com/questions/516363/what-is-the-��-character   What is causing this behavior?


I'm working on Priority Queue in Java implementing by Linked List, to set the priority order, I'm trying to shift all the Linked List Objects to array for sorting, and then again back to the Linked List (after sorting priority wise). I tried this code but I get "Null pointer exception" every time I pass Linked List Object to Array. What should I do?  public class Node {      Node next;     Object data;     int pref;      Node() {         this(0, null);     }      Node(Object m, Node s) {         setData(m);         next = s;     }      Node(Object m, Node s, int pref) {         setData(m);         next = s;         this.pref = pref;     }      void setData(Object m) {          data = m;     }      public Object getData() {         return data;     }      public void setPref(int pref){         this.pref = pref;     }      public int getPref(){         return pref;     } }      public class PriorityQueue(){     public Node head;     PriorityQueue(){     head = null;     }     public boolean enQueue(Object v, int p) {              Node newNode = new Node();             newNode.setData(v);             newNode.setPref(p);              if (head == null) {                  newNode.next = head;                 head = newNode;                 return true;              } else {                  Node current = head;                  try {                      while (current.next != null) {                         current = current.next;                     }                     current.next = newNode;                     settingPriorityLevel();                     return true;                  } catch (java.lang.OutOfMemoryError e) {                     System.out.println(e.getMessage());                     return false;                 }             }          }          public void settingPriorityLevel(){              Node arr[] = null;      //converting LinkedList to array for sorting purpose             Node current = head;             Node temp;              for(int i = 0; i <= size(); i++){                 arr[i] = current;                  current = current.next;             }              for(int i=0; i < arr.length; i++){              //sorting                 for(int j = i+1; j < arr.length; j++){                     if(arr[i].pref > arr[j].pref){                     temp = arr[i];                     arr[i] = arr[j];                     arr[j] = temp;                     }                 }             }              for(int i = 0; i < arr.length; i++){        //shifting back to LinkedList                 current = arr[i];                 current = current.next;             }           }     }


Amazon has lots of items that claim bonus dollars for Cloud purchases. Take for instance .     Special Offers and Product Promotions   Buy a CD, get $1 in Amazon MP3 Credit. Limit one promotional credit per customer.  (restrictions apply)   How do I find out how many of those $1 credits I've accumulated? I know I must have a bunch. It says Limit one promotional credit per customer. Does that mean one promotional offer per sale of item that has promotion? Or does it mean one promotional offer for all items that have had this promotion? I've been buying items marked with this text for a year—is it all part of one giant promotion?

I'm trying to figure out how much promotional credit I have before I make a purchase (stupid 1-click for digital purchases).  I do not want to check my gift card balance. I want to know how much promotional credit I have.  For example: As of writing this question, Amazon gives $1 MP3 credit with the purchase of any CD album. I've purchased a few of those, but I don't know how many MP3 credits I have. Where can I check that?  I know I've seen a page in the past with it on it, but I can't find that page now.


I am very new to Ubuntu and I still don't understand a lot of basic concepts so please bear with me.  I successfully installed XAMPP 1.7.4  in my ubuntu 11.04. The XAMPP is installed in /opt/lampp. I know how to write php file in /opt/lampp/htdocs using the bash terminal command sudo gedit /opt/lampp/htdocs/myphpfile.php but what if I already have an existing php file inside a folder? Of course I don't want to write it again using sudo command. All I want to do is copy that folder that contains the php files inside htdocs like I always do in Windows WAMP. Is there a command in which I could set the /opt folder to writeable? Please help me.

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.


Why didn't the British ministry of magic call upon their foreign counterparts for aid in the war against Voldemort, I mean if they had the help from one other country they could gain the upper hand way quicker just through sheer numbers.

There's talk of wizards abroad and we see the students from Beauxbatons and Durmstrang, but if Voldemort really is trying to take over the world of magic, why was there never any sign of any wizard armies from abroad coming over to help?


For example; a +5 chest piece, +5 gloves, etc. I don't have a 5e book to use anymore, I do have a 3.5 but I don't know if the rules have changed.

Are there any rules for combining different clothing/armor for providing AC? For example, can an adventurer wear full plate and bracers and get the AC bonus from both? Can an adventurer wear a Cloak of Protection over plate? Can an adventurer wear a helm or crown and also plate armor, or does the plate armor include a mandatory helmet and preclude any other headwear?   I understand that ultimately this is up to the DM and what makes sense, but I would appreciate if there were some rules I could use as a foundation for rulings.


I've tried many things but for some reason I can not figure out why the following code keeps giving me an error.  $conn = new mysqli($servername, $username, $password, $dbname); if ($conn->connect_error) {     die("Connection failed: " . $conn->connect_error); }   $sql = "INSERT INTO app_users (signupDate, userToken, ipAddress, countryCode, countryName, regionName, cityName, zipCode, latitude, longitude, timeZone, referer, userAgent, hostName) VALUES ('$ls_signupDate', '$ls_userToken', '$ls_ipAddress', '$ls_countryCode', '$ls_countryName', '$ls_regionName', '$ls_cityName', '$ls_zipCode', '$ls_latitude', '$ls_longitude', '$ls_timeZone', '$ls_referer', '$ls_userAgent', '$ls_hostName)'";  if ($conn->query($sql) === TRUE) {     echo "Content Inserted successfully"; } else {     echo "Error inserting content: " . $conn->error; }   The error it keeps giving me is...     You have an error in your SQL syntax; check the manual that   corresponds to your MySQL server version for the right syntax to use   near '' at line 2   What am I doing wrong here?

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I heard that linked lists are much better than arrays. But why are arrays used at all then?

I've always been one to simply use:  List<String> names = new ArrayList<>();   I use the interface as the type name for portability, so that when I ask questions such as these I can rework my code.    When should  be used over  and vice-versa?


Not sure how to install on tablets I'm 13.10 on desktop so do I download a different ver for tablets

With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time.  Note from foss & Oli: We are making this the master question for all future "Will this work on <insert random tablet/phone/device here>?!" questions


Assuming convergence of the following series, find the value of $\sqrt{6+\sqrt{6+\sqrt{6+...}}}$  I was advised to proceed with this problem through substitution but that does not seem to help unless I am substituting the wrong parts. If i substitute the $6$, well then i am just stuck with above.   Any ideas on how to proceed. Also, what is the purpose of stating that it is convergent.

(Fitzpatrick Advanced Calculus 2e, Sec. 2.4 #12)  For $c \gt 0$, consider the quadratic equation $x^2 - x - c = 0, x > 0$.  Define the sequence $\{x_n\}$ recursively by fixing $|x_1| \lt c$ and then, if $n$ is an index for which $x_n$ has been defined, defining  $$x_{n+1} = \sqrt{c+x_n}$$  Prove that the sequence $\{x_n\}$ converges monotonically to the solution of the above equation.  Note: The answers below might assume $x_1 \gt 0$, but they still work, as we have $x_3 \gt 0$.    This is being repurposed in an effort to cut down on duplicates, see here: .  and here: .


My question is easy but I currently haven't the response.  How can I add the "&" as a normal char inside a table row? If I try to use $&$, I have an error.

Possible Duplicate:             \begin{tabular}{ l | c || r | }   A&B & 2 & 3 \\   4 & 5 & 6 \\   7 & 8 & 9 \\ \end{tabular}   How would I type & in LaTeX? Because I  want for example, A&B to be in one box, but I cant seem to figure out how.


here are 2 example scripts: script.sh: #!/bin/bash export TEST=1  script2.sh: #!/bin/bash ./script.sh echo $TEST  script.sh is supposed to assign 1 to the TEST variable and script2.sh is supposed to run script.sh to assign 1 to the TEST variable and then print the value of the TEST variable (1). that doesn't work for some reason. there is no output, and if I run script.sh and then run echo $TEST it won't print anything - the variable is empty or nonexistent. any idea why/how to do that properly? thanks in advance!

I have multiple Amazon EC2 accounts and want to quickly be able to switch variables, such as $EC2_HOME, using a script.  I have have a shell script set up like this:  #!/bin/sh export EC2_HOME=/home/me/.ec2 echo $EC2_HOME   When I run the script I know that EC2_HOME is set, but I thought that using export would make the variable stick around after the script completed. It does not, as running echo $EC_HOME does not show anything.  I know this must be very rudimentary Linux scripting knowledge, but I don't know it. I tried looking for related questions without luck - so my apologies if this is a duplicate.


i am a software developer. i had develop application using vs2010 and want to run in Linux .the problem is, .exe installed successfully in Linux but not running i had every thing from my side but nothing happen so please help me..

Can .exe and .msi files (Windows software) be installed in Ubuntu?


There is both a HDD and a 24GB SSD in my Ultrabook.    I will install Windows (for testing in feature, as its free in university) in the HDD. I need to decide what to do with Ubuntu, as its the system which I'm using for education and for my job (Python Developer).  The SSD works very good, but some people write its not a good idea to install an operating system on an SSD.  If I will use it as the main Ubuntu partiton, the 24GB for system is not enough as its my primary system, and new games from valve is around 7 GB and in some years i will collect a lot data in system. I don't like reinstalling Ubuntu, its not Windows :D.  So, what is your idea?  To use all SSD as swap (RAM is 4GB) and install all the system in HDD, to use part of SSD as swap and other part as /system, to use SSD as system and make partition for swap in HDD, or something else?

With lots of guides and setup variations all over the internet, I find it confusing which is which to really follow. Normally, in Windows 8 my setup would be install everything in the HDD and use Intel Smart Response for a speedy setup. However as I am new to Linux I really don't know what to do.  My ideal setup would be something similar to this, but I know for a fact that IRST is not available in Linux so what I intend to do is keep the OS files in the SSD instead and keep my media on the larger HDD. A step by step procedure would be extremely helpful.     Edit: I want a system running solely on Ubuntu, with the SSD to speed things up but setting it in such a way that it does not hasten its lifespan.    # /etc/fstab: static file system information.  # # Use 'blkid' to print the universally unique identifier for a  # device; this may be used with UUID= as a more robust way to name devices  # that works even if disks are added and removed. See fstab(5).  #  # <file system> <mount point> <type> <options> <dump> <pass>  # / was on /dev/sda1 during installation  UUID=80289460-5983-4349-8afc-6f3119938ee9 / ext4 errors=remount-ro 0 1   # /files was on /dev/sdb5 during installation  UUID=c1678c88-5100-41bc-8090-7887f1622c7f /files ext4 defaults 0 2   # swap was on /dev/sdb6 during installation  UUID=608e3ec2-c76e-4657-af6d-80793b5f50f6 none swap sw 0 0


I had Windows and installed Ubuntu alongside. Somehow GRUB wouldn't recognize Windows, so I erased the Windows partition and attempted to reinstall it, however I got error messages like "the partition is not windows-compatible". My partitions:   /dev/sda1 - Ubuntu /dev/sda5 - Ubuntu swap /dev/sda6 - A previously installed Ubuntu version-not using it anymore /dev/sda7 - only data, no OS   I could potentially delete all partitions if needed except my data partition (sda7).

I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break . Go  for UEFI only!


I have two themes on my site: Red, and Blue. This works fine. I must know if I can make something to change the favicon, when users change the theme. I know this code is for implementing favicon: <link rel="shortcut icon" href="favicon.ico" /> <link rel="icon" href="favicon.ico" />  What do I need to make this possible? Using jQuery?  I have this script which I use for changing themes: $("#painel_faccao li a").click(function() {          $("link#faccao").attr("href",$(this).attr('rel'));               $.cookie("css",$(this).attr('rel'), {expires: 365, path: '/'});      return false;         });  How I can implement this here? (This question has a more modern approach to this function)

I have a web application that's branded according to the user that's currently logged in. I'd like to change the favicon of the page to be the logo of the private label, but I'm unable to find any code or any examples of how to do this. Has anybody successfully done this before?  I'm picturing having a dozen icons in a folder, and the reference to which favicon.ico file to use is just generated dynamically along with the HTML page. Thoughts?


public class TimePickerClass  extends Activity{  public TimePicker mTimePicker;  @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_time_picker_class); Button saveTimeButton; mTimePicker = (TimePicker) findViewById(R.id.timePicker); mTimePicker.setIs24HourView(true); saveTimeButton = (Button) findViewById(R.id.next_button); saveTimeButton.setOnClickListener(v -> {     getTime(); });    public String getTime(){ //TODO int hour; int minute; hour = mTimePicker.getHour(); minute = mTimePicker.getMinute(); String message; message = "Time:" + hour +" : " + minute; return message; }   Hello! I have a class in which using TimePicker I get the time chosen by the user. I'm trying to do this:  TimePickerClass time = new TimePickerClass(); String userTime = time.getTime();   But this does not work, the application is down. How then can this be realized? The error is as follows:  FATAL EXCEPTION: main           Process: com.gfc.glanceclock, PID: 32256           java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.TimePicker.getHour()' on a null object reference

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?


My laptop has two hard drives, one 320GB HDD and a 30GB SSD. I installed Windows 8 on the HDD and Ubuntu on the SSD. However, after I installed Ubuntu, Windows 8 did not appear on the boot list. I tried boot-repair, but this didn't help.Here is the output of my fdisk -l:  Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x6cd9314a     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048   625139711   312568832    7  HPFS/NTFS/exFAT  Disk /dev/sdb: 30.0 GB, 30016659456 bytes 255 heads, 63 sectors/track, 3649 cylinders, total 58626288 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x6cd93132     Device Boot      Start         End      Blocks   Id  System /dev/sdb1   *        2048      207126      102539+  83  Linux /dev/sdb2          208894    58626047    29208577    5  Extended /dev/sdb5          208896     4112383     1951744   82  Linux swap / Solaris /dev/sdb6         4114432    58626047    27255808   83  Linux  Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes 49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0009c694          Device Boot      Start         End      Blocks   Id  System /dev/mmcblk0p1   *        8192     7744511     3868160    b  W95 FAT32   I also tried sudo grub-update, but that also did nothing.

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


How to prove that if $n>2$ then $n!>n^{n/2}$ using induction?

Show that if $n>2$, then $(n!)^2>n^n$.     My work: I tried to apply induction. So, at the induction step, I need to prove, $n^n>(n+1)^{n-1}$ Here, I tried to use induction again without any luck. I also took log of both sides, but I did not get anything. Please help!


Trying to find an easy and convenient mechanism to get the current configuration values from a running nginx instance.  The ideal solution would be a url that I could point to that would print the configuration values that are loaded into the server.  The purpose of this is to verify that the configuration file that I believe to be holding the correct values is indeed being loaded correctly and its values are set.

Apparently, I shouldn't have spent sleepless night trying to debug an application. I wanted to restart my nginx and discovered that its config file is empty. I don't remember truncating it, but fat fingers and reduced attention probably played their part.  I don't have backup of that config file. I know I should have made it.  Good for me, current nginx daemon is still running. Is there a way to dump its configuration to a config file that it'll understand later?


, which I found on the Harry Potter wiki, is of the Weird Sisters, the wizarding band from the Yule Ball.  In the picture, you can see that one of them at least is playing what seems to be an electric guitar.  Indon't know what all of their instruments are, but they look exactly like a Muggle band, including their electric guitars and maybe other stuff.  But everyone knows that,  1) Wizards are clueless to Muggle technology (I myself don't even know what electri--I mean, Arthur Weasley), and 2) Muggle technology doesn't work on the Hogwarts grounds.  Note: this is mostly about the movies, since I found this passage in the books:     A set of drums, several guitars, a lute, a cello, and some bagpipes were upon it [the stage]

Hermione says in Goblet of Fire:     ‘All those substitutes for magic Muggles use – electricity, and computers and radar, and all those things – they all go haywire around Hogwarts, there’s too much magic in the air.'   Goblet of Fire - pages 475-476 - Bloomsbury - chapter 28, The Madness of Mr Crouch   and in Chamber of Secrets Colin Creevey says this:     ‘[A]nd a boy in my dormitory said if I develop the film in the right potion, the pictures’ll move.’ Colin drew a great shuddering breath of excitement and said, ‘It’s brilliant here, isn’t it?'   Chamber of Secrets - page 75 - Bloomsbury - chapter 6, Gilderoy Lockhart   How is it that Colin Creevey's Muggle camera works properly at Hogwarts and on the Hogwarts grounds? Further, how is it that a magical potion could create moving pictures from Muggle film, which only takes one-framed (for lack of a better description) shots at a time?   I'm assuming Colin's camera is not digital, as this is 1991 (), plus Colin, obviously, references film.


I wanna give away my old iPad to my kid, and would like to delete my Gmail account from the old iPad.  Questions:  1) Will my Gmail account be totally erased when I delete my Gmail account on my iPad?  2) I have thousands and thousand of contacts in my iPad which is linked to Gmail, I'm afraid if I delete the Gmail account, all contact details will be gone forever.  Thanks and looking forward to your favorable reply.

During iPad setup I configured Gmail as email on iPad, now I want to remove Gmail from my iPad email, how to do it?


Sorry if this is the umpteenth post about references; I've read quite a few but can't seem to solve my problem, so here it goes. I want to reference articles by storing all article descriptions in a seperate file.  I have two files in a folder: references.bib and test.tex.   references.bib looks like this:    @article{fasshauer2011positive,   title={Positive definite kernels: past, present and future},   author={Fasshauer, Gregory E},   journal={Dolomite Research Notes on Approximation},   volume={4},   pages={21--63},   year={2011}   }   test.tex looks like this:  \documentclass{article}  \begin{document}  Please just be a nice citation: \cite{fasshauer2011positive}.  \newpage  \bibliography{references}  \bibliographystyle{ieeetr}  \end{document}   But this turns \cite{fasshauer2011positive} into [?] and makes me slightly angry. So who could help me? :D  Cheers.

This may be an overly simplistic question but please bear with me...  I have a BibTeX bibliography containing all of my references, set up using BibDesk. I am now trying to cite these references in my LaTeX documents. Following the advice on the LaTeX wikibooks page, I have included the following lines into my LaTeX document...  \bibliographystyle{plain} \bibliography{/Users/Graeme/Documents/References/BIBliography.bib}   ... where BIBliography is my .bib file, created in BibDesk.  Unfortunately, when I cite something in the document, using \cite{citekey} and typeset the document, the log tells me that there were undefined references. In the .pdf that is produced, there is a [?] where the references should be.  Am I doing something wrong? Do I need to store my .bib for in a particular location? I know there can be some errors that mean you need to typeset the document several times, but I have tried countless times to no avail.  I would be very grateful if someone could help out.


As noted in several posts, the display scaling in Ubuntu 17.10 can only be set to 100, 200 or 300%.  For fractional scaling such as 125, 150%, the work around proposed  works but leave blurry font in applications. It there a way to restore sharp font and still maintain the fractional scaling?

I updated to 17.10 from 17.04.   I activated the fractional scaling by running the following command.   gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"   Then, I changed 125% scale. The scale was changed, but the fonts and icons are so dirty.    The launcher icon and font in Google Chrome and other application except the system setting are dirty.  How can I resolve this problem?  For some reason, font in the system setting is not dirty...


The famous     Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.    means:     Buffalo from Buffalo – whom other buffalo from Buffalo bully – bullies buffalo from Buffalo.   So, the sixth buffalo should take an s, and then the sentence is not a that homonym any more!  , a sixth buffalo is taken as plural so that it does not need an s. But the subject of that verb (the sixth buffalo) is the second buffalo and thus is singular. Have we intentionally ignored a rule in the language so to make a homonym?

Why is the following statement valid, and how can I break it down so that it is easier to understand?     Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo.


I would like to create an environment having the following role: create an exercise (called "exo" in the sequel) and a grid with a prescribed number of lines. My environment exo works fine, but not with the grid. I tried  \newenvironment{exoQuadrill}[1]% {\begin{exo}}% {\end{exo} \smallbreak\begin{tikzpicture}[scale=0.5,gray] \draw(0,0) grid (33.4,#1); \end{tikzpicture}\medbreak}   It doesn't work (error : "illegal parameter number"), but it is if I don't specify the number of lines:   \newenvironment{exoQuadrill}[1]% {\begin{exo}}% {\end{exo} \smallbreak\begin{tikzpicture}[scale=0.5,gray] \draw(0,0) grid (33.4,13); \end{tikzpicture}\medbreak}

Environments are allowed to have arguments, but reference to those arguments can only appear in the opening code of the environment, and not the closing code.  What is the reason for this, and are there preferred ways around it?  e.g.  \newenvironment{foo}[1]% {some code #1} % allowed {some code #1} % not allowed


How to solve this exception     Could not load file or assembly 'OpenCvSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005), and I get the following error:  System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)** at x.Foo.FooGO() at x.Foo.Foo2(String groupName_) in Foo.cs:line 123 at x.Foo.UnitTests.FooTests.TestFoo() in FooTests.cs:line 98** System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.203, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  I look in my references, and I only have a reference to Utility version 1.2.0.203 (the other one is old). Any suggestions on how I figure out what is trying to reference this old version of this DLL file? Besides, I don't think I even have this old assembly on my hard drive. Is there any tool to search for this old versioned assembly?


hi, im new to blender. I was wondering if there was a way to use python to print a list of coordinates of edges or save into a text document like this:  x:(the coordinates of one end of the edge)  1  2  3  so on  y:  1  2  3  z:  1  2  3  x2: (the coordinates of the other end of the edge)  1  2  3  y2:  1  2  3  z2:  1  2  3  ignore bullet points I'm using them to separate lines

I am pretty new to Blender. I need to get coordinates of each selected vertex somehow. I don't really want to manually copy coordinates of each and single vertex that would just take a lot of time. I need them either printed somewhere or save them into some kind of text file. Again I need only those vertexes I have selected, not the entire model.


Trying to capitalize the content of the files that match the filename pattern "_base.txt"; then output the results to another folder with the original filename plus the "_cap.txt" in the end.  I plan to do this through 3,000 files. So I am testing it on a few files at the moment.  First I was able to get the content capitalized. But all output results were not redirected.   BASE="/home/dir/input/" find "$BASE" -type f -iname "*.txt" -exec awk '{print toupper($0)}' {} +    Then I added the following, which allowed me to output to a new filename ended with "_cap.txt"  BASE="/home/dir/input/" find "$BASE" -type f -iname "*_pv_bind_basefile.txt" -exec awk '{print toupper($0) >> (FILENAME "_cap.txt")}' {} +     The problem showed up when I try to output to a specific folder  BASE="/home/dir/input/" OUT_FOLDER="/home/dir/output/" find "$BASE" -type f -iname "*_pv_bind_basefile.txt" -exec awk '{print toupper($0) >> ($OUT_FOLDER FILENAME "_cap.txt")}' {} +   I got the following error message     awk: illegal field $(), name "OUT_FOLDER"  input record number 1, file   /home/dir/input/TAB1.a1.001.txt  source line number 1   I tried several iterations to output the files and failed miserably after a few hours...It must be some simple thing that I overlooked or not knowing how to do it. Any suggestions would be highly appreciated. Thank you.

Here is my script (to find the files that contain a specified pattern):  find . -type f \     -exec awk -v vawk="$1" '/'"$vawk"'/ {c++} c>0 { print ARGV[1]; exit 0 } END { if (! c) {exit 1}}' \{\} \;   I would like to use my script with an argument §:  MyScript.sh pattern   My problem is that I don't manage to put the $1 variable in awk.  When I try to debug my script  bash -x MyScript.sh pattern   Here is the output :  + find . -type f -exec awk -v vawk=pattern '// {c++} c>0 {print ARGV[1] ; exit 0 } END { if (! c) {exit 1}}' '{}' ';'   The $vawk variable seems to be empty.  Any idea?


We're using Samsung with Android 4.1.2 as a scrabble timer - via the default Clock application. It would be much more comfortable if I could force the phone screen to be always on so that we can see the time remaining. I found no setting or downloadable program to achieve that.  I need some workaround tip - any ideas?

I use my personal Android smartphone for development. Every morning, I go to Settings \ Developer Options \ Stay Awake and check the box.  At the end of the day, I uncheck the box — since otherwise any notification (including the "fully charged" one) will trigger the screen on, and it will stay on from that point on.  How can these two operations be automated?


How do I make a teleporter that doesn't need a pressure plate to activate?  In other words I would like to execute a command which is executed when one steps in a certain location. For example, a command that would test if someone is somewhere and then teleport them somewhere else.  I have a few ideas, but I do not know how I know to complete the assignment. Maybe these commands?  /execute <playername> ~ ~ ~ /tp <playername> ~ ~ ~ /execute <playername> ~ ~ ~ /fill ~ ~ ~ ~ ~ ~ minecraft:redstone

Is it possible to construct something that will run automatically whenever a player is nearby, say within a chunk's range, without that player having to trigger something like a pressure pad or detector rail ?  What I'm trying to do is get some pistons to move in this situation, so for example if someone was walking along something might light up on a distant hill  The only way I can think of doing this is to have a cavern underground with a load of pressure plates wired up to pistons on the surface, and an army of snow golems down there to wander around and hit the pressure plates. But they don't seem to spawn until you're pretty near.


I would like to know if its possible to 'step up' the voltage from two AA batteries (3V for Alkaline and 2.4V for NiMH) to a stable 3.3V ?  I need to find a good power source for a circuit that I'm building which controls a few LEDs with an attiny45 chip running at 3.3V.

What would be the least expensive way to boost a DC voltage?   The aim is to convert 1.2 V/1.5 V (from an AA/AAA cell) to 3.3 V to power a small 8-bit microprocessor, like Atmel ATtiny45 or ATtiny2313, and also (if possible) 6 V to power a buzzer.  Also, what would be the maximum current one could draw safely from an alkaline battery, after boosting it to 3.3 V/6 V?  Finally, how I could compute the duration for which the alkaline battery would last, given a certain consumption?


Any help is most appreciated. Thanks!  \documentclass{article} \usepackage{amsmath} \usepackage{mathtool} \begin{document} \begin{align} \begin{split} & v \cdot \left\{ Ax + b \\ & Cx - d \right\} \end{split} \end{align} \end{document}

I have a multi-line equation that I want to have matching sized parentheses. The advice I read online was to use \left( equation \right. \\ left. rest-of-equation \right) . However, this syntax leaves first half of the equation unaware of what is in the second half. For example, if you include a square root term after the break, the second parenthesis will be larger than the opening parenthesis. When you are using the aligned environment to split a long equation this can look somewhat offputting.    Compare the top equation to the bottom one. The parentheses match in size for the bottom equation, but the left hand parentheses for the top one is  noticeably smaller.  Top Code:   \begin{aligned}[t]   \gamma_{\text{u}} + \frac{1}{108}   \left(57\gamma_{\text{er}} \right. &+  38\gamma_{\text{se}}\\ & {}\pm  \left.\sqrt{2601 \gamma_{\text{er}}^2 + 3648  \gamma_{\text{er}}\gamma_{\text{se}} + 1444 \gamma_{\text{se}}^2}  \right)   \end{aligned}   Bottom Code:  \begin{aligned}[t] \gamma_{\text{u}} + \frac{1}{16} \left(9\gamma_{\text{er}}  +  6\gamma_{\text{se}} \pm  \sqrt{49 \gamma_{\text{er}}^2 + 76 \gamma_{\text{er}}\gamma_{\text{se}} + 36 \gamma_{\text{se}}^2} \right) \end{aligned}


In these sentences:     "Some (composes/compose) delightful music"   "Some of them (write/writes) wonderful books"     Which form of the verb should I use?

Usage of Some:  Does "some" require a plural or singular verb?


I currently have Unity and Gnome 3.6 installed on my computer and I want to check out the KDE desktop environment. Is there any problem with installing multiple desktop environments on my desktop?

I am using Ubuntu 12.04. I want to try out KDE and other desktop environments.   But I'm not sure if I'll like them enough to switch permanently. I want to be safe and make a transition in a piecemeal fashion.  Is it possible to install KDE on Ubuntu and yet not do away with the default Unity shell?  Could I install multiple desktop environments and switch between them by tweaking some startup configuration and then rebooting?


A computer in a manufacturing environment is running software that is in a constant communication loop with a PLC. An artifact of the implimentation is ~20-30% CPU utilization 100% of the time (24/7). Will the constant CPU cycling have an impact on the longevity of this hardware?

I often do 3D rendering in the background which consumes 100% of the CPU (I lower the priority of the process so that it does not hinder any tasks I am working on).  My concern/question is whether it is okay to run a computer/laptop with a 100% CPU load constantly.  Could this reduce the lifespan of the system?


I have a doubt on the formula, $$F=m\cdot a$$  In pushing the wall, as per formula,  $F= m\cdot 0=0$ as there is no acceleration hence zero. Therefore force become zero. But we have applied some force which is non zero.  How can then the force be zero?

I have asked a question on I  pushing the wall,where the force of me is not zero but as per the formula F=m.a,the force is zero and then I got the answer , it is because here the net force is acting on the body.But I a doubt that then a body of mass 5kg and moving with an acceleration 2m/s^2 will experience a force = 10N,Is in this case also the net force acting? Or  the net force is acting only when the body doesn't move? If this is correct then my question why?


The motivation for this question is in my answer to this post :       (1) If I take $A$, $B$ and $C$ three groups such that $A\times B$ is isomorphic to $A\times C$ then do we have $B$ is isomorphic to $C$ ?   In the post a counter example is given when $A$ is an infinitely generated group. However I cannot get a counter-example when $A$, $B$ and $C$ are assumed to be finite groups. Note that there is no reason a priori if $\phi$ is an isomorphism from $A\times B$ to $A\times C$ that $\phi(A\times\{1_B\})=A\times\{1_C\}$.   In the case of finite groups it is true because of the Krull-Schmidt theorem : .  A slightly more general question is the following :     (2) If $B$ and $C$ are two finitely generated groups, can I always find a finitely generated group $A$ such that $A\times B$ is isomorphic to $A\times C$?   If $A$ is not assumed to verify any property but to be a group we can take :  $$A=B^{\mathbb{N}}\times C^{\mathbb{N}} $$  Furthermore replacing :$ \prod_{\mathbb{N}}$ by $\bigoplus_{\mathbb{N}}$ (or more likely the restricted product for groups but I am not sure of a well known notation, it is the subgroup of the product with all but a finite number components being trivial) will give you the same result for countably infinite groups.   $\underline{\text{Edit}}$ : To be clear about what I am asking. (1) is kown to be true for finite groups whereas (2) is known to be true when we are considering groups without restriction (even just for countably infinite groups). Let us pretend we are working on the smaller class of groups : the finitely generated groups. Is there any counter example to $(1)$? Is there any counter example to $(2)$?   $\underline{\text{Edit 2}}$: Here is a partial answer, from the classification of finitely generated abelian groups $(1)$ is always true if all groups are assumed to be abelian finitely generated groups. Now assume that $A\times B=G=A\times C$. Then you have (derived groups) :  $$D(G)=D(A)\times D(B)=D(A)\times D(C) $$  So the abelianizations verify :  $$A^{ab}\times B^{ab}=A^{ab}\times C^{ab}$$  Because we are now in the realm of finitely generated abelian groups we get :  $$B^{ab}=C^{ab} $$  So $(2)$ cannot be true in general for instance you can take $B:=\mathbb{Z}$ and $C=\mathbb{F}_5$, those two groups have different abelianizations.   The new question can be found here :

So my question is simply that for groups $A, B, C,$ if C is finite, A and B infinite and $A\oplus C \cong B \oplus C$, is $A \cong B$?  My gut tells me this must be the case, and logically I can find no reason they shouldn't be, but I can not seem to derive a formal proof of this for the life of me.  Note that I am well aware that this is not always true for infinite C.


I was wondering someting : Doing a XOR with a fixed length key on txt files is not secure. Basically :  My key is "abc"          abc|abc|abc|abc|abc|abc          Thi s i s s ome dat a  THIS, is not safe. BUT ! I was asking myself : why can't I just make a self generating infinite length key ? The user gives me a password, and I just hasing it to create a key, and whenever the length of the file is bigger then the key, i just re-hash the key itself to create a new one ! Example : Let's take a 192 Bytes message. Use SHA256 hashing algo create 48 Bytes keys.  This solution resolve the ciphere vineger problem. SO MY QUESTION ( here it is :p ) : Is this one safe ? Thanks ! ~Amperclock

A few years ago I devised a symmetric-key system that worked like so:  H()   = some hashing function h     = the number of bits in the result of H() key   = bits to be used as a key ^     = the XOR operation +     = concatenation len() = the length function (in bits)  max = ceiling(len(cipertext) / h) pad = pad_0 + ... + pad_max pad_0 = H(key) ^ H(plaintext) pad_n = H(pad_(n-1)) cipherpart_n = plaintext_n ^ pad_n ciphertext = H(plaintext) + cipherpart_0  + ... cipherpart_max   Basically, it builds up a "pad" based on the hash of the message and hash of the key and XORs the message against it.  I am not actually an expert, so I was wondering why an approach like this isn't very common.


I have a div with "id=ShowDetails". In my javascript I have this:      $(document).ready(function () {        UIactions();     });      function UIactions () {         $('#ShowDetails').click(function () {             alert("bingo");           }      });   The div is inside the update panel that gets posted back. When the page loads, if I click the div, I get the bingo but after the postback, I don't. Any idea why?  Thanks.

I'm using jQuery to wire up some mouseover effects on elements that are inside an UpdatePanel. The events are bound in $(document).ready . For example:  $(function() {         $('div._Foo').bind("mouseover", function(e) {         // Do something exciting     });     });   Of course, this works fine the first time the page is loaded, but when the UpdatePanel does a partial page update, it's not run and the mouseover effects don't work any more inside the UpdatePanel.   What's the recommended approach for wiring stuff up in jQuery not only on the first page load, but every time an UpdatePanel fires a partial page update? Should I be using the ASP.NET ajax lifecycle instead of $(document).ready?


Let $f\colon [a,b]\to\Bbb R$ be a continuous function on $[a,b]$ and $f''(x)$ exists for all $x\in (a,b)$. Let $a<c<b$, then there exists a point $\xi$  in $(a,b)$ such that $$ f(c)=\frac{b-c}{b-a}f(a)+\frac{c-a}{b-a}f(b)+\frac12(c-a)(c-b)f''(\xi).$$  In this problem, instantaneously I am thinking of applying  Rolle s ' theorem.. Am I correct in my thought approach? If not kindly provide a way out how to solve this problem elegantly..thank you . Even in Rolle s how can I go about.... The RHS seems so frightening to prove ...... Any ideas how to go about this problem ...anyone

I am stuck with the following problem that says :     let $f \colon [a,b] \to \mathbb{R}$ be continuous on $[a,b]$    and $f''$ exist for all $x \in (a,b)$. Let $a \lt c \lt b$.    Prove that there exists a point $\xi \in (a,b)$    such that $$f(c)=\frac{b-c}{b-a}f(a)+\left( \frac{c-a}{b - a} \right)f(b)+\frac12(c-a)(c-b)f''(\xi).$$   Can someone explain in details? Thanks in advance for your time.


I'm trying to create a car rim in Blender. However when I try to add array modifier, and rotate the instances around empty, they are not in the same distance from the center (as shown in the image). I can't figure out, how to put them in the same distance from centerpoint and I haven't found a satisfying answer. Thank you in advance.

We know that the there is an Object Offset option for Array modifier, but when trying to make a circular array with that offset object as the center of the array circle, it always doesn't behave quite like what's expected. So how to make a nice and controllable circular array?  P.S.: There is an old  about moving the object's origin. I wonder if there is any way to do this without changing the location of the origin. :)


What version of Ubuntu can I run on an old desktop? Also, can I revert to old style navigation in 11.10?  I have a P4 3ghz 1 gb ram  160 gb HDD graphics: VESA: 6330  I installed 11.10, but it is slow.

I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the "official  requirements", the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below.


I just installed my server with Ubuntu 20.04 and cannot install a DEB package. I have the error message below, why and how to install my package ? ubuntu@ov-GFF56:~$ sudo apt install ~/protonmail-bridge_1.3.3-1_amd64.deb Reading package lists... Done E: Unsupported file /home/ubuntu/protonmail-bridge_1.3.3-1_amd64.deb given on commandline

How do I install a .deb file via the command line?


I am calculating time difference between two dates with format:     Hour:Minutes:Seconds   Right now i am getting output like this with the following input:  StartDate=2016-06-29 15:52:32.360  EndDate=2016-06-29 15:52:36.970  Output:  0 : 0 : 4   But i want to get double digit output in time :  Expected Output: 00 : 00 : 04   Input:   StartDate=2016-06-29 15:52:32.360  EndDate=2016-06-29 15:53:36.970  Expected output: 00 : 01 : 04   This is my code:  public class Attendance {       public int Id { get; set; }       public Nullable<System.DateTime> StartDateTime { get; set; }       public Nullable<System.DateTime> EndDateTime { get; set; } }   var query = (from t in context.Attendance              select new               {              TotalTime =SqlFunctions.DateDiff("s",t.StartDateTime,t.EndDateTime) /3600 + " : "             + SqlFunctions.DateDiff("s", t.StartDateTime, t.EndDateTime) % 3600 / 60             + ": " + SqlFunctions.DateDiff("s", t.StartDateTime, t.EndDateTime) % 60,               }).tolist();   Note:I dont want to do like below:  var query = (from t in context.Attendance.toList().                   select new                    {                      //code to calculate time difference and format time                   }).tolist();

What is the recommended way of formatting TimeSpan objects into  a string with a custom format?


I added a bounty to the issue a while back, it still isn't fixed. Could you please look into this, thanks   App Version: 1.0.89 Device Manufacturer: Google Device Model: Pixel   OS Version: 7.1.1 (3636322)

I've got a , the latest version of the Stack Exchange app, and here is the repro video:         Original Link to video gif:   Also, when I tried to upload this GIF file to this question, again using my phone, choosing the GIF file from the device also crashes the app, hence the Imgur link.  I've edited comments on my phone before, so I know it works/worked. All of a sudden the app is crashing.


I'm running LiClipse (a version of Eclipse IDE targeted at Python development) on a remote CentOS 7 host with X11 forwarding to xming on Windows 10.  The application starts up fine, but the fonts are incredibly small, and the wrong type (the default is 'sans', but the displayed font is different). Changing the font type and size in the application preferences has no effect.    Is it possible that I'm missing some font package in CentOS or Xming (I have installed xming-fonts 7.7.0.10)? How can this be solved?  EDIT: xset q shows the following font paths (I switched between xming and VcXsrv and the results are the same, I have now stuck to VcXsrv)  Font Path:     C:\apps\VcXsrv\fonts/misc/,C:\apps\VcXsrv\fonts/TTF/,C:\apps\VcXsrv\fonts/OTF,C:\apps\VcXsrv\fonts/Type1/,C:\apps\VcXsrv\fonts/100dpi/,C:\apps\VcXsrv\fonts/75dpi/,C:\apps\VcXsrv\fonts/cyrillic/,C:\apps\VcXsrv\fonts/Speedo/,C:\apps\VcXsrv\fonts/terminus-font/,built-ins   I have successfully changed the text editor font in the application, by picking the Courier 10 Pitch font in the appearance settings menu. The problem is that none of the default-selected fonts, like Monospace or Sans render properly.  I suspected the missing fonts might be in the C:\Windows\Fonts folder, so I tried added it to the font-dirs file, and the -fp command-line argument of both xming and VcXsrv with no success. That folder is simply ignored, it does not show in the output of xset q even if it's the only option provided, which is now an even bigger mystery.  So it seems the issue is that there's a mismatch between what fonts LiClipse/X11 is expecting to use and what Xming/VcXsrv are providing.  EDIT 2: Not a duplicate of  The solution to that question does not solve this one, and software in use is different.

Connecting to a remote Solaris 10 system over X11 I observe inconsistent behavior regarding the used fonts. I am connecting from a  system.  When I connect using ssh forwarding like this  $ ssh -Y mymachine.example.org   fonts work as expected, i.e. the rendering is very nice and programs seem to find all kind of different fonts (e.g. gvim or emacs).  When I connect to the same machine via XDMCP (to the stock blue Solaris 10 login manager screen) and login there seems only 1 fixed size font available. An Emacs from OpenCSW even fails to execute because it can't find the fonts it needs.  It prints that it can't find a font using following specification:  -dt-interface user-medium-r-normal-m   I establish the XDMCP connection like this:  $ XWin -query mymachine.example.org -from mywindowsclient.example.org   My objective is no to get also proper fonts for the XDMCP use case.  How can I investigate this issue? Can I duplicate some configuration which is implicitly used with ssh -Y for the XDMCP case?  How is the font-thing usually setup during ssh-X11-forwarding?


I have been working on a Query that takes the subset of the table records and update them but somehow i am unable to make it work it give me error #1093 - You can't specify target table 'members' for update in FROM clause  Here is the Query:  UPDATE members set is_deleted = 1     WHERE EXISTS       (SELECT m1.member_id FROM members as m1            WHERE m1.member_id NOT IN                (select member_id                     from membership_payment_profiles                     WHERE (next_date_to_charge > "2012-12-31 00:00:00"                     or next_date_to_charge is null)           order by next_date_to_charge DESC ) and m1.joined_on < "2012-12-31 00:00:00" )

I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries:  SELECT *  FROM  story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category INNER JOIN         story_category ON category_id=category.id);   I tried to delete them executing:  DELETE FROM story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category        INNER JOIN story_category ON category_id=category.id);   But I get the next error:      #1093 - You can't specify target table 'story_category' for update in FROM clause    How can I overcome this?


The Maxwell-Boltzmann velocity distribution arises from non-reactive elastic collisions of particles and is usually discussed in the context of the  (for gases). There are various offhand remarks, for example  (slide 5), that state without reference that particles observe a similar velocity distribution in liquid. Is that true? References?  The main reason I'm curious is that it seems as though the mean free path would be extremely short in liquid vs. gas. I'm actually most curious about the nature of the collisions in liquid vs. gas, i.e., are collisions in liquid still (on average) elastic?  EDIT: The linked post on  is definitely interesting and weighs in on this question, and I appreciate the distinction made between local position fluctuation vs. long range movement. Still, let me frame this question in a few different ways.   Gillespie proposed  which is formulated on the idea that non-reactive elastic collisions serve to 'uniformize' particle position so that the assumption of well-mixedness is always satisfied (see page 409 in the linked version). This is formulated from kinetic theory. A corollary to this is that a non-reactive collision between two molecules that are able to react does not induce local correlation, i.e., two particles able to react with each other that just collided, but didn't react are no more likely to react with each other in the next dt than any other particle pair in the volume. Gillespie's algorithm is commonly used in biology where biochemical species are modeled in the aqueous environment of cells. Is this valid, and if so why? On a microscopic scale, suppose we are interested in two 'A' particles diffusing in one dimension in an aqueous environment. The two A particles collide but don't react. What is their behavior immediately after the collision? Is it a 'reflection' which conserves velocity and might correspond to a Neumann BC? In a gas that approach seems natural, but in liquid the short mean-free path makes me think that diffusive forces would rapidly dissipate any momentum from the A-A collision, which might imply the A particles collide and 'stop'. How should I be thinking about this?   Just to bring it back to the original question, I think both (1) and (2) depend on the statistical velocity behavior of particles in liquid.

I seem to remember from first year physics that we can calculate the RMS speed of a stationary, ideal gas with $v=\sqrt{\frac{3RT}{M}}$. Does a similar equation exist for liquids?


I was having a conversation recently and used the word height. What stands out to me is that I pronounced it /haɪθ/ as opposed to /haɪt/. I realized that I pronounce it this way quite often.   Is this related to  or could it just be because of the pronunciations of width and length?  Follow up question: Is this a common phenomenon; is it something that's catching on and starting to become part of the English language?   I am a native speaker from the U.S.

Recently I've noticed that many people are pronouncing the word 'height' as     /haiθ/   That's right, heigth.  I've only ever heard this pronunciation mistake in the last few years. Maybe it's just an issue in Texas? Has anyone else noticed this?


Suppose two people meet and learn that they both suffer from similar or analogous afflictions – e.g., they both:   Spilled their meal on the floor. Have been walking through the same desert, both looking for something lost Are suffering from diseases with similar characteristics   Is there a single word that could allude to this relationship or the fact that they share a similar or analogous affliction or misfortune?  This is a more general case of   Neither that nor "partners in misfortune" works because the people in question are not (necessarily) partners or fellows.  I don't want to assert more than that "they're in the same boat" (to incorporate the first answer).  E.g., none of the following attempts work: "We are affliction twins."  "She is my relationship sympathizer."  "You are my co-sufferer."

They agreed to stay connected for hours in their provisional support group, looking for answers in their counterparts.   I want to change the bold part to say that they all shared the same problem.  Might end up using one of the above, but I feel like I need some more options to weigh in.    Edit for context: they all share the same rare cognitive impairment


I installed Ubuntu 16.04 by formating all hdd. Everything is perfect, but for work reasons I have to install Windows. I downloaded company image (as I know untouched image) of Windows and wrote to USB with Rufus.   Now problem starts with the booting options, when I click to F12 for BIOS Booting Options (the white menu on blue background that listes HDD, CD-ROM etc.) there was only one option that says "ubuntu" and when I click that it directs me to Ubuntu. When I click to F2 for BIOS menu it redirects me to GRUB (only OS so again to Ubuntu). So I find something call rEFInd so maybe it can find my USB (it worked on my another laptop before), and no luck still I can't see my USB and all I could find is Ubuntu. (EFI i guess)  I am not expert at EFI or UEFI or other protocols, so if you can explain how can I get out of this cycle and reach to my bootable usb for someone new to this?

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


Throughout the entire game, I have sold all the treasure-type items I got. Do they serve any purpose other than profit?

I'm a bit tight on gil at the moment, but I want to buy all cooking ingredients I come across so Ignis can unlock as many recipes as possible.  I do have quite a few valuables in the Treasures tab of my Inventory. However, I'm always wary about selling everything, because in some games, "treasures" can be used as crafting ingredients for things. I'd hate to sell something for 50 gil and then find out it's required to upgrade my spear and be forced to go back and get it again.  That said, is it okay to sell all of my Treasures in FFXV? Or are there some used as crafting components? If so, what are they, so I can hang onto them?


After apt-get update I get the following errors, what do they mean and what I can do?  http://security.ubuntu.com/ubuntu/dists/xenial-security/multiverse/dep11/Components-amd64.yml Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_dep11_Components-amd64.yml.xz - open (13: Permission denied)*  E: Failed to fetch http://ppa.launchpad.net/apandada1/brightness-controller/ubuntu/dists/xenial/main/binary-amd64/Packages  Could not open file /var/lib/apt/lists/partial/ppa.launchpad.net_apandada1_brightness-controller_ubuntu_dists_xenial_main_binary-amd64_Packages.xz - open (13: Permission denied)* E: Some index files failed to download. They have been ignored, or old ones used instead.* Err:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_multiverse_dep11_Components-amd64.yml.xz - open (13: Permission denied)*

For the last week or more, running sudo apt-get update culminates in error:  Reading package lists... Done E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial/main/dep11/Components-amd64.yml   Could not open file /var/lib/apt/lists/partial/au.archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz - open (13: Permission denied) [IP: 202.158.214.106 80] E: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/dep11/icons-64x64.tar  Could not open file /var/lib/apt/lists/partial/au.archive.ubuntu.com_ubuntu_dists_xenial-backports_main_dep11_icons-64x64.tar.gz - open (13: Permission denied) [IP: 202.158.214.106 80] E: Some index files failed to download. They have been ignored, or old ones used instead.   Entering either of the 2 specified urls into a browser address bar results in a 'File not found' (404) error - but if I append .gz to both addresses, then the respective files can be downloaded.  However, having downloaded the 2 files, I then don't know how (or if) I can utilize them.  Seeking advice on how best to proceed.


When we add two matrices we just simply add the corresponding elements but when we multiply two matrices there is a much more complex process.Why does it happens?

If I multiply two numbers, say $3$ and $5$, I know it means add $3$ to itself $5$ times or add $5$ to itself $3$ times.    But If I multiply two matrices, what does it mean ?  I mean I can't think it in terms of repetitive addition.       What is the intuitive way of thinking about multiplication of matrices?


I am using wpa_supplicant to manually connect to wifi after deleting network-manager on Ubuntu 14.04.  Now that I've finally managed to connect, I can't access any pages on the internet and I can't ping anything either. This wifi and my network adapter (usb wireless dlink) work perfectly since I was using that setup 2 days ago before removing network-manager.  I know its an improvement because just yesterday Ubuntu took 2-3 minutes to boot because it told me it couldn't find network settings until it timed out eventually. Now it boots normally so it does see it and I feel I'm a few commands away.  Here's the setup :     Now the iwconfig before connecting to the wifi manually    and the iwconfig after connecting manually  (Chouchoune is my home network)    lshw -C network:    route -n; cat /etc/resolv.conf; ping -c4 4.2.2.2; cat /etc/network/interfaces

I'm on Ubuntu 14.04 and in a step by step to install clonezilla I did:  sudo apt-get remove network-manager   The next step was to modify the interfaces file (which I did as below) but it didn't work.  Now my usb wireless card isn't recognized and I can't find a way to get network-manager back. I tried going into   /etc/network/interfaces   and modified it :  auto eth0 iface eth0 inet dhcp address (my local ip) netmask 255.255.255.0 gateway 192.168.1.1   I still can't connect any more after rebooting and trying a   /etc/init.d/networking restart   If I type in:  sudo lshw -C network   I can see that it sees the card (I'm trying to run my usb wireless) but it shows:  *-network UNCLAIMED description : network controller ... etc   *-network DISABLED  description : Wireless interface... etc.   EDIT:  No DHCPOFFERS received No working leases in persistent database - sleeping run-parts --verbose in persistent database - sleeping run-parts: executing /etc/network/if-up.d/000resolvxonf run-parts: executing /etc/network/if-up.d/avahi-autoips run-parts: executing /etc/network/if-up.d/avahi-deamon "" "" /ethool "" "" /ntpdate "" ""/upstart "" ""/wpasupplicant     reboot results:


I have a gameobject to which a script is attached.  In this script I have the following code:      foreach (GameObject g in this.GetComponentsInChildren<GameObject>())     {         BagItem nBagItemScript = g.GetComponent<BagItem>();         if (nBagItemScript != null)         {             Bounds nBounds = Helpers.BoundsFromGO(g);              Vector3 nPos = new Vector3((nBounds.size.x / 2) - nBounds.center.x, mapHeight - (nBounds.size.y / 2) - nBounds.center.y, -0.01f);             g.transform.localPosition = nPos;          }     }   I thought this code was fail-safe, but Unity outputs the following error message:  ArgumentException: GetComponent requires that the requested component 'GameObject' derives from MonoBehaviour or Component or is an interface. UnityEngine.GameObject.GetComponentsInChildren[GameObject] (Boolean includeInactive) (at C:/buildslave/unity/build/Runtime/Export/GameObject.bindings.cs:133) UnityEngine.Component.GetComponentsInChildren[GameObject] (Boolean includeInactive) (at C:/buildslave/unity/build/Runtime/Export/Component.bindings.cs:88) UnityEngine.Component.GetComponentsInChildren[GameObject] () (at C:/buildslave/unity/build/Runtime/Export/Component.bindings.cs:98) Bag.pUpdatePositions () (at Assets/Bag.cs:173) Bag.Update () (at Assets/Bag.cs:107)  Can somebody tell me which error Unity / C# is choking on here?  Is the error really in this line   foreach (GameObject g in this.GetComponentsInChildren<GameObject>())   ... or perhaps somewhere else?  Thank you very much!

I have already tried really much with all "GetChildren" and similar functions, but I haven't found out how to do it yet.  I have a GameObject named "koffer". I have added several other GameObjects as children to it.  I have added a script to "koffer" in which I try to retrieve the children. In this script I have stated this line:      string sThis = this.name; //just for testing. "sThis" becomes "koffer", so it looks perfectly fine.     foreach (GameObject g in this.GetComponentsInChildren<GameObject>()) // doesn't retrieve anything. So obviously I'm not doing it correctly.   However this doesn't retrieve anything. Is this not the correct function for such a case?  Is there any built-in function to retrieve theses game obects?  I have found several custom made functions from some years ago, and I don't know if they are still needed or if Unity has integrated some functions for that.  What really bothers me is that there are so many custom-made functions that deal with "Transform" instead of "GameObject". Why would somebody need Transform instead of GameObject?   Thank you.


In Avengers: Endgame, how does Thanos travel to the future using Nebula's beacon?  Does he have people experienced in quantum physics or some magic stone/equipment which can enable time travel of such a large scale army?

In Avengers: Endgame, how was Nebula from past able to bring Thanos and the army into the future?   The Avengers who build the machine could not do this and required Pym particles which they were short of and had only limited attempts to travel time.


Let's say I see an answer that should not have been one and I flag it as Not An Answer (NAA). On this site I have plenty of reputation and am able to use the Low Quality (LQ) review queue and cast delete recommendation votes.  Of course raising such a flag on a still virgin post brings it to the LQ review queue, but what happens if I flag a post on the main site that is already in the respective review queue?  Is my flag simply useless in that case? I doubt it would be the same as casting a delete (recommendation) vote from the queue. And when I somehow manage to find that specific post in the review queue later, it's locked down for me, because I have already cast a flag. So was that flag without any effect?  Based on how I currently guess the system works, I proposed two alternative solutions to improve the system in my feature request . They were first part of this question, but I decided to split the question from the feature requests.

Tagging as  as recommended by Shog   Currently, flagging post as very low quality is designed to work :     If more than one VLQ flag accumulates on the post before the review has ended, a number of "Looks Good" responses equivalent to the number of flags is required to dequeue it...         Review items completed by deletion or closing result in a "helpful" status for the flag   Review items completed by "Looks Good" responses result in a "disputed" status for the flag      As a result, reviewer working in the LQ queue can do as follows:   Open the queue item Open the reviewed post in a separate browser tab Flag VLQ outside of the queue Vote "Recommend Deletion" from the queue   Above opens a way to low-risk increase for the count of helpful flags.  Should something be done about this?   Testing for above using  went as follows: after submitting Recommend Deletion and getting Looks Good from next reviewer, flag has been resolved as  and post has been taken off review queue.     Side note. If this is confirmed as a bug, a fix that naturally comes to mind would be to block review completion if flag is discovered at the moment of submitting "Recommend Deletion". Per my recollection, this would be similar to how things work in CV queue - voting to close from outside of the queue while item is still opened blocks "Close" action (reviewer can only Skip and maybe Leave Open).


Normally we access an array element in this manner: arrayName[elementID]. But even we use like elementID[arrayName] it compiles and does not cause any errors in runtime. Isn't it logically wrong? Can anyone explain me this. I'm new to C++. Thank you in advance for any help!  #include<iostream> using namespace std;  int main() {     int arr[4] = {2, 4, 5, 7};     cout << arr[2] << endl; //this is the correct way to use it      cout << 2[arr] << endl; //this gives the same result and does not cause any errors     return 0; }

As Joel points out in , in  (aka: K & R), there is mention of this property of arrays in C: a[5] == 5[a]  Joel says that it's because of pointer arithmetic but I still don't understand. Why does a[5] == 5[a]?


I was wondering what the mathematical distinction between  and  were in the context of quantum mechanics? Most texts use this paradigm interchangeably.

I am a physicist. I always heard physicists used the terminology "", "Hermitian", "", and "essentially self-adjoint" operators interchangeably.  Actually what is the difference between all those operators? Presumably understandable by a physicist.


I registered my site a month ago, and appeared in google search result of focused keyword. The ranking is not so bad, my site placed in 4th~5th page when google results have 9~10 pages. But after 1 day the ranking falled 4~5 pages. So, my page appeared in 9th page. In some computers, there is no my page in SERP. Of course, I didn't take any Black-hat SEO. Is my site penalized by google? Can my site increase ranking again?

There has been a significant drop (90%) in traffic from Google to one of my well-established sites (6+ years) in the last week. Searches show that the top 3 wide keywords all dropped 4 spots. Searches for other keywords do not show ANY results in the first 10 to 25 pages of results, while previously one 1st or 2nd page at most.  Since there are , the question really is:  What steps are necessary to figure out what caused such a drop?  There have been no major changes during this period or the last month on the site and certainly not in the homepage which has dropped in rank. Over all the years of running this site and plenty of others, I have never experienced this. There are is duplicate content on my site and I have rigorously used canonical links for the last few years to ensure it is not misinterpreted as such.


I'm curious how I can generate this signature with dashed line. Could you help me?

I'm trying to create a signature and date line in a document.  I need the date line to always be in the same spot on the page no matter what name is under the signature line, such as:  ----------------------   ---------------------- Representative           Date  ----------------------   ---------------------- Program Manager          Date   Here is the code I currently have:  \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ User Representative \makebox[2.5in][r]{Date} \\  \vspace{.2in} \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ Program Manager \makebox[2.5in][r]{Date} \   I want to be able to change the names, such as change Program Manager to Joe Foo and have the word 'Date' stay in the exact place.  Any help would be greatly appreciated.  I'm still a newbie at TeX so please forgive my ignorance.


Possible Duplicate:          Hi, what's the better CMS/theme for a review site? It will be a site about movie reviews from editors, and visitors should comment the review. I'm looking for something simple to implement.

This is a general, community wiki  question to address non-specific "I need a CMS or Wiki that does x, y, and z..." questions.  If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on .    I have a list of features that I want for my website's Content Management System (CMS) - where can I find a [free] script that includes all of them?


Let's say I have the following polynomial:  $p(x)=(x+1)(x+2)(x+3)...(x+n)$  I want to find an expression for the coefficients $a_i$ of every term when I write the polynomial like this:  $p(x)=a_nx^n+a_{n-1}x^{n-1}+...+a_1x+a_0$  I tried by looking at some simple examples for small values of $n$ but I can't figure out an expression. Here are some examples with small $n$:  $p_1(x)=(x+1)=x+1$  $p_2(x)=(x+1)(x+2)=x^2+3x+2$  $p_3(x)=(x+1)(x+2)(x+3)=x^3+6x^2+11x+6$  $p_4(x)=(x+1)(x+2)(x+3)(x+4)=x^4+10x^3+35x^2+50x+24$  (It's obvious that the coefficient of $x^n$ will always be $1$ ,that the coefficient of $x^{n-1}$ is the sum of numbers from $1$ to $n$ so $a_{n-1}=\frac{n(n+1)}{2}$ and that the coefficient of $x^0$ is $n!$, but I have no idea about the other ones)

Are the numbers appearing as coefficients in the following sequence of polynomials known? Is there a known recurrence relation to compute them?  \begin{align*}   (x+y) &= x+y \\   (x+y)(x+2y) &= x^2+3yx+2y^2 \\   (x+y)(x+2y)(x+3y) &= x^3+6yx^2+11y^2x+6y^3 \\   (x+y)(x+2y)(x+3y)(x+4y) &= x^4+10yx^3+35y^2x^2+50y^3x+24y^4 \\  &\text{etc.} \end{align*}


How do you say in English, when one describes the matter in a more complicated manner than it is? For instance, one has two options, A and B; and either of them has to be accepted. One wants to say the same matter in either of the following two ways:   Incorrectly failing to reject A.  Incorrectly accepting A.    Both 1) and 2) are equivalent statements, but in 1) the person is speaking in a complicated way. In other words, what a situation/way is called when it is being described in a complicated manner, instead of simple one. I hope, you understand what I want to ask.

What is it called when you use many words to describe the word you want to use?  I know there is a technical word that's used in foreign language acquisition that means using many words to describe a word you don't know.  I'm doing it now, just talking and beating around the bush until someone can tell me the word I'm looking for.


I'm just trying to wrap my mind around the decision to select the 128-bit Rijndael as the AES cipher, even with 192-bit and 256-bit keys. Even with a 256-bit key, you only get 2^128 possible outputs per 128-bit block, thus kind of rendering the larger key size meaningless (not to mention the weaker key schedules).  Was this a NIST oversight when standardizing AES?  (Answering this isn't urgent. I'm using libsodium, which uses Xsalsa20 + Poly1305, in most of my projects these days, but it's something I don't readily know the answer to.)

points out that certain key and block lengths were a requirement for the AES submissions:     The candidate algorithm shall be capable of supporting key-block combinations with sizes of 128-128, 192-128, and 256-128 bits.   My question is this; how can having a key length that is greater than the block size enhance security?  If we look at ECB mode for simplicity, when the key length is equal to the block length we have a permutation relationship between the set of all plaintexts and the set of all ciphertexts.  Once you increase the key length beyond that, you start to introduce collisions. In fact, you only introduce collisions from then on don't you? Collisions in the sense that a key will create the same ciphertext-plantext relationship as another key.  This would lead me to believe that only part of the key-space is unique, and only that part of key-space needs to be brute-forced?  I know that I am clearly incorrect, I just don't understand why.


After importing picture files from my Iphone, I copied the lot onto my external drive & deleted these files from my Iphone & Photos app. But unfortunately I lost the drive. Is there a way to recover those files on Mac, which were once imported?

I have a 32GB iPhone 4 version 4.0.1. I have many photos on my phone, but I have deleted an important photo from my iPhone. How can I get this photo back from my iPhone?


I'm trying to create square cells horizontally centred in brackets. The codes are below:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix}   \begin{document}    $$\left (\begin{tikzpicture} \tikzset{square matrix/.style={         matrix of nodes,         column sep=-\pgflinewidth, row sep=-\pgflinewidth,         nodes={draw,             minimum height=#1,             anchor=center,             text width=#1,             align=center,             inner sep=0pt         },     },     square matrix/.default=1cm }  \matrix[square matrix] { &~&~&~&\\ &~&~&~&\\ }; \end{tikzpicture} \right )$$  \end{document}     I would like to show the result as    How can I do it?  Thank you very much.

The TikZ-PGF manual is clear that for the matrix library, the delimiters are parentheses and braces:     Delimiters are parentheses or braces   to the left and right of a formula or   a matrix.   I would like to use brackets as delimiters for a matrix of math nodes. I have tried \left[ and \right] but they do not work.  Is there any way to get brackets as delimiters for a matrix of math nodes?  Thanks.


I am building a Django web app with backend. I load the html page dynamically from database and I populate a dynamic table like this, with the delete button in each row predefined and I need to pass a particular cell value to the click event for deletion so i set it to the button id and pass it through a onclick event, but the event is not getting generated and no alert is produced. I am seeing a lot of examples but i have tried all and even style i added only because of that, i prefer to do it with the <input type="submit" value="Submit"/> button if possible, but in any case the event is not getting generated. The code is below: Can anyone please help? <form name="Dashboard" method="GET" id="AccountForm" action="create">

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


I’ve used my machine twice.  I went to try to put a different attachment on it and the pin won’t move.

My KitchenAid attachment appears to be stuck. I attempt to push up to remove the dough hook and it does not budge one bit. I am thinking I'm either doing something completely wrong or there's some way to get it unstuck!  Any advice?


I was trying to write a program which extracts all the digits of a number(including for numbers like 0001200) in Java public class stringarray3       {         public static void main(String[] args)          {             String s=0100+"";             String c[] = s.split("");             for(String i:c)             {                 System.out.println(i);             }         }           }  It prints correct result for any number which do not start with zero, but a number starts with 0, it does not. I have checked the value of string in the debugger and it is showing that the string S String s=0100+"";  is storing it as 64, what is the reason behind this?

This prints 83  System.out.println(0123)   However this prints 123  System.out.println(123)   Why does it work that way?


Can someone please suggest a query to directly see the number of answers I posted that were accepted. Right now I have to manually count from total given answers.  Hope there is an easy way.

Is there a way to find the number of accepted answers you have, other than manually counting each one?