soegaard2
2018-10-30 09:48:39

Does racket/parser-tools have a maintainer? It seems there are 3 pull requests pending.


mflatt
2018-10-30 12:02:16

I dislike eof-object?, but it comes from RNRS.


paul
2018-10-30 15:06:49

@samth Should we add eof? as a synonym for eof-object?, for consistency? The port function is port-eof?.


paul
2018-10-30 15:09:20

General question: If no one is assigned to an issue on GitHub, will anyone receive a notification if someone comments on the issue?


jxxcarlson
2018-10-30 15:10:57

Hello, I am trying to insert a record in a postgres database using the code below: (define (insert-note note) (query-exec notes-connection "insert into notes values ($1, $2, $3, $4)" -1 (timestamp) (timestamp) note)) This works but the first field is an auto-incrementing integer ID: id serial PRIMARY KEY.


jxxcarlson
2018-10-30 15:11:20

So I need to instruct postgres to do its default thing rather than sending it an id


samth
2018-10-30 15:16:58

@paul I don’t think we need to add eof?, but I’m happy to hear opinions otherwise


samth
2018-10-30 15:17:33

also, the original reporter recieves a notification, as well as people who have set up the notifications for that


samth
2018-10-30 15:17:42

plus I see all issue comments


paul
2018-10-30 15:28:38

Okay, thanks. Let’s see if there are any other opinions.


leif
2018-10-30 18:49:08

Is there any reason you can’t send an (immutable) box through a place channel?


leif
2018-10-30 18:50:04

(It seems odd to me that it can handle, say, vectors, but not boxes.)


leif
2018-10-30 18:50:26

Anyway, this show an incompatibility between places and the serialize library.


ryanc
2018-10-30 19:32:07

@jxxcarlson IIRC you can either 1) list the field names and omit the auto-incrementing one, like insert into notes (b, c, d) values ($1, $2, $3) if a is the auto-incrementing column and b, c, d are the others; or 2) use the DEFAULT keyword, like insert into notes values (DEFAULT, $1, $2, $3). Note that you have to write DEFAULT literally in the query string; it is a keyword, not a value, so it can’t be replaced with any placeholder and argument pair.


leif
2018-10-30 19:34:07

Hmm…it looks like the relevant place code is '#%place-struct module, which makes me inclined to think that @mflatt might know something?


leif
2018-10-30 19:34:21

(About why place channels can send vectors, but not boxes.)


pocmatos
2018-10-30 19:47:21

I would like to generate a benchmark report automatically from some data. This benchmark report should be available in html and pdf. The obvious thing is probably to generate scribble and then go to html and pdf using scribble capabilities. Has anyone done something like this before? Is there any automatically generated scribble out there I could look at?


paul
2018-10-30 20:47:41

Can I simply install Racket 7.1 on top of 7.0, no muss, no fuss?


leif
2018-10-30 21:30:47

@paul Eh, there’s a slight chance things won’t work, but honestly, 99/100 times it works for me.


leif
2018-10-30 21:31:32

So if its your personal machine, you’re ‘probably fine’ (afaik), but I would be hesitant to do it in a multi-user setting.


leif
2018-10-30 21:31:58

(Of course, what OS and install type you have would also probably cause your milage to vary.)


greg
2018-10-31 01:21:12

@paul On macOS I currently have 10 versions of Racket installed side by side. I’m guessing similar possible on Windows but don’t know first-hand.