by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    DennisMitchell
    @DennisMitchell
    Yes, of course. That's what it's there for.
    Marcin Konarski
    @AmokHuginnsson
    Great :)
    stasoid
    @stasoid
    @DennisMitchell Is language named cockfuck suitable for TIO?
    stasoid
    @stasoid
    @DennisMitchell What encoding field in languages.json is for? I need to know to create a pull request. I see that it is used only for byte count in frontend.js. But I always want byte count to be displayed properly, so should I always specify UTF-8?
    I can see that this field does not specify how in reality an interpreter processes a file. For example, Prelude is specified as having UTF-8 encoding, but when it displays errors it counts bytes, not UTF-8 characters.
    DennisMitchell
    @DennisMitchell
    @stasoid Neither the language nor its name.
    encoding is solely for the byte counter. It's supposed to mean that if the code is encoded in that encoding, this would be its size. It doesn't perform any checks.
    stasoid
    @stasoid

    Ok, I'm glad I asked before doing anything.

    @stasoid Neither the language nor its name.

    abhidevsgit
    @abhidevsgit
    Is it possible to setup TryItOnline to run on my own servers, using my custom code editor?
    pavelbraginskiy
    @pavelbraginskiy
    Yes
    It features somewhat outdated docs but they mostly still work
    abhidevsgit
    @abhidevsgit
    Thanks for your quick response @pavelbraginskiy . I did not find any end point to send my source code from my code editor to the TryItOnline back-end server.
    pavelbraginskiy
    @pavelbraginskiy
    @abhidevsgit There aren't really any API docs. You could try to dig through the source code to find how the backend is called, or look at what this Java wrapper, written by someone else, does: https://github.com/okx-code/TIOJavaWrapper
    I believe @DennisMitchell is working on a better public API but IDK when that might happen
    (Or this Java wrapper. IDK which is better, I've used neither: https://github.com/SocraticPhoenix/TioJ)
    abhidevsgit
    @abhidevsgit
    @pavelbraginskiy Thank you very much.
    @DennisMitchell Can you please let us know if you are working on TryItOnline public API as @pavelbraginskiy mentioned above?
    pavelbraginskiy
    @pavelbraginskiy
    If you have a stackexchange account you can chat in talk.tryitonline.net, which is generally checked by Dennis more frequently.
    abhidevsgit
    @abhidevsgit
    Sure. Thank's for your input. I appreciate your help. I will check the JavaWrapper's you mentioned earlier.
    DennisMitchell
    @DennisMitchell
    @abhidevsgit Yes, I'm working on a proper API, with JSON and docs.
    abhidevsgit
    @abhidevsgit
    @DennisMitchell Thank you very much. When can we expect it to be ready?
    pavelbraginskiy
    @pavelbraginskiy
    Soon(tm)
    DennisMitchell
    @DennisMitchell
    @abhidevsgit It's going to be a complete rewrite of the current backend, so it might still take some time. I hope to have a working version before the Fedora 30 upgrade (April 30).
    abhidevsgit
    @abhidevsgit
    Thank you @DennisMitchell
    abhidevsgit
    @abhidevsgit
    Hi @DennisMitchell, Can you please let us know the latest update regarding the TIO API?
    DennisMitchell
    @DennisMitchell
    @abhidevsgit I haven't been feeling well in the last months and didn't really get much done on the API...
    abhidevsgit
    @abhidevsgit
    @DennisMitchell Hope you feel better soon.
    Sathyesh
    @sathyesh
    Hi Mod, I am trying to do a empirical report on languages, can I get a sandbox environment details as well as explanation of Real time: 0.134 s
    User time: 0.087 s
    Sys. time: 0.045 s
    CPU share: 98.09 %
    Exit code: 0
    Jack Douglas
    @jackdouglas
    @DennisMitchell Hi, we are thinking about the possibility of embedding TIO in Code Golf Q&A on TopAnswers — we do something similar with db<>fiddle eg here: https://topanswers.xyz/codegolf?q=790. I understand there is an 'unofficial' API, would it be acceptable for us to tap into that, and would you prefer we run our own TIO servers?
    retnikt
    @retnikt
    why is Python 3.8 labelled as a pre-release
    Έρικ Κωνσταντόπουλος
    @GolfingSuccess
    @retnikt Dennis has said that it will be updated along with Fedora