Content
Discuss:
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Translation missing: en.models.comment.label_info.forum_topic.none
-
No Label
- Cancel
Please sign in or sign up to leave a comment.
...
bababui
theshthbrfh
I have a problem creating my kata. I can't figure out how my tests should look and my complete solution. Do I need references to libraries? Do I need class, namespace, libraries in solution?
Two years ago!! Am probably too late lol
probably many people asked this question before, but how do I search for my friends here?
hi, does anyone know how to see the history of the exercises done
Go tou your profile and click 'kata'
tanks!
I like to work out my solutions locally then cut and paste them to the online editor. My stumbling block is being able to run the tests locally. Anyone do this and want to share your solutions? Mostly doing python.
Good thing is: theres a set of articles on "How to train on a kata in language X locally" planned.
Bad thing is: there's currently no progress on them :(
But again, a good thing is that Codewars testing framework fo Python is available publicly and it's perfectly possible to use it locally, in most cases (problem are some old kata or kata with a code hidden in preloaded). I know some users do this (I do, for example). Setup is not very complex, and maybe you'd manage to get it right, or you could get some help asking on the chat.
Cool, thanks. I think I see how to get that working.
I wanna get more information about the test framework about bf.
Can anyone delete this kata https://www.codewars.com/kata/600b1c6c58bf59001c1b419e ? Because i just want to delete it. It was a very basic kata at the beginning so it got low satisfaction rate. Then i changed it completely and it started increase satisfaction rate. But since it reached ten users, it's retired. What can i do about that, please help me? I just want to republish it with its last version.
No, retired katas can't be deleted, just leave it.
Hi, new here. Are translations just translating from one programming language to another? How to do that?
It's a little tricky to find on the wiki, here is the link: https://github.com/codewars/codewars.com/wiki/Kata-Translations
So, how I can understand, in the most part of kata on Python, the most rational solutions (in one string) will be those, which have something from this: split,map,join,lambda, etc.
Hi, how can i change the profile picture?
You can try link your account to your github account link in "Account Settings". (the profile picture will be the same as your github account profile)
If you link anything else after your github account the profile pic will be switch. You have your github profile picture as CodeWars profile picture just click the link to github again.
What's a good strategy to make the most of kata? Do questions of lowest level, then next higher level, continue?
Yes, mostly do low level kata, but when something looks interesting, try it! You can always come back to a hard kata later. Actually, I think it might help to start something you can't do, learn for a month (the thing will always be there in you brain), and you might even wake up one day with a solutionin your head for a kata you haven't looked at in weeks. Either way, when you get back to it you'll be better. And, you might even solve the thing the first time, so just go for it.
Where can i create exercises?
You have to have higher honor. Hover over your profile and then go to New Kata(once you are able to make one ofc.) Also, make high quality katas.
Hello, does anyone know how many users roughly are on Codewars? To get an idea of how good my rank is atm?
In your profile you can find something like:
Honor Percentile: Top 0.083%
Percentile means how many % of users have higher score than you.
But:
There are also leaderboards but you need to get to top 500 to appear there.
Leaderboard position
*100
/Honor percentile
Roughly 220kThanks
Hi,
I translated one kata to Dart. Who will review kata and how it gets approved?
Is it ok if I create a Video on Youtube resolving a kata?
No.
Why? ....just asking
It's against the Code of conduct. While not listed explicitly, you can see that showing how to solve a kata and publishing your solution in Github are practically the same.
ok...thank you
Hi yall, how you doing?????
Good, how are ya??
Hello guys, pls test my kata, i will be very grateful!
Hi Iam new in this platform i love this it. but my question is , ¿ what means Test crashed?
A crash is when the program stops running because of bugs in your code.
Aquí hay gente que hable español :'v
Si, muchos hablamos español
People! it is already second time I lost the kata I want to load solution.
how and where to find it by tag ot description or history?
Is there an easy way to find my friends to follow them if i know only there username?
quiero agregar a un broder
se mi amigo wey
Hi, does anyone know how to delete katas from my 'Unfinished' kata menu? I accidentally started a kata that was beyond my level, and now it's stuck on my unfinished list.
Hey, i don't think you can delete them. To get rid of them from the 'Unfinished' menu you'd have to complete them
The PHP version of the text align justify Kata has been broken for a long time.
I've got a working solution and I can see what's wrong with the current one, but I don't think I can edit the Kata test cases.
There are comments about this dating back at least a year. Clearly the original author doesn't care. What I can do? I've never authored a Kata, I'm quite new at this, so I haven't a clue. Tried several things, but to no avail.
I've made a new translation. I'm surprised, can I approve my translation myself?
No. How does that make sense?
The kata description for "Path Finder #3: the Alpinist" is extremely confusing. for such a difficult kata, I think at least a single example of how a climb is calculated should be included. You start at [0,0], and have to make your way to [N-1, N-1]. So far so good. But what does "Number of climb rounds between adjacent locations is defined as difference of location altitudes (ascending or descending)" even mean ? Means I only subtract or add a altitude when I go up or down ?
010 010 010 ^ So how did this end up as 2 ?
000000 000000 000000 000010 000109 001010 ^ how does this end up as 4 ? There's a 9 in it, shouldn't it be negative then ?
I really want to attempt this but if I can't even work out the math then the description requires some examples.
You should ask such questions in kata discourse.
It means moving from
matrix[a1][b1]
tomatrix[a2][b2]
addsMath.abs(matrix[a1][b1] - matrix[a2][b2])
to your overall passed distance.Think I was a little frustrated and didn't notice there are discussion threads for each Kata. Thanks for taking the time to reply! Will post in the kata discourse in the future.
Hi, Where can search for a specific kata? Searching for the "Persistence" one, where you multiply the digits in the number until you get a single digit.
Click on 'Kata' on the left side panel under 'Home' and in the search bar insert the name of the kata you are looking for. You can also use different filters to narrow your search
Hey where i can make my own a kata? I was looking for but i don't find any option...
Hover your avatar (top right), click New kata.
Dropdown menu top right-side of page. Third item from bottom = "New Kata"
Has anyone solved this Kata ?:) Process Waterfowl Survey Data Results. It says there that for the input list your have to consider the following:
"If someone has "Labrador Duck" in their list, the whole list should be thrown out as this species has been determined to be extinct. The person who submitted the list is obviously unreliable. Their lists will not be included in the final data. In such cases, return an array with a single string element in it: "Disqualified data".
Where is the list of "extinct species" to filter the input list ? You have to create it using google to get the info ?
Cheers
You're provided with everything you need. Also off-topic.
Thanks :) I will read again the instructions :)
Comparing to other competitive programming platforms, I think codewars'katas lack complexity constraints (which are important in real life and in programming interviews). Or is there problems with time and memory constraints but I didn't see any of them?
I'm curious as to how I am supposed to use this website :) I've just completed a kata in C#, but wrote part of it in Visual Studio. Is using an IDE frowned upon? Should I see this more as a "write it on paper" type of practice? I couldn't find anything on the wiki that specifically mentions that you cannot use an IDE, so I'm just wondering if this kinda defeats the purpose of doing katas.
you do perfectly as you like it. The only constraint is that your code works on the website. How you produced it doesn't matter.
While your at it, you might want to check out the codewars wiki page on markdown
Creating links in markdown
While your at it, you might want to check out the codewars wiki page on markdown
Does anyone know any info on the API access token? Is there any documentation on this?
What kind of info? Your token: https://www.codewars.com/users/edit API: https://dev.codewars.com/
Info like that API link there! Thank you sir.
How does one submit translations for the site? I was unable to find anything - I assume it's about translating Kata instructions?
I am wondering, if I find an interesting kata that I'd like to tackle but it is targeted to a language I am not coding - how can I translate that kata?
I have found the /translations URL but it requires to solve the kata in the given language first
I have this same question. But mostly I want to make a Python 3 version of a Kata that is only available in Python 2.7. For some of the kata I could probably struggle through creating a solution, but I haven't bothered to learn 2.7 yet.
The point of translation is that you can do it in both languages. Also, Py2 and Py3 are similar enough so that you should be able to swap between the two without relearning the entire lang.
Does anybody have an idea as to when T-Shirts may be delivered? As a buyer, I haven't recieved any dates or further information. Thanks.
Any comments about building up a series of katas which get progressivly harder? Like caesars cypher which just takes lower case words, and then one which takes capitals and punctuation, and then one which is rotX instead of rot13?
As a series, they'd be pretty easy steps from one to the next. On one hand that's good for teach people, on the other, it's like farming rep on here.
Hi guys! Is it possible to delete my previous solutions? If so, let me know how. Thanks.
I am thinking to author several similar Katas and I would like to use the same pre-loaded code for them. Is there any way share the same code across Katas, or must I just cut/paste it to each?
If you load the first one, I think Kumites are just forked Kata, so you could fork the one to make the others?
Hi I have forked a kata and changed a small part of the tests to make the test cases more robust, I have published it, how do I get this change pushed into the main kata? (As you may of figured, this is my first fork!).
you post a message on the kata discourse section.
Thanks
I just saw that Elixir and Typescript have been added! I'm SUPER excited about Elixir!
Started working on kata's already :)
How about a helper/wizard for creating test data? I'm stuck on development of my first kata, because I'm not sure that I'm creating the test data correctly, and I can't seem to get any real help beyond the vague documents provided on the site.
I'm new to CW, and wanted to understand if it is possible to create a Kata where the validation is the printed output instead of the returned value of a function?
not sure i follow. you have all of the flexibility of a normal test suite plus you can output html, images, etc so there should be a way to do what you need.
Yes it is. here's the proof of concept: https://www.codewars.com/kata/57036f007fd72e3b77000023
I steped on your cat, so sorry ;(
Is Swift available? I chose it as "My Languages" but it doesnt show when I try to do a swift challange.
not yet but hopefully it will be supported soon. more language choices are coming.
I found a buggy kata, where can I report it wit ha proof?
I did two solutions for a kata, and both show up in my solution list, but only one shows up in the kata solution list.
Is it normal that I created a kata like a week ago, and there's been zero attempts at solving it so far?
Hi! I am relatively new in CW, but really excited about it, so I decided to contribute to kata translations as much as my free time allows. Since I am fluent in Java and JavaScript, I tried to provide several Java translations for respective JavaScript solutions that I'd already passed. However, alas, I can't find anything I have published and neither can I check their status. Furthermore, in my profile the "authored kata & translations" is 0. I am certain that - in most cases at least - I did everything by the book: test cases, special lang descriptions, and all. Can someone enlighten me on the how-tos of translations and if they are rejected for some reason how to get feedback on possible issues?
Did you have a look at the published translation section? If you can't find your translations anywhere, you've probably encountered a bug.
Hi! Thanks for the link. They are indeed there, but unless I manually type the link in the browser to load that subpage, I cannot find any clickable links on my profile to navigate there. Where is it physically located on the profile page?
Hi How do I see the tests that are run to check my submitted solution? My solution passed my tests, but I'm obviously missing something
Why can't I run my kata when using kata translation? Doesn't work for any language
It says I can no longer edit the test cases in one of my Kata. Is there a way I can re-enable editing?
http://www.codewars.com/kata/caffeine-script/discuss
Once the kata has been completed 500+ times it can no longer be edited except by admins - in order to prevent the kata from breaking everyone's solutions after it became popular. What were you looking to change?
That makes sense, thanks!
So in the Java test cases for that Kata, when "assertEquals" fails, it is spitting out
expected: but was:
instead of the actual values. Someone was helping me debug it, and it seems to work outside of codewars, so there is a bug in there somewhere. He then suggested that changing "assertEquals" toassertThat("result", is("expected"));
might fix it, which is what I was about to try.It's not a huge deal either way, it's just been very frustrating for the users trying to do the Java version.
When writing a kata, are there ways to restrict access to parts of the standard library in each language? That is, prevent require/import of a certain module.
In JavaScript we can fake this sometimes by deleting members of global objects like
Math
orObject
. For instance in Python I might want to prevent importingmath
(or otherwise prevent access to functions defined therein), or in Java I might want to prevent importingjava.util.Collections
(or prevent use of particular methods such asshuffle
). Is it possible?In my CaffeineScript Kata, Junit's assertEquals is printing out
expected: but was:
if comparison between 2 strings fails. I am not sure why this is happening. Can anyone help? (see the Kata's discussion for more details: http://www.codewars.com/kata/caffeine-script/discuss)How do you make Kata? (probably a really noob question :P)
Okay, I found it, but I can't find any direct links to it. (/kata/new)
If you highlight over your profile in the top right there is an option for "New Kata"
I can't see it...
You can make kata once you have 25+ honors, and you can access it under the scroll-down menu when you hover over your profile.
Kind of a dumb question, but how do I change my profile picture?
I'm pretty sure it uses the gravatar associated with your email.
And this really has nothing to do with Kata. :)
Whoops, sorry, I'll make sure I post in the correct topic next time, you can tell I'm new :p
Is there a mechanism available or planned to allow one to extend another author's kata to other languages? I'd be interested to help make the Coffeescript/Ruby katas more numerous by adding versions in these languages to some of the many JS-only katas.
Yes! In fact this is the next major feature and we are currently working on it. Thats great to hear that you are looking forward to it :)
The plan is to allow users to submit patches that will then be approved by either an admin or a kata author. It will be similar to Stack Overflows suggested edits. This will allow for not just language additions but also improve the beta process since users can submit their own changes instead of waiting for an author to do it.
Its a large chunk of work but we should have it out soon.
Super :)
How do authors feel about designing kata for multiple languages? I feel obliged to translate my kata into every available language and it's also my preference because it means I have to get better at those languages, but it feels awkward to tack on JavaScript and CoffeeScript variations in the same creator window. I would almost prefer that each kata worked only in one language and there were a tool to set up links to kata which were the same concept in another language.
A few of the things that strike me about the current setup:
I find myself having to avoid putting code in the description unless I want to fill the space with the equivalent in the other languages.
If I want to follow naming conventions, it's awkward to use them in any of the spaces the kata share (name, description)
I imagine with future language options, difficulty between similar tasks will vary enough to make kyu ranking differ between languages.
For what its worth, we have extended the markdown support to allow multiple languages to be included within the description and only the language currently selected will be shown. You just have to put the languages back to back without any content in between them, and use their full names when tagging the code block as being a certain language.
With that said I'm very curious to see how others feel about this as well. It certainly would have been easier in terms of the data model to just have 1 kata per language. The forking system that we intend to implement could make things much more complicated. We have considered the possibility of someone wanting to split a kata off from the original because the differences in language are too large, where as in other cases someone may want to fork a kata simply to add a new language and then merge that language back into the original.
Ah, that's good to know about the markdown.
I'm curious how the system works for people, like me, who progress to a certain rank in one language and then would like to start with basic material in another language and work their way up those kata.
Does the system keep track of skill level relative to each language or just a total skill level for the user?
Right now the system just keeps track of total skill level. We have considered introducing language specific sub-levels. First up is to introduce the achievement system which will also be useful for indicating how proficient you are at specific concepts (OOP, dynamic, static, prototypical, functional, meta-programming, machine learning, data modelling, regex, etc).
It may be that having an overarching skill ranking (kyu/dan) will be enough when combined with achievements. If you program in Java and understand OOP and static languages well than you will pick up C# very easily. If you know prototypical languages pretty well (JavaScript) then you will probably pick up Lua pretty easily. However if you have not proven yourself at all at pure functional concepts then Clojure might be a big challenge to initially grasp.
One of the major goals with the achievements system is to help developers identify programming concepts that they are not strong in and encourage them to become stronger, using whatever language they wish.
With all of that said - yes language specific levels would be pretty kick ass :)
Got CW on http://webplatformdaily.org/#September27th2013 today.
Now thats what I'm talking about!
Yeaa buddy, just saw the Twitter convo - Brent hooking it up!