What are some quality JS interview prep books? Also, are there any good code challenge sites that specialize in JS (or general programming) interview code challenges and/or preparation ?


What are some quality JS interview prep books? Also, are there any good code challenge sites that specialize in JS (or general programming) interview code challenges and/or preparation ?

I've been using JS for a while now but want to ace an interview with one of the big four! Thanks in advance!!!

Submitted February 05, 2017 at 11:07PM by hawkeye126
via reddit http://ift.tt/2kGROGT

Running ByteString tests (dependency issues)


Running ByteString tests (dependency issues)

Hello,

I'm trying to run bytestring tests to check a couple of modifications I made. I simply tried to clone the git repo in a cabal sandbox and run cabal install + cabal test, as advised on the readme, but I get this :

➜ bytestring git:(master) cabal test Re-configuring with test suites enabled. If this fails, please run configure manually. Resolving dependencies... Configuring bytestring-0.10.8.2... cabal: At least the following dependencies are missing: [...] 

I then tried to run cabal install –enable-tests as advised here, but I get this :

➜ bytestring git:(master) cabal install --enable-test Resolving dependencies... cabal: internal error: could not construct a valid install plan. The proposed (invalid) plan contained the following problems: The following packages are involved in a dependency cycle test-framework-hunit-0.3.0.2, test-framework-0.8.1.1, xml-1.3.14, text-1.2.2.1, bytestring-0.10.8.2, test-framework-quickcheck2-0.3.0.3, directory-1.3.0.1, unix-2.7.2.1, binary-0.8.4.1, regex-posix-0.95.2, regex-base-0.93.2, ansi-wl-pprint-0.6.7.3, ansi-terminal-0.6.2.3 

At this point, no amount of googling gives me something that I can undersand/try.

I would try to install different versions of test-framework-_ to get a working solution, but it seems weird that a module as widespread as bs relies on this. Am I missing something here ?

Submitted February 05, 2017 at 10:35PM by bec_Haydn
via reddit http://ift.tt/2kGWRr2