jonjagger / cyber-dojo Goto Github PK
View Code? Open in Web Editor NEWNOTE: cyber-dojo development has moved to...
Home Page: https://github.com/cyber-dojo
NOTE: cyber-dojo development has moved to...
Home Page: https://github.com/cyber-dojo
This output caused a Green traffic light, but should have been Amber:
FizzBuzz
1) should return fizz for multiples of 3
0 passing (32ms)
1 failing
Hello,
I noticed you have uploaded some docker instances for Cyberdojo, which is great.
I wanted to offer one suggestion, just because it's something I came across recently as I've been learning Docker... and it's their "automated build repository" thing.
Here's a picture of one of the Cyberdojo images next to one I made recently. Yours is missing the Dockerfile tab, letting users know how the image was built.
You don't get the Dockerfile when you run docker push
, but you get it if you click "Add Repository" and then select "Automated Build," there's an option that lets you point it at one of your Github repos. You can tell it the location of the Dockerfile within the repo. Docker's systems will see it, they'll built it themselves, and they'll show more information on your image page -- including the Dockerfile.
You probably already know this... but I didn't. Personally, I prefer to have that Dockerfile tab as I can see the commands used to build the image. Just wanted to share in case it's helpful, as I'm a fan of CyberDojo. Feel free to close this "issue." Thanks.
I hesitate to even ask, but I would really love it if for the cyber dojo to support JavaScript unit testing using Mocha and Chai (with should syntax). I love cyber dojo, and I am eternally grateful you created this wonderful tool.
You mentioned in my pull request that you wanted to improve the JavaScript support. What kind of things were you interested in? I'd be happy to continue to contribute. I was also going to run the status quo by some other JavaScript developers and ask for their input, if that's ok. I thought this might be a good place to have that discussion.
Hi Jon,
I did a session on cyber dojo today with a small group (thanks for all the work you've put in to it); we got to talking about other fun variations we could do and some one mentioned the baby steps approach. Normally you're only allowed to commit when green and if you run out of time and the tests are red you have to revert to the last commit. I was thinking it would probably be possible to add support for this to cyber dojo.
I was wondering what you thought of such a feature and whether if I tried to implement it you would consider a pull request for it?
I was thinking it would probably get enabled in sub-menu of the setup page (call it gimics or games or something). The length of the timer would be configurable there. The timer would get reset every time you went green and if it expired prompt (force) you to revert to the last green point.
I've not really looked at how this would fit in to the code yet. So I thought I'd better ask if there are any particular approaches you think I should take?
Hello!
What do you think about adding Google C++ Testing Framework? It could be used as an additional way of writing unittests for C++. Like you have with Ruby-Approval, Ruby-Rspec, Ruby-Cucumber.
The ruby shell script doesn't run all test files, only the first one it finds alphabetically.
After upgrading my Virtualbox image with a git pull, following instructions here I ran into trouble with jQuery functions.
I can setup a new exercise, but when I'm back on the index page only the Review button works, both Start and Resume gives me a frozen page (trying to load the animal-popup I guess).
Looking in the Javascript console I get:
Uncaught TypeError: Cannot read property 'msie' of undefined
Looks like the problem is described at SO. Guess some kind of mix in the javascripts between jQuery pre1.9 or something.
I followed the "solution" discussed at SO and added the function to the jquery-ui-1.8.24.custom.min.js
file and that got it working again.
Haven't analysed any further on which of the scripts are breaking the application yet :)
The docker images could do with some refactoring.
Most of them could be a lot smaller.
They could be based off a tiny image, eg core-os.
hy,
you've got a display issue for this url : http://cyber-dojo.org/setup/show_languages_and_tests/
(i'm using firefox 45.0.1)
Could please answer what happened with cyber-dojo.com, I've planned TDD training with cyber-dojo.com, but it is down now, is it permanently condition or site will work?
The initial files for D are actually just one file, hiker.d
I'd like this split into two files, hiker.d containing answer() and
hiker.test.d containing the test.
How do you do this?
What incantations do you need in cyber-dojo.sh?
The initial files for Rust are actually just one file, hiker.rs
I'd like this split into two files, hiker.rs containing answer() and
hiker.test.rs containing the test.
How do you do this?
What incantations do you need in cyber-dojo.sh?
Saw directory structure change and file move. Looks like missing start_points/ in
cyber-dojo/app/docker/cyber-dojo.rb
Line 68 in d102e9e
Please take a look. Sorry for not getting chance on a pull request. (Try quick fix in docker image on-the-fly is not straight forward for novice like me. Quickest I could think of is hack "docker run" to "docker exec" to try a change out, without deriving an images and make the change.)
Thanks,
We used to be able to re-size the editor to view more than ~31 lines (default).
The re-sizing seems to be disabled now.
Hi,
I've tried to create a new kata on cyber-dojo.com with no luck. The error in the js console is the one in the title. It seems there is a property name on the window already and it gets confused by the declaration of the name() function here:
https://github.com/JonJagger/cyberdojo/blob/master/app/views/dojo/_name_save_cancel.html.erb#L5
I cloned the repo and renamed the function to make it work, can anybody confirm they have that issue as well?
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.