jnidirect-development Mailing List for JNIDirect
Status: Alpha
Brought to you by:
pcbeard
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ben...@id...> - 2004-05-22 12:31:38
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Mike H. <mik...@sp...> - 2003-06-22 14:25:19
|
As a feature request is there any chance something can be done as far as getting the actual pointer for an array or getting a byte[] returned from a pointer. Usually you can fairly safely treat a byte[] as a pointer to some bytes and you can create and copy a byte array from a pointer. But sometimes you actually want an int pointer for that byte array and you would rather not have to copy a byte array from a pointer but get an actual byte array anchored at the pointer. I've had something not working for a while that I'm starting to think is coming down to this as the problem. Almost willing to go even money that if I eliminate some of my code that copies instead of using the original 'real' pointer will correct the problem. Even if it doesn't fix it at this point, I would feel better about the struct type classes that I'm attempting to provide if this functionality could be incorporated. I know you, Patrick Beard, not sure who else if anyone will follow this list at this point, have in the past indicated not seeing a need for struct type classes at all, but I have them and would like them to work as well as possible. Most likely fairly easily done on the JNI side and if you don't want to add the functionality I will probably try to figure it out myself sometime. But impossible I think on the java side and about all of my efforts regarding JNIDirect for now remain there. Mike Hall <mik...@sp...> <http://www.spacestar.net/users/mikehall> |
From: Mike H. <mik...@sp...> - 2003-06-22 14:14:04
|
I think the code in Linker doesn't work for this, I changed it to... InputStream inout = compiler.getInputStream(); InputStream inerr = compiler.getErrorStream(); byte []buffer = new byte[256]; while (true) { int stderrLen = inerr.read(buffer, 0, buffer.length); if (stderrLen > 0) { dataout.append(new String(buffer, 0, stderrLen)); } int stdoutLen = inout.read(buffer, 0, buffer.length); if (stdoutLen > 0) { dataout.append(new String(buffer, 0, stdoutLen)); } if (stderrLen < 0 && stdoutLen < 0) break; } if (status == 0) return libraryFile; System.out.println(dataout.toString()); /* BufferedReader reader = new BufferedReader(new InputStreamReader(compiler.getErrorStream())); String line = reader.readLine(); while (line != null) { System.out.println(line); line = reader.readLine(); } */ I made a few other changes to append information to dataout as appropriate, attempting to only output it on compile errors. That was a while ago, not remembering a lot of details but it amounted to compiles were failing quietly due to link errors and I was missing it. My own errors in identifying frameworks or whatever. But catching those is what I think this is for. Mike Hall <mik...@sp...> <http://www.spacestar.net/users/mikehall> |