Re: [racket-dev] discussion of the release

2010-06-09 Thread Jens Axel Søgaard
2010/6/9 Sam Tobin-Hochstadt sa...@ccs.neu.edu:  4. We should have a Try Racket in the browser link, like this: http://tryruby.org/ Perhaps the IRC-bot thingie could be used as a starting point? -- Jens Axel Søgaard _ For list-related

Re: [racket-dev] P4P: A Syntax Proposal

2010-07-31 Thread Jens Axel Søgaard
contemplate hijacking strings starting with $, that is, if a string starts with $ then the remaining part of the string is parsed as an infix expression. I came to my senses eventually. http://planet.racket-lang.org/package-source/soegaard/infix.plt/1/0/planet-docs/manual/index.html -- Jens Axel Søgaard

Re: [racket-dev] `cond' / `when' / `unless' / etc bodies

2010-10-10 Thread Jens Axel Søgaard
of foo ? -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] planet-version follies with old planet packages

2011-05-16 Thread Jens Axel Søgaard
it on my todo. -- Jens Axel Søgaard _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] intro videos

2011-07-13 Thread Jens Axel Søgaard
Paul Anderson uses it to write on top of a Keynote presentation. Keep 'em coming. -- Jens Axel Søgaard 2011/7/13 John Clements cleme...@brinckerhoff.org Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8 *short* videos on getting started programming in DrRacket. http

Re: [racket-dev] Roogle?

2011-08-05 Thread Jens Axel Søgaard
2011/8/5 Stephen Chang stch...@ccs.neu.edu For online, full-text search, couldn't one just use google and add site:docs.racket-lang.org to the query? The Google stemmer is well-suited for natural languages. It sucks for Scheme/Racket identifiers. Try for example to find cons* or list? .

Re: [racket-dev] feature request: gcd, lcm for rationals

2011-12-10 Thread Jens Axel Søgaard
reasonable function on rationals which, when restricted to integers, coincides with the usual definition of gcd? Not sure, but this seems relevant. http://trac.sagemath.org/sage_trac/ticket/10771 -- Jens Axel Søgaard _ For list-related administrative

Re: [racket-dev] new logo

2012-02-13 Thread Jens Axel Søgaard
* it will work in small sizes too Who cares about unbalanced parentheses in logos? -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] OS X 10.8 includes new restrictions on running apps

2012-02-22 Thread Jens Axel Søgaard
something else to be aware of. John _ Racket Developers list: http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel Søgaard _ Racket Developers

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Jens Axel Søgaard
2012/5/29 Eli Barzilay e...@barzilay.org: I have made a possibly useful improvement to the JS search code. It's not pushed, yet, but I dropped the revised JS code on the pre-built pages so you can try it out here:  http://pre.racket-lang.org/docs/html/search/ and compare searches with the

Re: [racket-dev] Using licensed code

2012-07-01 Thread Jens Axel Søgaard
directly. That said, it might make sense to go the FFI-route for matrix computations. Getting the details right for the more advanced algorithms is hard, very hard. -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Sublinear functions of superfloat numbers

2012-07-02 Thread Jens Axel Søgaard
Is the following a fair summary? The idea is to divide the real axis in three parts. x y z Here x is a real (double), y is a slightly larger than +max.0, and z is a very large. Now sqrt(x) is just a real (double). Let y be an exact integer only slightly larger than +max.0. Even

Re: [racket-dev] Wrapping loops for TR isn't working, and the type annotations are for the wrong value

2012-08-15 Thread Jens Axel Søgaard
2012/8/15 Neil Toronto neil.toro...@gmail.com: Other options: 1. Raise an error when the vector isn't filled. 2. Return a (Vectorof (U T #f)) (better than (Vectorof (U T 0))?). 3. Always return a vector whose length is the number of iterations. Or a variation of 2.: 4. Let the user

Re: [racket-dev] Wrapping loops for TR isn't working, and the type annotations are for the wrong value

2012-08-15 Thread Jens Axel Søgaard
There is a similar problem with for/product: . The initial 1 is that an integer, a real or a complex? (for/product: : Real ([i : Integer (in-range 0 5)]) (/ i)) Type Checker: Expected Integer, but got Exact-Rational in: (for/product: : Real ((i : Integer (in-range 0 5))) (/ i)) It does not

Re: [racket-dev] Character classification

2012-09-04 Thread Jens Axel Søgaard
wants, can be accessed with char-general-category. Cheers P. _ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Character classification

2012-09-04 Thread Jens Axel Søgaard
2012/9/4 Pierpaolo Bernardi olopie...@gmail.com: On Tue, Sep 4, 2012 at 3:11 PM, Jens Axel Søgaard jensa...@soegaard.net wrote: Since the R5RS version of char-numeric? (according to the documentation) tests for the ten digits, you can use: (require (only-in r5rs char-numeric?)) Thanks

Re: [racket-dev] Math library pushed

2012-11-16 Thread Jens Axel Søgaard
--- that is, a bug that I will have to track down and fix. This is the error, I ran into, when I tried to merge in documentation for the number theory functions. Is there a workaround? -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Math library pushed

2012-11-16 Thread Jens Axel Søgaard
A fix is even better! Thanks, Jens Axel 2012/11/16 Matthew Flatt mfl...@cs.utah.edu: At Fri, 16 Nov 2012 21:21:29 +0100, Jens Axel Søgaard wrote: 2012/11/16 Matthew Flatt mfl...@cs.utah.edu: * require: unknown module module name: #resolved-module-path:(submod /Users/mflatt

Re: [racket-dev] Math library pushed

2012-11-17 Thread Jens Axel Søgaard
. Then fetching and merging the plt/racket repository and finally cherry-picking the commits I needed. -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Implementation of bit vectors

2012-11-24 Thread Jens Axel Søgaard
). -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Old pull requests on Github

2012-11-24 Thread Jens Axel Søgaard
Hi All, I notice that there a few old pull requests on Github without any form of comments. Even a we will look at this later comment looks better to out siders, than none at all. https://github.com/plt/racket/pulls Any thoughts? /Jens Axel _ Racket Developers

Re: [racket-dev] Implementation of bit vectors

2012-11-26 Thread Jens Axel Søgaard
is here: https://github.com/soegaard/racket/blob/4b299ea66a77100538940794cd799cb88929b7e3/collects/data/bit-vector-bignum.rkt The benchmark is here: https://github.com/soegaard/racket/blob/4b299ea66a77100538940794cd799cb88929b7e3/collects/data/benchmark-bit-vector-representations.rkt -- Jens Axel

Re: [racket-dev] Implementation of bit vectors

2012-11-27 Thread Jens Axel Søgaard
' and 'count' operations optimized for the representation would be a useful addition. Good idea. I better rename the current count to size, and then use count to count ones. -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Implementation of bit vectors

2012-11-27 Thread Jens Axel Søgaard
a function bit-vector-count that count the number of set bits in the bit-vector. There is an issue of potential confusion over names though. In the data collection, the -count suffix normally returns the size of the data structure. For vectors the suffix -length is normally used. -- Jens Axel

[racket-dev] Sorry.

2012-12-04 Thread Jens Axel Søgaard
Hi All, I made a mistake pushing some commits. Rather than mess things more up, I hope some one has enough git-fu to undo the commit. Normally push refused to do anything but fast-forward commits, but the commit looks wrong on Github. /Jens Axel (with red ears) _

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

2012-12-22 Thread Jens Axel Søgaard
2012/12/22 ntoro...@racket-lang.org: 1aebd17 Neil Toronto ntoro...@racket-lang.org 2012-12-21 22:59 | * Specialized row reduction for determinants; removed option to not do | partial pivoting (it's never necessary otherwise) Partial pivoting is used to reduce round-off error. If the matrix

Re: [racket-dev] case- and for/sum:

2013-01-03 Thread Jens Axel Søgaard
Ignore the previous example. Here is the example again, now with correct usage of case-lambda. The for/sum problem remains. /Jens Axel #lang typed/racket (require math) (: matrix-solve-upper (All (A) (case- ((Matrix Real) (Matrix Real) - (Matrix Real))

Re: [racket-dev] case- and for/sum:

2013-01-04 Thread Jens Axel Søgaard
2013/1/3 Neil Toronto neil.toro...@gmail.com: I solved it by not using `for/sum' and writing this ridiculous function for the recursive base case and the initial values in `x': (: zero-of (case- (Real - Real) (Number - Number))) (define (zero-of x) 0) Fortunately,

Re: [racket-dev] case- and for/sum:

2013-01-04 Thread Jens Axel Søgaard
2013/1/4 Neil Toronto neil.toro...@gmail.com: I gave `for/sum:' a little thought recently, though, and I couldn't think of how to make it work without annotations. Maybe you'll have more success. I'm less motivated to fix `for/sum:' than you are. :D Here is my attempt. The only problem, is

Re: [racket-dev] case- and for/sum:

2013-01-04 Thread Jens Axel Søgaard
This version blames the correct expression. The error message itself is however in terms of the expanded code and I see why that is a key problem. /Jens Axel for-sum.rkt Description: Binary data _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] raco pkg and github

2013-02-01 Thread Jens Axel Søgaard
2013/2/1 Asumu Takikawa as...@ccs.neu.edu: On 2013-02-01 06:23:06 -0700, Jay McCarthy wrote: I had originally tried to do that, but Github wasn't providing tar balls for anything other than branch HEADs and tags. I'm surprised that it works for you and not for me. Am I just crazy or did you

Re: [racket-dev] generic binding forms

2013-08-26 Thread Jens Axel Søgaard
to work with multiple return values was a pain because they don't compose (as in, functions can produce them but can't receive them). Not sure if anything can be done about this though. _ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel

Re: [racket-dev] Racket Guide chapter on concurrency

2013-10-07 Thread Jens Axel Søgaard
.) David _ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] cairo_recording_surface_create

2013-12-01 Thread Jens Axel Søgaard
2013/12/1 Matthew Flatt mfl...@cs.utah.edu: What happens if you run `drracket` directly from the command line, instead of using `open`? Then I get to see that the error message, that tells me that that I forgot to run make (well it says bytecode file needs re-compile). And indeed I did forget

[racket-dev] Huh?

2013-12-02 Thread Jens Axel Søgaard
In DrRacket 6.0.0.1 open pkgs/draw-pkgs/draw-lib/racket/draw/private/record-dc.rkt and then click Run. I see: define-values: assignment disallowed; cannot re-define a constant constant: get-recorded-command1.1 Why? I tried the exact same experiment with record-dc.rkt in version

Re: [racket-dev] Huh?

2013-12-03 Thread Jens Axel Søgaard
Thanks for the tip on renaming. Just what I needed. /Jens Axel 2013/12/3 Eli Barzilay e...@barzilay.org: 6 hours ago, Jens Axel Søgaard wrote: In DrRacket 6.0.0.1 open pkgs/draw-pkgs/draw-lib/racket/draw/private/record-dc.rkt and then click Run. I see: define-values: assignment

[racket-dev] Documentation

2013-12-08 Thread Jens Axel Søgaard
In cases where the semantics of constructs are changed, should the documentation have a margin note stating the version number of the change? I am in particular thinking of case:

Re: [racket-dev] Can't change plot in DrRacket without getting link errors

2014-01-03 Thread Jens Axel Søgaard
. Does anybody know what's going on? Neil ⊥ _ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Missing match-expander? export from racket/match

2014-01-04 Thread Jens Axel Søgaard
It seems racket/match exports prop:match-expander, but not match-expander? . Is that on purpose? https://github.com/plt/racket/blob/master/racket/collects/racket/match/match.rkt https://github.com/plt/racket/blob/master/racket/collects/racket/match/stxtime.rkt /Jens Axel

Re: [racket-dev] actionable items, was: comments on comments on learning Racket

2014-04-28 Thread Jens Axel Søgaard
2014-04-28 16:12 GMT+02:00 Matthias Felleisen matth...@ccs.neu.edu: SAM: Also, I think that in almost every course using DrRacket, the students will need to learn how to choose languages, because they will switch from one teaching language to the next. So I think this won't be unfriendly.

[racket-dev] Refactoring Idea

2014-04-28 Thread Jens Axel Søgaard
for a folder in which to search for module that require foo and rename the identifier in those modules. -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] [racket] lab notebook on learning process (was: Re: Macros baffle me)

2014-05-06 Thread Jens Axel Søgaard
_ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] [racket] lab notebook on learning process (was: Re: Macros baffle me)

2014-05-07 Thread Jens Axel Søgaard
? - something else? Sam _ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev -- -- Jens Axel Søgaard _ Racket

Re: [racket-dev] crash running raco setup with racket 6.1

2014-10-23 Thread Jens Axel Søgaard
-- -- Jens Axel Søgaard _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Literal constants

2015-01-22 Thread Jens Axel Søgaard
This program returns #f - I was expecting to see #t. #lang racket (define a '(1 2 3)) (define b '(1 2 3)) (eq? a b) Why not guarantee uniqueness of literals occurring in the same module? /Jens Axel _ Racket Developers list:

Re: [racket-dev] What is the policy on what is included in the core libraries?

2015-02-17 Thread Jens Axel Søgaard
2015-02-17 14:26 GMT+01:00 Robby Findler ro...@eecs.northwestern.edu: I don't think the libraries are sufficient as is, but I would resist adding aliases. A alternative: Added the word zip to the documentation index, link it to map and have an example where in (map list ...) is used. Also:

Re: [racket-dev] Build error

2015-01-07 Thread Jens Axel Søgaard
It worked. Thanks! 2015-01-07 18:45 GMT+01:00 Matthew Flatt mfl...@cs.utah.edu: I wasn't able to replicate the problem, but I think I see what could go wrong. I've pushed an attempt at a repair. At Wed, 7 Jan 2015 18:31:35 +0100, Jens Axel Søgaard wrote: Hi All, I got a contract when I

[racket-dev] Build error

2015-01-07 Thread Jens Axel Søgaard
] /Users/soegaard/racket-from-plt-git/plt/racket/collects/raco/raco.rkt: [running body] /Users/soegaard/racket-from-plt-git/plt/racket/collects/raco/main.rkt: [running body] make[2]: *** [plain-in-place] Error 1 make[1]: *** [cpus-in-place] Error 2 make: *** [in-place] Error 2 -- -- Jens Axel