Re: [racket-users] Why would a value produced by eval-ing code not satisfy its type predicate? (Particularly, a SQL statement from the sql package)

2019-01-31 Thread hashim muqtadir
> If order to use a struct across namespaces, the module that > defines the struct must be required into each namespace that uses the > struct. Yes, I suspect there's some weird interaction between namespaces too, hence the topic, but that's still pretty vague. After all, the thing defining

Re: [racket-users] Spritely awarded Samsung Stack Zero grant

2019-01-31 Thread 'John Clements' via Racket Users
Truly excellent news! Can’t wait to hear about it at the next RacketCon. John > On Jan 31, 2019, at 14:46, Christopher Lemmer Webber > wrote: > > I've mentioned that my goal has been to advance the > federated/decentralized social web in Racket on here before. Here's > some news: > > >

Re: [racket-users] Spritely awarded Samsung Stack Zero grant

2019-01-31 Thread Matthias Felleisen
Thank you for your efforts and stamina in pursuit of this goal. I hope that Samsung will continue to be generous to you :) Congrats! — Matthias > On Jan 31, 2019, at 5:46 PM, Christopher Lemmer Webber > wrote: > > I've mentioned that my goal has been to advance the >

[racket-users] Re: Spritely awarded Samsung Stack Zero grant

2019-01-31 Thread Greg Trzeciak
Fantastic! Congratulations to you, federation and to Racket =) G. On Thursday, January 31, 2019 at 11:46:49 PM UTC+1, cwebber wrote: > > I've mentioned that my goal has been to advance the > federated/decentralized social web in Racket on here before. Here's > some news: > > >

Re: [racket-users] Quickscript error on first startup of Racket 7.2

2019-01-31 Thread Greg Trzeciak
As long as the user-scripts won't be lost (i.e. the scripts will be copied over) it sounds OK. On Thursday, January 31, 2019 at 10:42:08 PM UTC+1, Robby Findler wrote: > > Probably it is best if quickscript (either silently or after asking) > copied scripts from a version-specific directory to

Re: [racket-users] Spritely awarded Samsung Stack Zero grant

2019-01-31 Thread Robby Findler
Congrats! Robby On Thu, Jan 31, 2019 at 4:46 PM Christopher Lemmer Webber wrote: > > I've mentioned that my goal has been to advance the > federated/decentralized social web in Racket on here before. Here's > some news: > > >

[racket-users] Spritely awarded Samsung Stack Zero grant

2019-01-31 Thread Christopher Lemmer Webber
I've mentioned that my goal has been to advance the federated/decentralized social web in Racket on here before. Here's some news: https://samsungnext.com/whats-next/category/podcasts/decentralization-samsung-next-stack-zero-grant-recipients/ I'm being funded for the next two years to work

[racket-users] syntax rewriting bindings

2019-01-31 Thread Luke Whittlesey
I see that there is the local-expand/capture-lifts and syntax-local-lift-expression for expressions, but is there a way to lift bindings as well? ... something akin to local-expand/capture-lift-defines maybe ... Basically I want to rewrite a syntax so any (MyDefine ...) is lifted into a

Re: [racket-users] Quickscript error on first startup of Racket 7.2

2019-01-31 Thread Robby Findler
Probably it is best if quickscript (either silently or after asking) copied scripts from a version-specific directory to a new (version-specific) one, much like how the pkg system works. Robby On Thu, Jan 31, 2019 at 3:38 PM Greg Trzeciak wrote: > > I had quickscript already installed when

[racket-users] Quickscript error on first startup of Racket 7.2

2019-01-31 Thread Greg Trzeciak
I had quickscript already installed when upgrading Racket. On DrRacket startup I got the following error: Error in script file "run-in-interactions.rkt": read-compiled-linklet: version mismatch expected: "7.2" found: "6.90.0.24" in:

[racket-users] drracket migrate: package is currently installed in a wider scope

2019-01-31 Thread andrew blinn
After updating to 7.2, I got this message after trying to use the "copy from version" menu option in the package manager to restore my packages from 7.1, due to quickscript being added to the standard distribution. This seems like it should be a simple enough issue to address, but I was unable

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,

Re: [racket-users] Why would a value produced by eval-ing code not satisfy its type predicate? (Particularly, a SQL statement from the sql package)

2019-01-31 Thread George Neuner
On 1/31/2019 10:58 AM, hashim muqtadir wrote: The test in my following code raises an error saying that when I call select/f, the result doesn't satisfy `sql-statement?`. I've no idea why, the only vague idea I have is that it may have something to do with the fact that it was essentially

Re: [racket-users] sxml vs xexpr frustrations

2019-01-31 Thread Matthew Butterick
Stability is narrower than maintainability, which includes the idea of "can the software be improved to suit current needs". For instance: I'd be willing to look into adding SXML conversion functions to my `txexpr` package if you'd find them useful. But when I try to read Oleg's spec for

Re: [racket-users] sxml vs xexpr frustrations

2019-01-31 Thread Stephen De Gabrielle
Hi, > [2] http://pobox.com/~oleg/ftp/Scheme/SXML.html moved to http://okmij.org/ftp/Scheme/SXML.html Kind regards, Stephen On Thu, 31 Jan 2019 at 17:39, Christopher Lemmer Webber < cweb...@dustycloud.org> wrote: > Is xexprs really maintained either? At any rate, not all software needs > very

Re: [racket-users] Why would a value produced by eval-ing code not satisfy its type predicate? (Particularly, a SQL statement from the sql package)

2019-01-31 Thread 'John Clements' via Racket Users
First off, many thanks for bringing to my attention the fact that Ryan has started racket-izing SQL! And thanks, Ryan, for racket-izing SQL! Maybe I can stop stapling together all of those long horrible strings now. Next, to answer your question, I believe that eval is not necessary here, and

Re: [racket-users] sxml vs xexpr frustrations

2019-01-31 Thread Christopher Lemmer Webber
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 sxml has tooling for, which is one important thing. Matthew Butterick writes: > I

Re: [racket-users] sxml vs xexpr frustrations

2019-01-31 Thread Matthew Butterick
I (ab)use xexprs for Pollen because they're used in the Racket web server, and because at the time, SXML seemed largely abandoned — no traffic on its mailing list [1] and today, even Oleg's SXML page is a 404. [2] I wouldn't try to pry SXML from anyone's fingers. But dragging around

Re: [racket-users] Re: updated Racket-on-Chez status

2019-01-31 Thread Matthias Felleisen
> On Jan 30, 2019, at 8:52 PM, Sam Tobin-Hochstadt wrote: > >> Although there are costs to TR in compile time and load time, >> especially in a program that also has untyped components, I generally >> would not recommend moving away from TR. > > Unlike Matthew, I can be sure not to offend the

[racket-users] Racket wiki

2019-01-31 Thread Stephen De Gabrielle
Hi I’ve done a little wiki gardening on the github Racket wiki on the main racket repository on the grounds that GitHub is arguably the dominant social network for developers, and likely the first place many developers will see your code. Please take a quick look and correct any mistakes:

Re: [racket-users] updated Racket-on-Chez status

2019-01-31 Thread David Storrs
Thank you for all the hard work you've put into this, everyone. The benchmark graphs are impressive! One thing that surprised me is that there are a handful of tests (tak1, dynamic2, tak, mazefun, maze2, collatz-q, collatz) where Racket/CS actually outperformed CS. How is that possible? On Thu,

[racket-users] Why would a value produced by eval-ing code not satisfy its type predicate? (Particularly, a SQL statement from the sql package)

2019-01-31 Thread hashim muqtadir
Hello, The test in my following code raises an error saying that when I call select/f, the result doesn't satisfy `sql-statement?`. I've no idea why, the only vague idea I have is that it may have something to do with the fact that it was essentially eval'd in a separate namespace. Any ideas?

Re: [racket-users] updated Racket-on-Chez status

2019-01-31 Thread Laurent
Just wanted to say thank you for the update and for the honest report. I look forward to using Racket CS, and to seeing how easily new features can be incorporated :) On Tue, Jan 29, 2019 at 2:49 PM Matthew Flatt wrote: > Here's a new status report on Racket CS: > >

Re: [racket-users] Re: updated Racket-on-Chez status

2019-01-31 Thread Alex Harsanyi
On Thursday, January 31, 2019 at 9:23:39 AM UTC+8, Matthew Flatt wrote: > > > I would be happy to help you identify where the performance degradation > > between Racket 7.1 and CS is when running these tests. > > Small examples that illustrate slowness in a specific subsystem are > always

Re: [racket-users] sxml vs xexpr frustrations

2019-01-31 Thread Jay McCarthy
On Thu, Jan 31, 2019 at 1:56 AM Konrad Hinsen wrote: > I actually migrated code from SXML to xexpr in order to be able to use > Pollen. For me, it feels like SXML is really optimized for consuming XML and xexpr is really optimized for producing it. Jay -- -=[ Jay McCarthy

Re: [racket-users] Racket v7.2

2019-01-31 Thread Christopher Lemmer Webber
Vincent St-Amour writes: > Racket version 7.2 is now available from > > http://racket-lang.org/ > > Racket-on-Chez is done in a useful sense, but we'll wait until it gets > better before making it the default Racket implementation. For more > information, see > >