Author Topic: Digital Playground  (Read 10260 times)

0 Members and 3 Guests are viewing this topic.

RobbeK

  • Guest
Digital Playground
« on: July 10, 2014, 03:07:18 PM »
.. I tried Clojure --   needed Eclipse ,    then some plug-ins ,    and then I needed Leiningen to get it working , and some other things ..   then I found out it could not do a simple square root without an extra math module ..
(it went where it belongs ...  )

For FB the math libraries from Mr Jean Debord are superb (much easier than the GNU scientific lib ) -- you even can run DISLIN from the  Max-Planck-Institut für Sonnensystemforschung under FB.

..  and speedy ..   (developing / compiling / running )   ..

attached, written in about half an hour ..  Mandelbrot but accepting any !!! coefficient (even complex)

f(z) = z^p+c  (where c=zo  p::complex)  .. hope it works without the DLLs  -- uses japi too

.

JRS

  • Guest
Re: Digital Playground
« Reply #1 on: July 10, 2014, 03:14:28 PM »
I'm really happy JAPI found a friend. Could use an updated set of clothes.

Mike Lobanovsky

  • Guest
Re: Digital Playground
« Reply #2 on: July 10, 2014, 05:38:01 PM »
Hi Rob,

Your program attempts to secretly connect to the net. Is this an intended behavior? I usually wipe such programs mercilessly from my disks and never give them a second chance.

JRS

  • Guest
Re: Digital Playground
« Reply #3 on: July 10, 2014, 05:46:36 PM »
The JAPI DLL uses a socket connection to JRE. It might be what you are seeing.

Aurel

  • Guest
Re: Digital Playground
« Reply #4 on: July 10, 2014, 09:02:50 PM »
Quote
Your program attempts to secretly connect to the net. Is this an intended behavior? I usually wipe such programs mercilessly from my disks and never give them a second chance.

what ...
I agree with Mike ...that is one of the reasons why i hate qb64...
he try to connect to internet to check for update....no way >:(

JRS

  • Guest
Re: Digital Playground
« Reply #5 on: July 10, 2014, 09:35:59 PM »
Let us not burn the witch before we know the crimes.

« Last Edit: July 10, 2014, 09:42:42 PM by o2admin »

RobbeK

  • Guest
Re: Digital Playground
« Reply #6 on: July 11, 2014, 12:36:01 AM »
Hi all,

@ Mike,  .. as John says , it's just the connection with the JAVA gui server (completely internal) ; probably (and considering the age of JAPI  (2002 ?) it uses a port below 1024 which nowadays needs administrator privileges. (also probably the windows warning could have been more subtile).
More modern JAVA applications will use much higher ports , iirc NewLisp uses 47011 / 47012.
I don't think I have any options about this with JAPI - there is not something as j_start 10000 a protocol that is used in more modern apps.     

@John  -- I think I'll mail Mr Merten - Swing has "look.and.feel"   (and window .manifest files) to change  ..  well, the look and feel  8) In the mean time he knows his brainchild is still used ...

best Rob

oops addendum : you only have to do it once / executable -- the second and further runs will have this privilege ..
« Last Edit: July 11, 2014, 01:08:02 AM by RobbeK »

JRS

  • Guest
Re: Digital Playground
« Reply #7 on: July 11, 2014, 08:55:49 AM »
Quote
I think I'll mail Mr Merten

Good luck with that. I was unsuccessful in my attempts.

RobbeK

  • Guest
Re: Digital Playground
« Reply #8 on: July 11, 2014, 10:35:42 AM »
Hi John,

i"ll give it a try in German (though his name is extremely Dutch).
(we"ll see)

I added the metal look & feel into the source , I"ll download JDK to make the JAR file and gcc to make the DLL -- ( i have no experience with java  :-\   -- under windows it's easy -- one just sets up a *.manifest file (where * = anyapplication.exe , it just contains an XML file with the needed gadgets ) ..  I use this for GFA executables (a compiler with a gui from before the XP look ).

Even Wine has wincfg to change the look ..  strange it is somewhat complicated in JAVA , or am I overlooking something ?????

best Rob
« Last Edit: July 11, 2014, 10:43:59 AM by RobbeK »

JRS

  • Guest
Re: Digital Playground
« Reply #9 on: July 11, 2014, 11:04:06 AM »
I hope you're using my updated JAPI SWING effort that has tons of deprecation issues addressed. (Disclaimer: I'm also not a Java programmer)

RobbeK

  • Guest
Re: Digital Playground
« Reply #10 on: July 11, 2014, 01:55:01 PM »
Yes, John -- using everything i downloaded ...

Playing with the FB Jean Debord library turned out fruitful  -- got both Japi and the Math module working in Clozure Common Lisp.
(via FB as foreign functions )

Those " broken exponents" in Julia mappings are interesting ( ps you can not use De Moivre's formulae when the exponent is complex --  but it's all there in FB ..)    (well, it's standard in Common Lisp , but that a basic programming language (with a lib) can do this (and at higher speed than Lisp (compared it with Steel Bank CL (should be the fastest)) is very good to know ).
 
Attached : Clozure Common Lisp using an FB generated dll   -- less than 10 sec

best Rob

.

JRS

  • Guest
Re: Digital Playground
« Reply #11 on: July 12, 2014, 12:53:55 AM »
Quote
Yes, John -- using everything i downloaded ...

From where? I don't remember posting the updated JAPI stuff to the Script BASIC forum. I think that was a All BASIC project. I will dig up my latest build / source and attach the zip for you. (tomorrow, going to bed now)
« Last Edit: July 12, 2014, 10:08:36 AM by John »

JRS

  • Guest
Re: Digital Playground
« Reply #12 on: July 12, 2014, 10:06:37 AM »
Rob,

Attached is the SB JAPI specific work and where I left off and the Java deprecation fixes I did for the SWING (never released) version of JAPI.

John

.

JRS

  • Guest
Re: Digital Playground
« Reply #13 on: July 12, 2014, 01:18:07 PM »
I don't know Robot and thought it would be fun to share what my vision of what he might be like.  ;D



RobbeK

  • Guest
Re: Digital Playground
« Reply #14 on: July 12, 2014, 02:23:04 PM »
 ;)

downloaded -- c where it leads  .. either robbish or rubbish, I expect ( i never studied JAVA, but I'll give it a try).

best Rob