Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 4.64 KB

2017-10-27.md

File metadata and controls

97 lines (43 loc) · 4.64 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2017-10-27

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

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

    446 votes, 6 answers and 41709 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

  2. Modifying the “Path to executable” of a windows service

    tags: windows, windows-services

    183 votes, 5 answers and 151299 views

    \r\n I'd like to modify the path to my application, but doing so breaks it because the service still points to the old location. \n\nBy going to Administrative Tools > Services you can open a properties ...\r\n

  3. How to use if-else option in JSTL

    tags: jsp, jstl

    271 votes, 5 answers and 355405 views

    \r\n Is there an if-else tag available in JSTL?\r\n

  4. Invoking a function without parentheses

    tags: javascript

    204 votes, 6 answers and 16013 views

    \r\n I was told today that it's possible to invoke a function without parentheses. The only ways I could think of was using functions like apply or call.\n\nf.apply(this);\nf.call(this);\r\nBut these require ...\r\n

  5. How to clone a Date object in JavaScript

    tags: javascript

    320 votes, 7 answers and 91873 views

    \r\n Assigning a Date variable to another one will copy the reference to the SAME value. This means that changing one will change the other. How can I actually clone or copy the value?\r\n

  6. Do HttpClient and HttpClientHandler have to be disposed?

    tags: c#, .net-4.5, idisposable, using, dotnet-httpclient

    210 votes, 7 answers and 61001 views

    \r\n System.Net.Http.HttpClient and System.Net.Http.HttpClientHandler in .NET Framework 4.5 implement IDisposable (via System.Net.Http.HttpMessageInvoker).\n\nThe using statement documentation says:\r\n As a ...\r\n

  7. How do I hide an element when printing a web page?

    tags: css, printing

    295 votes, 8 answers and 289725 views

    \r\n I have a link on my webpage to print the webpage. However, the link is also visible in the printout itself.\n\nIs there javascript or HTML code which would hide the link button when I click the print ...\r\n

  8. How do I use raw_input in Python 3

    tags: python, python-3.x

    314 votes, 9 answers and 454484 views

    \r\n import sys\nprint (sys.platform)\nprint (2 ** 100)\nraw_input( )\r\nI am using Python 3.1 and can't get the raw_input to "freeze" the dos pop-up. The book I'm reading is for 2.5 and I'm using 3.1\n\nWhat ...\r\n

  9. Markdown: continue numbered list

    tags: markdown

    228 votes, 8 answers and 43624 views

    \r\n In the following markdown code I want item 3 to start with list number 3. But because of the code block in between markdown starts this list item as a new list. Is there any way to prevent that ...\r\n

  10. How do you append to a file?

    tags: python, file, append

    980 votes, 8 answers and 987826 views

    \r\n How do you append to the file instead of overwriting it? Is there a special function that appends to the file?\r\n