royall
2017-10-13 11:20:55

Wonderful! Also amazed to see how the image comes out in the emacs repl in racket-mode


robby
2017-10-13 12:40:29

@jbclements pull requests welcome to either add yours or make things extensible :slightly_smiling_face:


jbclements
2017-10-13 15:47:00

@robby Agh! Got me. :slightly_smiling_face:


samth
2017-10-13 15:55:17

/kick-drdr


Bot messages not yet supported
ben
2017-10-13 16:01:47

@ben commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: feature request: add a boolean option to make the eyes “closed” (upside-down U-shapes) :smile_cat:


leif
2017-10-13 16:10:14

@mflatt What is the #:tag feature in define-cpointer-type, do?


leif
2017-10-13 16:10:36

(I ask because define-cstruct seems to use it, but its not documented.


leif
2017-10-13 16:11:23

(Trying to make my own define-cstruct that can make structs for different (ABI breaking) versions of the same library. Which is why this is relevant to me.)


mflatt
2017-10-13 16:12:34

It specifies a tag as an alternative to the default 'id. I’ll make a note to add that to the docs.


leif
2017-10-13 16:28:47

Ah, okay


leif
2017-10-13 16:28:58

I’d be happy to do it if that helps.


apg
2017-10-13 16:53:08

@drdeeglaze standard-cat is rad!


leif
2017-10-13 18:01:03

Yes…it should get merged. :slightly_smiling_face:


leif
2017-10-13 18:01:08

We could have pict/farm. :slightly_smiling_face:


royall
2017-10-13 18:13:45

@samth what’s that command do?


samth
2017-10-13 18:44:34

@royall it resets the CI server build at http://drdr.racket-lang.org\|drdr.racket-lang.org


samth
2017-10-13 18:44:52

Best not to run it unless that’s hung


drdeeglaze
2017-10-13 19:08:12

@ben The cat-silhouette function would be good way to build that version. I can also have #:left-eye and #:right-eye options that take picts and place them appropriately. Probably #:nose too.


vngls
2017-10-13 19:41:35

@vngls has joined the channel


leif
2017-10-13 19:47:32

Also @mflatt I submitted a PR to add it to the docs: https://github.com/racket/racket/pull/1844


samth
2017-10-13 20:43:47

/kick-drdr


Bot messages not yet supported
lexi.lambda
2017-10-13 21:03:15

Can someone explain why these two programs print different things? Maybe @mflatt or @samth? #lang racket (require (for-syntax racket/syntax) syntax/parse/define) (define-simple-macro (mac) #:do [(define x (generate-temporary)) (define intdef-ctx (syntax-local-make-definition-context)) (define x* (internal-definition-context-introduce intdef-ctx x)) (syntax-local-bind-syntaxes (list x) #f intdef-ctx) (println (identifier-binding x*))] (void)) (mac) ; => #f #lang racket (require (for-syntax racket/syntax) syntax/parse/define) (define-simple-macro (mac) #:do [(define x (syntax-local-introduce (generate-temporary))) (define intdef-ctx (syntax-local-make-definition-context)) (define x* (internal-definition-context-introduce intdef-ctx x)) (syntax-local-bind-syntaxes (list x) #f intdef-ctx) (println (identifier-binding x*))] (void)) (mac) ; => 'lexical The only difference is the addition of syntax-local-introduce in the second program.


samth
2017-10-13 21:21:34

I don’t see how that could happen, so I hope @mflatt can explain


lexi.lambda
2017-10-13 21:23:00

It appears to happen in racket7 as well, fwiw.


drdeeglaze
2017-10-13 21:53:31

drdeeglaze
2017-10-13 22:23:18

drdeeglaze
2017-10-13 22:47:27

drdeeglaze
2017-10-13 22:50:43

I’m on a chrome book, so everything has to be done through the browser. I’ve been using http://pasterack.org\|pasterack.org as a REPL, and that’s a rough experience. Especially with all the captcha requirements as you iterate. Eagerly awaiting racketscript + pict + racket/draw support so I can fiddle with images faster. I can ssh into a machine with racket for text-based iteration, but graphical stuff is hard.


drdeeglaze
2017-10-14 05:10:40

Got my hands on a mac and figured out the whiskers for the cat. Wrote some contracts. Tomorrow, docs! (compilation takes too long for pasterack to render the image now)


ben
2017-10-14 05:14:27

notjack
2017-10-14 06:30:13

@notjack commented on @drdeeglaze’s file https://racket.slack.com/files/U7G2ELB8B/F7JQUF23Z/standard-cat.rkt\|standard-cat.rkt: this is incredible and I’m glad I got to watch it come together :p