pocmatos
2018-3-2 10:08:57

Is anyone aware of any public repo with a Poleen book, so that I can understand what’s the best way to structure the sources and info.rkt?


githree
2018-3-2 10:36:54

@pocmatos here is a handful:






pocmatos
2018-3-2 10:39:02

@githree that’s great, thanks. Strangely github found no repos, based on pollen keyword.


githree
2018-3-2 10:39:31

no problem




pnwamk
2018-3-2 14:38:37

is the current Racket version for new builds correct? (e.g. 6.90.0.17—2018–03–01)


pnwamk
2018-3-2 14:39:13

(not that this is important, just seems many versions ahead of 6.12, hahaha)


mflatt
2018-3-2 14:40:33

Yes, that’s as intended. “6.90.x” means “pre–7.0”.


joelmccracken
2018-3-2 14:42:27

what is the difference between pollen and Scribble, besides surface syntax?


joelmccracken
2018-3-2 14:53:38

eh ill ask the mailing list


abmclin
2018-3-2 15:27:59

why is today a special date for Racket? (based on the loading splash image when I spin up DrRacket)



pnwamk
2018-3-2 15:31:45

(a guess)


abmclin
2018-3-2 15:37:16

ahh that would explain the prominent star in the splash image


sorawee
2018-3-2 15:45:20

Hi, is it a known issue that typed/racket/base/no-check is slower than racket/base? For a program that simply (displayln "hello"), typed/racket/base/no-check consistently takes 0.4s while racket/base takes 0.1s


pnwamk
2018-3-2 15:54:37

@sorawee there has been effort to reduce startup overhead with Typed Racket… I’m not sure if it has been observed/noted that in particular the typed/racket/base/no-check variant also has startup overhead. (It seems like it should be able to avoid most of it after the files are expanded… @samth could better answer this for sure)


samth
2018-3-2 15:57:50

Is that with or without running raco make first?


pnwamk
2018-3-2 16:01:01

(I observed it after making the two modules)


pnwamk
2018-3-2 16:01:25
➜ raco make example1.rkt
➜ raco make example2.rkt
➜ time racket example1.rkt
hello
racket example1.rkt  0.04s user 0.02s system 92% cpu 0.068 total
➜ time racket example2.rkt
hello
racket example2.rkt  0.29s user 0.10s system 97% cpu 0.403 total

joelmccracken
2018-3-2 16:23:08

cool!


leif
2018-3-2 18:51:47

@mflatt Interestingly enough, the fix you pushed doesn’t seem to work if the variable is specifically called version:

#lang racket/base

(define version 42)

(module M racket/base
  (provide (all-defined-out))
  (define version 42))
(require 'M)

leif
2018-3-2 18:56:15

(or any other variable defined in racket/base.


mflatt
2018-3-2 19:57:39

@leif Thanks for the example! I think I have a repair for the case that a require shadows the initial language require, and I’ll push if a rebuild and further tests work.


leif
2018-3-2 19:58:49

@mflatt Okay cool. Thanks. :slightly_smiling_face:


leif
2018-3-2 20:54:54

@mflatt It looks like video compiles again with the new expander. Thanks. ^.^


jjwiseman
2018-3-3 00:52:49

@jjwiseman has joined the channel