[racket] How to call a Julia function from DrRacket?
>Date: Fri, 31 Jan 2014 11:16:38 -0700
>From: Neil Toronto <neil.toronto at gmail.com>
>Enrique, if you don't mind my asking, where does Racket's math library
>fall short for the study you have in mind? (Its floating-point support
>shouldn't, especially if you work in Typed Racket.) I'm one of its
>authors, so I'm looking for suggestions.
>Neil ?
Hi Neil:
First, congratulations for the Plot library and the great Math library.
Concerning the idea to call Julia functions from DrRacket: it is because I'm working on the visualization of trajectories of sets of points in R^3 that evolve subjects to a different sets of ODE.
I plan to translate my Racket code to Typed/Racket, as you suggest. But in the short term, I was experimenting with Julia and found a very good performance. On the other hand, calling Julia functions could be similar to calling WxMaxima functions, and its capability with symbolic computation, would be also interesting to integrate.
With respect to the Plot library, it is really a work of art. I teach undergraduate courses in Linear algebra, Differential equations and Numerical Methods, and in all courses I use DrRacket in different degrees.
Thank you again for your great work.
Sincerely, Enrique
________________________________
From: "users-request at racket-lang.org" <users-request at racket-lang.org>
To: users at racket-lang.org
Sent: Friday, January 31, 2014 4:18 PM
Subject: users Digest, Vol 101, Issue 99
Send users mailing list submissions to
users at racket-lang.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.racket-lang.org/users/listinfo
or, via email, send a message with subject or body 'help' to
users-request at racket-lang.org
You can reach the person managing the list at
users-owner at racket-lang.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
[Racket Users list:
http://lists.racket-lang.org/users ]
Today's Topics:
1. Re: How to call a Julia function from DrRacket? (Neil Toronto)
2. Block diagram drawing library (Mark Watts)
3. Re: [racket-dev] xlsx file parser (Jay McCarthy)
4. Package Catalog online (Jay McCarthy)
5. Racket v5.93 (Ryan Culpepper)
6. Re: SRFI-34's guard (????)
----------------------------------------------------------------------
Message: 1
Date: Fri, 31 Jan 2014 11:16:38 -0700
From: Neil Toronto <neil.toronto at gmail.com>
To: users at racket-lang.org
Subject: Re: [racket] How to call a Julia function from DrRacket?
Message-ID: <52EBE886.20607 at gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Enrique, if you don't mind my asking, where does Racket's math library
fall short for the study you have in mind? (Its floating-point support
shouldn't, especially if you work in Typed Racket.) I'm one of its
authors, so I'm looking for suggestions.
Neil ?
On 01/31/2014 06:45 AM, Matthew Flatt wrote:
> It looks like Julia doesn't provide a foreign interface (e.g., to call
> Julia from C). So, I think that you'll have to run Julia in a separate
> process via `process` or `subprocess` and communicate with the process
> through stdin and stdout.
>
> At Wed, 29 Jan 2014 16:58:29 -0800 (PST), E Comer wrote:
>> Hi Racket developers, programmers and users:
>>
>> Is there a way to call a Julia function from DrRacket? [I'm trying to integrate
>> the number crunching capabilities of Julia with the nice graphics of the Plot
>> module in Racket, to study some properties of particular dynamical systems]
>>
>> Thank you very much for your support.
>>
>> Enrique____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
------------------------------
Message: 2
Date: Fri, 31 Jan 2014 15:28:03 -0600
From: Mark Watts <miraiwarren at gmail.com>
To: users at racket-lang.org
Subject: [racket] Block diagram drawing library
Message-ID:
<CAMd3DFaUFj4+vJL7EYWPiMVknhU4T1tWN1UsTGtsBRbLisU8OA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Has anyone written a node drawing library using racket drawing code?
I want to try out a visual programming paradigm that gives programmers a
set of primitive constraint nodes like those depicted here:
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-22.html#%_sec_3.3.5and
allows them to construct networks of constraints by drawing connectors
between constraints. If someone has written something like this before, it
would save me some time figuring out how to do it myself.
--
Cheers,
Mark Watts
Department of Computer Science
University of Texas at Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140131/5ddfd2e5/attachment-0001.html>
------------------------------
Message: 3
Date: Fri, 31 Jan 2014 14:31:32 -0700
From: Jay McCarthy <jay.mccarthy at gmail.com>
To: Matthias Felleisen <matthias at ccs.neu.edu>
Cc: "users at racket-lang.org Users" <users at racket-lang.org>
Subject: Re: [racket] [racket-dev] xlsx file parser
Message-ID:
<CAJYbDakmKv=vpk_FdcUHKvnoN8vF8L13t0OwqNbhrp+h9Xj0fg at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
We just installed a new certificate and everything should be back in
order. It took a little while to get the certificate, which is what
slowed down the fix.
Jay
On Fri, Jan 31, 2014 at 9:10 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> I believe that the Package manager is working on this problem.
>
>
> On Jan 31, 2014, at 11:00 AM, Chen Xiao <chenxiao770117 at gmail.com> wrote:
>
>> But I can't login in package system, I input email and password, no response any more.
>>
>> I use safari and firefox to try , but not works.
>>
>> some wrong with package login?
>>
>>
>> 2014-01-31 Chen Xiao <chenxiao770117 at gmail.com>:
>> Thanks!
>>
>>
>> 2014-01-31 Matthias Felleisen <matthias at ccs.neu.edu>:
>>
>>
>> Place it on
>>
>> http://pkgs.racket-lang.org/#(!main-distribution)(!main-tests)
>>
>> which is the new package server. It's particularly easy if you developed on Github.
>>
>>
>> On Jan 30, 2014, at 10:38 PM, Chen Xiao wrote:
>>
>> > Hi, guys:
>> >
>> > I wrote a office xlsx file parser. I wonder where place it? Can I commit it to racket core source? Or place it on planet?
>> >
>> > Chen Xiao
>> > _________________________
>> > Racket Developers list:
>> > http://lists.racket-lang.org/dev
>>
>>
>>
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
------------------------------
Message: 4
Date: Fri, 31 Jan 2014 15:00:42 -0700
From: Jay McCarthy <jay.mccarthy at gmail.com>
To: users <users at racket-lang.org>
Subject: [racket] Package Catalog online
Message-ID:
<CAJYbDan5=jaQwEUopuJKYdVnpws6pg3Jd3t+8g38eh_BWzbdMw at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
The package catalog---pkgs.racket-lang.org---has been read-only for
about a week because the SSL certificate expired and most browsers
silently drop JS messages to HTTPS servers without good certificates
so upload, edit, and login messages were being dropped.
A new certificate is in place that will last until 2015/02/01, and
we'll be ready to renew next year early so there's no downtime.
Sorry for the inconvenience: you should be able to add packages as you like now.
Jay
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
------------------------------
Message: 5
Date: Fri, 31 Jan 2014 18:40:43 -0500
From: Ryan Culpepper <ryanc at ccs.neu.edu>
To: users at racket-lang.org
Subject: [racket] Racket v5.93
Message-ID: <52EC347B.2020504 at ccs.neu.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Racket v5.93 is now available from
http://racket-lang.org/
Version 5.93 repairs a few problems with the recent v5.92 release (in
preparation for a v6.0 release):
* fixed a low-level concurrency problem with the GUI library for Mac
OS X, which especially affected 32-bit builds;
* fixed GRacket-based launchers (such as `drracket`) in a Unix-style
installation;
* expanded the list of recognized OpenSSL library versions;
* fixed small CSS problems and inconsistencies (relative to v5.3.6) in
the new Scribble style as used by the Racket documentation; and
* added the version number back to the "racket" directory within the
source distribution bundle.
------------------------------
Message: 6
Date: Sat, 1 Feb 2014 09:18:24 +0900
From: ???? <masashi.kameda at gmail.com>
To: Matthew Flatt <mflatt at cs.utah.edu>
Cc: users <users at racket-lang.org>
Subject: Re: [racket] SRFI-34's guard
Message-ID:
<CANcsjvhhmSHV9CX2nsrb=-xYhAS-ZO8Oy4gRXHO=nm95MKKujg at mail.gmail.com>
Content-Type: text/plain; charset="iso-2022-jp"
Thanks for telling me.
This time, I'd just given up and I used Racket's with-handlers for my
brainf*ck interpreter.
Thanx.
2014-01-31 Matthew Flatt <mflatt at cs.utah.edu>:
> The SRFI-34 port is old and was defined to recognize `else` as an
> unbound identifier, compatible with the old `mzscheme` language.
>
> I've pushed a repair to make `srfi/34` work with `racket` (but
> maintaining backward compatibility, too).
>
> Meanwhile, you can work around the problem by using `#t` instead of
> `else` (as you probably already realize).
>
> Thanks for the report!
>
> At Wed, 29 Jan 2014 00:20:14 +0900, ???? wrote:
> > Hello.
> >
> > I'd like to use SRFI-34 on Racket, but it says else is not allowed
> > eventhough I copied and paseted sample codes stated in SRFI-34.
> >
> > > (require srfi/34)
> > > (guard (condition
> > (else
> > (display "condition: ")
> > (write condition)
> > (newline)
> > 'exception))
> > (+ 1 (raise 'an-error)))
> > . else: not allowed as an expression in: else
> > > (guard (condition
> > (else
> > (display "something went wrong")
> > (newline)
> > 'dont-care))
> > (+ 1 (raise 'an-error)))
> > . else: not allowed as an expression in: else
> > >
> >
> > Is there any reason I couldn't use 'else'?
> >
> > Thanx.
> > ____________________
> > Racket Users list:
> > http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140201/230ccbe0/attachment.html>
End of users Digest, Vol 101, Issue 99
**************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140131/50ce982f/attachment-0001.html>