spdegabrielle
2019-8-21 09:20:25

laurent.orseau
2019-8-21 09:25:23

Do you think you could get/make high resolution pictures? That would look a lot better :slightly_smiling_face:


spdegabrielle
2019-8-21 09:26:39

Yes. I think most of the code is resolution independent.


spdegabrielle
2019-8-21 09:32:23

@laurent.orseau I’m looking for ideas how best to showcase entries - do you have any suggestions?


jerome.martin.dev
2019-8-21 09:34:55

10 days leeeft…. Work in progress! :female-construction-worker: (everyone knows 80% of the work is done at the last 20% of the schedule, right?)


spdegabrielle
2019-8-21 09:35:42

:rolling_on_the_floor_laughing: ROTFL


laurent.orseau
2019-8-21 09:39:56

Ideally, the reader should be able to very easily get the code if they find the picture pleasing. Even better, run the code by themselves and tweak it.


laurent.orseau
2019-8-21 09:40:37

(if the goal is to get new racket users)


spdegabrielle
2019-8-21 09:40:48

maybe pasterack!


spdegabrielle
2019-8-21 09:41:49

the idea is a) to get new Racket users b) increase community engagement/cohesion in a stressful period of change c) promote Racket more broadly


laurent.orseau
2019-8-21 09:42:41

pasterack doesn’t seem to know about slideshow unfortunately


laurent.orseau
2019-8-21 09:43:03

(I think that’s a great idea, thanks for this Stephen!)


laurent.orseau
2019-8-21 09:44:25

Someone should do a chess board. A lot of new programmers like to program a chess engine. Seeing the picture and how easy it is to place the pieces could push them to want to write the rest of the code :wink:


laurent.orseau
2019-8-21 09:46:17

2htdp/planetcute has also had this effect on me: I felt the obligation to write a distributed ‘game’ (well, at least several people can move a character at the same time)





laurent.orseau
2019-8-21 09:49:52

Ask Alex to just post the picture and a simple code to position the pieces maybe?


laurent.orseau
2019-8-21 09:50:23

(this wouldn’t require a pasteboard, just pict)


spdegabrielle
2019-8-21 09:56:19

@laurent.orseau I’d forgotten about planet cute 2htdp/planetcute



vijkum0692
2019-8-21 13:43:59

@vijkum0692 has joined the channel


thongpv87
2019-8-21 14:19:01

@thongpv87 has joined the channel


samdphillips
2019-8-21 16:04:48

It’s not on https://docs.racket-lang.org/reference/attaching-contracts-to-values.html , but in current Racket there is a #:unprotected-submodule submodule-name keyword on contract-out that could be useful if you want contracted and un-contracted versions of a module.


samdphillips
2019-8-21 16:06:33

Side note: it looks like http://docs.racket-lang.org\|docs.racket-lang.org is behind Racket 7.4 docs on my computer


samdphillips
2019-8-21 20:35:31

Are there any other naming conventions that Racketeers use for parameters besides current-*?


nma.arvydas.silanskas
2019-8-21 20:36:56

*ALLCAPS*


samdphillips
2019-8-21 20:37:21

That seems Common Lispy


nma.arvydas.silanskas
2019-8-21 20:37:44

grr without backslash it bolds, but backslashing it makes backslash visible


soegaard2
2019-8-21 20:37:50

All caps was used for constants in the first edition of HtDP.


samdphillips
2019-8-21 20:38:19

Yeah I use All caps for constants from C, python, etc. code styles


samdphillips
2019-8-21 20:38:39

I think use-* is often employed for parameters too sometimes (skimming the reference)


soegaard2
2019-8-21 20:38:45

Any Windows users here? If so, can you test whether: #lang slideshow ; or slideshow/widescreen (slide #:title "How to Say Hello" (t "Hello World!")) works on 7.4 ?


soegaard2
2019-8-21 20:39:27

In libraries with many parameters, it becomes a bit annoying to use the current- prefix.


soegaard2
2019-8-21 20:39:40

I think the plot library, simply dropped it.


alexharsanyi
2019-8-21 22:13:44

@soegaard2 that program fails on 7.4 on windows 10 with the error CreateIconIndirect: call failed (87)


soegaard2
2019-8-21 22:21:28

@alexharsanyi Thanks for confirming, that this is a bug.


soegaard2
2019-8-21 22:21:48

It works on macOS, so it is a Windows-only bug.



soegaard2
2019-8-21 22:22:45

@alexharsanyi I assume it works fine in 7.3 ?


markus.pfeiffer
2019-8-22 06:59:12

Has anyone plotted timeseries with a plot (and maybe labeled the x-axis with times/dates)? I seem to only come up with cumbersome hacks :confused: