GithubHelp home page GithubHelp logo

cyber-dojo's People

Contributors

aga303 avatar byran avatar byran-wills-heath-bluefruit avatar cadnce avatar emilybache avatar jhannes avatar jlehtnie avatar jonjagger avatar jooyunghan avatar kkujala avatar klaas1979 avatar mbirtwell avatar meekrosoft avatar meshell avatar michelgrootjans avatar nablaa avatar olafleur avatar philsquared avatar rchatley avatar sleepyfox avatar stevenacoffman avatar vishalmadhvani avatar xpmatteo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cyber-dojo's Issues

Baby steps mode

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?

JQuery errors after upgrading Virtualbox image

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 :)

Javascript, Mocha, chai, sinon reporting Green when should be Amber

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

  1. FizzBuzz should return fizz for multiples of 3:
    TypeError: undefined is not a function
    at Context. (fizzbuzzTest.js:12:27)

JavaScript support improvements

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.

Editor resizing

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.

command such as catalog is broken

Saw directory structure change and file move. Looks like missing start_points/ in

`#{my_dir}/../languages/list_all_images.rb`

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,

Question about cyber-dojo.com

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?

split Rust code

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?

split D code

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?

Docker instances

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.

cyberdojo_fsharp-3 0_nunit repository docker hub registry - repositories of docker images

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.

docker image size reduction

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.

JavaScript Mocha + Chai Should

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.

Property 'name' of object [object DOMWindow] is not a function

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.