spdegabrielle
2019-9-10 14:12:48

samdphillips
2019-9-10 14:29:42

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


spdegabrielle
2019-9-10 14:49:41

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


spdegabrielle
2019-9-10 14:53:41

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


samdphillips
2019-9-10 14:56:16

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


jerome.martin.dev
2019-9-10 15:01:37

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


soegaard2
2019-9-10 15:18:26

soegaard2
2019-9-10 15:19:18

The greatest challenge is to get enough participants.


spdegabrielle
2019-9-10 15:22:08

I think so


spdegabrielle
2019-9-10 15:24:12

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


soegaard2
2019-9-10 15:26:17

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.




ben
2019-9-10 16:29:31

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


soegaard2
2019-9-10 16:36:00

Have you looked at define-cstruct first?


soegaard2
2019-9-10 16:36:52

notjack
2019-9-10 19:11:55

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


samth
2019-9-10 19:23:21

usually people do the latter


notjack
2019-9-10 19:34:11

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


pocmatos
2019-9-10 19:55:56

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
2019-9-10 21:03:55

@barcharcraz has joined the channel


ben
2019-9-10 21:14:48

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


ruyvalle
2019-9-10 21:42:31

it prints on my machine, on Mac


soegaard2
2019-9-10 22:16:19

@ben which version?


samdphillips
2019-9-11 00:46:40

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.


samdphillips
2019-9-11 00:46:57

These are my interpretations


notjack
2019-9-11 01:34:02

that lines up with my thinking too


ben
2019-9-11 01:40:54

7.2


ben
2019-9-11 02:53:03

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


philip.mcgrath
2019-9-11 03:37:34

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


sorawee
2019-9-11 04:51:22

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


sorawee
2019-9-11 04:52:05

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