Re: [racket] SRFI 19 string->date: Error reading dates

2015-01-31 Thread Alexis King
Looks like a bug to me. The error is happening inside srfi-lite-lib, and as far as I can tell, it’s due to a rather strange line of code on line 1488 of srfi/19/time.rkt: (do-nothing (lambda (val object) (values))) This function returns zero values, causing the arity error. As far as I can tel

Re: [racket] racket/serialize example in The Racket Guide does not work

2015-01-31 Thread Alexis King
I get this too, but only in the REPL. If I run it in a module, it works fine. Seems like a bug…? > On Jan 31, 2015, at 19:32, fyooo wrote: > > I followed the guide in http://docs.racket-lang.org/guide/serialization.html > > > (require racket/serialize) > > (serializable-struct posn (x y) #:tra

[racket] SRFI 19 string->date: Error reading dates

2015-01-31 Thread Jordan Johnson
Hi all, I’m running into this problem with string->date in srfi/19: ;;; begin Interactions > (require srfi/19) > (string->date "Sun, 02 Feb 2015" "~a, ~d ~b ~Y”) result arity mismatch; expected number of values not received expected: 1 received: 0 values...: ;;; end Interactions I’m assuming

[racket] racket/serialize example in The Racket Guide does not work

2015-01-31 Thread fyooo
I followed the guide in http://docs.racket-lang.org/guide/serialization.html‍ > (require racket/serialize) > (serializable-struct posn (x y) #:transparent) > (deserialize (serialize (posn 1 2))) . . dynamic-require: name is not provided name: 'deserialize-info:posn-v0 module: #‍__

Re: [racket] Installing DrRacket on Chromebook

2015-01-31 Thread Darren Cruse
@Peter I was just snooping at my chromebook relative to these messages - /etc/apt and /etc/apt/sources.list are on my machine - googling it does appear they're fundamental to using apt (apt-get). I suspect Yuhao is right that her machine is messed up somehow. But I also did remember more about ho

Re: [racket] package dependancies, version exceptions, version dependancies, and pkg-build

2015-01-31 Thread Alexander D. Knauth
On Jan 31, 2015, at 12:29 PM, Matthew Flatt wrote: > No, the version exception appears to be working fine, but it looks like > there's a bug in the way that "pkg-build" decides which packages to > retry. Oh, okay. > I see that the current pkg-build results for "typed-big-bang" are from > yeste

Re: [racket] Visualization with Racket

2015-01-31 Thread Jens Axel Søgaard
For 2d diagrams take a look at MetaPict. If you know MetaPost/TikZ you will feel at home. Documentation: http://soegaard.github.io/docs/metapict/metapict.html An animation example: http://lists.racket-lang.org/users/archive/2014-September/064286.html A state machine: http://lists.rac

Re: [racket] Visualization with Racket

2015-01-31 Thread Konrad Hinsen
--On 31 janvier 2015 17:05:51 +0530 "Dr. C. SHUNMUGA VELAYUTHAM " wrote: A casual google search showed the Plot library by Neil and Konrad Hinsen's experiments in using Racket for Molecular Visualization. What I was using for that was exactly the Plot library. Have a closer look at it, it d

[racket] first racket attempt -- need advice

2015-01-31 Thread Jimmy McNutt
Hello Racketeers, The source code linked below is my first attempt at racket (or any programming language, most of it I just copied from the tutorial at docs.racket. My goal is to build simple interactive documents for my small buiness. ​Is there an approach with a different (preffered) syntax?

Re: [racket] Installing DrRacket on Chromebook

2015-01-31 Thread Yuhao Dong
This sounds like her Ubuntu installation is horribly broken. Are there other problems with her computer? On 01/29/2015 07:52 PM, Peter Drake wrote: I've got a student trying to install DrRacket on a Chromebook. She has Ubuntu installed, but we can't tell what version because lsb_release -a G

Re: [racket] package dependancies, version exceptions, version dependancies, and pkg-build

2015-01-31 Thread Matthew Flatt
No, the version exception appears to be working fine, but it looks like there's a bug in the way that "pkg-build" decides which packages to retry. I see that the current pkg-build results for "typed-big-bang" are from yesterday, and the v6.1.1-specific mapping for "2htdp-typed" was added later. T

[racket] package dependancies, version exceptions, version dependancies, and pkg-build

2015-01-31 Thread Alexander D. Knauth
Weird things are happening with the pkg-build service with package dependancies and version exceptions. I have a package, typed-big-bang, which depends on another package, 2htdp-typed. 2htdp-typed has a version exception, so that for 6.1.1, which is what the pkg-build service is using, it depe

Re: [racket] Visualization with Racket

2015-01-31 Thread Neil Toronto
On 01/31/2015 06:35 AM, Dr. C. SHUNMUGA VELAYUTHAM wrote: Hi Everyone, I am working in the area of evolutionary computation. I have been recently interested in visualizing (primarily dynamic visualization) the processes involved in Evolutionary Algorithms. Having taught SICP (with Racket) to

[racket] Visualization with Racket

2015-01-31 Thread Dr. C. SHUNMUGA VELAYUTHAM
Hi Everyone, I am working in the area of evolutionary computation. I have been recently interested in visualizing (primarily dynamic visualization) the processes involved in Evolutionary Algorithms. Having taught SICP (with Racket) to undergraduate students I was very much attracted to Racket.