Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 5.04 KB

2017-11-05.md

File metadata and controls

97 lines (43 loc) · 5.04 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2017-11-05

  1. How do I delete (unset) an exported environment variable?

    tags: linux, environment-variables, unset

    967 votes, 3 answers and 547486 views

    \r\n Before installing gnuplot I set the environment variable GNUPLOT_DRIVER_DIR = /home/gnuplot/build/src.\n\nDuring the installation something went wrong; now I want to remove the GNUPLOT_DRIVER_DIR ...\r\n

  2. Does anyone have benchmarks (code & results) comparing performance of Android apps written in Xamarin C# and Java?

    tags: c#, java, android, xamarin, dot42

    447 votes, 7 answers and 41851 views

    \r\n I came across Xamarin claims that their Mono implementation on Android and their C# compiled apps are faster than Java code. Did anyone perform actual benchmarks on very similar Java and C# code on ...\r\n

  3. How to iterate over rows in a DataFrame in Pandas?

    tags: python, pandas, rows, dataframe

    434 votes, 8 answers and 458077 views

    \r\n I have a DataFrames from pandas:\n\nimport pandas as pd\ninp = [{'c1':10, 'c2':100}, {'c1':11,'c2':110}, {'c1':12,'c2':120}]\ndf = pd.DataFrame(inp)\nprint df\r\nOutput:\n\n c1 c2\n0 10 100\n1 11 110\n2 ...\r\n

  4. How do you check if a certain index exists in a table?

    tags: sql-server

    186 votes, 7 answers and 175568 views

    \r\n Something like this:\n\nSELECT\n* \nFROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS \nWHERE CONSTRAINT_NAME ='FK_TreeNodesBinaryAssets_BinaryAssets'\nand TABLE_NAME = 'TreeNodesBinaryAssets'\r\nbut for indexes.\r\n

  5. error: request for member '..' in '..' which is of non-class type

    tags: c++

    301 votes, 7 answers and 264092 views

    \r\n I have a class with two constructors, one that takes no arguments and one that takes one argument.\n\nCreating objects using the constructor that takes one argument works as expected. However, if I ...\r\n

  6. Is not an enclosing class Java

    tags: java, inner-classes

    214 votes, 7 answers and 186693 views

    \r\n I'm trying to make a tetris game and I'm getting "Shape is not an enclosing class" when I try to create an object\n\npublic class Test {\n public static void main(String[] args) {\n Shape s = ...\r\n

  7. How to set iPhone UIView z index?

    tags: ios, uiview, position, z-index

    209 votes, 8 answers and 162315 views

    \r\n I want to move one view on top of another, how can I know the z index of the view, and how to move on to top?\r\n

  8. What's the meaning of “=>” (an arrow formed from equals & greater than) in JavaScript?

    tags: javascript, syntax, ecmascript-6, arrow-functions

    211 votes, 9 answers and 55252 views

    \r\n I know that the >= operator means more than or equal to, but I've seen => in some source code. What's the meaning of that operator?\n\nHere's the code:\n\npromiseTargetFile(fpParams, aSkipPrompt, ...\r\n

  9. Angular 2 No provider for Http

    tags: angular

    193 votes, 12 answers and 113658 views

    \r\n I am getting the EXCEPTION: No provider for Http! in my Angular 2. What am I doing wrong?\n\nimport {Http, Headers} from 'angular2/http';\nimport {Injectable} from 'angular2/core'\r\n@Component({\n ...\r\n

  10. How can I select an element in a component template?

    tags: angular, typescript, angular2-components

    219 votes, 9 answers and 225569 views

    \r\n Does anybody know how to get hold of an element defined in a component template? Polymer makes it really easy with the $ and $$.\n\nI was just wondering how to go about it in Angular 2.\n\nTake the ...\r\n