Re: [racket-users] GUI in Racket

2018-12-09 Thread Hendrik Boom
On Thu, Oct 11, 2018 at 09:06:57PM -0400, George Neuner wrote: > > On 10/11/2018 8:09 PM, Jeyron A.C wrote: > > Hello. Receive a greeting from me. > > > > To tell the truth I need someone who knows in general how to work the > > interface in rackert, in my case what I would like to explain to me

Re: [racket-users] hackernews

2018-12-17 Thread Hendrik Boom
On Mon, Dec 17, 2018 at 06:11:09AM -0800, Jérôme Martin wrote: > I'm also occasionally writing posts about Racket on my blog. Only one is > public for now, and is a multi-parts tutorial about writing DSLs in Racket. > > I'm trying to summarize and reformulate some of the things I learned by > ma

Re: [racket-users] hackernews

2018-12-27 Thread Hendrik Boom
On Wed, Dec 26, 2018 at 09:51:17AM -0500, Neil Van Dyke wrote: > > Python started out as some guy on Usenet with a reusable extension > language (Tcl was another, and some RnRS implementations were another) > -- all 3 of them had interesting innovations and merits. (Tcl got > popular because of Tk

Re: [racket-users] hackernews

2018-12-27 Thread Hendrik Boom
On Thu, Dec 27, 2018 at 02:06:22PM -0800, Andrew Gwozdziewycz wrote: > On Thu, Dec 27, 2018 at 8:24 AM Brett Gilio wrote: > > > > > > Hendrik Boom writes: > > > > > On Wed, Dec 26, 2018 at 09:51:17AM -0500, Neil Van Dyke wrote: > > >> > &

Re: [racket-users] hackernews

2018-12-28 Thread Hendrik Boom
On Fri, Dec 28, 2018 at 06:18:30AM +0100, Jesse Alama wrote: > > I've had some moderate success in established, non-Racket companies by > working around -- rather than taking on and trying to replace -- the main > language & toolchain. For the PHP shop where I work, I made a DSL called > Riposte [

Re: [racket-users] Experiences with Racket on RISC-V?

2019-01-08 Thread Hendrik Boom
On Mon, Jan 07, 2019 at 06:38:07PM -0300, Andrei Formiga wrote: > Sorry to slightly hijack the thread here, but what would be a good RISC-V > dev board to experiment with Racket on it? Not available at all yet, but there's the Libre-RISC-V development, being discussed on a mailing list: http://l

Re: [racket-users] Re: FYI Racket & DrRacket tagged projects on GitHub

2019-01-12 Thread Hendrik Boom
On Sat, Jan 12, 2019 at 06:44:26PM +0100, Tomasz Rola wrote: > On Sat, Jan 12, 2019 at 11:10:27AM +0100, 'Paulo Matos' via Racket Users > wrote: > > > > > > On 11/01/2019 17:23, Greg Trzeciak wrote: > > > What would be really neat if https://pkgs.racket-lang.org/ would include > > > date-added t

Re: [racket-users] Are the terms "function" and "procedure" synonymous in Racket?

2019-01-22 Thread Hendrik Boom
On Tue, Jan 22, 2019 at 01:52:15AM -0500, George Neuner wrote: > > I am arguing that, in computing, functions and procedures have no > significant difference, and that distinguishing them erroneously conflates > computing with mathematics and thus confuses people. The distinction I've heard from

Re: [racket-users] Are the terms "function" and "procedure" synonymous in Racket?

2019-01-22 Thread Hendrik Boom
On Sun, Jan 20, 2019 at 12:10:13AM -0500, George Neuner wrote: > > As Ellen already mentioned, fixed width integers - although exact values - > have computational properties that are not shared with mathematical > integers.  As soon as the computation overflows, all bets are off ... any > number o

Re: [racket-users] Collections and data structures wishlist?

2019-01-26 Thread Hendrik Boom
On Fri, Jan 25, 2019 at 11:33:09AM -0800, Jack Firth wrote: > > Due to the kind of data that would go in tuples - namely, a fixed-sized > heterogeneous collection of values - a function probably *shouldn't* use > map and filter to process tuples. A program that calls filter on an x-y-z > coordinat

Re: [racket-users] Collections and data structures wishlist?

2019-01-26 Thread Hendrik Boom
On Fri, Jan 25, 2019 at 07:50:56PM -0500, Matthias Felleisen wrote: > > Yes. See Clojure history. — Matthias Given the amount of text you have quoted, it's not clear what you are saying yes to. -- hendrik > > > > > On Jan 25, 2019, at 4:21 PM, Jack Firth wrote: > > > > I don't intend to m

Re: [racket-users] Beginning of the end for googlegroups?

2019-01-26 Thread Hendrik Boom
On Fri, Jan 25, 2019 at 08:51:18PM -0500, Neil Van Dyke wrote: > Google has shut down many services, including some surprising ones. Without > getting alarmed, I think it's reassuring that we could handle an end-of-life > of Google Groups on fairly short notice, if that ever happened... > > Regard

Re: [racket-users] Collections and data structures wishlist?

2019-01-26 Thread Hendrik Boom
On Sat, Jan 26, 2019 at 09:19:11AM -0500, Matthias Felleisen wrote: > > > On Jan 26, 2019, at 9:03 AM, Sorawee Porncharoenwase > > wrote: > > > > Matthias, where can I find this "History of Clojure"? I searched for > > "It is better to have 100 transducers ..." I'd love even to know what he *

Re: [racket-users] Beginning of the end for googlegroups?

2019-01-26 Thread Hendrik Boom
On Sat, Jan 26, 2019 at 09:15:05AM -0500, Hendrik Boom wrote: > > Google dowa have Google takeout. I've used it to download my > contributions to Google plus. No, it didn't quite do everything; in > particular I've notices that images are missong from reposted pos

Re: [racket-users] Multipart HTTP requests

2019-01-29 Thread Hendrik Boom
On Tue, Jan 29, 2019 at 04:34:49AM -0500, Philip McGrath wrote: > I don't think there's a multipart-writing library yet, and it would be a > great thing to have. > > I've written little multipart-writing functions for a small proxy server > built on `http-sendrecv/url` and for sending email using

Re: [racket-users] sxml vs xexpr frustrations

2019-01-31 Thread Hendrik Boom
On Thu, Jan 31, 2019 at 12:39:19PM -0500, Christopher Lemmer Webber wrote: > Is xexprs really maintained either? At any rate, not all software needs > very active maintenance; sxml seems to be fairly stable. Maybe you > disagree. :) > > At any rate, I don't think xexprs support namespaces, which

Re: [racket-users] Some concern about ChezScheme...

2019-02-06 Thread Hendrik Boom
On Wed, Feb 06, 2019 at 12:50:21PM -0500, Matthias Felleisen wrote: > > > > On Feb 6, 2019, at 12:30 PM, 'Paulo Matos' via Racket Users > > wrote: > > > > I was quite surprised to read these nanopass ideas have been around for > > so long. > > > 1. The educational idea came first: > > A Na

Re: [racket-users] Guide and reference

2019-02-06 Thread Hendrik Boom
On Wed, Feb 06, 2019 at 06:33:11PM -0500, Neil Van Dyke wrote: > I think RnRS came across as "too academic", like "Holy crud!  A > function return is a call!  OMG, we're all, like, cosmically connected, > man...  And a return is... a first class object?!  WTH!"  And the formal > semantics -- which

[racket-users] Why ChezScheme?

2019-02-09 Thread Hendrik Boom
Just wndering -- What was the original purpose in moving Racket to Chez? -- 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...@goo

Re: [racket-users] Why ChezScheme?

2019-02-09 Thread Hendrik Boom
On Sat, Feb 09, 2019 at 05:00:39PM -0600, Alexis King wrote: > > On Feb 9, 2019, at 16:49, Hendrik Boom wrote: > > > > Just wndering -- What was the original purpose in moving Racket to Chez? > > You probably want to read Matthew’s original email on the subject, fro

[racket-users] Molis hai documentation

2019-02-10 Thread Hendrik Boom
The page https://docs.racket-lang.org/molis-hai/index.html specifies there are command line parameters, but does not say what they are. In particular, I'm wondering how to specify: the order the number of bits of entropy It does mention the -t flag to specify the source text. It's not urgent

[racket-users] Avoiding tail-indentation

2019-03-11 Thread Hendrik Boom
On Mon, Mar 11, 2019 at 01:17:08PM -0400, Greg Hendershott wrote: > To be fair: > > As a new user, it's possible to have the intuition that `define` is > just a way to avoid indentation -- that it "writes a `let` for you, > from the point of the define to 'the end of the enclosing scope'". Racket

Re: [racket-users] Re: Avoiding tail-indentation

2019-03-17 Thread Hendrik Boom
On Sun, Mar 17, 2019 at 12:24:07PM -0700, rocketnia wrote: > On Monday, March 11, 2019 at 10:42:02 AM UTC-7, Hendrik Boom wrote: > > > > Years ago I used a lisp that used / to indicate a final sublist > > > > Whoa, that's exactly the same thing as the Parendown

Re: [racket-users] Pattern: reusing the same name in macro-generated definitions

2019-04-05 Thread Hendrik Boom
On Fri, Apr 05, 2019 at 01:35:37PM +0200, Jens Axel Søgaard wrote: > Den tor. 4. apr. 2019 kl. 21.58 skrev zeRusski : > > (define-simple-macro (define-foo (name:id formal:id ...) body:expr ...) > >> (begin > >> (define (foo-impl formal ...) body ...) > >> (define-syntax (name stx) > >>

[racket-users] make extensions or replacements

2019-04-16 Thread Hendrik Boom
I'm sending this here, not because it's directly related to Racket, nor because i think you all are experts in make or GNU make, but because you are reasonable erudite in language appreciation. I, like many others, have been using a Makefile as a recipe to make a lot of files from other files.

Re: [racket-users] make extensions or replacements

2019-04-16 Thread Hendrik Boom
. Or to avoid generating Makefiles altogether and directly implement make-like semantics in Racket using its profound flexibility and then to use Racket code to Make whatever I want. But maybe, just maybe, there are already better tools than GNU make. -- hendrik > > Regards, > > Da

Re: [racket-users] make extensions or replacements

2019-04-16 Thread Hendrik Boom
make? > > > > It seems to me that the whole point of make is to "run a program" > > whenever > > some of the files have changed. > > > > Regards, > > > > David > > > > On 2019-04-16 21:25, Hendrik Boom wrote: > > > I'

Re: [racket-users] From HtDP to Racket

2019-04-20 Thread Hendrik Boom
On Thu, Apr 18, 2019 at 09:08:07AM -0700, Luis Sanjuán wrote: > Then I thought about another non-Racket languages that no one > mention, if I recall well, for which such examples would be more than > helpful, *SL languages ;) What are *SL languages? -- Hendrik -- You received this message bec

Re: [racket-users] Re: Online IDE’s for Racket ?

2019-05-25 Thread Hendrik Boom
On Fri, May 24, 2019 at 03:20:47PM -0700, Stephen Foster wrote: > I came across some old posts on compiling Racket for the web, but I was > wondering if there was any recent activity on this. Has anyone ever > compiled Racket (including DrRacket) for the web -- i.e. with Emscripten? > (I know

Re: [racket-users] anyone using single-flonums?

2019-05-30 Thread Hendrik Boom
On Thu, May 30, 2019 at 12:10:37PM +0200, Konrad Hinsen wrote: > Am 29.05.19 um 17:52 schrieb Matthew Flatt: > > > Does anyone use single-flonums in Racket? > > Right now, no, but I have used them briefly in a past project, for testing > the impact of single-precision on a numerical algorithm. >

Re: [racket-users] anyone using single-flonums?

2019-06-05 Thread Hendrik Boom
On Tue, Jun 04, 2019 at 07:09:52AM -0600, Matthew Flatt wrote: > Thanks for all the replies about single-flonum uses! > > I've pushed the change to try out disabling single-flonum literals as > of v7.3.0.5. > > Note that this change doesn't remove the concept of single-flonum > values from the la

[racket-users] peed of scribble.

2016-04-02 Thread Hendrik Boom
I'm thinking of converting some of my writing from an ad-hoc file format I invented ten or twenty yearas ago because I needed something that would cooperate with revision control and prevailing word-processors just wouldn't do that to Scribble. and I'd like some performance estimates so that I

[racket-users] Speed of scribble.

2016-04-02 Thread Hendrik Boom
I meant, of course, speed of scribble. On Sat, Apr 02, 2016 at 09:41:26PM -0400, Hendrik Boom wrote: > I'm thinking of converting some of my writing > > from an ad-hoc file format I invented ten or twenty yearas ago because > I needed something that would cooperate with rev

Re: [racket-users] peed of scribble.

2016-04-03 Thread Hendrik Boom
On Sun, Apr 03, 2016 at 12:38:42PM -0400, Matthias Felleisen wrote: > > Think of authoring web pages with Scribble as a typed approach > to creating HTML and ad hoc processing tools based on some > simple parsing or regexp matching as programming in a dynamic > language. No need to convince m

Re: [racket-users] Questions about implementing a Lisp-2

2016-04-12 Thread Hendrik Boom
On Tue, Apr 12, 2016 at 08:23:52PM -0700, Josh Tilles wrote: > On Monday, April 11, 2016 at 8:41:54 PM UTC-4, Neil Van Dyke wrote: > > I would first decide whether and how I want functions and variables > > provided by modules in this language, to be usable from modules in other > > `#lang`s. Th

Re: [racket-users] DSL to C code generation with symbolic computations en route

2016-04-19 Thread Hendrik Boom
On Mon, Apr 18, 2016 at 08:04:32PM +0200, Jerzy Karczmarczuk wrote: > Dmitry Pavlov wants "adult" numerics in Racket, and he adds: > > >- I need to take derivatives of equations that I wrote in my DSL, > >symbolically, and have them converted to C too. > > And then, people (Robby Findler and John

Re: [racket-users] DSL to C code generation with symbolic computations en route

2016-04-20 Thread Hendrik Boom
On Wed, Apr 20, 2016 at 01:26:49AM -0400, 'John Clements' via users-redirect wrote: > > > On Apr 19, 2016, at 3:18 PM, Hendrik Boom wrote: > > > > On Mon, Apr 18, 2016 at 08:04:32PM +0200, Jerzy Karczmarczuk wrote: > >> Dmitry Pavlov wants

[racket-users] scribble output redirection

2016-04-22 Thread Hendrik Boom
It seems scribble likes to put its output where the document source is, with a different file extension. I like to separate my source code from generated files. (1) How can I tell scribble to place the generated html into a different directory? Is there a command line option for this? (2) Ar

Re: [racket-users] scribble output redirection

2016-05-19 Thread Hendrik Boom
On Fri, Apr 22, 2016 at 08:40:04PM -0400, Matthias Felleisen wrote: > > > On Apr 22, 2016, at 8:36 PM, Hendrik Boom wrote: > > > > It seems scribble likes to put its output where the document source is, > > with a different file extension. > > > >

Re: [racket-users] scribble output redirection

2016-05-19 Thread Hendrik Boom
On Thu, May 19, 2016 at 10:16:36PM -0400, Hendrik Boom wrote: > On Fri, Apr 22, 2016 at 08:40:04PM -0400, Matthias Felleisen wrote: > > > > > On Apr 22, 2016, at 8:36 PM, Hendrik Boom wrote: > > > > > > It seems scribble likes to put its output where t

[racket-users] file inclusion and optional text

2016-05-20 Thread Hendrik Boom
I's like to try mixing texts written in scribble with those written in another notation. I have a program that transltes files in the other notation to HTML (or to open document format, for that matter). It there an easy way to invoke it during scribble processing and use it to convert the non

[racket-users] trying to get pregenerated html into scribble

2016-05-22 Thread Hendrik Boom
I'm trying to include output from another program into a scribble document. That other program produces HTML. So what I want is, for this text, use some kind of element that contains the html that has already been produced, rather than go through the entore scribble mechanism to produce the html

[racket-users] Puzzling success at getting pregenerated html into scribble

2016-05-22 Thread Hendrik Boom
On Sun, May 22, 2016 at 02:02:53PM -0400, Ben Greenman wrote: I copy-pasted your example and tried it twice. The first time it failed, the second time it succeeded. It succeeded when I used your command : racket main.scrbl but failed when I called : scribble --html main.scrbl complaining that

[racket-users] Re: Puzzling success at getting pregenerated html into scribble

2016-05-22 Thread Hendrik Boom
27;d have to make these myself (as in your main.scrbl). I guess next I'll be experimenting with the real document. -- hendrik > > On Sun, May 22, 2016 at 4:42 PM, Hendrik Boom > wrote: > > > On Sun, May 22, 2016 at 02:02:53PM -0400, Ben Greenman wrote: > > >

[racket-users] coloured text in scribble

2016-05-23 Thread Hendrik Boom
Can someone give me an example of coloured text in scribble? -- 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.co

[racket-users] still trying to get coloured text in scribble

2016-05-24 Thread Hendrik Boom
On Mon, May 23, 2016 at 03:20:53PM -0400, Hendrik Boom wrote: > Can someone give me an example of coloured text in scribble? I've figured out that I need a style connotaining a color-property but I still have no idea how to code that style in scribble, nor how to apply it to a piece of

Re: [racket-users] still trying to get coloured text in scribble

2016-05-24 Thread Hendrik Boom
koverflow.com/questions/34888125/change-font-color-in-scribble-html-backend) > > >From there, you can just do: > > ``` > @colorize[#:color "red"]{WARNING} > ``` > > Hope that helps. > > ~Leif Andersen > > > On Tue, May 24, 2016 at 6:53 PM, Hendri

[racket-users] unmatched parenthesis while trying to get coloured text in scribble

2016-05-25 Thread Hendrik Boom
On Tue, May 24, 2016 at 09:14:22PM -0400, Hendrik Boom wrote: > On Tue, May 24, 2016 at 08:17:01PM -0400, Leif Andersen wrote: > > Ya, we should probably have a `color` function in scribble/base. > > Currently you actually have to use `color-property` found in > > `scribbl

[racket-users] Success! coloured text in a scribble document!

2016-05-26 Thread Hendrik Boom
On Thu, May 26, 2016 at 11:55:24AM -0400, Ben Greenman wrote: > Here is a working example. I'm testing by running "scribble --html > color-test.rkt" > > #lang scribble/manual > > @(require scribble/core scribble/base) > > @(define (colorize #:color c . content) > (elem #:style (style #f (lis

Re: [racket-users] still trying to get coloured text in scribble

2016-05-26 Thread Hendrik Boom
On Thu, May 26, 2016 at 10:35:30AM -0400, Brian LaChance wrote: > On Tue, May 24, 2016 at 9:14 PM, Hendrik Boom wrote > > ``` > > #lang scribble/base > > (require scribble/core) > > The "require" is missing a @---change it to @(require scribble/core) > and

Re: [racket-users] Good examples of in-code documentation?

2016-05-27 Thread Hendrik Boom
On Thu, May 26, 2016 at 09:11:50PM -0700, Braids Constance wrote: > i'm trying to find good examples of something that... might not exist. > > i want to document my code at the definition of each new form, similar to, > say, javadoc. i'd rather not write a separate document. i looked for > exa

Re: [racket-users] Re: Linux packages?

2016-08-17 Thread Hendrik Boom
On Tue, Aug 16, 2016 at 10:46:51PM -0700, Andreas Olsson wrote: > If there was packages for the major dists like fedora, ubuntu and suse on the > racket homepage it would be easier for people to get. It would help racket > becoming a little more known and used. Debian has a racket package. Also

Re: [racket-users] Racket Shell

2016-08-22 Thread Hendrik Boom
On Mon, Aug 22, 2016 at 09:34:28AM -0400, Matthias Felleisen wrote: > > > On Aug 22, 2016, at 12:59 AM, William G Hatch wrote: > > > > is scsh what you consider natural? > > > I’d like two different entry points: > > — one for people who program in zsh, bash, tcsh, csh, sh, and perhaps even

Re: [racket-users] Typed racket and continuations

2016-08-29 Thread Hendrik Boom
On Mon, Aug 29, 2016 at 04:33:15PM -0400, Matthias Felleisen wrote: > > Continuations don’t return. In a set-oriented type system this means their > result type is the empty set: I tried, but failed, to get this convention into Algol 68 for functinos that don't return. -- hendrik -- You rec

Re: [racket-users] TR issue with the type of expt

2016-09-28 Thread Hendrik Boom
On Tue, Sep 27, 2016 at 02:36:43PM +0100, Matthew Eric Bassett wrote: > I do not believe this is an oversight. The function expt has type > signature (-> Number Number Number). Mathematically, yes, a^b is a real > when a and b are reals. not if a is negative and b is one-half. Or are complex num

[racket-users] #lang video

2016-10-17 Thread Hendrik Boom
On Mon, Oct 17, 2016 at 11:49:50AM -0400, Leif Andersen wrote: > Yes, the videos are coming along and will be out soon. > > It is taking a bit longer to get them out this time because I created #lang > video, which is a Racket based DSL for video editing, which will hopefully > make putting them o

Re: [racket-users] If a thunk is a proc of zero arguments, what is a proc of one argument?

2016-11-13 Thread Hendrik Boom
On Sat, Nov 12, 2016 at 01:22:42PM -0800, David Storrs wrote: > The 'thunk' procedure is really useful and is sprinkled liberally through > my code because it saves keystrokes / is clearer than (lambda () ...). I > often find myself writing (lambda (x) ...) for something and wishing that > there w

Re: [racket-users] Newbie seeking advice

2016-12-20 Thread Hendrik Boom
On Tue, Dec 20, 2016 at 01:47:59AM -0800, steve.lett777 wrote: > I really want to learn programming but I am a slow learner. How do I know if > I can achieve learning programming or not? Am I wasting my time trying? > > And after that one is answered, Which language should I learn programming in,

Re: [racket-users] Re: Mobile Friendly HTML in Scribble?

2016-12-28 Thread Hendrik Boom
On Tue, Dec 27, 2016 at 10:55:45PM -0500, George Neuner wrote: > On Tue, 27 Dec 2016 22:23:49 +, Philip McGrath > wrote: > > >Has something changed recently in the CSS for the Racket documentation? I > >thought that formerly the phone layout was equivalent to what happens if > >you manually r

Re: [racket-users] New website design feedback

2017-01-02 Thread Hendrik Boom
On Mon, Jan 02, 2017 at 11:14:02AM +, Stephen De Gabrielle wrote: > - it resizes nicely to the small screen of my phone (i don't see the point > as I can't use DrRacket on my iPhone...this is not a bad thing as typing > code on a phone is a terrible idea) I often look up documentation on my p

Re: [racket-users] New website design feedback

2017-01-03 Thread Hendrik Boom
On Tue, Jan 03, 2017 at 04:26:11PM +, Stephen De Gabrielle wrote: > > > > I often look up documentation on my phone while using my computer > > for coding. Otherwise I'd have to get my laptop to talk to two > > screens, and it's just not up to that. > > > Don't you find the documentation te

Re: [racket-users] Re: FFI Library Naming Conventions

2017-01-08 Thread Hendrik Boom
On Sun, Jan 08, 2017 at 01:43:09PM -0800, Lehi Toskin wrote: > On Sunday, January 8, 2017 at 8:29:49 AM UTC-8, Royall Spence wrote: > > I'm making some bindings for a C library. In the original library, the > > functions are named as "LIBNAME_do_stuff". Should I keep those the same in > > the FFI

Re: [racket-users] Re: FFI Library Naming Conventions

2017-01-09 Thread Hendrik Boom
On Mon, Jan 09, 2017 at 06:56:06AM -0500, Neil Van Dyke wrote: > * (One argument *against* using Racket idiomatic names for a big API, such > as OpenGL, is that sometimes you might really want to make the names look > like the C ones, such as for people copying large masses of example code. > I'm

Re: [racket-users] Re: Package layout in docs

2017-01-31 Thread Hendrik Boom
On Tue, Jan 31, 2017 at 01:37:41PM +0800, WarGrey Gyoudmon Ju wrote: > Hello. > > This is one of the culture shocks that a new Racketeer would face, and so > was I. > But this statement makes it clear to me: Racket is an operating system that > pretend to a programming language; Much like emacs,

generate novels Re: [racket-users] generate sentences

2017-03-01 Thread Hendrik Boom
nanogenmo is the annual challenge of writing a computer program that generates a novel. It's kind of like nanowrimo only instead of writing a novel yourself, you write a computer program that does so. You might find it interesting to google nanogenmo and look through their annual websites. Th

Re: [racket-users] Question about how to number equations under scribble-math module

2017-03-07 Thread Hendrik Boom
On Tue, Mar 07, 2017 at 10:24:09AM -0800, E. Cómer wrote: > On Friday, March 3, 2017 at 9:00:49 AM UTC-8, Matthew Flatt wrote: > > > There's not currently a direct way to do what you want, as far as I > > know. There's a relevant library in `scriblib/private/counter`, which > > is used to implemen

Re: [racket-users] [Shameless self-promotion] Articles about programming-language theory for working programmers in Racket

2017-04-04 Thread Hendrik Boom
On Tue, Apr 04, 2017 at 02:58:33PM -0400, David Storrs wrote: > > One more for you: losing vs loosing. Lose means both (the opposite > of win) and (the opposite of find). Loose means (the opposite of > tight) and more rarely (to untie) or (to set free). Loose and lose are actually pronounced

Re: [racket-users] [Shameless self-promotion] Articles about programming-language theory for working programmers in Racket

2017-04-10 Thread Hendrik Boom
On Mon, Apr 10, 2017 at 12:47:53PM -0400, Leandro Facchinetti wrote: > Hi Matthias, > > I am replaying publicly to thank you for the kind words, they surely > motivate me to keep going! :) That's one of the things that Matthias is good at -- spotting what people are doing right and encouraging t

Re: [racket-users] Announcing Leibniz, a new language in the Racket universe

2017-04-10 Thread Hendrik Boom
On Mon, Apr 10, 2017 at 10:42:13AM +0200, Konrad Hinsen wrote: > On 10/04/17 01:21, 'John Clements' via Racket Users wrote: > > >I really enjoyed poking around in this a bit. One thing that I would really > >have appreciated, if it’s at all possible, would be a small motivating > >example; prefe

Re: [racket-users] Re: Proper non-tail recursion?

2017-04-27 Thread Hendrik Boom
On Thu, Apr 27, 2017 at 07:14:15PM -0400, Jon Zeppieri wrote: > On Thu, Apr 27, 2017 at 7:10 PM, Raoul Duke wrote: > > i should think any "real" fp would support it. where real is a bijection > > with having such support. well, at least necessary if not sufficient. > > That would be a rather con

Re: [racket-users] Speeding up graphics / moving away from 2htdp/image

2017-04-28 Thread Hendrik Boom
On Fri, Apr 28, 2017 at 08:39:33PM +1000, Daniel Prager wrote: > > Now, you may be wondering why I want to keep using 2htdp/image if I already > have code to directly draw to dc > > The reason is that what I really want to do is more complex layouts, for > which 2htdp/image or pict combiners make

Re: [racket-users] student project idea: semi-WYSIWYG Scribble editor (Was: Racket 6.9)

2017-04-30 Thread Hendrik Boom
On Sat, Apr 29, 2017 at 05:24:39PM -0400, Neil Van Dyke wrote: > > Alternatively, and simpler: you might have two window panes, one in which > the user writes Scribble source, and another that gives an almost-live > semi-WYSIWYG view of how the source would render. Ideally have the > semi-WYSIWYG

Re: [racket-users] RE: student project idea: semi-WYSIWYG Scribble editor (Was: Racket 6.9)

2017-04-30 Thread Hendrik Boom
On Sun, Apr 30, 2017 at 01:24:23AM +0200, Jos Koot wrote: > Hi Matthias, > Put it your way it seems managable for a simple user like me. > I don't immediately see how to follow all details of your advice, > but I'll look into it in due time. I'll need time for that > and probably from time to time

Re: [racket-users] RacketCon Code of Conduct

2017-06-20 Thread Hendrik Boom
On Mon, Jun 19, 2017 at 08:02:44PM -0400, Neil Van Dyke wrote: > One, > relatively light, example: many people assume that everyone at a conference > doesn't mind being photographed and tagged in Facebook and such, but I've > heard from a few PL people who absolutely do mind, to the point that they

Re: [racket-users] beating java (speed)

2017-07-02 Thread Hendrik Boom
On Sat, Jul 01, 2017 at 08:14:19PM -0400, Neil Van Dyke wrote: > > Not that I expect GNU/Linux developers to start implementing a significant > portion of userspace in Racket. Though I have some idea how it might > possibly be made to happen, politically, if people were first ready to > commit sk

Re: [racket-users] Racket (or Scheme) macros for C

2017-07-04 Thread Hendrik Boom
On Tue, Jul 04, 2017 at 01:52:41PM -0700, spearman wrote: > I have built up a good toolchain for C programming including static analysis > and runtime testing tools, but I find the C preprocessor is really lacking > for metaprogramming facilities. > > Here is an implementation of "Lisp" macros f

[racket-users] Scheme and Javascript

2017-07-31 Thread Hendrik Boom
On Sun, Jul 30, 2017 at 08:02:56PM -0700, Sage Gerard wrote: > Hi! > > New to Racket. Looking for expert opinion on my question, but I should give > some background. As I heard it, the people who made Javascript originally wanted to use Scheme, and were starting to set that up when management d

[racket-users] GUI toolkits

2017-09-21 Thread Hendrik Boom
On Thu, Sep 21, 2017 at 06:09:53AM -0400, Neil Van Dyke wrote: > One possibility is that Racket was working with GTK3 before, but GTK3 broke > that (or broke your GTK3 theme) in a newer version.  I've heard developer > complaints about this, and about engineering culture changes and politics. > >

Re: [racket-users] tabular text display

2017-09-21 Thread Hendrik Boom
On Thu, Sep 21, 2017 at 05:03:57PM -0400, 'John Clements' via users-redirect wrote: > Before I go re-inventing the wheel, I want to ask you folks: has anyone > written a library that prints out tabular data in a textual format? > > E.G: given > > ‘((“a” “bcd” “ef”) (“gh” “hhu.thnt” “t”) > > r

Re: [racket] DrRacket Helpdesk

2013-12-03 Thread Hendrik Boom
On Mon, Dec 02, 2013 at 06:49:39PM -0600, Robby Findler wrote: > They used to be different and I feared people had used one or the other in > course notes and so didn't want to get rid of them, but probably it has > been long enough now that I should just get rid of the "help desk" menu > item. Bu

Re: [racket] What does it mean by "algorithmic language"?

2014-01-09 Thread Hendrik Boom
On Thu, Jan 09, 2014 at 02:55:12PM +0800, Ben Duan wrote: > Dear all, > > The scheme standard is called "Revised Report on the Algorithmic Language > Scheme", and ALGOL is short for "ALGOrithmic Language". Then what does it > mean by "algorithmic language"? ALGOL, way back in the late 50's, was d

Re: [racket] (off) Purely Functional needs "One Memory/Massively Parallel"

2014-02-07 Thread Hendrik Boom
On Fri, Feb 07, 2014 at 09:51:17AM -0600, Lawrence Bottorff wrote: > AFAIK, recursion is must-do pillar of the functional style . . . and that > is why tail recursion came along to solve the real-world problem of the > overflowing stack. Likewise "I/O" is antithetical to functional . . . so, > obvi

Re: [racket] Y combinator

2014-02-10 Thread Hendrik Boom
On Mon, Feb 10, 2014 at 09:52:18PM +, Matthew Johnson wrote: > Thank-you all for your help with my Y-combinator question. > > I've now got myself a copy of *The Little Schemer*, and think that i'm > getting there. > > Some googling on the lambda calculus and fixed point combinators introduced

Re: [racket] Y combinator

2014-02-11 Thread Hendrik Boom
On Tue, Feb 11, 2014 at 08:24:46AM +0100, Matthew Johnson wrote: > Thanks, i think i understand that (lambda (e) (e x)) is a function, > and that evaluating it produces a new function (the one we use in the > recursive call - let's call it rf1). > > Is your meaning that rf1 protects the self-repli

Re: [racket] Is racket suitable for such a project?

2014-02-11 Thread Hendrik Boom
On Mon, Feb 10, 2014 at 06:49:59PM -0500, Yuhao Dong wrote: > - Racket doesn't seem to be able to call raw C code or machine code in > static libraries, instead requiring the code be compiled into a library. > Is this related to the fact that Racket is run in a VM rather than > compiled to machin

Re: [racket] Is racket suitable for such a project?

2014-02-18 Thread Hendrik Boom
On Tue, Feb 18, 2014 at 05:44:36PM +0100, Tomasz Rola wrote: > On Mon, 10 Feb 2014, Yuhao Dong wrote: > > > Hi, > > > > I'm trying to decide between Racket and Go on writing my onion-routing > > system inspired by Tor. Basically, a network server, involving lots of > > long-lived connections that

Re: [racket] [racket-dev] Too many license files

2014-02-27 Thread Hendrik Boom
On Thu, Feb 27, 2014 at 12:12:54PM -0500, Greg Hendershott wrote: > On Fri, Feb 21, 2014 at 10:51 AM, Matthew Flatt wrote: > > Speaking of referencing rather than copying licenses, and third party pkgs: > > It would be helpful for some sort of canonical license ID or URI to be > part of the offi

Re: [racket] Library for date arithmetic?

2014-03-14 Thread Hendrik Boom
On Thu, Mar 13, 2014 at 09:24:09AM -0700, John Clements wrote: > > On Mar 11, 2014, at 12:32 PM, Ismael Figueroa wrote: > > > > (define d (seconds->date (find-seconds seconds minutes hours day month > > year))) > > (define d+1 (seconds->date (find-seconds seconds minutes hours (+ day 1) >

Re: [racket] Lambda, object identity & streams

2014-04-17 Thread Hendrik Boom
On Thu, Apr 17, 2014 at 12:46:08PM -0400, Bradley Lucier wrote: > > In the process of toying with streams & memoization (more below), I've > > tripped over the question: when does Racket consider two lambdas to be > > identical? > > I came across the same question when working with my constructi

[racket] constructive stuff.

2014-04-17 Thread Hendrik Boom
On Thu, Apr 17, 2014 at 05:06:42PM -0400, Hendrik Boom wrote: > > I've placed a rudimentary explanation of this on my web page; see > http://topoi.pooq.com/hendrik/howconstr.html and > http://topoi.pooq.com/hendrik/constructivism.html. And I'd be happy to revise them if

Re: [racket] "lab notebook on learning process" (was: Re: Macros baffle me)

2014-05-05 Thread Hendrik Boom
On Mon, May 05, 2014 at 11:58:17AM -0400, Sean Kanaley wrote: > So technically it was my fault, > but the documentation could benefit from some kind of "WARNING!" section on > each or at least especially dangerous pages for such pitfalls. Imagine if > your car explodes if you have the break depre

Re: [racket] Blog post about Racket

2014-05-12 Thread Hendrik Boom
On Mon, May 12, 2014 at 10:18:47AM -0400, Matthias Felleisen wrote: > > On May 12, 2014, at 3:56 AM, Konrad Hinsen wrote: > > > Note however that I didn't look at performance, which is not > > really important for most of what I do. > > > In hindsight that is obvious from your use of Python :-

Re: [racket] Blog post about Racket

2014-05-13 Thread Hendrik Boom
On Tue, May 13, 2014 at 09:53:27AM +0200, Konrad Hinsen wrote: > Matthias Felleisen writes: > > > > Note however that I didn't look at performance, which is not > > > really important for most of what I do. > > > > In hindsight that is obvious from your use of Python :-) It should > > have c

Re: [racket] Scheme language ( I Need Your Help )

2014-05-28 Thread Hendrik Boom
On Wed, May 28, 2014 at 06:42:06PM +0100, mansour.alqattan wrote: > > C - > scm > scm - > C This may not be what you want, but 'gambit' is an implementation of Scheme that translaltes everything to C. -- hendrik. k Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Live coding with Racket?

2014-05-29 Thread Hendrik Boom
On Thu, May 29, 2014 at 08:59:44PM +, George Rudolph wrote: > > I am thinking about having students in my upcoming Programming Languages > course do one or more live coding exercises, perhaps > even a live performance at the end of Fall semester. > There are other live coding tools, > but I pl

Re: [racket] Python creep

2014-06-27 Thread Hendrik Boom
On Wed, Jun 25, 2014 at 08:49:32PM -0500, Lawrence Bottorff wrote: > I see a huge differential between the high quality of Racket and the fact > that its popularity is low. Then again, perhaps Racket is where Python was > ten years ago, i.e., more than ready for prime-time, "batteries included," >

Re: [racket] Python creep

2014-06-28 Thread Hendrik Boom
On Fri, Jun 27, 2014 at 11:49:57AM -0400, Hendrik Boom wrote: > On Wed, Jun 25, 2014 at 08:49:32PM -0500, Lawrence Bottorff wrote: > > > I see a huge differential between the high quality of Racket and the fact > > that its popularity is low. Then again, perhaps Racket is where

Re: [racket] Questions from a new user

2014-06-29 Thread Hendrik Boom
On Sat, Jun 28, 2014 at 11:10:17PM -0700, Steve Graham wrote: > I have been interested in the Lisp family of languages for a while.  My short > term reason for studying the book is to get a handle on Scheme for > programming on the Android platform. Has Racket been implemented on Android? I kno

Re: [racket] Matthias said something about types -- was: Re: Python creep

2014-07-03 Thread Hendrik Boom
On Wed, Jul 02, 2014 at 09:05:53PM +0200, Matthias Felleisen wrote: > > On Jun 27, 2014, at 9:08 PM, Todd O'Bryan wrote: > > > I know Matthias thinks types are a horrible thing to make students deal > > with first semester, > > > What I have said in the past: > > (1) HtDP teaches a type-dire

Re: [racket] Does Racket GUI scale?

2014-07-09 Thread Hendrik Boom
On Wed, Jul 09, 2014 at 11:10:06AM +0100, Matthew Flatt wrote: > At Wed, 9 Jul 2014 13:59:31 +0400, Dmitry Pavlov wrote: > > Interesting, thanks! You are right -- Windows does the scrolling > > smoothly with 1000 buttons. As a separate issue: look what > > happened when I raised the number to 1500:

<    1   2   3   4   5   6   7   >