cyber-dojo / cyber-dojo Goto Github PK
View Code? Open in Web Editor NEWhome repo for the cyber-dojo organization
Home Page: https://cyber-dojo.org
License: BSD 2-Clause "Simplified" License
home repo for the cyber-dojo organization
Home Page: https://cyber-dojo.org
License: BSD 2-Clause "Simplified" License
very much, I would like to contribute my knowledge about devops to the repository, greetings
username github: samuelbarrionuevo
If interested in adding jq as a language option, I've started a repo with three sub-folders, and as far as I understand each subfolder should be a repo in two different orgs.
My testing capabilities are limitted, but it looks pretty good "on my machine".
Something about my keyboard setup means that if I hit a particular key, then a non-ascii character gets inserted.
If I run the tests without spotting it, here's what happens:
Expected behaviour: error message saying my code is wrong
Actual behaviour: error message saying my code is wrong - and the source file is removed from the list of available files.
It's a windows keyboard attached to a Mac, and the key that on PCs causes the context menu to appear, in cyber-dojo causes a little round circle to appear in the code.
This has happened to me 3 times now, in an online course, and each time I have had to use the '+' sign to create a new file, and copy-and-paste the in the file from a previous step, which took a few minutes.
I see now that I can "revert" an earlier step, but either I didn't spot that, at the time - or I tried it, and it didn't seem to re-add the file...
Here's exactly what I did - I suspect some of the middle steps can be removed...
There is an example of this having happened in Step 3 of https://www.cyber-dojo.org/kata/edit/8HV74p
This is the error text in the output window:
:stdout:
compiling AllTests.cpp
compiling HikerTest.cpp
:stderr:
tests/HikerTest.cpp:22:5: error: stray '\20' in program
22 | �
| ^
make: *** [/cpputest/build/MakefileWorker.mk:511: objs/tests/HikerTest.o] Error 1
:status:
2
And here is a screenshot: notice how the output file refers to HikerTest.cpp
but that file is no longer listed in the list of available files:
CircleCI provides no way (when using github oAuth) to add new people to the Orgs :-(
The instructions in dev/README.md
tell me to run build-all.sh
followed by cyber-dojo up
. If I do this (after working around #1), the cyber-dojo up
command fails telling me:
ERROR: for cyber-dojo-storer Cannot start service storer: linux spec user: unable to find user storer: no matching entries in passwd file
ERROR: for storer Cannot start service storer: linux spec user: unable to find user storer: no matching entries in passwd file
Encountered errors while bringing up the project.
It looks like I need to create a user named storer
somewhere, though I'm not sure if this is on my actual host OS or in a docker container somewhere (if container-specific users are even a thing).
Currently the runners collect new/changed text files and send them back to web service which then filters them based on the hidden_filenames manifest.json property.
It would be more efficient to send the hidden_filenames property to the runner and for the runner to filter them in-place.
Hi, guys.
Not sure if this is the proper space, so I apologize in advance if it's the wrong place.
That said, our team uses the Cyber Dojo during our interview process so we can know a bit more about how the developer builds the solution and even know him as a person, because we believe that the code can tell us a lot. But, sadly, today we experienced a problem during the exercise gerenation that made it impossible to create a new one.
Looks like the button below isn't working properly:
Could you take a look at it?
Thanks a lot.
The runners now send new/changed text files back to the browser (via web).
These files could be large and need to be truncated by the runner in the same way stdout+stderr is.
Currently stdout+stderr is truncated to 10K. Is this too small? A 10K file is often only about ~250 lines.
In following the build steps described in dev/README.md
, I ran into a problem where build-all.sh
was trying to run build.sh
scripts that didn't exist. Here's what I think is going on:
build-all.sh
is sourcing env-var-repos.sh
, and this sets the CYBER_DOJO_REPOS
to a list of repos.CYBER_DOJO_REPOS
, build-all.sh
cd's to that directory and tries to run build.sh.
.starter
) don't contain a build.sh
, and this causes the script to terminate prematurely.I see at least two possible approaches to fixing this. First, we could modify env-var-repos.sh
to only include repos containing build.sh
in CYBER_DOJO_REPOS
. Or, we could update build-all.sh
so that it checks for each potential build.sh
before running it.
This second change is very straightforward, and it seems a bit more future-proof insofar as it will automatically pick up new build scripts as they become available.
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.