|
From: Paul E. <pau...@me...> - 2015-10-15 13:29:40
|
As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. With some help from some Jython/Java people, we could get the project in good enough shape to give a talk on it at PyCon and attract critical mass. And it would be a lot of fun. —Paul |
|
From: Paul E. <pau...@me...> - 2015-10-19 11:14:52
|
> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm...> wrote: > > Hi Paul, > > Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: > > > >> As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. > > Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if > it would be approachable. It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html <http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html> We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. > >> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. > > Do you have a link somewhere? > >> >> But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. > > Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software > bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... > > The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: - Canary (dead) - Spigot (successor to Canary’s API) - Sponge (more ambitious) Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] —Paul |
|
From: Ben L. <ben...@gm...> - 2015-10-19 21:41:23
|
Hello Paul Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. I have put the code on github here https://github.com/skinny121/PySponge The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. Ben Lewis On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me...> wrote: > > On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer < > ste...@gm...> wrote: > > Hi Paul, > > Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: > > > > As has been discussed here a few times, Minecraft is a great place for > getting kids interested in programming. Python, via Jython, is a great > match for that, as the #1 teaching language. > > > Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to > teach MC some new tricks if > it would be approachable. > > > It certainly has the potential to be quite approachable. Seppe’s original > blog post has a screencast showing how you can let people type in Python > code, from a browser: > > > http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html > > We have other material in a different place (GitHub organization with some > repos) but I don’t want to promote that name until it’s clear the project > will continue. > > > Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run > Python code that talks to the Minecraft server API, including a > websocket-based Web UI for typing in code that is sent over and executed. > It’s fascinating stuff. I’m pitching in to work on that frontend and some > other project stuff. > > > Do you have a link somewhere? > > > But we need some help on the Java/Jython side if it is going to go > anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, > and Jython would go a long way. I don’t know those things, and am unlikely > to learn it well enough in the time I have available. > > > Well -- I don't know about java (cough) but we do have experience in > Jython -- our company's software > bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... > > The problem is I have not the faintest idea how MC works. Any concrete > issues / suggestions? > > > Minecraft servers support server-side extension via plugin systems. There > are 3 main plugin projects at the moment: > > - Canary (dead) > - Spigot (successor to Canary’s API) > - Sponge (more ambitious) > > Seppe’s code has support for Canary and Spigot. For the most part, it > works, but there are some things that could be done. > > What’s more needed, though, is basic Java/Jython stuff. We don’t have an > automated way to build it (e.g Gradle or Maven) which also means we can’t > really hook it up to a CI server. (For that matter, we don’t have any > tests.) > > At the point where we want to attract any outsiders, we need to pay > attention to some form of distribution. Our build is currently very large > and you have to do a few semi-error-prone manual steps to install. > > Finally, you have to run a web server manually to serve up the static > files for the web UI. Would be nice to have the Jython process do that, > just to eliminate some steps needed. > > Beyond that, the sky is the limit. A system where plugin people could > create, collaborate, and share little snippets is certainly feasible. And > once we get to the point where we can reach out to the Python community, > we’ll have plenty of help. But we’re stuck at the moment on Java janitorial > work. [wink] > > —Paul > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
|
From: Paul E. <pau...@me...> - 2015-10-19 22:24:53
|
To save everybody from a discussion about this on-list, I’ll reply to you in private. —Paul > On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm...> wrote: > > Hello Paul > > Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. > > I have put the code on github here https://github.com/skinny121/PySponge <https://github.com/skinny121/PySponge> > > The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. > > The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. > > Ben Lewis > > On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: > >> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm... <mailto:ste...@gm...>> wrote: >> >> Hi Paul, >> >> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >> >> >> >>> As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. >> >> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if >> it would be approachable. > > It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: > > http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html <http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html> > > We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. > >> >>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. >> >> Do you have a link somewhere? >> >>> >>> But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. >> >> Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software >> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >> >> The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? > > Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: > > - Canary (dead) > - Spigot (successor to Canary’s API) > - Sponge (more ambitious) > > Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. > > What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) > > At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. > > Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. > > Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] > > —Paul > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... <mailto:Jyt...@li...> > https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> > > |
|
From: Jim B. <jim...@py...> - 2015-10-19 23:31:37
|
Paul, I don't think this needs to be in a private email - threads work well enough :), and this list is very low traffic. Anyway, I'm back from vacation, and I should let you and Ben know that I plan to work next on Clamp's support for Java annotations [1]. We need this for a project using Spring annotations; that it supports Minecraft sounds like a very nice bonus to me. I'm sure others will find this very beneficial as well in their Jython usage. - Jim [1]: https://github.com/jythontools/clamp#supporting-java-annotations On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me...> wrote: > > To save everybody from a discussion about this on-list, I’ll reply to you > in private. > > —Paul > > On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm...> wrote: > > Hello Paul > > Recently I have also been investigating ways of creating minecraft plugins > in python. I have came up with a prototype of building plugins on top of > the Sponge API. > > I have put the code on github here https://github.com/skinny121/PySponge > > The major hurdles for creating a binding is that the different plugin apis > all like to use annotations and they often use annotations statically to > discovers plugins. > > The solution I came up with was to simply generate the main plugin java > class via a setup script and link to the plugin python files from there. > > Ben Lewis > > On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me...> wrote: > >> >> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer < >> ste...@gm...> wrote: >> >> Hi Paul, >> >> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >> >> >> >> As has been discussed here a few times, Minecraft is a great place for >> getting kids interested in programming. Python, via Jython, is a great >> match for that, as the #1 teaching language. >> >> >> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to >> teach MC some new tricks if >> it would be approachable. >> >> >> It certainly has the potential to be quite approachable. Seppe’s original >> blog post has a screencast showing how you can let people type in Python >> code, from a browser: >> >> >> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html >> >> We have other material in a different place (GitHub organization with >> some repos) but I don’t want to promote that name until it’s clear the >> project will continue. >> >> >> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you >> run Python code that talks to the Minecraft server API, including a >> websocket-based Web UI for typing in code that is sent over and executed. >> It’s fascinating stuff. I’m pitching in to work on that frontend and some >> other project stuff. >> >> >> Do you have a link somewhere? >> >> >> But we need some help on the Java/Jython side if it is going to go >> anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, >> and Jython would go a long way. I don’t know those things, and am unlikely >> to learn it well enough in the time I have available. >> >> >> Well -- I don't know about java (cough) but we do have experience in >> Jython -- our company's software >> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >> >> The problem is I have not the faintest idea how MC works. Any concrete >> issues / suggestions? >> >> >> Minecraft servers support server-side extension via plugin systems. There >> are 3 main plugin projects at the moment: >> >> - Canary (dead) >> - Spigot (successor to Canary’s API) >> - Sponge (more ambitious) >> >> Seppe’s code has support for Canary and Spigot. For the most part, it >> works, but there are some things that could be done. >> >> What’s more needed, though, is basic Java/Jython stuff. We don’t have an >> automated way to build it (e.g Gradle or Maven) which also means we can’t >> really hook it up to a CI server. (For that matter, we don’t have any >> tests.) >> >> At the point where we want to attract any outsiders, we need to pay >> attention to some form of distribution. Our build is currently very large >> and you have to do a few semi-error-prone manual steps to install. >> >> Finally, you have to run a web server manually to serve up the static >> files for the web UI. Would be nice to have the Jython process do that, >> just to eliminate some steps needed. >> >> Beyond that, the sky is the limit. A system where plugin people could >> create, collaborate, and share little snippets is certainly feasible. And >> once we get to the point where we can reach out to the Python community, >> we’ll have plenty of help. But we’re stuck at the moment on Java janitorial >> work. [wink] >> >> —Paul >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
|
From: Paul E. <pau...@me...> - 2015-10-20 10:41:35
|
Sorry about taking it off-list, was trying to be considerate to others here, as I was coming hat-in-hand. You and I have talked before about Clamp as a build solution. I’m all for being a guinea pig on Clamp, annotations, etc. but I worry that my huge deficit on Java/Jython building will result in my outsourcing our building to you. :) But if you’re up for hand-holding, I’ll gladly provide the hands. —Paul > On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py...> wrote: > > Paul, > > I don't think this needs to be in a private email - threads work well enough :), and this list is very low traffic. > > Anyway, I'm back from vacation, and I should let you and Ben know that I plan to work next on Clamp's support for Java annotations [1]. We need this for a project using Spring annotations; that it supports Minecraft sounds like a very nice bonus to me. I'm sure others will find this very beneficial as well in their Jython usage. > > - Jim > > [1]: https://github.com/jythontools/clamp#supporting-java-annotations <https://github.com/jythontools/clamp#supporting-java-annotations> > > On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: > > To save everybody from a discussion about this on-list, I’ll reply to you in private. > > —Paul > >> On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm... <mailto:ben...@gm...>> wrote: >> >> Hello Paul >> >> Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. >> >> I have put the code on github here https://github.com/skinny121/PySponge <https://github.com/skinny121/PySponge> >> >> The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. >> >> The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. >> >> Ben Lewis >> >> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >> >>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm... <mailto:ste...@gm...>> wrote: >>> >>> Hi Paul, >>> >>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>> >>> >>> >>>> As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. >>> >>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if >>> it would be approachable. >> >> It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: >> >> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html <http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html> >> >> We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. >> >>> >>>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. >>> >>> Do you have a link somewhere? >>> >>>> >>>> But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. >>> >>> Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software >>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>> >>> The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? >> >> Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: >> >> - Canary (dead) >> - Spigot (successor to Canary’s API) >> - Sponge (more ambitious) >> >> Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. >> >> What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) >> >> At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. >> >> Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. >> >> Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] >> >> —Paul >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... <mailto:Jyt...@li...> >> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... <mailto:Jyt...@li...> > https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> > > |
|
From: Jim B. <jim...@py...> - 2015-10-20 21:50:40
|
I have no problem holding hands here :) Sometimes I'm limited by time, but such annotation support is now a work priority for me. Given that Minecraft Jython support should be a very good demonstration of what Clamp can do, and what we need to work on, I'm especially eager for any and all guinea pigs. Let's do it! - Jim On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me...> wrote: > Sorry about taking it off-list, was trying to be considerate to others > here, as I was coming hat-in-hand. > > You and I have talked before about Clamp as a build solution. I’m all for > being a guinea pig on Clamp, annotations, etc. but I worry that my huge > deficit on Java/Jython building will result in my outsourcing our building > to you. :) > > But if you’re up for hand-holding, I’ll gladly provide the hands. > > —Paul > > On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py...> wrote: > > Paul, > > I don't think this needs to be in a private email - threads work well > enough :), and this list is very low traffic. > > Anyway, I'm back from vacation, and I should let you and Ben know that I > plan to work next on Clamp's support for Java annotations [1]. We need this > for a project using Spring annotations; that it supports Minecraft sounds > like a very nice bonus to me. I'm sure others will find this very > beneficial as well in their Jython usage. > > - Jim > > [1]: https://github.com/jythontools/clamp#supporting-java-annotations > > On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me...> wrote: > >> >> To save everybody from a discussion about this on-list, I’ll reply to you >> in private. >> >> —Paul >> >> On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm...> wrote: >> >> Hello Paul >> >> Recently I have also been investigating ways of creating minecraft >> plugins in python. I have came up with a prototype of building plugins on >> top of the Sponge API. >> >> I have put the code on github here https://github.com/skinny121/PySponge >> >> The major hurdles for creating a binding is that the different plugin >> apis all like to use annotations and they often use annotations statically >> to discovers plugins. >> >> The solution I came up with was to simply generate the main plugin java >> class via a setup script and link to the plugin python files from there. >> >> Ben Lewis >> >> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me...> >> wrote: >> >>> >>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer < >>> ste...@gm...> wrote: >>> >>> Hi Paul, >>> >>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>> >>> >>> >>> As has been discussed here a few times, Minecraft is a great place for >>> getting kids interested in programming. Python, via Jython, is a great >>> match for that, as the #1 teaching language. >>> >>> >>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to >>> teach MC some new tricks if >>> it would be approachable. >>> >>> >>> It certainly has the potential to be quite approachable. Seppe’s >>> original blog post has a screencast showing how you can let people type in >>> Python code, from a browser: >>> >>> >>> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html >>> >>> We have other material in a different place (GitHub organization with >>> some repos) but I don’t want to promote that name until it’s clear the >>> project will continue. >>> >>> >>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you >>> run Python code that talks to the Minecraft server API, including a >>> websocket-based Web UI for typing in code that is sent over and executed. >>> It’s fascinating stuff. I’m pitching in to work on that frontend and some >>> other project stuff. >>> >>> >>> Do you have a link somewhere? >>> >>> >>> But we need some help on the Java/Jython side if it is going to go >>> anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, >>> and Jython would go a long way. I don’t know those things, and am unlikely >>> to learn it well enough in the time I have available. >>> >>> >>> Well -- I don't know about java (cough) but we do have experience in >>> Jython -- our company's software >>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>> >>> The problem is I have not the faintest idea how MC works. Any concrete >>> issues / suggestions? >>> >>> >>> Minecraft servers support server-side extension via plugin systems. >>> There are 3 main plugin projects at the moment: >>> >>> - Canary (dead) >>> - Spigot (successor to Canary’s API) >>> - Sponge (more ambitious) >>> >>> Seppe’s code has support for Canary and Spigot. For the most part, it >>> works, but there are some things that could be done. >>> >>> What’s more needed, though, is basic Java/Jython stuff. We don’t have an >>> automated way to build it (e.g Gradle or Maven) which also means we can’t >>> really hook it up to a CI server. (For that matter, we don’t have any >>> tests.) >>> >>> At the point where we want to attract any outsiders, we need to pay >>> attention to some form of distribution. Our build is currently very large >>> and you have to do a few semi-error-prone manual steps to install. >>> >>> Finally, you have to run a web server manually to serve up the static >>> files for the web UI. Would be nice to have the Jython process do that, >>> just to eliminate some steps needed. >>> >>> Beyond that, the sky is the limit. A system where plugin people could >>> create, collaborate, and share little snippets is certainly feasible. And >>> once we get to the point where we can reach out to the Python community, >>> we’ll have plenty of help. But we’re stuck at the moment on Java janitorial >>> work. [wink] >>> >>> —Paul >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >>> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
|
From: Darjus L. <da...@gm...> - 2015-10-21 00:09:21
|
I'd be more than happy to help as well. Python and Minecraft should go hand in hand. Darjus On Wed, Oct 21, 2015 at 8:50 AM Jim Baker <jim...@py...> wrote: > I have no problem holding hands here :) Sometimes I'm limited by time, but > such annotation support is now a work priority for me. > > Given that Minecraft Jython support should be a very good demonstration of > what Clamp can do, and what we need to work on, I'm especially eager for > any and all guinea pigs. Let's do it! > > - Jim > > On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me...> wrote: > >> Sorry about taking it off-list, was trying to be considerate to others >> here, as I was coming hat-in-hand. >> >> You and I have talked before about Clamp as a build solution. I’m all for >> being a guinea pig on Clamp, annotations, etc. but I worry that my huge >> deficit on Java/Jython building will result in my outsourcing our building >> to you. :) >> >> But if you’re up for hand-holding, I’ll gladly provide the hands. >> >> —Paul >> >> On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py...> wrote: >> >> Paul, >> >> I don't think this needs to be in a private email - threads work well >> enough :), and this list is very low traffic. >> >> Anyway, I'm back from vacation, and I should let you and Ben know that I >> plan to work next on Clamp's support for Java annotations [1]. We need this >> for a project using Spring annotations; that it supports Minecraft sounds >> like a very nice bonus to me. I'm sure others will find this very >> beneficial as well in their Jython usage. >> >> - Jim >> >> [1]: https://github.com/jythontools/clamp#supporting-java-annotations >> >> On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me...> wrote: >> >>> >>> To save everybody from a discussion about this on-list, I’ll reply to >>> you in private. >>> >>> —Paul >>> >>> On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm...> wrote: >>> >>> Hello Paul >>> >>> Recently I have also been investigating ways of creating minecraft >>> plugins in python. I have came up with a prototype of building plugins on >>> top of the Sponge API. >>> >>> I have put the code on github here https://github.com/skinny121/PySponge >>> >>> The major hurdles for creating a binding is that the different plugin >>> apis all like to use annotations and they often use annotations statically >>> to discovers plugins. >>> >>> The solution I came up with was to simply generate the main plugin java >>> class via a setup script and link to the plugin python files from there. >>> >>> Ben Lewis >>> >>> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me...> >>> wrote: >>> >>>> >>>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer < >>>> ste...@gm...> wrote: >>>> >>>> Hi Paul, >>>> >>>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>>> >>>> >>>> >>>> As has been discussed here a few times, Minecraft is a great place for >>>> getting kids interested in programming. Python, via Jython, is a great >>>> match for that, as the #1 teaching language. >>>> >>>> >>>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to >>>> teach MC some new tricks if >>>> it would be approachable. >>>> >>>> >>>> It certainly has the potential to be quite approachable. Seppe’s >>>> original blog post has a screencast showing how you can let people type in >>>> Python code, from a browser: >>>> >>>> >>>> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html >>>> >>>> We have other material in a different place (GitHub organization with >>>> some repos) but I don’t want to promote that name until it’s clear the >>>> project will continue. >>>> >>>> >>>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you >>>> run Python code that talks to the Minecraft server API, including a >>>> websocket-based Web UI for typing in code that is sent over and executed. >>>> It’s fascinating stuff. I’m pitching in to work on that frontend and some >>>> other project stuff. >>>> >>>> >>>> Do you have a link somewhere? >>>> >>>> >>>> But we need some help on the Java/Jython side if it is going to go >>>> anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, >>>> and Jython would go a long way. I don’t know those things, and am unlikely >>>> to learn it well enough in the time I have available. >>>> >>>> >>>> Well -- I don't know about java (cough) but we do have experience in >>>> Jython -- our company's software >>>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>>> >>>> The problem is I have not the faintest idea how MC works. Any concrete >>>> issues / suggestions? >>>> >>>> >>>> Minecraft servers support server-side extension via plugin systems. >>>> There are 3 main plugin projects at the moment: >>>> >>>> - Canary (dead) >>>> - Spigot (successor to Canary’s API) >>>> - Sponge (more ambitious) >>>> >>>> Seppe’s code has support for Canary and Spigot. For the most part, it >>>> works, but there are some things that could be done. >>>> >>>> What’s more needed, though, is basic Java/Jython stuff. We don’t have >>>> an automated way to build it (e.g Gradle or Maven) which also means we >>>> can’t really hook it up to a CI server. (For that matter, we don’t have any >>>> tests.) >>>> >>>> At the point where we want to attract any outsiders, we need to pay >>>> attention to some form of distribution. Our build is currently very large >>>> and you have to do a few semi-error-prone manual steps to install. >>>> >>>> Finally, you have to run a web server manually to serve up the static >>>> files for the web UI. Would be nice to have the Jython process do that, >>>> just to eliminate some steps needed. >>>> >>>> Beyond that, the sky is the limit. A system where plugin people could >>>> create, collaborate, and share little snippets is certainly feasible. And >>>> once we get to the point where we can reach out to the Python community, >>>> we’ll have plenty of help. But we’re stuck at the moment on Java janitorial >>>> work. [wink] >>>> >>>> —Paul >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Jython-users mailing list >>>> Jyt...@li... >>>> https://lists.sourceforge.net/lists/listinfo/jython-users >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >>> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > |
|
From: Paul E. <pau...@me...> - 2015-10-21 00:18:46
|
Ok, since there is some interest, a little more detail: - We have a project name of “Jycraft” - There is a GitHub organization called Jycraft with some repos for different projects: https://github.com/jycraft <https://github.com/jycraft> - There’s a GitHub Pages landing page with a lot of “proactively truthful” storytelling/dreaming: http://jycraft.github.io <http://jycraft.github.io/> This is the repo that needs attention: https://github.com/Jycraft/jycraft-server-plugin <https://github.com/Jycraft/jycraft-server-plugin> I’d love to get some help with Gradle or some other approach to automated builds. After that, let’s get rid of Canary support and simply provide a download for Sponge. After that, a few changes in how we do WebSocket <-> interpreter. The PyCon call for talks just opened, I believe, and closes in January (I believe.) Wonder if this can make enough progress to submit a paper. I know PyCon 2014 had a Minecraft talk that was very heavily attended. —Paul > On Oct 20, 2015, at 8:09 PM, Darjus Loktevic <da...@gm...> wrote: > > I'd be more than happy to help as well. Python and Minecraft should go hand in hand. > > Darjus > > On Wed, Oct 21, 2015 at 8:50 AM Jim Baker <jim...@py... <mailto:jim...@py...>> wrote: > I have no problem holding hands here :) Sometimes I'm limited by time, but such annotation support is now a work priority for me. > > Given that Minecraft Jython support should be a very good demonstration of what Clamp can do, and what we need to work on, I'm especially eager for any and all guinea pigs. Let's do it! > > - Jim > > On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: > Sorry about taking it off-list, was trying to be considerate to others here, as I was coming hat-in-hand. > > You and I have talked before about Clamp as a build solution. I’m all for being a guinea pig on Clamp, annotations, etc. but I worry that my huge deficit on Java/Jython building will result in my outsourcing our building to you. :) > > But if you’re up for hand-holding, I’ll gladly provide the hands. > > —Paul > >> On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py... <mailto:jim...@py...>> wrote: >> >> Paul, >> >> I don't think this needs to be in a private email - threads work well enough :), and this list is very low traffic. >> >> Anyway, I'm back from vacation, and I should let you and Ben know that I plan to work next on Clamp's support for Java annotations [1]. We need this for a project using Spring annotations; that it supports Minecraft sounds like a very nice bonus to me. I'm sure others will find this very beneficial as well in their Jython usage. >> >> - Jim >> >> [1]: https://github.com/jythontools/clamp#supporting-java-annotations <https://github.com/jythontools/clamp#supporting-java-annotations> >> >> On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >> >> To save everybody from a discussion about this on-list, I’ll reply to you in private. >> >> —Paul >> >>> On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm... <mailto:ben...@gm...>> wrote: >>> >>> Hello Paul >>> >>> Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. >>> >>> I have put the code on github here https://github.com/skinny121/PySponge <https://github.com/skinny121/PySponge> >>> >>> The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. >>> >>> The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. >>> >>> Ben Lewis >>> >>> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >>> >>>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm... <mailto:ste...@gm...>> wrote: >>>> >>>> Hi Paul, >>>> >>>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>>> >>>> >>>> >>>>> As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. >>>> >>>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if >>>> it would be approachable. >>> >>> It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: >>> >>> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html <http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html> >>> >>> We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. >>> >>>> >>>>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. >>>> >>>> Do you have a link somewhere? >>>> >>>>> >>>>> But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. >>>> >>>> Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software >>>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>>> >>>> The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? >>> >>> Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: >>> >>> - Canary (dead) >>> - Spigot (successor to Canary’s API) >>> - Sponge (more ambitious) >>> >>> Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. >>> >>> What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) >>> >>> At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. >>> >>> Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. >>> >>> Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] >>> >>> —Paul >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... <mailto:Jyt...@li...> >>> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... <mailto:Jyt...@li...> >> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... <mailto:Jyt...@li...> > https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> > > |
|
From: Ben L. <ben...@gm...> - 2015-10-21 01:35:34
|
Hi Paul I can help with the Gradle stuff, I come from more of the Java side of thing and I am familiar with it. Does it just need to build a jar for each API that includes the compiled classes, configs and the dependencies for that API? Ben Lewis On Wed, Oct 21, 2015 at 1:18 PM, Paul Everitt <pau...@me...> wrote: > > Ok, since there is some interest, a little more detail: > > - We have a project name of “Jycraft” > > - There is a GitHub organization called Jycraft with some repos for > different projects: > > https://github.com/jycraft > > - There’s a GitHub Pages landing page with a lot of “proactively truthful” > storytelling/dreaming: > > http://jycraft.github.io > > This is the repo that needs attention: > > https://github.com/Jycraft/jycraft-server-plugin > > I’d love to get some help with Gradle or some other approach to automated > builds. After that, let’s get rid of Canary support and simply provide a > download for Sponge. After that, a few changes in how we do WebSocket <-> > interpreter. > > The PyCon call for talks just opened, I believe, and closes in January (I > believe.) Wonder if this can make enough progress to submit a paper. I know > PyCon 2014 had a Minecraft talk that was very heavily attended. > > —Paul > > On Oct 20, 2015, at 8:09 PM, Darjus Loktevic <da...@gm...> wrote: > > I'd be more than happy to help as well. Python and Minecraft should go > hand in hand. > > Darjus > > On Wed, Oct 21, 2015 at 8:50 AM Jim Baker <jim...@py...> wrote: > >> I have no problem holding hands here :) Sometimes I'm limited by time, >> but such annotation support is now a work priority for me. >> >> Given that Minecraft Jython support should be a very good demonstration >> of what Clamp can do, and what we need to work on, I'm especially eager for >> any and all guinea pigs. Let's do it! >> >> - Jim >> >> On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me...> wrote: >> >>> Sorry about taking it off-list, was trying to be considerate to others >>> here, as I was coming hat-in-hand. >>> >>> You and I have talked before about Clamp as a build solution. I’m all >>> for being a guinea pig on Clamp, annotations, etc. but I worry that my huge >>> deficit on Java/Jython building will result in my outsourcing our building >>> to you. :) >>> >>> But if you’re up for hand-holding, I’ll gladly provide the hands. >>> >>> —Paul >>> >>> On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py...> wrote: >>> >>> Paul, >>> >>> I don't think this needs to be in a private email - threads work well >>> enough :), and this list is very low traffic. >>> >>> Anyway, I'm back from vacation, and I should let you and Ben know that I >>> plan to work next on Clamp's support for Java annotations [1]. We need this >>> for a project using Spring annotations; that it supports Minecraft sounds >>> like a very nice bonus to me. I'm sure others will find this very >>> beneficial as well in their Jython usage. >>> >>> - Jim >>> >>> [1]: https://github.com/jythontools/clamp#supporting-java-annotations >>> >>> On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me...> >>> wrote: >>> >>>> >>>> To save everybody from a discussion about this on-list, I’ll reply to >>>> you in private. >>>> >>>> —Paul >>>> >>>> On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm...> wrote: >>>> >>>> Hello Paul >>>> >>>> Recently I have also been investigating ways of creating minecraft >>>> plugins in python. I have came up with a prototype of building plugins on >>>> top of the Sponge API. >>>> >>>> I have put the code on github here >>>> https://github.com/skinny121/PySponge >>>> >>>> The major hurdles for creating a binding is that the different plugin >>>> apis all like to use annotations and they often use annotations statically >>>> to discovers plugins. >>>> >>>> The solution I came up with was to simply generate the main plugin java >>>> class via a setup script and link to the plugin python files from there. >>>> >>>> Ben Lewis >>>> >>>> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me...> >>>> wrote: >>>> >>>>> >>>>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer < >>>>> ste...@gm...> wrote: >>>>> >>>>> Hi Paul, >>>>> >>>>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>>>> >>>>> >>>>> >>>>> As has been discussed here a few times, Minecraft is a great place for >>>>> getting kids interested in programming. Python, via Jython, is a great >>>>> match for that, as the #1 teaching language. >>>>> >>>>> >>>>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to >>>>> teach MC some new tricks if >>>>> it would be approachable. >>>>> >>>>> >>>>> It certainly has the potential to be quite approachable. Seppe’s >>>>> original blog post has a screencast showing how you can let people type in >>>>> Python code, from a browser: >>>>> >>>>> >>>>> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html >>>>> >>>>> We have other material in a different place (GitHub organization with >>>>> some repos) but I don’t want to promote that name until it’s clear the >>>>> project will continue. >>>>> >>>>> >>>>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you >>>>> run Python code that talks to the Minecraft server API, including a >>>>> websocket-based Web UI for typing in code that is sent over and executed. >>>>> It’s fascinating stuff. I’m pitching in to work on that frontend and some >>>>> other project stuff. >>>>> >>>>> >>>>> Do you have a link somewhere? >>>>> >>>>> >>>>> But we need some help on the Java/Jython side if it is going to go >>>>> anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, >>>>> and Jython would go a long way. I don’t know those things, and am unlikely >>>>> to learn it well enough in the time I have available. >>>>> >>>>> >>>>> Well -- I don't know about java (cough) but we do have experience in >>>>> Jython -- our company's software >>>>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>>>> >>>>> The problem is I have not the faintest idea how MC works. Any >>>>> concrete issues / suggestions? >>>>> >>>>> >>>>> Minecraft servers support server-side extension via plugin systems. >>>>> There are 3 main plugin projects at the moment: >>>>> >>>>> - Canary (dead) >>>>> - Spigot (successor to Canary’s API) >>>>> - Sponge (more ambitious) >>>>> >>>>> Seppe’s code has support for Canary and Spigot. For the most part, it >>>>> works, but there are some things that could be done. >>>>> >>>>> What’s more needed, though, is basic Java/Jython stuff. We don’t have >>>>> an automated way to build it (e.g Gradle or Maven) which also means we >>>>> can’t really hook it up to a CI server. (For that matter, we don’t have any >>>>> tests.) >>>>> >>>>> At the point where we want to attract any outsiders, we need to pay >>>>> attention to some form of distribution. Our build is currently very large >>>>> and you have to do a few semi-error-prone manual steps to install. >>>>> >>>>> Finally, you have to run a web server manually to serve up the static >>>>> files for the web UI. Would be nice to have the Jython process do that, >>>>> just to eliminate some steps needed. >>>>> >>>>> Beyond that, the sky is the limit. A system where plugin people could >>>>> create, collaborate, and share little snippets is certainly feasible. And >>>>> once we get to the point where we can reach out to the Python community, >>>>> we’ll have plenty of help. But we’re stuck at the moment on Java janitorial >>>>> work. [wink] >>>>> >>>>> —Paul >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Jython-users mailing list >>>>> Jyt...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/jython-users >>>>> >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Jython-users mailing list >>>> Jyt...@li... >>>> https://lists.sourceforge.net/lists/listinfo/jython-users >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >>> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |
|
From: Angel M. g. <scy...@gm...> - 2015-10-21 07:11:57
|
Hi everyone! I can’t help my inner self on this, I would like to be useful on this, it’s been quite a while I have programmed in java and not so quite in python (far from expert in both) and I’m quite married to web technologies right now, but I would be willing to help on this project, I’m watching already the github repos mentioned before. I’ll try to fit somewhere :) Daniel From: Ben Lewis Date: Tuesday, October 20, 2015 at 7:35 PM To: Paul Everitt Cc: "jyt...@li..." Subject: Re: [Jython-users] Anyone interested in helping on a Minecraft plugin project? Hi Paul I can help with the Gradle stuff, I come from more of the Java side of thing and I am familiar with it. Does it just need to build a jar for each API that includes the compiled classes, configs and the dependencies for that API? Ben Lewis On Wed, Oct 21, 2015 at 1:18 PM, Paul Everitt <pau...@me...> wrote: Ok, since there is some interest, a little more detail: - We have a project name of “Jycraft” - There is a GitHub organization called Jycraft with some repos for different projects: https://github.com/jycraft - There’s a GitHub Pages landing page with a lot of “proactively truthful” storytelling/dreaming: http://jycraft.github.io This is the repo that needs attention: https://github.com/Jycraft/jycraft-server-plugin I’d love to get some help with Gradle or some other approach to automated builds. After that, let’s get rid of Canary support and simply provide a download for Sponge. After that, a few changes in how we do WebSocket <-> interpreter. The PyCon call for talks just opened, I believe, and closes in January (I believe.) Wonder if this can make enough progress to submit a paper. I know PyCon 2014 had a Minecraft talk that was very heavily attended. —Paul On Oct 20, 2015, at 8:09 PM, Darjus Loktevic <da...@gm...> wrote: I'd be more than happy to help as well. Python and Minecraft should go hand in hand. Darjus On Wed, Oct 21, 2015 at 8:50 AM Jim Baker <jim...@py...> wrote: I have no problem holding hands here :) Sometimes I'm limited by time, but such annotation support is now a work priority for me. Given that Minecraft Jython support should be a very good demonstration of what Clamp can do, and what we need to work on, I'm especially eager for any and all guinea pigs. Let's do it! - Jim On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me...> wrote: Sorry about taking it off-list, was trying to be considerate to others here, as I was coming hat-in-hand. You and I have talked before about Clamp as a build solution. I’m all for being a guinea pig on Clamp, annotations, etc. but I worry that my huge deficit on Java/Jython building will result in my outsourcing our building to you. :) But if you’re up for hand-holding, I’ll gladly provide the hands. —Paul On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py...> wrote: Paul, I don't think this needs to be in a private email - threads work well enough :), and this list is very low traffic. Anyway, I'm back from vacation, and I should let you and Ben know that I plan to work next on Clamp's support for Java annotations [1]. We need this for a project using Spring annotations; that it supports Minecraft sounds like a very nice bonus to me. I'm sure others will find this very beneficial as well in their Jython usage. - Jim [1]: https://github.com/jythontools/clamp#supporting-java-annotations On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me...> wrote: To save everybody from a discussion about this on-list, I’ll reply to you in private. —Paul On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm...> wrote: Hello Paul Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. I have put the code on github here https://github.com/skinny121/PySponge The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. Ben Lewis On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me...> wrote: On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm...> wrote: Hi Paul, Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if it would be approachable. It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. Do you have a link somewhere? But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: - Canary (dead) - Spigot (successor to Canary’s API) - Sponge (more ambitious) Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] —Paul ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
From: Paul E. <pau...@me...> - 2015-10-21 11:58:51
|
Currently to build it, you clone the repo, open it in Eclipse, and the .settings kicks in: https://github.com/Jycraft/jycraft-server-plugin/tree/master/.settings <https://github.com/Jycraft/jycraft-server-plugin/tree/master/.settings> You click Export, click the magic things in Eclipse, and get a jar. Some old instructions here: https://github.com/Macuyiko/jycraft-legacy <https://github.com/Macuyiko/jycraft-legacy> I *think* we currently bundle Jython, Canary, and Spigot into the resources in the compiled JAR (but I might be wrong about that). And I think we also ask people to put those jars into their server directory. So the jar is huge and duplicative. Also, the repo checks the upstream sources (Canary, Sponge, etc.) into the jycraft-server-plugin repo, making it a *HUGE* checkout. Here are some things that would be great to have: - Get the dependencies during the build process from Maven repos - Eliminate Canary and just do Sponge, which might me some re-organization of the codebase - Decide whether to pack jython/sponge into a single jar, or provide a zip that contains the relevant parts - (Later) Try to trim down the size of the Jython used (currently adds 12 MB or so to what needs to be downloaded) - (Later) Hook this up to Travis to get automated builds, perhaps with the world’s smallest test Ben and Darjus, perhaps we should discuss this in some issues in the repo? —Paul > On Oct 20, 2015, at 9:35 PM, Ben Lewis <ben...@gm...> wrote: > > Hi Paul > > I can help with the Gradle stuff, I come from more of the Java side of thing and I am familiar with it. Does it just need to build a jar for each API that includes the compiled classes, configs and the dependencies for that API? > > Ben Lewis > > On Wed, Oct 21, 2015 at 1:18 PM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: > > Ok, since there is some interest, a little more detail: > > - We have a project name of “Jycraft” > > - There is a GitHub organization called Jycraft with some repos for different projects: > > https://github.com/jycraft <https://github.com/jycraft> > > - There’s a GitHub Pages landing page with a lot of “proactively truthful” storytelling/dreaming: > > http://jycraft.github.io <http://jycraft.github.io/> > > This is the repo that needs attention: > > https://github.com/Jycraft/jycraft-server-plugin <https://github.com/Jycraft/jycraft-server-plugin> > > I’d love to get some help with Gradle or some other approach to automated builds. After that, let’s get rid of Canary support and simply provide a download for Sponge. After that, a few changes in how we do WebSocket <-> interpreter. > > The PyCon call for talks just opened, I believe, and closes in January (I believe.) Wonder if this can make enough progress to submit a paper. I know PyCon 2014 had a Minecraft talk that was very heavily attended. > > —Paul > >> On Oct 20, 2015, at 8:09 PM, Darjus Loktevic <da...@gm... <mailto:da...@gm...>> wrote: >> >> I'd be more than happy to help as well. Python and Minecraft should go hand in hand. >> >> Darjus >> >> On Wed, Oct 21, 2015 at 8:50 AM Jim Baker <jim...@py... <mailto:jim...@py...>> wrote: >> I have no problem holding hands here :) Sometimes I'm limited by time, but such annotation support is now a work priority for me. >> >> Given that Minecraft Jython support should be a very good demonstration of what Clamp can do, and what we need to work on, I'm especially eager for any and all guinea pigs. Let's do it! >> >> - Jim >> >> On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >> Sorry about taking it off-list, was trying to be considerate to others here, as I was coming hat-in-hand. >> >> You and I have talked before about Clamp as a build solution. I’m all for being a guinea pig on Clamp, annotations, etc. but I worry that my huge deficit on Java/Jython building will result in my outsourcing our building to you. :) >> >> But if you’re up for hand-holding, I’ll gladly provide the hands. >> >> —Paul >> >>> On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py... <mailto:jim...@py...>> wrote: >>> >>> Paul, >>> >>> I don't think this needs to be in a private email - threads work well enough :), and this list is very low traffic. >>> >>> Anyway, I'm back from vacation, and I should let you and Ben know that I plan to work next on Clamp's support for Java annotations [1]. We need this for a project using Spring annotations; that it supports Minecraft sounds like a very nice bonus to me. I'm sure others will find this very beneficial as well in their Jython usage. >>> >>> - Jim >>> >>> [1]: https://github.com/jythontools/clamp#supporting-java-annotations <https://github.com/jythontools/clamp#supporting-java-annotations> >>> >>> On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >>> >>> To save everybody from a discussion about this on-list, I’ll reply to you in private. >>> >>> —Paul >>> >>>> On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm... <mailto:ben...@gm...>> wrote: >>>> >>>> Hello Paul >>>> >>>> Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. >>>> >>>> I have put the code on github here https://github.com/skinny121/PySponge <https://github.com/skinny121/PySponge> >>>> >>>> The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. >>>> >>>> The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. >>>> >>>> Ben Lewis >>>> >>>> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >>>> >>>>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm... <mailto:ste...@gm...>> wrote: >>>>> >>>>> Hi Paul, >>>>> >>>>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>>>> >>>>> >>>>> >>>>>> As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. >>>>> >>>>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if >>>>> it would be approachable. >>>> >>>> It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: >>>> >>>> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html <http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html> >>>> >>>> We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. >>>> >>>>> >>>>>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. >>>>> >>>>> Do you have a link somewhere? >>>>> >>>>>> >>>>>> But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. >>>>> >>>>> Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software >>>>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>>>> >>>>> The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? >>>> >>>> Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: >>>> >>>> - Canary (dead) >>>> - Spigot (successor to Canary’s API) >>>> - Sponge (more ambitious) >>>> >>>> Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. >>>> >>>> What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) >>>> >>>> At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. >>>> >>>> Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. >>>> >>>> Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] >>>> >>>> —Paul >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Jython-users mailing list >>>> Jyt...@li... <mailto:Jyt...@li...> >>>> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Jython-users mailing list >>> Jyt...@li... <mailto:Jyt...@li...> >>> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... <mailto:Jyt...@li...> >> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... <mailto:Jyt...@li...> > https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> > > |
|
From: Paul E. <pau...@me...> - 2015-10-21 12:01:40
|
Even if you aren’t doing much Java, there’s still quite a lot that can be done. Especially if we can get the Java/Jython part under control. We could work together on the web UI (currently called codecraft). But there’s so much more to do: the Pelican-based website, writing material to help get people onboarded, answering tickets, making a better “getting started” experience, etc. —Paul > On Oct 21, 2015, at 3:11 AM, Angel Muñoz gonzalez <scy...@gm...> wrote: > > Hi everyone! > > I can’t help my inner self on this, I would like to be useful on this, it’s been quite a while I have programmed in java and not so quite in python (far from expert in both) and I’m quite married to web technologies right now, but I would be willing to help on this project, I’m watching already the github repos mentioned before. I’ll try to fit somewhere :) > > Daniel > > From: Ben Lewis > Date: Tuesday, October 20, 2015 at 7:35 PM > To: Paul Everitt > Cc: "jyt...@li... <mailto:jyt...@li...>" > Subject: Re: [Jython-users] Anyone interested in helping on a Minecraft plugin project? > > Hi Paul > > I can help with the Gradle stuff, I come from more of the Java side of thing and I am familiar with it. Does it just need to build a jar for each API that includes the compiled classes, configs and the dependencies for that API? > > Ben Lewis > > On Wed, Oct 21, 2015 at 1:18 PM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >> >> Ok, since there is some interest, a little more detail: >> >> - We have a project name of “Jycraft” >> >> - There is a GitHub organization called Jycraft with some repos for different projects: >> >> https://github.com/jycraft <https://github.com/jycraft> >> >> - There’s a GitHub Pages landing page with a lot of “proactively truthful” storytelling/dreaming: >> >> http://jycraft.github.io <http://jycraft.github.io/> >> >> This is the repo that needs attention: >> >> https://github.com/Jycraft/jycraft-server-plugin <https://github.com/Jycraft/jycraft-server-plugin> >> >> I’d love to get some help with Gradle or some other approach to automated builds. After that, let’s get rid of Canary support and simply provide a download for Sponge. After that, a few changes in how we do WebSocket <-> interpreter. >> >> The PyCon call for talks just opened, I believe, and closes in January (I believe.) Wonder if this can make enough progress to submit a paper. I know PyCon 2014 had a Minecraft talk that was very heavily attended. >> >> —Paul >> >>> On Oct 20, 2015, at 8:09 PM, Darjus Loktevic <da...@gm... <mailto:da...@gm...>> wrote: >>> >>> I'd be more than happy to help as well. Python and Minecraft should go hand in hand. >>> >>> Darjus >>> >>> On Wed, Oct 21, 2015 at 8:50 AM Jim Baker <jim...@py... <mailto:jim...@py...>> wrote: >>>> I have no problem holding hands here :) Sometimes I'm limited by time, but such annotation support is now a work priority for me. >>>> >>>> Given that Minecraft Jython support should be a very good demonstration of what Clamp can do, and what we need to work on, I'm especially eager for any and all guinea pigs. Let's do it! >>>> >>>> - Jim >>>> >>>> On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >>>>> Sorry about taking it off-list, was trying to be considerate to others here, as I was coming hat-in-hand. >>>>> >>>>> You and I have talked before about Clamp as a build solution. I’m all for being a guinea pig on Clamp, annotations, etc. but I worry that my huge deficit on Java/Jython building will result in my outsourcing our building to you. :) >>>>> >>>>> But if you’re up for hand-holding, I’ll gladly provide the hands. >>>>> >>>>> —Paul >>>>> >>>>>> On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py... <mailto:jim...@py...>> wrote: >>>>>> >>>>>> Paul, >>>>>> >>>>>> I don't think this needs to be in a private email - threads work well enough :), and this list is very low traffic. >>>>>> >>>>>> Anyway, I'm back from vacation, and I should let you and Ben know that I plan to work next on Clamp's support for Java annotations [1]. We need this for a project using Spring annotations; that it supports Minecraft sounds like a very nice bonus to me. I'm sure others will find this very beneficial as well in their Jython usage. >>>>>> >>>>>> - Jim >>>>>> >>>>>> [1]: https://github.com/jythontools/clamp#supporting-java-annotations <https://github.com/jythontools/clamp#supporting-java-annotations> >>>>>> >>>>>> On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >>>>>>> >>>>>>> To save everybody from a discussion about this on-list, I’ll reply to you in private. >>>>>>> >>>>>>> —Paul >>>>>>> >>>>>>>> On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm... <mailto:ben...@gm...>> wrote: >>>>>>>> >>>>>>>> Hello Paul >>>>>>>> >>>>>>>> Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. >>>>>>>> >>>>>>>> I have put the code on github here https://github.com/skinny121/PySponge <https://github.com/skinny121/PySponge> >>>>>>>> >>>>>>>> The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. >>>>>>>> >>>>>>>> The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. >>>>>>>> >>>>>>>> Ben Lewis >>>>>>>> >>>>>>>> On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: >>>>>>>>> >>>>>>>>>> On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm... <mailto:ste...@gm...>> wrote: >>>>>>>>>> >>>>>>>>>> Hi Paul, >>>>>>>>>> >>>>>>>>>> Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. >>>>>>>>>> >>>>>>>>>> Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if >>>>>>>>>> it would be approachable. >>>>>>>>> >>>>>>>>> It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: >>>>>>>>> >>>>>>>>> http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html <http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html> >>>>>>>>> >>>>>>>>> We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. >>>>>>>>> >>>>>>>>>> >>>>>>>>>>> Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. >>>>>>>>>> >>>>>>>>>> Do you have a link somewhere? >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. >>>>>>>>>> >>>>>>>>>> Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software >>>>>>>>>> bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... >>>>>>>>>> >>>>>>>>>> The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? >>>>>>>>> >>>>>>>>> Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: >>>>>>>>> >>>>>>>>> - Canary (dead) >>>>>>>>> - Spigot (successor to Canary’s API) >>>>>>>>> - Sponge (more ambitious) >>>>>>>>> >>>>>>>>> Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. >>>>>>>>> >>>>>>>>> What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) >>>>>>>>> >>>>>>>>> At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. >>>>>>>>> >>>>>>>>> Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. >>>>>>>>> >>>>>>>>> Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] >>>>>>>>> >>>>>>>>> —Paul >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------------------------------------------------------ >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Jython-users mailing list >>>>>>>>> Jyt...@li... <mailto:Jyt...@li...> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Jython-users mailing list >>>>>>> Jyt...@li... <mailto:Jyt...@li...> >>>>>>> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >>>>>>> >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Jython-users mailing list >>>>> Jyt...@li... <mailto:Jyt...@li...> >>>>> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >>>>> >>>> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jython-users mailing list >> Jyt...@li... <mailto:Jyt...@li...> >> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> >> > > ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... <mailto:Jyt...@li...> https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> |
|
From: Angel M. g. <scy...@gm...> - 2015-10-21 16:50:37
|
Sounds great to me, I’m not familiar with Pelican, but learning doesn’t hurt, I will be trying to be watching closely the repos and mails , right know I’m trying to set up the jycraft.github.io repo in my machine for development mind any help with the pelicanconf.py? Thanks in advance Daniel From: Paul Everitt Date: Wednesday, October 21, 2015 at 6:01 AM To: Angel Muñoz González Cc: "jyt...@li..." Subject: Re: [Jython-users] Anyone interested in helping on a Minecraft plugin project? Even if you aren’t doing much Java, there’s still quite a lot that can be done. Especially if we can get the Java/Jython part under control. We could work together on the web UI (currently called codecraft). But there’s so much more to do: the Pelican-based website, writing material to help get people onboarded, answering tickets, making a better “getting started” experience, etc. —Paul On Oct 21, 2015, at 3:11 AM, Angel Muñoz gonzalez <scy...@gm...> wrote: Hi everyone! I can’t help my inner self on this, I would like to be useful on this, it’s been quite a while I have programmed in java and not so quite in python (far from expert in both) and I’m quite married to web technologies right now, but I would be willing to help on this project, I’m watching already the github repos mentioned before. I’ll try to fit somewhere :) Daniel From: Ben Lewis Date: Tuesday, October 20, 2015 at 7:35 PM To: Paul Everitt Cc: "jyt...@li..." Subject: Re: [Jython-users] Anyone interested in helping on a Minecraft plugin project? Hi Paul I can help with the Gradle stuff, I come from more of the Java side of thing and I am familiar with it. Does it just need to build a jar for each API that includes the compiled classes, configs and the dependencies for that API? Ben Lewis On Wed, Oct 21, 2015 at 1:18 PM, Paul Everitt <pau...@me...> wrote: Ok, since there is some interest, a little more detail: - We have a project name of “Jycraft” - There is a GitHub organization called Jycraft with some repos for different projects: https://github.com/jycraft - There’s a GitHub Pages landing page with a lot of “proactively truthful” storytelling/dreaming: http://jycraft.github.io This is the repo that needs attention: https://github.com/Jycraft/jycraft-server-plugin I’d love to get some help with Gradle or some other approach to automated builds. After that, let’s get rid of Canary support and simply provide a download for Sponge. After that, a few changes in how we do WebSocket <-> interpreter. The PyCon call for talks just opened, I believe, and closes in January (I believe.) Wonder if this can make enough progress to submit a paper. I know PyCon 2014 had a Minecraft talk that was very heavily attended. —Paul On Oct 20, 2015, at 8:09 PM, Darjus Loktevic <da...@gm...> wrote: I'd be more than happy to help as well. Python and Minecraft should go hand in hand. Darjus On Wed, Oct 21, 2015 at 8:50 AM Jim Baker <jim...@py...> wrote: I have no problem holding hands here :) Sometimes I'm limited by time, but such annotation support is now a work priority for me. Given that Minecraft Jython support should be a very good demonstration of what Clamp can do, and what we need to work on, I'm especially eager for any and all guinea pigs. Let's do it! - Jim On Tue, Oct 20, 2015 at 4:41 AM, Paul Everitt <pau...@me...> wrote: Sorry about taking it off-list, was trying to be considerate to others here, as I was coming hat-in-hand. You and I have talked before about Clamp as a build solution. I’m all for being a guinea pig on Clamp, annotations, etc. but I worry that my huge deficit on Java/Jython building will result in my outsourcing our building to you. :) But if you’re up for hand-holding, I’ll gladly provide the hands. —Paul On Oct 19, 2015, at 7:31 PM, Jim Baker <jim...@py...> wrote: Paul, I don't think this needs to be in a private email - threads work well enough :), and this list is very low traffic. Anyway, I'm back from vacation, and I should let you and Ben know that I plan to work next on Clamp's support for Java annotations [1]. We need this for a project using Spring annotations; that it supports Minecraft sounds like a very nice bonus to me. I'm sure others will find this very beneficial as well in their Jython usage. - Jim [1]: https://github.com/jythontools/clamp#supporting-java-annotations On Mon, Oct 19, 2015 at 4:24 PM, Paul Everitt <pau...@me...> wrote: To save everybody from a discussion about this on-list, I’ll reply to you in private. —Paul On Oct 19, 2015, at 5:41 PM, Ben Lewis <ben...@gm...> wrote: Hello Paul Recently I have also been investigating ways of creating minecraft plugins in python. I have came up with a prototype of building plugins on top of the Sponge API. I have put the code on github here https://github.com/skinny121/PySponge The major hurdles for creating a binding is that the different plugin apis all like to use annotations and they often use annotations statically to discovers plugins. The solution I came up with was to simply generate the main plugin java class via a setup script and link to the plugin python files from there. Ben Lewis On Tue, Oct 20, 2015 at 12:14 AM, Paul Everitt <pau...@me...> wrote: On Oct 15, 2015, at 11:48 AM, Stefan Eletzhofer <ste...@gm...> wrote: Hi Paul, Am [DATE] schrieb "Paul Everitt" <[ADDRESS]>: As has been discussed here a few times, Minecraft is a great place for getting kids interested in programming. Python, via Jython, is a great match for that, as the #1 teaching language. Yeah, it is! Two children *love* Minecraft. I guess they'd *love* to teach MC some new tricks if it would be approachable. It certainly has the potential to be quite approachable. Seppe’s original blog post has a screencast showing how you can let people type in Python code, from a browser: http://blog.macuyiko.com/post/2015/rebuilding-our-jython-console-plugin-for-minecraft.html We have other material in a different place (GitHub organization with some repos) but I don’t want to promote that name until it’s clear the project will continue. Seppe vanden Broucke got a Jython-based Minecraft plugin that lets you run Python code that talks to the Minecraft server API, including a websocket-based Web UI for typing in code that is sent over and executed. It’s fascinating stuff. I’m pitching in to work on that frontend and some other project stuff. Do you have a link somewhere? But we need some help on the Java/Jython side if it is going to go anywhere. Even 5 hours of help from someone that knows Java, Gradle/Maven, and Jython would go a long way. I don’t know those things, and am unlikely to learn it well enough in the time I have available. Well -- I don't know about java (cough) but we do have experience in Jython -- our company's software bases on a Jython backend to a PLM System (Jython 2.7, Flask based) ... The problem is I have not the faintest idea how MC works. Any concrete issues / suggestions? Minecraft servers support server-side extension via plugin systems. There are 3 main plugin projects at the moment: - Canary (dead) - Spigot (successor to Canary’s API) - Sponge (more ambitious) Seppe’s code has support for Canary and Spigot. For the most part, it works, but there are some things that could be done. What’s more needed, though, is basic Java/Jython stuff. We don’t have an automated way to build it (e.g Gradle or Maven) which also means we can’t really hook it up to a CI server. (For that matter, we don’t have any tests.) At the point where we want to attract any outsiders, we need to pay attention to some form of distribution. Our build is currently very large and you have to do a few semi-error-prone manual steps to install. Finally, you have to run a web server manually to serve up the static files for the web UI. Would be nice to have the Jython process do that, just to eliminate some steps needed. Beyond that, the sky is the limit. A system where plugin people could create, collaborate, and share little snippets is certainly feasible. And once we get to the point where we can reach out to the Python community, we’ll have plenty of help. But we’re stuck at the moment on Java janitorial work. [wink] —Paul ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li...://lists.sourceforge.net/lists/listinfo/jython-users |
|
From: Paul E. <pau...@me...> - 2015-10-22 12:29:33
|
To Jim, Ben, Darjus, Angel, and Pāvils... If I make some Europe-friendly time slots this weekend to be online in IRC/Gitter, do you think you would be interested in an online Jycraft meeting, to bootstrap things? —Paul |
|
From: Ben L. <ben...@gm...> - 2015-10-23 09:28:18
|
Hi Paul I would be interested but for me It really depends on the time. On Fri, Oct 23, 2015 at 1:29 AM, Paul Everitt <pau...@me...> wrote: > > To Jim, Ben, Darjus, Angel, and Pāvils... If I make some Europe-friendly > time slots this weekend to be online in IRC/Gitter, do you think you would > be interested in an online Jycraft meeting, to bootstrap things? > > —Paul > > ------------------------------------------------------------------------------ > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
|
From: Paul E. <pau...@me...> - 2015-10-23 11:05:16
|
Here are some choices: - Saturday, 9AM Eastern, 15h European - Saturday, 5PM Eastern - Sunday, 9AM Eastern, 15h European - Sunday, 12PM Eastern, 18h European I can do all the slots anybody can make, just let me know your preference for IRC, Gitter, Slack, or Skype. —Paul > On Oct 23, 2015, at 5:28 AM, Ben Lewis <ben...@gm...> wrote: > > Hi Paul > I would be interested but for me It really depends on the time. > > > On Fri, Oct 23, 2015 at 1:29 AM, Paul Everitt <pau...@me... <mailto:pau...@me...>> wrote: > > To Jim, Ben, Darjus, Angel, and Pāvils... If I make some Europe-friendly time slots this weekend to be online in IRC/Gitter, do you think you would be interested in an online Jycraft meeting, to bootstrap things? > > —Paul > ------------------------------------------------------------------------------ > _______________________________________________ > Jython-users mailing list > Jyt...@li... <mailto:Jyt...@li...> > https://lists.sourceforge.net/lists/listinfo/jython-users <https://lists.sourceforge.net/lists/listinfo/jython-users> > |
|
From: Angel D. M. G. <scy...@gm...> - 2015-10-24 00:30:56
|
Well actually Saturday/sunday 9 am and Sunday 12 pm fit well for me, I’m up for slack, gitter and skype (slack is one of my favorites). Daniel Sent from Mail for Windows 10 From: Paul Everitt Sent: Friday, October 23, 2015 5:06 AM To: Ben Lewis Cc: jyt...@li... Subject: Re: [Jython-users] Anyone interested in helping on a Minecraft pluginproject? Here are some choices: - Saturday, 9AM Eastern, 15h European - Saturday, 5PM Eastern - Sunday, 9AM Eastern, 15h European - Sunday, 12PM Eastern, 18h European I can do all the slots anybody can make, just let me know your preference for IRC, Gitter, Slack, or Skype. —Paul On Oct 23, 2015, at 5:28 AM, Ben Lewis <ben...@gm...> wrote: Hi Paul I would be interested but for me It really depends on the time. On Fri, Oct 23, 2015 at 1:29 AM, Paul Everitt <pau...@me...> wrote: To Jim, Ben, Darjus, Angel, and Pāvils... If I make some Europe-friendly time slots this weekend to be online in IRC/Gitter, do you think you would be interested in an online Jycraft meeting, to bootstrap things? —Paul ------------------------------------------------------------------------------ _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |