Re: [racket] Conditional compilation ?

2012-01-19 Thread YC
If you really need conditional compilation - take a look at bzlib/os. http://weblambda.blogspot.com/2009/09/conditional-module-inclusion-and.html Cheers, yc On Wed, Jan 18, 2012 at 10:36 PM, Veer Singh wrote: > Ignore the above post , I figured this out after reading little bit more , >

[racket] ryanc/db.plt odbc

2011-11-09 Thread YC
Hi all - does anyone know whether the ODBC driver in ryanc/db.plt (I am aware it's FFI-based) goes around the limitation of FFI calls serialize all racket threads? Thanks, yc _ For list-related administrative tasks: http://lists.racket-lan

Re: [racket] retrieving an https url

2011-06-18 Thread YC
You can also try bzlib/http on planet - it can work with SSL via the following call: (require (planet bzlib/http/client)) (http-get ) (http-post ) Hope this helps. yc On Sat, Jun 18, 2011 at 8:05 AM, Matthias Felleisen wrote: > I have modernized the language (not really necessary)

Re: [racket] stop IE8 on Win7 blocking Help Desk search

2011-05-06 Thread YC
If I recall correctly there were suggestions to serve the help pages through a local web server - was that tried and rejected? Thanks, yc On Fri, May 6, 2011 at 12:57 PM, Eli Barzilay wrote: > Four minutes ago, Jordan Schatz wrote: > > This is the only way I am aware of to

Re: [racket] Writing web applications in SHP.

2011-03-29 Thread YC
an find this under the planet cache directory) There are other posts on the blog that covers both the design and the usage of the code. Obviously they can use more improvements too - so definitely let me know if you have more questions and/or finding deficiencies. -- Cheers, yc http://yinsoche

Re: [racket] Support for MS SQL in Racket?

2011-02-06 Thread YC
Cool! Interested in releasing a driver for it on planet? Does MysterX work with Mono in Linux/Mac? On Sun, Feb 6, 2011 at 2:36 PM, Greg Hendershott wrote: > P.S. Just roughly, for eample: https://gist.github.com/813783 > > On Sun, Feb 6, 2011 at 5:27 PM, Greg Hendershott > wrote: > >> I'd be v

Re: [racket] moby/wescheme & TCO

2011-01-31 Thread YC
Danny - thanks for the explanation on how it works and the links to the paper. I will look into them. Appreciated! yc On Sun, Jan 30, 2011 at 12:11 PM, Danny Yoo wrote: > > Hi YC, > > The current runtime has an interpreter that's explicitly managing the > control stack, s

Re: [racket] moby/wescheme & TCO

2011-01-31 Thread YC
eventually be able to > rely on having tail calls built in to the web. > Yeah I've heard about that too, but of course it will take sometime for the change to propagate to all of the browsers in the wild ;) Thanks for the info, yc _

[racket] moby/wescheme & TCO

2011-01-29 Thread YC
Hi all - I am wondering if there are documentations on how moby/wescheme solve the tail call optimization issue to compile down to javascript. My google'fu is failing me. If not - can someone shed some light on how it's done? Thanks, yc _

Re: [racket] some planet install failure

2011-01-29 Thread YC
Thanks Robby - I am now able to get them installed. On Sat, Jan 29, 2011 at 4:39 PM, Robby Findler wrote: > I don't know if it had to do with the problems on the server or not, > but these both seem to be working now (in 5.0.1). > > Robby _ For li

[racket] some planet install failure

2011-01-29 Thread YC
package: Server had no matching package: Server had no matching package: Planet has matching packages but none matches your criteria in: (planet ryanc/require:1:3/require) Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] metacircular interpreter: hygiene, lexical variable, and substitution ==> Re: recursive macro expanding order

2010-12-13 Thread YC
tion and expander > accordingly, you get the Dybvig-Hieb-Bruggeman algorithm ("the syntax-case > algorithm"). So does the relaxing mean we only use call-site's environment instead of definition-site's environment? Or is there still an environment that the macro def

Re: [racket] metacircular interpreter: hygiene, lexical variable, and substitution ==> Re: recursive macro expanding order

2010-12-12 Thread YC
On Sat, Dec 11, 2010 at 2:49 PM, YC wrote: > > On Sat, Dec 11, 2010 at 8:56 AM, Ryan Culpepper wrote: > >> >> If you are only supporting syntax-rules, then I recommend implementing the >> algorithm from "Macros that Work" by Clinger and Rees. Hygienic macr

Re: [racket] metacircular interpreter: hygiene, lexical variable, and substitution ==> Re: recursive macro expanding order

2010-12-11 Thread YC
extract and port the code you need, or use > it as inspiration. > Good pointers, thanks. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] metacircular interpreter: hygiene, lexical variable, and substitution ==> Re: recursive macro expanding order

2010-12-11 Thread YC
are appreciated, thanks, yc On Wed, Dec 8, 2010 at 12:19 PM, YC wrote: > Thanks Robby! > > > On Wed, Dec 8, 2010 at 4:13 AM, Robby Findler > wrote: > >> PS: check out this paper for an algorithm: >> >> http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.54

Re: [racket] unification

2010-12-10 Thread YC
Cool - thanks! On Fri, Dec 10, 2010 at 3:41 PM, Matthias Felleisen wrote: > > Oh that's 10 bucks. Dang. > > So YC, here is your answer: > > plt/collects/racklog/unify.rkt > > _ For list-related administrative

Re: [racket] unification

2010-12-10 Thread YC
Thanks for all the quick responses from Carl, Shriram, Justin, and Doug so far. Shriram - didn't realize this has homework implications or I would be more careful ;) Thanks, yc On Fri, Dec 10, 2010 at 2:48 PM, Doug Williams wrote: > The inference collection has a unification algorith

[racket] unification

2010-12-10 Thread YC
Hi all - does anyone know where I can find code for implementations of the unification algorithm in racket? Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] [SPAM] metacircular interpreter: recursive macro expanding order ==> Re: metacircular interpreter: macro parser

2010-12-08 Thread YC
Thanks Robby! On Wed, Dec 8, 2010 at 4:13 AM, Robby Findler wrote: > PS: check out this paper for an algorithm: > > http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.54.8909 > > Robby > > On Wed, Dec 8, 2010 at 6:11 AM, Robby Findler > wrote: > > Yes, outside in. Inside out doesn't work b

[racket] metacircular interpreter: recursive macro expanding order ==> Re: metacircular interpreter: macro parser

2010-12-07 Thread YC
#f)) => ((lambda (g) (if g g #f)) (let ((h #t)) (if h #t #f))) => ((lambda (g) (if g g #f)) ((lambda (h) (if h #t #f)) #t)) Does (and should) it matter either way? Any inputs are appreciated. Thanks, yc On Sun, Dec 5, 2010 at 11:21 AM, YC wrote: > > > On Sun, Dec 5, 2010 a

Re: [racket] regexp-replace* with input-port ==> Re: multi-replace function

2010-12-07 Thread YC
(regexp-replace pat (port->bytes in) insert)) (regexp-replace pat in insert))) > (regexp-replace*/out #px"[0-9]+" (open-input-string "1929,1939,1949,1959") "+\\0" (current-output-port)) +1929,+1939,+1949,+1959 Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] regexp-replace* with input-port ==> Re: multi-replace function

2010-12-07 Thread YC
e the same for input-port source anyways. > > (I didn't follow that.) I just mean that (regexp-replace* #rx"foo" in "bar") can return bytes or string or an input-port, instead of having to take in an output-port, if we do not want to add a

[racket] regexp-replace* with input-port ==> Re: multi-replace function

2010-12-06 Thread YC
when the other regexp-* functions do. Are there reasons for the difference? Is it because input-port cannot be written to? But since the string & bytes variants all generate new output, that will seem to be the same for input-port source anyways. Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] multi-replace function

2010-12-06 Thread YC
ome back to it months or years later, so it is very important to write legible and understandable code. Good design and understandable code will pay dividends even if it might not be the fastest code. HTH. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] metacircular interpreter: macro parser ==> Re: metacircular interpreter, lexical scope, environment

2010-12-05 Thread YC
amiliar with Python. I will study the code to see what I can glean from it. Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] metacircular interpreter: macro parser ==> Re: metacircular interpreter, lexical scope, environment

2010-12-05 Thread YC
can share experiences on how to go about this "easily"? Thanks, yc On Wed, Dec 1, 2010 at 8:13 PM, YC wrote: > > > On Wed, Dec 1, 2010 at 7:39 PM, David Van Horn wrote: > >> >> You can't substitute in values for variables that are set!; you need to >

Re: [racket] Question about open-output-file

2010-12-05 Thread YC
ching (define (copy-lines in out) ;; out is in binary mode (let loop ((line (read-line in 'any))) (unless (eof-object? line) (write-string (format (+:windows "~a\r\n" "~a\n") ;; if windows use \r\n, else use \n line) out) (loop (read-

Re: [racket] metacircular interpreter, lexical scope, environment

2010-12-01 Thread YC
te version of Felleisen & Hieb, see this page: > > http://redex.plt-scheme.org/why-redex.html Yes that makes sense. Thanks. yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] metacircular interpreter, lexical scope, environment

2010-12-01 Thread YC
x27;s frames are on "the stack". I just mean that I need to maintain my own stack of frames instead of relying on racket to do so. Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] metacircular interpreter, lexical scope, environment

2010-12-01 Thread YC
ate issues. I agree that they are separate issues, but as the implementer I need to consider them together to have a full solution. I.e. what are all of the components I need to implement in order to have a minimal interpreter (primitive types, lambda, define, se

Re: [racket] metacircular interpreter, lexical scope, environment

2010-12-01 Thread YC
inners: > they usually have no idea what it's saying or why it matters. But > your questions suggest you're at just the right point. > Thanks Shriram on the paper suggestion - I found it and will see how much I can grok. Cheers, yc ___

Re: [racket] metacircular interpreter, lexical scope, environment

2010-12-01 Thread YC
aybe I am looking too far ahead, but it seems like I cannot get away from needing my own call stack? Or am I missing something? Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] metacircular interpreter, lexical scope, environment

2010-12-01 Thread YC
aintain my own stack, and I was trying to see if there are simpler ways to approach the problem. Please let me know if this is still being unclear. Thanks. yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] metacircular interpreter, lexical scope, environment

2010-12-01 Thread YC
ng an immutable hash for environment) isn't the right approach. It feels like I need my own call-stack to represent them, but that sounds "heavy" for a metacircular interpreter. Any thoughts are appreciated, thanks. yc _ For list-related

[racket] quack mode indentation control for define-* with-* etc

2010-11-29 Thread YC
Hi all - anyone knows how to control indentations in quack mode for define and with like keywords? Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] dbd-spgsql.plt date problem

2010-11-28 Thread YC
Thanks for the bug report, and the code has been patched with a newer version on planet. Do (require (planet bzlib/dbd-spgsql:1:3)) to retrieve the latest version. Cheers, yc On Sun, Nov 28, 2010 at 3:32 PM, prad wrote: > some of this is speculation since i'm just a couple of days

Re: [racket] Help re-writing a function recursively

2010-11-17 Thread YC
ou might have changed the code again it's probably easier to see what's going on now if you show the latest code. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Help re-writing a function recursively

2010-11-16 Thread YC
from (cons (read-list-helper '()) list-so-far) back to the helper in order not to terminate early, and you should also check for the end of the file as well. Cheers, yc > > On 15 November 2010 21:13, YC wrote: > >> >> Correct - that's the idea for reading in a

Re: [racket] Help re-writing a function recursively

2010-11-15 Thread YC
trying to recursively parse the nested list. And for that you will need to separate the checking of #\( from #\space and #\). #\( starts the nest, skip #\space, and #\) returns from the current nesting. Note you'll need additional logic if you want to parse multiple numeric characters as a si

Re: [racket] cdata section is not normalized by read-xml

2010-11-10 Thread YC
ase xml-write-mode ((html) "~a") (else "")) (cdata-string cdata)) over dent out)) Cheers, yc On Wed, Nov 10, 2010 at 4:39 AM, Jay McCarthy wrote: > I think a better thing to do is for users who want it to make > > make-cdata* and cdata-string* > > which add the wr

Re: [racket] design and rationale of ports

2010-11-10 Thread YC
ill produce the bytes. I will leave make-output-port as an exercise, at least until others have further questions. HTH. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] cdata section is not normalized by read-xml

2010-11-10 Thread YC
rivate/xexpr.rkt: ,(make-cdata #f #f (format-xexpr/errors val))]) and these do not look like they provide their own as instructed in the cdata documentation. Thoughts? Thanks, yc On Tue, Nov 9, 2010 at 9:06 PM, Jay McCarthy wrote: > It is documented that way: > > > http:/

Re: [racket] design and rationale of ports

2010-11-10 Thread YC
e, ideally with motivating > examples of tasks requiring all the various bizarre knobs and buttons > of the abstraction (not necessarily all at once, of course)? > > Don't know of any such documentations, but if you have a specific questions it might

[racket] cdata section is not normalized by read-xml

2010-11-09 Thread YC
-string (last xexpr)) ;; => "" ;; better as => "this is cdata" Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] how hash works

2010-11-08 Thread YC
we-have-the-value So it seems that hash-ref by default also checks the type of the key besides checking their hash-code - unless they have the same type, the keys will not match even with the same hash-code. Is that correct? Any thoughts are appreciated. Thanks. yc

Re: [racket] duplicate/copy a namespace

2010-11-08 Thread YC
module (so that way the structs and parameters are not evaluated multiple times), hence I was seeking a way to duplicate the namespaces. If the above thought process is not exactly how it works, please let me know too. Thanks. yc _ For list-related adminis

[racket] duplicate/copy a namespace

2010-11-04 Thread YC
namespace. Any ideas are appreciated. Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] racket, sqlite, and user defined function

2010-10-27 Thread YC
Hi all - has anyone have experiences installing user defined functions written in racket/scheme into sqlite, say via jaymccarthy/sqlite? If so - any pointers are appreciated. Thanks. yc _ For list-related administrative tasks: http

Re: [racket] reliable path comparison?

2010-10-20 Thread YC
net framework 2.0: http://support.microsoft.com/kb/929110 Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] A list of vectors

2010-10-18 Thread YC
to iterate over the list of vectors, then use vector-map to iterate over the cells within the vectors to apply the regexp-replace* function. (map (lambda (vector) (vector-map (lambda (cell) ) vector)) ) HTH. Cheers, yc On Mon, Oct 18, 2010 at 2:23 PM, scouic wrote: > Hi

Re: [racket] How to interpret the html code from an input field ?

2010-10-14 Thread YC
On Thu, Oct 14, 2010 at 2:11 PM, YC wrote: > > This is due to the file being stored as a string in the database and > retrieved back out as a string, and strings in xexprs are automatically > escaped for HTML markers. > > To avoid this issue you need to first convert the strin

Re: [racket] How to interpret the html code from an input field ?

2010-10-14 Thread YC
open-input-string )) if that's something you want to explore. Note - as you probably know, there are security issues with directly storing html fragments and render them out unescaped, so you will want to account for them eventually. Cheers, yc _

Re: [racket] writing garbage collector in racket/scheme?

2010-10-08 Thread YC
gt; Robby > > On Fri, Oct 8, 2010 at 2:41 PM, Joe Marshall > wrote: > > On Fri, Oct 8, 2010 at 11:49 AM, YC wrote: > >> Hi all - > >> I have a rather curious question - is it possible to write a garbage > >> collector in a pointerless language such as racket/sc

[racket] writing garbage collector in racket/scheme?

2010-10-08 Thread YC
look like. I am wondering if this is one of the problems that needs to live outside of racket/scheme environment. Any thoughts/idea are appreciated. Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] More consistent approach to web programming?

2010-10-07 Thread YC
is harder to parse than to generate. So I would say having a translation layer will be the way to go for now, until in the future you are ready to parse the request yourself, that's when the ol' good RFCs come in handy. Cheers, yc _

Re: [racket] More consistent approach to web programming?

2010-10-07 Thread YC
he concept of chunked transfers in your representation. Hope this helps as a starting point. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] trace with class methods

2010-10-04 Thread YC
Hi all - does anyone know how to trace the racket/scheme class methods? Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Calling eval from the web server

2010-09-30 Thread YC
o this missing quote or not, as it could be just a typo for the email, but having the actual error message will aid the determination. HTH. Cheers, yc On Thu, Sep 30, 2010 at 1:40 AM, Steve Knight wrote: > Hello, > > I'm using Racket 5.0.1 (from emacs) and I'm having tro

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-16 Thread YC
aps are available for both x86 and ARM, > so the majority of development and debugging takes place on x86, with > final packaging being for ARM -- Cheers, yc Taming the software dragon - http://dragonmaestro.com _ For list-related adminis

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-15 Thread YC
Thanks Jens - I agree with you reasonings and it seems what's left is to actually try it out to see what obstacles will encounter. Cheers, yc On Wednesday, September 15, 2010, Jens Axel Søgaard wrote: > 2010/9/15 YC : >> On Wed, Sep 15, 2010 at 2:14 PM, Jens Axel Søg

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-15 Thread YC
Great! On Wednesday, September 15, 2010, Robby Findler wrote: > On Wed, Sep 15, 2010 at 4:46 PM, YC wrote: >> >> On Wed, Sep 15, 2010 at 2:34 PM, Robby Findler >> wrote: >>> >>> Not into local dlls, but planet should not stand in the way of >>> c

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-15 Thread YC
load the app the first time. Would it work as above with planet code if it is compiled into a standalone exe? Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-15 Thread YC
On Wed, Sep 15, 2010 at 2:14 PM, Jens Axel Søgaard wrote: > 2010/9/15 YC : > > > ARM processor support > > This ought to be supported: >http://groups.google.com/group/plt-scheme/msg/8b51211f8a6a88ca Great! > > limited memory usage > > This is a biggi

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-15 Thread YC
planet packages along with the exe so it can be shipped together without going through planet There might be other questions but those are on top of my head. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] sxml and variables in sxpath expressions

2010-09-15 Thread YC
Use quai-quote and unquote to use variables within a list. `((i . ,num)) instead of '((i . num)) Cheers, yc On Wed, Sep 15, 2010 at 1:17 PM, michail bulgakov < hofstadterthe...@gmail.com> wrote: > Hi! > > I have almost no experience with scheme, but I started a projec

Re: [racket] Weird Require Syntaxes

2010-09-10 Thread YC
equire net/url) (require/env cookie) ;; (require net/cookie) ;; maps date to (planet bzlib/date/srfi) (define-require-env-alias! date (planet bzlib/date/srfi)) (require/env date) (define-require-env-alias! xexpr-only (only-in xml xexpr? xexpr->string)) (require/env xexpr-only) Hope this is

Re: [racket] Shurely Shome Mishtake

2010-09-04 Thread YC
gt; (case "8" > > > (("8" "9" "10") 'hello) > > > (else 'goodbye)) -> goodbye > > > > > > I'm working in Pretty Big > > > > > > _ > > > For list-related administrative tasks: > > > http://lists.racket-lang.org/listinfo/users > > > > _ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > -- Cheers, yc Taming the software dragon - http://dragonmaestro.com _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Remote execution in Racket

2010-08-21 Thread YC
do one, you can do the other. I agree with Neil that we can use better understanding of the problem in order to provide you with adequate ideas - I took a guess and missed. Love to hear more. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Remote execution in Racket

2010-08-20 Thread YC
cript file approach, but you might find the arguments file approach works better in the sense that it does not have to create a sub process. Hope this helps. If my assumptions are incorrect - please feel free to clarify. -- Cheers, yc Taming the software drago

Re: [racket] Help needed representing data | 2d hashes?

2010-08-12 Thread YC
*car* (hash-ref hash key))) (define (value-ref hash key) (*cdr* (hash-ref hash key))) Then you have > (encoding-ref A #\G) 11010001000 > (value-ref A #\G) 39 Hope this is what you are looking for. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Help needed representing data | 2d hashes?

2010-08-12 Thread YC
On Thu, Aug 12, 2010 at 2:22 AM, YC wrote: > > (define A > (make-hash (map (lambda (value) > (cons (list-ref 128-A value) ;; key > ;; encoding + value > *(cons (list-ref ENCODING n) value)*)) >

Re: [racket] syntax-case literals matching in a procedure defined via begin-for-syntax vs (require (for-syntax ...))

2010-08-10 Thread YC
auxiliary module (at phase 1) adds a binding at the right absolute phase, 0. > > Thanks Ryan. I think I more or less get the idea of phase shifting now. It would seem that if I ever define such function at phase 0, adding (require (for-template)

Re: [racket] syntax-case literals matching in a procedure defined via begin-for-syntax vs (require (for-syntax ...))

2010-08-09 Thread YC
e literal.ss it results in matching of both the empty and the if clause), i.e. the only time I've noticed it not working is when literals are involved. Thanks. yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] syntax-case literals matching in a procedure defined via begin-for-syntax vs (require (for-syntax ...))

2010-08-09 Thread YC
(define-syntax (cond/ stx) (syntax-case stx () (stx (cond* #'stx)) )) (cond/ (#f 2) (*else* 5)) ;; works => 5 Any ideas on the differences are appreciated. Thanks. yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] SXML->xexprs ?

2010-07-26 Thread YC
ple, so that the spec is fairly stable before anyone >> starts depending on it. I've also committed to doing a couple SRFIs on the >> spec and libraries.) >> >> -- >> http://www.neilvandyke.org/ >> > > > _ > For list-re

Re: [racket] web-server file upload content-disposition headers and IE6

2010-07-24 Thread YC
that come from other browsers besides IE6, but I since found that I was my own code mistake. So please disregard). Thanks, yc On Sat, Jul 24, 2010 at 10:57 AM, Jay McCarthy wrote: > I don't understand what you are saying is different. > > You say that "the Content-Disposition

[racket] web-server file upload content-disposition headers and IE6

2010-07-23 Thread YC
Z:\Pictures\jelly_fish.jpg" Content-Type: image/pjpeg As far as I can tell, the header themselves should not have triggered the difference. Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] procedure, contract, assoc, and REPL

2010-07-22 Thread YC
On Thu, Jul 22, 2010 at 6:38 AM, Matthias Felleisen wrote: > > YC, this can all work out IF you organize your program like this: > > module A: define functions, export with contracts and only with contracts > module B: import A and create the assoc lists from here > mo

Re: [racket] procedure, contract, assoc, and REPL

2010-07-22 Thread YC
and they magically know where they are being invoked, instead of having two separate wrappers. Thanks for the explanation Robby. I will see what I can do with this. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] procedure, contract, assoc, and REPL

2010-07-21 Thread YC
est2? are exposed via a module, i.e. they are "fixed" once exposed outside of module, whether contracted or not - I would have expected eq? would return #t for both cases in REPL. Am I misunderstand what eq? is all about? Thanks. yc On Wed, Jul 21, 2010 at 5:40 PM, Robby Findler wrote:

[racket] procedure, contract, assoc, and REPL

2010-07-21 Thread YC
? table) continues to match. Is there any particular reason for the divergence of the behaviors? I verified the behavior in both v4.2.5 and v5.0. Thanks. yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Project Ideas

2010-07-20 Thread YC
____ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > -- Cheers, yc Taming the software dragon - http://dragonmaestro.com _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] [ANN] BZLIB/SHP.plt 0.4 available

2010-07-08 Thread YC
e let me know if there are any questions/comments. Cheers, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] shp.plt 1:2 example fail..

2010-06-27 Thread YC
t; not exist. > > What's wrong with that? :'( > > _ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users > -- Cheers, yc Taming the software dragon - http://dragonmaestro.com __

Re: [racket] planet unable to find matching package

2010-06-14 Thread YC
Thanks Robby for confirming that it works. I will see if there are configuration issues on my side. Thanks, yc On Sun, Jun 13, 2010 at 4:10 PM, Robby Findler wrote: > On Sun, Jun 13, 2010 at 1:58 PM, YC wrote: > > I am trying to install planet package in racket, specifically > l

[racket] planet unable to find matching package

2010-06-13 Thread YC
appear to have any maximum version number limits that would prohibit it from being downloaded. Are there any changes to the way packages are being matched? Thanks, yc _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users