Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 4.9 KB

2017-11-15.md

File metadata and controls

97 lines (43 loc) · 4.9 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2017-11-15

  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. Difference between “expose” and “publish” in docker

    tags: docker

    265 votes, 4 answers and 93230 views

    \r\n I'm experimenting with Dockerfiles, and I think I understand most of the logic. However, I don't see the difference between "exposing" and "publishing" a port in this context.\n\nAll the tutorials I ...\r\n

  3. Change data type of columns in Pandas

    tags: python, pandas, dataframe, types, casting

    284 votes, 5 answers and 466687 views

    \r\n I want to convert a table, represented as a list of lists, into a Pandas DataFrame. As an extremely simplified example:\n\na = [['a', '1.2', '4.2'], ['b', '70', '0.03'], ['x', '5', '0']]\ndf = pd....\r\n

  4. How to write a Python module?

    tags: python, python-2.7, python-module

    188 votes, 5 answers and 204575 views

    \r\n I've been making Python scripts for simple tasks at work and never really bothered packaging them for others to use. Now I have been assigned to make a Python wrapper for a REST API. I have absolutely ...\r\n

  5. What is InputStream & Output Stream? Why and when do we use them?

    tags: java, io, inputstream, outputstream

    206 votes, 7 answers and 184984 views

    \r\n Someone explain to me what InputStream and OutputStream are?\n\nI am confused about the use cases for both InputStream and OutputStream.\n\nIf you could also include a snippet of code to go along with ...\r\n

  6. Cocoa Autolayout: content hugging vs content compression resistance priority

    tags: cocoa, autolayout

    530 votes, 8 answers and 161827 views

    \r\n I can't find a clear answer on Apple documentation regarding Cocoa Autolayout about the difference between content hugging and compression resistance. \n\nCan somebody explain their usages and ...\r\n

  7. Why does Stream not implement Iterable?

    tags: java, java-8, java-stream, iterable

    181 votes, 7 answers and 23068 views

    \r\n In Java 8 we have the class Stream, which curiously have a method\n\nIterator iterator()\r\nSo you would expect it to implement interface Iterable, which requires exactly this method, ...\r\n

  8. How to disable an Android button?

    tags: android, layout, button

    259 votes, 9 answers and 324025 views

    \r\n I have created a layout that contains two buttons, Next and Previous. In between the buttons I'm generating some dynamic views. So when I first launch the application I want to disable the "Previous" ...\r\n

  9. How to prevent favicon.ico requests?

    tags: favicon

    332 votes, 10 answers and 186228 views

    \r\n I don't have a favicon.ico, but IE always makes a request for it.\n\nIs it possible to prevent the browser to make a request for the favicon of my site? Maybe some META-TAG in the HTML header?\r\n

  10. RecyclerView vs. ListView

    tags:

    182 votes, 12 answers and 109823 views

    \r\n From android developer (Creating Lists and Cards):\r\n The RecyclerView widget is a more advanced and flexible version of\n ListView.\r\nOkay, it sounds cool, but I when I saw this example picture I got ...\r\n