Re: [racket-users] Re: How can I make GUI elements abut?

2018-09-20 Thread David Vanderson
I can confirm - on Linux and Windows the buttons stretch in both directions, but on Mac only horizontally, and I see the spacing between buttons you see. Searching around a bit, it seems that native button widgets on Mac do not allow vertical stretching. I would bet the spacing is also part of th

[racket-users] Re: [racket-dev] (eighth RacketCon) Warp demo

2018-09-01 Thread David Vanderson
On Sat, Sep 1, 2018 at 7:02 PM Christopher Lemmer Webber wrote: > > I checked it out. Very cool! Did you ever play Subspace / Continuum? > Reminds me a lot of it. There's more detail here than I initially > realized between the different roles of the ships and etc. > > My only complaint would b

[racket-users] (eighth RacketCon) Warp demo

2018-09-01 Thread David Vanderson
d get started: https://www.youtube.com/watch?v=ihv5WFULs0c The code is here: https://github.com/david-vanderson/warp Hope to see you there! Dave -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving ema

Re: [racket-users] Bitmaps and Canvas sizes

2018-08-11 Thread David Vanderson
Usually you adjust the drawing context's scale. Something like (untested): (define bm (read-bitmap ...)) (define dc (send image-box get-dc)) (define t (send dc get-transformation)) ; save old scale (send dc scale (/ (send image-box get-width) (send bm get-width)) (/ (send image-box get-heigh

Re: [racket-users] Notifier/subscriber pattern, preventing event cycles: What's the best practice?

2018-08-08 Thread David Vanderson
On 08/08/2018 08:01 AM, Erich Rast wrote: model change-->model notifies view of 'model-change-->view receives 'model-change-->view changes GUI class-->external library and OS-level widget display handling-->GUI class event-->view notifies model of 'view-change Is there a better solution

Re: [racket-users] New eyes needed for opengl problem

2018-04-08 Thread David Vanderson
ow. > > Thanks for the hint. > > Jens Axel > > > > > > > 2018-04-08 20:23 GMT+02:00 David Vanderson : > >> Something weird is going on. If I make the viewport bigger when drawing >> to the screen then I see the blue triangle: >> >> ; swit

Re: [racket-users] New eyes needed for opengl problem

2018-04-08 Thread David Vanderson
)] ; in milliseconds > [notify-callback on-tick]) > > (send win show #t) > > (define (bytes->bitmap bs width height) > (define bm (make-bitmap width height)) > (send bm set-argb-pixels 0 0 width height bs) > bm) > > (define (rgba->argb! pixels) > (for

Re: [racket-users] New eyes needed for opengl problem

2018-04-07 Thread David Vanderson
I'm also learning, but I think in this case the viewport is not sized correctly to draw to the texture. I think you need something like this: ; Draw a blue triangle ***this is the part that isn't working*** (glDrawBuffer GL_COLOR_ATTACHMENT0) ; draw to color attachment 0 (glDisableGL

[racket-users] copying prefab structs

2017-12-07 Thread David Vanderson
I would appreciate any advice on the best way to copy a prefab struct that could be a sub-struct. I have been using write/read but felt bad about it. Trying again now gave me a new option. Is there a better solution out there? (define (copy-writable s) (read (open-input-string (with-output-to-s

Re: [racket-users] How to store SQL query text outside Racket source code?

2017-08-01 Thread David Vanderson
On 07/31/2017 10:46 PM, Alex Harsanyi wrote: Unfortunately, `define-runtime-path` can only be used at top-level, so the above code does not compile. It works fine without the `define-runtime-path', I need to use it so they query files are found when the application is compiled to a stand-alone e

Re: [racket-users] mode-lambda and the gl-backend

2016-12-28 Thread David Vanderson
On Wed, Dec 28, 2016 at 11:40 AM, Jens Axel Søgaard wrote: > Below is what works for me (this is just for the archives). > When run the program prints this warning/info which I assume it is ok to > ignore. > > GL context changed > You are using OpenGL '(4 1) with gl-backend-version of 3.3

Re: [racket-users] mode-lambda with antialiasing?

2016-11-15 Thread David Vanderson
On Mon, Nov 14, 2016 at 6:50 PM, Jay McCarthy wrote: > I could be wrong, but I don't think that there's an obvious > anti-aliasing algorithm that fits mode-lambda's use cases. I would > recommend rendering at a high buffer size and then down sampling. I > attached a version of your program that d

Re: [racket-users] mode-lambda with antialiasing?

2016-11-14 Thread David Vanderson
of the same location > given that the ultimate rendering canvas would accommodate them? > > Jay > > > > > > > On Mon, Nov 14, 2016 at 1:57 PM, David Vanderson > wrote: > > I'm working on converting my game to use mode-lambda, and it's going > pret

[racket-users] mode-lambda with antialiasing?

2016-11-14 Thread David Vanderson
I'm working on converting my game to use mode-lambda, and it's going pretty well so far, but I'd like to get smoother rendering of sprites rotated & scaled. I was hoping that (send gl-config set-multisample-size 4) would take care of it. That works for some raw opengl stuff I've tried, but not fo

Re: [racket-users] Re: [racket] Socket error with distributed places example

2016-09-01 Thread David Vanderson
I tried it and got the same thing with Linux and Racket 6.1. I did notice that in the terminal that I started DrRacket from, it was asking for a password, like it was trying to ssh to localhost. Not sure how to fix that (public keys maybe?) but hopefully that helps. Thanks, Dave On 09/01/20

Re: [racket-users] Do I need a critical section here ... and if so, how to?

2016-09-01 Thread David Vanderson
Did you look at using a semaphore? That's what I would try, but I also didn't know about box-cas! Thanks, Dave On 09/01/2016 10:49 AM, Erich Rast wrote: Wow, I didn't know about box-cas! That seems to be a good solution in this case. Thanks! -- Erich On Thu, 1 Sep 2016 09:37:06 -0300 Gust

Re: [racket-users] Routing syntax

2016-04-04 Thread David Vanderson
On 04/04/2016 02:08 PM, Brian Adkins wrote: (routes ("/" home-page) ("/:org_shortname/product_image/:style/:filename" product-image #:verbs (get) #:name prod-image #:when (regexp-match #rx".jpg$" filename)) ("/products/(*id).json" product-show #:verbs (get))) Any feedback is appre

Re: [racket-users] garbage collection

2015-07-04 Thread David Vanderson
On 07/04/2015 05:26 PM, Neil Van Dyke wrote: Any plans for new interesting GC/memory features in Racket? For example, being able to inhibit GC for a time, being able to adjust the GC trigger parameters dynamically, different ways to minimize GC pauses or slowdown in the app behavior, real-time

Re: [racket-users] generalised set! in Racket

2015-06-30 Thread David Vanderson
Racket does have 'make-set!-transformer' that allows you to define syntax that cooperates with 'set!'. I think that might work if you are defining your own datatype. Have you seen that? Thanks, Dave On 06/30/2015 11:10 AM, Alexey Cherkaev wrote: Hi Alexander, Thanks for your reply: I had s

Re: [racket-users] web server: database result paging

2015-04-24 Thread David Vanderson
On 04/24/2015 06:39 AM, George Neuner wrote: Possibly. Sorry, I moved on to something else in the meantime and I have to get back to this. Is it required to use define or would let bound variables in start work also? George Yes - let bound variables would work the same. Thanks, Dave --

Re: [racket-users] web server: database result paging

2015-04-24 Thread David Vanderson
On 04/24/2015 08:13 AM, George Neuner wrote: I'm not using parameterize at all (at least not explicitly). I receive a web request that has up to 9 arguments contained in its bindings. (define (search request) (let* [ (params (request-bindings request)) (cookies

Re: [racket-users] web server: database result paging

2015-04-23 Thread David Vanderson
What I want to do is: create a hash representing the return object - data to return - URL for next page function (if applicable) - URL for prev page function (if applicable) convert the hash to a jsexpr send/suspend/dispatch the jsexpr #lang web-server/ins

Re: [racket-users] web server: database result paging

2015-04-22 Thread David Vanderson
On 04/20/2015 05:54 AM, George Neuner wrote: I know I need a different response function. The question was whether embed/url is tied to HTML or can be used in a different context. The documentation (6.1.1) says: "When used inside page syntactically, a rename transformer for the

Re: [racket-users] web server: database result paging

2015-04-19 Thread David Vanderson
On 04/18/2015 12:34 PM, George Neuner wrote: Hi all, I have an web server application in which I need to page results of a database query, but I also have to guarantee *exactly-once* statistical processing of each sent result row regardless of how many times it may be sent. Theresults are f

Re: [racket] using struct-copy with struct subtypes?

2014-11-17 Thread David Vanderson
s of the fields. David's version also makes a new instance of all the fields (that are not "singletons" like 7, #t, ...). Gustavo On Mon, Nov 17, 2014 at 3:23 PM, David Vanderson wrote: I ran into the same problem. Since my structs are all #:prefab, I copy them like this: (de

Re: [racket] using struct-copy with struct subtypes?

2014-11-17 Thread David Vanderson
I ran into the same problem. Since my structs are all #:prefab, I copy them like this: (define (copy s) (read (open-input-string (with-output-to-string (lambda () (write s)) Probably not the best, but works for me. Thanks, Dave On 11/17/2014 12:25 PM, Sam Tobin-Hochstadt wrote: Unfort

Re: [racket] debugging memory allocation

2014-11-17 Thread David Vanderson
ngs I should try changing? Thanks, Dave On 11/07/2014 11:51 PM, Jay McCarthy wrote: On Fri, Nov 7, 2014 at 11:43 PM, David Vanderson wrote: On 11/07/2014 09:45 PM, Jay McCarthy wrote: Robby's advice of using backtrace can be useful. But it is pretty complicated to use, especially with an inte

Re: [racket] debugging memory allocation

2014-11-07 Thread David Vanderson
On 11/07/2014 09:45 PM, Jay McCarthy wrote: Robby's advice of using backtrace can be useful. But it is pretty complicated to use, especially with an interactive application. If you go that route, you want to make an automated version of your code. Another strategy is to put your model and your vi

[racket] debugging memory allocation

2014-11-06 Thread David Vanderson
I'm having a UI problem in my game where major GCs cause noticeable, frequent pauses (every 5-15 seconds). Jay's advice was to control allocation. Minor GCs are no problem, and I'm okay with infrequent major GCs. Problem is I don't know how to go about tracking this down, and need advice.

Re: [racket] HTTP POST: curl vs racket net library

2014-11-03 Thread David Vanderson
A tiny addition - if you know that the base64 encoding will be less than one line, you can use the optional second argument to 'base64-encode': (define (authcode key) (base64-encode (string->bytes/utf-8 key) #"")) Thanks, Dave On 11/03/2014 07:19 PM, Jay McCarthy wrote: It did not work beca

Re: [racket] A beginner's question re drawing on a canvas

2014-10-01 Thread David Vanderson
Chris, It sounds like your mental model of the canvas is that stuff you draw on it stays there permanently, like paint on a real-world canvas. This is not how the GUI works. When the GUI canvas is displayed on the screen, it asks your program (by calling on-paint) to draw the canvas contents

Re: [racket] Issue reading bytes from TCP port

2014-09-03 Thread David Vanderson
On 09/03/2014 12:01 PM, Gilbert Martinez wrote: I'm having issues reading the response from a TCP server. Specifically, any attempt to read the input port does not terminate. I've used port->bytes, read-byte, and read-line. In all cases the effect is the same. I thought that if there were n

Re: [racket] racket/gui: Problem displaying bitmap data

2014-06-24 Thread David Vanderson
Alexander, Not all bitmaps support all operations. I've modified your program to show the bitmap in the frame. Hopefully this helps, but I'm not sure what you are trying to do. Let me know if you're still having trouble! Dave (module ex6 racket/base (require srfi/1) (require srfi/4)

Re: [racket] (fourth RacketCon) Registration Now Open

2014-05-21 Thread David Vanderson
Just to make sure, is RacketCon going to be at the DoubleTree hotel? If so, is there any special hotel rate? Thanks, Dave On 04/24/2014 02:40 PM, Vincent St-Amour wrote: Registration for (fourth RacketCon) is now open. Tickets are 30$. https://www.eventbrite.com/e/racketcon-2014-tickets

Re: [racket] big-bang is slow to render on screen?

2014-04-21 Thread David Vanderson
It's fast for me - Linux Mint, both Racket 6.0 and 6.0.1.5 (from git just now) with cairo 2.11200.2. Dave On 04/21/2014 11:10 AM, Laurent wrote: My version of Cairo is 2.11000.2. What's yours, Sean? (probably: ls /usr/lib/i386-linux-gnu/libcairo.so*) On Mon, Apr 21, 2014 at 4:51 PM, Robby Fi

Re: [racket] plot pixel position

2014-04-16 Thread David Vanderson
Aha - clever. Thanks! On 04/16/2014 12:09 PM, Neil Toronto wrote: On 04/15/2014 12:59 PM, David Vanderson wrote: Is there a way to access area's plot->dc? For this example I wanted to ask if the mouse was within 2 pixels of any point. There's unfortunately not. But if you

Re: [racket] plot pixel position

2014-04-15 Thread David Vanderson
On 04/15/2014 04:48 PM, John Clements wrote: On Apr 15, 2014, at 11:59 AM, David Vanderson wrote: Question for GUI experts: Is there a reason why multiple repaint requests in the queue should not be coalesced into a single paint? I had this problem recently, and it turned out that the

Re: [racket] plot pixel position

2014-04-15 Thread David Vanderson
le repaint requests in the queue should not be coalesced into a single paint? Thanks, Dave On 04/01/2014 05:41 PM, Neil Toronto wrote: On 04/01/2014 02:17 PM, David Vanderson wrote: Plot is fantastic - thanks so much! Is there a way to hook into the interactive features of plot so, for i

[racket] plot pixel position

2014-04-01 Thread David Vanderson
Plot is fantastic - thanks so much! Is there a way to hook into the interactive features of plot so, for instance, the user could click to add data or drag data points around? I'm using plot/dc to draw onto a canvas, and I'd be more than happy just to be able to ask a plot to translate a pixe

Re: [racket] limiting refresh rate of scroll bar calls to canvas%'s 'draw'

2014-03-21 Thread David Vanderson
On 03/21/2014 02:16 PM, John Clements wrote: 2) upstream, inherit from canvas% and add code to limit the rate of calls to draw. I haven’t looked at the code yet, but this might be my best bet. I tried overriding "refresh", and there's a tempting mention in the docs that "(Multiple refresh requ

Re: [racket] New web pages!

2014-03-12 Thread David Vanderson
The new pages are very nice - congratulations and thanks to all involved! Dave Racket Users list: http://lists.racket-lang.org/users

Re: [racket] rudimentary macro Q.

2014-02-26 Thread David Vanderson
On 02/26/2014 01:54 PM, Matthew Butterick wrote: Thank you. Maybe I can make the question a tiny bit less dumb (though still really dumb). In this example, when I use the syntax macro 'public-proc', it keeps the 'private-proc' binding from the 'inner' submodule. Q: How could I invoke 'public

Re: [racket] Learning Path for Web Applications?

2014-02-17 Thread David Vanderson
On 02/17/2014 09:09 AM, Jay McCarthy wrote: Hi Ben, The Racket documentation explains our Web API, but doesn't always explain why you need these things in the larger context of Web programs. There is a tutorial and an API document about web applications on the official site of Racket. But they

Re: [racket] Best way to propose changes to Scribble CSS files

2013-11-10 Thread David Vanderson
This is amazing! Thank you very much! Given all the little rendering things that people are pointing out, I should say that the docs are currently using a transitional DOCTYPE, which could be part of the problem. You probably have good reasons for it, but I thought I'd mention it just in case.

Re: [racket] fun with ports and (system ..) calls

2013-10-16 Thread David Vanderson
Also if you are primarily interested in getting the output of "system" calls, you can use "process" or "subprocess" instead to get results back asynchronously. Remember to close ports as per the documentation. On 10/16/2013 02:30 PM, Matthew Flatt wrote: At Wed, 16 Oct 2013 13:48:57 -0400, Vl

Re: [racket] fun with ports and (system ..) calls

2013-10-16 Thread David Vanderson
On 10/16/2013 12:35 PM, Vlad Kozin wrote: assuming I have a number of .c files I expect "find" to write corresponding lines to (current-output-port). I want to collect them in a list. Here's a solution I thought would work: (define-values (in out) (make-pip

Re: [racket] Servlet static file paths, I just don't get it

2013-09-30 Thread David Vanderson
Erich, In addition to Jay's options, I think one way to do what you want is to remove the "else" clause from dispatch-rules and instead pass your "respond-unknown" function to the serve/servlet #:file-not-found-responder keyword: #lang racket (require web-server/servlet-env web-serv

Re: [racket] use of SRFIs in Racket

2013-09-25 Thread David Vanderson
On 09/25/2013 12:01 AM, Edward Earnest wrote: Good evening all, This might be a silly question -- but what is the official status of the included SRFIs in Racket as they relate to #lang racket? I am working on my first Racket program and I need to be able to test if a given string is present

Re: [racket] pkg.racket-lang.org down?

2013-09-20 Thread David Vanderson
I got the same error well. On 09/20/2013 09:36 AM, Laurent wrote: Hi, I get a 502 Bad Gateway error when trying to go to pkg.racket-lang.org . Is it just me? Laurent Racket Users list: http://lists.racket-lang.org/users _

Re: [racket] Cleaner way to work with gzipped data?

2013-08-09 Thread David Vanderson
Is this the sort of situation that continuation barriers were made for? Do you have any guidance about using them? #lang racket (define (only-once thunk) (dynamic-wind (? () (displayln "pre-thunk")) (? () (call-with-continuation-barrier thunk)) (? () (displayln "post-thunk" (on

Re: [racket] parsing methods for character-based invoices?

2013-05-10 Thread David Vanderson
Thanks very much for the pointers! On 05/09/2013 05:07 PM, Matthias Felleisen wrote: Oops, I confused parser-tools with Danny's project. Sorry. On May 9, 2013, at 4:53 PM, John Clements wrote: On May 9, 2013, at 1:38 PM, Robby Findler wrote: Even if it isn't that large, you may benefit fr

[racket] parsing methods for character-based invoices?

2013-05-09 Thread David Vanderson
I've got character-based invoices from old systems that look roughly like (but much bigger): DATEDESC CREDIT DEBIT 01/01/2013 SERVICES $1234.50 01/01/2013 PAYMENT $1000.00 BALANCE $234.50 I don't know exactly how they're f

Re: [racket] Planet2 questions

2013-04-30 Thread David Vanderson
On 04/30/2013 12:24 PM, Matthew Flatt wrote: I have been working with Jay on the package manager recently, and so I have some further info on this point. snip In particular, I can imagine having a project whose source code includes a package catalog. To upgrade a particular package, I'd change

Re: [racket] clarification for beginners please

2013-04-25 Thread David Vanderson
On 04/25/2013 02:57 PM, Matthias Felleisen wrote: (eqv? (factorial 1000) (factorial 1000)) ;; ... but they point to observably equal numbers, so eqv? uses = to compare them #t (eqv? (cons 1 2) (cons 1 2)) ;; distinct pointers point to allocated structures, on the other hand, and eqv? compare

Re: [racket] planet bug reporting system: taken over by spam

2013-03-16 Thread David Vanderson
One idea could be to route the bug reports through the mailing list, since the list seems to deal with spam pretty well. On 03/16/2013 09:22 AM, Robby Findler wrote: Cool! On Sat, Mar 16, 2013 at 11:18 AM, Ray Racine > wrote: Hyperloglog with a sliding windo

Re: [racket] looking for a simple ssh library.

2013-02-28 Thread David Vanderson
Eli, What's the solution here, use 'subprocess' or 'system*' to prevent shell execution? Thanks, Dave On 02/28/2013 07:56 AM, Eli Barzilay wrote: (`system' should almost never be used in public code... Imagine someone using the above code and dealing with the consequences of file names like

Re: [racket] Finding files

2013-01-31 Thread David Vanderson
Very interesting - thanks for explaining! On 01/31/2013 03:07 PM, Danny Yoo wrote: On Thu, Jan 31, 2013 at 3:30 PM, David Vanderson wrote: (enter! "C:\\indexing\\serve.rkt") Does that work? It looks like you just need to escape the backslashes - they are the escape character

Re: [racket] Finding files

2013-01-31 Thread David Vanderson
(enter! "C:\\indexing\\serve.rkt") Does that work? It looks like you just need to escape the backslashes - they are the escape character for Racket strings. Dave On 01/31/2013 02:01 PM, John Sampson wrote: > (enter! "C:\indexing\serve.rkt") . read: unknown escape sequence \i in string _

Re: [racket] release date for RacketCon videos?

2012-05-15 Thread David Vanderson
I was able to get in touch with Jeff, and am working with him to get the videos ready. I'll post updates as I go. Thanks, Dave On 05/15/2012 03:29 PM, John Clements wrote: On May 15, 2012, at 2:03 PM, Todd O'Bryan wrote: This is clearly a problem with you academic types not knowing how thin

Re: [racket] New Artifacts

2012-04-27 Thread David Vanderson
Thank you - I learned some great practical tips, and also that I should read all the net/url docs. On 04/27/2012 01:36 PM, Galler wrote: New Artifacts posted: Improved! Low-Fat! Exciting! https://github.com/plt/racket/wiki/Artifacts 1. Specifying a HMAC-SHA1 stuffer for the stateless web-se

Re: [racket] Apache does not get along with RKT WebServer?

2012-04-20 Thread David Vanderson
Try putting the RewriteRule inside a Location directive in the apache config: RewriteEngine on RewriteRule ^(.*)$ http://localhost:8080/$1 [P,NE] Does that help? On 04/20/2012 09:16 AM, J G Cho wrote: My search on previous discussions on this topic did not bring up a definitive answer so all

Re: [racket] Interactive Canvas

2012-04-09 Thread David Vanderson
Not a dumb question at all. Hopefully more experienced minds can give a smarter answer, but one way is to have your rectangles be separate from gui-elements. So you could store your rectangles in a regular old data structure. Write code to render that to a canvas as needed. When a mouse eve

Re: [racket] release date for RacketCon videos?

2012-03-27 Thread David Vanderson
Hi, I don't want to pester too much about this, but any update? There's still a lot of interest from those of us who were unable to make it to RacketCon 2011. Thanks, Dave On 09/30/2011 09:52 AM, Sam Tobin-Hochstadt wrote: The videos are still being processed, and I hope they will be up soo

Re: [racket] syntax-id-rules

2011-12-08 Thread David Vanderson
On 12/08/2011 09:48 AM, Harry Spier wrote: I get the error for (get array-element v1[1 1 1] "expand: unbound identifier in module in: get" I can't speak authoritatively, but I don't think that an identifier macro captures any syntax before the identifier. I think set! is a special case. and

Re: [racket] editing racket code effectively

2011-11-15 Thread David Vanderson
On 11/15/2011 06:05 PM, Matthias Felleisen wrote: I prefer to use a function that is in one of my standard libraries: (define (tee tag v) (displayln `(,tag ,v)) v) To use it, wrap an expression like this to see what its value is: (tee 'find-best-strategy-1 (find-best-strateg

Re: [racket] editing racket code effectively

2011-11-15 Thread David Vanderson
On 11/15/2011 05:45 PM, Neil Van Dyke wrote: David Vanderson wrote at 11/15/2011 08:33 PM: - how to add temporary debugging statements I usually use "log-debug" or "printf". See the documentation for how to make "log-debug" appear if you're running ou

[racket] editing racket code effectively

2011-11-15 Thread David Vanderson
Question for those who work in Racket on a day-to-day basis: How can I edit Racket code more effectively? To be more concrete, two speedbumps I'm hitting are: - how to add temporary debugging statements - how to temporarily comment out some code I always seem to be fighting to make sure the

Re: [racket] set! racket behaviour

2011-10-31 Thread David Vanderson
I think you are running into the issue described here: http://docs.racket-lang.org/guide/module-set.html "Along the same lines, when a module contains no set! of a particular identifier tha

Re: [racket] Learning Scheme and Racket

2011-10-11 Thread David Vanderson
I highly recommend the talk "Macros Matter" by Robby Findler: https://www.youtube.com/watch?v=GBpfOpk-ZBU It is an excellent overview for people new to Racket macros. Dave On 10/11/2011 12:23 PM, Harry Spier wrote: Shriram Krishnamurti wrote: The phrase "a much, much more expressive macro syst

Re: [racket] Racket style guide (was Re: Argument order conventions (was: Variable naming conventions))

2011-09-16 Thread David Vanderson
Thank you very much! I now know I can use "values" as the identity function instead of rolling my own each time. On 09/14/2011 05:47 PM, Matthias Felleisen wrote: For the past few months, I have been writing a style guide for new Racket PLTers. The current draft is available at http:/

Re: [racket] xexpr to mark a radio button 'checked'

2011-04-27 Thread David Vanderson
I can't answer your exact question, but from what I understand of web development, you actually want: http://www.w3schools.com/tags/att_input_checked.asp Does that help? Dave On 04/27/2011 03:11 PM, J G Cho wrote: I am trying to print: the egg The closest I can come up is: checkedthe egg

Re: [racket] Scribble in continue

2010-10-01 Thread David Vanderson
(define (path . body) (b (tt "\"" body "\""))) and with scribble syntax: (define @pa...@body} @b...@tt{"@body"}}) Question on scribble syntax: isn't @pa...@body} read as (path body) ? What syntax gives (path . body) ? I'm having trouble getting a . in there. Thanks, Dave On 10/01/201