Re: [racket-users] Why are SQLITE queries so slow?

2015-03-26 Thread Jens Axel Søgaard
because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You

Re: [racket-users] Why are SQLITE queries so slow?

2015-03-26 Thread Jens Axel Søgaard
Did you subtract the startup cost of Racket to get the time of the queries? /Jens Axel 2015-03-26 19:29 GMT+01:00 Renaud renaud.gomb...@gmail.com: Le jeudi 26 mars 2015 19:21:11 UTC+1, Jens Axel Søgaard a écrit : How did you time the queries? /Jens Axel 2015-03-25 15:03 GMT+01:00 Renaud

Re: [racket-users] ANN: Gregor, a date and time library

2015-03-26 Thread Jens Axel Søgaard
2015-03-26 22:30 GMT+01:00 Jon Zeppieri zeppi...@gmail.com: On Thu, Mar 26, 2015 at 5:27 PM, Robby Findler Would 3 weeks and 40 hours always be a precise number of seconds? Robby What about leap seconds? /Jens Axel -- You received this message because you are subscribed to the Google

Re: [racket-users] Why are SQLITE queries so slow?

2015-03-26 Thread Jens Axel Søgaard
Did you subtract the startup cost of Racket to get the time of the queries? /Jens Axel 2015-03-26 19:29 GMT+01:00 Renaud renaud.gomb...@gmail.com: Le jeudi 26 mars 2015 19:21:11 UTC+1, Jens Axel Søgaard a écrit : How did you time the queries? /Jens Axel 2015-03-25 15:03 GMT+01:00 Renaud

Re: [racket-users] infix notation embedded in Racket

2015-04-25 Thread Jens Axel Søgaard
2015-04-24 14:44 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net: The arrows disappear when I use the at-exp syntax: @${b^2-4*a*x}. I am not sure why. Anyone? Thanks to Alexander for submitting a fix. /Jens Axel -- You received this message because you are subscribed to the Google

Re: [racket-users] infix notation embedded in Racket

2015-04-25 Thread Jens Axel Søgaard
2015-04-24 14:44 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net: The planet package took a *very* long time to install, so I intend to upload a version to pkg.racket-lang.org. The infix package is now available through pkg.racket-lang.org. /Jens Axel -- You received this message

Re: [racket-users] RE: infix notation embedded in Racket

2015-04-25 Thread Jens Axel Søgaard
2015-04-24 18:32 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net: 2015-04-24 18:25 GMT+02:00 Jos Koot jos.k...@gmail.com: Hi Jens Axel, Thanks for replying and explaining. Can you discriminate between a+b and |a+b| or a|+|b? When I get around to adding |...| identifiers to the lexer

Re: [racket-users] infix notation embedded in Racket

2015-04-25 Thread Jens Axel Søgaard
2015-04-24 14:44 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net: The arrows disappear when I use the at-exp syntax: @${b^2-4*a*x}. I am not sure why. Anyone? I haven't figured it out yet, but it seems to have worked at some point. I have found this: (define-syntax ($ stx) (syntax-case

Re: [racket-users] infix notation embedded in Racket

2015-04-24 Thread Jens Axel Søgaard
2015-04-24 0:18 GMT+02:00 Alexander D. Knauth alexan...@knauth.org: What’s wrong with at-exp though? I personally don’t like (planet soegaard/infix) as much mostly because the other options have the benefit of working with DrRacket features such as check-syntax arrows and blue-boxes, but

[racket-users] Re: infix notation embedded in Racket

2015-04-24 Thread Jens Axel Søgaard
embedded in Racket without explicitly using push-down automata. However, I encounter a contradiction in my desires as explained below. I have looked at 'Infix expressions for PLT Scheme' available in planet and made by Jens Axel Søgaard. In his approach a+b is evaluated as though written as (+ a b

Re: [racket-users] RE: infix notation embedded in Racket

2015-04-24 Thread Jens Axel Søgaard
2015-04-24 18:25 GMT+02:00 Jos Koot jos.k...@gmail.com: Hi Jens Axel, Thanks for replying and explaining. Can you discriminate between a+b and |a+b| or a|+|b? When I get around to adding |...| identifiers to the lexer, it will work like this: a+b will be parsed as (+ a b) |a+b| as

Re: [racket-users] Rosetta Code: Level 1st (that's FIRST) with TCL

2015-04-29 Thread Jens Axel Søgaard
. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket

Re: [racket-users] Rosetta Code: Level 1st (that's FIRST) with TCL

2015-04-29 Thread Jens Axel Søgaard
? (or Lisp, JavaScript, Self/Smalltalk, Forth ...) Kind regards, Stephen On Wed, 29 Apr 2015 at 07:57, Jens Axel Søgaard jensa...@soegaard.net wrote: Great news! Worth a blog post to follow up on: http://blog.racket-lang.org/2013/03/200_25.html http://blog.racket-lang.org/2014/11/800

Re: [racket-users] Rosetta Code: Level 1st (that's FIRST) with TCL

2015-05-04 Thread Jens Axel Søgaard
2015-04-29 14:07 GMT+02:00 Tim Brown tim.br...@cityc.co.uk: On 29/04/15 11:44, Stephen De Gabrielle wrote: Are there any tasks suitable for Rosetta Code that are difficult or impossible in other languages like Python or TCL? (or Lisp, JavaScript, Self/Smalltalk, Forth ...) Something

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
2015-05-11 0:56 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote: 2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: If you're on OS X, try creating the bitmap with (send canvas make-bitmap screen-width screen-height

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
2015-05-11 2:24 GMT+02:00 Robby Findler ro...@eecs.northwestern.edu: But if you have a specific destination in mind you can make the bitmap first and then draw the 2htdp/image into it (or anything into it!) When I use my own game-loop it is easy enough to use the make-bitmap method of the

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
` method creates a bitmap that's on the graphics card instead of main memory. At Sun, 10 May 2015 23:14:08 +0200, Jens Axel Søgaard wrote: Hi All, The attached files are a work-in-progress. Eventually it will become a remake of Cees Kramer's Snoopy for C64. Anyways, the game represents

[racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
Hi All, The attached files are a work-in-progress. Eventually it will become a remake of Cees Kramer's Snoopy for C64. Anyways, the game represents an unmoveable object as a block structure. Today I decided to stop rendering the blocks for every frame. Instead they are rendered once to a

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: If you're on OS X, try creating the bitmap with (send canvas make-bitmap screen-width screen-height) instead of (make-object bitmap% screen-width screen-height) Roughly, using the `make-bitmap` method creates a bitmap that's

Re: [racket-users] Strange behaviour of the eq? operator in racket repl

2015-05-18 Thread Jens Axel Søgaard
in the list. In contrast R5RS (on purpose) state that the order is unspecified, which means that an implementor of R5RS Scheme is free to choose the order which fits his system best. Potentially the freedom to choose the order could enable some optimizations. -- Jens Axel Søgaard -- You received

Re: [racket-users] literals within syntax-transfromer within syntax-transformer

2015-04-16 Thread Jens Axel Søgaard
to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because

Re: [racket-users] carmack s-expression tweet

2015-04-15 Thread Jens Axel Søgaard
+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [racket-users] advice for writing desktop app

2015-04-04 Thread Jens Axel Søgaard
://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit

Re: [racket-users] Color Arithmetic

2015-06-04 Thread Jens Axel Søgaard
2015-06-04 11:38 GMT+02:00 Michael Tiedtke michael.tied...@o2online.de: Before I go ahead and just do it I wanted to ask: 1) Does such a thing exist somewhere for Scheme or Racket (I couldn't find anything) The only example I found was:

Re: [racket-users] racket virtual machine

2015-06-03 Thread Jens Axel Søgaard
. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d

Re: [racket-users] racket virtual machine

2015-06-05 Thread Jens Axel Søgaard
2015-06-05 6:37 GMT+02:00 Neil Van Dyke n...@neilvandyke.org: 2. Forget about `eval`, require apps to be compilable on development host (but not necessarily runnable there), implement compiler from `.zo` to JS (managing TCO, etc.), implement small Racket runtime library in JS, implement

Re: [racket-users] Closing big-bang windows

2015-06-23 Thread Jens Axel Søgaard
John Carmack: My son's game has a level editor as well as a game loop, and we switch between them. However, each new big-bang call creates a new window, leaving the previous ones inert on the screen. How can we close the windows? Matthias Felleisen: But people wanted it to stay open

Re: [racket-users] Re: Fast way to map over a list many times, changing ONE element each time?

2015-06-19 Thread Jens Axel Søgaard
receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from

Re: [racket-users] Fast way to map over a list many times, changing ONE element each time?

2015-06-19 Thread Jens Axel Søgaard
GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net: #lang racket (define (list-splits xs) (define (loop ys zs) ; xs = (append (reverse ys) yz) (match zs ['() '()] [(cons z zs*) (cons (list ys zs) (loop (cons z ys) zs*))])) (loop '() xs

Re: [racket-users] Fast way to map over a list many times, changing ONE element each time?

2015-06-19 Thread Jens Axel Søgaard
. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d

Re: [racket-users] Reporting Simple Bugs and Fixing Them

2015-06-20 Thread Jens Axel Søgaard
2015-06-20 3:12 GMT+02:00 Vincent St-Amour stamo...@ccs.neu.edu: For changes like typoes, Github has a pencil button at the top of its source view that simplifies the pull-request process. https://help.github.com/articles/editing-files-in-another-user-s-repository/ That's the simplest way

Re: [racket-users] Re: Fast way to map over a list many times, changing ONE element each time?

2015-06-22 Thread Jens Axel Søgaard
you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received

Re: [racket-users] Get list of all predefined identifiers for use in vim syntax highlighting

2015-06-01 Thread Jens Axel Søgaard
this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group

Re: [racket-users] Room for descriptions

2015-07-03 Thread Jens Axel Søgaard
Thanks! No wonder I couldn't find it in the preferences. /Jens Axel 2015-07-03 18:59 GMT+02:00 Robby Findler ro...@eecs.northwestern.edu: That sounds like it would be a very nice change. The option you want is in the view menu. Robby On Friday, July 3, 2015, Jens Axel Søgaard jensa

[racket-users] Room for descriptions

2015-07-03 Thread Jens Axel Søgaard
Hi All, During the installation of DrRacket on a new laptop I realized that the preferences dialog could need some kind of info on each available option. Consider this: http://i.imgur.com/IzsJrI8.png There is lots of room to the right for a description. Map delete to backspace

Re: [racket-users] on module: identifier already imported from a different source

2015-06-30 Thread Jens Axel Søgaard
, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com

Re: [racket-users] Emacs Lisp as a Racket Language?

2015-07-02 Thread Jens Axel Søgaard
because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received

Re: [racket-users] Simple Interdependent Units?

2015-05-25 Thread Jens Axel Søgaard
this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard

Re: [racket-users] How to fill a shape with a texture using 2htdp/image or similar?

2015-05-22 Thread Jens Axel Søgaard
21, 2015 at 11:28 AM, Jens Axel Søgaard jensa...@soegaard.net wrote: Here is an example from MetaPict: http://soegaard.github.io/docs/metapict/metapict.html#%28def._%28%28lib._metapict%2Fpict..rkt%29._brushstipple%29%29 The same effect can be achieved by setting the brush to a stipple

Re: [racket-users] DrRacket rendering issues OS X

2015-08-18 Thread Jens Axel Søgaard
options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr

Re: [racket-users] My son's game in Racket

2015-08-24 Thread Jens Axel Søgaard
2015-08-24 18:27 GMT+02:00 John Carmack jo...@oculus.com: We “released” my 10 year old son’s game that was done in Racket: www.1k3c.com Tell him, he has done a great job. It has the right game feel. I liked both how the levels progressed slowly in difficulty and that there were so many of

Re: [racket-users] `divides?` from math/number-theory slow?

2015-08-24 Thread Jens Axel Søgaard
an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving

Re: [racket-users] Sending Closures to Places

2015-08-03 Thread Jens Axel Søgaard
2015-08-02 19:12 GMT+02:00 Konstantin Weitz konstantin.we...@gmail.com: I'm trying to write a distributed racket program using [places][0]. From my current understanding, this means that I have to send data to each place over a channel using the `place-channel-put` function, which can send any

Re: [racket-users] Sending Closures to Places

2015-08-03 Thread Jens Axel Søgaard
Note that the web-server has support for serializable closures: http://docs.racket-lang.org/web-server-internal/closure.html I think they are the practical choice. /Jens Axel 2015-08-03 12:29 GMT+02:00 Jens Axel Søgaard jensa...@soegaard.net: 2015-08-02 19:12 GMT+02:00 Konstantin Weitz

Re: [racket-users] eval PSA (was Sending Closures to Places)

2015-08-03 Thread Jens Axel Søgaard
-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send

Re: [racket-users] Macro that does substitution

2015-07-29 Thread Jens Axel Søgaard
this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel

[racket-users] How to break a process created with system

2015-08-09 Thread Jens Axel Søgaard
-append /usr/local/bin/node (path-string path))) -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr

Re: [racket-users] How to break a process created with system

2015-08-09 Thread Jens Axel Søgaard
/Jens Axel At Sun, 9 Aug 2015 15:17:19 +0200, Jens Axel Søgaard wrote: Hi All, The function node below takes the path of a JavaScript file, starts node (JavaScript evaluator) using system. The output is collected in a string. (define (node path) (with-output-to-string

Re: [racket-users] Typesetting Racket code

2015-08-12 Thread Jens Axel Søgaard
options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr

[racket-users] Affecting the errors generated by syntax-parse

2015-07-25 Thread Jens Axel Søgaard
Hi All, The syntax-parse form can often generate sensible errors based on the progress made during the attempt to match a pattern against a syntax-object. Given multiple choices the choice where the maximum progress was made is used to generate the error message. Is there a way to tell

Re: [racket-users] Affecting the errors generated by syntax-parse

2015-07-25 Thread Jens Axel Søgaard
/stxparse-patterns.html?q=syntax-parse#%28form._%28%28lib._syntax%2Fparse..rkt%29._~7e!%29%29 On Sat, Jul 25, 2015 at 9:55 AM, Jens Axel Søgaard jensa...@soegaard.net wrote: Hi All, The syntax-parse form can often generate sensible errors based on the progress made during the attempt

[racket-users] sub-range-binders

2015-07-14 Thread Jens Axel Søgaard
Hi All, I am experimenting with the sub-range-binders syntax property. Given this program: (define symb? symbol?) (define-no? symb?) symb I want to use DrRacket's renaming facility to rename the symb? in the second line to sym?. I expect to get this program: (define sym?

Re: [racket-users] Re: My son's game in Racket

2015-08-25 Thread Jens Axel Søgaard
-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send

Re: [racket-users] Re: My son's game in Racket

2015-08-25 Thread Jens Axel Søgaard
, Jens Axel Søgaard wrote: Hi, Does G, T, and H work for you in DrRacket ? /Jens Axel 2015-08-25 15:59 GMT+02:00 Mr Susnake sus...@gmail.com: On Monday, August 24, 2015 at 10:28:07 PM UTC+6, John Carmack wrote: We “released” my 10 year old son’s game that was done in Racket

Re: [racket-users] Interpolating Polynomial in Newton Form

2015-11-10 Thread Jens Axel Søgaard
et-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails

Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-10 Thread Jens Axel Søgaard
message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >

Re: [racket-users] Feasibility of Racket for scientific and engineering calculations

2015-11-12 Thread Jens Axel Søgaard
tion and little of the > other stuff, if only to check my own computations (in economics) as I have > perform a sign-error in 25% of the cases... > > On Tuesday, November 10, 2015 at 10:34:50 PM UTC-5, John Kitchin wrote: > > Those are great resources! Thanks! > > > &

[racket-users] Puzzle

2015-10-12 Thread Jens Axel Søgaard
In DrRacket with just #lang racket in the definitions window. Click Run. Welcome to DrRacket, version 6.3.0.1--2015-10-12(a683542/a) [3m]. Language: racket; memory limit: 1024 MB. > (syntax->datum (expand #'(begin (define (sort v) v) (sort t '(begin (define-values (sort)

[racket-users] Syntax parse and optional patterns

2015-07-11 Thread Jens Axel Søgaard
Hi All, Is there a simpler way of defining the syntax transformation (macro) below? /Jens Axel #lang racket (require (for-syntax syntax/parse racket/syntax)) (provide let-match-expander) ;;; SYNTAX (let-match-expander ([id proc0 proc1] ...) body ...) ;;;(let-match-expander ([id

Re: [racket-users] namespace-undefine-variable! question

2015-08-27 Thread Jens Axel Søgaard
an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving

Re: [racket-users] help on coding finite state automata

2015-09-04 Thread Jens Axel Søgaard
cribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard

Re: [racket-users] Re: Futures vs. Places for parallelizing a simple game engine

2015-09-03 Thread Jens Axel Søgaard
> email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop

Re: [racket-users] Lost in ellipsis depths

2015-09-02 Thread Jens Axel Søgaard
cause you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >

Re: [racket-users] Racket in a web page (via Whalesong)

2015-09-07 Thread Jens Axel Søgaard
e Whalesong bytecode-to-JavaScript running in the browser. That's doable - but not enough to get a selfhosting Racket system. -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and

Re: [racket-users] Expression context

2015-09-14 Thread Jens Axel Søgaard
s group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racke

Re: [racket-users] Racket Solution of String Recursive Replace

2015-09-16 Thread Jens Axel Søgaard
subscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Gr

Re: [racket-users] Re: Eval namespace revisited ...again

2015-09-26 Thread Jens Axel Søgaard
gle Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: [racket-users] Defining a symbol breaks symbols?

2015-09-30 Thread Jens Axel Søgaard
2015-09-30 19:35 GMT+02:00 Lyle Kopnicky : > Hi folks, > > It seems that if I (incorrectly) quote a symbol in a 'define' form, it > breaks all symbols from that point on. I would expect instead it would give > me an error saying that I passed the wrong sort of thing to

Re: [racket-users] R6RS+horizontal panel

2016-01-28 Thread Jens Axel Søgaard
s cells. In Racket '(left top) will allocate a list of immutable cons cells. Since the GUI is implemented in Racket it expects immutable cons cells. The easiest solution is to switch from R6RS to Racket. However if you want to stick with R6RS, import list from racket/list and use that to create an immut

Re: [racket-users] Making a text editor

2016-01-31 Thread Jens Axel Søgaard
this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >

Re: [racket-users] R6RS+horizontal panel

2016-01-29 Thread Jens Axel Søgaard
2016-01-29 23:12 GMT+01:00 Jean-Michel HUFFLEN <jmhuf...@femto-st.fr>: > Jens Axel Søgaard <jensa...@soegaard.net> wrote: > > 2016-01-28 21:48 GMT+01:00 jmhuffle <jmhuf...@femto-st.fr>: >> >>Dear Racket friends, >>> >>>I am s

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Jens Axel Søgaard
ers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, se

Re: [racket-users] Detect version of OS X

2016-02-24 Thread Jens Axel Søgaard
, Norman Gray <nor...@astro.gla.ac.uk> wrote: > >> >> Greetings >> >> On 23 Feb 2016, at 20:46, Jens Axel Søgaard wrote: >> >> > Use case: The paths to LaTeX has changed on El Capitan, >> > which makes it difficult to choose a default path, that works &

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Jens Axel Søgaard
send > an email to racket-users+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and

[racket-users] Detect version of OS X

2016-02-23 Thread Jens Axel Søgaard
Hi All, The function system-type can be used to detect the system type. Is there a function that returns the version of the operating system? Use case: The paths to LaTeX has changed on El Capitan, which makes it difficult to choose a default path, that works for all. /Jens Axel -- You

Re: [racket-users] Detect version of OS X

2016-02-23 Thread Jens Axel Søgaard
nNumber appkit _double))) > > (define (version-10.11-or-later?) >(NSAppKitVersionNumber . >= . 1389)) > > > At Tue, 23 Feb 2016 21:46:55 +0100, Jens Axel Søgaard wrote: > > Hi All, > > > > The function system-type can be used to detect the system type. > > Is there a functi

Re: [racket-users] Re: ispell

2016-02-29 Thread Jens Axel Søgaard
2/ >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups >>>> "Racket Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> a

Re: [racket-users] Help writing a simple lexer/tokenizer

2016-02-22 Thread Jens Axel Søgaard
s length n and then skip n bytes of the input stream. -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsu

Re: [racket-users] DrRacket Coverage

2016-02-15 Thread Jens Axel Søgaard
2016-02-14 19:09 GMT+01:00 Eli Barzilay : > Every semester there are always students that think that DrRacket is > broken when they add tests and the coverage colors go away. I now tell > them about it in advance (in class and in text), but it's still > confusing people. > >

Re: [racket-users] Unicode subscripts in code and scribble

2016-03-10 Thread Jens Axel Søgaard
to the Google > Groups "Racket Users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to racket-users+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > You

Re: [racket-users] Pattern Matching in Macros | Meaning of dot

2016-03-13 Thread Jens Axel Søgaard
emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group.

Re: [racket-users] Re: Pattern Matching in Macros | Meaning of dot

2016-03-13 Thread Jens Axel Søgaard
eiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe

Re: Re: [racket-users] Pattern Matching in Macros | Meaning of dot

2016-03-14 Thread Jens Axel Søgaard
e detailed explanation I think I get it now. > > On 13 Mar 2016, at 19:48, Jens Axel Søgaard <jensa...@soegaard.net> wrote: > > If we use > > (define-syntax define/memoized > (syntax-rules () > ((_ (name . args) . body) > (define name (memoize (lambda arg

Re: [racket-users] Re: Racket -> HTML+JavaScript using Urlang and Ractive

2016-03-19 Thread Jens Axel Søgaard
2016-03-16 22:18 GMT+01:00 Greg Trzeciak : > > Thanks Dan, seems to be exactly what I need (especially the combination > with ractive.js! BTW you couldn't find js framework with name more fitting > to work with racket ;) > I am only curious what racket subset does urlang

Re: [racket-users] "table" data structure in Racket

2016-04-05 Thread Jens Axel Søgaard
ts of SQL code? > > John > > > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.

Re: [racket-users] Racket change button% coordinates(X and Y axis)

2016-04-10 Thread Jens Axel Søgaard
2016-04-10 17:18 GMT+02:00 Theodor Berza : > I have a button in a frame and when I change the vert-margin and > horiz-margin in the code the button doesn't change it's location but rather > the frame gets smaller or larger. > ... > Someone suggested me to create a

Re: [racket-users] Trouble with displaying value-turtles

2016-03-19 Thread Jens Axel Søgaard
are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard

Re: [racket-users] Racket -> HTML+JavaScript using Urlang and Ractive

2016-03-23 Thread Jens Axel Søgaard
rd.github.io/urlang/space-invaders.html > > Dan > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubsc

Re: [racket-users] Re: Racket -> HTML+JavaScript using Urlang and Ractive

2016-03-19 Thread Jens Axel Søgaard
2016-03-16 22:50 GMT+01:00 Greg Trzeciak : > "Urlang is a Racket flavoured S-expression syntax for Javascript" > Can I steal that for a tag-line? > Thank you for your explanation - still seems like a good fit for one of my > projects (as I needed something more lightweight

Re: [racket-users] Re: Racket 6.4 very slow

2016-03-02 Thread Jens Axel Søgaard
2016-03-02 19:26 GMT+01:00 vkelmenson via Racket Users < racket-users@googlegroups.com>: > Also: When I am typing in the interactions pane of 6.4 there is often a > 1-2 second delay before my > keystrokes show up. > > It sounds as if something went wrong during the installation on Racket. How

Re: [racket-users] function minimization

2016-03-02 Thread Jens Axel Søgaard
#:x-max 120 > #:y-min 0) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups

Re: [racket-users] Re: Racket 6.4 very slow

2016-03-02 Thread Jens Axel Søgaard
subscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from

Re: [racket-users] DrR: meta-q just worked!

2016-03-05 Thread Jens Axel Søgaard
e options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsub

Re: [racket-users] r6rs use

2016-04-02 Thread Jens Axel Søgaard
gt; > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visi

Re: [racket-users] Case and eof

2016-04-04 Thread Jens Axel Søgaard
d stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket

Re: [racket-users] Re: Case and eof

2016-04-04 Thread Jens Axel Søgaard
.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+

Re: [racket-users] Macro calling macro question

2016-05-20 Thread Jens Axel Søgaard
; > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://grou

Re: [racket-users] Problem with macro which implements selectors for mutable pairs

2016-05-12 Thread Jens Axel Søgaard
(- (string-length (car l))1)) ))) >(,loop (cdr selectors))) ))) )) > > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop rece

[racket-users] Modernizing scribble/html

2016-04-15 Thread Jens Axel Søgaard
a systematic approach is better. The simple solution is to take the elements from https://www.w3.org/TR/html/index.html#elements-1 and add them to scribble/html. Is the simple solution also the right solution? -- Jens Axel Søgaard -- You received this message because you are subscribed

Re: [racket-users] Does `read-words/line' preserve last newline information?

2016-04-16 Thread Jens Axel Søgaard
2016-04-16 6:39 GMT+02:00 Quico Jurado : > Hello, I posted this question in SO, but hoping to get more answers here. > Link to the SO posting: http://stackoverflow.com/questions/36611808/racket-2htdp-does-read-words-line-preserve-last-newline-information /Jens Axel --

  1   2   3   4   >