Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This does not make sense, ID is the key field, unique identifier, then IP number changes depending on connection, what field then identifies a user?
This comment is hidden because it contains spoiler information about the solution
There is still a typo "iser_id" in the Note at very bottom of the instructions.
The instructions in this kata are very poorly worded, it appears that the request is to find rows in which the column was ALREADY rounded, thus I guessed ending in 0.
"Return a table ... where the values in number1 have been rounded down ..." as if the rounding was already present in the value stored in the table. In other words, "have been" is past tense. It should perhaps read:
"Return a table with two columns, the value in number1 should be rounded down and the value in number1 should be rounded up."
I am getting error when VersionManager is instantiated with null value,, i.e.
(new VersionManager())->rollback();
Reported in Test Results widow:
"Error: Call to a member function release() on null"
I believe I am doing this correctly in the class constructor
public function __construct($v=false){ $this->major = 0; $this->minor = 0; $this->patch = 1; if($v){ ...
Any idea of why this is going wrong?
If there is to be a sliding or shifting of kyu values, it should be in the other direction. What was evaluated as 7kyu should more likely be 5 or 6 kyu, and what was 7 kyu should shift to 6 kyu, and so on. After all, there are so very few 1 - 4 kyus!
This Kata is unfairly listed as 7kyu. It should at least be 6 kyu as it requires knowledge first of an obscure mathmatical construct and then a higher level design pattern/ coding constuct, generators.
Is there a way to delete one of your own solutions?
What does the "link" button do? When i click it I see my solution but then what can I do?
I tried this one again, the author has still not corrected the tests in PHP. It can not be solved as stands!
Thanks for the "hint" about the type, that did the trick.
I am issuing exception as required
if(!is_array($a)){
throw new Exception('array');
}
But in the Final test attempt, for the test in which the parameter is not an array, I get this error:
The constructor parameter must be of type array
Failed asserting that two strings are equal.
Expected: 'array'
Actual : ''
What kind of exception is needed?
Does this qualify as "cheating"?
JavaScript is a programming language and AngularJS is a framework written in JavaScript. Angular (the re-write of AngularJS) primarily uses Microsoft's TypeScript language. So, work on the JavaScript and/or TypeScript Katas to practice what is behind Angular.
In addition... perhaps there is already a place to view this... let me know if that is the case... I am curious to know how many codewarriors there are in each ranking 8kyu to 1kyu and the number of dans.
I have the same question, if the current position is at any edge and the specified move would put you off the grid, is that an error (if so, what should be returned) or does the position just remain the same (no move made and no character collected for the password string). I ask only because it is a habit to cover really obvious edge cases (even if not asked to).
Loading more items...