Re: [racket-dev] Fwd: [ACM-BULLETIN] Today's Topic: ACM Names 2014 Distinguished Members

2014-12-04 Thread Pierpaolo Bernardi
Congrats Matthew! On Thu, Dec 4, 2014 at 5:50 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: Even the ACM considers our very own Matthew Flatt as a distinguished scientist. -- Matthias Begin forwarded message: *From: *ACM Bulletin acmbulle...@acm.org *Subject: **[ACM-BULLETIN]

Re: [racket-dev] Tweaked doc pages

2013-03-06 Thread Pierpaolo Bernardi
On Wed, Mar 6, 2013 at 6:15 PM, Eli Barzilay e...@barzilay.org wrote: There's no practical way to unify the two searches since they are implemented in a completely different way all the way to how the end user interacts with them. Neither Racket's search nor Google's one report the

Re: [racket-dev] Tweaked doc pages

2013-03-06 Thread Pierpaolo Bernardi
On Thu, Mar 7, 2013 at 3:36 AM, Eli Barzilay e...@barzilay.org wrote: They are already indexed, but it happens to be a very popular name so there are tons of results before it. (Try searching for stxparam to see that it works.) Ooops. You are right. I gave up too soon.

Re: [racket-dev] Stumped!

2013-02-22 Thread Pierpaolo Bernardi
On Fri, Feb 22, 2013 at 4:40 PM, Ryan Culpepper ry...@ccs.neu.edu wrote: The line (date-day quando)99 looks pretty suspicious; with the 99 there, the first branch of the enclosing 'if' expression returns 8 values but the second branch returns 7 values. Yes, that was the source of the

Re: [racket-dev] Stumped!

2013-02-22 Thread Pierpaolo Bernardi
of multiple value errors. It would be good to do better, but I'm not sure how. The errortrace library contains what we currently do so you'd want to experiment there if you have an idea. Robby On Fri, Feb 22, 2013 at 1:13 PM, Pierpaolo Bernardi olopie...@gmail.com wrote: On Fri, Feb 22

[racket-dev] Missing indentation rules for for{*}/set

2013-02-13 Thread Pierpaolo Bernardi
(I know how to add them, but maybe should be included out of the box?) Cheers _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Bug report form broken

2013-02-09 Thread Pierpaolo Bernardi
On Fri, Feb 8, 2013 at 1:12 PM, Pierpaolo Bernardi olopie...@gmail.comwrote: Hello, with Welcome to DrRacket, version 5.3.2.3--2013-02-05(fb91582/a) [3m]. the bug report form is broken again. Attached there is a screenshot of the error. The report I was trying to submit follows below

Re: [racket-dev] Bug report form broken

2013-02-08 Thread Pierpaolo Bernardi
After many retries, one succeded. As ar as I can tell, I did nothing different this time. Cheers On Fri, Feb 8, 2013 at 8:12 PM, Pierpaolo Bernardi olopie...@gmail.com wrote: Hello, with Welcome to DrRacket, version 5.3.2.3--2013-02-05(fb91582/a) [3m]. the bug report form is broken again

Re: [racket-dev] Floating-Point Compliance Testing

2013-02-07 Thread Pierpaolo Bernardi
On Thu, Feb 7, 2013 at 5:50 PM, Neil Toronto neil.toro...@gmail.com wrote: DrDr runs (test-floating-point 1000) every push, which has returned only '() for weeks. In your output, I don't see anything that would indicate a problem with Racket. We can almost certainly pin the blame on your

Re: [racket-dev] differences in error reporting

2013-01-29 Thread Pierpaolo Bernardi
expected: integer? given: 3.3 (integer-roman 3.3) . . integer-roman: contract violation expected: integer? given: 3.3 On Tue, Jan 29, 2013 at 4:33 PM, Pierpaolo Bernardi olopie...@gmail.comwrote: If I use raise-argument-error in my functions, like this: (define (integer-roman n

Re: [racket-dev] differences in error reporting

2013-01-29 Thread Pierpaolo Bernardi
) . . integer-roman: contract violation expected: integer? given: 3.3 On Tue, Jan 29, 2013 at 4:33 PM, Pierpaolo Bernardi olopie...@gmail.comwrote: If I use raise-argument-error in my functions, like this: (define (integer-roman n) (cond ((not (integer? n)) (raise

Re: [racket-dev] differences in error reporting

2013-01-29 Thread Pierpaolo Bernardi
AHA! You got it! It happens in the tabs which have 'No debugging...' checked, and doesn't happen otherwise. 2013/1/30, Robby Findler ro...@eecs.northwestern.edu: What is the custom part of the language settings you have on? Robby On Tue, Jan 29, 2013 at 7:47 PM, Pierpaolo Bernardi olopie

[racket-dev] Bug in creating executables from DrRacket

2013-01-25 Thread Pierpaolo Bernardi
Hello, In a freshly started DrRacket 5.3.2.1, on Windows 8, executables creation fails with this message: Executable creation in DrRacket is supported only in the teaching languages and when the #lang line specifies the language (in “The Racket Language”) Consider using the raco exe

[racket-dev] TR internal error

2013-01-21 Thread Pierpaolo Bernardi
Hello, the file attached causes the following internal error: C:\Program Files\Racket-Full-5.3.2.1\collects\typed-racket\utils\tc-utils.rkt:154:0: Internal Typechecker Error: bad expected: #(struct:tc-results (#(struct:tc-result Char - -) #(struct:tc-result (Vector Integer Integer Integer

[racket-dev] weirdest bug ever

2013-01-17 Thread Pierpaolo Bernardi
Hello, try the following in the interaction panel of DrRacket: (display (integer-char #x2144)) Or, just put this character in an editor buffer. The character is displayed 3 lines below its proper position. AFAIK, this character is a normal ‘Letterlike Symbol’. It shouldn't have any misterious

Re: [racket-dev] weirdest bug ever

2013-01-17 Thread Pierpaolo Bernardi
On Thu, Jan 17, 2013 at 3:46 PM, Ray Racine ray.rac...@gmail.com wrote: Works fine on Linux, assuming it's an upside down Y - ⅄ Yes. And here's how it looks on windows. attachment: Cattura.PNG_ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] weirdest bug ever

2013-01-17 Thread Pierpaolo Bernardi
On Thu, Jan 17, 2013 at 4:46 PM, Ben Goetter goet...@mazama.net wrote: On Windows, Courier New (the default font for the drracket output pane) does not support U+2144. When I set the output pane to use a font that does support this character, such as Segoe UI Symbol, U+2144 displays in the

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

2013-01-13 Thread Pierpaolo Bernardi
iauCal2jd gives 240.5 +56305.0 (=2456305.5) which is the correct answer (of course!) 2013/1/13, Marco Maggi marco.maggi-i...@poste.it: Pierpaolo Bernardi wrote: You may want to look instead at (the time related parts of) SOFA (www.iausofa.org). I have libtoolised SOFA

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

2013-01-11 Thread Pierpaolo Bernardi
On Fri, Jan 11, 2013 at 7:04 PM, Asumu Takikawa as...@ccs.neu.edu wrote: Note: in the long run, it's probably best to have a comprehensive srfi/19 replacement in racket/date, Agreed. srfi/19 also has some serious flaws, which I have no time at the moment to delve into. The one merit it has,

Re: [racket-dev] bit-vectors and serialization

2012-12-18 Thread Pierpaolo Bernardi
On Mon, Dec 17, 2012 at 10:35 PM, Ryan Culpepper r...@cs.utah.edu wrote: True, popcount takes about three times as long as it used to. With a few additional changes, popcount on a million-bit bit-vector takes 1.1 ms using bytes, as opposed to 0.35 ms using fxvectors. (Tested on a 64-bit

[racket-dev] Missing spel cheker

2012-11-29 Thread Pierpaolo Bernardi
Hi, in the release notes of 5.3.1, there's: • DrRacket can spell-check string constants (enable this in the Edit menu). I can't find anything related in the Edit menu, and searching for spell in the help desk turns out empty. (On Windows, in case it matters). Cheers P.

Re: [racket-dev] Missing spel cheker

2012-11-29 Thread Pierpaolo Bernardi
On Thu, Nov 29, 2012 at 2:46 PM, Robby Findler ro...@eecs.northwestern.edu wrote: There should be an menu item about fourth from the end called Spell Check String Constants. Not in my case. It won't work if you don't have aspell installed, however. That's my case! Cheers P.

Re: [racket-dev] Implementation of bit vectors

2012-11-27 Thread Pierpaolo Bernardi
On Sat, Nov 24, 2012 at 8:33 PM, Jens Axel Søgaard jensa...@soegaard.net wrote: Hi All, I have written an implementation of bit vectors intended to be part of the data collection. https://github.com/plt/racket/pull/176 Any comments on the implementation and documentation are welcome.

Re: [racket-dev] Implementation of bit vectors

2012-11-27 Thread Pierpaolo Bernardi
Hi, On Tue, Nov 27, 2012 at 2:34 PM, Jens Axel Søgaard jensa...@soegaard.net wrote: Hi Pierpaolo, 2012/11/27 Pierpaolo Bernardi olopie...@gmail.com: Also, you store and retrieve booleans, not bits, so the name 'bit-vector' is misleading. Potato / Potato :-) http://wiki.call-cc.org

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

2012-11-23 Thread Pierpaolo Bernardi
On Fri, Nov 23, 2012 at 1:20 AM, Nadeem Abdul Hamid nad...@acm.org wrote: 1. Do you use the automatic parentheses feature of DrRacket? No. 3. If your answer to #1 is No, why not? (Is it because you find its current behavior awkward in some way?) Yes. Typing close parentheses is much less

Re: [racket-dev] Wow; racket master at least 2x faster than 5.3.1 on my rb tree benchmark?

2012-11-18 Thread Pierpaolo Bernardi
How does compare to builtin mutable hashes? 2012/11/18, Danny Yoo d...@hashcollision.org: I'm doing some micro-optimizations on my rb-tree implementation. One thing I'm testing is inserting the entire contents of /usr/share/dict/words. It's heavily dominated by structure-mutation code.

[racket-dev] Character classification

2012-09-04 Thread Pierpaolo Bernardi
The non-cooperation between char-numeric? and string-number is very annoying. I had to resort to: (define (my-char-numeric? c) (char=? #\0 c #\9)) Maybe I am missing a function similar to my-char-numeric? somewhere in the Racket docs? FWIW, my humble opinion is that char-numeric? should be

[racket-dev] Character classification

2012-09-04 Thread Pierpaolo Bernardi
The non-cooperation between char-numeric? and string-number is very annoying. I had to resort to: (define (my-char-numeric? c) (char=? #\0 c #\9)) Maybe I am missing a function similar to my-char-numeric? somewhere in the Racket docs? FWIW, my humble opinion is that char-numeric? should be

Re: [racket-dev] Character classification

2012-09-04 Thread Pierpaolo Bernardi
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 Jens Axel. However, the r5rs version appears to be the

Re: [racket-dev] Character classification

2012-09-04 Thread Pierpaolo Bernardi
On Tue, Sep 4, 2012 at 3:56 PM, Doug Williams m.douglas.willi...@gmail.com wrote: I would say your function would be better named is-digit? Good point. However, many of the characters which are char-numeric? are digits too, in other writing systems. and that the char-numeric? is exactly what

Re: [racket-dev] Character classification

2012-09-04 Thread Pierpaolo Bernardi
On Tue, Sep 4, 2012 at 5:03 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Tue, Sep 4, 2012 at 10:57 AM, Pierpaolo Bernardi olopie...@gmail.com wrote: What is annoying is that char-numeric? and string-number are not compatible. `char-numeric?` and `string-number` would

[racket-dev] repl, void, multiple values.

2012-04-06 Thread Pierpaolo Bernardi
Hello, not an important point, just a simple observation that I don't remember having ever seen raised: the repl not printing the void object, sometimes creates ambiguities. Example, given: (define (ok) 'ok) (define (not-ok) (let ((answer 40)) (set! answer (+ answer 2 and at the

[racket-dev] Check-syntax glitch?

2012-02-15 Thread Pierpaolo Bernardi
Hello, (for company firewall reasons I cannot use the bug report facility. Please bear with me). Racket version 5.2.1; Environment: windows Windows NT 6.1 (Build 7601) Service Pack 1 (win32\i386\3m) (get-display-depth) = 32; If I put the following text in a buffer: #lang racket (struct

Re: [racket-dev] reporting bugs from behind firewalls

2012-02-15 Thread Pierpaolo Bernardi
On Wed, Feb 15, 2012 at 14:29, Eli Barzilay e...@barzilay.org wrote: Just now, Matthias Felleisen wrote: On Feb 15, 2012, at 4:30 AM, Pierpaolo Bernardi wrote: (for company firewall reasons I cannot use the bug report facility.  Please bear with me). Perhaps we should have an option

Re: [racket-dev] reporting bugs from behind firewalls

2012-02-15 Thread Pierpaolo Bernardi
On Wed, Feb 15, 2012 at 14:39, Eli Barzilay e...@barzilay.org wrote: Just now, Pierpaolo Bernardi wrote: oops. I have not tried sending this report with this version of DrRacket.  I was remembering the behaviour of previous versions. Should I try to file this report to check if it's working

Re: [racket-dev] crash in DrRacket 5.1.1

2011-05-20 Thread Pierpaolo Bernardi
On Fri, May 20, 2011 at 00:22, Matthew Flatt mfl...@cs.utah.edu wrote: I've pushed a fix to the git repo. Thanks! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] crash in DrRacket 5.1.1

2011-05-19 Thread Pierpaolo Bernardi
Hello, attempting to compile the attached file crashes DrRacket. Banner: Welcome to DrRacket, version 5.1.1 [3m]. Environment: windows XP 32 bit. P. wttree.rkt Description: Binary data _ For list-related administrative tasks:

Re: [racket-dev] crash in DrRacket 5.1.1

2011-05-19 Thread Pierpaolo Bernardi
On Thu, May 19, 2011 at 16:20, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: This crashes DrRacket (but not command line Racket, or 'raco make') on Linux as well, but *only* if Debugging is off. ah! _ For list-related administrative tasks:

Re: [racket-dev] Typed Racket support for Ephemerons

2011-04-27 Thread Pierpaolo Bernardi
BTW, I think there are a couple of typos in: 15.2 Ephemerons An ephemeron [Hayes97] is a generalization of a weak box (see Weak Boxes). Instead of just containing one value, an e___m___phemeron holds two values: one that is considered the value of the ephemeron and another that is the ephemeron’s

[racket-dev] DrRacket crash

2011-04-18 Thread Pierpaolo Bernardi
Hello, the attached program, invoked with (fa 2000 -2) in DrRacket, both in 5.1 and in 5.1.0.5, on windows XP, causes DrRacket to crash (after 20 minutes, on my machine). This appears to be repeatable on my machine. I tested with No debugging or profiling, don't Preserve stacktrace, and

Re: [racket-dev] DrRacket crash

2011-04-18 Thread Pierpaolo Bernardi
On Mon, Apr 18, 2011 at 16:49, Pierpaolo Bernardi olopie...@gmail.com wrote:  And there's plenty of free ram when it happens. To be more precise, I ran the test once more: the machine has 2 GB of RAM, DrRacket at the moment of the crash uses about 900 MB, and there are more than 300 MB

Re: [racket-dev] mzscheme executable relic

2011-04-15 Thread Pierpaolo Bernardi
On Fri, Apr 15, 2011 at 10:51, Marijn hk...@gentoo.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/11 14:15, Marijn wrote: Hi, racket currently still installs a mzscheme executable that (on my system) does this: $ mzscheme read failed to read all 31 bytes from file