« first day (139 days earlier)      last day (1793 days later) » 

12:06 AM
The other options that occurs to me is to give language authors a sort of "developer account" that allows them to pull their own languages, but not others.
 
You could ask developers to put something like 'TIO-update' in GitHub commit messages when they want the language to be updated.
 
 
6 hours later…
5:49 AM
@Dennis Download this and put it in the same folder the .java file is saved to.
And it should work
 
6:19 AM
That isn't very practical. The arena creates a new directory each time a code submission is run.
Are the packages I installed earlier not working?
 
No
I think you just installed some random crap
You should probably remove them
I accidentally linked to Apache Commons, not Apache Commons Lang
Apache Commons has a ton of unrelated stuff in it in addition to the java libraries
 
I doubt the Apache Commons packages in Fedora's repos qualify as "random crap".
 
Well, I don't know what it is.
It's all useful to someone, but right now it isn't doing anything.
 
apache-commons-el.noarch : The Apache Commons Extension Language
apache-commons-io.noarch : Utilities to assist with developing IO functionality
apache-commons-cli.noarch : Command Line Interface Library for Java
apache-commons-csv.noarch : Utilities to assist with handling of CSV files
apache-commons-jci.noarch : Commons Java Compiler Interface
apache-commons-jcs.noarch : Apache Commons Java Caching System
apache-commons-net.noarch : Internet protocol suite Java library
apache-commons-vfs.noarch : Commons Virtual File System
Do you have any code that should work with Apache Commons but doesn't? That way, I can do some troubleshooting.
 
When you run the program, use java -cp .;... where ... is the directory ApacheCommonsLang is in.
-cp tells Java where to look for classes
Apache commons is basically the JQuery of java.
If you anyone ever puts in another request for java libraries, extend -cp .;/a/;/b/;/c/
 
6:56 AM
Looks like the classpath I had works just fine. Your code doesn't seem to work though. import org.apache.commons.* errors, but import org.apache.commons.lang.* does not.
 
I feel silly now.
I forgot the .commons. bit and didn't notice.
;-;
 
7:13 AM
@Dennis bork
 
Eh, when I was debugging the other link you sent me, I swicthed from CLASSPATH to -cp, but only added it to the compiler. I'll revert the change. Just a sec.
@Pavel Seems to be working now.
 
7:28 AM
Awesome. It would be great for golfing, if not for the obscenely long import statement.
Could be feasible for some really complex challenges.
 
Java and great for golfing are rarely used in the same sentence. :P
I really should go to bed now. Let me know if there are other issues. Java is uncharted territory for me.
 
Good night!
 
 
8 hours later…
3:09 PM
@Dennis a I have is (more like a question if something is or isnt in the pipeline) graphical output, and/or interactive output.
 
Some kinds of graphical output (images, PDFs, etc.) are planned. What do you mean by interactive output?
 
@Dennis like a console where input can be taken as the program runs.
 
Oh, so interactive input.
 
@Dennis, yeah, my bad. Essentially that way programs would be interactive (say you wrote a brainf*** choose your own adventure game (a silly example i know)) you would want to be able to respond to additional prompts as the game runs.
 
3:36 PM
@RohanJhunjhunwala I might implement that further down the road, but that pretty much requires a whole rewrite of the backend.
 
4:25 PM
@Dennis Suever's MATL online compiler uses something called "webhook" for that (more information here). I don't really know how it works, but you can ask him if interested. I had to change some simple configuration on my GitHub repository.
By default is only grabs releases, not commits. That may be a good solution to just because a language author pushed an update doesn't mean they'd necessarily want the update pulled on TIO.
 
The problem is that the vast majority of language authors on PPCG (myself included) don't really bother with releases. Jelly has 236 commits and not a single release.
 
Can someone explain to me a "release"?
Also, Iknow this may be a big ask, but is there a way to create a unit test suite for tio, or i guess that seems a bit too challenging
 
It's basically a way of tagging the current state of the repository as version X.
 
@Dennis Is that really a problem? The author would have to create a release instead of pinging you for the update
Well, they'd have to keep a version numbering system too
 
SmokeDetector pulls only if the commit message contains --autopull
You could do something like that.
As for how Github's API has webhooks for pushes. Much better than polling
You should probably also make it so that if a repo has Travis it waits for the CI build to complete and only pulls if it succeeded
 
4:38 PM
I'm not really comfortable with forcing people to do things to their repos for automatic updates. I guess specific commit messages would be less intrusive than version numbering.
Webhooks? Travis? CI build? I'ma need a dictionary.
> Setup a webhook on github.com that will notify your server via HTTP anytime the remote repository changes and you can pull the changes upon being notified.
Uh, the arena doesn't have an HTTP server.
 
Webhooks just mean you give it a URL (along with a secret if you want) and it'll send a post request when something happens.
 
The best option, albeit difficult, would be to sign in via GH, and then manage your own languages from there. Autopulls are something I don't recommend.
But not adding languages.
 
Travis is like a build server.
If the build passes it means all the tests worked and everything is not on fire
 
@quartata I guess I could receive those requests on the backend server and forward them to the arena. I'm planning to use more than one arena server anyway, so I could keep one copy on the backend server and update the arenas with rsync.
 
 
3 hours later…
8:08 PM
@Dennis Could you please pull Brachylog?
 
@Fatalize Done.
 
@Dennis Grazie
 
8:32 PM
@Dennis if I have code in a string (lets call it "code") and a language, l how do I pull up the TIO for that corresponding language?
Also, do you have a plaintext list of all the languages currently supported?
 
 
1 hour later…
9:57 PM
@Dennis, when you have a moment can you pull the latest of 05AB1E please ?
 
@AndrewSavinykh Done.
 
@Dennis, appreciated!
@Dennis do I need to clean cache or something to see the changes?
 
@AndrewSavinykh No, that's only when new languages are added.
 
10:34 PM
@AndrewSavinykh No changes on the server can't be cached by the browser. I checked again and 05AB1E is up-to-date.
 
10:53 PM
@Dennis, sorry about that. You are right.
 
11:21 PM
@Dennis can you add Mthmtca
 
@Pavel I don't think so. That seems to require Mathematica.
 
Oh. All right then.
 

« first day (139 days earlier)      last day (1793 days later) »