Re: [racket-users] Reducing parentheses without language damage.

2020-04-30 Thread Hendrik Boom
On Thu, Apr 30, 2020 at 02:40:00PM -0700, Sorawee Porncharoenwase wrote: > > > > I hate being at the mercy of whatever editor I'm stuck using. > > > I agree with this in principle, but in practice, it's really a matter of > what mainstream editors support. Editors in the past don't universally >

Re: [racket-users] Reducing parentheses without language damage.

2020-04-30 Thread Hendrik Boom
On Thu, Apr 30, 2020 at 02:46:00PM -0400, David Storrs wrote: > On Thu, Apr 30, 2020 at 11:16 AM Hendrik Boom > wrote: > > > On Thu, Apr 30, 2020 at 09:36:15AM +0200, Dexter Lagan wrote: > > > There’s one thing I noticed: if debugging is disabled, then > > pa

[racket-users] Reducing parentheses without language damage.

2020-04-30 Thread Hendrik Boom
On Thu, Apr 30, 2020 at 09:36:15AM +0200, Dexter Lagan wrote: > There’s one thing I noticed: if debugging is disabled, then parenthesis > highlighting is also disabled (as well as other visual aids, if I remember > well?). The editor also feels faster because of this, but navigating > parenthe

Re: [racket-users] Do I misunderstand set! ?

2020-04-23 Thread Hendrik Boom
On Thu, Apr 23, 2020 at 11:40:44PM -0500, Alexis King wrote: > > On Apr 23, 2020, at 21:15, Hendrik Boom wrote: > > > > (fprintf anomaly "resEEEulttyope was ~s~n" resulttype) > > (fprintf anomaly "set resulttyoe to ~s~n" ty) > >

Re: [racket-users] Do I misunderstand set! ?

2020-04-23 Thread Hendrik Boom
not aware of amy modules hanging around. The creation of resulttype, the use of resulttype, and the set!ing of resuttype all happen within one single function. I'll paste it in below. -- hendrik > > -Philip > > > On Thu, Apr 23, 2020 at 5:00 PM Hendrik B

[racket-users] Do I misunderstand set! ?

2020-04-23 Thread Hendrik Boom
extract from code: (fprintf anomaly "resEEEulttyope was ~s~n" resulttype) (fprintf anomaly "set resulttyoe to ~s~n" ty) `(set! resulttype ty) (fprintf anomaly "resEEulttyope now ~s~n" resulttype) Previous creation of resulttype: (define resulttype : (Opti

Re: [racket-users] New week, new Racket! What are you folks up to?

2020-04-22 Thread Hendrik Boom
On Sun, Apr 19, 2020 at 10:04:18AM -0700, Stephen De Gabrielle wrote: > New week, new Racket! What are you folks up to? # Related to Racket ## Working on the OpenGl binding. Still wrestling with Khronos's new XML specification for OpenGL. I have a somewhat confusing parser that processes sxml's

Re: [racket-users] Typed version of sxml?

2020-04-21 Thread Hendrik Boom
ssed the boundary into sxml library code, I suppose. That's the price I'd prefer not to pay. I trust Oleg's code. I don't trust mine without the most exhaustive testing program, which normally includes static type checking. -- hendrik > > John > > > On Apr

[racket-users] Typed version of sxml?

2020-04-21 Thread Hendrik Boom
Is there a typed version of sxml? Its data representation would seem to be fairly easy to specify by a few corecursice define-type's. I's like to get the result of (ssax:xml->sxml in '()) as a typed value without having to waste time doing an exhaustive run-time type-check on its output. Be

Re: [racket-users] hash-ref in typed Racket

2020-04-21 Thread Hendrik Boom
probably don't want to use `cast` this extensively in > your program. No, I don't. I hoped it would help, but I was fixing the wrong problem, so it didn't . -- hendrik > > Sam > > On Tue, Apr 21, 2020 at 10:35 AM Hendrik Boom wrote: > > > > In

[racket-users] hash-ref in typed Racket

2020-04-21 Thread Hendrik Boom
In typed Racket I define a hashtable: (: vector-to-contract (HashTable TType CContract)) (define vector-to-contract (make-hash (cast '( (_bytes . bytes?) (_s8vector . s8vector?) (_u16vector . u16vector?) (_s16vector . s16vector?) (_u32ve

Re: [racket-users] printing and reading source code

2020-04-14 Thread Hendrik Boom
On Tue, Apr 14, 2020 at 12:04:22PM -0700, Raoul Schorer wrote: > Hi, > > The printer and reader doc states that the default printer can write *core* > types to be re-read later. > I am making a kind of "3d IDE" for a custom language using the pict3d lib. > I would like to re-use the pict3d types

[racket-users] OpenGL: (lack of) progress report

2020-04-11 Thread Hendrik Boom
I'm (still) building the up-to-date opengl binding for Racket. It's substantially more difficut than I thought. As some of you know, the existing OpenGL binding is generated from files supplied by the standards orgaisation Khronos. Being automatically gnerated, it was quite complete. However,

[racket-users] typed mutable fields in structures.

2020-04-11 Thread Hendrik Boom
I noticed that in regular Racket, when defining a structure, it is possible for each field to be mutable independent of the other fields. In Typed Racke I find the choice only of making all the fields or none of them mutable. Is this correct, or have I missed something? -- hendrik -- You rec

Re: [racket-users] typing variable length argument lists

2020-04-11 Thread Hendrik Boom
gth list)) (car list) > (begin >(apply fprintf anomaly message messageargs) >(if (null? list) list (car list) Thank you. That worked. The change to the apply syntax surprised me. -- hendrik > > On Fri, Apr 10, 2020 at 7:49 PM Hendrik Boom wrote: > &g

[racket-users] typing variable length argument lists

2020-04-10 Thread Hendrik Boom
Trying to convert the following to typed Racket: (define (unique list message . messageargs) ; return the only element of the list, or '() if there is none. ; Produce message if not just one. (if (equal? 1 (length list)) (car list) (begin (apply fprintf (cons anomaly (cons messa

Re: [racket-users] [re: opengl] Is this known Racket syntax?

2020-04-10 Thread Hendrik Boom
On Fri, Apr 10, 2020 at 10:17:12AM -0400, Hendrik Boom wrote: > On Fri, Apr 10, 2020 at 10:05:34AM -0400, Jay McCarthy wrote: > > This comes from _fun, which define-gl expands to, > > > > https://docs.racket-lang.org/foreign/foreign_procedures.html#%28form._%28%28lib._ffi%2

Re: [racket-users] [re: opengl] Is this known Racket syntax?

2020-04-10 Thread Hendrik Boom
s://docs.racket-lang.org/foreign/foreign_procedures.html -- hendrik > > Jay > > -- > Jay McCarthy > Associate Professor @ CS @ UMass Lowell > http://jeapostrophe.github.io > Vincit qui se vincit. > > On Fri, Apr 10, 2020 at 10:02 AM Hendrik Boom wrote: > >

[racket-users] [re: opengl] Is this known Racket syntax?

2020-04-10 Thread Hendrik Boom
I'm building the new opengl binding for Racket, and keep running into surprises. Most of them are straightforward, but tedious, but I run into something strange. It's a piece of syntax in the original (presumably) corrent, but obsolete, binding -- specifically, a strange type. I thought I shoul

Re: [racket-users] Examples of sending HTML email w/ Racket?

2020-04-09 Thread Hendrik Boom
On Wed, Apr 08, 2020 at 09:28:11PM -0400, George Neuner wrote: > > There's nothing in Racket for MIME that I'm aware of ... but then multipart > formatting is needed only for multi-version messages, or for embedding > non-text data (graphics, etc.) into a message.   Since so many people read > ma

[racket-users] scribble include

2020-04-06 Thread Hendrik Boom
Once again I'm trying to get @(include ...) working in scribble. The trouble with just using @(include filepath) in scribble is that the included file is read as racket input instead of syntax and semantics instead of wih scribble's syntax. So I thought to try include/reader instead; it has an e

Re: [racket-users] Re: questions about top-level-bind-scope in root-expand-context

2020-03-23 Thread Hendrik Boom
On Mon, Mar 23, 2020 at 05:55:14PM -0400, George Neuner wrote: > On Mon, 23 Mar 2020 16:57:26 -0400, Hendrik Boom > wrote: > > >On Mon, Mar 23, 2020 at 02:46:53PM -0400, George Neuner wrote: > >> On Mon, 23 Mar 2020 01:45:40 -0700 (PDT), Yongming Shen > >&g

Re: [racket-users] Gradual Typed Racket?

2020-03-23 Thread Hendrik Boom
On Mon, Mar 23, 2020 at 12:16:45PM -0400, Ben Greenman wrote: > > Not sure about best practices, but I definitely prefer keeping typed > and untyped code in separate modules. It can be veru useful to be able to mix them while in transition from one to the other. -- hendrik -- You received th

Re: [racket-users] Re: questions about top-level-bind-scope in root-expand-context

2020-03-23 Thread Hendrik Boom
On Mon, Mar 23, 2020 at 02:46:53PM -0400, George Neuner wrote: > On Mon, 23 Mar 2020 01:45:40 -0700 (PDT), Yongming Shen > wrote: > > >Hi Matthew, > > > >Thank you for the quick reply! > > > >I tried the example you gave for my first question and it resulted in an > >error. > >I have the followi

[racket-users] Updating openGL bindings

2020-03-20 Thread Hendrik Boom
I have started updating the opengl bindings for Racket. The version in the package library is for OpenGL 4.2; whereas the current version is 4.6. Since the current version is automatically generated from files provided by Khronos, and Khronos has changed the format of these files, it amounts to

[racket-users] opengl

2020-03-15 Thread Hendrik Boom
On Sun, Mar 15, 2020 at 02:09:22PM -0400, Hendrik Boom wrote: > On Sun, Mar 15, 2020 at 10:48:48AM -0700, Eric Griffis wrote: > > On Sat, Mar 14, 2020 at 10:25 PM Hendrik Boom > > wrote: > > > > > By the way, I'm working on updating the opengl package t

Re: [racket-users] Re: Code generation performance

2020-03-15 Thread Hendrik Boom
On Sun, Mar 15, 2020 at 10:48:48AM -0700, Eric Griffis wrote: > On Sat, Mar 14, 2020 at 10:25 PM Hendrik Boom wrote: > > > > There's a port of glm in the Racket package library. > > Is that the same one? If not, is it also that huge? > > Same repository, dif

Re: [racket-users] Re: Code generation performance

2020-03-14 Thread Hendrik Boom
On Sat, Mar 14, 2020 at 03:28:35PM -0700, Eric Griffis wrote: > > I'm pretty sure that's a lot of big files. It's for a port of GLM, a > graphics math library that implements (among other things) fixed-length > vectors of up to 4 components over 5 distinct scalar types, for a total of > 20 dis

[racket-users] Need advice on XML representation

2020-03-09 Thread Hendrik Boom
I need a recommendation. I have a bunch of XML to read in, interpret, process, and to write out as corresponding Racket code. The resulting Racket code will not be XMLis at all. Searchni, I find mention of SXML, xexprs, and there seems to be an XML package as sell. Which is mode useful, consider

Re: [racket-users] why is glCreateVertexArrays absent?

2020-03-08 Thread Hendrik Boom
ent surface syntax. -- hendrik > > On Sun, Mar 8, 2020 at 5:52 AM Hendrik Boom wrote: > > > On Sat, Mar 07, 2020 at 07:32:01AM -0800, Sorawee Porncharoenwase wrote: > > > I know nothing about OpenGL, but the autogeneration > > > <https://github.com/stephanh42/R

[racket-users] ANSWER, not solution: why opengl module not up-to-date

2020-03-08 Thread Hendrik Boom
e repurposed. Will look into it. -- hendrik > > On Sat, Mar 7, 2020 at 6:57 AM Hendrik Boom wrote: > > > Is there any technical reason why glCreateVertexArrays is missing from > > the Racket OpenGL package? > > > > The documentation at https://docs.racket-lang.org

Re: [racket-users] why is glCreateVertexArrays absent?

2020-03-08 Thread Hendrik Boom
particular function specs I need until I manage to get world from the maintainer. -- hendrik > > On Sat, Mar 7, 2020 at 6:57 AM Hendrik Boom wrote: > > > Is there any technical reason why glCreateVertexArrays is missing from > > the Racket OpenGL package? > > > &g

[racket-users] why is glCreateVertexArrays absent?

2020-03-07 Thread Hendrik Boom
Is there any technical reason why glCreateVertexArrays is missing from the Racket OpenGL package? The documentation at https://docs.racket-lang.org/opengl/index.html says that "Being automatically-generated means that it is quite complete." So I would have expected it to be present. But it is no

Re: [racket-users] bad response from server

2020-03-03 Thread Hendrik Boom
ch to a > release, which doesn't time out. And I switched to a release, which was more current than the snapshot, and it worked, as expected. -- hendrik > > At Mon, 2 Mar 2020 14:46:25 -0500, Hendrik Boom wrote: > > When trying to u[dat catalog I get a message > > > >

[racket-users] bad response from server

2020-03-02 Thread Hendrik Boom
When trying to u[dat catalog I get a message get-all-pkg-details-from-catalogs: bad response from server url: https://www.cs.utah.edu/plt/snapshots/20190720-93f4c9226b/catalog/pkgs-all?version=7.4.0.1 response: #f (for-loop . #(struct:srcloc # 299 2 11021 1759)) (for-loop . #(struct:sr

[racket-users] Implementation of paraeters

2020-03-02 Thread Hendrik Boom
How are parameters implemented. My conceptial model is an association list (like in the original Lisp 1.5 manuel) would suffice, but that can lead to long searches. What is actually done in Racket? -- hendrik -- You received this message because you are subscribed to the Google Groups "Rack

Re: [racket-users] Re: quick racket editor survey

2020-02-29 Thread Hendrik Boom
there were a lot of other > differences unrelated to Elisp vs. MINT. Sounds like there was more than one microEmacs. Interesting. -- hendrik > > On Sat, Feb 29, 2020 at 12:56 PM Hendrik Boom > wrote: > > > On Sat, Feb 29, 2020 at 12:01:27PM +0100, Stephen De Gabrielle wrote: > &g

Re: [racket-users] Re: quick racket editor survey

2020-02-29 Thread Hendrik Boom
On Sat, Feb 29, 2020 at 12:01:27PM +0100, Stephen De Gabrielle wrote: > Hi james > > * I noticed several people at Racketcon using, not Aquamacs, but another > GUI version of Emacs. Is there any particular reason to pick one of these > over another?* > > Maybe spacemacs? (I don’t use spacEmacs s

Re: [racket-users] a little bug

2020-02-28 Thread Hendrik Boom
use Racket. -- hendrik > > Robby > > On Fri, Feb 28, 2020 at 6:31 AM Hendrik Boom wrote: > > > > On Fri, Feb 28, 2020 at 06:02:31AM -0600, Robby Findler wrote: > > > I agree that would be great. In the meantime, the Run button does a better > > > job w

Re: [racket-users] a little bug

2020-02-28 Thread Hendrik Boom
at the start. I have started private correspondence with the language author.) -- hendrik > > Robby > > On Fri, Feb 28, 2020 at 5:45 AM Hendrik Boom wrote: > > > > > When Racket detects the out-of-memory condition during "background > > processing", it

Re: [racket-users] a little bug

2020-02-28 Thread Hendrik Boom
When Racket detects the out-of-memory condition during "background processing", it would be useful i the out-of-memory message were to point out which particular piece of source text it was having trouble with. Just the line number where the expression started that the REPL was having trouble

[racket-users] Testing and breaking

2020-02-26 Thread Hendrik Boom
On Wed, Feb 26, 2020 at 04:46:56PM -0600, Spencer Florence wrote: > Moral of this story: the pkg-build server configuration can have bugs in > it. Therefore, if you don't test it, it will have bugs in it "That which is not tested is broken." -- Anon. I wish I knew where I first heard this. Ther

Re: [racket-users] how to adapt BC code for Racket CS?

2020-02-24 Thread Hendrik Boom
On Sun, Feb 23, 2020 at 05:58:30AM -0700, Matthew Flatt wrote: > > Converting loops into closed form requires more sophisticated and > general induction reasoning than is typical in a compiler. Or it needs > ad hoc pattern patching to cover a few cases --- which I have seen gcc > do, but I don't

Re: [racket-users] pinning in pict

2020-01-28 Thread Hendrik Boom
t; > > Robby > > > > On Tue, Jan 28, 2020 at 2:39 PM Hendrik Boom > <mailto:hend...@topoi.pooq.com>> wrote: > > > > Isn't there something like pin-over and pin-under which extends the > > bounding > > box to contain both the &#x

Re: [racket-users] pinning in pict

2020-01-28 Thread Hendrik Boom
On Tue, Jan 28, 2020 at 02:42:21PM -0600, Robby Findler wrote: > You can cc-superimpose with a blank pict (perhaps that you get via > ghost/launder). Does that help? Yes ... I can calculate the size of the new bounding box from the sizes of the old picts and the offsets dx and dy, then make the b

[racket-users] pinning in pict

2020-01-28 Thread Hendrik Boom
Isn't there something like pin-over and pin-under which extends the bounding box to contain both the 'base' and the pict being written over ot under it? The version with dx and dy would be fine for me, especially if dx and/or dy can be negative. -- hendrik -- You received this message becaus

Re: [racket-users] resources for learning JS / React?

2020-01-27 Thread Hendrik Boom
Just wondering: Is there a #lang for javascript? -- hendrik -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view

[racket-users] how to reinstall a broken package?

2020-01-23 Thread Hendrik Boom
My installation of OpenGL Mathematics (GLM) for Racket is defective in that the installed manual has tha complete table of contents but does not have any content past section 2.1.1. This may be because of running out of disk space during installation. Asking raco pkg to install it does not work b

Re: [racket-users] DrRacket Dark Mode in Windows

2020-01-17 Thread Hendrik Boom
On Fri, Jan 17, 2020 at 07:12:13AM -0600, Robby Findler wrote: > (Sorry I seem to have missed some messages in this thread, but I see them > now. Thanks for the clarifications Sorawee!) > > It looks to me like like the lower, gui layer is communicating the fact > that we're in dark mode correctly

Re: [racket-users] DrRacket Dark Mode in Windows

2020-01-16 Thread Hendrik Boom
x27;re saying that other apps look appropriately dark in their > panels and dialog boxes and whatnot, and only DrRacket doesn't? Other apps that I use generally don't have dark modes. > > Robby > > On Wed, Jan 15, 2020 at 11:03 PM Hendrik Boom wrote: > > > > On

Re: [racket-users] DrRacket Dark Mode in Windows

2020-01-15 Thread Hendrik Boom
On Wed, Jan 15, 2020 at 10:10:12PM -0600, Robby Findler wrote: > Dark mode will be a lot better in the next release. I hope so. I use drracket in dark mode on Linux. The main panels have a proper black background, but some of the framing has a white background, specifically the panel that says

Re: [racket-users] Re: macOS 10.10 Yosemite?

2020-01-07 Thread Hendrik Boom
On Sat, Jan 04, 2020 at 03:04:32PM -0600, Robby Findler wrote: > No Yosemite users to be found? I seem to have inherited my wife's Mac, and am thinking of trying it out. I haave no idea how to use a Mac, the scrolling works in the opposite direction to what I'm used to and I can't get to the intr

[racket-users] How to prepare and present new pict3d internal documentation?

2019-12-31 Thread Hendrik Boom
How to prepare and present new pict3d internal documentation? I'm busy working on new internal documentation of pict3d. I'd like some advice on how to prepare and present the resulting document (which isn't even a draft yet). Pict3D's various components look to be useful on their own, and I'd li

Re: [racket-users] pict polygons SOLVED

2019-12-17 Thread Hendrik Boom
On Tue, Dec 17, 2019 at 09:14:52AM -0500, Hendrik Boom wrote: > I've been looking through pict documentation again, and failed to find > a way to draw arbitrary polygons. Looks like i found it. It's dc-path% found in racket/draw. It connets to pict using the dc function: (

[racket-users] pict polygons

2019-12-17 Thread Hendrik Boom
I've been looking through pict documentation again, and failed to find a way to draw arbitrary polygons. (at the moment I just want a triangle, but I couldn't even find that) There are triangles in the image.rkt from 2htdp/image, but that seems to use different data types from pict. Given the

Re: [racket-users] Re: What’s everyone working on this week?

2019-12-12 Thread Hendrik Boom
On Thu, Dec 12, 2019 at 10:49:01AM -0800, Nathaniel Griswold wrote: > I am almost done with chapter 5 of SICP which i have been working on in > racket. > > My plan now is to write a scheme compiler/interpreter with garbage > collection that runs in native language in racket. I think i will use l

[racket-users] Working on 2D and 3D graphics.

2019-12-10 Thread Hendrik Boom
On Tue, Dec 10, 2019 at 08:13:32AM +, Stephen De Gabrielle wrote: > New week, new Racket! What are you folks up to? Answer here or Still tinkering with Rackettown. I'd love to convert it to typed Racket, but the association list mechanism is inherently typeless. (Or, I suspect, only typable

Re: [racket-users] racket-2019-gamejam

2019-11-30 Thread Hendrik Boom
On Fri, Nov 22, 2019 at 10:57:30PM +, Stephen De Gabrielle wrote: > **racket-2019-gamejam** > Submissions due in 7 days 2 hours 9 minutes 57 seconds Join jam > https://itch.io/jam/racket-2019-gamejam Possibly even on time; I'm not sure. https://github.com/hendrikboom3/rackettown Very much a

[racket-users] reading scribble include-section code

2019-11-29 Thread Hendrik Boom
I was reading Scribble's include-section code from https://github.com/racket/scribble/blob/master/scribble-lib/scribble/base.rkt and I can't figure out how this makes a section: (define-syntax (include-section stx) (syntax-case stx () [(_ mod) (with-syntax ([doc-from-mod (datum->syntax

[racket-users] typo in manual

2019-11-22 Thread Hendrik Boom
In https://docs.racket-lang.org/colors/index.html section 4 presents a function set-brigthness and then proceeds to discuss how it affects brighness Perhaps the function name and the discussion should involve brightness instead. -- hendrik -- You received this message because you are subscribed

Re: [racket-users] I'm still working on pict3d this week (46/2019).

2019-11-18 Thread Hendrik Boom
On Mon, Nov 18, 2019 at 04:21:17PM -0500, Hendrik Boom wrote: > On Mon, Nov 18, 2019 at 01:02:10PM -0800, Stephen De Gabrielle wrote: > > 47/2019! > > > > On Monday, November 18, 2019 at 9:01:30 PM UTC, Stephen De Gabrielle wrote: > > > > > > New week, new R

[racket-users] I'm still working on pict3d this week (46/2019).

2019-11-18 Thread Hendrik Boom
On Mon, Nov 18, 2019 at 01:02:10PM -0800, Stephen De Gabrielle wrote: > 47/2019! > > On Monday, November 18, 2019 at 9:01:30 PM UTC, Stephen De Gabrielle wrote: > > > > New week, new Racket! What are you folks up to? Answer here or over at > > /r/racket ! > > Sti

[racket-users] Racket as python

2019-11-18 Thread Hendrik Boom
I found this interesting web page: Racket is an acceptable python: https://dustycloud.org/blog/racket-is-an-acceptable-python/ -- hendrik -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails

Re: [racket-users] HTDP/2e help

2019-11-18 Thread Hendrik Boom
On Mon, Nov 18, 2019 at 07:45:28AM -0800, Aron Zvi wrote: > Hi guys, > > I am working through HTDP/2e alone and I occasionaly have trouble with the > exercises. Is this the right place to ask for help? If so, what is the proper > way to ask? YES. I.ve seen many people here ask for help and get

Re: [racket-users] Custom scribble renderers and xref information

2019-11-17 Thread Hendrik Boom
On Sun, Nov 17, 2019 at 06:15:15PM +0100, Matthew Flatt wrote: > Yes, I think you're arriving at the right conclusions here. > > If I remember correctly, "external" means "from a different run of > `render`", which normally means different documents --- but not if you > give multiple documents to

Re: [racket-users] current source repository for pict3d

2019-11-13 Thread Hendrik Boom
rver: > > https://pkgs.racket-lang.org/package/pict3d > > -- > Jay McCarthy > Associate Professor @ CS @ UMass Lowell > http://jeapostrophe.github.io > Vincit qui se vincit. > > On Wed, Nov 13, 2019 at 1:47 PM Hendrik Boom wrote: > > > > Where is the cur

[racket-users] current source repository for pict3d

2019-11-13 Thread Hendrik Boom
Where is the current source code for pict3d code and documentation? I have found https://github.com/ntoronto/pict3d but that hasn't been maintained in years, and there are a 7 outstanding pull requests, some of which appear to fix problems and date bace to 2017. Presumably there's a pict3d reposi

Re: [racket-users] reading code

2019-11-11 Thread Hendrik Boom
"open defining file", which creates a new tab. Then I still have to search for the name I was looking for. But at least can find it. -- hendrik > > Regards, > Niklas > > > 24 okt. 2019 kl. 17:46 skrev Hendrik Boom : > > > > What tools are there to hel

Re: [racket-users] What’s everyone working on this week (46/2019)?

2019-11-11 Thread Hendrik Boom
On Mon, Nov 11, 2019 at 05:09:47AM -0800, Stephen De Gabrielle wrote: > New week, new Racket! What are you folks up to? Answer here or over at > /r/racket ! Trying to figure out pict3d's use of opengl. There seems to be a lot of useful code there for openGL buffe

[racket-users] drrracket night mode too bright

2019-11-11 Thread Hendrik Boom
Last night a 4 AM I fount DrRacket's night mode too bright. The code in the code pane would hve been quite readable (blue and green on a black background), but the framing was blindingly bright. That's everything from the bright menu bar to th list of tabs. Would it be possible to include these

Re: [racket-users] Need a scribble identity wrapper. A no-op.

2019-11-03 Thread Hendrik Boom
On Sun, Nov 03, 2019 at 02:46:42PM -0800, William J. Bowman wrote: > I think ‘elem’ will do what you want. Indeed. Thank you. That works. But I haven't been able to find where 'elem' is documented. -- hendrik > > -- > Sent from my phoneamajig > > > On

[racket-users] Need a scribble identity wrapper. A no-op.

2019-11-03 Thread Hendrik Boom
I've tried defining a function that reads a file, and then tries to pass it back to be part of a scribble document. Unfortunately, the list returned needs to be processed somehow before I can return it. Just returning the raw text results in complaints. Apparently a list of items needs to bav

Re: [racket-users] scribble cannot find module that racket finds

2019-11-03 Thread Hendrik Boom
On Sun, Nov 03, 2019 at 02:34:33PM -0600, Shu-Hung You wrote: > On Sun, Nov 3, 2019 at 2:26 PM Hendrik Boom wrote: > > > > scribble does not find module "inclusion.rkt" even though racket does. > > There must be a work-around, mustn't there? ... > >

[racket-users] scribble cannot find module that racket finds

2019-11-03 Thread Hendrik Boom
scribble does not find module "inclusion.rkt" even though racket does. There must be a work-around, mustn't there? I can (require "inclusion.rkt") jusr fine from racket t3.rkt: #lang racket (require "inclusion.rkt") foo inclusion.rkt: #lang racket (define foo 'foo) (provide foo) running it:

Re: [racket-users] Help me understand FFI callouts in this context?

2019-10-31 Thread Hendrik Boom
On Thu, Oct 31, 2019 at 07:00:23AM -0700, Thomas Dickerson wrote: > Hi Sage - > > Does your SIGSEGV MAPERR show up only while attached to a debugger? > If so I noticed similar behavior while debugging my own project this week, > and opened #2882 . >

Re: [racket-users] pollen?

2019-10-30 Thread Hendrik Boom
gt; > > -- > bruno cuconato > (on mobile) > > On Mon, Aug 5, 2019, 05:12 Hendrik Boom wrote: > > > On Sun, Aug 04, 2019 at 02:17:33AM -0700, Simon Schlee wrote: > > > I have not completely read this thread in detail, but to me it seems > > like > > &g

[racket-users] reading code

2019-10-24 Thread Hendrik Boom
What tools are there to help understand large Racket programs? I'm trying to grok the innards of Pict3D, which is, I believe, typed Racket. But I have difficulty finding bindings of symbols across many complex require's and provide's through many directories of source code. I'm looking for too

Re: [racket-users] procedural text generation for game jam.

2019-10-23 Thread Hendrik Boom
On Wed, Oct 23, 2019 at 10:04:04AM -0300, bruno cuconato wrote: > On Mon, 22 Oct 2019 at 19:28, Hendrik Boom wrote: > > What's desired in a too for a game is to take an abstract syntax of what > > is to be said, and to do the necessary transformations to make it into a >

[racket-users] procedural text generation for game jam.

2019-10-22 Thread Hendrik Boom
On Tue, Oct 22, 2019 at 01:59:25AM +0100, Stephen De Gabrielle wrote: > On Mon, 21 Oct 2019 at 23:18, Hendrik Boom wrote: > > > On Mon, Oct 21, 2019 at 11:13:34PM +0100, Stephen De Gabrielle wrote: > > > A NaNoGenMo submission counts as a game jam entry. > >

Re: Overbooked November. Re: [racket-users] Racket News - Issue 18

2019-10-21 Thread Hendrik Boom
On Mon, Oct 21, 2019 at 11:13:34PM +0100, Stephen De Gabrielle wrote: > A NaNoGenMo submission counts as a game jam entry. Even if it's not a game? > > HTH > > Stephen > > On Mon, 21 Oct 2019 at 20:04, Hendrik Boom wrote: > > > On Mon, Oct 21, 2019 at 0

Re: [racket-users] Re: I Need Help Bringing Vulkan to Racket

2019-10-21 Thread Hendrik Boom
On Mon, Oct 21, 2019 at 07:42:39PM +, Sage Gerard wrote: > Thanks Paulo, I will follow up off-list. > > On-list: The bindings are now functional for the simplest possible Vulkan > instance > lifecycle (create, destroy, end of process). Does that mean there is something to test already, howe

Overbooked November. Re: [racket-users] Racket News - Issue 18

2019-10-21 Thread Hendrik Boom
On Mon, Oct 21, 2019 at 07:54:39PM +0200, pmatos@linki.tools wrote: > > Racket News Issue 18 is here! > https://racket-news.com/2019/10/racket-news-issue-18.html > > Grab a coffee and enjoy! > -- > Paulo > > -- > You received this message because you are subscribed to the Google Groups > "Rack

Re: [racket-users] I Need Help Bringing Vulkan to Racket

2019-10-09 Thread Hendrik Boom
On Thu, Oct 10, 2019 at 07:36:33AM +0900, Jay McCarthy wrote: > Hi Sage, > > You should model your implementation of Stephan's RacketGL --- > https://github.com/stephanh42/RacketGL --- which parses the spec. > > If you also want to or need to capture parts of the headers, I recommend > David Beno

Re: [racket-users] Re: General ways and concrete examples of approaching web dev

2019-10-09 Thread Hendrik Boom
On Wed, Oct 09, 2019 at 03:29:51AM -0400, George Neuner wrote: ... ... > One of the issues I have with MVC is the way it typically is > presented: data flow in the tutorials tends to be exaggerated and > overly complicated, and the explanation typically revolves around DBMS > and graphical UIs that

Re: [racket-users] [ANN] RacketScript working for 7.x

2019-10-02 Thread Hendrik Boom
On Wed, Oct 02, 2019 at 01:53:46PM -0400, Stephen Chang wrote: > The RacketScript compiler [1] has been updated to work with Racket 7.x > programs, ie all tests pass (though we are still working to support > more primitives). > > Try it out here: http://rapture.twistedplane.com:8080/ > > The next

[racket-users] Obsolete mailing lists

2019-09-29 Thread Hendrik Boom
Somehow (I wish I remembered how so I can report it) I ended on the page https://lists.racket-lang.org/listinfo/ It lists three Racket mailing lists, and all the links are dead, in the sense tha following them leads to a report "Bug in Mailman version 2.1.15" Perhaps that page should be changed

Re: [racket-users] NOT SOLVED: texture mapping on pict3d

2019-09-25 Thread Hendrik Boom
On Wed, Sep 25, 2019 at 09:30:07AM -0400, Hendrik Boom wrote: > On Tue, Sep 24, 2019 at 08:59:31PM +0100, Stephen De Gabrielle wrote: > > I'm building it now so have a go. Not hopeful because the none of the > > tests/examples include any files that could be used as bitmap tex

Re: [racket-users] NOT SOLVED: texture mapping on pict3d

2019-09-25 Thread Hendrik Boom
aces in pict3d? -- hendrik > > s. > > On Tue, Sep 24, 2019 at 12:05 PM Hendrik Boom > wrote: > > > On Tue, Sep 24, 2019 at 01:58:35AM -0700, Stephen De Gabrielle wrote: > > > Hi Hendrik > > > > > > Did you work out how to do this ? I’m also inter

Re: [racket-users] NOT SOLVED: texture mapping on pict3d

2019-09-24 Thread Hendrik Boom
I found in the documentation runs but does nothing visible. I was hoping to use Racket in Ludum Dare in about 10 days. Maybe I'll have to restrict myself to 2D. Or a text-only game. Haven't done one of those yet. -- hendrik > > s. > > On Tue, Sep 24, 2019 at 12:05 PM H

[racket-users] NOT SOLVED: texture mapping on pict3d

2019-09-24 Thread Hendrik Boom
On Tue, Sep 24, 2019 at 01:58:35AM -0700, Stephen De Gabrielle wrote: > Hi Hendrik > > Did you work out how to do this ? I’m also interested. No. Not at all. I'm starting to look at using am OpenGL binding instead for my projects .. but that looks much more difficult. I'm still hoping for a

[racket-users] pict3d and pixel maps for textures

2019-09-21 Thread Hendrik Boom
Is there a way to paste a pixel map (such as a .png ?) to a face of one of the objects in pict3d? If so, I haven't found it. I'd like to paint the objects with interesting textures. -- hendrik -- You received this message because you are subscribed to the Google Groups "Racket Users" group. T

Re: [racket-users] syntax-parse and iterecursion

2019-09-21 Thread Hendrik Boom
On Sat, Sep 21, 2019 at 08:01:16PM -0400, Hendrik Boom wrote: > On Sat, Sep 21, 2019 at 04:44:47PM -0400, Philip McGrath wrote: > > I'm not sure if I understand your question; do you mean something like this? > > #lang racket > > (require syntax/parse/define) > >

Re: [racket-users] syntax-parse and iterecursion

2019-09-21 Thread Hendrik Boom
) >#'(cons x0 (macro-list x ...))]) > (macro-list 1 2 3 4 5) > > -Philip Yes.. That might do the trick! -- hendrik > > > On Sat, Sep 21, 2019 at 4:29 PM Hendrik Boom wrote: > > > I've read the syntax-parse and its documentation, and I'd like to kn

[racket-users] syntax-parse and iterecursion

2019-09-21 Thread Hendrik Boom
I've read the syntax-parse and its documentation, and I'd like to know if there's a way for a macro to accept a varying number of parameters without them having to be handled in a uniform way, spliced into a list. I'd like to be able to expand (foo a1 a2 a3 a4 a5) into something like (bar a1 (

Re: [racket-users] schism - scheme to wasm compiler

2019-09-21 Thread Hendrik Boom
On Sat, Sep 21, 2019 at 09:27:04AM -0600, caleb wrote: > This is awesome. > > I'm a bit of a Racket noob--how extensive of a project is it to get > Racket running on x R6RS scheme? If you mean running R6RS scheme on Racket, I suspect it's as simple as starting with #lang r6rs instead of #

[racket-users] continuations for search

2019-09-11 Thread Hendrik Boom
Depth-first searches are easy to code by simple recursion. Breadth-first searches are good for finding short solutions and not getting caught in infinite recursions. Are there any ready-made tools in Racket for turning depth-first search code into breadth-first by strategic use of continuatio

Re: [racket-users] transparency in Pict

2019-09-10 Thread Hendrik Boom
On Tue, Sep 10, 2019 at 03:23:43PM +0200, Jens Axel Søgaard wrote: > Den tir. 10. sep. 2019 kl. 14.54 skrev George Neuner : > > > > > Or create a region with a hole through it and use it to clip the drawing. > > > > Great suggestion. That's much better than using pict->bitmap. > > I have extende

[racket-users] transparency in Pict

2019-09-09 Thread Hendrik Boom
I'm wondering how to cut a transparent hole in something. Say I have a rectangle and I want to make part of it transparent so that I cn see what's behind it. Drawing a transparent rectangle on top of it won't workm because it'll just reveal the original rectangle. The only way I cn see it to dr

[racket-users] On multilanguage programming

2019-09-08 Thread Hendrik Boom
I found an interesting document on the STEPS project, presenting the astonishing benefits of clever design and the use and improvisation of many, many programming languages in one project. http://www.vpri.org/pdf/tr2012001_steps.pdf -- hendrik (found in a document list http://vpri.org/writings

[racket-users] minor infelicities in style guide

2019-09-06 Thread Hendrik Boom
Section 1.1 mentions PLT. Is this obsolete? It is at least confusing or someone who does not know Racket history. Section 2.2 Always Test It should mention that when you formulate a test you should test the test *before* you modify the code. At present the warning about an inadequate test

<    1   2   3   4   5   6   7   >