
Competition feedback https://groups.google.com/d/msg/racket-users/dcuBbSS6yRs/BJekzKzeAgAJ

The Fall Lisp Game Jam should be coming up in mid-October. The organizers haven’t announced the specific date yet.

If a Racket team or teams were to enter, what resources would you recommend ?(Realm of Racket obvsly) Should this discussion move to channel #gameham ? Sorry #gamejam

Just visited https://itch.io/ Should there be a RacketGameJam instead ?

There totally can be a Racket one as well. I think if we (for some values of we) organize one it should not conflict or be too close the the Lisp one so participants aren’t too burnt out, and no one is accused of “stealing” participants

As long as the dates are not the same, it would be okay?


The greatest challenge is to get enough participants.

I think so

I think making it friendly and easy for beginners to get involved can help with numbers.

I have for a long time had the idea to make a “game framework” for making (similar) levels, and then let users implement their own levels.
Something very simple - like the old commodore 64 game Snoopy. Levels were single screen. The objective was go get from the left side to the right side avoiding a few obstacles.


Ha! I love the ear animation
We have some resources already in place: https://github.com/racket/racket/wiki/Game-Development

is there an example online of how to use https://docs.racket-lang.org/foreign/C_Struct_Types.html properly?

Have you looked at define-cstruct
first?

There is a great blog post by Asumu here: http://prl.ccs.neu.edu/blog/2016/06/29/tutorial-racket-ffi-part-2/

Best practices question: is struct-guard/c
usually what I want? As opposed to (contract-out [struct ...])
.

usually people do the latter

yes, but I assume that’s because struct-guard/c
is relatively new, not because the latter is good

OK, well, my intention was to test a change to racket/ChezScheme
without the need to bring in racket/racket
as well. However, if it’s a hassle or not supported as all, I am fine setting up some scripts to run the tests on my changes by pulling racket/racket
whenever I need to test racket/ChezScheme
.

@barcharcraz has joined the channel

Can someone with nix try making a simple executable that prints? A friend of mine just had this strange experience: [nix-shell:~/Documents/racket]$ cat hello.rkt
#lang racket/base
(print "hello world")
[nix-shell:~/Documents/racket]$ racket hello.rkt
"hello world"
[nix-shell:~/Documents/racket]$ raco exe -o hello hello.rkt && ./hello
open-input-bytes: contract violation
expected: bytes?
given: #<eof>
context...:
embedded-load

it prints on my machine, on Mac

@ben which version?

struct-guard/c
== I always want struct creation to check that the values are appropriate (contract-out [struct ...])
== my internal code doesn’t need to be checked, but code that uses this interface should be checked
The latter may be better if internal to a library you create a lot of objects and all of the checking is bogging you down.

These are my interpretations

that lines up with my thinking too

7.2

it’s probably due to Racket trying to read & execute hello
at the same time (illegal on nix) …. oh wow https://github.com/racket/racket/issues/2451

You should look at raart
, which integrates with lux
: https://docs.racket-lang.org/raart/index.html

I recalled someone having the same problem posting about this somewhere recently

Whoops. Just checked email and found that you found it!