phanthero
2020-10-29 08:45:00

@phanthero has joined the channel


phanthero
2020-10-29 08:49:13

Hello everyone! I am having some problems running the REPL in racket-mode (seems like you guys were discussing it already). Doing C-c C-c doesn’t seem to run this simple Racket expression?


kellysmith12.21
2020-10-29 10:50:19

This is probably the wrong place to ask this, but in the Rebellion package, is there a way to extract the set of column labels from a table? I didn’t see anything in https://docs.racket-lang.org/rebellion/Tables.html?q=tables


soegaard2
2020-10-29 10:51:22

@phanthero You need to check that racket-mode knows the path to your racket.


soegaard2
2020-10-29 10:52:09

Check the first paragraph here: https://www.racket-mode.com/#Configure


soegaard2
2020-10-29 10:52:27

Also: Does the command racket work in a terminal/shell?


soegaard2
2020-10-29 10:54:54

kellysmith12.21
2020-10-29 10:59:48

Ah, it’s not in the documentation.


soegaard2
2020-10-29 11:00:38

I don’t know whether that’s on purpose? @notjack


phanthero
2020-10-29 11:30:01

Yep, I read the docs and the command racket works. I have Racket 7.3 installed, or so racket --version says. I’m using WSL and my shell is bash, probably should have mentioned this. Sorry!


soegaard2
2020-10-29 11:33:22

Do you start Emacs from within WSL?


phanthero
2020-10-29 11:35:39

Yes. I have Vcxsrv running, so I can run graphical applications.


phanthero
2020-10-29 11:35:55

kellysmith12.21
2020-10-29 11:45:21

(Related: it would be useful to have an into-record reducer that builds a record from a sequence of record fields.)


soegaard2
2020-10-29 11:46:17

I believe Emacs is supposed to inherit the path from the underlying shell - but have no experience with WSL. Maybe configure racket-mode using the full path to racket. ?


soegaard2
2020-10-29 11:46:44

Oh! Wait a minute. Aren’t you missing a #lang racket line?


phanthero
2020-10-29 11:56:41

Yep, I thought about the #lang racket just after posting this and still nothing. Did C-c C-c on both lines


phanthero
2020-10-29 12:01:43

Oh, you’re right, doing this in init.el worked: (setq racket-program "/usr/local/bin/racket)


phanthero
2020-10-29 12:01:48

Thanks!!


gknauth
2020-10-29 17:12:08

I see that a number of the channels are now unreadable prior to August 22 without a paid Slack plan. I clicked on that out of curiosity, and it suggested if I wanted to pay $7/month it would be per-user per workspace. Then I tried to figure out how many users might be on Slack/racket. It’s a shame their pricing model doesn’t include individual/year/all-workspaces-similar-to-racket-in-spirit.


george.privon
2020-10-29 17:18:40

i think it only charges for users that are “active” each month (though i forget what that means, specifically), but yeah, it’s quite spendy. they do offer educational discounts though



soegaard2
2020-10-29 17:20:54

Yes - I wrote them to see if it was possible to get a personal plan (in order to see the history in the Racket slack - but that wasn’t possible.


notjack
2020-10-29 19:14:08

Records and tables aren’t super polished relative to the rest of rebellion. Filing issues in the repo is the best way to get my attention on them, it gives me something to focus on.


notjack
2020-10-29 19:14:18

into-record would be good


notjack
2020-10-29 20:17:00

Oh and, if anything is provided and not documented, that’s unintentional


spdegabrielle
2020-10-29 23:03:01

Hi, Any Linux users out there who use DrRacket with 4k screen? Does it cause any (insoluble) problems?

Context: I’m considering switching from mac to linux - and I seem to remember 4k+linux+DrRacket giving some users trouble in the past. Of course it is entirely possible problems were solved by switching to Racket Mode, but that is not a path I want to pursue.


samth
2020-10-30 00:57:57

I have a hi-def screen on the system I’m using and it works fine, but it’s not 4k


kellysmith12.21
2020-10-30 04:06:01

@notjack by the way, I really like the libraries and I get the impression that Rebellion could be used as the basis of a nice little #lang.


pocmatos
2020-10-30 05:23:07

@spdegabrielle I have 4k and DrRacket looks fine to me, although I use racket mode more often.


notjack
2020-10-30 05:46:22

@kellysmith12.21 Thank you so much! That really means a lot to me. I’m glad you’re getting good use out of them.