Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
(8) |
Dec
(51) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(105) |
Feb
(93) |
Mar
(194) |
Apr
(145) |
May
(100) |
Jun
(111) |
Jul
(117) |
Aug
(126) |
Sep
(233) |
Oct
(138) |
Nov
(164) |
Dec
(109) |
2002 |
Jan
(216) |
Feb
(175) |
Mar
(216) |
Apr
(194) |
May
(157) |
Jun
(140) |
Jul
(158) |
Aug
(73) |
Sep
(105) |
Oct
(164) |
Nov
(104) |
Dec
(95) |
2003 |
Jan
(72) |
Feb
(69) |
Mar
(81) |
Apr
(151) |
May
(101) |
Jun
(139) |
Jul
(99) |
Aug
(118) |
Sep
(115) |
Oct
(151) |
Nov
(161) |
Dec
(102) |
2004 |
Jan
(120) |
Feb
(175) |
Mar
(106) |
Apr
(111) |
May
(54) |
Jun
(78) |
Jul
(76) |
Aug
(105) |
Sep
(94) |
Oct
(143) |
Nov
(75) |
Dec
(85) |
2005 |
Jan
(99) |
Feb
(77) |
Mar
(164) |
Apr
(97) |
May
(79) |
Jun
(57) |
Jul
(65) |
Aug
(102) |
Sep
(95) |
Oct
(129) |
Nov
(123) |
Dec
(52) |
2006 |
Jan
(48) |
Feb
(99) |
Mar
(90) |
Apr
(51) |
May
(81) |
Jun
(136) |
Jul
(56) |
Aug
(109) |
Sep
(50) |
Oct
(44) |
Nov
(74) |
Dec
(75) |
2007 |
Jan
(92) |
Feb
(137) |
Mar
(93) |
Apr
(79) |
May
(52) |
Jun
(74) |
Jul
(143) |
Aug
(175) |
Sep
(154) |
Oct
(137) |
Nov
(88) |
Dec
(90) |
2008 |
Jan
(58) |
Feb
(113) |
Mar
(167) |
Apr
(88) |
May
(105) |
Jun
(37) |
Jul
(87) |
Aug
(72) |
Sep
(56) |
Oct
(41) |
Nov
(102) |
Dec
(70) |
2009 |
Jan
(115) |
Feb
(113) |
Mar
(126) |
Apr
(58) |
May
(125) |
Jun
(45) |
Jul
(90) |
Aug
(125) |
Sep
(84) |
Oct
(61) |
Nov
(111) |
Dec
(61) |
2010 |
Jan
(85) |
Feb
(86) |
Mar
(130) |
Apr
(58) |
May
(57) |
Jun
(32) |
Jul
(25) |
Aug
(50) |
Sep
(41) |
Oct
(65) |
Nov
(63) |
Dec
(24) |
2011 |
Jan
(43) |
Feb
(31) |
Mar
(28) |
Apr
(68) |
May
(53) |
Jun
(42) |
Jul
(58) |
Aug
(26) |
Sep
(51) |
Oct
(76) |
Nov
(60) |
Dec
(9) |
2012 |
Jan
(16) |
Feb
(32) |
Mar
(32) |
Apr
(39) |
May
(16) |
Jun
(19) |
Jul
(3) |
Aug
(11) |
Sep
(35) |
Oct
(47) |
Nov
(28) |
Dec
(18) |
2013 |
Jan
(18) |
Feb
(36) |
Mar
(10) |
Apr
(7) |
May
(7) |
Jun
(27) |
Jul
(17) |
Aug
(35) |
Sep
(19) |
Oct
(31) |
Nov
(8) |
Dec
(22) |
2014 |
Jan
(5) |
Feb
(11) |
Mar
(18) |
Apr
(23) |
May
(26) |
Jun
(14) |
Jul
(18) |
Aug
(26) |
Sep
(20) |
Oct
(48) |
Nov
(13) |
Dec
(9) |
2015 |
Jan
(9) |
Feb
(15) |
Mar
(25) |
Apr
(10) |
May
(26) |
Jun
(6) |
Jul
(13) |
Aug
(5) |
Sep
(14) |
Oct
(36) |
Nov
(24) |
Dec
(18) |
2016 |
Jan
(24) |
Feb
(11) |
Mar
(1) |
Apr
(6) |
May
(7) |
Jun
(3) |
Jul
(9) |
Aug
(15) |
Sep
(22) |
Oct
(5) |
Nov
(5) |
Dec
(2) |
2017 |
Jan
(20) |
Feb
(4) |
Mar
(4) |
Apr
(1) |
May
(5) |
Jun
(7) |
Jul
(14) |
Aug
(9) |
Sep
(18) |
Oct
(2) |
Nov
(3) |
Dec
(3) |
2018 |
Jan
(7) |
Feb
(6) |
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
(2) |
2
(3) |
3
(2) |
4
|
5
(7) |
6
(5) |
7
(4) |
8
|
9
|
10
|
11
|
12
|
13
(1) |
14
(6) |
15
(2) |
16
|
17
(4) |
18
|
19
(2) |
20
(3) |
21
(4) |
22
(6) |
23
|
24
|
25
(7) |
26
(5) |
27
(2) |
28
|
29
|
30
|
31
|
|
|
|
|
|
|
From: Jeff Emanuel <jemanuel@fr...> - 2010-10-22 16:48:53
|
Try something like this to tell Jython to use a classloader that first looks to the classloader that loaded your bot before trying its usual classloader. class MyClassLoader extends ClassLoader { ClassLoader other; MyClassLoader(ClassLoader parent, ClassLoader other) { super(parent); this.other=other; } protected Class findClass(String className) throws ClassNotFoundException { try { return super.findClass(className); } catch (ClassNotFoundException e) { return this.other.findClass(className); } } engineSys.setClassLoader(new MyClassLoader(bot.getClass().getClassLoader(),engineSys.getClassLoader())); Geoff Bache wrote: > Hi Stefan, Jeff, > > I have tried that and it works. Of course it isn't really that useful, > because I can't just go on defining all my objects in Java or there > would be no point in using Jython :) One interesting thing is that the > "isinstance" call in Jython now returns False, so Jython and Java > clearly have different ideas of what constitutes org.hamcrest.Matcher. > > I tried to make PySystemState work, but got into a horrible CLASSPATH > mess with Eclipse and jython.jar that I haven't yet got my head round. > In any case, the point of using JSR-223 was to get a generic interface > for any dynamic language, and importing Jython things directly kind of > defeats the object there. > > Also, it surely shouldn't be necessary? I tried replacing the > SWTWorkbenchBot with a class that just did this: > > import org.hamcrest.Matcher; > > public class Method { > > public void doSomething(Matcher matcher) throws Exception { > System.out.println(matcher.matches(matcher)); > } > } > > and then it worked just fine. > > Basically, it seems rather like a bug. But I'm still a bit unsure on > how to investigate it further. > > Regards, > Geoff > > > On Fri, Oct 22, 2010 at 12:58 PM, Stefan Sonnenberg-Carstens > <stefan.sonnenberg@...> wrote: > >> Or, have you tried this: >> >> SWTWorkbenchBot bot = new SWTWorkbenchBot(); >> ScriptEngine engine = new ScriptEngineManager().getEngineByExtension("py"); >> org.hamcrest.Matcher matcher = new org.hamcrest.core.IsAnything(); >> engine.put("bot", bot); >> engine.put("matcher", matcher); >> engine.eval("allWidgets = bot.widgets(matcher)"); >> >> And perhaps, you need to create a PySystemState: >> http://wiki.python.org/jython/UserGuide#using-jsr-223 >> >> The classloader lives in sys, so perhaps this solves your issue. >> >> Am Fr, 22.10.2010, 10:21 schrieb Geoff Bache: >> >>> Hi Jeff, >>> >>> >>>> My guess is that there is a classloader mismatch. Perhaps IsAnything >>>> and >>>> its superclasses/interfaces are loaded by one classloader, but those >>>> accessed >>>> through the `bot` instance are from another. >>>> >>> I imagine you may be right. Can you give me some hints as to what to >>> do about it? >>> Googling "Jython classloader mismatch" didn't find much and I'm pretty new >>> to >>> Jython and indeed to Java also. >>> >>> I'm using JSR-223, so the "bot" object is created in Java code like this. >>> >>> SWTWorkbenchBot bot = new SWTWorkbenchBot(); >>> ScriptEngine engine = new >>> ScriptEngineManager().getEngineByExtension("py"); >>> engine.put("bot", bot); >>> engine.eval(reader); >>> >>> where "reader" is reading the Python code I sent before. This is a >>> workaround for >>> another issue, that the "SWTWorkbenchBot" cannot be constructed in Jython >>> for >>> some reason. >>> >>> I translated your example code to also do something like this and it >>> worked fine >>> though. >>> >>> Regards, >>> Geoff >>> >>> ------------------------------------------------------------------------------ >>> Nokia and AT&T present the 2010 Calling All Innovators-North America >>> contest >>> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >>> marketing >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>> http://p.sf.net/sfu/nokia-dev2dev >>> _______________________________________________ >>> Jython-users mailing list >>> Jython-users@... >>> https://lists.sourceforge.net/lists/listinfo/jython-users >>> >>> >>> >> -- >> MfG, >> >> Stefan Sonnenberg-Carstens >> >> IT Architect >> - Project management >> - System analysis, design and build >> - Security and business continuity >> - IT risk management >> >> > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Jython-users mailing list > Jython-users@... > https://lists.sourceforge.net/lists/listinfo/jython-users > |
From: Stefan Behnel <stefan_ml@be...> - 2010-10-22 16:09:55
|
Geoff Bache, 21.10.2010 14:49: > I'm currently trying to make SWTBot, a tool for testing Java SWT GUIs, > work from Jython. > (See https://bugs.eclipse.org/bugs/show_bug.cgi?id=328342 for more details) > > I ran into a bit of an issue with a Java Generic Note that generics are a pure compile time thing in Java. There is no runtime type checking of parametrised types in the JVM, and they are only barely introspectable. So there isn't really much interference with Jython. Stefan |
From: Geoff Bache <geoff.bache@gm...> - 2010-10-22 15:44:58
|
Hi Stefan, Jeff, I have tried that and it works. Of course it isn't really that useful, because I can't just go on defining all my objects in Java or there would be no point in using Jython :) One interesting thing is that the "isinstance" call in Jython now returns False, so Jython and Java clearly have different ideas of what constitutes org.hamcrest.Matcher. I tried to make PySystemState work, but got into a horrible CLASSPATH mess with Eclipse and jython.jar that I haven't yet got my head round. In any case, the point of using JSR-223 was to get a generic interface for any dynamic language, and importing Jython things directly kind of defeats the object there. Also, it surely shouldn't be necessary? I tried replacing the SWTWorkbenchBot with a class that just did this: import org.hamcrest.Matcher; public class Method { public void doSomething(Matcher matcher) throws Exception { System.out.println(matcher.matches(matcher)); } } and then it worked just fine. Basically, it seems rather like a bug. But I'm still a bit unsure on how to investigate it further. Regards, Geoff On Fri, Oct 22, 2010 at 12:58 PM, Stefan Sonnenberg-Carstens <stefan.sonnenberg@...> wrote: > Or, have you tried this: > > SWTWorkbenchBot bot = new SWTWorkbenchBot(); > ScriptEngine engine = new ScriptEngineManager().getEngineByExtension("py"); > org.hamcrest.Matcher matcher = new org.hamcrest.core.IsAnything(); > engine.put("bot", bot); > engine.put("matcher", matcher); > engine.eval("allWidgets = bot.widgets(matcher)"); > > And perhaps, you need to create a PySystemState: > http://wiki.python.org/jython/UserGuide#using-jsr-223 > > The classloader lives in sys, so perhaps this solves your issue. > > Am Fr, 22.10.2010, 10:21 schrieb Geoff Bache: >> Hi Jeff, >> >>> My guess is that there is a classloader mismatch. Perhaps IsAnything >>> and >>> its superclasses/interfaces are loaded by one classloader, but those >>> accessed >>> through the `bot` instance are from another. >> >> I imagine you may be right. Can you give me some hints as to what to >> do about it? >> Googling "Jython classloader mismatch" didn't find much and I'm pretty new >> to >> Jython and indeed to Java also. >> >> I'm using JSR-223, so the "bot" object is created in Java code like this. >> >> SWTWorkbenchBot bot = new SWTWorkbenchBot(); >> ScriptEngine engine = new >> ScriptEngineManager().getEngineByExtension("py"); >> engine.put("bot", bot); >> engine.eval(reader); >> >> where "reader" is reading the Python code I sent before. This is a >> workaround for >> another issue, that the "SWTWorkbenchBot" cannot be constructed in Jython >> for >> some reason. >> >> I translated your example code to also do something like this and it >> worked fine >> though. >> >> Regards, >> Geoff >> >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America >> contest >> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >> marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> Jython-users mailing list >> Jython-users@... >> https://lists.sourceforge.net/lists/listinfo/jython-users >> >> > > > -- > MfG, > > Stefan Sonnenberg-Carstens > > IT Architect > - Project management > - System analysis, design and build > - Security and business continuity > - IT risk management > |
From: Stefan Sonnenberg-Carstens <stefan.sonnenberg@py...> - 2010-10-22 11:09:07
|
Or, have you tried this: SWTWorkbenchBot bot = new SWTWorkbenchBot(); ScriptEngine engine = new ScriptEngineManager().getEngineByExtension("py"); org.hamcrest.Matcher matcher = new org.hamcrest.core.IsAnything(); engine.put("bot", bot); engine.put("matcher", matcher); engine.eval("allWidgets = bot.widgets(matcher)"); And perhaps, you need to create a PySystemState: http://wiki.python.org/jython/UserGuide#using-jsr-223 The classloader lives in sys, so perhaps this solves your issue. Am Fr, 22.10.2010, 10:21 schrieb Geoff Bache: > Hi Jeff, > >> My guess is that there is a classloader mismatch. Perhaps IsAnything >> and >> its superclasses/interfaces are loaded by one classloader, but those >> accessed >> through the `bot` instance are from another. > > I imagine you may be right. Can you give me some hints as to what to > do about it? > Googling "Jython classloader mismatch" didn't find much and I'm pretty new > to > Jython and indeed to Java also. > > I'm using JSR-223, so the "bot" object is created in Java code like this. > > SWTWorkbenchBot bot = new SWTWorkbenchBot(); > ScriptEngine engine = new > ScriptEngineManager().getEngineByExtension("py"); > engine.put("bot", bot); > engine.eval(reader); > > where "reader" is reading the Python code I sent before. This is a > workaround for > another issue, that the "SWTWorkbenchBot" cannot be constructed in Jython > for > some reason. > > I translated your example code to also do something like this and it > worked fine > though. > > Regards, > Geoff > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Jython-users mailing list > Jython-users@... > https://lists.sourceforge.net/lists/listinfo/jython-users > > -- MfG, Stefan Sonnenberg-Carstens IT Architect - Project management - System analysis, design and build - Security and business continuity - IT risk management |
From: Stefan Sonnenberg-Carstens <stefan.sonnenberg@py...> - 2010-10-22 11:08:59
|
So your program looks basically like this: SWTWorkbenchBot bot = new SWTWorkbenchBot(); ScriptEngine engine = new ScriptEngineManager().getEngineByExtension("py"); engine.put("bot", bot); engine.eval(StringReader("matcher = org.hamcrest.core.IsAnything()\n print isinstance(matcher, org.hamcrest.Matcher)\n allWidgets = bot.widgets(matcher)")); Perhaps you could for once try without the Reader object: SWTWorkbenchBot bot = new SWTWorkbenchBot(); ScriptEngine engine = new ScriptEngineManager().getEngineByExtension("py"); engine.put("bot", bot); engine.eval("matcher = org.hamcrest.core.IsAnything()\n print isinstance(matcher, org.hamcrest.Matcher)\n allWidgets = bot.widgets(matcher)"); Am Fr, 22.10.2010, 10:21 schrieb Geoff Bache: > Hi Jeff, > >> My guess is that there is a classloader mismatch. Perhaps IsAnything >> and >> its superclasses/interfaces are loaded by one classloader, but those >> accessed >> through the `bot` instance are from another. > > I imagine you may be right. Can you give me some hints as to what to > do about it? > Googling "Jython classloader mismatch" didn't find much and I'm pretty new > to > Jython and indeed to Java also. > > I'm using JSR-223, so the "bot" object is created in Java code like this. > > SWTWorkbenchBot bot = new SWTWorkbenchBot(); > ScriptEngine engine = new > ScriptEngineManager().getEngineByExtension("py"); > engine.put("bot", bot); > engine.eval(reader); > > where "reader" is reading the Python code I sent before. This is a > workaround for > another issue, that the "SWTWorkbenchBot" cannot be constructed in Jython > for > some reason. > > I translated your example code to also do something like this and it > worked fine > though. > > Regards, > Geoff > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America > contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in > marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Jython-users mailing list > Jython-users@... > https://lists.sourceforge.net/lists/listinfo/jython-users > > -- MfG, Stefan Sonnenberg-Carstens |
From: Geoff Bache <geoff.bache@gm...> - 2010-10-22 08:22:03
|
Hi Jeff, > My guess is that there is a classloader mismatch. Perhaps IsAnything and > its superclasses/interfaces are loaded by one classloader, but those > accessed > through the `bot` instance are from another. I imagine you may be right. Can you give me some hints as to what to do about it? Googling "Jython classloader mismatch" didn't find much and I'm pretty new to Jython and indeed to Java also. I'm using JSR-223, so the "bot" object is created in Java code like this. SWTWorkbenchBot bot = new SWTWorkbenchBot(); ScriptEngine engine = new ScriptEngineManager().getEngineByExtension("py"); engine.put("bot", bot); engine.eval(reader); where "reader" is reading the Python code I sent before. This is a workaround for another issue, that the "SWTWorkbenchBot" cannot be constructed in Jython for some reason. I translated your example code to also do something like this and it worked fine though. Regards, Geoff |