
@coluckenbach has joined the channel

Hello Guys! This is my first time here and I have a quite simple question I guess:) I created a color scheme for DrRacket. When installing via raco or package-manager-gui I dont get any errors logged. The only problem is, that it isnt showing up in the colors tab in settings. I already asked on r/racket an my university forum. So far no one could help me. I also compared my code to working color schemes and I dont see any difference. Maybe you find my mistake:) Thank you in advance!

Thank you for reading.

I’ve not done a colour scheme but it might be worth looking at an existing one https://github.com/takikawa/drracket-solarized

@spdegabrielle Thanks a lot but this doesn’t fix my problem! I don’t understand why mine isn’t working.

@coluckenbach sorry, I’ve not done a colour scheme - try the Racket mailing list- I think there are more people on it. American Racketeers should be waking up soon :grinning:

@spdegabrielle I’ll probably wait for the americans :smile: and if they can’t help me I will try the mailing list! Thanks for the hint :slightly_smiling_face:

@coluckenbach are you in europe? I’m in uk - nice to meet another European racketeer! Good luck with the colour scheme.

@spdegabrielle I am in Germany! Racket is the language we use in one of my courses at university!:+1::skin-tone–2:

Germany here as well!

@coluckenbach Don’t miss out on https://www.meetup.com/After-Work-Racket/ near Frankfurt by @alama

Switzerland here :slightly_smiling_face:

Looking at this more, I think it’s better to add a third argument to ephemeron-value
to play the retaining role. A separate argument is less subtle, and it adapts better to situations that involve non-eq?
-based mappings or finalization.

@coluckenbach Americans are now awake on the East coast but I’m afraid I can’t help with your problem. Did you already restart your DrRacket after installing your theme. I do remember needing to restart mine every time I install a theme before it would show up in the listing.

While us europeans are awake, I just saw the a message from @alama on Twitter: >I’m organizing a @racketlang >conference. Saturday, March 23, 2019, >in Berlin, Germany: > > http://racketfest.com\|racketfest.com > >Spread the word! (Twitter handle ‘@alamajesse’)

…and Eminent Professor Shriram Krishnamurthi @shriram will be speaking!

@jeapostrophe ping

@coluckenbach Change base02
to (define base02 #(230 96 62 0.5))
seems to work. Alpha needs to be in the range [0,1]
.

I have a question if you’d like to answer or point me to where I can find out. I was wondering why not say the type of the continuation function k
is (α → )
is it because k
is represented as a function so it must have an output even if it’s not actually produced since execution never returns to k
? I do understand why it makes sense to choose that β
means anything in (α → β)
to ensure that k
will work in all possible contexts.

@leafac

I removed it

do you know what happened?

Yes, you can say call/cc : ((α → Nothing) → β) → (α ∪ β)
. It’s one step closer to the actual type of call/cc
in Typed Racket.

And one step further away from the type you’d find on Wikipedia and other sources that assume a Hindley–Milner type system.

cool, that’s fascinating, thank you

Isn’t read-accept-lang
the parameter to use if I want read-syntax
to parse the #lang
line? I have it set to #true
and yet I still get: read-syntax: #lang not enabled

@pocmatos You also have to set read-accept-reader
, but consider just using with-module-reading-parameterization
instead, which will set everything correctly. http://docs.racket-lang.org/syntax/module-helpers.html#%28def._%28%28lib._syntax%2Fmodread..rkt%29._with-module-reading-parameterization%29%29

@lexi.lambda thanks that’s it. frustrating that I knew I had done this before but I forgot that it was two parameters to set instead of one.

Had no idea with-module-read...
existed. Always learning. Thanks.

The read-accept-lang
docs do mention read-accept-reader
, fwiw.

@abmclin yes multiple Times! Also testet it in different devices and different OS:)

@shu—hung I will try:+1::skin-tone–2: thank you very much!

It doesn’t look removed

Is there a way to launch DrRacket from DrRacket repl so you don’t need to keep restarting to test colourschemes?

(require drracket)
should do it

@coluckenbach @abmclin no need to restart use (require drracket) from interactions frame! Thanks @samth :grinning:

I would rather DrRacket automatically refresh and make themes available without needing a restart but @samth’s suggestion works as a workaround

That’s a good idea. I wonder if there is a way to do it?

Quickscript by @laurent.orseau doesn’t automatically refresh - you have to tell it to recompile - but it comes close. https://docs.racket-lang.org/quickscript/index.html It can access DrRacket’s frame but I don’t know if you can use it for colour schemes?

@spdegabrielle Thanks that saves time!

@shu—hung well I fixed the thing with the alpha value. It’s still not working. I looked at 3 other working schemes and I still dont see any difference. Is there anything possible I could’ve done wrong while creating the pkg?

this is what I did when trying your color scheme:

- Create a directory
- Create an
info.rkt
, with your code and the fixed alpha value ((define base02 #(230 96 62 0.5))
) - In that very directory, install the package via
raco pkg install

- Restart DrRacket

How did you setup the stuff?

@shu—hung and it did work? I created a pkg with raco pkg new <name>
then I deleted the unnecessary files and copied my info.rkt into the folder. Then I initialized git to push it to github. And I installed with raco pkg install

it did work

do you have multiple racket installed?

No I don’t. Only the current version!

I did work for me too! I installed it from my local directory and not via GitHub.

Great! Now I only have to fix the github dir/

It’s working now? yay

Thanks a lot for your help guys! :clap:

I try to fix the directory on github now:)

I tried installing directly from your github repo just now and it worked

ye I pushed it to master a few seconds ago! Thanks a lot for your help!

@coluckenbach don’t forget to add it to https://pkgs.racket-lang.org :smiley:

I already did that! But the installation via package download isnt working yet. dont know exactly why. maybe it needs time to be refreshed from the Github repo!

If we have a sandbox evaluator for a teaching language, how do we get the number of tests passed and run from it?

@justin.hu has joined the channel