
Only 10 days left!
Get your entries in!
https://github.com/standard-fish/summer-competititon-2019/blob/master/README.md

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

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

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

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?)

:rolling_on_the_floor_laughing: ROTFL

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.

(if the goal is to get new racket users)

maybe pasterack!

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

pasterack doesn’t seem to know about slideshow unfortunately

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

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:

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)




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

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

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


@vijkum0692 has joined the channel

@thongpv87 has joined the channel

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.

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

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

*ALLCAPS*

That seems Common Lispy

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

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

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

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

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 ?

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

I think the plot library, simply dropped it.

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

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

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


@alexharsanyi I assume it works fine in 7.3 ?

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: