Skip to content

Latest commit

 

History

History
97 lines (43 loc) · 4.72 KB

2017-10-01.md

File metadata and controls

97 lines (43 loc) · 4.72 KB

Trending in Stackoverflow

See what the Stackoverflow community is most excited about today.

Date: 2017-10-01

  1. xcode-select active developer directory error

    tags: xcode, osx, command-line-tool

    278 votes, 10 answers and 141499 views

    \r\n Saw the following error when running an npm install which required node-gyp.. but could be triggered by anything which requires xcode-select\r\n xcode-select: error: tool 'xcodebuild' requires Xcode, ...\r\n

  2. What is the difference between statically typed and dynamically typed languages?

    tags: programming-languages, static-typing, dynamic-typing

    520 votes, 12 answers and 216261 views

    \r\n I hear a lot that new programming languages are dynamically typed but what does it actually mean when we say a language is dynamically typed vs. statically typed?\r\n

  3. How do you assert that a certain exception is thrown in JUnit 4 tests?

    tags: java, exception, junit, junit4, assert

    1344 votes, 26 answers and 747161 views

    \r\n How can I use JUnit4 idiomatically to test that some code throws an exception?\n\nWhile I can certainly do something like this:\n\n@Test\npublic void testFooThrowsIndexOutOfBoundsException() {\n boolean ...\r\n

  4. What is the difference between visibility:hidden and display:none?

    tags: css, visibility

    785 votes, 15 answers and 345902 views

    \r\n The CSS rules visibility:hidden and display:none both result in the element not being visible. Are these synonyms?\r\n

  5. Is it possible to add dynamically named properties to JavaScript object?

    tags: javascript

    482 votes, 14 answers and 352810 views

    \r\n In JavaScript, I've created an object like so:\n\nvar data = {\n 'PropertyA': 1,\n 'PropertyB': 2,\n 'PropertyC': 3\n};\r\nIs it possible to add further properties to this object after it's initial ...\r\n

  6. What is the difference between ++i and i++?

    tags: c, for-loop, post-increment, pre-increment

    557 votes, 17 answers and 558179 views

    \r\n In C, what is the difference between using ++i and i++, and which should be used in the incrementation block of a for loop?\r\n

  7. LEFT OUTER JOIN in LINQ

    tags: c#, linq, join

    298 votes, 16 answers and 340769 views

    \r\n How to perform left outer join in C# LINQ to objects without using join-on-equals-into clauses? Is there any way to do that with where clause?\nCorrect problem: \nFor inner join is easy and I have a ...\r\n

  8. Difference between proxy server and reverse proxy server

    tags: proxy, webserver, terminology, reverse-proxy

    1144 votes, 16 answers and 399304 views

    \r\n What is the difference between proxy server and reverse proxy server?\r\n

  9. Smooth scrolling when clicking an anchor link

    tags: javascript, jquery, scroll, hyperlink, anchor

    288 votes, 18 answers and 484985 views

    \r\n I have a couple of hyperlinks on my page. A FAQ that users will read when they visit my help section.\n\nUsing Anchor links, I can make the page scroll towards the anchor and guide the users there.\n\nIs ...\r\n

  10. How do I grep recursively?

    tags: unix, grep

    1130 votes, 22 answers and 979526 views

    \r\n How do I recursively grep all directories and subdirectories?\n\nfind . | xargs grep "texthere" *\r\n