Re: idle thought: host code on github instead?

2014-07-04 Thread Sam Berlin
FYI -- I've made some progress on this for issue migration.  Starting with
https://github.com/arthur-debert/google-code-issues-migrator as a base,
I've hacked it to upload text-based attachments as gists (and only link the
binary attachments back to codesite, since there's no way to put binary
attachments to issues on github that I know of).

I'm running a trial over https://github.com/sameb/guice-test/issues now...
the script flakes out every so often because github's API seems to return
bad response, so it needs a bit of babysitting to restart... but it
recovers well (without duplicating any data).

Take a glance over the issues in the test repo and let me know if you think
anything needs changing.  If everything looks good, I'll do the actual
migration this week.

And happy July 4th, everyone!

sam


On Tue, May 27, 2014 at 4:31 PM, Sam Berlin sber...@gmail.com wrote:

 What do folks think of the idea?  It'd make accepting patches easier (with
 pull requests, etc), and I'm sure there's other benefits for folks using
 the code too.

 We could also migrate issues if anyone knows a way to do that.

 sam


-- 
You received this message because you are subscribed to the Google Groups 
google-guice group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAJEBNUcSC-WGwri-0Vjj1Sj%2BWNuqRy0Agbp7AM_BVTeDyXq-UA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: idle thought: host code on github instead?

2014-07-04 Thread 'Christian Gruber' via google-guice
Awesome.  Thanks Sam.  I think this will be a great situation once we've
made the transition.  Looking to migrate Guava at some point this quarter,
in all likelihood.


On 4 July 2014 07:28, Sam Berlin sber...@gmail.com wrote:

 FYI -- I've made some progress on this for issue migration.  Starting with
 https://github.com/arthur-debert/google-code-issues-migrator as a base,
 I've hacked it to upload text-based attachments as gists (and only link the
 binary attachments back to codesite, since there's no way to put binary
 attachments to issues on github that I know of).

 I'm running a trial over https://github.com/sameb/guice-test/issues
 now... the script flakes out every so often because github's API seems to
 return bad response, so it needs a bit of babysitting to restart... but it
 recovers well (without duplicating any data).

 Take a glance over the issues in the test repo and let me know if you
 think anything needs changing.  If everything looks good, I'll do the
 actual migration this week.

 And happy July 4th, everyone!

 sam


 On Tue, May 27, 2014 at 4:31 PM, Sam Berlin sber...@gmail.com wrote:

 What do folks think of the idea?  It'd make accepting patches easier
 (with pull requests, etc), and I'm sure there's other benefits for folks
 using the code too.

 We could also migrate issues if anyone knows a way to do that.

 sam


  --
 You received this message because you are subscribed to the Google Groups
 google-guice group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-guice+unsubscr...@googlegroups.com.
 To post to this group, send email to google-guice@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-guice.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-guice/CAJEBNUcSC-WGwri-0Vjj1Sj%2BWNuqRy0Agbp7AM_BVTeDyXq-UA%40mail.gmail.com
 https://groups.google.com/d/msgid/google-guice/CAJEBNUcSC-WGwri-0Vjj1Sj%2BWNuqRy0Agbp7AM_BVTeDyXq-UA%40mail.gmail.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
google-guice group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAHsNDCQM0G8X1c8EKQunKUQn8JJ_3dDVHoGZZE1Ygj2c7Rk6Gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Introducing Blender, an annotation processor to speed Guice up

2014-07-04 Thread steff.nicolas
Hello all,

Mike Burton (the author of RoboGuice 
https://github.com/roboguice/roboguice, a version of Guice adapted to 
Android) and I have been working on a new annotation processor for Guice 
(named Blender).
We have been working hard on this and, in RoboGuice, we gain from 30 to 70% 
gain in speed and around 30% gain in memory footprint for our apps.

*We would like to submit the idea of Blender to the community of Guice devs 
in order to have your feedback on this, and as we hope that Blender can 
become part of the official Guice.*

Here are some *slides* to explain why and how we did it : 
https://speakerdeck.com/stephanenicolas/blender-boosting-guice-with-annotation-processing

We have currently *forked Guice* and tried to make something close to a *PR* 
for it : 
https://github.com/stephanenicolas/google-guice/tree/PR-blender

Please, consider the PR as a preliminary PR, we are not yet fully satisfied 
as it contains quite a lot of changes. But a fair part of these changes 
comes the fact that we have moved Module, AbstractModule and some related 
classes to a new package com.google.inject.config as we added more config 
related classes and felt that it became more clear. But 1) it makes a 
future PR more heavy, 2) would break backward compatibility for custom 
modules. 

We are very excited to submit Blender, and we are very open to modify our 
implementation to make it fit in Guice and we are eager to get feedback on 
it.

Thanks in advance,
 Stéphane







-- 
You received this message because you are subscribed to the Google Groups 
google-guice-dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice-dev+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/d/optout.