Re: [racket-users] Real-world examples of XML usage?

2019-02-04 Thread Konrad Hinsen
David Storrs writes: >> This: >> >>https://mosaic-data-model.github.io/ > > That looks very cool, and like something that I'd like to talk to you > about professionally. Would you mind if I contact you off-list? Not at all! > Wow. That's impressive, and seems like something that could

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

2019-02-04 Thread Laurent
On Mon, Feb 4, 2019 at 9:55 PM Robby Findler wrote: > > Possibly. I'm not sure what would be the best option yet, I'll think > about it but I welcome suggestions. > > I think the main thing should be to avoid any uncaught exceptions (if > they happen while quickscript starts up, it will get

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-02-04 Thread Philip McGrath
On Sat, Feb 2, 2019 at 11:34 PM hashim muqtadir wrote: > > As long as you at least know the schema you're working with, you could > even generate select statements for all possible sets of columns at compile > time, and then just choose the right statement dynamically with a runtime > function.

Re: [racket-users] Real-world examples of XML usage?

2019-02-04 Thread Philip McGrath
On Mon, Feb 4, 2019 at 3:22 PM Neil Van Dyke wrote: > BTW, you *could* also do both XML and JSON. For example: for some Web > services, coming from a very complicated data model, IIRC, the > engineering process scenario was something like originally the > requirement was for XML, and then JSON

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

2019-02-04 Thread Robby Findler
On Mon, Feb 4, 2019 at 8:34 AM Laurent wrote: > On Sun, Feb 3, 2019 at 7:00 PM Robby Findler > wrote: >> On Sun, Feb 3, 2019 at 11:50 AM Laurent wrote: >>> >>> I've pushed a repair. It should be integrated with the next racket nightly >>> release I suppose. >>> >>> The fix is to check the

Re: [racket-users] Tensorflow bindings?

2019-02-04 Thread Neil Van Dyke
I had Racket TensorFlow bindings as a possible-TODO for me, but I don't yet know ML tools I'll use, and what APIs/layers I'll prefer atop tools that offer more than one. (One of the reasons to play with ML in Python initially: almost everything has Python APIs, at the moment, and some of the

Re: [racket-users] side by side; scribble

2019-02-04 Thread Ben Greenman
It's possible to have both, but not always easy. Best-case scenario: make CSS classes named `TwoColumn` and `multicolsbreak` that work the same as the LaTeX macros. Otherwise, the Scribble file will need to produce differently-structured output for HTML and LaTeX. Sometimes it helps to run

Re: [racket-users] Real-world examples of XML usage?

2019-02-04 Thread Neil Van Dyke
Jens Axel Søgaard wrote on 2/4/19 3:38 PM: (define (html-flash-card)   ; style: "border:1px solid black"   @div[class: "col-md-6" ]{     @div[id: "flash-card-content"]{       @div[id: "flash-card-question-container"]{ @div[id: "flash-card-question"]{ @h2{Flash Card} @p{The name of the

Re: [racket-users] side by side; scribble

2019-02-04 Thread Miguel Pereira da Silva
Thank you. That worked very well in the PDF, not in the HTML. Is there a way of having it working on both or if we travel this road we must choose print or web? Ben Greenman escreveu no dia segunda, 4/02/2019 à(s) 20:28: > If you comment-out the `@twocolumn{}` block and then click the >

Re: [racket-users] Real-world examples of XML usage?

2019-02-04 Thread Jens Axel Søgaard
Den søn. 3. feb. 2019 kl. 05.57 skrev David Storrs : > There was a discussion in another thread lately about various ways of > representing XML. It got me thinking, and I wanted to ask about > people's practical experience. > > What projects have y'all done where XML was the best choice for a >

Re: [racket-users] Real-world examples of XML usage?

2019-02-04 Thread Neil Van Dyke
David Storrs wrote on 2/4/19 1:34 PM: I was specifically thinking of JSON. Especially if your service interface is always through HTTP/HTTPS, there's a good chance that JSON is a great choice for your application.  (If data will be accessed by someone else directly from files or database

[racket-users] Racket PPA updated for v7.2

2019-02-04 Thread Asumu Takikawa
On 2019-01-30 12:59:40 -0600, Vincent St-Amour wrote: > Racket version 7.2 is now available from For anyone using Ubuntu, the Racket PPA has been updated for 7.2 too: https://launchpad.net/~plt/+archive/ubuntu/racket It's available on cosmic (18.10), bionic (18.04), xenial (16.04), and trusty

Re: [racket-users] Re: Tensorflow bindings?

2019-02-04 Thread Matt Jadud
Hi Doug, If you think they're a good starting point, I'm happy to contribute. I would rather reinvent fewer things. My impression from off-list conversation is that if the library is on GitHub, and licensed appropriately (Apache 2, MIT, BSD, LGPL*, GPL*, MPL, EPL, ISC, CC-BY, CC-BY-SA, OFL,

Re: [racket-users] Real-world examples of XML usage?

2019-02-04 Thread David Storrs
On Sun, Feb 3, 2019 at 7:22 AM Konrad Hinsen wrote: > > David Storrs writes: > > > What projects have y'all done where XML was the best choice for a > > reason other than "because we needed to interoperate with a service > > that required XML"? > > This: > >

Re: [racket-users] Python's append vs Racket's append and helping novices understand the implications

2019-02-04 Thread Matthias Felleisen
Great. Let’s include this link in Alex’s write up as an example of a concrete comparison. Even if such simple benchmarks don’t reflect daily, end-to-end programs, they can help people by dispelling some prejudices. Thanks — Matthias > On Feb 4, 2019, at 11:56 AM, Gustavo Massaccesi wrote:

Re: [racket-users] Real-world examples of XML usage?

2019-02-04 Thread David Storrs
On Sun, Feb 3, 2019 at 2:39 AM Neil Van Dyke wrote: > > David Storrs wrote on 2/2/19 11:57 PM: > > Are there angles here that I haven't encountered or thought about yet? > > As a fellow Racketeer with mixed feelings about XML, let me articulate > for the list an angle you might've already

Re: [racket-users] Re: Tensorflow bindings?

2019-02-04 Thread Greg Trzeciak
Please do (rdf and tensorflow)! It seems we are duplicating our efforts at the moment I have also been working on RDF4J (and other RDF tools) recently! G. On Monday, February 4, 2019 at 6:57:40 PM UTC+1, m.douglas.williams wrote: > > Also, I hadn't known about the wiki you linked to. I can add

Re: [racket-users] Re: Tensorflow bindings?

2019-02-04 Thread Doug Williams
Also, I hadn't known about the wiki you linked to. I can add my inference engine and interface to an RDF graph database (Eclipse rdf4j) interface there. On Mon, Feb 4, 2019, 9:49 AM Greg Trzeciak Wasn't it a rhetorical question? :) > > Although I don't have use for TensorFlow at the moment - I

Re: [racket-users] Re: Tensorflow bindings?

2019-02-04 Thread Doug Williams
I have a start on them already, but they need work. I don't need them on my project until the summer and they have been a low priority. I would be happy to share them with anyone that wants to go at a faster pace. On Mon, Feb 4, 2019, 9:49 AM Greg Trzeciak Wasn't it a rhetorical question? :) > >

Re: [racket-users] side by side; scribble

2019-02-04 Thread Ben Greenman
No need to apologize. The point of the example files was to show how to connect a Scribble function to a LaTeX macro. I don't recommend copy-pasting the files. Instead: 0. Make a small Scribble document to render a pdf without the side-by-side text. (Scribble's "Getting Started" guide should

Re: [racket-users] side by side; scribble

2019-02-04 Thread Miguel P. Silva
I was just trying to see what you did and after understanding that move on to do my own. I have copied the 3 different files you linked to a folder, but I am not sure what to do next to compile them. Sorry for the silly question. segunda-feira, 4 de Fevereiro de 2019 às 14:40:13 UTC, Ben

Re: [racket-users] Python's append vs Racket's append and helping novices understand the implications

2019-02-04 Thread Gustavo Massaccesi
For some reason, the Racket vs Python performance is a question that arise from time to time in Hacke News (like 2 or 3 times per year). Last time I asked if it was possible to add a direct comparison in The Computer Language Benchmarks Game and the owner/maintainer added that page. The results

[racket-users] Re: Tensorflow bindings?

2019-02-04 Thread Greg Trzeciak
Wasn't it a rhetorical question? :) Although I don't have use for TensorFlow at the moment - I would love to have the FFI bindings ready for when I will finally need it. The AI story in Racket at the moment is not as good is it could be: https://github.com/racket/racket/wiki/AI On Monday,

[racket-users] Re: Tensorflow bindings?

2019-02-04 Thread Lehi Toskin
That actually sounds kinda fun. If you make the repo I'll join in. On Monday, February 4, 2019 at 8:07:58 AM UTC-8, Matt Jadud wrote: > > Hi all, > > https://www.tensorflow.org/install/lang_c > > Would there be interest/value in having FFI bindings for TensorFlow? If I > poke it with a stick,

[racket-users] Tensorflow bindings?

2019-02-04 Thread Matt Jadud
Hi all, https://www.tensorflow.org/install/lang_c Would there be interest/value in having FFI bindings for TensorFlow? If I poke it with a stick, are there others who would be willing to contribute to the development of a package that provided those bindings? I'm getting to the point with a

Re: [racket-users] Re: Racket News - Issue 1

2019-02-04 Thread 'Paulo Matos' via Racket Users
On 01/02/2019 14:28, Greg Trzeciak wrote: > Nicely done! > > Is my understanding correct and this will also be a newsletter (as in > subscribe and receive by email)? > It's not pretty... yet, but I have added the newsletter subscription option. -- Paulo Matos -- You received this message

Re: [racket-users] Re: How To Design Classes text not available?

2019-02-04 Thread Marc Kaufmann
Thanks for that nifty tip for quick bookmarking Neil. Quick Searches: > > Name: [SEARCH] DUCKDUCKGO > Location: https://start.duckduckgo.com/?q=%s=hb=-2=web > Keyword: d > > For anyone else who might want it (but not quite know how): the way I got it going was 1. Go do some search with

Re: [racket-users] side by side; scribble

2019-02-04 Thread Ben Greenman
I'm not sure what to simplify. Can you send what you tried, and explain what happened and what you expected? -- 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

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

2019-02-04 Thread Laurent
On Sun, Feb 3, 2019 at 7:00 PM Robby Findler wrote: > > > On Sun, Feb 3, 2019 at 11:50 AM Laurent wrote: > >> I've pushed a repair. It should be integrated with the next racket >> nightly release I suppose. >> >> The fix is to check the compiled version of all scripts in the library, >> and if

Re: [racket-users] side by side; scribble

2019-02-04 Thread Miguel P. Silva
I am very new to racket and I am having trouble understanding your solution. Can you explain this with a simpler example? Thanks. quarta-feira, 30 de Janeiro de 2019 às 16:02:44 UTC, Ben Greenman escreveu: > > In case you have trouble navigating the docs, here's a related example. > > First, a