coluckenbach
2018-12-7 08:32:48

@coluckenbach has joined the channel


coluckenbach
2018-12-7 08:38:19

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!


leafac
2018-12-7 09:38:28

Thank you for reading.


spdegabrielle
2018-12-7 11:40:48

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


coluckenbach
2018-12-7 11:46:25

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


spdegabrielle
2018-12-7 11:52:55

@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:


coluckenbach
2018-12-7 12:30:10

@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:


spdegabrielle
2018-12-7 12:33:38

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


coluckenbach
2018-12-7 12:37:52

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


pocmatos
2018-12-7 13:08:11

Germany here as well!


pocmatos
2018-12-7 13:08:45

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


diego
2018-12-7 13:13:53

Switzerland here :slightly_smiling_face:


mflatt
2018-12-7 13:15:10

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.


abmclin
2018-12-7 14:23:12

@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.


spdegabrielle
2018-12-7 14:29:36

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


spdegabrielle
2018-12-7 14:33:52

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


samth
2018-12-7 15:47:39

@jeapostrophe ping


shu--hung
2018-12-7 16:07:14

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


abmclin
2018-12-7 16:16:44

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.


abmclin
2018-12-7 16:16:52

@leafac


jeapostrophe
2018-12-7 16:40:44

I removed it


samth
2018-12-7 16:41:02

do you know what happened?


leafac
2018-12-7 16:41:14

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


leafac
2018-12-7 16:42:14

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


abmclin
2018-12-7 16:43:49

cool, that’s fascinating, thank you


pocmatos
2018-12-7 16:59:54

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


lexi.lambda
2018-12-7 17:01:56

@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


pocmatos
2018-12-7 17:05:37

@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.


pocmatos
2018-12-7 17:05:55

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


lexi.lambda
2018-12-7 17:06:13

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


coluckenbach
2018-12-7 17:25:52

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


coluckenbach
2018-12-7 17:26:37

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


samth
2018-12-7 18:12:35

It doesn’t look removed


spdegabrielle
2018-12-7 18:52:30

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


samth
2018-12-7 19:00:40

(require drracket) should do it


spdegabrielle
2018-12-7 19:08:44

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


abmclin
2018-12-7 19:10:32

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


spdegabrielle
2018-12-7 19:11:29

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


spdegabrielle
2018-12-7 19:24:10

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?


coluckenbach
2018-12-7 19:42:24

@spdegabrielle Thanks that saves time!


coluckenbach
2018-12-7 19:43:51

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


shu--hung
2018-12-7 19:44:18

this is what I did when trying your color scheme:


shu--hung
2018-12-7 19:45:13
  1. Create a directory
  2. Create an info.rkt, with your code and the fixed alpha value ((define base02 #(230 96 62 0.5)))
  3. In that very directory, install the package via raco pkg install

shu--hung
2018-12-7 19:45:18
  1. Restart DrRacket

shu--hung
2018-12-7 19:45:43

How did you setup the stuff?


coluckenbach
2018-12-7 19:47:22

@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


shu--hung
2018-12-7 19:47:44

it did work


shu--hung
2018-12-7 19:48:02

do you have multiple racket installed?


coluckenbach
2018-12-7 19:49:12

No I don’t. Only the current version!


coluckenbach
2018-12-7 19:49:58

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


coluckenbach
2018-12-7 19:50:13

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


shu--hung
2018-12-7 19:51:18

It’s working now? yay


coluckenbach
2018-12-7 19:51:21

Thanks a lot for your help guys! :clap:


coluckenbach
2018-12-7 19:51:44

I try to fix the directory on github now:)


shu--hung
2018-12-7 19:53:44

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


coluckenbach
2018-12-7 19:54:39

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


spdegabrielle
2018-12-7 19:57:24

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


coluckenbach
2018-12-7 19:58:40

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!


gregor.kiczales
2018-12-8 03:28:19

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
2018-12-8 03:31:04

@justin.hu has joined the channel