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

2012-07-11 Thread Eli Barzilay
es hat, not the drracket one) should consider as the home of additional functionality that might be added there. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

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

2012-07-11 Thread Eli Barzilay
tools seems like too generic of a word. Is there something like > >> "performance-debugging" that isn't so long? > >> > >> Robby > >> > >> On Wed, Jul 11, 2012 at 9:58 AM, Vincent St-Amour > wrote: > >> > At Wed, 11 Jul 201

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

2012-07-10 Thread Eli Barzilay
' would be much better. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

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

2012-07-10 Thread Eli Barzilay
An hour and a half ago, Robby Findler wrote: > On Tue, Jul 10, 2012 at 10:41 PM, Eli Barzilay wrote: > > > > 10 minutes ago, Robby Findler wrote: > >> It is the future visualizer so I thought it belonged with the > >> visualizer. No? > > > > (Yo

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

2012-07-10 Thread Eli Barzilay
ething like that? > On Tue, Jul 10, 2012 at 9:34 PM, Eli Barzilay wrote: > > This commit adds a bad dependency from the core to framework. > > Fixing it is probably not hard, but it leads to an obvious > > question: > > > > Why is this in racket instead of some

Re: [racket-dev] promise vs polym contracts

2012-07-10 Thread Eli Barzilay
wup I promised), but a way to loosen that restriction so you can pass around no-values and avoid a damaging leak would be to make such a `#%value' check for them... But that's of course just vague hand-waving that would naively suffer from the same perfomance problems...) --

Re: [racket-dev] Need a clarification on the implementation of stream-map

2012-07-10 Thread Eli Barzilay
e? > > On Tue, Jul 10, 2012 at 11:13 PM, Jay McCarthy wrote: > > Eli wrote racket/stream based on racket/sequence which I > > wrote. You'll have to ask him whether he added support for > > multiple-value sequences and how to get them. -- ((lambda (x)

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

2012-07-10 Thread Eli Barzilay
lects/racket/future/private/gui-helpers.rkt > A collects/racket/future/private/visualizer-data.rkt > A collects/racket/future/private/visualizer-drawing.rkt > A collects/racket/future/private/visualizer-gui.rkt > A collects/racket/future/visualizer.rkt -- ((lambda (x)

Re: [racket-dev] Deprecating collects

2012-07-10 Thread Eli Barzilay
ing interpreters, then see how that breaks, then show how the "syntax" type should grow from sexpr to sexpr+scope, which also makes it more natural to later see how it keeps growing to accomodate source information and more. -- ((lambda (x) (x x)) (lambda (x) (x x)))

Re: [racket-dev] Deprecating collects

2012-07-10 Thread Eli Barzilay
're not uses that imply a dependency. But perhaps the difference is too subtle to be worth keeping. Or maybe there should be something like the runtime-path tool that doesn't add a depencency. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: [racket-dev] Deprecating collects

2012-07-10 Thread Eli Barzilay
in general, but this one in particular because it is > highly misleading for newcomers (who think it's a blessed macro > facility). Has no real users in the core codebase (there are > two requires in benchmarks but no uses) -1, I'll reply else

Re: [racket-dev] Enhancement to the syntax system?

2012-07-10 Thread Eli Barzilay
and skipping > different-phase rename wraps during resolution. I'm not sure if this > is a good idea or if anyone has tried it. (And this is what Matthew's last example gets by changing `f' to a macro, right? Also, Stefan posted a related message to the scheme-r

Re: [racket-dev] Enhancement to the syntax system?

2012-07-10 Thread Eli Barzilay
with-syntax ([zz (f #'x)]) #`(let ([x 2]) zz))) (m) evaluates to 1, but if I change the first two "stx" names into "x" *or* if I change the argument name for the macro to "x", then it returns 2. -- ((lambda (x) (x x)) (lambda (x) (x x)))

Re: [racket-dev] Release for v5.3 is about to begin

2012-07-09 Thread Eli Barzilay
Just now, Neil Toronto wrote: > On 07/09/2012 06:48 PM, Eli Barzilay wrote: > > 30 minutes ago, Neil Toronto wrote: > >> I suppose this means it's a bad time for the initial commits for the > >> `math' library. :D > > > > As long as it's

Re: [racket-dev] Release for v5.3 is about to begin

2012-07-09 Thread Eli Barzilay
30 minutes ago, Neil Toronto wrote: > I suppose this means it's a bad time for the initial commits for the > `math' library. :D As long as it's new code, there's no problem. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: [racket-dev] Proposal for a "no-argument"

2012-07-08 Thread Eli Barzilay
ce change, the gensym-encouraging, and the obscurer explanation really bother me, so I'll just get rid of the need for them by removing the #:before-first and #:after-last feature. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Redex site down?

2012-07-06 Thread Eli Barzilay
orting it. It's fixed now, and I've improved the code to avoid such problems in the future. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Deve

Re: [racket-dev] Proposal for a "no-argument"

2012-07-01 Thread Eli Barzilay
eed for a new "nothing" value since there's a single one: (define (get-thing name [default no-argument]) (hash-ref things name default)) And that shows a use of `default' that would be valid even though it's not tested. -- ((lambda (x) (x x)) (lambda (x) (x x)))

[racket-dev] Proposal for a "no-argument"

2012-07-01 Thread Eli Barzilay
t language, add a `some' constructor that is optional for any value other than no-value, which makes it a kind of a quotation -- so inputs like `5' are the same, `no-value' is the same as above, and (some x) is the same as x for any value, including `no-value'. (And functions w

Re: [racket-dev] Using licensed code

2012-06-30 Thread Eli Barzilay
any of its files can't be the > actual license if the file was derived from the Gnu Science Library > (GSL), which is GPL. Most of the files I'm interested in converting > to Typed Racket are from the GSL. GPL is a problem. -- ((lambda (x) (x x)) (lambda (x) (x x

Re: [racket-dev] Hyperbolic functions

2012-06-26 Thread Eli Barzilay
ped/racket/math.rkt" that includes the same source and adds the types. But if the goal is to have *much* more mathy functions, then it seems better to just have a new toplevel collection. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Documentation problem

2012-06-23 Thread Eli Barzilay
and clicking on any of the links will show the > problem. Did you use `raco docs' to open the documentation page? -- Each version is intalled in a different directory, so the previous page would stay the same. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli

[racket-dev] Quick Note / possible poll

2012-06-22 Thread Eli Barzilay
refer to have a second `add-between*' function that has the same interface but does the splicing. For/agaist opinions welcome. (Off-list if you want to avoid noise.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barz

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

2012-06-22 Thread Eli Barzilay
Yesterday, Asumu Takikawa wrote: > On 2012-06-21 13:03:18 -0400, Eli Barzilay wrote: > > Nice. How about adding a big "deprecated" to the class100 docs, > > and make a note to remove it in a year? > > That trick is neat, but would it be a problem to just remove it

Re: [racket-dev] Error message proposal

2012-06-22 Thread Eli Barzilay
An hour ago, Eli Barzilay wrote: > > Meanwhile, we should look more carefully at the content of > > specific error messages to see if we can improve either the > > wording or the information provided in fields. First encounter with a new(er) error message: | link: module mism

[racket-dev] `racket/regexp'

2012-06-22 Thread Eli Barzilay
ngs and bytes, so `racket/string' is not a good place for it. Maybe there should be a new `racket/regexp'? In addition to the new function, some functions from `racket/private/string' could move there too. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: [racket-dev] `regexp-replaces'

2012-06-22 Thread Eli Barzilay
Just now, Laurent wrote: > > Maybe we could consider dictionaries for the replacement lists? No, because the keys are regexp patterns, so there's no point in using dictionaries. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://b

Re: [racket-dev] `regexp-replaces'

2012-06-22 Thread Eli Barzilay
ion that looks just like the one from the ffi: (regexp-replaces str (list (list regexp replacement) ...)) Anything else that this should do? -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/

Re: [racket-dev] Error message proposal

2012-06-22 Thread Eli Barzilay
cific > error messages to see if we can improve either the wording or the > information provided in fields. +1. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Comparison functions and the `data' collection

2012-06-22 Thread Eli Barzilay
think that they're completely useless -- you still get some of the benefits of dealing with numbers, like negating the results. But in any case, my point was that we currently have a choice that is used in practically no other place, which makes it a bad one. -- ((lambda (x) (x x)) (lam

Re: [racket-dev] Comparison functions and the `data' collection

2012-06-22 Thread Eli Barzilay
Yesterday, Ryan Culpepper wrote: > On 06/21/2012 09:38 AM, Eli Barzilay wrote: > > More than a week ago, Ryan Culpepper wrote: > >> On 06/11/2012 02:36 PM, Eli Barzilay wrote: > >>> Yesterday, Danny Yoo wrote: > >>>> > >>>> It

Re: [racket-dev] syntax/syntax proposal

2012-06-22 Thread Eli Barzilay
ery minor kind of encouragement -- it applies only to people who edit core code. For most people, the encouragement is already there since from their POV contracts can be added into any code they write. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

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

2012-06-21 Thread Eli Barzilay
(Eg, add this to the code: (begin-for-syntax (when (> (current-seconds) (date->seconds (date 0 0 0 1 6 2013 0 0 #f 0))) (error "time to remove this code"))) ) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http:

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

2012-06-21 Thread Eli Barzilay
| 10 + It seems odd to me that a short alias for a builtin is provided from a different library -- unlike `call/cc'. So I think that it's better to have this alias in `racket/base'. (I mentioned this to Asumu, and he said he doesn't mind either eay.) -- ((

Re: [racket-dev] syntax/syntax proposal

2012-06-21 Thread Eli Barzilay
A few minutes ago, Matthias Felleisen wrote: > > On Jun 21, 2012, at 11:26 AM, Eli Barzilay wrote: > > > I don't see how that would help -- you'll still get the same errors. > > Ouch. That's again a misunderstanding of contracts. > > The idea is th

Re: [racket-dev] Comparison functions and the `data' collection

2012-06-21 Thread Eli Barzilay
More than a week ago, Ryan Culpepper wrote: > On 06/11/2012 02:36 PM, Eli Barzilay wrote: > > Yesterday, Danny Yoo wrote: > >> > >> It's a little unfortunate that there's a slight impedance mismatch > >> between what datum-order provides and what sort

Re: [racket-dev] syntax/syntax proposal

2012-06-21 Thread Eli Barzilay
u'll still get the same errors. As for the above problem, `syntax/stx' is pretty simple, so maybe the functionality can be done directly in the contracts code. (And that removes a dependency.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Error message proposal

2012-06-21 Thread Eli Barzilay
a technical problem. I don't see any problem with capitals & dots that wouldn't happen with lowercase and semicolons, do you have some example? -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/

[racket-dev] `regexp-replaces'

2012-06-21 Thread Eli Barzilay
xt to the other regexp functions?) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Error message proposal

2012-06-21 Thread Eli Barzilay
ng to consider is some way to allow customizing these things -- for example, maybe some error has two fields that are the same only one is more detailed (eg, a short path in one, and absolute one in the other). Or maybe you want to see some particular bit that most people don't. (These

Re: [racket-dev] sequence syntax for (mlist #t #f …) ?

2012-06-21 Thread Eli Barzilay
er tables in html/latex. Not a typical smallish example...) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] sequence syntax for (mlist #t #f …) ?

2012-06-21 Thread Eli Barzilay
)))]) fs) ) And if you want to use a for loop with that, you can do this: (in-sequences (in-value #t) (in-cycle (in-value #f))) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Error message proposal

2012-06-20 Thread Eli Barzilay
d the contracted file; or list of paths in a cycle; or showing a *complete* stacktrace). -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Error message structure (error-message overhaul)

2012-06-20 Thread Eli Barzilay
Earlier today, Neil Toronto wrote: > On 06/19/2012 06:11 PM, Eli Barzilay wrote: > > [...] > >(plot sin) > > [...] > > Hear, hear! I make this mistake myself after going a month or two > without plotting anything. (Off-topic for the thread, but why

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

2012-06-20 Thread Eli Barzilay
st of nobodies (Sam, Jay, and me). My recent push should get it to working state again. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Error message structure (error-message overhaul)

2012-06-19 Thread Eli Barzilay
inconsistencies that are common now. The second problem is worse -- without a specified meaning for the fields, there is no way to reliably construct such one-liners. It's worse because a specification for the meaning of known fields will be hard to design and harder to enforce. --

Re: [racket-dev] Error phrasing (error-message overhaul)

2012-06-19 Thread Eli Barzilay
actly the mistake I'm talking about. I care about it too, but I care much more about getting the information. > "unbound identifier in module" is slightly wrong. A module can > contain many unbound identifiers; it's only a problem is one of them > is used as

Re: [racket-dev] Error phrasing (error-message overhaul)

2012-06-19 Thread Eli Barzilay
character price. (Alternatively, long source locations can be split onto following lines.) > blah blah: undefined identifier in toplevel [...same...] Same as the above, with a minor tweak. > (+ 1 'a) +: bad arguments [...same...] In here the "bad arguments" is very e

[racket-dev] `stream-map' and multiple values

2012-06-18 Thread Eli Barzilay
`stream-map' sticks out as the only place in `racket/stream' that attempts to deal with multiple values -- but there doesn't seem to be any way to use multiple values in streams. Should that be removed? -- ((lambda (x) (x x)) (lambda (x) (x x)))

Re: [racket-dev] Potential search improvement

2012-06-14 Thread Eli Barzilay
identifiers, and not at the kind of full-text searching that you get with web search engines. (In the long term, I think that it's best to encourage using the documentation on-line, which means that we can hook onto our search server, or google, etc for such searches.) --

Re: [racket-dev] Potential search improvement

2012-06-14 Thread Eli Barzilay
rch operator, like something that requires that the result is in a section title, but I think that almost nobody is using these operators anyway.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Potential search improvement

2012-06-14 Thread Eli Barzilay
About two weeks ago, Sam Tobin-Hochstadt wrote: > On Tue, May 29, 2012 at 11:53 AM, Eli Barzilay wrote: > > Three hours ago, Sam Tobin-Hochstadt wrote: > >> Getting away from the discussion on sorting speed, I don't think > >> my suggestion even requires sorting: j

Re: [racket-dev] [racket] Feature request: multiple keys in sort

2012-06-11 Thread Eli Barzilay
Just now, Matthias Felleisen wrote: > > On Jun 11, 2012, at 3:31 PM, Eli Barzilay wrote: > > > Just now, Robby Findler wrote: > >> I'd love to see something that at least handles the case of 2 > >> levels of nesting (if we consider the current sit

[racket-dev] Comparison functions and the `data' collection

2012-06-11 Thread Eli Barzilay
d for mentions of sorting in the data collection, I noticed `data/heap': this code *does* use a binary comparison, but it's expecting a `<=?' instead of a ` any/c any/c any/c).) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: [racket-dev] [racket] Feature request: multiple keys in sort

2012-06-11 Thread Eli Barzilay
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] [racket] Feature request: multiple keys in sort

2012-06-11 Thread Eli Barzilay
improvement to the docs search thing that we discussed recently is exactly a case where I'll need to sort on two keys -- strings and numbers.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Code micro-level organization

2012-06-01 Thread Eli Barzilay
[Combined reply] Two days ago, Jon Rafkind wrote: > On 05/30/2012 04:07 PM, Eli Barzilay wrote: > > > >> Having expressions come from the bottom, using the down arrow, seems > >> sort of wierd. > > Here's a concrete example: > > > >

Re: [racket-dev] Code micro-level organization

2012-05-30 Thread Eli Barzilay
A few minutes ago, Jon Rafkind wrote: > On 05/30/2012 03:40 PM, Eli Barzilay wrote: > > Now, lets imagine that instead of a simple `<>' hole, there are two > > kinds of holes with an "up" or a "down" direction -- this leads to > &

[racket-dev] Code micro-level organization

2012-05-30 Thread Eli Barzilay
above is that the explicit arrow markers make it much easier to read -- I think that this is also an advantage over the clojure threading forms, where you see a form like (take 10) and you have to look back at the arrow kind that was used to know what this really is. In any case, any thoughts about this? I'd especially appreciate little code layout horrors you might encounter, to see how such a form can deal with them. Feel free to reply off-list to avoid premature bike-shedding. (I'm *not* going to commit anything -- this is just trying to roll around the idea to see if there's any point in doing something like this. *If* there is enough interest, then I'll post a concrete suggestion when I have one.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
Three hours ago, Sam Tobin-Hochstadt wrote: > On Tue, May 29, 2012 at 7:33 AM, Eli Barzilay wrote: > > Just now, Sam Tobin-Hochstadt wrote: > >> I think you probably want to rank/divide '1' here based on how > >> much of the identifier is matched by the sea

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
Four hours ago, Eli Barzilay wrote: > A few minutes ago, Neil Van Dyke wrote: > > Eli Barzilay wrote at 05/29/2012 07:17 AM: > > > 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

[racket-dev] No threads => CPS (was: Potential search improvement)

2012-05-29 Thread Eli Barzilay
Just now, Matthias Felleisen wrote: > > On May 29, 2012, at 10:25 AM, Eli Barzilay wrote: > > > 20 minutes ago, Eli Barzilay wrote: > >> An hour and a half ago, Sam Tobin-Hochstadt wrote: > >>> > >>> To stop the sort in the middle, use a custom c

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
20 minutes ago, Eli Barzilay wrote: > An hour and a half ago, Sam Tobin-Hochstadt wrote: > > > > To stop the sort in the middle, use a custom comparison function, > > a bit of state, and an exception. > > This might work. I was confused. It does work, but it's n

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
An hour and a half ago, Sam Tobin-Hochstadt wrote: > On Tue, May 29, 2012 at 8:16 AM, Eli Barzilay wrote: > > 20 minutes ago, Sam Tobin-Hochstadt wrote: > >> On Tue, May 29, 2012 at 7:33 AM, Eli Barzilay wrote: > >> > That can currently get to ~20k things to sort an

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
20 minutes ago, Sam Tobin-Hochstadt wrote: > On Tue, May 29, 2012 at 7:33 AM, Eli Barzilay wrote: > > That can currently get to ~20k things to sort and adjust for > > additional entries that get added on each release, planet > > packages, etc. > > Have you measured

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
A few minutes ago, Neil Van Dyke wrote: > Eli Barzilay wrote at 05/29/2012 07:17 AM: > > 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: &g

Re: [racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
Just now, Sam Tobin-Hochstadt wrote: > On Tue, May 29, 2012 at 7:17 AM, Eli Barzilay wrote: > > > > ** More about the change (especially if you want to try to improve > >   things): > > > > This is not real ranking, but it should give better results overall.

[racket-dev] Potential search improvement

2012-05-29 Thread Eli Barzilay
quickly get into sticky questions. Another aspect of the problem is that there's N search terms, not just one. Currently, the score for each is combined with a `min'; a `max' tends to be worse. Ideally, it would use an average, but that would require to actually sort the result

Re: [racket-dev] `racket/string' extensions

2012-05-24 Thread Eli Barzilay
About a month ago, Eli Barzilay wrote: > [...] This is now almost completely implemented. If you have any comments on the below, now would be a good time. The two things that I didn't do yet are the following (I'm still not sure about the names and the functionality): > (stri

[racket-dev] New https certificate

2012-05-22 Thread Eli Barzilay
Note that I installed a new certificate for the https domains. (I've tried two new things now: it should be valid for two years, and it should work for all *.racket-lang.org domains.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: [racket-dev] did something happen to the git web server?

2012-05-15 Thread Eli Barzilay
o http, so if you go to https://racket-lang.org/ you get redirected to http://racket-lang.org/ instead of seeing the same empty page. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! ___

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

2012-05-15 Thread Eli Barzilay
ut that would happen anyway with zo-level stripping. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] A few suggestions on indentation and DrRacket graphical syntax

2012-05-11 Thread Eli Barzilay
on that this would work better is that any context that receives the `foo' binding would also get its indentation. Eg, think about providing it as `bar' -- if the rules are in a sub-module, then it won't work unless you construct your own sub-module. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Very quick poll re `string-trim'

2012-05-11 Thread Eli Barzilay
just as well go with (string-trim "stuff" #rx" +") instead. IOW, a keyword is possible, but doesn't seem useful given that the intention is for this to be a function that is simple and/or convenient. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Bar

[racket-dev] Very quick poll re `string-trim'

2012-05-11 Thread Eli Barzilay
her functions like `string-split' where an implicit repetition is a bad idea (eg, when you split with "," you'd usually want that to mean #rx"," not #rx",+"). OTOH, I hate to loose the possibly useful case of 1-character strings. --

Re: [racket-dev] Reading and writing binary data

2012-05-11 Thread Eli Barzilay
trying both and timin them. Keep in mind that the main cost of fasl files is when you read them but then it's just plain racket data; in contrast, with an ffi struct you pay the price when you access the data. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: [racket-dev] race setup tests gives wrong error message, best way to fix?

2012-05-11 Thread Eli Barzilay
(I checked that bad case errors are caught earlier, so I don't think that the message can be relevant.) But another problem is that if you do something like raco setup tests 2htdp should just warn that there's nothing to do for tests instead of just fail. --

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

2012-05-10 Thread Eli Barzilay
Two hours ago, t...@racket-lang.org wrote: > A collects/racket/place/distributed/RMPI.rkt Can we avoid having capitals in public api modules and CamelCase names like `RMPI-AllReduce'? -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

Re: [racket-dev] emscripten? (was: Re: Using clang to Build Racket on Mac OS X)

2012-05-09 Thread Eli Barzilay
em it had was indeed that to use this for JIT, LLVM would need to be completely included -- and that's a huge overhead. (The LLVM library was a little bigger than the mzscheme excutable at the time, IIRC.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:

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

2012-05-08 Thread Eli Barzilay
An hour ago, Ryan Culpepper wrote: > On 05/08/2012 08:29 PM, Eli Barzilay wrote: > > 5 hours ago, ry...@racket-lang.org wrote: > >> > >> 745607a Ryan Culpepper 2012-04-18 14:58 > >> : > >> | added unstable/cat > > > > Why? This was to

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

2012-05-08 Thread Eli Barzilay
10 minutes ago, Eli Barzilay wrote: > [...much...] BTW, this is not supposed to be negative -- it should be considered as a desperate plea for writing some formatting library that will put the lid on that story in a similar way that `for*' ended the frequent discussions on a looping

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

2012-05-08 Thread Eli Barzilay
till complicated -- but at least you're now in plain racket rather than remembering weird character combinations. If the functions that are constructed for these "templates" are simple enough (eg, if they can be used outside of a `fmt' call), then it would be easy to play with things. --

Re: [racket-dev] XREPL and readline-6.*

2012-05-07 Thread Eli Barzilay
On January 11th, Eli Barzilay wrote: > 10 minutes ago, Marijn wrote: > > > > On 19-12-11 16:45, Marijn wrote: > > > that makes sense as my installed and the current upstream readline > > > version is 6.2. Any chance that could be fixed? > > > > This

Re: [racket-dev] current-*-port

2012-05-07 Thread Eli Barzilay
(Almost exactly why I made this suggestion...) > Incidentally, starting an identifier with "@" is a little bit > problematic because of how the reader handles ",@" (unquote-splicing). It's more problematic because of the at-exp syntax. -- ((lambda (x) (x

Re: [racket-dev] implicit begin for define-syntax-rule

2012-05-07 Thread Eli Barzilay
ons that should be visible outside of the macro. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Wrapping lines

2012-05-06 Thread Eli Barzilay
ld be repeated on every line, and things like "*" or "4.".) * A quick explanation on the width argument to `wrap-line': it's either a number, or an improper list of numbers -- one number for each line, and the last for the rest. (Improper lists make sense

[racket-dev] Wrapping lines

2012-05-06 Thread Eli Barzilay
ted > | in comments the file. > : > A collects/scribble/text/wrap.rkt > M collects/tests/scribble/main.rkt |4 +++- > A collects/tests/scribble/text-wrap.rkt -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/

Re: [racket-dev] [plt-scheme] Bug or misuse? match-expander ids not properly working (patch)

2012-05-04 Thread Eli Barzilay
A few minutes ago, Carl Eastlund wrote: > On Fri, May 4, 2012 at 4:37 PM, Eli Barzilay wrote: > > In case it wasn't clear enough, I said that I don't mind having > it (and I'm willing to add it) -- I only added that I don't see > any *practical*

Re: [racket-dev] conditional scribble documents

2012-05-04 Thread Eli Barzilay
tro} Blah blah blah. --- -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] current-*-port

2012-05-04 Thread Eli Barzilay
ch, and one that I wouldn't mind either -- but that's a much deeper change. (At least for anything type-like it will be a headache.) Yesterday, David T. Pierson wrote: > On Thu, May 03, 2012 at 03:48:17PM -0400, Eli Barzilay wrote: > > IMO, anyone who is not coming from some

Re: [racket-dev] [plt-scheme] Bug or misuse? match-expander ids not properly working (patch)

2012-05-04 Thread Eli Barzilay
is a more accurate analogy than the > above.) > > Perhaps we need a different match form for students, much like the > other special cases in student languages. These are not HtDP students -- consider them as any other kinds of newbies. -- ((lambda (x) (x x)) (lambda

Re: [racket-dev] [plt-scheme] Bug or misuse? match-expander ids not properly working (patch)

2012-05-04 Thread Eli Barzilay
that suggest a flaw in the design of that mechanism. (In a similar way to allowing (define 'x ...) -- and that is a more accurate analogy than the above.) If you have a different suggestion for the second problem, that makes the first a much weaker point. -- ((lambd

Re: [racket-dev] [plt-scheme] Bug or misuse? match-expander ids not properly working (patch)

2012-05-04 Thread Eli Barzilay
h my own `if'. The bottom line is that if this change is done, then such an `id' form would not be necessary -- either it's for obvious names (the few that are done in the library), or for names that you defined which you're supposed to know about. -- ((lambda

Re: [racket-dev] [plt-scheme] Bug or misuse? match-expander ids not properly working (patch)

2012-05-04 Thread Eli Barzilay
gt; +[expander > + (and (identifier? #'expander) > + (match-expander? (syntax-local-value (cert #'expander) > + (lambda () #f > + (match-expander-transform > + parse/cert cert #'expander stx match-expander-match-xform > + "This expander only works with the legacy match syntax")] > [(var v) > (identifier? #'v) > (make-Var #'v)] > _ > For list-related administrative tasks: > http://list.cs.brown.edu/mailman/listinfo/plt-scheme -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] current-*-port

2012-05-03 Thread Eli Barzilay
he old names too, for compatibility. [Disclosure: I remembered suggesting it once, and finally found it -- I did this about 4 years ago. The discussion didn't go beyond "use M-/ in emacs", which is still very inconvenient.] -- ((lambda (x) (x x)) (lambda (x) (x x)

Re: [racket-dev] literal strings and numbers are now interned

2012-05-02 Thread Eli Barzilay
exp racket > > >  (provide is-source-newline?) > > >  (define nl '@{ > > >              }) > > >  (define (is-source-newline? v) (eq? (first nl) v)) > > > > > >                      b.rkt > > >                      - > > >  #lang at-ex

Re: [racket-dev] Getting Started & install instructions

2012-05-01 Thread Eli Barzilay
t looks, but if you do get the texts I can help putting it in the right places (most likely it'll be wired in via "data.rkt" in the same directory). (This includes also installation from source, for those downloads.) -- ((lambda (x) (x x)) (lambda (x) (x x)))

Re: [racket-dev] Getting Started & install instructions

2012-05-01 Thread Eli Barzilay
ed "Start"). - For Linux the "run the drracket binary" description is confusing for newbies that don't know how to do that. But in addition, I hope that we'll soon add a desktop file so people will use their usual menu to run it instead

Re: [racket-dev] Class contracts: opaque or transparent?

2012-04-27 Thread Eli Barzilay
s for all (toplevel) defniitions, which it doesn't do.] -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ Racket Developers list: http://lists.racket-lang.org/dev

<    1   2   3   4   5   6   7   8   9   10   >