{"query": "Hello, On Firefox 34 on a Windows 7 32-bit PC, the link to download Google Chrome on challenge 14 is not working.\nNice catch! Yes, I simply neglected to add the link. I've it to and re-seeded the database. It now works. Thanks!", "pos": ["{ \"node\": true /* * ENVIRONMENTS * ================= */ // Define globals exposed by Node.js. \"node\": true, /* * ENFORCING OPTIONS * ================= */ // Force all variable names to use either camelCase style or UPPER_CASE // with underscores. \"camelcase\": true, // Prohibit use of == and != in favor of === and !==. \"eqeqeq\": true, // Suppress warnings about == null comparisons. \"eqnull\": true, // Enforce tab width of 2 spaces. \"indent\": 2, // Prohibit use of a variable before it is defined. \"latedef\": true, // Require capitalized names for constructor functions. \"newcap\": true, // Enforce use of single quotation marks for strings. \"quotmark\": \"single\", // Prohibit trailing whitespace. \"trailing\": true, // Prohibit use of explicitly undeclared variables. \"undef\": true, // Warn when variables are defined but never used. \"unused\": true, // Enforce line length to 80 characters \"maxlen\": 80 }", " { /* * ENVIRONMENTS * ================= */ // Define globals exposed by modern browsers. \"browser\": true, // Define globals exposed by jQuery. \"jquery\": true, /* * ENFORCING OPTIONS * ================= */ // Force all variable names to use either camelCase style or UPPER_CASE // with underscores. \"camelcase\": true, // Prohibit use of == and != in favor of === and !==. \"eqeqeq\": true, // Suppress warnings about == null comparisons. \"eqnull\": true, // Enforce tab width of 2 spaces. \"indent\": 2, // Prohibit use of a variable before it is defined. \"latedef\": true, // Require capitalized names for constructor functions. \"newcap\": true, // Enforce use of single quotation marks for strings. \"quotmark\": \"single\", // Prohibit trailing whitespace. \"trailing\": true, // Prohibit use of explicitly undeclared variables. \"undef\": true, // Warn when variables are defined but never used. \"unused\": true, // Enforce line length to 80 characters \"maxlen\": 80, // Enforce placing 'use strict' at the top function scope \"strict\": true' } "], "neg": []}
{"query": "Hello, On Firefox 34 on a Windows 7 32-bit PC, the link to download Google Chrome on challenge 14 is not working.\nNice catch! Yes, I simply neglected to add the link. I've it to and re-seeded the database. It now works. Thanks!", "pos": ["\"Smallest Common Multiple\": \"https://www.mathsisfun.com/least-common-multiple.html\", \"Permutations\": \"https://www.mathsisfun.com/combinatorics/combinations-permutations.html\", \"HTML Entities\": \"http://dev.w3.org/html5/html-author/charref\", \"Symmetric Difference\": \"https://www.youtube.com/watch?v=PxffSUQRkG4\", // ========= GLOBAL OBJECTS \"Global Array Object\" : \"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\",", "\"assert.deepEqual(sym([1, 1]), [1], 'should return an array of unique values');\" ], \"MDNlinks\": [ \"Array.reduce()\" \"Array.reduce()\", \"Symmetric Difference\" ], \"challengeType\": 5, \"nameCn\": \"\","], "neg": []}
{"query": "Hello, On Firefox 34 on a Windows 7 32-bit PC, the link to download Google Chrome on challenge 14 is not working.\nNice catch! Yes, I simply neglected to add the link. I've it to and re-seeded the database. It now works. Thanks!", "pos": ["], \"tests\": [ \"assert(editor.match(/json.map/gi), 'The message box should have something in it.')\" ], ], \"challengeSeed\": [ \"fccss\", \" $(document).ready(function() {\",", "\"id\": \"bb000000000000000000004\", \"title\": \"Render Images from Data Sources\", \"description\": [ \"In the JSON that we receive from Free Code Camp's Cat Photo API, each object has an attribute called \"imageLink\".\", \"When we're looping through these objects, let's check whether an object attribute (key) is imageLink. If it is, instead of outputing the image link, let's render the image.\", \"In the JSON that we receive data from Free Code Camp's Cat Photo API.\", \"When we're looping through these strings, let's check whether they are links. If it is, instead of outputing the image link, let's render the image.\", \"Here's the code that does this:\", \"if(val.match(\"http\")) {\", \" html = html + '<img src = \"' + val + '\">';\", \"}\" ], \"tests\": [ \"assert(editor.match(/val.match/gi), 'You should have accessed the imageLink of each cat object.')\" \"assert(editor.match(/val.match/gi), 'You should have checked whether the strings contain links.')\" ], \"challengeSeed\": [ \"fccss\","], "neg": []}
{"query": "It flashes the form fields for a second and then is blank between \"Update your profile here:\" and \"Actions\" headings. Here's the console error: TypeError: Cannot read property 'toLowerCase' of undefined at at at at l.$eval () at l.$digest () at l.$apply () at l () at O () at () That looks like it's on the $() on line 49. The JSON from my /account/api doesn't have a user.profile.username key. Maybe it would be a simple fix of piping? () '';\nWhich method did you use to sign up for freecodecamp? It's an issue of your username not existing.\nSigned up with email.\nHow long ago did you sign up for FCC? On Mon Jan 12 2015 at 11:40:50 AM Justin Rogers wrote:\nAround December 8th. Am I the only document without a username in the db?", "pos": ["User Story #14: My legend should contain rect elements. User Story #15: The rect elements in the legend should use at least 4 different fill colors. User Story #16: I can mouse over an area and see a tooltip with a corresponding id=\"tooltip\" which displays more information about the area. User Story #16: My tooltip should have a data-year property that corresponds to the data-year of the active area. User Story #17: My tooltip should have a data-year property that corresponds to the data-year of the active area. Here is the dataset you will need to complete this project: https://raw.githubusercontent.com/freeCodeCamp/ProjectReferenceData/master/global-temperature.json You can build your project by forking this CodePen pen. Or you can use this CDN link to run the tests in any environment you like: https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js Once you're done, submit the URL to your working project with all its tests passing."], "neg": []}
{"query": "If I try to view a FCC user by entering a URL () and the user isn't found, an error is displayed when I return to the FCC page (\"We couldn't find a Code Camper with that username.\"). The error bubble pushes down the \"Fork me on GitHub\" ribbon so that it isn't flush with the top navbar of the page. !\nThanks for bringing this to our attention, we'll get a fix in shortly. On Mon Jan 12 2015 at 9:58:52 AM Adam Hollett wrote:\nThe fix would involve moving the ribbon into and conditionally showing it on the view (otherwise we'd have to move the flash notification element down into each individual view). But we've decided to remove this element from our forthcoming simplified landing page.", "pos": ["# --description-- Your first building looks pretty good now. Let's make some more! Nest three new `div` elements in the `background-buildings` container and give them the classes of `bb2`, `bb3`, and `bb4` in that order. These will be three more buildings for the background. Your first building looks pretty good now. Nest three new `div` elements in the `background-buildings` container and give them the classes of `bb2`, `bb3`, and `bb4` in that order. These will be three more buildings for the background. # --hints--"], "neg": []}
{"query": "When opening in chrome, the \"update your profile\" section does not load any fields underneath. !\nDatabase merge resolved the issue.", "pos": ["\u0627\u0644\u0622\u0646 \u060c \u0643\u064a\u0641 \u062a\u062e\u0628\u0631 \u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0644\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u064a\u0647. \u0644\u0627 \u064a\u0645\u0643\u0646 \u0644\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0627\u0644\u0646\u0638\u0631 \u0625\u0644\u0649 \u0623\u0643\u062b\u0631 \u0645\u0646 \u0627\u0644\u0642\u064a\u0645\u0629 \u0641\u064a \u0648\u0642\u062a \u0645\u062d\u062f\u062f \u0645\u0646 \u0627\u0644\u0648\u0642\u062a. \u0644\u0630\u0644\u0643 \u064a\u0623\u062e\u0630 \u0639\u0646\u0635\u0631 \u0648\u0627\u062d\u062f \u0645\u0646 \u0627\u0644\u0635\u0641\u064a\u0641 \u0648\u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0645\u0627 \u0625\u0630\u0627 \u0643\u0627\u0646 \u0647\u0648 \u0646\u0641\u0633\u0647 \u0645\u0627 \u0643\u0646\u062a \u0623\u0628\u062d\u062b \u0639\u0646\u0647. \u0644\u0627 \u064a\u0645\u0643\u0646 \u0644\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0627\u0644\u0646\u0638\u0631 \u0625\u0644\u0649 \u0623\u0643\u062b\u0631 \u0645\u0646 \u0642\u064a\u0645\u0629 \u0641\u064a \u0646\u0641\u0633 \u0627\u0644\u0648\u0642\u062a. \u0644\u0630\u0644\u0643 \u064a\u0623\u062e\u0630 \u0639\u0646\u0635\u0631 \u0648\u0627\u062d\u062f \u0645\u0646 \u0627\u0644\u0635\u0641\u064a\u0641 \u0648\u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0645\u0627 \u0625\u0630\u0627 \u0643\u0627\u0646 \u0647\u0648 \u0646\u0641\u0633\u0647 \u0645\u0627 \u0643\u0646\u062a \u0623\u0628\u062d\u062b \u0639\u0646\u0647.  \u0627\u0644\u0639\u0646\u0635\u0631 \u0627\u0644\u0623\u0648\u0644 \u0644\u0645 \u064a\u062a\u0637\u0627\u0628\u0642. \u0644\u0630\u0644\u0643 \u0627\u0646\u062a\u0642\u0644 \u0625\u0644\u0649 \u0627\u0644\u0645\u0631\u062d\u0644\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629. \u0627\u0644\u0648\u0642\u062a  \u0648\u0645\u0627 \u0625\u0644\u0649 \u0630\u0644\u0643 \u0648\u0647\u0644\u0645 \u062c\u0631\u0627\u2026", "#### \u0645\u0648\u0627\u0631\u062f \u0622\u062e\u0631\u0649 [\u0628\u062d\u062b \u062e\u0637\u064a - CS50](https://www.youtube.com/watch?v=vZWfKBdSgXI) No newline at end of file [\u0628\u062d\u062b \u062e\u0637\u064a - CS50](https://www.youtube.com/watch?v=vZWfKBdSgXI) "], "neg": []}
{"query": "When opening in chrome, the \"update your profile\" section does not load any fields underneath. !\nDatabase merge resolved the issue.", "pos": ["```javascript if (process.env.VAR_NAME === \"allCaps\") { resonse = \"Hello World\".toUpperCase(); response = \"Hello World\".toUpperCase(); } else { response = \"Hello World\"; }"], "neg": []}
{"query": "Last paragraph - 'persevere' is spelled incorrectly as 'perservere' !\nGood catch, thanks! I've gone ahead and committed a fix correcting the typo. In the future, if you notice something small like this you can actually find the file in our repository (in this case it was in ) click the little icon in the top right of the window that looks like a pencil, and fix it yourself. Then just click on commit changes and submit a pull request.\nThanks Nathan I did fork the repo and tried to submit a pull request, but could not figure out how. Will save that for another day. Curious question (because I am interested in general in business models): How will freecodecamp make money? Or is it just pure open source all the way through to the business model? At first I thought perhaps the non profits were being charged something. Darren\nYou will have to ask Quincy that question, I don't really feel at liberty sharing the planning details. On Wed Jan 14 2015 at 10:58:23 AM Darren Burgess wrote:\nHi Darren, you can read about our plans here:", "pos": ["\u0648\u0647\u064a \u0645\u0642\u0633\u0645\u0629 \u0625\u0644\u0649 \u0627\u0644\u0641\u0626\u0627\u062a \u0627\u0644\u062a\u0627\u0644\u064a\u0629: * \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629 * \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0646\u0642\u0637\u0629 \u0627\u0644\u0639\u0627\u0626\u0645\u0629 * \u0627\u0644\u0634\u062e\u0635\u064a\u0627\u062a * \u0627\u0643\u062a\u0628 \u0645\u0646\u0637\u0642\u064a * \u0627\u0644\u0627\u0639\u062f\u0627\u062f \u0627\u0644\u0639\u0634\u0631\u064a\u0629 * \u0627\u0644\u0631\u0645\u0648\u0632 * \u0627\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u0646\u0637\u0642\u064a\u0629 \u062a\u0641\u0627\u0635\u064a\u0644 \u0643\u0644 \u0646\u0648\u0639 \u0645\u0646 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0630\u0643\u0648\u0631\u0629 \u0623\u062f\u0646\u0627\u0647: ## \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629: \u0647\u0630\u0647 \u0647\u064a \u0645\u0646 \u0623\u0631\u0628\u0639\u0629 \u0623\u0646\u0648\u0627\u0639: `byte` \u060c `short` \u060c `int` \u060c `long` . \u0645\u0646 \u0627\u0644\u0645\u0647\u0645 \u0645\u0644\u0627\u062d\u0638\u0629 \u0623\u0646 \u0647\u0630\u0647 \u0627\u0644\u0642\u064a\u0645 \u0645\u0648\u062c\u0628\u0629 \u0648\u0633\u0627\u0644\u0628\u0629. \u064a\u062a\u0645 \u062a\u062e\u0632\u064a\u0646 \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629 \u0641\u064a \u062c\u0647\u0627\u0632 \u0627\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 [\u0645\u0643\u0645\u0644 2](http://www.ele.uri.edu/courses/ele447/proj_pages/divid/twos.html) . \u0648\u064a\u062a\u0643\u0648\u0646 \u0645\u0646 \u0642\u064a\u0645 \u0633\u0644\u0628\u064a\u0629 \u0648\u0625\u064a\u062c\u0627\u0628\u064a\u0629 \u0648\u0644\u0643\u0646 \u0628\u0635\u064a\u063a \u0645\u062e\u062a\u0644\u0641\u0629 \u0645\u062b\u0644 `(-1 to -128)` \u0623\u0648 `(0 to +127)` . \u064a\u0645\u0643\u0646 \u0623\u0646 \u064a\u062d\u062a\u0648\u0649 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0639\u0644\u0649 \u0642\u064a\u0645\u0629 \u0645\u0648\u062c\u0628\u0629 \u0623\u0643\u0628\u0631 \u060c \u0648\u0644\u0627 \u062a\u0648\u062c\u062f \u0642\u064a\u0645\u0629 \u0633\u0627\u0644\u0628\u0629 \u0645\u062b\u0644 `(0 to 255)` . \u0639\u0644\u0649 \u0639\u0643\u0633 C ++ \u0644\u0627 \u064a\u0648\u062c\u062f \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0641\u064a Java. \u0647\u0630\u0647 \u0647\u064a \u0645\u0646 \u0623\u0631\u0628\u0639\u0629 \u0623\u0646\u0648\u0627\u0639: `byte` \u060c `short` \u060c `int` \u060c `long` . \u0645\u0646 \u0627\u0644\u0645\u0647\u0645 \u0645\u0644\u0627\u062d\u0638\u0629 \u0623\u0646 \u0647\u0630\u0647 \u0627\u0644\u0642\u064a\u0645 \u0645\u0648\u062c\u0628\u0629 \u0648\u0633\u0627\u0644\u0628\u0629. \u064a\u062a\u0645 \u062a\u062e\u0632\u064a\u0646 \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629 \u0641\u064a \u062c\u0647\u0627\u0632 \u0627\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 [\u0645\u0643\u0645\u0644 2](http://www.ele.uri.edu/courses/ele447/proj_pages/divid/twos.html) . \u0648\u064a\u062a\u0643\u0648\u0646 \u0645\u0646 \u0642\u064a\u0645 \u0633\u0627\u0644\u0628\u0629 \u0648\u0645\u0648\u062c\u0628\u0629 \u0648\u0644\u0643\u0646 \u0628\u0635\u064a\u063a \u0645\u062e\u062a\u0644\u0641\u0629 \u0645\u062b\u0644 `(-1 to -128)` \u0623\u0648 `(0 to +127)` . \u064a\u0645\u0643\u0646 \u0623\u0646 \u064a\u062d\u062a\u0648\u0649 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0639\u0644\u0649 \u0642\u064a\u0645\u0629 \u0645\u0648\u062c\u0628\u0629 \u0623\u0643\u0628\u0631 \u060c \u0648\u0644\u0627 \u062a\u0648\u062c\u062f \u0642\u064a\u0645\u0629 \u0633\u0627\u0644\u0628\u0629 \u0645\u062b\u0644 `(0 to 255)` . \u0639\u0644\u0649 \u0639\u0643\u0633 C ++ \u0644\u0627 \u064a\u0648\u062c\u062f \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0641\u064a Java. ### \u0628\u0627\u064a\u062a: ### \u0628\u0627\u064a\u062a (byte): \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0628\u0627\u064a\u062a \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 8 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. `Wrapper Class: Byte `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Byte Minimum value: -128 (-2^7) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0635\u063a\u0631): -128 (-2^7) Maximum value: 127 (2^7 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): 127 (2^7 -1) Default value: 0 Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0 Example: byte a = 10 , byte b = -50; Example (\u0645\u062b\u0627\u0644): byte a = 10 , byte b = -50; ` ### \u0642\u0635\u064a\u0631\u0629: ### \u0642\u0635\u064a\u0631\u0629 (short): \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0642\u0635\u064a\u0631 \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 \u0645\u0646 16 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. `Wrapper Class: Short `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Short Minimum value: -32,768 (-2^15) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0635\u063a\u0631\u0649): -32,768 (-2^15) Maximum value: 32,767 (2^15 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): 32,767 (2^15 -1) Default value: 0. Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0. Example: short s = 10, short r = -1000; Example (\u0645\u062b\u0627\u0644): short s = 10, short r = -1000; ` ### \u0627\u0644\u0628\u0627\u062d\u062b: ### \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0635\u062d\u064a\u062d (integer): \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a IN \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 32 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. \u064a\u062a\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647 \u0628\u0634\u0643\u0644 \u0639\u0627\u0645 \u0643\u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0644\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u062a\u0643\u0627\u0645\u0644\u0629 \u0625\u0644\u0627 \u0625\u0630\u0627 \u0643\u0627\u0646 \u0647\u0646\u0627\u0643 \u0642\u0644\u0642 \u062d\u0648\u0644 \u0627\u0644\u0630\u0627\u0643\u0631\u0629. `Wrapper Class: Integer `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Integer Minimum value: (-2^31) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0635\u063a\u0631\u0649): (-2^31) Maximum value: (2^31 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): (2^31 -1) The default value: 0. The default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0. Example: int a = 50000, int b = -20 Example (\u0645\u062b\u0627\u0644): int a = 50000, int b = -20 ` ### \u0637\u0648\u064a\u0644: ### \u0637\u0648\u064a\u0644 (long): \u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0637\u0648\u064a\u0644 \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 64 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. `Wrapper Class: Long `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Long Minimum value: (-2^63) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0635\u063a\u0631\u0649): (-2^63) Maximum value: (2^63 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): (2^63 -1) Default value: 0L. Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0L. Example: long a = 100000L, long b = -600000L; Example (\u0645\u062b\u0627\u0644): long a = 100000L, long b = -600000L; By default all integer type variable is \"int\". So long num=600851475143 will give an error. But it can be specified as long by appending the suffix L (or l) ` ## \u0646\u0642\u0637\u0629 \u0639\u0627\u0626\u0645\u0629: ## \u0627\u0639\u062f\u0627\u062f \u0639\u0634\u0631\u064a\u0629: \u062a\u0633\u0645\u0649 \u0647\u0630\u0647 \u0623\u064a\u0636\u064b\u0627 \u0623\u0631\u0642\u0627\u0645\u064b\u0627 \u062d\u0642\u064a\u0642\u064a\u0629 \u0648\u062a\u0633\u062a\u062e\u062f\u0645 \u0644\u0644\u062a\u0639\u0628\u064a\u0631\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u062a\u0636\u0645\u0646 \u062f\u0642\u0629 \u0643\u0633\u0631\u064a\u0629. \u0647\u0630\u0647 \u0645\u0646 \u0646\u0648\u0639\u064a\u0646: `float` \u060c `double` . \u064a\u062a\u0645 \u062a\u062c\u0646\u0628 Float \u0641\u0639\u0644\u064a\u064b\u0627 \u0641\u064a \u062d\u0627\u0644\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u062f\u0642\u064a\u0642\u0629 \u0645\u062b\u0644 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0639\u0645\u0644\u0627\u062a \u0623\u0648 \u0627\u0644\u0623\u0628\u062d\u0627\u062b. ### \u062a\u0637\u0641\u0648: ### \u062a\u0637\u0641\u0648 (float): \u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0639\u0627\u0626\u0645 \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 [\u0646\u0642\u0637\u0629 \u0639\u0627\u0626\u0645\u0629 IEEE 754](http://steve.hollasch.net/cgindex/coding/ieeefloat.html) \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629 32 \u0628\u062a. `Wrapper Class: Float `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Float Float is mainly used to save memory in large arrays of floating point numbers. \u0627\u0633\u0627\u0633\u0627 \u062a\u0633\u062a\u062e\u062f\u0645 \u0644\u062d\u0641\u0638 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0641\u064a \u0627\u0644\u0645\u0635\u0641\u0648\u0641\u0627\u062a \u0627\u0644\u0645\u0643\u0648\u0646\u0629 \u0645\u0646 \u0627\u0644\u0627\u0631\u0642\u0627\u0645 \u0627\u0644\u0639\u0634\u0631\u064a\u0629 \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629(float) Default value: 0.0f. Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0.0f. Example: float f1 = 24.5f; Example (\u0645\u062b\u0627\u0644): float f1 = 24.5f; The default data type of floating-point number is double. So float f = 24.5 will introduce an error. \u0646\u0648\u0639 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629 \u0644\u0644\u0627\u0631\u0642\u0627\u0645 \u0627\u0644\u0639\u0634\u0631\u064a\u0629 \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629 \u0647\u0648 \u0645\u0632\u062f\u0648\u062c. \u0645\u062b\u0627\u0644: float f = 24.5 \u0633\u062a\u0638\u0647\u0631 \u062e\u0637\u0627 \u0644\u0644\u0645\u0633\u062a\u062e\u062f\u0645 However, we can append the suffix F (or f) to designate the data type as float. \u0644\u0643\u0646, \u0628\u0627\u0645\u0643\u0627\u0646\u0646\u0627 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 F(or f) \u0644\u062a\u0639\u064a\u064a\u0646 \u062a\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0643\u0631\u0642\u0645 \u0639\u0634\u0631\u064a \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629 (float) The default data type of floating-point number is double. So float f = 24.5 will introduce an error. However, we can append the suffix F (or f) to designate the data type as float. ` ### \u0645\u0632\u062f\u0648\u062c: ### \u0645\u0632\u062f\u0648\u062c (double): \u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0632\u062f\u0648\u062c \u0647\u0648 [\u0646\u0642\u0637\u0629 \u0639\u0627\u0626\u0645 IEEE 754](http://steve.hollasch.net/cgindex/coding/ieeefloat.html) \u0645\u0632\u062f\u0648\u062c\u0629 \u0627\u0644\u062f\u0642\u0629 64 \u0628\u062a. \u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u064a\u0643\u0648\u0646 \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0647\u0630\u0627 \u0647\u0648 \u0627\u0644\u062e\u064a\u0627\u0631 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a. \u064a\u062c\u0628 \u0639\u062f\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0647\u0630\u0627 \u0645\u0637\u0644\u0642\u064b\u0627 \u0644\u0644\u0642\u064a\u0645 \u0627\u0644\u062f\u0642\u064a\u0642\u0629 \u060c \u0645\u062b\u0644 \u0627\u0644\u0639\u0645\u0644\u0629.", "``` 10198442 ``` No newline at end of file ``` "], "neg": []}
{"query": "None of the FCC pages (logged in or out) has a footer bar or footer menu with relevant links for users to follow. Adding a footer bar with links to more info about FCC: Blog link (currently no link anywhere), Creative Commons/ Open Source License/ Copyright, Github and Social Media links, Privacy Policy, Forum and Chat links Not only will this make exploring FCC much easier but will be great for SEO as well.\nI agree but only on the logged in page, we don't want any distractions from our conversions.\nGood point\nClosing this as the footer is now integrated, and all links can be found either there or in the header. Please open a new issue to suggest changes to those elements.", "pos": ["## Byzantine Fault Tolerance Imagine the scenario where there is an empire and there are three generals with their respective armies at different positions. All of them must attack in order to win the fight or they can choose to retreat. Their only means of communications are through pigeon posts. But there is a problem, the generals can't trust each other or ensure that the message has not been corrupted along the way. How do they solve this problem? Blockchain essentially does so by listening to information broadcasted by other people, reaching to a consensus of which information is deemed true. As such, this model asssumes that the amount of \"traitors\" do not exceed more than 1/3 of the entire network. ## Modern Use Cases of Blockchain - Asset Tokenization : Using blockchain technology, previously illiquid assets can now be converted into its tokenized form and cheaply and efficiently fractionalized, traded and settled on chain (rather than go through the lengthy process of clearing and settlement process through third parties like clearing houses) - Supply Chain Management : Blockchains allow multiple parties to access a database to act as the single source of truth. Recorded transactions are immutable, are append only and provide a time stamped audit trail. - Digital Identity : A self sovereign ID can be used to verify identity without needing an individual to produce numerous documents and paperwork each time they need their identity verified. This could be done with a single key that can be matched against an immutable ledger. The digital ID can also collect other online information about a user\u2019s identity like social security information, medical records and social media credentials and have that stored securely on the blockchain. - Energy Market : Blockchain technology can enable the smart metering of electricity generated through an individual\u2019s solar panels to be recorded, traded and settled on a ledger. - Healthcare : Using blockchain technology to record patient information on a distributed ledger can allow different stakeholders conditional access to a single source of truth where each interaction with a patient\u2019s health data can be recorded on a ledger as a transaction with a time stamped audit trail. ## Issues Whilst blockchain technology is undoubtedly elegant, there are several problems that its presence brings, the main one being use my malicious third parties. Due to the extremely secure nature of blockchain, its technologies are often used by criminals to carry out transactions, which are impossible for governments to track."], "neg": []}
{"query": "originally reported: Each time I log in with Twitter, I still have to authorize the app to allow FCC access to my profile.\nPR resolves this issue successfully.\nTwitter API documentation for GET oauth/authenticate distinguishes the difference between authorize and authenticate in paragraph four .\nI believe this is still an issue. I've already authorized FCC to interact with my twitter account, yet every time I attempt sign-in with twitter it still wants permission to authorize account interaction. Rather than just logging in.\nAngelica, The pull request hasn't been merged into the main branch and pushed live to the servers. As soon as the team has a chance to review my changes we'll get it going live for you to enjoy the ease of use! On Sat Jan 17 2015 at 6:07:48 PM Angelica Ferdinand < :", "pos": ["The positive aspect is that you don't have to limit your moodboard to images in magazine. The negative aspect is that it might be hard to find the right images, since you have all internet to search from. The places to start look for images and ideas: - google. Goole Images can be chosen according to colour, shape or form, so if you can search it, then it is possible that you find it. - google. Google Images can be chosen according to colour, shape or form, so if you can search it, then it is possible that you find it. - Pinterest. Same as for google, yet different. - free images. Such as Pixabay, Pexels, or free images sites, you can find tons of inspiration already in one picture. - go outside with a camera. There might be the exact item for your moodboard waiting for you to take that picture."], "neg": []}
{"query": "I've had to reenter many of the challenges after pressing 'Take me to the next challenge.' Also, on several of the challenges the test console output show errors (e.g. Unexpected Token) with no output concerning the test, but it still passes. I'll get a screenshot shot the next time it happens.\nThanks for the report. This is caused by the user not entering a test correctly. We'll work on hardening it up.\nI don't believe I changed test text provided, but I could be wrong. But now that you mention that, if I change the test text I get the 'is not defined' error. It still gives the 'Take me to my next challenge' modal, but it will bring me back to the same challenge. If I do the same thing once more, it brings me to the next challenge.\nBoth of these issues have been addressed in pull request .", "pos": ["To learn more about installation, see the [Installation Appendix](./src/articles/typescript/appendix-installation/index.md). In case you need just a type checker and don't want to compile your programm, read about Flux. In case you need just a type checker and don't want to compile your program, read about Flux. - Quick Start - Documentation"], "neg": []}
{"query": "In the following test-case expected ['TWENTY', 80.00], but only ['TWENTY', 60.00] available. I'm going to fix it and make a pull request.", "pos": ["\"expect(drawer(19.50, 20.00, [['PENNY', 0.01], ['NICKEL', 0], ['DIME', 0], ['QUARTER', 0], ['ONE', 0], ['FIVE', 0], ['TEN', 0], ['TWENTY', 0], ['ONE HUNDRED', 0]])).to.be.a('string');\", \"expect(drawer(19.50, 20.00, [['PENNY', 0.50], ['NICKEL', 0], ['DIME', 0], ['QUARTER', 0], ['ONE', 0], ['FIVE', 0], ['TEN', 0], ['TWENTY', 0], ['ONE HUNDRED', 0]])).to.be.a('string');\", \"assert.deepEqual(drawer(19.50, 20.00, [['PENNY', 1.01], ['NICKEL', 2.05], ['DIME', 3.10], ['QUARTER', 4.25], ['ONE', 90.00], ['FIVE', 55.00], ['TEN', 20.00], ['TWENTY', 60.00], ['ONE HUNDRED', 100.00]]), [['QUARTER', 0.50]], 'return correct change');\", \"assert.deepEqual(drawer(3.26, 100.00, [['PENNY', 1.01], ['NICKEL', 2.05], ['DIME', 3.10], ['QUARTER', 4.25], ['ONE', 90.00], ['FIVE', 55.00], ['TEN', 20.00], ['TWENTY', 60.00], ['ONE HUNDRED', 100.00]]), [['TWENTY', 80.00], ['TEN', 10.00], ['FIVE', 5], ['ONE', 1], ['QUARTER', 0.50], ['DIME', 0.20], ['PENNY', 0.04] ], 'return correct change with multiple coins and bills');\", \"assert.deepEqual(drawer(3.26, 100.00, [['PENNY', 1.01], ['NICKEL', 2.05], ['DIME', 3.10], ['QUARTER', 4.25], ['ONE', 90.00], ['FIVE', 55.00], ['TEN', 20.00], ['TWENTY', 60.00], ['ONE HUNDRED', 100.00]]), [['TWENTY', 60.00], ['TEN', 20.00], ['FIVE', 15], ['ONE', 1], ['QUARTER', 0.50], ['DIME', 0.20], ['PENNY', 0.04] ], 'return correct change with multiple coins and bills');\", \"assert.deepEqual(drawer(19.50, 20.00, [['PENNY', 0.01], ['NICKEL', 0], ['DIME', 0], ['QUARTER', 0], ['ONE', 0], ['FIVE', 0], ['TEN', 0], ['TWENTY', 0], ['ONE HUNDRED', 0]]), 'Insufficient Funds', 'insufficient funds');\", \"assert.deepEqual(drawer(19.50, 20.00, [['PENNY', 0.50], ['NICKEL', 0], ['DIME', 0], ['QUARTER', 0], ['ONE', 0], ['FIVE', 0], ['TEN', 0], ['TWENTY', 0], ['ONE HUNDRED', 0]]), \"Closed\", 'cash-in-drawer equals change');\" ]"], "neg": []}
{"query": "On first render, camper see's an unstyled textarea. After, codemirror takes over and hides textarea and adds it's own box. This initial flash is hideous and makes puppies cry.\nThis has not been fixed on the Reactify branch. And I would prefer styling to be to match codemirror instead of just hiding the text area, as this does not prevent flash to the user.\nDoes styling it like that really not stop the flash? Everything I'm seeing online says it should. I'm only an amateur though. My thought process on the fix was that codemirror is hiding the textarea through javascript and that the flash is be caused by the script running late/slow/delayed/ and is hiding it after the page has already displayed. So I thought since codemirror is hiding it anyway, why not just hide it from the start to prevent the flash.\nThere are really two flashes, first the text area is shown then hidden by codemirror. The second flash is happening because codemirror does not render until it is loading in the DOM, which is intentional as codemirror relies heavily on DOM manipulation. While hiding the textarea does stop it from showing to the user on initial load, codemirror still needs to load and the user will see codemirror appear from nowhere, ie flash. After thinking about it, hiding the text area might be the best route on the reactify branch as well. If we were to add classes to mimic the styling of codemirror in the text box, the text box is not codemirror and React will still need to re-render that section of the view which will cause a flash. Ultimately what I would like to get done is to completely rewrite codemirror into a self contained React component so that it can pre-render on the server. But that is neither here nor there. I am willing to close this issue when the same styling is applied to the reactify branch that is currently on master. Would you like to give it a try? You can get some exposure to React at the same time. We are all amateurs until we are not. My philosophy is\nJust to make sure, this is the branch your referring to? I tried to edit the .jade files in server/views/bonfire/ but nothing happened. Finally found that changes were being done from common/components/bonfires/ so it looks like the easiest way would just be to apply the style in under bonfire styling? I don't want to submit anything because I'm not sure if I would be submitting changes to the correct file.\nYes I think that should work just fine. Test locally to make sure it is hidden then submit the PR.\nI messed up and commited directly to the repo. Sorry about that. Tested code locally and it worked.\nLooks like the text area hide is working! Thanks.", "pos": ["#mainEditorPanel form.code .form-group.codeMirrorView textarea#codeEditor(autofocus=true) textarea#codeEditor(autofocus=true, style='display: none;') script(src='/js/lib/bonfire/bonfireFramework_v0.1.2.js')"], "neg": []}
{"query": "When FreeCodeCamp/freecodecamp was closed by updating the link from Trello to the text of the next sentence wasn't updated on\nThanks for point that out. Would you like to create a PR?\nThanks for pointing this out. I fixed and merged.", "pos": ["We welcome pull requests from Free Code Camp \"campers\" (our students) and seasoned JavaScript developers alike! 1) Check our [public Waffle Board](https://waffle.io/freecodecamp/freecodecamp) 2) If your issue or feature isn't on the board, either open an issue on this GitHub repo or message Quincy Larson to request to be added to the Trello board. 2) If your issue or feature isn't on the board, open an issue and if you think you can fix it yourself, start working on it. 3) Once your code is ready, submit the pull request. We'll do a quick code review and give you feedback, and iterate from there. This project uses [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript) with a few minor exceptions. If you are submitting a pull request that involves Jade templates, please make sure you are using *spaces*, not tabs. License -------"], "neg": []}
{"query": "! In Firefox 36.0.1 on OS X 10.9.5 Link:\nFirefox appears to be jamming the comment-list on top of the display area for the main story.\nThose elements are floating left because of .col-xs-12 on the h3.", "pos": ["var image = !{JSON.stringify(image)}; .spacer h3.row.col-xs-12 h3.row .row.text-left.negative-10 .col-xs-3.col-sm-1.text-center .row.negative-5"], "neg": []}
{"query": "Creating a new account via email you can enter an email such as mrrenter This should be checked for a .com/org/etc Also once this account is created it is bricked as well. If you log out of it you cannot log back in because the server says its not a valid email address. There is still an entry in the table Solution: Update the regex used for email validation\nThe decision was made to allow this behavior if a user so desired. Unless Quincy wants to enforce valid emails (through confirmation, not regex imo) I'm going to close this.\nIf the user uses this type of email though they will not be able to log back in. This will just fill the database with unusable accounts. If this an accepted format I suggest changing the login to accept this format as well\nIdeally we should verify that it conforms to a legal email address pattern. I can't remember why we didn't do this originally (I'm sure we discussed it). I think Angular validation didn't allow for it.\nThe sign up form checks /api/checkUniqueEmail/[email-text-typed] to see if the email is unique. If the client side validation doesn't work couldn't we use checkUniqueEmail to validate the email server side?\nI've fixed this. It will now send the user back to the form with a flash notification upon submission of an invalid email. I tested it and it will accept good emails. I'm using , which was already included, to do this.", "pos": ["*/ exports.postEmailSignup = function(req, res, next) { var errors = req.validationErrors(); req.assert('email', 'valid email required').isEmail(); var errors = req.validationErrors(); if (errors) { req.flash('errors', errors); return res.redirect('/email-signup');"], "neg": []}
{"query": "Bonfires show completely done, but not all points were accounted for. This could have stemmed from using Bonfires when it was first live and the bug at and fixed in . I doubt this is a pervasive issue. It could just be isolated to me.\nThere's a good chance this is already fixed on our UX-improvement branch. There were a number of issues with our old point system that we've since remedied.", "pos": ["} ]); profileValidation.controller('nonprofitFormController', ['$scope', function($scope) { } ]); profileValidation.directive('uniqueUsername', function($http) { return { restrict: 'A',", "li • Understand that they will build your project using JavaScript frameworks (as opposed to older or proprietary tools) li • Keep your expectations high. Our students' goal is to produce work that's up to your standards h3 If you're OK with these terms, great! We'd love to help you! Fill in this form and we'll get right back to you. form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST') form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST', novalidate='novalidate', name='nonprofitForm') input(type='hidden', name='_csrf', value=_csrf) .form-group label(class='col-sm-2 control-label', for='name') Your name label(class='col-sm-2 control-label', for='name') Your name * .col-sm-8 input.form-control(type='text', name='name', id='name') input.form-control(type='text', name='name', id='name', autocomplete=\"off\", ng-model='name', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.name.$invalid && nonprofitForm.name.$error.required && !nonprofitForm.name.$pristine\") alert(type='danger') span.ion-close-circled(id='#name-error') | Your name is required. .form-group label(class='col-sm-2 control-label', for='email') Your email label(class='col-sm-2 control-label', for='email') Your email * .col-sm-8 input.form-control(type='text', name='email', id='email') input.form-control(type='text', name='email', id='email', autocomplete=\"off\", ng-model='email', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.email.$invalid && nonprofitForm.email.$error.required && !nonprofitForm.email.$pristine\") alert(type='danger') span.ion-close-circled(id='#email-error'). Your email is required. .form-group label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. * .col-sm-8 textarea.form-control(type='text', name='message', id='message', rows='7') textarea.form-control(type='text', name='message', id='message', rows='7', autocomplete=\"off\", ng-model='message', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.message.$invalid && nonprofitForm.message.$error.required && !nonprofitForm.message.$pristine\") alert(type='danger') span.ion-close-circled(id='#message-error') | Your message is required. .form-group .col-sm-offset-2.col-sm-8 button.btn.btn-primary(type='submit') button.btn.btn-primary(type='submit', ng-disabled='nonprofitForm.$invalid') span.ion-paper-airplane | Submit | Submit No newline at end of file"], "neg": []}
{"query": "Bonfires show completely done, but not all points were accounted for. This could have stemmed from using Bonfires when it was first live and the bug at and fixed in . I doubt this is a pervasive issue. It could just be isolated to me.\nThere's a good chance this is already fixed on our UX-improvement branch. There were a number of issues with our old point system that we've since remedied.", "pos": ["transform: translateY(-50%); } .landing-skill-icon { color: #215f1e; font-size: 150px; } .black-text { color: #333; font-weight: 400; font-size: 40px; } .font-awesome-padding { margin-top: 45px; margin-bottom: 20px; } .background-svg { width: 220px; height: 220px;", "background-position: center; } .testimonial-image { border-radius: 5px; height: 200px; width: 200px; } .testimonial-copy { font-size: 20px; text-align: center; @media (min-width: 991px) and (max-width: 1199px) { height: 120px; } @media (min-width: 1200px) { height: 90px; } } //uncomment this to see the dimensions of all elements outlined in red //* { // border-color: red;", "extends layout block content .hidden-xs a(href='https://github.com/freecodecamp/freecodecamp') img(style='position: absolute; top: 40; right: 0; border: 0; margin-top: -30px;', src='https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67', alt='Fork me on GitHub', data-canonical-src='https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png') .jumbotron .text-center h1.hug-top Code with Us", "br br a.btn.nonprofit-cta.btn-success(href=\"/nonprofits\") I'm with a nonprofit and want help coding something include partials/about include partials/faq No newline at end of file .big-break h2 Campers you'll hang out with: .row .col-xs-12.col-sm-12.col-md-4 img.img-responsive.testimonial-image.img-center(src=\"https://s3.amazonaws.com/freecodecamp/testimonial-jen.jpg\", alt=\"@jenthebest's testimonial image\") .testimonial-copy Getting back on track with Free Code Camp and committing to a new career in 2015! h3 - @jenthebest .col-xs-12.col-sm-12.col-md-4 img.img-responsive.testimonial-image.img-center(src=\"https://s3.amazonaws.com/freecodecamp/testimonial-tate.jpg\", alt=\"@TateThurston's testimonial image\") .testimonial-copy Just built my company's website with skills I've learned from Free Code Camp! h3 - @TateThurston .col-xs-12.col-sm-12.col-md-4 img.img-responsive.testimonial-image.img-center(src=\"https://s3.amazonaws.com/freecodecamp/testimonial-cynthia.jpg\", alt=\"@cynthialanel's testimonial image\") .testimonial-copy I'm currently working through Free Code Camp to improve my JavaScript. The community is very welcoming! h3 - @cynthialanel .big-break h2 Skills you'll learn: .text-center .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-html5 .black-text HTML5 .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-css3 .black-text CSS3 .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-javascript .black-text JavaScript .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.fa.fa-database.font-awesome-padding .black-text Databases .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-chrome .black-text DevTools .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-nodejs .black-text Node.js .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-social-angular .black-text Angular.js .col-xs-12.col-sm-12.col-md-3 .landing-skill-icon.ion-ios-loop-strong .black-text Agile .big-break h2 h2 Fast facts about our community: h3.col-xs-offset-0.col-sm-offset-1.col-md-offset-2 ul.text-left li.ion-code We're 100% free and open source li.ion-code We're thousands of professionals who are learning to code li.ion-code We're building projects for dozens of nonprofits li.ion-code We share one goal: to boost our careers with code .big-break a.btn.btn-cta.signup-btn(href=\"/login\") Start learning to code (it's free) No newline at end of file"], "neg": []}
{"query": "Bonfires show completely done, but not all points were accounted for. This could have stemmed from using Bonfires when it was first live and the bug at and fixed in . I doubt this is a pervasive issue. It could just be isolated to me.\nThere's a good chance this is already fixed on our UX-improvement branch. There were a number of issues with our old point system that we've since remedied.", "pos": ["failureRedirect: '/login' }; app.get('/auth/twitter', passport.authenticate('twitter')); app.get('/auth/twitter', passport.authorize('twitter')); app.get( '/auth/twitter/callback', passport.authenticate('twitter', {", "); }; // prepares the string to be printed on the terminal var escape = function(msg) { return msg. replace(/&/g,'&'). replace(//g,'>'). replace(/n/g, ' '). replace(/ /g, ' '); }; // puts the message on the terminal var print = function(cls, msg) { codeOutput.setValue(msg);", "// interface provided to the plugin var api = { output: function(data) { if (!--requests) { endLoading(); } // print('separator'); print('input', data.input); if (data.error) { print('message', data.error); } else { print('output', data.output); } endLoading(); print('input', data.input); if (data.error) { print('message', data.error); } else { print('output', data.output); } } };", "setTimeout( function() { endLoading(); codeOutput.setValue('Infinite loop detected!'); // print('message', 'Your code took too long to execute. Check for an infinite loop or recursion.'); // console.log('infinite loop'); // $('#codeOutput.setValue('Infinite loop detected')') reset(); }, 10); });", "var editor = myCodeMirror; myCodeMirror.setValue('2*2'); myCodeMirror.setSize(\"100%\", 500); var codeOutput = CodeMirror.fromTextArea(document.getElementById(\"codeOutput\"), { lineNumbers: false,"], "neg": []}
{"query": "In the ux-improvements branch: Looks like this is an issue with the seed data here:\nThanks! I've fixed the copy for all of these waypoints.\nNo problem. You may already know this, but it's still showing the Mongo video...", "pos": ["\"Return the provided string with the first letter of each word capitalized.\", \"For the purpose of this exercise, you should also capitalize connecting words like 'the' and 'of'.\" ], \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\")\", \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\");\", \"challengeSeed\": \"function titleCase(str) {n return str;rn}\", \"tests\": [ \"expect(titleCase(\"I'm a little tea pot\")).to.be.a('String');\","], "neg": []}
{"query": "It would be really helpful for each bonfire solution on a user's profile to include a link to the original exercise, esp. for non-FCC users.\nGreat point. I'm doing so. Thanks!", "pos": ["\"Return the provided string with the first letter of each word capitalized.\", \"For the purpose of this exercise, you should also capitalize connecting words like 'the' and 'of'.\" ], \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\")\", \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\");\", \"challengeSeed\": \"function titleCase(str) {n return str;rn}\", \"tests\": [ \"expect(titleCase(\"I'm a little tea pot\")).to.be.a('String');\","], "neg": []}
{"query": "One of the tests for that bonfire is : , which is supposed to give : . And another test is the same bonfire is : , which is supposed to give : . This doesn't make sense. If it can be inferred, based on the difference being one month apart, that it's the next year, for the second case, then it should also be possible for the first case too. March and May are one month apart, so the output should be just like the second case.\nWe're a little backlogged right now so if you can submit a PR to clean this up it would be much appreciated.", "pos": ["\"assert.deepEqual(friendly(['2015-07-01', '2015-07-04']), ['July 1st','4th'], 'ending month should be omitted since it is already mentioned');\", \"assert.deepEqual(friendly(['2015-12-01', '2016-02-03']), ['December 1st','February 3rd'], 'two months apart can be inferred if it is the next year');\", \"assert.deepEqual(friendly(['2015-12-01', '2017-02-03']), ['December 1st, 2015','February 3rd, 2017']);\", \"assert.deepEqual(friendly(['2016-03-01', '2016-05-05']), ['March 1st','May 5th, 2016']);\", \"assert.deepEqual(friendly(['2016-03-01', '2016-05-05']), ['March 1st','May 5th'], 'one month apart can be inferred it is the same year');\", \"assert.deepEqual(friendly(['2017-01-01', '2017-01-01']), ['January 1st, 2017'], 'since we do not duplicate only return once');\", \"assert.deepEqual(friendly(['2022-09-05', '2023-09-04']), ['September 5th, 2022','September 4th, 2023']);\" ],"], "neg": []}
{"query": "The description does not specify to preserve the title case of the word replaced. Although the tests somehow expect the title case to be preserved if the word is getting replaced. We should either: A. change the test B. Add a note in the description about this quirk.", "pos": ["\"Return the provided string with the first letter of each word capitalized.\", \"For the purpose of this exercise, you should also capitalize connecting words like 'the' and 'of'.\" ], \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\")\", \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\");\", \"challengeSeed\": \"function titleCase(str) {n return str;rn}\", \"tests\": [ \"expect(titleCase(\"I'm a little tea pot\")).to.be.a('String');\","], "neg": []}
{"query": "The copy here seems misleading especially for those coming from no knowledge of javascript. It looks as though jQuery isn't also Javascript. ! [] 1) jQuery is a powerful tool for manipulating HTML elements. 2) It's a lot easier to use than JavaScript itself, so we'll learn it first. 1) jQuery is a powerful javascript framework for manipulating HTML elements. 2) It's a lot easier to use than plain JavaScript itself, so we'll learn it first.", "pos": ["\"difficulty\": 0.13, \"challengeSeed\": \"125671865\", \"description\": [ \"jQuery is a powerful tool for manipulating HTML elements.\", \"It's a lot easier to use than JavaScript itself, so we'll learn it first.\", \"jQuery is a powerful library built in Javascript for manipulating HTML elements.\", \"It's a lot easier to use than Javascript itself, so we'll learn it first.\", \"It's also extremely popular with employers, so we're going to learn it well.\", \"Codecademy has an excellent free course that will walk us through the basics of jQuery.\", \"Go to http://www.codecademy.com/courses/web-beginner-en-bay3D/0/1 and complete the first section.\""], "neg": []}
{"query": "for step 38 here: the new user needs to set up an SSH key to push to github. the key is given by C9, but it's not clear to me how to add it to github, a simple copy /paste to my SSH keys in my account isn't working. This should be clarified for new users of c9. Not sure if it's needed for every c9 workspace or just once, but I guess github is seeing c9 as a new computer?\nHere is a set of instructions that worked for me: In the bottom left of your C9 dashboard is a section called \u201cAdd-on Services\u201d. Click \u201cactivate\u201d next to the \u201cGitHub\u201d icon (if you haven\u2019t already). When the pop up appears, tell it to allow access to your account. This should complete the link between GitHub account and your C9 account. While still on the dashboard, look to the right under \u201cAccount Settings\u201d for the link \u201cShow your SSH key\u201d. Click on it, and copy the value which appears. Go to the GitHub SSH settings page, and click \u201cAdd SSH Key\u201d Enter the title \u201cC9\u2033, paste the SSH Key into the \u201cKey\u201d box, and click \u201cAdd Key\u201d.\nExcellent. Thank you for pointing this out. I'll add this.", "pos": ["\"Return the provided string with the first letter of each word capitalized.\", \"For the purpose of this exercise, you should also capitalize connecting words like 'the' and 'of'.\" ], \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\")\", \"challengeEntryPoint\": \"titleCase(\"I'm a little tea pot\");\", \"challengeSeed\": \"function titleCase(str) {n return str;rn}\", \"tests\": [ \"expect(titleCase(\"I'm a little tea pot\")).to.be.a('String');\","], "neg": []}
{"query": "One of the requirements are not fulfilled (Wrap your all of your checkboxes inside one div with the class \"row\".) even though the codes have fulfilled the requirement. Per checking my code 3 times, I know I have fulfilled the requirement. Kindly check and see if this is just an error on my part. Thank you. \"Now it's time to tackle our Bonfires.\", \"Go to http://freecodecamp.com/bonfires and start working through our Bonfire challenges.\", \"Now it's time to tackle our Bonfires. You can begin them by advancing to the next challenge.\", \"Once you you finish pair programming, end the session in Screen Hero session.\", \"Congratulations! You have completed your first pair programming session.\", \"Pair program as much as possible with different campers until you've completed all the Bonfire challenges. This is a big time investment, but the JavaScript practice you get will be well worth it!\",", "\"tests\": [ \"assert($('ul').length > 0, 'You should have an ul element on your webpage.')\", \"assert($('ol').length > 0, 'You should have an ol element on your webpage.')\", \"assert($('li').length > 5, 'You should have three li elements on within your ul element.')\", \"assert($('li').length > 5, 'You should have three li elements on within your ol element.')\" \"assert($('li').length > 5, 'You should have three li elements within your ul element.')\", \"assert($('li').length > 5, 'You should have three li elements within your ol element.')\" ], \"challengeSeed\": [ \"\",", "\"For example, if you wanted to make a text input field required, you can just add the word \"required\" within your input element use: <input type='text' required>\" ], \"tests\": [ \"assert($('input').prop('required'), 'Your text field have the property of being required.')\", \"assert($('[placeholder]').length > 0, 'Your text field should have the placeholder text of \"cat photo URL\".')\" \"assert($('input').prop('required'), 'Your text field should have the property of being required.')\", \"assert(new RegExp('cat photo URL').test($('input').prop('placeholder')), 'Your text field should have the placeholder text of \"cat photo URL\".')\" ], \"challengeSeed\": [ \"\",", "\"Put the \"like\", \"Info\" and \"Delete\" buttons side-by-side by wrapping all three of them within one <div class=\"row\"> element, then each of them within a <div class=\"col-xs-4\"> element.\", \"Bootstrap uses a responsive grid system, which makes it easy to put elements into rows and specify each element's relative width. Most of Bootstrap's classes can be applied to a div element.\", \"Here's a diagram of how Bootstrap's 12-column grid layout works:\", \"\", \"\", \"Note that in this illustration, we use the col-md-* class. Here, \"md\" means \"medium\", and \"*\" is a number specifying how many columns wide the element should be. In this case, we're specifying how many columns wide an element should be on a medium-sized screen, such as a laptop.\", \"In the Cat Photo App that we're building, we'll use col-xs-*, where \"*\" is the number of columns wide the element should be, and \"xs\" means \"extra small\", like an extra-small mobile phone screen.\", \"The row class is applied to a div, and the buttons themselves can be wrapped within it.\"", "\"name\": \"Waypoint: Line up Form Elements Responsively with Bootstrap\", \"difficulty\" : 0.062, \"description\": [ \"Wrap both your form's text input field and submit button within a div with the class \"row\". Wrap your form's text input field within a div with the class of \"col-xs-7\". Wrap your form's submit button the in a div with the class \"col-xs-5\".\", \"Now let's get your form input and your submission button on the same line. We'll do this the same way we have previously: by using a \"row\" element with \"col-xs-*\" elements withing it.\", \"Wrap both your form's text input field and submit button within a div with the class \"row\". Wrap your form's text input field within a div with the class of \"col-xs-7\". Wrap your form's submit button the in a div with the class \"col-xs-5\".\", \"This is the last challenge we'll do for our Cat Photo App for now. We hope you've enjoyed learning Font Awesome, Bootstrap, and responsive design!\" ], \"tests\": [ \"assert($('.row').length > 4, 'Wrap your all of your checkboxes inside one div with the class \"row\".')\", \"assert($('.row').length > 4, 'Wrap your form submission button and text area in a div with class \"row\".')\", \"assert($('.col-xs-5').length > 0, 'Wrap your form submission button in a div with the class \"col-xs-5\".')\", \"assert($('.col-xs-7').length > 0, 'Wrap your form text area in a div with the class \"col-xs-7\".')\" ],"], "neg": []}
{"query": "Spelling error: The waypoint requirements say, \"You should have three li elements on within your ol element.\" I think \"within\" is the better choice here.", "pos": ["\"Add them as a new contact in Screen Hero, then click the monitor-looking button to attempt to share your screen with them.\", \"Once the Screen Hero session starts, your screen's margins will glow orange. You are now sharing your screen.\", \"Your pair will have their own cursor, and will be able to type text on his or her and keyboard.\", \"Now it's time to tackle our Bonfires.\", \"Go to http://freecodecamp.com/bonfires and start working through our Bonfire challenges.\", \"Now it's time to tackle our Bonfires. You can begin them by advancing to the next challenge.\", \"Once you you finish pair programming, end the session in Screen Hero session.\", \"Congratulations! You have completed your first pair programming session.\", \"Pair program as much as possible with different campers until you've completed all the Bonfire challenges. This is a big time investment, but the JavaScript practice you get will be well worth it!\",", "\"tests\": [ \"assert($('ul').length > 0, 'You should have an ul element on your webpage.')\", \"assert($('ol').length > 0, 'You should have an ol element on your webpage.')\", \"assert($('li').length > 5, 'You should have three li elements on within your ul element.')\", \"assert($('li').length > 5, 'You should have three li elements on within your ol element.')\" \"assert($('li').length > 5, 'You should have three li elements within your ul element.')\", \"assert($('li').length > 5, 'You should have three li elements within your ol element.')\" ], \"challengeSeed\": [ \"\",", "\"For example, if you wanted to make a text input field required, you can just add the word \"required\" within your input element use: <input type='text' required>\" ], \"tests\": [ \"assert($('input').prop('required'), 'Your text field have the property of being required.')\", \"assert($('[placeholder]').length > 0, 'Your text field should have the placeholder text of \"cat photo URL\".')\" \"assert($('input').prop('required'), 'Your text field should have the property of being required.')\", \"assert(new RegExp('cat photo URL').test($('input').prop('placeholder')), 'Your text field should have the placeholder text of \"cat photo URL\".')\" ], \"challengeSeed\": [ \"\",", "\"Put the \"like\", \"Info\" and \"Delete\" buttons side-by-side by wrapping all three of them within one <div class=\"row\"> element, then each of them within a <div class=\"col-xs-4\"> element.\", \"Bootstrap uses a responsive grid system, which makes it easy to put elements into rows and specify each element's relative width. Most of Bootstrap's classes can be applied to a div element.\", \"Here's a diagram of how Bootstrap's 12-column grid layout works:\", \"\", \"\", \"Note that in this illustration, we use the col-md-* class. Here, \"md\" means \"medium\", and \"*\" is a number specifying how many columns wide the element should be. In this case, we're specifying how many columns wide an element should be on a medium-sized screen, such as a laptop.\", \"In the Cat Photo App that we're building, we'll use col-xs-*, where \"*\" is the number of columns wide the element should be, and \"xs\" means \"extra small\", like an extra-small mobile phone screen.\", \"The row class is applied to a div, and the buttons themselves can be wrapped within it.\"", "\"name\": \"Waypoint: Line up Form Elements Responsively with Bootstrap\", \"difficulty\" : 0.062, \"description\": [ \"Wrap both your form's text input field and submit button within a div with the class \"row\". Wrap your form's text input field within a div with the class of \"col-xs-7\". Wrap your form's submit button the in a div with the class \"col-xs-5\".\", \"Now let's get your form input and your submission button on the same line. We'll do this the same way we have previously: by using a \"row\" element with \"col-xs-*\" elements withing it.\", \"Wrap both your form's text input field and submit button within a div with the class \"row\". Wrap your form's text input field within a div with the class of \"col-xs-7\". Wrap your form's submit button the in a div with the class \"col-xs-5\".\", \"This is the last challenge we'll do for our Cat Photo App for now. We hope you've enjoyed learning Font Awesome, Bootstrap, and responsive design!\" ], \"tests\": [ \"assert($('.row').length > 4, 'Wrap your all of your checkboxes inside one div with the class \"row\".')\", \"assert($('.row').length > 4, 'Wrap your form submission button and text area in a div with class \"row\".')\", \"assert($('.col-xs-5').length > 0, 'Wrap your form submission button in a div with the class \"col-xs-5\".')\", \"assert($('.col-xs-7').length > 0, 'Wrap your form text area in a div with the class \"col-xs-7\".')\" ],"], "neg": []}
{"query": "i am suspecting another small bug, the next challenge after succesful code run in Bonfire: Chunky Monkey actually points to itself", "pos": ["'*.ionicframework.com', 'https://syndication.twitter.com', '*.youtube.com', 'cdn.jsdelivr.net/' ]; app.use(helmet.contentSecurityPolicy({", "\"passport-local\": \"^1.0.0\", \"passport-oauth\": \"^1.0.0\", \"passport-twitter\": \"^1.0.2\", \"ramda\": \"^0.10.0\", \"request\": \"^2.49.0\", \"sitemap\": \"^0.7.4\", \"uglify-js\": \"^2.4.15\",", "// (re)initializes the plugin var reset = function() { requests = 0; plugin = new jailed.Plugin(path+'plugin_v0.1.2.js', api); plugin = new jailed.Plugin(path+'plugin_v0.1.3.js', api); plugin.whenDisconnected( function() { // give some time to handle the last responce setTimeout( function() {", " // executes the given code and handles the result var run = function(code) { var result = { input: code, output: null, error: null, type: null }; try { var codeExec = runHidden(code); result.type = typeof codeExec; result.output = stringify(codeExec); } catch(e) { result.error = e.message; } application.remote.output(result); }; // protects even the worker scope from being accessed var runHidden = function(code) { var indexedDB = null; var location = null; var navigator = null; var onerror = null; var onmessage = null; var performance = null; var self = null; var webkitIndexedDB = null; var postMessage = null; var close = null; var openDatabase = null; var openDatabaseSync = null; var webkitRequestFileSystem = null; var webkitRequestFileSystemSync = null; var webkitResolveLocalFileSystemSyncURL = null; var webkitResolveLocalFileSystemURL = null; var addEventListener = null; var dispatchEvent = null; var removeEventListener = null; var dump = null; var onoffline = null; var ononline = null; var importScripts = null; return eval(code); } // converts the output into a string var stringify = function(output) { var result; if (typeof output == 'undefined') { result = 'undefined'; } else if (output === null) { result = 'null'; } else { result = JSON.stringify(output) || output.toString(); } return result; } application.setInterface({run:run}); ", " // executes the given code and handles the result var run = function(code) { var result = { input: code, output: null, error: null, type: null }; try { var codeExec = runHidden(code); result.type = typeof codeExec; result.output = stringify(codeExec); } catch(e) { result.error = e.message; } application.remote.output(result); }; // protects even the worker scope from being accessed var runHidden = function(code) { var importScript = function(url) { var error = null; try { importScripts(url); } catch (e) { error = e; console.log('Unable to load ramda!'); } }; var indexedDB = null; var location = null; var navigator = null; var onerror = null; var onmessage = null; var performance = null; var self = null; var webkitIndexedDB = null; var postMessage = null; var close = null; var openDatabase = null; var openDatabaseSync = null; var webkitRequestFileSystem = null; var webkitRequestFileSystemSync = null; var webkitResolveLocalFileSystemSyncURL = null; var webkitResolveLocalFileSystemURL = null; var addEventListener = null; var dispatchEvent = null; var removeEventListener = null; var dump = null; var onoffline = null; var ononline = null; importScript(\"https://cdn.jsdelivr.net/ramda/0.10.0/ramda.min.js\"); var _ = R; return eval(code); } // converts the output into a string var stringify = function(output) { var result; if (typeof output == 'undefined') { result = 'undefined'; } else if (output === null) { result = 'null'; } else { result = JSON.stringify(output) || output.toString(); } return result; } application.setInterface({run:run}); ", " /** * Created by nathanleniz on 2/21/15. */ var R = require('ramda'); No newline at end of file", " // Ramda v0.10.0 // https://github.com/ramda/ramda // (c) 2013-2015 Scott Sauyet and Michael Hurley // Ramda may be freely distributed under the MIT license. (function(){\"use strict\";var n={ramda:\"placeholder\"},t=function(n,t){return n+t},r=function(n,t){for(var r=-1;++r0){for(var e,u=0,i=r[u],o=t(i);++ut},g=function(n,t,r){var e=0,u=n.length;for(\"number\"==typeof r&&(e=0>r?Math.max(0,u+r):r);u>e;){if(n[e]===t)return e;++e}return-1},p=Array.isArray||function(n){return null!=n&&n.length>=0&&\"[object Array]\"===Object.prototype.toString.call(n)},m=Number.isInteger||function(n){return n<<0===n},y=function(n){return null!=n&&n===Object(n)&&\"function\"==typeof n.then},v=function(n,t,r){var e=n.length;for(\"number\"==typeof r&&(e=0>r?e+r+1:Math.min(e,r+1));--e>=0;)if(n[e]===t)return e;return-1},d=function(n,t){return t>n},w=function(n,t){for(var r=-1,e=t.length,u=new Array(e);++rn?t[t.length+n]:t[n]},x=function(n){return function(t){return w(function(n){return[n,t[n]]},n(t))}},A=function(n,t){var r,e=-1,u=n.length;if(null!=t){for(r=t;null!=r&&++e0?n.hasOwnProperty(0)&&n.hasOwnProperty(n.length-1):!1:!1},D=function(n){return 0===Object(n).length},U=function(n){return null==n},_=function(n){for(var t=n.length,r=-1;++r=0)return!1;return!0},$=function(n){var t,r=[];for(t in n)r[r.length]=t;return r},G=function(n,t){switch(n){case 0:return function(){return t.call(this)};case 1:return function(n){return t.call(this,n)};case 2:return function(n,r){return t.call(this,n,r)};case 3:return function(n,r,e){return t.call(this,n,r,e)};case 4:return function(n,r,e,u){return t.call(this,n,r,e,u)};case 5:return function(n,r,e,u,i){return t.call(this,n,r,e,u,i)};case 6:return function(n,r,e,u,i,o){return t.call(this,n,r,e,u,i,o)};case 7:return function(n,r,e,u,i,o,c){return t.call(this,n,r,e,u,i,o,c)};case 8:return function(n,r,e,u,i,o,c,a){return t.call(this,n,r,e,u,i,o,c,a)};case 9:return function(n,r,e,u,i,o,c,a,f){return t.call(this,n,r,e,u,i,o,c,a,f)};case 10:return function(n,r,e,u,i,o,c,a,f,l){return t.call(this,n,r,e,u,i,o,c,a,f,l)};default:throw new Error(\"First argument to nAry must be a non-negative integer no greater than ten\")}},H=function(n){return function(){return!n.apply(this,arguments)}},J=function(n){return function(){return j(n,arguments)}},K=function(n){return[n]},Q=function(n){var t,r=!1;return function(){return r?t:(r=!0,t=n.apply(this,arguments))}},V=C(E),X=function(n,t){switch(arguments.length){case 0:throw O();case 1:return function(t){return t[n]}}return t[n]},Y=C(X),Z=function(n){return P(n).reverse()},nt=x($),tt=function(){var n=\"\tn\u000bfr \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000u2028u2029\ufeff\",t=\"\u200b\",r=\"function\"==typeof String.prototype.trim;return r&&!n.trim()&&t.trim()?function(n){return n.trim()}:function(t){var r=new RegExp(\"^[\"+n+\"][\"+n+\"]*\"),e=new RegExp(\"[\"+n+\"][\"+n+\"]*$\");return t.replace(r,\"\").replace(e,\"\")}}(),rt=function(n){return null===n?\"Null\":void 0===n?\"Undefined\":Object.prototype.toString.call(n).slice(8,-1)},et=function(n){if(0===arguments.length)throw O();return function(){return n(P(arguments))}},ut=function(n){return G(1,n)},it=function(n){var t,r=[];for(t in n)r[r.length]=n[t];return r},ot=T(!1),ct=F,at=T(!0),ft=function(n,t){return i(t,[n])},lt=function Cu(n,t,r){var e=function(e){for(var u=t.length,i=-1;++i=0},pt=function(n){return function(){switch(arguments.length){case 0:throw O();case 1:return arguments[0];default:for(var t=arguments.length-1,r=arguments[t],e=r.length;t--;)r=n(arguments[t],r);return S(e,r)}}},mt=function(n,t){return function(r){if(0===arguments.length)throw O();for(var e,u=-1,i=t;++u=n?t.apply(this,u):r(u)})}([])}),Bt=xt(-1),Ft=vt(function(n,t){return null==t?n:t}),zt=vt(function(n,t){for(var r=[],e=-1,u=n.length;++e=0?n:r.length,i(ft(t,P(r,0,n)),P(r,n))}),hr=dt(function(n,t,r){return n=n=0?n:r.length,i(i(P(r,0,n),t),P(r,n))}),gr=function(n,t){var r=P(arguments,2),e=n-r.length;return Lt(e+1,function(){var n=arguments[e],u=r.concat(P(arguments,0,e));return n[t].apply(n,u)})},pr=vt(function(n,t){return null!=t&&t.constructor===n||t instanceof n}),mr=gr(1,\"join\"),yr=function(){var n=!{toString:null}.propertyIsEnumerable(\"toString\"),t=[\"constructor\",\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"];return function(r){if(Object(r)!==r)return[];if(Object.keys)return Object.keys(r);var e,u,i=[];for(e in r)or(e,r)&&(i[i.length]=e);if(n)for(u=t.length;u--;)e=t[u],or(e,r)&&!gt(e,i)&&(i[i.length]=e);return i}}(),vr=vt(function(n,t){return v(t,n)}),dr=function(n){return null!=n&&pr(Number,n.length)?n.length:0/0},wr=vt(function(n,t){var r=function(t){return n(t)};return r.set=vt(t),r.map=vt(function(r,e){return t(r(n(e)),e)}),r}),br=vt(st(\"map\",w)),Or=dt(function(n,t,r){for(var e=-1,u=r.length,i=new Array(u),o=[t];++e=t)return[];for(var r=0,e=new Array(Math.floor(t)-Math.ceil(n));t>n;)e[r++]=n++;return e}),Zr=dt(k),ne=dt(function(n,t,r){for(var e=-1,u=r.length;++ee?-1:e>u?1:0})}),se=gr(1,\"split\"),he=vt(function(n,t){return t.indexOf(n)}),ge=vt(function(n,t){return t.lastIndexOf(n)}),pe=gr(2,\"substring\"),me=C(pe)(void 0),ye=pe(0),ve=Zr(t,0),de=st(\"tail\",function(n){return P(n,1)}),we=vt(st(\"take\",function(n,t){return P(t,0,Math.min(n,t.length))})),be=vt(st(\"takeWhile\",function(n,t){for(var r=-1,e=t.length;++r1?r.apply(null,P(arguments,1)):S(kr(jt(\"length\",t)),r)}},De=ze(r),Ue=ze(e),_e=vt(Le),$e=dt(function(n,t,r){return Fe(L(w(function(n){return[n,r[n]]},$(r))),Ct(n,t))}),Ge=function(){var n=function(t,r,e){if(1===t.length)return $e(t[0],r,e);var u=e[t[0]];return $e(t[0],n(P(t,1),r,pr(Object,u)?u:{}),e)};return function(t,r,e){var u=arguments.length;if(0===u)throw O();var i=se(\".\",t),o=vt(function(t,r){return n(i,t,r)});switch(u){case 1:return o;case 2:return o(r);default:return o(r,e)}}}(),He=vt(st(\"chain\",function(n,t){return Pe(w(n,t))})),Je=gr(1,\"charAt\"),Ke=gr(1,\"charCodeAt\"),Qe=dt(function(n,t,r){function e(t,r){return Le(w(kt,n(r)),t)}return k(e,t([]),r)}),Ve=vt(function(n,t){for(var r={},e=t.length,u=-1;++u10)throw new Error(\"Constructor with greater than ten arguments\");return 0===n?function(){return new t}:Xe(G(n,function(n,r,e,u,i,o,c,a,f,l){switch(arguments.length){case 1:return new t(n);case 2:return new t(n,r);case 3:return new t(n,r,e);case 4:return new t(n,r,e,u);case 5:return new t(n,r,e,u,i);case 6:return new t(n,r,e,u,i,o);case 7:return new t(n,r,e,u,i,o,c);case 8:return new t(n,r,e,u,i,o,c,a);case 9:return new t(n,r,e,u,i,o,c,a,f);case 10:return new t(n,r,e,u,i,o,c,a,f,l)}}))}),Ou=lu(gt),ju=lu(function(n,t){return n/t}),xu=lu(h),Au=lu(function(n,t){return n>=t}),Iu=function(n){if(0===arguments.length)throw O();return fu(n.length,n)},Eu=lu(d),ku=lu(function(n,t){return t>=n}),Mu=lu(function(n,t){return m(n)?!m(t)||1>t?0/0:(n%t+t)%t:0/0}),Pu=lu(function(n,t){return Fe(Fe({},n),t)}),Tu=Zr(Pu,{}),Su=lu(function(n,t){return n%t}),Wu=vu(w,_r,F),Nu=function(n){return bu(n.length,n)},Ru={F:ot,I:ct,T:at,__:n,add:xt,all:At,allPass:De,always:T,and:It,any:Et,anyPass:Ue,ap:_e,append:kt,appendTo:Mt,apply:Pt,arity:S,assoc:$e,assocPath:Ge,binary:Tt,bind:St,call:W,chain:He,charAt:Je,charCodeAt:Ke,clone:Wt,commute:du,commuteMap:Qe,comparator:N,compose:Nt,composeP:Rt,concat:wu,cond:R,construct:Nu,constructN:bu,contains:Ou,containsWith:qt,converge:q,countBy:Ve,createMapEntry:Ct,curry:Xe,curryN:Lt,dec:Bt,defaultTo:Ft,difference:zt,differenceWith:Dt,dissoc:Ut,divide:ju,drop:_t,dropWhile:$t,empty:Gt,eq:Ht,eqDeep:Ye,eqProps:Jt,evolve:Ze,filter:Kt,filterIndexed:Qt,find:Vt,findIndex:Xt,findLast:Yt,findLastIndex:Zt,flatten:nr,flip:C,forEach:tr,forEachIndexed:rr,fromPairs:L,func:B,functions:nu,functionsIn:er,get:ur,groupBy:ir,gt:xu,gte:Au,has:or,hasIn:cr,head:tu,identity:F,ifElse:ar,inc:fr,indexOf:lr,init:ru,insert:sr,insertAll:hr,installTo:eu,intersection:uu,intersectionWith:iu,invert:ou,invertObj:cu,invoker:gr,is:pr,isArrayLike:z,isEmpty:D,isNil:U,isSet:_,join:mr,keys:yr,keysIn:$,last:au,lastIndexOf:vr,length:dr,lens:wr,lift:Iu,liftN:fu,lt:Eu,lte:ku,map:br,mapAccum:Or,mapAccumRight:jr,mapIndexed:xr,mapObj:Ar,mapObjIndexed:Ir,match:Er,mathMod:Mu,max:kr,maxBy:Mr,memoize:Pr,merge:Pu,mergeAll:Tu,min:Tr,minBy:Sr,modulo:Su,multiply:Wr,nAry:G,negate:Nr,not:H,nth:Rr,nthArg:J,of:K,omit:qr,once:Q,op:lu,or:Cr,partial:Lr,partialRight:Br,partition:Fr,path:su,pathEq:zr,pathOn:Dr,pick:Ur,pickAll:_r,pickBy:$r,pipe:Gr,pipeP:Hr,pluck:Jr,prepend:Kr,prependTo:V,product:hu,project:Wu,prop:X,propEq:Qr,propOf:Y,propOr:Vr,props:Xr,range:Yr,reduce:Zr,reduceIndexed:ne,reduceRight:te,reduceRightIndexed:re,reject:ee,rejectIndexed:ue,remove:ie,repeat:gu,replace:oe,reverse:Z,scan:ce,slice:ae,sort:fe,sortBy:le,split:se,strIndexOf:he,strLastIndexOf:ge,substring:pe,substringFrom:me,substringTo:ye,subtract:pu,sum:ve,tail:de,take:we,takeWhile:be,tap:Oe,times:je,toLower:xe,toPairs:Ae,toPairsIn:nt,toUpper:Ie,trim:tt,type:rt,unapply:et,unary:ut,unfold:Ee,union:mu,unionWith:yu,uniq:ke,uniqWith:Me,unnest:Pe,useWith:vu,values:Te,valuesIn:it,where:Se,wrap:We,xprod:Ne,zip:Re,zipObj:qe,zipWith:Ce};\"object\"==typeof exports?module.exports=Ru:\"function\"==typeof define&&define.amd?define(function(){return Ru}):this.R=Ru}).call(this); No newline at end of file", "script(src='/js/lib/codemirror/mode/javascript/javascript.js') script(src='/js/lib/jailed/jailed.js') script(src='/js/lib/bonfire/bonfireInit.js') script(src=\"https://cdn.jsdelivr.net/ramda/0.10.0/ramda.min.js\") .row", "var passedBonfireHash = !{JSON.stringify(bonfireHash)}; var challengeName = !{JSON.stringify(name)}; var started = Math.floor(Date.now() / 1000); var _ = R; .col-xs-12.col-sm-12.col-md-8 #mainEditorPanel form.code"], "neg": []}
{"query": "There's a minor, minor typo in the title of this waypoint: \"Waypoint: Responsively Style a Radio Buttons\" should be \"Waypoint: Responsively Style Radio Buttons\"\nThanks, commit addresses this", "pos": ["} ]); profileValidation.controller('nonprofitFormController', ['$scope', function($scope) { } ]); profileValidation.directive('uniqueUsername', function($http) { return { restrict: 'A',", "li • Understand that they will build your project using JavaScript frameworks (as opposed to older or proprietary tools) li • Keep your expectations high. Our students' goal is to produce work that's up to your standards h3 If you're OK with these terms, great! We'd love to help you! Fill in this form and we'll get right back to you. form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST') form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST', novalidate='novalidate', name='nonprofitForm') input(type='hidden', name='_csrf', value=_csrf) .form-group label(class='col-sm-2 control-label', for='name') Your name label(class='col-sm-2 control-label', for='name') Your name * .col-sm-8 input.form-control(type='text', name='name', id='name') input.form-control(type='text', name='name', id='name', autocomplete=\"off\", ng-model='name', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.name.$invalid && nonprofitForm.name.$error.required && !nonprofitForm.name.$pristine\") alert(type='danger') span.ion-close-circled(id='#name-error') | Your name is required. .form-group label(class='col-sm-2 control-label', for='email') Your email label(class='col-sm-2 control-label', for='email') Your email * .col-sm-8 input.form-control(type='text', name='email', id='email') input.form-control(type='text', name='email', id='email', autocomplete=\"off\", ng-model='email', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.email.$invalid && nonprofitForm.email.$error.required && !nonprofitForm.email.$pristine\") alert(type='danger') span.ion-close-circled(id='#email-error'). Your email is required. .form-group label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. * .col-sm-8 textarea.form-control(type='text', name='message', id='message', rows='7') textarea.form-control(type='text', name='message', id='message', rows='7', autocomplete=\"off\", ng-model='message', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.message.$invalid && nonprofitForm.message.$error.required && !nonprofitForm.message.$pristine\") alert(type='danger') span.ion-close-circled(id='#message-error') | Your message is required. .form-group .col-sm-offset-2.col-sm-8 button.btn.btn-primary(type='submit') button.btn.btn-primary(type='submit', ng-disabled='nonprofitForm.$invalid') span.ion-paper-airplane | Submit | Submit No newline at end of file"], "neg": []}
{"query": "Adding placeholder tag to the <input type='text' placeholder='this is placeholder text'>\" ], \"tests\": [ \"assert($('[placeholder]').length > 0, 'Your text field should have a placeholder attribute.')\", \"assert(/url/gi.test($('input').attr('placeholder')), 'Your placeholder field should have the value of \"cat photo URL\".')\" \"assert($('input[placeholder]').length > 0, 'Your text field should have a placeholder attribute.')\", \"assert($('input').attr('placeholder') === 'cat photo URL', 'Your placeholder field should have the value of \"cat photo URL\".')\" ], \"challengeSeed\": [ \"\","], "neg": []}
{"query": "This challenge has the additional requirement of \"Your text field should have the placeholder text of \"cat photo URL\".\", when this placeholder text was before, then removed again arbitrarily in this lesson. Assuming this is a bug since it doesn't match the tutorial flow.", "pos": ["\"For example, if you wanted to make a text input field required, you can just add the word \"required\" within your input element use: <input type='text' required>\" ], \"tests\": [ \"assert($('input').prop('required'), 'Your text field should have the property of being required.')\", \"assert(new RegExp('cat photo URL').test($('input').prop('placeholder')), 'Your text field should have the placeholder text of \"cat photo URL\".')\" \"assert($('input').prop('required'), 'Your text field should have the property of being required.')\" ], \"challengeSeed\": [ \"\",", "\"
other cats
\", \"\", \"\" ],"], "neg": []}
{"query": "Challenge: Just for reference, I am using Firefox 38 and Windows 8.1, without additional fonts or MS Office installed. As such, the font does not render in the exercise. Instead, it produces Serif. Interestingly enough, the dev tools show the correct font family. (See attached screenshot) In my Firefox settings, I have the default monospace font as \"Lucida Console\", so I am not sure why that font is not displaying, in place of \"Monospace\" !\nWhich version of Firefox are you running? Have you tried just refreshing the page? I've seen a lot of issues caused by the browser that got \"blamed\" on FCC itself.\nThat's likely because you have the font-family surrounded in quotes. Monospace isn't an actual font-family, it's a keyword that represents the browser's default monospaced font (as you point out, Lucida Console in your case). When you surround the font-family value in quotes, the browser is attempting to load a font actually called \"Monospace\" and failing since that doesn't exist on your system. Try the following code and see if it's fixed:\nThe instructions are as follows: Maybe, the lesson should be changed to ask for the family ? Beause I see family as a type (monospace, sans-serif, etc), or a group of fonts (\"Sans-Serif, Arial, Helvetica\") EDIT: Your suggestion of changing to the type monospace worked. It renders as the default monospace set by my browser\nUPDATE - I am noticing that when you begin a new exercise, the code changes slightly to show best practices and ideal answer. This is what FCC considered to be correct: Notice the capitalized \"Monospace\", without quotes. In my opinion, when FCC refers to a phrase to enter, it should wrap it in a code tag, as I assumed the quotation marks to be included.\nThe issue seems to be that I originally put the example in quotes. I'm going to fix that. Thanks for catching this,\nThank you for such a quick response!", "pos": ["} ]); profileValidation.controller('nonprofitFormController', ['$scope', function($scope) { } ]); profileValidation.directive('uniqueUsername', function($http) { return { restrict: 'A',", "li • Understand that they will build your project using JavaScript frameworks (as opposed to older or proprietary tools) li • Keep your expectations high. Our students' goal is to produce work that's up to your standards h3 If you're OK with these terms, great! We'd love to help you! Fill in this form and we'll get right back to you. form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST') form.form-horizontal(role='form', action=\"/nonprofits/\", method='POST', novalidate='novalidate', name='nonprofitForm') input(type='hidden', name='_csrf', value=_csrf) .form-group label(class='col-sm-2 control-label', for='name') Your name label(class='col-sm-2 control-label', for='name') Your name * .col-sm-8 input.form-control(type='text', name='name', id='name') input.form-control(type='text', name='name', id='name', autocomplete=\"off\", ng-model='name', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.name.$invalid && nonprofitForm.name.$error.required && !nonprofitForm.name.$pristine\") alert(type='danger') span.ion-close-circled(id='#name-error') | Your name is required. .form-group label(class='col-sm-2 control-label', for='email') Your email label(class='col-sm-2 control-label', for='email') Your email * .col-sm-8 input.form-control(type='text', name='email', id='email') input.form-control(type='text', name='email', id='email', autocomplete=\"off\", ng-model='email', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.email.$invalid && nonprofitForm.email.$error.required && !nonprofitForm.email.$pristine\") alert(type='danger') span.ion-close-circled(id='#email-error'). Your email is required. .form-group label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. label(class='col-sm-2 control-label', for='message') Briefly describe what problem you need to solve, and for whom. * .col-sm-8 textarea.form-control(type='text', name='message', id='message', rows='7') textarea.form-control(type='text', name='message', id='message', rows='7', autocomplete=\"off\", ng-model='message', required='required') .col-sm-8.col-sm-offset-2(ng-show=\"nonprofitForm.message.$invalid && nonprofitForm.message.$error.required && !nonprofitForm.message.$pristine\") alert(type='danger') span.ion-close-circled(id='#message-error') | Your message is required. .form-group .col-sm-offset-2.col-sm-8 button.btn.btn-primary(type='submit') button.btn.btn-primary(type='submit', ng-disabled='nonprofitForm.$invalid') span.ion-paper-airplane | Submit | Submit No newline at end of file"], "neg": []}
{"query": "! This effects longer lines of codes by making it impossible to select code when trying to insert the cursor with the mouse. I saw where a commit to make the iphone stand out over footer by adding a z-index of 9999 but 9999 is too high. I'm doing a pull request right now that fixes the cover up issue on the code editor and still keeps the iphone above the footer as Quincy wanted. Thanks, Charles\nThanks, I didn't even think about the modal when I set the z-index that high. I'm taking a look at your pull request now.", "pos": [".iframe-scroll { position: fixed !important; margin-top: 75px; z-index: 9999; z-index: 1; } } @media only screen and (max-width: 992px) {"], "neg": []}
{"query": "Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. I passed the test, but I should not, because I did not wrapped all my buttons within the same div element with the class \"row\". Screenshot:", "pos": ["\"The \"row\" class is applied to a div, and the buttons themselves can be wrapped within it.\" ], \"tests\": [ \"assert($('div.row:has(button)'), 'Your buttons should all be wrapped within the same div element with the class \"row\".')\", \"assert($('div.row:has(button)').length > 0, 'Your buttons should all be wrapped within the same div element with the class \"row\".')\", \"assert($('div.col-xs-4:has(button)').length > 2, 'Each of your Bootstrap buttons should be wrapped within its own a div element with the class \"col-xs-4\".')\", \"assert(editor.match(//g) && editor.match(/