Re: [racket-dev] using Racket to build an image-based Lisp: feasible?

2013-03-05 Thread Ray Racine
Larceny (a Scheme) supports images. I had another dance with them awhile back playing around with Gilad Bracha's Newspeak. I hear the Dart folks have debated support for platform independent images of Dart programs to be served out for executing in Chrome. They'll probably do it. They are certa

Re: [racket-dev] [plt] Push #26372: master branch updated

2013-02-26 Thread Ray Racine
all-phase modules static modules static-phase modules phase-invariant modules On Tue, Feb 26, 2013 at 5:31 PM, Vincent St-Amour wrote: > At Tue, 26 Feb 2013 16:59:01 -0500, > mfl...@racket-lang.org wrote: > > 899a327 Matthew Flatt 2013-02-26 14:14 > > : > > | add experimental support for "pha

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-11 Thread Ray Racine
Historically, I've had to do a fairly frequent REPL restarts. I'm going to experiment with sandbox in Palm (my TR/R emacs major mode). I just posted a brief blurb about Palm in the Google+ Racket community. https://plus.google.com/u/0/communities/108652050642990465975/stream/6c7f73ee-1315-4141-b

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-10 Thread Ray Racine
er))) And I agree tooling such as Geiser, xrepl should be meta to entered namespace(s). On Sun, Feb 10, 2013 at 1:28 PM, Eli Barzilay wrote: > Yesterday, Ray Racine wrote: > > > > So the goal is to have entering a module inject the proper typed or > > untyped version of

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-10 Thread Ray Racine
That aligns with the Geiser comment. I'd gotten to the point where I was questioning the utility of having a custom enter-load/use-compiled as opposed create a base namespace, dynamic-require, module->namespace, current-namespace switch. Simpler, leverages existing functionality, far more robust

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-09 Thread Ray Racine
So apropos to http://blog.racket-lang.org/2009/03/drscheme-repl-isnt-lisp.html one "fix" to the enter! bug is to keep it as simple as possible and as Robby hinted, fresh load the module into a new namespace on every enter. I've done some minimal testing and so far things appear to work. Advantage

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-09 Thread Ray Racine
Gregg, Not sure if you're still banging away on this one. I have to take a break. module.c blows up because the module is not "registered" when it tries to do the namespace swap. But I don't think the problem is in module.c, nor is this problem related to the Geiser list is a path problem. ent

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-09 Thread Ray Racine
ased versions: > > M-x run-racket > > Welcome to Racket v5.3.2.3. > racket@> ,enter slideshow/pict > racket@slideshow/pict> (circle 10) > (a circle appears in the REPL) > > > Ray Racine writes: > > I've been seeing the same behavior. I think something go

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-09 Thread Ray Racine
t; Sam > > On Sat, Feb 9, 2013 at 3:12 PM, Ray Racine wrote: > > Yes PR 13096 is the same error message that I'm getting. However, I'm > > seeing this in my TR code. I don't have any submodules in my code > however, > > as TR submodules don't work

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-09 Thread Ray Racine
cause this even if you > don't write them explicitly. > > Sam > > On Sat, Feb 9, 2013 at 3:12 PM, Ray Racine wrote: > > Yes PR 13096 is the same error message that I'm getting. However, I'm > > seeing this in my TR code. I don't have any submodules i

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-09 Thread Ray Racine
Yes PR 13096 is the same error message that I'm getting. However, I'm seeing this in my TR code. I don't have any submodules in my code however, as TR submodules don't work, so I think the problem is more generic than submodules in enter!. On Sat, Feb 9, 2013 at 2:42 PM, Asumu Takikawa wrote

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-09 Thread Ray Racine
t at all? And how if at all does it differ in other respects > to what things like XREPL and Geiser do? > > This whole subject area has been a bit confusing for me, so, > opportunity to learn more. Having said that, this is something that > probably ought to "just work",

Re: [racket-dev] , en and enter! sometimes do nothing, and it's changing over releases?

2013-02-08 Thread Ray Racine
I've been seeing the same behavior. I think something got broke in racket/enter "enter!". I don't think it is a Geiser, XRepl issue other then both I believe leverage the racket/enter module. Bit of a pain in the arse bug, nice if someone could look in to it. Thanks, Ray On Thu, Feb 7, 2013

Re: [racket-dev] raco pkg and github

2013-02-02 Thread Ray Racine
https://github.com/jarnaldich/racket-git Looks like progress was made but currently moribund. On Sat, Feb 2, 2013 at 1:00 PM, Danny Yoo wrote: > On Sat, Feb 2, 2013 at 9:19 AM, Ray Racine wrote: > > I saw a blurb this week where Microsoft is using > http://libgit2.github.com/ &g

Re: [racket-dev] raco pkg and github

2013-02-02 Thread Ray Racine
I saw a blurb this week where Microsoft is using http://libgit2.github.com/ to add git support into their tooling (Visual Studio no less) and their devs have been committing to fill in any MS specific git gaps. It looks like a top quality project, claiming to be small, clean, no-deps, and cross p

Re: [racket-dev] weirdest bug ever

2013-01-17 Thread Ray Racine
On Thu, Jan 17, 2013 at 7:03 AM, Pierpaolo Bernardi wrote: > (display (integer->char #x2144)) Works fine on Linux, assuming it's an upside down Y -> ⅄ _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] racket/date, SRFI-19, date construction

2013-01-11 Thread Ray Racine
FWIW I did some sort of port of SRFI/19 to Typed Racket. I recall doing something along the lines of bridging the impedance mismatch between Racket and the SRFI, but whatever it was, was minimal. I was in a hurry. If anyone is interested. - date.rkt was a standard TR require/typed wrapping of s

Re: [racket-dev] drracket interactivity testing help request

2013-01-08 Thread Ray Racine
Well I switched to dedicated "open in a new tab" which I do like more overall than 1-1 source file to window. Nothing to compare against but its PDQ for me. Just counted, have 14 tabs open currently. One drawback with tabs is the loss of side-by-side source, where it is easy in Linux/Unity to le

Re: [racket-dev] package install mode

2013-01-06 Thread Ray Racine
an 6, 2013 at 11:51 AM, Eli Barzilay wrote: > Yesterday, Ray Racine wrote: > > On installation issues: > > > > 1) Yes on defaulting to an installation-wide install as default. > > Matthew didn't suggest this as a default for all cases -- but just to > be

Re: [racket-dev] package install mode

2013-01-05 Thread Ray Racine
On installation issues: 1) Yes on defaulting to an installation-wide install as default. 2) A non-UI build installation, "server" build capability (in a backend/engine/runtime not web sense), Image manipulation libraries etc are installed but full DrDr and associated tooling is not. (e.g. fast

Re: [racket-dev] Five feature/limitation interactions conspire to drive mad

2013-01-01 Thread Ray Racine
All good points on TR development flows. If I could elaborate from my perspective on Neils' #3. I think this is the #1 benefit of TR over R. Yes, static type checking, real-time while you type is superb road kill on the highway of code development And I do enjoy it so. BUT what TR really, rea

Re: [racket-dev] TR: Five feature/limitation interactions conspire to drive mad

2012-12-31 Thread Ray Racine
"First, though, I want to make the loop faster. It turns out that this: [#{i : Nonnegative-Fixnum} 0] is enough to turn `<' and `+' into `unsafe-fx<' and `unsafe-fx+', and I still don't have to annotate `acc' or the loop's return value. Awesome. Provide and commit." Posted about this annoyance

Re: [racket-dev] Feature request - contract form that splits provide/contract into two parts

2012-12-28 Thread Ray Racine
the absence of types, contracts are the closest > >> information we have. > > AND > > On Fri, Dec 14, 2012 at 11:43 AM, Ray Racine > wrote: > >> For the TR folks you can have your cake and eat it with a cup of coffee > with > >> `provide'. TR Rules > >

Re: [racket-dev] URL escaping: question for web experts

2012-12-17 Thread Ray Racine
Not an expert, don't even do much in this area much these days. Historically, I have seen a number of REST URL API patterns, more often then not (when these things were less tepid than they are now) in the Semantic Web area (e.g. MS OData) where parens, which as I recall is allowed by the RFC, are

Re: [racket-dev] Feature request - contract form that splits provide/contract into two parts

2012-12-14 Thread Ray Racine
For the TR folks you can have your cake and eat it with a cup of coffee with `provide'. TR Rules #lang typed/racket/base ;;public interface/w specifications (provide: [inc (Integer -> Integer)]) ... (: inc (Integer -> Integer)) (define (inc x) (add1 x)) ... On Fri, Dec 14, 2012 at 10:44

Re: [racket-dev] How to avoid to modify .gitignore when pull request

2012-12-13 Thread Ray Racine
If you are doing a git status and only wish to see changes applicable to tracked files: $ git status -uno -- . If you are a Linux commandline type of guy, I like doing commit work using 'tig'. On Thu, Dec 13, 2012 at 9:46 AM, Tobias Hammer wrote: > Edit .gitgnore and then use > git update-i

Re: [racket-dev] Survey for DrRacket users related to automatic parentheses behavior

2012-11-22 Thread Ray Racine
I use balanced parents. Agree with current annoyance. Agree with the proposal - simple, effective. On Nov 22, 2012 7:29 PM, "Nadeem Abdul Hamid" wrote: > Hello all, > > I've been discussing with Robby a possible improvement of DrRacket's > "automatic parentheses" behavior and would like to get

Re: [racket-dev] Racket installs more files on amd64 than on i386

2012-11-18 Thread Ray Racine
file:///usr/local/racket/doc/images/Spatial_Transformations.html?q=Compositing It is being generated and used as part of the standard doc. On Sun, Nov 18, 2012 at 6:39 PM, Ray Racine wrote: > I have it as well. Seems to be in the git repo. Google of the phrase is > interesting a

Re: [racket-dev] Racket installs more files on amd64 than on i386

2012-11-18 Thread Ray Racine
I have it as well. Seems to be in the git repo. Google of the phrase is interesting as well. On Sun, Nov 18, 2012 at 6:23 PM, Juan Francisco Cantero Hurtado < i...@juanfra.info> wrote: > On 11/19/12 00:08, Robby Findler wrote: > >> What are they? >> > > The most of the images say "we claim the

Re: [racket-dev] Math library pushed

2012-11-16 Thread Ray Racine
>From the cheap seats. Built clean. Except for warning below. Test failed as libffi as initially was not found by the dynamic load. After adjusting version in mpfr.rkt. Test produced pi ... 4888 Applicable lib version on Ubuntu 12.10. /usr/lib/x86_64-linux-gnu/libmpfr.so.4 /usr/lib/x86_64-l

Re: [racket-dev] Planet 2 Beta Release

2012-11-08 Thread Ray Racine
Huge!!! The manual deployment at first glance appears to allow the use of the various "cloud drives" as deployment options. Drop a x.plt file onto Amazon S3, or Google GDrive or Ubuntu One, which are for all intents and purposes essentially free, make it publicly accessible and announce the URL

Re: [racket-dev] My experience with Typed Racket

2012-11-06 Thread Ray Racine
Nice summary. Yes, in my experience so far, there is higher than anticipated pain when attempting to re-use pre-existing libraries written in R by lifting them to TR. When writing green-field code in TR mostly things are a joy (more aggressive inferencing would be a nice improvement). One tends

Re: [racket-dev] TR's optimizer eventually going to unbox structs?

2012-08-27 Thread Ray Racine
FWIW, the Scala folks have done something along these lines, Value Classes, originally aka Inline Classes. https://docs.google.com/document/d/10TQKgMiJTbVtkdRG53wsLYwWM2MkhtmdV25-NZvLLMA/edit?hl=en_US&pli=1 On Mon, Aug 27, 2012 at 12:58 PM, Neil Toronto wrote: > On 08/27/2012 09:11 AM, Vincent

Re: [racket-dev] [plt] Push #25179: master branch updated

2012-08-13 Thread Ray Racine
The whole blue arrow syntax upper right corner thingee, is really sharp. _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] TRPlot - A Typed Racket-ing of Plot

2012-08-12 Thread Ray Racine
8:35 PM, Neil Toronto wrote: > On 08/12/2012 06:14 PM, Ray Racine wrote: > >> Just completed a first cut draft TRing the Plot collection. Completely >> untested, though the few things I've tried worked fine. >> Neil/Sam, any suggestions, naming or layout conventions a

[racket-dev] TRPlot - A Typed Racket-ing of Plot

2012-08-12 Thread Ray Racine
Just completed a first cut draft TRing the Plot collection. Completely untested, though the few things I've tried worked fine. Neil/Sam, any suggestions, naming or layout conventions are much appreciated. Otherwise, I'll do a cleanup pass, test it, and initiate a pull-request this week. https://

Re: [racket-dev] Should I expect this program to typecheck?

2012-08-06 Thread Ray Racine
This type checks. Not sure if it is the "same thing" as the original however. (: check-array-indexes (Symbol (Vectorof Index) (U (Vectorof Index) (Vectorof Integer)) -> (Vectorof Index))) (define (check-array-indexes name ds

Re: [racket-dev] [racket] Bite-Size Racket Projects

2011-08-28 Thread Ray Racine
I have a number of odds and ends that I've been un-mothballing and moving to typed/racket which are currently in various states of entropy: crypto sha1, md5, sha256, hmac-xxx, AWS, S3, Amazon Product API, HTTP client library and a few odds and ends.It was all originally R6RS / Larceny so the b