When writing a review article, do I need to compare to or discuss limitations of previous review or primary articles on the topic?

I have been told that having a published review article is viewed as an advantage for higher education. The topic of my review article is the impact of information technology on the practice of human resource management.  What are the sequential steps that I have to follow to make my review article acceptable to renowned publishers and university graduate professors?  I have heard that to make a review article acceptable, the first task is to read vastly about the subject related topic of review article. After reading extensively, how can I proceed - I mean how can make linkage of writing in every parts of review article?   Is it necessary to make a comparison, to find a gap or limitations,similarity of the previous primary and review articles on the same topic in writing my review article?  Do I have to present the information about what others authors have done or shown? or do I have to include my own thought, ideas, decisions along with the other scholars?and if I intend take some information,graph from copyrighted books,will I need to take permission from real authors or just paraphrase the information on own my words?


In an attribute table I am making new fields bounded each other by the Field Calculator. Once I have written the formula for the new field in the Field Calculator, ArcGIS make the calculation for the all field. If, in the field calculator I say that Field B = Field A + 1, and I calculate Field B, then I change value to Field A, I notice that Field B does not consequently change values. I would need to type the formula for Field B again to refresh its value. How can I make field B dependent on Field A? I have also used Ilwis software and there was just a box to be checked in its Field Calculator window; is there in ArcGIS something similar?


Custom Object Nested Query on Standard Object

Is it possible to do a custom object nested query on a standard object?  Like so:  [SELECT (SELECT Id, Case__c FROM Accounting_Instructions__c WHERE Accounting_Complete__c = TRUE AND Case__r.Id =:currentPageId), AccountId, CaseNumber FROM Case WHERE AccountId = :strAccountId AND Id IN :accountIds];    There is a relationship between Accounting_Instructions__c and Case (similar to Task and Case). I know you can do two standard objects and use the . An example of this is in this post: .   Because of this format my initial thought would be to change Accounting_Instructions__c to  Accounting_Instructions (like Task to Tasks) but this doesn't make sense because it's a custom object so I have no idea how Salesforce would understand this naming convention.   All of the documentation I am finding is examples of standard to standard object or custom to custom objects. Any advice?


How do I deep clone JSON object in javascript

const obj1 = { food: 'pizza', car: 'ford' }; let obj2 = obj1;     In the above example, I want to do deep copy of obj1 in obj2 .


Using local OpenStreetMap (*.OSM) map with Openlayers 3?

What do I need to load a .OSM map in a client side javascript app? (Imagine an offline webapp).


Getting NullPointerException when accessing FXML element in initialize

I'm creating a export dialog in JavaFX which is loaded from a .fxml file. To initialize the method I would like to use the initialize() method. However, when accessing @FXML gui elements during the initialize() call, i'm getting a NullPointerException because they are still null.  Here my code which is creating the dialog in my controller.MainController class:          // Create dialog         FXMLLoader loader = new FXMLLoader(this.getClass().getResource("/view/exportDialog.fxml" ));         AnchorPane exportDialog = (AnchorPane) loader.load();         exportController = (ExportDialogController)loader.getController();         Stage dialogStage = new Stage();         dialogStage.setTitle("Export...");         dialogStage.initModality(Modality.WINDOW_MODAL);         dialogStage.initOwner(this.stage);         Scene scene = new Scene(exportDialog);         dialogStage.setScene(scene);         dialogStage.show();   And here is the controller of the export dialog which is stored in controller.ExportDialogController:  public class ExportDialogController {     Stage stage = null;      // GUI Elements     @FXML     private AnchorPane anchorPane;      @FXML     private ProgressBar exportProgressBar;      @FXML     private Label exportStatusLabel;      @FXML     private Button exportButton;      public void initialize() {         Stage stage = (Stage)exportButton.getScene().getWindow();         stage.setOnCloseRequest(event -> close());     } }   Here is the code of my .fxml file which is stored in view.exportDialog:  <?xml version="1.0" encoding="UTF-8"?>  <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ProgressBar?> <?import javafx.scene.layout.AnchorPane?>  <AnchorPane prefWidth="600.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="controller.ExportDialogController">    <children>       <ProgressBar fx:id="exportProgressBar" layoutX="75.0" layoutY="155.0" prefHeight="28.0" prefWidth="450.0" progress="0.0" AnchorPane.leftAnchor="25.0" AnchorPane.rightAnchor="25.0" AnchorPane.topAnchor="50.0" />       <Label layoutX="47.0" layoutY="42.0" prefHeight="17.0" prefWidth="218.0" text="Exporting dataset....." AnchorPane.leftAnchor="25.0" AnchorPane.topAnchor="25.0" />       <Label fx:id="exportStatusLabel" alignment="CENTER" layoutX="286.0" layoutY="203.0" text="Export successful!" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="90.0" />       <Button fx:id="exportButton" layoutX="261.0" layoutY="115.0" mnemonicParsing="false" onAction="#exportButtonPressed" prefHeight="25.0" prefWidth="79.0" text="Cancel" AnchorPane.bottomAnchor="25.0" AnchorPane.topAnchor="120.0" />    </children> </AnchorPane>   I've linked the controller in the .fxml file and I also added the fx:ids.    According to the documentaion of JavaFX, the gui elements should at this point already been injected.  What I'm doing wrong here?


Error with Qtcreator when running project "error: Unknown module(s) in QT: qml quickwidgets svg quick"

I have successfully installed Qtcreator 5.9.7 on Linux 18.04, checked by running example project. Now I am trying to run my old project, created on 5.7.1 on Desktop PC and getting the following error.  error: Unknown module(s) in QT: qml quickwidgets svg quick   Thanks in anticipation.


I know that sine is the ratio of the perpendicular to the hypotenuse of an acute angle. Similarly cosine is the ratio of the base and hypotenuse .  But now I found that there is sine and cosine of an angle over 90 degrees or negative degrees . I do not understand how they can determine the value of these sine and cosine . I have heard about the unit circle , and I find it is not convincing to determined the value of sine and cosine just by looking at the picture . I mean , is there any others method like using equations or theorems to calculate the cosine of an over 90 degrees?


Python2.7 not working in 18.04, python3 is installed

I have installed ubuntu 18.04 in virtual box and when trying python -v, it says you have python3 installed, I want to remove python 3 or disable so that can use python2.7 and run some scripts i have.


Java android convert image to byte [] without compress and convert byte[] to img

Hi I want to convert a Bitmap to byte[] i did this :   byte[] imageInByte; Uri uri = data.getData(); bitmap = null; try {     bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(), uri); } catch (IOException e) {     e.printStackTrace(); }     int size = bitmap.getRowBytes() * bitmap.getHeight(); ByteBuffer byteBuffer = ByteBuffer.allocate(size); bitmap.copyPixelsToBuffer(byteBuffer); imageInByte = byteBuffer.array();   Next I want to convert this byte[] to Bitmap and I did this :  Bitmap bmp = BitmapFactory.decodeByteArray(imageInByte, 0, imageInByte.length);   And when I what check a bmp.getWidth();  and show in Toast:  Toast.makeText(this,bmp.getWidth()+"",Toast.LENGTH_SHORT).show();   I have nullpointer please help me


Why must IV/key-pairs not be reused in CTR mode?

Many sources mention that IVs must not be reused with the same key in CTR mode, for encrypting 2 different pieces of data, because that totally destroys security - but I haven't found an explanation so far as to why this is the case.  The issue is obvious if the attacker can manage to obtain the plain text and its corresponding cipher text for one piece of the data - but if no known plain texts are available, how could an attacker reconstruct the key-stream from just the IV value?   Can the security issues be mitigated by keeping the IV secret too? E.g. would an attacker have any realistic chance of cracking the encryption by just knowing that key/IV-pairs have been reused in the creation of two different ciphertexts, but nothing more?


Could a wish spell make someone who is not able to cast the wish spell, able again?

This is a weird question, I know, it's simply food for thought. It states in the PHB that casting a wish spell for any other effect than duplicating another spell causes a stress that can, among other things, cause you to never be able to cast the spell again. Now lets say you have two wizards who can cast this spell and one loses its ability to cast the wish spell, would the other wizard be able to use the wish spell to let the other mage regain it's ability to cast the spell?


UK visit visa refusal I was recently denied a visit visa and I would like to re apply. The visa was denied because I had stated I had no income or savings, whilst I had also stated In the application I had a monthly expenditure of x amount. so that raiseD concerns on how I could spend that monthly without an income or savings. I do however get an allowance in cash from my mother Monthly but I didn’t in effect at the time realize I had to state that as an income. Also: my entire trip is being sponsored for by my spouse and father My in law (Accommodation,food etc..) and the Only cost I will bare is the purchase of a return air ticket, of which (as I also did on my last successful visa application) I was given funds by my mother for this and I went on and opened A bank account and My mother wired The funds into my personal bank account directly from hers. However my mothers bank statementS that I provided seemed to have missed the two pages that showed this money transfer/transaction  and so the statement couldn’t prove origin of funds. I have since collected my mother’s complete bank statement, and I will this time state in my application the allowance I get to correspond with my monthly expenditure. am open to all thoughts, ideas and recommendations. How best can I address these issues in my re application?


I created myself a NAT for home use (Ubuntu+Samba+Greyhole+Apache+MySQL+other web server related stuff). 90% of files I store there are pictures that i really don't want to lose (that's why Greyhole). As image gallery is getting bigger and bigger I got an idea to create web image gallery where I could sort images trough tags which would enable search later on etc. Creating gallery isn't really a problem as i'm pretty handy with php/mysql/css/js.  My problem is security and system level file sharing and accessibility.  Web application (gallery) dir is: var/www/html with owner www-data:www-data.  and pictures are in /LandingZone/images (well, symlinks to pictures are there, as images themselves are copyed and moved around by greyhole).  /LandingZone/images ownership is: myusername1:greyhole (greyhole being group where there is: myusername1 and myusername2 users as they both need to have access to shares read/write).  Now, what I need to do is somehow enable read only access to /LandingZone/images for www-data user without putting images to risk and I don't know Linux groups / users permission as good as I'd like to to feel comfortable and test on my own.  Web server itself is accessible through internet as I set up dyndns like service so I wouldn't like to for example put www-data user into greyhole group and enable attacker to delete all pictures or something like that.  Is there a way to somehow create read only symlinks for that folder and give www-user power to read files from it?  I did manage to get that share to be somehow "liked" from /var/www/html/gallery/images by using:  $ mount --bind /LandingZone/images /var/www/html/gallery/images $ mount -o remount,ro /var/www/html/gallery/images   but my web server has no access to those files because of ownership (I guess).  Now how do I deal with it? Can I just put www-data user into greyhole group so web server gets access to files and still be safe that for example attacker that takes over control of gallery software wont be able to delete images? Or should i do it some other way by not even using mount?   I'm open to suggestions.


Dismissed from PhD due to disability-related misconduct: how to answer question about dismissal?

I committed plagiarism at the end of my PhD. My psychiatrist found that the plagiarism is related to a psychiatric disorder (mental health problem). I have published many papers in top journals and this behavior was clearly out of character.  I was asked to voluntarily withdraw from my PhD program. However, I have a psychiatric explanation, and I have a psychiatrist who can vouch that my mental health issues have been resolved and there should be no further incidents in the future.  After taking time off to get treated and to recover, now I am considering applying to PhD programs again.   However, I am facing a question from most universities that I am applying to. Is there any hope for a student who committed misconduct that is related to a disability?  I am nervous about this application. Can anyone help me figure out how to deal with this issue in a proper way?


How to get array index from foreach loop

how to get array index from foreach looping, i use session to print cart data like this, i need to print the index like 1, 2, 3, 4 before the code column in the table  <?php if(isset($_SESSION["products"])) {     $total = 0;     echo '
';     foreach ($_SESSION["products"] as $cart_itm)     {         echo '
';         echo '?	';         echo ''.$cart_itm["code"].'	';         echo ''.$cart_itm["name"].'	';         echo ''.$cart_itm["qty"].'	';         echo '<input type="text" name="product_qty_desired" class="spinner" value="1" size="3" />	';         echo ''.$currency.$cart_itm["price"].'	';         echo 'Subtotal : 	';          echo '&times;	';              echo '
';         $subtotal = ($cart_itm["price"]*$cart_itm["qty"]);         $total = ($total + $subtotal);     }     echo '
';     echo '	';     echo '	';     echo 'Total QTY :	';     echo '	';     echo '?	';     echo 'Total	';     echo ''.$currency.$total.'	';     echo '	';     echo '
';      echo '
'; }else{     echo 'Your Cart is empty'; } ?>     Thanks  Warmly


Why can I single click approve edits to tag wikis I edited earlier?

On the emerging IoT.SE which is in private beta I have the privilege to approve tag wikis but have not yet reached the free tag wiki editing privilege. Today another user edited a tag wiki excerpt I edited before. My version was the last and active one. Apparently 1 put that edit into effect.  I have moderator tool access and checked, there was no other person approving that specific edit suggestion. However I am not a moderator, so my vote alone shouldn't be binding, should it?  Is my vote binding because I was somehow the owner of the previous version?    1: The site is in private beta and whoever wants to follow that link likely has to detour via  to get there.


Tag-Score on android-studio tag is not increasing despite votes

Up votes on my answer under the  tag in Stack Overflow are stuck at 99 from last week. I am getting 5-7 upvotes daily on my answers under this tag but the same is not reflecting neither on top-users section of that tag nor on tags section in profile. It is stuck at 99.  Is it expected behavior or is something wrong?


They knew where she was. Why didn't the Ministry of Magic ask Moaning Myrtle's ghost about her death?

Moaning Myrtle said she made sure Olive Hornby was haunted by her memory of finding Myrtle's body until Olive's dying day. Olive had to seek help from the Ministry of Magic in an effort to be free of the spirit, so the Wizards there knew a witness (Myrtle's ghost) to the 1943 murder had become available. After the Ministry of Magic exorcised Myrtle, she was relegated to Hogwarts, generally haunting the same stall in the same lavatory she died in. The powers that be knew where she was  What does JKR say about why no one at the Ministry of Magic, or any of the Hogwarts Professor's, asked Moaning Myrtle about her death?


What are the factors for deciding at what age to give a child cell phone?

What would be the factors that one should consider when deciding at what age to give a child their fist cell phone?  Assume that the phone can (if needed) be somewhat secured, with a curated list of applications.


What is the alternative of netstat in linux?

'netstat' is deprecated for Linux os. So I am looking for the right alternative of the 'netstat', So what will be right alternative for netstat?  I found out one 'SS' command but it is not sufficient enough to achieve our requirements. We are looking for the following fields:  In IP:     packets dropped   In TCP:     segments retransmitted    detected reordering    segments received    segments send out   In UDP:     packets to unknown port received    packet receive errors    packets received    packets sent   Is there any command available by which we can get the above-mentioned field? If I can collect all the above-mentioned fields by multiple commands then also it will be fine for me.


The Windows 10 Start Menu is doing some odd things. Autodesk programs will place shortcuts in a program specific folder in the Autodesk folder, for example C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Autodesk\Revit 2018  However, the Start menu basically ignores that last folder and lists all links under Autodesk in the start menu. Given that most Autodesk programs have anywhere from 3 to 5 or 6 links, and AEC first often have 4-5 Autodesk programs installed, and often multiple years as well, you can easily get 30-40 shortcuts under Autodesk, which is basically useless.  However, some programs are presented correctly it seems, so I assume there's some information somewhere that forces one behavior or the other. Any suggestions on a thread to follow?


Showing that $\Bbb R[x] / \langle x^2 + 1 \rangle$ is isomorphic to $\Bbb C$ question

Show that $\Bbb R[x] / \langle x^2 + 1 \rangle$ is isomorphic to $\Bbb C$.      Let $\phi$ be the homomorphism from $\Bbb R[x]$ onto $\Bbb C$ given by   $f(x) \rightarrow f(i)$ (that is, evaluate a polynomial in $\Bbb R[x]$   at $i$).  Then $x^2 + 1 \in \operatorname{Ker} \phi$ and is clearly a   polynomial of minimum degree in $\operatorname{Ker} \phi$.  Thus,   $\operatorname{Ker} \phi = \langle x^2 + 1 \rangle$ and $\Bbb R[x] /\langle x^2 + 1 \rangle$ is isomorphic to $\Bbb C$.   My question is:  How is $x^2 + 1$ a polynomial of minimum degree in $\operatorname{Ker} \phi$?


Partition of $\mathbb{Z}_8$ into cosets of Ker(θ)

Question: Let $\theta : \mathbb{Z}_8 → \mathbb{Z}_4$ be defined by $\theta([i]_8) = [i]_4$ for all $i \in \mathbb{Z}$. You may assume that this is a well-defined ring homomorphism.    Find Ker($\theta$) Exhibit the partition of $\mathbb{Z}_8$ into cosets of Ker($\theta$).   My Answer: So I found the Ker($\theta$) as Ker($\theta$) $=\{[0]_8, [4]_8\}$ as $\theta[0]_8=[0]_4$ and $\theta[4]_8=[4]_4=[0]_4$.  But I'm stuck on part 2. I was thinking that I would need to show that the partition of $\mathbb{Z}_8$ are equal to $[0]_4$ or $[4]_4$.   Sorry about how I have typed it, haven't really asked questions on the site before.


Story Identification: colonists on a planet where the wheat is crystalline

I read a story back in the early 90s about a group of colonists who landed on a planet where the wheat (or wheat-like equivalent) is some kind of crystalline plant. The colonists face starvation until one of them figures out how to process the wheat.  I think it was by Asimov but so far I haven't found it by looking for his works.  I also cannot remember if it was a novel or a short story.


I remember long time ago I had some antivirus on windows which had wile accesses monitor, and could tell you if any process accesses a file.I need to monitor every file in my home folder(or any other) what application does the actions.


What's the difference between MathOverflow & Mathematics.SE?

If I have a maths question, on which site should I ask:  or ?


Align, the second & does not align "right"

The following code:              \begin{align*}                 2(3-x) \leq 2 &\Leftrightarrow 6-2x &\leq 2 \\                                & \Leftrightarrow -2x &\leq 2-6               \end{align*}   looks like this    does not align \leq, how one can align in this example the \leq signs?  Thnak you!


Incorrect Meta reputation in site switcher

I opened the site switcher and found that my Meta Stack Overflow reputation was not right:    On both Main and Meta Stack Overflow, the reputation counter on my profile page show that the real amount is the same:    Why does the site switcher have such a different amount? I have seen this problem for a few weeks now and it's starting to annoy me.


I have the below code:  Map<String, Map<Double, String>> map = new HashMap<>(); Map<Double,String> Amap = new HashMap<>(); map.put(getValuesTypes.FUT(), HERE);   Instead of creating a Map first and put it at "HERE", I'm looking for a function like I could use with a List there Arrays.asList(...) so that i can just enter at "Here" ?.asMap({1.0,"A"}, {2.0,"B"})


Setting "phone ringing" sound for outgoing calls

When I place a call I hear the traditional rotary dial phone ringing sound until the person at the other end, whose ringtone most likely is completely different, answers. What I was wondering is, can I set a ringtone for the person placing the call to hear until the other party answers? If so, can such "ringtone" be set differently for every person called?


We are traveling to Canada on 7/2/19. My 19 year old son did not get his passport (they screwed up twice). Is there any way he can still travel with us to Canada and back? We are traveling by car to Toronto from New York.


I need a way to rename Guest Session in login screen and make it Students, or create a guest account whit the same behavior, somebody can help me?


What's a word for someone who "jumps on the bandwagon"?

I am looking for a word (the word, as I know it exists, but I cannot remember it) that characterizes a person who blindly follows the crowd. It is a noun, and I believe it starts with an L – monosyllabic – disparaging – might fit nicely in the phrase: the _________ of Wall Street.


Can you cast a spell before Initiative has been rolled?

I've started Lost Mines of Phandelver a week ago and I want to know if I'm doing this right. My group has a rogue and a sorcerer in it.  When the rogue sneaks up on a target (he rolls a Stealth Check vs. Passive Perception) and succeeds I let him 'start combat' by attacking his surprised target and having everyone roll Initiative after to determine an order for combat.  Example:   Rogue rolls a 16, Goblin's PP = 11, Rogue has surprised the Goblin Rogue attacks Goblin (1d4+2, 2d6 sneak attack) and Goblin dies.   Roll for Initiative!   Rogue rolls 8 Sorcerer rolls 12 Cleric rolls a 9 Other Goblins roll a 15   After the surprise round combat would go:   Goblins Sorcerer Cleric Rogue   Does this work?  Also, is it different for this scenario:  Enter a room, Goblins are visible but distracted. Sorcerer says he wants to fireball them. Do I make him roll a stealth check vs. Passive perception? Or do I just have the Goblins make a dex save like they're supposed to, and then roll for Initiative afterwards?  The Sorcerer in my group has been doing this all campaign so far and I don't exactly have a good answer for why he can't do it.


How to calculate area of a polygon in a shapefile in QGIS

I want to calculate areas of different polygons in QGIS in tabular format.


I have a number of sagging drawers due to broken rear brackets on sliding drawers. Can anyone help me find replacement brackets (pictured below)?

I have reversed some that have broken on the bottom to the other side, which is a temporary fix.  These brackets are not flush with the back wood panel but fit over a 1" x 1/2" strip.  Any help with locating these would be awesome.  I need at least 4 sets.  Thanks.


dA in polar coordinates using total differentials

I'm trying to derive the area element $dA$ in polar coordinates using total differentials (just for the sake of trying: I know the existence of the Jacobian), but I can't get the correct result.   Here's how:  $$ \left\{ \begin{array}{c} x\left(\rho,\theta\right)=\rho\cos\theta\\ y\left(\rho,\theta\right)=\rho\sin\theta \end{array}\right. $$   The total differentials of $x\left(\rho,\theta\right)$ and $y\left(\rho,\theta\right)$ are given by  $$ \begin{array}{c} dx=\cos\theta\, d\rho-\rho\sin\theta\, d\theta\\ dy=\sin\theta\, d\rho+\rho\cos\theta\, d\theta \end{array} $$   The area element $dA$ can therefore be written as  $$ dA=dx\, dy=\cos\theta\,\sin\theta\,\left(d\rho\right)^{2}-\rho^{2}\,\cos\theta\,\sin\theta\,\left(d\theta\right)^{2}+\left(\cos^{2}\theta-\sin^{2}\theta\right)\rho\, d\rho\, d\theta $$   By neglecting second order terms  $$ dA\approx\left(\cos^{2}\theta-\sin^{2}\theta\right)\rho\, d\rho\, d\theta $$     Where am I wrong with this? Thanks in advance.


Eevee how to render without black boxes in textures?

How cam I get rid of the black color from my texture in render? I believe it's possible.  Here's what I have:  And here's what I need to look like(I switched to texture paint mod and black dissapeared, how can I achieve that for the render result?):   If I change it to Alpha Blend it seems very transparent, so you could barely see it


How did R-square get its name? I understand how its calculated and interpreted, but I do not understand the r and square part of it.


apt-get wont work when i try to install tor

~# sudo apt-get install tor Reading package lists... Done Building dependency tree        Reading state information... Done Package tor is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'tor' has no installation candidate   Can someone please help?


How precise is the frequency of the AC electricity network?

If I make a digital clock which first detects the AC frequency roughly (whether it is 50, 60, 100Hz, etc), then uses it as its clock pulse source, how precise would it be? Would it work world wide precisely?  For instance, in USA, what is the mean and standard deviation of the 60Hz AC frequency?


ArcPy Insert Cursor not inserting all rows?

I have a script here that takes data from a cross-tabulated non-spatial dataset where monthly values are stored in a single table row for a given year and linearizes those data so that each monthly value is a new record in a new table. I'm using arcpy to create a search cursor to grab the cross-tabulated data and an insert cursor to write the linearized data to a new table. Here is a screenshot of the original table (obviously there are other ancillary fields as well):    The script:  import arcpy, os  months = {'JAN':1,'FEB':2,'MAR':3,'APR':4,'MAY':5,'JUN':6,'JUL':7,'AUG':8,           'SEP':9,'OCT':10,'NOV':11,'DEC':12} ignore = ['Arbitrary_count','TOTAL_MGY','JAN','FEB','MAR','APR','MAY','JUN','JUL','AUG','SEP','OCT','NOV','DEC']  ws = r'D:\Data\Users\jbellino\Project\faswam\data\water_use\SC\FromTomAb\SC_WELLS_data_jcb.mdb' arcpy.env.workspace = ws arcpy.env.overwriteOutput = True tbl = 'ORIGINAL_DHEC_WELL DATA' itbl = 'monthly_dhec_well_data'  fields = arcpy.ListFields(tbl)  rows = arcpy.SearchCursor(os.path.join(ws,tbl)) irows = arcpy.InsertCursor(os.path.join(ws,itbl)) for row in rows:     for month in months:         #--for each row in the original table, and for each month stored in that row,          # create a new record in 'itbl'         irow = irows.newRow()         for field in fields:             if field.name == month:                 #--if the field name refers to a month abbreviation it contains data                 # first convert the month abbreviation to month number                 irow.cn_mo = months[month]                 try:                     # then grab the data in the field and process it into the appropriate                      # fields of the new table in the correct units                     irow.cn_qnty_mo_va = row.getValue(field.name)*1000000                     irow.cn_qnty_mo_va_mega = row.getValue(field.name)                 except:                     #--skip null values                     pass             elif field.name not in ignore:                 #--if the field name is not a month abbreviation, just copy the data                 # to the new table                 irow.setValue(field.name,row.getValue(field.name))         irows.insertRow(irow) del irows   Now, the problem is that the script will process every row in the original table, however not all rows are transferred into the new linearized table. The number of records that do make it is seemingly random and it has happened with a number of different source and destination tables. My work around has been to create/delete my insert cursor inside the for month in months: loop, but this can really bog things down with large datasets. Even then the script always "misses" the last record in the original table and I have to append the monthly values to the new table manually.  Any ideas of what may be going on here?


Numbering only selected numbers in Latex (enumerate?)

I'm supposed to answer the following math problems from my textbook: 1, 10, 19 and 34. How would I number these using LaTeX?


Could someone explain me why free $R$-modules are projective, using the universal property of free modules to show the lifting property defining projective ones?


How to generate vCard file through python script?

I want to write a script which does save user information like name , contact number etc as a vCard in the form of a file . Is there any library for it ?


QVariante with double inside - converting back to double leads to different result

I have a QVariant that stores a double value. One place the value is coming from is a QDoubleSpinBox (but not only!), which has a min (0.3) and max (1.0) as limits.  I've noticed that I get an exception (the code is written like this) when I set the value below the minimum. What's surprising is that I'm actually setting the value to 0.3.  Through debugging I found out that the following code is the reason why this is happening:  // value is QVariant auto valueDouble = value.toDouble(); // use valueDouble   What happens is that when I set the value to 0.3 internally   value = 0.3 valueDouble = 2.9999999999999999   And 2.9999... is definitely below 0.3 hence the reason why I get the exception. Of course the 0.3 is probably a display "error" by the debugger inside Qt Creator. Nevertheless I'm more concerned about the internal error.  I also tried using QVariant::toFloat() and I got 0.300000012.  Needless to say this not only creates poor user experience but internally also leads to all sorts of issues.  I can make it so that the QDoubleSpinBox doesn't allow such behaviour however as I've mentioned such values comes from different locations in the applications so this issue needs to be handled on a deeper level.


Selecting text in profile activity comments causes unexpected clipping

This is a very minor bug I know, but in anyone's profile page, on the Activity or Responses tab, text highlighting is messed up for the Comment and All subcategories. This only seems to happen only in Chrome. I am on Version 31.0.1650.63 (Win 7). It is visibly worse on multiple lines of text.     Steps to repro:   Go to any profile on any Stack Exchange site, and click on Activity tab. Go to All or Comment subcategories. Highlight text.   As a side effect, you can even temporarily dismember the head of all those poor characters. To do this, start from any line, drag mouse left or right, drag up and then back down.    I've bumped into bugs before that turned out to be Chrome problems, so maybe this is just Chrome doing its magic.


Possible Duplicate:          Would I use is or are in the following sentence?      The Pohutakawa Coast, Hauraki Gulf, and Waiheke Island is/are the backdrop for our day.   If I rewrote it so the subject (backdrop) starts the sentence, then it seems to me that as it is singular, the verb should be the singular is. But as it is written above, are seems less clumsy.


I can't find a good closed form expression for this, $\sum_{k=0}^n\left[\binom{n}{k}\binom{m}{k}\right]$, where n is the variable, and m is a fixed constant, to be included in the formula. :( Can someone provide me with a formula?


I am new to the DBA Part.  I had an 110 GB Database from which I deleted records from a 95GB sized table. Since the SQL Server Stores memory for the future, it still had 110 GB on the disc.  I ran the Shrink Database through GUI, but it was taking a lot of time. So, I cancelled it, but it remained in the greyed state. When shown from sys.sysprocesses, it shows the last batch time some 3 hours ago and is in runnable state. Can I kill the SPID?  To make it worse, Database is in multi-user mode.  Update: After three long hours, the process got rolled back on its own.


Fastest point-in-polygon solution with billions of points over thousands of polygons

Problem definition is quite simple: I need to achieve point-in-polygon detection for:   billions of lat/lon points over thousands of polygons   I need to be able, for every point, to determine if it is in one or several of the polygons available (in the thousands). Currently we are using PostGIS with ST_Contains but the whole things needs 3 good entire days (roughly 80 hours) to compute from start to finish.  Is there any solution (free or not) that would offer significant speed improvement for this workload over PostGIS? It can be anything from an analytical database (Exasol is one example that comes to mind, however although hugely faster than Postgres as a database, I'm not sure if it's any faster for geographical computations) to a dedicated C/C++/Rust piece of code.


which novel involved sending instantaneous tachyon body copies around the galaxy, mostly to die?

The novel centers around a man living a comfortable existence in the pretty distant future.  To support himself, he is occasionally asked to enter a box which will copy his entire body, and send it out faster than the speed of light to some developing world, to work.  His copy on this world wakes up and realizes what a big mistake he's made.  The copy does grueling work, feels lonely, and eventually just dies of radiation sickness.  Back on earth, the man never realizes how bad it is out there, and keeps sending out more copies.  I think the story is probably 80s or earlier - not sure if it's a short story, or the beginning of a novel which I lost & never finished.


What's the rule for bare infinitive in a dependent clause?

I've been reading a chapter in a certain (programming) book and stumbled upon the following sentences (and I'm sure I've seen more examples like this in the book):   Since randomized tests are nondeterministic, it is critical that the log record sufficient information to reproduce the failure.  It’s important that code being tested not call (certain functions).    (While I would expect 'the log records' and 'code doesn't call'.) The book is well-edited so I don't think all of these can be mistakes. So what's the rule about using bare infinitive after 'that' (or probably in similar constructions)?


i have a problem when calculating floating point in python, here is an example:  import numpy print numpy.floor(3*1.4+2*1.4) >> 6.0   it return 6.0 while i am excepting 7.0  i can fix this simply by  print(numpy.floor( (3*100*1.4*100 + 2*100*1.4*100) / 10000 )) >> 7.0   but seems its not a very good practices, i have google for a while and try a different type of numpy.float, Decimal, int etc. The problem is still persist. Does anyone have any idea better than this?


How do I see that $a^2 \equiv 1 \mod{( p \cdot q)}$ has four incongruent solutions?

How do I see that $a^2 \equiv 1 \mod{( p \cdot q)}$ has four congruent solutions?   Studying cryptography, I've seen that given $p$ and $q$ are primes, the equation above should have 4 incongruent solutions.  I see immediately, that $\pm 1$ are solutions, but I don't know how to prove existence of other two.  Also, are there circumstances for which $a^2 \equiv x \mod{( p \cdot q)}$ has four incongruent solutions, e.g. does it always hold for $\gcd({x, p\cdot q}) = 1$?


"Type&" vs "Type*" in C++ function definitions

I understand the pointer concept (int*), but I cannot understand int& because they give the same result. What does int &data exactly mean?  void add1(int *data){   (*data)++; }  void add2(int &data){   data++; }  int main() {   int i=0;    add1(&i);   printf ("value i = %d\n",i) // show 1    add2(i);   printf ("value i = %d\n",i); // show 2    return 0; }


ctrl key not working [windows 10 laptop]

I have a windows 10 laptop. Both control keys stopped working suddenly. How can I check if it is an OS issue or hardware issue? Did virus scan its clean. I tried disabling sticky keys from control panel but none of it worked. Is there a control lock?


here's the file:   I've fiddled with the settings, but everytime, it just imports as a bunch of plane axies, i've confirmed that they do open and work in autocad, but blender is much easier to work with....  please help


I can't read the different software titles as you can see in the screenshot under Gnome. Is it because of the template (numix)? Or anything else?


What are some colloquial English phrases for 'a child acquiring its parents' characteristics or features'?

I am not sure if the title is clear enough to you, so let me briefly explain what I'm looking for.  We sometimes see children who look very much like their father or mother, or even behave typically like either of them. I don't know if there is a formal or literary phrase to express this occurrence. But I wish to know some colloquial phrases which are used to convey the idea that I am talking about.  Please bear with me if this topic sounds too mundane to you, and help me learn.  Edit:  For example, is it correct to say 'he has gone on his father?' This phrase, which I think is an effect of  from Hindi, can be often heard in some parts of India


Exchanging South Korean Won for Turkish Lira

Is there anywhere in Istanbul where I can exchange South Korean Won?


I need to write an article in two columns, but I would like to span an lstlisting over both text colums. With figures and tables I use \begin{figure*}. But this does not work with \begin{lstlisting*}. How can I span the listing over both columns in twocolum article format?


I've read a few threads on this but none of the answers seem to work.  I need to provide a link (i.e. say in a webpart being displayed in a page) that once the user clicks on that link, he/she will be prompted to download a file.  The file currently is located in the Documents library.    Adding "&download=1" or "?download=1" to the end of the link/url is not working


Do accepted answers still serve a useful purpose?

In the Stack Exchange voting system, we have two classes of votes: standard up / down votes that anyone can cast, and special  that only the asker can.   Although accepting an answer does not always pin it at the top of the answer list, that green check mark does  about the correctness of the answer. This gives a single person much greater weight than the rest of the community. That green check mark can seem confusing to visitors, who see  or  answers marked as being correct. I've heard this from several friends recently who were surprised when they came across factually wrong answers that had been downvoted, yet still had that check mark next to them.  Moderators regularly field flags from even more experienced users who demand that the accepted answer be changed from one that is incorrect or even harmful to another. We decline these, because we're not supposed to be making technical judgments like that and because we have no way of accepting answers on behalf of the asker. However, these flags do show that some people have problems with the presentation of accepted answers vs. the community voting on all the others.  There's also all the fun that came with arguments over accept rate, and people badgering askers to accept their answers.   Questions on the Stack Exchange network are intended to be broadly useful, to help out many others in the future beyond the person asking the question. If that's our goal, why should the person asking the question have any more say than the rest of the world? If it's a broadly applicable question, why should one person be able to highlight something as correct simply because they asked it first?  I guess what I'm asking is: if we did away with accepted answers, converting them to upvotes where appropriate, and only let community voting sort out the best answers, would we lose something important? I thought I'd ask after reading  to , because I wasn't sure how I felt about accepted answers anymore.


will company match on 401K if employee exceed the limit

Suppose an employee has a yearly salary of $100K and his/her company matches "50 percent match up to the first 6 percent", and the employee is contributing at a rate of 40%. The employee will reach his/her IRS limit of $19K by 6 months.  So for the last six month there will be no 401K deduction from his own salary. The question is, will the company will still match, or will the employee lose the 401K match for last 6 months?


I'm running the android app beta, and wanted to put a screen capture in an answer, but couldn't figure out how.  Is it possible, and the functionality is obscure, or is this feature not implemented?


Capital letters in "Theorem", "Conjecture" etc

This is my first post and as you can probably guess I am a mathematician so I have no clue about grammar. I am writing a mathematical document at the moment and I would appreciate some advice on my usage of capital letters. Can somebody please confirm if the following are correct?  1) "We know by Theorem 4.6.1 that..."   2) "the following conjecture, due to..."  3) In order to prove the "Mckay-Stevens $k$-covering Conjecture, once needs to show that..."  I'm particularly confused about 3).  Many thanks for any help


I'm planning to visit a summer school in the Schengen zone. What kind of visa should I apply for?

I will be attending a summer school which will last 10 days.  I want to know: for applying for a Schengen visa, is the purpose of my trip considered as touristic or study?


How to disable the Windows swipe-away screen lock, without disabling the password?

Windows has a slide-away lock screen, as is common for mobile operating systems designed for a touch interface, to prevent accidental input. On a desktop PC, laptop without a touch screen, or laptop for which accidental touches are unlikely (like a clamshell), this is just an extra unnecessary step before logging in. The option to disable the lock screen will disable the entire lock screen, including the password requirement, which is not always desirable.  While a keypress will dismiss this screen, there is a delay after that keypress before the password box becomes editable, so you can't just type "spacebar[password]" to log in. The first character or so of your password may be lost depending on your typing speed.  Is there a way to disable the swipe away screen, and have Windows wake up directly to the password/login screen?


Why does the key for a one-time pad have to be uniformly distributed?

I would like an intuitive argument for what goes wrong in the proof that that a one-time pad provides perfect secrecy, if the key $K$ is not chosen uniformly at random from the entire key space.


How does a figure's height influence its positioning?

Sometimes a figure I want to place at the bottom of a page is placed on the next page regardless of the available space. I, finally, did some testing and realized that the height of a figure may not be more than 25% of the \textheight for it to be placed at the bottom. And, at least in my tests, it may not exceed 65% of the \textheight to be placed at the top. UPDATE: As described by the comments and the linked explanation of the placing algorithm in most cases adding ! to the positioning parameters should solve the problem. Following a working example with bottom positioning and a page of follow-up text: \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \begin{document}  Some text here.  \begin{figure}[!b]% \includegraphics[draft, height=0.40\textheight, width=0.6\columnwidth]{example-image}% \centering \caption{Relaxing constraints with !, this figure (40\% textheight)      will be placed at the bottom, too.}% \label{}% \end{figure}  \lipsum[1-5]  \end{document}   However, in my original document, the text and figure is followed by a minipage which does not fit into the same page and needs to be placed on the next page (in fact, it is a rather lengthy lstlisting which I don't want to break up). Adding such a minipage to the above code yields strange behavior. The figure is placed on the first page but not at the bottom. Instead it seems to behave as if the h positioning has been used: \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \begin{document}  Some text here.  \begin{figure}[!b]% \includegraphics[draft, height=0.40\textheight, width=0.6\columnwidth]{example-image}% \centering \caption{Relaxing constraints with !, this figure (40\% textheight)      will be placed at the bottom, too.}% \end{figure}  \begin{minipage}{\linewidth} \lipsum[1-5] \end{minipage}  \end{document}   The same behavior can be observed when I add the text without a minipage but trigger a pagebreak before the lipsum. I assume minipage may introduce a pagebreak or equivalent if it doesn't fit onto a page. Last but not least, a clearpage before the minipage solves the problem and places the figure at the bottom while, as far as I understand the algorithm, a figure may only be placed on subsequent pages when the layouter reaches a clearpage: \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \begin{document}  Some text here.  \begin{figure}[!b]% \includegraphics[draft, height=0.40\textheight, width=0.6\columnwidth]{example-image}% \centering \caption{Relaxing constraints with !, this figure (40\% textheight)      will be placed at the bottom, too.}% \label{}% \end{figure}  \clearpage \begin{minipage}{\linewidth} \lipsum[1-5] \end{minipage}  \end{document}   I love such corner cases as I constantly seem to run into them in every aspect of my life. Maybe someone can explain what happens here and how to deal with the situation in a way which does not fall back on you ten pages later in the document ;) Best wishes, Stefan


Calculate more digits of square root of 2?

How would I calculate the next digit of the decimal representation of square root of two?  1.4142135...  Say I want to calculate the digit after 5... how would I do that?  I am not allowed to use a calculator.


Comma seperated value in select with order by in SQL Server

This is probably a very common question but maybe with another twist.  I have two tables which I join and want to get comma seperated values of a particular column of second table    select name,(Comma seperated scores) 'Scores' from Person Inner join Score    on Person.Id=Score.PersonId    Example Output     name    Scores   User1   zd,ad,cm   I have read that It can be done  by having another function, but probably that's not very performance oriented also I want the Scores strings to be ordered by in ascending order.  i.e   ad,cm,zd  Is there a way to do it by continuing to use only Inner Joins ?


I would like Low Power Mode to be the default state of my device.  When I get to 80% battery it toggles itself off automatically.  How can I stop it turning itself off?  How can I always keep my phone in low power mode (or some other equivalent)?


ok so I am new to blender and I am trying to paint a mesh. I have found lots of people doing the same thing but my issues are different. I painted an amazing fox mesh using vertex paint. but when I try to edit or export the mesh it never exports the paint. I cant find out how to turn what I made with vertex paint into a texture.


How to book hotels as an unmarried couple in Dubai?

Hi my girlfriend works in Dubai and i ll be traveling there, so can i stay with her in a hotel? also can any one suggest good hotel to stay in dubai?


When I create multiple users in ubuntu it's much more convienient. In ubuntu, we get seperate hard drives management for all users created. One user cannot access the files of the other user, unless s/he is  the superuser. But, in windows, it seems like all  the files are accessible, only the desktop is cleared up and the programs are defaulted. It's not really convienient if other users created can access your files.      This is the case now for me, I have created a new user,  and password protected my account, but, say my brother accesses  my PC,  and signs in into  the account  created for him, then he accesses my files in D: from his account.      Is this  really the case  with windows,  or is it that I'm missing  something that  can be customized? Or if it is how to get the behaviour like ubuntu? I'm currently using windows 8.1.


I currently have an ID of a page that I want to use its permalink as the front of a permastruct of a CPT I'm setting up.  Now I can use get_permalink() but that returns the full URL:  http://www.example.com/imapage/subpage/subsubpage  but all I want to return is imapage/subpage/subsubpage  Is there a function that can do this or do I have to device something that can subtract the non-needed part of the url?


I understand that "exposure fusion" is a method for combining different exposures into a single image. How exactly does it work, and how is it related to ?


AM-GM inequality: $\frac{a^2}{b} + \frac{b^2}{c} + \frac{c^2}{d} + \frac{d^2}{a} \geq a + b + c + d$

Let $a, b, c, d > 0$. Prove that $\frac{a^2}{b} + \frac{b^2}{c} + \frac{c^2}{d} + \frac{d^2}{a} \geq a + b + c + d$.   I'm supposed to prove this by AM-GM, but I can't see how. Any help would be appreciated.


Visiting website with different IP Address each time?

I want to visit a site repeatedly, with different IP address every time.  I tried using Tor to accomplish this (Use New Identity); It worked but it's too slow.  Is it possible to arbitrarily reassign my public Internet IP by scripting or something other method?


What is the meaning of "far from inevitable"?

I know that "inevitable" means that something will definitely happen, but does "far from inevitable" mean it's more or less likely to happen?


change grub setting from readonly to normal

Yesterday, I had installed Ubuntu Desktop in my system which already had Windows XP. After installation, when I restart the computer only Ubuntu is getting started as the timeout is set to 10 second only. And by the time my keyboard get unable the OS Ubuntu >get start up. Hence I try to change the timeout in in /etc/default/grub. But I am unable to change as it say it is write-protected. How do I change this setting?


How can I use passwords with bash special characters on the command line?

I have a command line that takes a password . The password starts with characters '!1'. E.g. '!1x9y377s' . If I execute a command with that password, then history expansion occurs and the first two letters '!1' are replaced with the 1st history entry. E.g.   ll ...list entries echo !1x9y377s llx9y377s   but what I wanted was:  ll ...list entries echo !1x9y377s !1x9y377s   Research  I soon realized that this was history expansion occurring prior to bash parsing. I searched for: How can I stop history expansion from occurring on passwords passed in the command line? Which resulted in things like this :       It states: "The `!' may be preceded by a `\' to prevent its special meaning"   I tried executing:  ll ...list entries echo '!1x9y377s' !1x9y377s   and  ll ...list entries echo \!1x9y377s !1x9y377s   both of which worked.


I am new to Ubuntu so please don't Tag "has been answered before" and tag some answer that only veterans understand. I have Ubuntu for several days now when I decided to install steam (didn't work at all but that's not my problem). I then decided to upgrade or update my NVidia driver (for gtx750ti if that matters). Ubuntu then asked me to setup some MOK Password (whatever that is, I didn't find a pleasant explanation) in order to do something with the driver at the next boot. So I did. Then I restarted the PC, was asked for the password, typed it in 2 times correctly (I am 100% sure) with this blue window telling me it was wrong. On the third try I tried to type it in on my German keyboard as if it was an American (just in case) and naturally that didn't work. So then I continued the normal boot, where I was asked Ubuntu Actions for Ubuntu (or so) Windows boot (or so) System setup  Ah yes, I have Ubuntu install Dualboot with windows (please forgive me if I am using some wrong terminology). So I selected Ubuntu and saw the normal Ubuntu logo (which was wierd because it was always stretched before for a few seconds). Then I got a black screen with a blinking underline cursor in the top left corner. And nothing happened. I turned my system off again by holding the power button. A second before it actually went off, i saw some letters and digits where the cursor was before. I tried that a few times and even tried recovery mode of 18.10 and 18.13 (or 18.10.3). I didn't want to do anything that I don't understand because I was afraid I could lose windows as well. So when I see Ubuntu Actions for Ubuntu (or so) Windows boot (or so) System setup Is that the boot already or is the boot where I am stuck? Also I have read something about GRUB online but I have no idea if that could help me or what it is or how I access it.


How do I enter a strong (long) DKIM key into DNS?

I'm trying to enter a 4028 bit DKIM key into DNS and it seems that I'm exceeding both the UDP 512 byte limit and also the maximum record size for a TXT record.  How does someone properly create a large key (with implied larger encoded size) and import it into DNS?


What is the difference between "String[] s" and "String s[]"?

What is the difference, if any, between these two ways of creating an array in Java?  Method 1:  String[] s = new String[];   Method 2:  String s[];   Thanks in advance.


For the last couple of days I've been getting the following error:     Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in /home/mydomain/public_html/drupal/includes/database/mysql/database.inc on line 46   This comes after my Hosting did an upgrade and PHP is now version 5.2.17.  From what they have told me, I think I have to enable a PDO MySQL extension in php.ini.  The problem is I'm on a shared hosting and I don't have access to the file; also, my Hosting said they can't change it either.  My info.php shows:     PDO      PDO support enabled      PDO drivers sqlite, sqlite2        pdo_sqlite      PDO Driver for SQLite 3.x enabled      PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c 293036 2010-01-03 09:23:27Z   sebastian $      SQLite Library 3.3.7     I tried modifying the .htaccess file and/or adding my own php.ini file to the root directory per some suggestions I found, but nothing I've tried has worked yet.  Can anyone please suggest what else I could do?  EDIT:  Once again I asked the Hosting to enable PDO_MySQL extension and their answer was that they could not, that cPanel (to which they migrated from Plesk, causing this whole problem) had this extension disabled by default and changing it would affect their servers.  Their solution?  That I would change my programming to adjust to these new features, which I wouldn't even know how to go about.  Are they right requesting that I do this? Is there any other way?


If the complex number Z satisfies $ |Z^2 - 9| + |Z^2| = 41 $ then the true statements among the following are?

If the complex number Z satisfies $ |Z^2 - 9| + |Z^2| = 41 $ then the true statements among the following are ? $A)$ $|Z+3| + |Z-3| = 10$ $B)$ $|Z+3| + |Z-3| = 8$ $C)$ Maximum value of $|Z|$ is $5$ $D)$ Maximum value of $|Z|$ is 6  (More than one option may be correct)  The inital equation in the question indicates the fact that the locus of $Z^2$ is an ellipse with foci at $0$ and $9$. But this doesn't help much. If we put $Z = x + iy$ and simplify. We get an ellipse in $Z$. I get $99y^2 + 63x^2 = 1600$ (but I may be incorrect). How do I proceed from here to validate any of those options? There seems to exist a much simpler way to solve this question. All help will be appreciated.


Markdown change: Intra-word emphasis now works

There are tons of questions I could maybe post this as an answer to, but before choosing the best one, I'll just post this as an announcement question that can be linked elsewhere. The short story From now on, intra-word emphasis is possible in our Markdown version. That means you can now write  The "V" is for Model**View**Controller. That's un*fricking*believable.  and it renders like this:  The "V" is for ModelViewController. That's unfrickingbelievable.  This only works for asterisks, not for underscores. It works in posts and comments. The reasons There are two big reasons for this. For one thing, this is more or less the behavior of , which we eventually . "More or less" because CommonMark's emphasis behavior is still in flux, and supports a few things that we don't support yet, but at least with this change we're closer. The other reason is languages that don't even have the concept of "words separated by spaces". See  and  for two examples. This change allow posts in those languages to emphasize words without having to resort to HTML tags. To use an example from the first linked post,  **北京**和**上海**是直辖市。   now renders like this:  北京和上海是直辖市。  Possible issues In the 99% cases, this should only make things better; I've only found very few posts where this change causes unintended bolding/italicizing. And even in those cases, note that the rendered versions of questions and answers are not re-rendered until a post is edited, so this will not affect anything in posts retroactively. Unlike posts, comments are rendered , so this immediately applies to all comments. In most cases this doesn't change anything or actually fixes things. Should you discover a rare case where this breaks an important comment badly, we can always edit it to fix. There's one side effect that I'd like to mention: If you find a great quicksort implementation on GitHub that has a bug that causes a crash when sorting Windows versions, and the author doesn't want to fix it, you may be inclined to say  f**k this s**t   (i.e., "fork this sort"). With intraword emphasis, this would however look like this:  fk this st  So you would have to escape the asterisks (one of them would actually be enough). I'm not worried about this case too much, since if you must put censor-worthy words into a post, you might as well have to jump through a little hoop. Some details This being Meta, there are probably lots of people interested in a more detailed description of the new behavior (don't feel bad if you're not one of them; just skip this section). Here are the major rules regarding intraword-emphasis:  As mentioned, it only applies to asterisks, not underscores. Underscores  this restriction was in place at all; asterisks are much less of a problem.  If a single or double asterisk is supposed to be interpreted as intra-word emphasis, it cannot have punctuation on one side; it actually must be inside a word. An example of an edge case this solves is  It's a web*-based solution. *see Wikipedia for a definition of "web"  where the asterisks after "web" could cause unintended italicizing if there was a second asterisk in the same paragraph somewhere.  For italics, the "inside a word" part of rule 2 is even a bit stricter. For bolding, any word or digit character is allowed; for italics, digits don't work either. That's because the asterisk is often used as a multiplication symbol, so  The game worked in 320200 and 640480 resolution.  wouldn't look right without this restriction.  A minor addition that I made that's only tangentially related to intra-word emphasis is that a sequence of more than three underscores or more than three asterisks will no longer take part in any emphasis. This shouldn't really cause any problems, but fixes some (e.g. the underline in the second blockquote in , while not really visible, is a weird combination of bold and italic underscore characters; after this change, it would just be (more) underscore characters). This behavior also matches CommonMark.


I uninstalled Python without realizing it's really important. What should I do?

How much have I broken and should I just reinstall the OS?


I am a bit confused as to where I should put externally downloaded plugins. I have tried putting them in:   /usr/share/gedit/plugins ~/. Local/gedit/plugins ~/. Gnome2/gedit/plugins /usr/lib/gedit/plugins   The way I have checked whether the plugins show up or not is going to Edit -> Preferences -> Plugins and looking for the ones I have downloaded (clickconfig, gedit-developer-plugins-...). Since I do not see any new plugins appearing, I have to assume that I am doing something wrong.  None of these have worked. I am a bit tired of polluting my system. It's probably my own fault as it's written somewhere I have not thought to look. Please let me know how to add external plugins to Gedit properly. I am running Ubuntu 11.10. My Gedit version is 3.2.3    EDIT:   I am still not able to solve this problem. I have tried the following folder now as well, and it hasn't worked:  ~/. Config/gedit/plugins  EDIT 2:   I am trying to install the plugins in "gedit-developer-plugins" as well as the "clickconfig" plugin.


How can I install HP Laserjet P1102w on Ubuntu?

I have Ubuntu 14.04. I was using a HP Laserjet 6L which worked after strugling with it for several days. I now have HP LaserjetP1102w and I just cannot get it to print.  When I installed it the computer recognised it. I went to properties and tried to print test page but nothing happened. I rebooted computer but still nothing.  I looked at some other answers regarding similar problems but could not understand a lot of it.


I am trying to prove $$\sum_{i=1}^ni^2=1^2+2^2+3^2+…+n^2=\frac{n(n+1)(2n+1)}{6}=Θ(n^3)$$ I understand when it comes to big-theta that f(n)= $$\sum_{i=1}^ni^2=1^2+2^2+3^2+…+n^2=\frac{n(n+1)(2n+1)}{6}$$ and g(n) = $$Θ(n^3)$$ I know that Θ(g(n)) = { f(n) : ∃ positive constants c1, c2 and n0, for  ∀n ≥ n0 0 ≤ c1 g(n) ≤ f(n) ≤ c2 g(n) My issue is how to solve this by induction. I've learned induction but I am unsure of how to do this with summation and big-theta I know I have to use k+1 but how do I use it when it comes to this question? Basis: S1=1=(1)(1)+1(2(1)+1)/6 = 2(3)/6 =1 So basis is true. Or is this even the right basis for solving by induction? Hypothesis : Sk = $$\sum_{i=1}^ki^2=1^2+2^2+3^2+…+k^2=\frac{kk+1(2k+1)}{6} < c2^3$$ Induction : Sk+1 = $$\sum_{i=1}^ki^2=1^2+2^2+3^2+…+k+1(k+1)^2=\frac{(k+1)(k+2)(2k+2)}{6} < c2^3$$ I am not sure if I did any of this correctly if not can someone show me how?


I have a floor function proof that I need to do. The arithmetic of the actual problem isn't my problem. It is the way to do the direct proof. I don't know how to prove this. Prove that if x is a real number, then ⌊2x⌋ = ⌊x⌋ + ⌊x + 1/2⌋.  I already know for any x this is true but how do you do the proof?


How can I show that $ \sum_{k=0}^{m}\binom{n}{k} \leq (n+1)^m$ for $m \leq n $?


I want to add few jquery in my basic page of drupal website to call some api with parameter. Can any one explain me how can i accomplish this. $.ajax or $.post we can do right but its not happening in basic page. I wanted to triggerd that jquery when i click html submit button... *in this case i am not using hook_form actully.**  This is only for one page...basically its a drupal basic page.


How can I delete the div that I created from the created divs?

function create() {     $("

<input type='text' placeholder='Soru Gir...' class='form-control'/> &nbsp; &nbsp;<button class='btn btn-danger' onclick='remove()' >Sil</button>&nbsp; &nbsp;<button class='btn btn-success' onclick='createSelection()'>Şık Ekle</button>

").insertBefore("#btn") }  function remove() {$("#question").remove()}


I am trying to install packet tracer. I installed java and than packet tracer, but when I'm launching it from terminal, I see the output as "Starting packet tracer 7.1.1" and nothing happens. When I'm searching it, I cant see packet tracer installed!


How can I add display names with spaces on the scoreboard?

today i was making a scoreboard sidebar for my java server and i wanted to make a name with spaces, i don't know how to do that so i added "_". But it looks horrible, so how can i add spaces to my texts?


How do we know that clocks slow down relative to each other?

For example if a body in motion experiences time dilation, why does it see a body at rest slow down relative to it? wouldn't it make more sense if the body at rest has a faster clock relative to it?


I am currently getting a distinct list of data. Properties are MDMMappingCode which is unique and CustNameReporting which can have duplicate data. Data being returned:  From my linq query the data being returned is correct but I only need 1 unique CustNameReporting instead of 5 being repeated. This issue I am facing is the MDMMappingCode is different. What should I change in my linq query to take the first record. Code List<OptionDto> customers = await _appDbContext.MasterDataCustomerActivityGrids                                     .Select(e => new OptionDto() { Value = e.MDMMappingCode, Label = e.CustNameReporting })                                     .Distinct()                                     .OrderBy(e => e.Label)                                     .ToListAsync(cancellationToken);  public class OptionDto {     public string Value { get; set; }     public string Label { get; set; } }


I am learning how to use apt. When I do an apt-cache search git to see all packages matching git, I see a bunch of packages whose descriptions have nothing to do with git. Why is this so and how can I fix it? (Ubuntu 12.04.2 LTS).  Also, why is the search functionality found in a command that has "cache" in its name? What does search functionality have to do with caches?  Thanks.


Votes reported on reputation tab don't match votes shown on the post

A question in my reputation tab shows two downvotes, and my reputation total reflects this:    However, the question itself shows only one downvote:    The downvotes were cast several hours ago, so I don't think I should blame caching.  What's going on?


If $A$ and $B$ form a separation of $X\setminus Y$, then $Y\cup A$ and $Y\cup B$ are connected

Suppose $Y\subseteq X$ topological spaces. $X$ and $Y$ are connected.   Let $A$ and $B$ be a separation of $X\setminus Y$ (this means that $A$   and $B$ are disjoint open sets such that $A\cup B=X\setminus Y$). Then   I need to show both $Y\cup A$ and $Y\cup B$ are connected.   I thing I need to prove it by contradiction. So let us assume $K$ and $M$ form a separation of $Y\cup A$. From here i need to show that this assumption leads to either of $X$ and $Y$ being disconnected. I can't show that so easily. Please help


Pass all lines in a file as single space separated argument

I have a txt file:  txt1 txt2 txt3  I want to pass all these lines as a single space separated argument: myProgram -a txt1 txt2 txt3  Is there an easy way to do this?


How to show total number of rows in ALL tables in the database

I currently have 2 tables in my database. (will have 50 when site is complete) On the main page I will have a counter that shows the total number of records displayed on my site/in my database. I am currently able to display the number of rows in each table. I need for this number to be the total number of records in ALL tables in the database. Here is my current code.  Query:  // Query for recently added. Total # of rows in table resources $mysqli = new mysqli("localhost","root", "", "rnddb");  $query = $mysqli->prepare("SELECT * FROM `resources`"); $query->execute(); $query->store_result();  $recentlyadded = $query->num_rows;   Display:  <?php echo $recentlyadded; // Total # of rows ?>   As of right now this gives me back the total # of rows in the resources table. I need the query to run on all tables and give me back that number combined. Any help would be greatly appreciated! Thanks.


Many times we come across examples like these :-  Hobbits are an unobtrusive but very ancient people... For they are a little people, smaller than Dwarves... ~ From The Fellowship of the Ring, JRR Tolkien  Is the first sentence grammatically correct? To me it seems 'an' shouldn't go with 'people'. Is it just a play of language by Tolkien or a regular form. When are such phrases correct and when would they be incorrect? In the second sentence, 'a' ruins the regular English and sounds weird. Again, are there examples from other writers? When are such sentences correct?


Quadratic Diophantine Equation $x^2 + axy + y^2 = z^2$

I have been reading about this quadratic Diophantine equation of the form  $x^2 + axy + y^2 = z^2$  where x, y, z are integers to be solved and a is a given integer.  All integral solutions are given by  $x = k(an^2 - 2mn), y = k(m^2 - n^2), z = k(amn - m^2 - n^2)$ and  $x = k(m^2 - n^2), y = k(an^2 - 2mn), z = k(amn - m^2 - n^2)$  (due to diagonal symmetry in x and y)  where $m,n$ are integers with $\gcd(m,n) = 1,$ but $k \in \mathbb Q$ is rational such that $(a^2 - 4) \, k \in \mathbb Z.$ This is Theorem 2.3.2. on page 90 of An Introduction to Diophantine Equations by Andreescu, Andrica, and Cucurezeranu. (2010). EDIT BY WILL JAGY.  I have no problem understanding how the solution forms were derived; they were just basic algebraic manipulation. But then when it comes to the solutions in positive integers, the form becomes  $x = k(an^2 + 2mn), y = k(m^2 - n^2), z = k|amn + m^2 + n^2|$ and  $x = k(m^2 - n^2), y = k(an^2 + 2mn), z = k|amn + m^2 + n^2|$  where k, m, n are positive integers, an + 2 m > 0 and m > n.  What I can understand is that we apply modulus to the x, y, and z in the previous form to get the latter form (we want x, y, and z to be in positive integers), but I can't seem to understand how an + 2 m > 0 and m > n work to prove  $|x| = |k(an^2 - 2mn)| = kn|an - 2m| = kn(an + 2m) = k(an^2 + 2mn)$ and  $|z| = |k(amn - m^2 - n^2)| = k|amn + m^2 + n^2|$.  Can anyone help me on this? I've been pondering for almost a week. It's driving me crazy. Thank you in advance.


How to change line spacing to 1.15 lines?

How do i change the line spacing of my entire document to 1.15 lines?


I'm not sure about the proper subject verb agreement in the following sentences.  A boy and a girl make/makes a couple.  5 and 5 make/makes 10.  75 and 25 make/makes a hundred.  Can you help?  ETA: I understand that compound subjects usually take plural verbs, unless they form a collective idea- in which case it takes a singular verbs.   Can the subjects in these cases be considered a collective unit?


Where can I find logs on recent USB insertion in the Event Viewer?

I am using Windows 10 and would like to find logs of recent USB insertions on my desktop. Using the built in Event Viewer, where can I find these logs?


I just received my Amazon Kindle Fire and since I am not located within the USA I can't use most of services provided Amazon. So I think the best thing for me would be to install a vanilla (custom) Android ROM.  How can I install vanilla Android on the Kindle Fire?


Armature rotates in blender upon exporting as fbx [Still not working]

Upon exporting my character in blender as fbx it rotates by -90.  The question linked has not fixed my problem. :|  I have already applied transform, rotation, and scale. This happens in blender right after i export and it brings me back to the 3D view.  The character used to export normally, until i recently rechecked some animations and edited the bones.


How do I set up Windows 7 to stream media to my PS3?

I have a computer and a  connected wirelessly to my router, but it seems no matter how hard I try I can not get my PC to show up on my PS3.  I've also tried setting up a media server with TVersity but my PS3 just won't find it. Any suggestions?


I am interested in the converse of the following form of Schur's lemma:  Lemma. (Schur) A group $G$, a $\mathbb{C}$-vector space $V$ and a homomorphism $D : G \rightarrow \operatorname{GL}(V)$ are given. Suppose that $D$ is a irreducible reprsentation. If a linear map $T : V \rightarrow V$ commutes with $D(g)$ for all $g \in G$, then $T$ is some scalar multiple of the identity operator.  Edit) What I want to prove or disprove is the converse of the above:  Suppose that the representation $D : G \rightarrow \operatorname{GL}(V)$ is reducible. Then there is a linear map $T : V \rightarrow V$ which is not a scalar multiple of the identity such that $T D(g) = D(g) T$, $\forall g\in G$.  When $G$ is a finite group or a compact Lie group, this trivally holds, because every reducible representation of $G$ is decomposable (i.e. fully reducible); if $W \leq V$ is a subspace invariant under $D : G \rightarrow \operatorname{GL}(V)$, then we can find an invariant subspace $U \leq V$ satisfying $V = W \oplus U$, and $T=\pi_W+2\pi_U$ commutes with every $D(g)$ but is not a scalar multiple of the identity. ($\pi$: projection operators)  QUESTION. But what if $G$ is a general group, which admits reducible but indecomposable representations? Does the converse of Schur lemma still hold?


How to find a derivative with respect to a matrix?

If I have $f: \mathbb{R}^{n \times m} \times \mathbb{R}^{n} \to \mathbb{R}^{m}$ And $f(K,t) = Kt + h$ where $h \in \mathbb{R}$ How would I find $\frac{\partial f}{\partial K}$ and $\frac{\partial f}{\partial t}$?


Does law of large numbers converge in $L^1$?

I've seen the  stated mainly in two (or three) forms: $S_n/n$ converges in probability (weak law) and converges almost surely (strong law).  Also, there is convergence in the $L^2$-norm for uncorrelated random variables ($L^2$ weak law). However there is a backwards martingale proof of the strong law of large numbers (any graduate level probability theory book, for example Durrett, should have it).  The important thing is that $M_{-n}:=S_n/n$ is a backward martingale, and backward martingales converge both a.e. and in the $L^1$-norm.  Then, in particular, $S_n/n$ converges in the $L^1$-norm.  Does $S_n/n$ really converge in the $L^1$-norm?  If yes, why is this never mentioned? If no, what is wrong with my above proof?


My sister and I are trying to play Minecraft together, but no matter what we try, we can't get it to work. We've had this problem numerous times in the past, and it's always stopped us from playing together, unless on servers like Hypixel. We've spent the last two hours trying to fix this and reading/watching tutorials, but nothing has helped. When I try to connect, I have to do direct connect because it will not show the world automatically, despite us playing on the same IP and same version. It gives me the error message io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information. I've tried turning off the firewall, but that doesn't do anything. What should I do?


List in list becames empty when i clear temporary list which i added inside [Java]

java.util.List<java.util.List<String>> statuses = new java.util.ArrayList<>(); java.util.List<String> temp = new java.util.ArrayList<>();  System.out.println("yoi :" + temp.size()); statuses.add(temp); System.out.println("warui :" + statuses.get(0).size()); temp.clear(); System.out.println("kirai :" + statuses.get(0).size());   Console output:  yoi :31 warui :31 kirai :0   Why on earth list inside other list becames empty when I clear temporary list that I used to insert it?


Using the 'U' Matrix of SVD as Feature Reduction

This is a follow-up to the question asked regarding SVD and dimensionality reduction ().  In that question I asked how to use SVD for dimensionality reduction. Although not stated, the ultimate goal here is to use the reduced feature set and input them into a classification or regression algorithm.  I have learned that SVD is a technique used by prcomp in R, as the "v" matrix from a run of svd on a centered and scaled matrix is the same as the loadings (eigen vectors) from a PCA using the traditional eigen decomposition on a correlation matrix:  data(iris)  #these two match eigen(cor(iris[,-5])) #eigen vectors svd(scale(iris[,-5]))$v   This has helped with my understanding of the connection between SVD and PCA. However, I have two additional questions:  1) Why do the following differ in signs for the first PC? Is this OK?  svd(cor(iris[,-5]))$u svd(scale(iris[,-5]))$v   2) To match the output of prcomp, one can multiply the scaled/centered original data by the 'v' matrix from SVD:  PCSCORE1<-scale(iris[,-5]) %*% SVD2$v[,1:2]  #PC scores from SVD PCSCORE1[1:10,]  #PC scores from first 2 PC  #matches this PCA<-prcomp(iris[,-5], center = TRUE, scale =TRUE)  PCA$x[1:10,1:2]   but I have seen in multiple locations (e.g. ) and the rapidminer package (a machine learning tool written in JAVA) that just the 'u' matrix that results from running svd on the center/scaled input matrix X is used as the PC scores.   What is the connection of u to Xv and if u can be used, why does prcomp compute Xv? Mechanically u is Xvdiag(1/d) so the eigen vectors related to the largest eigen values are scaled down - why is this used?


How many times can Capaldi's Doctor regenerate, post-S9E2?

During Doctor Who S9E2, The Witch's Familiar,      The Doctor gives away enough of his regeneration energy to revive Davros and every Dalek on Skaro, including all the "dead" ones.   Capaldi was the first regeneration of a new cycle, but surely this event shook things up. How many more Doctors will we have before Moffat has to get creative again?  The events of S9E2 give me a reason to think there would be a different  answer than the one to


How to tell to my advisor that I want a co-advisor?

I am a 3rd year phd student. I have a good human relation with my advisor, who generally leaves me a lot of freedom in deciding my work and my next steps.  However he recently started a personal business that is capturing all his time and interest. The consequences are:   He started skipping the scheduled meeting, being available more or less once each three weeks. He rarely reads what I send him, and if he does, he does it in the minutes just before we meet.   In general I feel that he has lost any interest in my supervision, to which he dedicates just the time of our meetings.  This in generally reduces the quality of what I produce and of the directions that my research can take.  At this point, I am considering the possibility of propose him to add a co-advisor to my PhD. In fact we are having a good collaboration with another professor from a different department (biology, I am in Cs) who seems very interested to my research; but I have no idea if he might be interested in co-advising me.  Might this be a good solution? And how to propose this to him without even hurt the good relation that we have?


I am looking for a step-by-step solution to the following infinite sum:  $\sum_{i=0}^\infty \frac{i^n}{4^i}$  I know that I can find the solution to something like this:  $\sum_{i=0}^\infty \frac{i^2}{4^i}$  by starting with the geometric series and its closed form:  $\sum_{i=0}^\infty x^i = \frac{1}{(1-x)}$  and by differentiating both sides by x then multiplying both sides by x and repeating (perform differentiation by x followed by multiplication by x) i can get:  $\sum_{i=0}^\infty i^2x^i = \frac{x(1+x)}{(1-x)^3}$  at which point I just set x = (1/4) and the RHS evaluates to 20/27.  But I am unsure of what to do when the power of i in the series is set to n, instead of a constant like 2 or 3


I have these lines in my header   $( document ).ready(function() {     $(".thumb").hide();    $(".thumb").first().show();    $(".text" ).mouseenter(function() {    $(this).prev(".thumb").show();       }).mouseleave(function() {    $(this).prev(".thumb").hide();    });  });   They work fine on page load, but as soon as I'm loading new HTML content with AJAX, these lines are being ignored.  In my previous questions, some gentle person told me to use .on()  Okay. But how do I apply this .on() to my code above?   I know it's a dumb question for most of you, but I'm an absolute beginner and  I'd really appreciate it, if some could give some helpful advice.


I overseasoned my food, what can I do to remove the strong smell?

This happens to all of us - be it because we misread the recipe and threw in a tablespoon of sage when it said a teaspoon of sage, or because we were bravely experimenting with new tastes and suddenly noticed something amiss. The question also covers cases where the food is normally seasoned for the average person, but an eater hates a certain aroma and perceives it as strongly unpleasant, and cases where the unwanted aroma does not come from seasoning, but e.g. from burning the food.   In the end, we have a batch of smelly food and wonder where the Undo button is. How do we save it and make it tasty again?


Is a base runner out if he back pedals to first base to avoid a tag in a double play situation?

There came a situation in one game where there was a runner occupying first base (R1) and third base (R3), with one out. The batter then hits a ground ball to the left of the second baseman. He fields the ball and attacks R1, advancing to second base. R1 then stops and back pedals to first base to avoid the tag. The runner the second baseman then throws over to first base to get the battered runner out; with this, R3 advances home, and there is now a hot box between first and second because of R1.   After the runner is tagged at second, the umpire had tried to stop play claiming that because R1 did not just stop but back pedaled to avoid the tag, he is automatically out, and no run scores.  Was the umpire's decision right?


Stop ArcGIS model until all values are collected and then merge?

This is similar to  but I want the iterate tool to run to collect all the values and only then continue to the merge. Any ideas? Currently it just runs the whole process for each file (which works but takes much longer than if the merge is done only once) or I have to manually break the collect-merge link, run the iterate, reconnect the collect-merge link and then continue running the model which is a pain as it is a lot of towers that need processing and this collect values-finish getting all values and then continue will be required in other models as well.    I tried the "Select Data" tool as well but this doesn't allow for wildcard searches like the Iterate does -my Iterate has the "_Graded*" as the search param as the gdb included many other files related to each tower chunk.  My STOP is set to "True" (tried false as well). I also tried to connect the Stop to the Iterate instead of Collect values but same result.  === SCRIPT ADDED  I just created a python tool for this and it collects all the values but it passes them back to the model as a long list -how can I get it to output in a proper format?      import sys, os, arcpy  GDB=arcpy.GetParameterAsText(0) Search=arcpy.GetParameterAsText(1) Type=arcpy.GetParameterAsText(2)  ##GDB=r'P:\2012\044_DM_Radio_Propogation\Working\Propogation\Propogation_28355.gdb' ##Search='_m' ##Type='Polygon'  path=os.path.dirname(GDB) arcpy.env.workspace = GDB List=[] for item in arcpy.ListFeatureClasses('*'+Search+'*',Type):     List.append(path+"\\"+item)     #arcpy.SetParameterAsText(3, item)  arcpy.SetParameterAsText(3, List) arcpy.AddMessage("List: "+str(List))


Limit $\lim_{x \rightarrow \infty} (\sin {\sqrt{1+x}} - \sin {\sqrt{x}})$

I need to calculate limit: $\lim_{x \rightarrow \infty} (\sin {\sqrt{1+x}} - \sin {\sqrt{x}})$  I was thinking of using the formula for $\sin \alpha - \sin \beta$, but what can be the next step?


Solve equations involving congruence equivalence classes

I came across a question where I think I am missing something fundamentally. The question is: Find the number of distinct solutions to the equation $x^2 \oplus \widehat{-1} = \hat{0}$ in $\mathbb{Z}_8$, this is where $\hat{a}$ is an equivalence class of congruence mod 8. I've tried to do things like: $x^2 - 1 = 8k \implies x = 8k \pm1 \implies x \equiv \pm1 (mod \ 8)$. How should I actually go about solving this sort of problem? Thanks


Template issue causes linker error (C++)

I have very little idea what's going in regards to C++ templates, but I'm trying to implement a function that searches a vector for an element satisfying a given property (in this case, searching for one with the name given). My declaration in my .h file is as follows:  template <typename T> T* find_name(std::vector<T*> v, std::string name);   When I compile, I get this linker error when I call the function:  Error   1   error LNK2019: unresolved external symbol "class Item * __cdecl find_name<class Item>(class std::vector<class Item *,class std::allocator<class Item *> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??$find_name@VItem@@@@YAPAVItem@@V?$vector@PAVItem@@V?$allocator@PAVItem@@@std@@@std@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z) referenced in function "public: class Item * __thiscall Place::get_item(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?get_item@Place@@QAEPAVItem@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) place.obj   Program2   Again, I'm new to templates so I don't know what's going. All instances I've found of LNK2019 through Google have been about not using the correct libraries, but since this is my own function I don't see why this would be happening.  Also, a related question: Is there a way to make a template parameter so that it has to be a subclass of a certain class, i.e. template?


Where and how to publish research paper as a non-academic independent researcher

I am an independent researcher with out a PhD and because of my curiosity in science in my free time I carries out some minor experiments. Using those experimental data I wrote a paper and I want to publish it as a research article.   My first question; Is there any journal available where an independent researcher can publish his/her work?  As I believe no such journals are available I thought of sending my articles to other peer reviewed journals?  But the problem is how will I address my author information   author information is given like this  Nora D. Volkow,1,2 Gene-Jack Wang,3 Joanna S. Fowler,3 and Dardo Tomasi2  1National Institute on Drug Abuse (NIDA), National Institutes of Health, Bethesda, Maryland 20892 2National Institute on Alcohol Abuse and Alcoholism (NIAAA), National Institutes of Health, Bethesda, Maryland 20892 3Medical Department, Brookhaven National Laboratory, Upton, New York 11973 Nora D. Volkow: vog.hin.adin@woklovn   As I am an independent researcher who is not working in the similar field of my research work, how should I give my author information?  Do I give my current employment details as author information  Eka, Supervisor, XYZ company   or my last school details  Eka, University of Earth


I learned that inside a battery, when we put a circuit, the battery takes electrons on the positive side and do force on them to place them in the negative side. This work done is converted into potential energy for the electrons and they are ready to enter the wire. Is there something I don't understand?  For example in this battery here :   there is no place for the electrons to move from the positive side to the negative side, except the salt bridge but it only conducts ions. Do the electrons get transported in the electrolyte via ions and then released in the negative terminal?


Find inverse $f^{-1}$ of a function $f(x,y)=(x-y,x-10y)$

I know how to find inverse function if the given function is in the explicit form. Could someone show on this example how to find $f^{-1}$?  Thanks for replies.


Joint Distribution of Brownian Motion and its Time Integral

Let $W(t)$ be a standard Brownian motion and let $I(t) = \int_0^t W(s) \, \mathrm{d}s$ denote its time integral.  I'm interested in the joint distribution of $(W(t), \,I(t))$, but I can't seem to find any references for this.  Is it unknown?  I can't seem to find even a covariance calculation.


Profile avatar lost on several sites after profile edit (Gravatar replaced with Identicon)

I have had the same network-wide profile avatar for many years; it's a custom image which I installed nework-wide soon after I registered for Stack Overflow back in 2011. I still see that image e.g. on  and  but not, for instance, on this site, or e.g. on   (The example originally linked to my Unix & Linux profile instead of Super User but I experimentally changed my profile back to the gravatar one there.)  I routinely update my profile presentation text every few months, and did so again a few days ago. Comments below seem to indicate that others who recently edited their profile are experiencing the same problem.  My preferred avatar is a Gravatar which is connected to my email address, which has always been the same (MD5 091f411d57db5be8298e057a32e5ad72). The replacement seems to be a generic identicon with a different MD5. I don't recall seeing this identicon as an option in my profile before:    You'll notice that the gravatar is still visible as an option, but I can find no way to replace it on all sites in one go. I switched back to the gravatar one on Unix & Linux and noticed that the help next to the "Save" button says     Your profile will be updated on all public communities.   but alas, that did not in fact happen. Do I really have to go over 170+ member sites and manually select my gravatar on each?


How do we know that Dark Energy has homogeneous energy density?

I’ve read places that the density of Dark Energy is the same throughout the universe.    If the expansion density of dark energy were the same throughout the universe, why don’t all galaxies have the same recession velocity (or do they)?  Is it possible that a red-shift can change based on proximity to a galaxy? If so, would this have implications for the density of dark energy?


What source detail should I include for a digital book?

I use the following to record my digital book sources. Should I include anything else?   Author Editor Title Publication Place Publisher Publisher Year Page Format Website URL


Coloring $\mathbb R^3$ with 3 colors always gives us a color with all distances.

I'm having some issues reasoning through a particular problem. Consider a problem where I color all points in $\mathbb{R}^3$ with the colors red, green, blue. I want to show that every positive real represents the distance between two points of one of these colors (one color attains all distances). I have a feeling that this is to some extent an "assume for sake of contradiction" kind of proof. Let us say that there is no color that attains all distances, i.e. red does not attain $d_{r},$ blue does not attain $d_{b},$ and green does not attain $d_{g}.$ $d_{r}$ represents the distance between blue or green points, $d_{b}$ represents the distance between red or green points, and $d_{g}$ represents the distance between red or blue points. However, once I reach this point, I am running out of ideas of where to move with this proof. Any assistance would be greatly appreciated.


How do I disable texture filtering for sprite scaling in XNA 4.0?

I have a sprite that I'm trying to scale up in XNA, but XNA is applying some sort of texture filtering that smooths it and makes it look ugly. I'd like it to just do pixel doubling instead of interpolation. How would I accomplish that?


If F(action) =F(reaction), why doesn't a ball bounce to its original height?

This might seem like a very absurd/ridiculous question, but this question suddenly popped on my head a few days ago. Is it that I'm missing something as I haven't reviewed this topic for quite a while?    So my assumption is if an object exerts a force equal and opposite to the object which acts on it, shouldn't a ball dropped from a certain height exerts a force (m.g) on the ground and it reacts back by pushing the ball upwards and thus sending it back to its original position/height?  I then thought for a while and realized this would be a contradiction to the Energy Conservation Law and it wouldn't make any sense anymore. I've come to known that I've definitely forgotten something. Any help would be greatly appreciated.


I need to move Windows 10 from a hard drive to a solid state drive

I recently built another desktop computer with 3 drives, one of which is from my old computer. I want to move my Windows install to the new solid state drive without losing all of my files on the old drive. I have looked into image copying software but it all looks risky. My latest plan was to mount the Windows 10 ISO to a flash drive, uninstall my old drive, install Windows on the SSD, and then plug in my old drive and uninstall Windows from it.  Can anyone validate this plan or provide a possibly easier alternative?


Do extension fields always belong to a bigger field?

Let $F$ be a field, $E_1$ and $E_2$ are two distinct extension fields of $F$. Is it the case that we can always somehow find a field $G$ that contains both $E_1$ and $E_2$? In other words, could extensions of fields have different 'direction's such that they are incompatible?  Edit: I began to think about this problem while reading a proof. $F$ is a field. $a$ and $b$ are algebraic over $F$. $p(x)$ and $q(x)$ are two polynomials in $F[x]$ of minimum degree that respectively make $a$ and $b$ a zero. The proof claims that there is an extension $K$ of $F$ such that all distinct zeros of $p(x)$ and $q(x)$ lie in $K$. For a single polynomial, I know this kind of field exists because of the existence of splitting field, why it is true for two polynomials?


How can I know the DHCP settings offered by a server?

I want to debug a router that is giving strange DHCP settings, but I don't know how to check it without having to make my system take all the configurations. Isn't there a utility that returns all DHCP settings (like NTP, WINS, DNS, IP, router) whenever a client connects?  Preferably that is platform independent, and that won't require changing the client's configuration to trigger the DHCP.


Short Story/Novella in Which People Living in What they Think is Small Town Fifties America Find Look Magazine and Don't Recognize Anything in It

This is probably from the mid-to-late fifties.  It involved families living in what seemed to be normal, small town America of the time.  But two boys found in a garbage dump or in a nearby landfill a copy of "LOOK" magazine from their time period (1955? 1957?).  Their problem was that they and their families didn't recognize any of the people or events that were reported in the magazine.    The tone of the articles in the magazine matched their actual lives in that the magazine reported world events, trouble spots, celebrities, politics, and had advertisements for cigarettes and TVs, etc. but the facts were completely different. I think the magazine was a magazine from 'real' America and they were living in a 'fake' America, i.e., they had been brought up in a separate isolated environment with everything different but now had found something from the 'real' world. The tone of the story was that they were never supposed to know about any of this. Maybe, just maybe, part of it was a story about Marilyn Monroe but none of the people had ever heard of her. I can't remember much more than that but I have a nagging thought that they were part of some controlled environment experiment by the US Military.


Can crumbled feta cheese last almost a year?

talks about feta cheese in a brine or milk bath lasting up to three months.  What about crumbled feta?  I was looking through the fridge, and found a 1/2 pound open container of crumbled feta.  I have only used about an ounce of it.  There is no sign of mold on it, and it smells like feta cheese.  A small sample tasted okay.  The amazing thing is that I bought it in October or November: 8-10 months ago!  I have a recipe that calls for almost a 1/2 pound of feta, and I will be the only one eating it (so I'm not trying to impress anybody!).  I dislike wasting food, but I dislike being sick even more!  Is it safe to use dry crumbled feta that is so old?


getting error "Illegal conversion from List to List"

Here is my code public with sharing class estimatevsPipeline {     @AuraEnabled     public static List<Opportunity> getestimatevsPipeline() {         return [             SELECT SUM(amount_ge_og__c) sumAmount             FROM Opportunity             WHERE                 ((IsClosed != TRUE                 AND ForecastCategoryName IN ('Commit', 'Commit at Risk'))                 OR StageName = 'Closed Won')                 AND RecordType.DeveloperName != 'Targets'                 AND Type IN ('Internal to GE Parent', 'Internal to BHGE', 'External')                 AND forecast_pipeline_exception_ge_og__c != TRUE                 AND CloseDate = THIS_QUARTER                 AND Id IN (                     SELECT OpportunityId                     FROM OpportunityTeamMember                     WHERE                         (UserId IN ('0051H000009S5D2QAK', '00512000007jB49AAE', '0051H00000Aw9VbQAJ')                         OR UserId = '0051H00000AwEezQAF')                         AND TeamMemberRole != 'Following'                 )         ];     } }


Unity launcher shows blacklisted unmounted partitions forever

"unlock from launcher" is ineffective - they all come back with the next boot.  There is a workaround posted for Ubuntu 12.10 (see below) but this does not work for 15.04. This started after using gparted.   Is there a fix or workaround?