spdegabrielle
2021-8-1 11:07:30

Also found this old comp in the Ng thread https://quirkylanguages.com/\|https://quirkylanguages.com/


spdegabrielle
2021-8-1 15:31:09

artemchernyak
2021-8-1 16:04:25

That’s really awesome. The state management really reminds me of reagent and re-frame from the ClojureScript world. It makes for the easiest UI interactions I have ever used.


spdegabrielle
2021-8-1 16:05:21

Thanks to @popa.bogdanp :grinning:


niko
2021-8-1 19:11:53

Is there a variant of filter that returns (matched, did-not-match) lists?


sorawee
2021-8-1 19:12:32

Yes, partition



niko
2021-8-1 19:12:50

thanks!


niko
2021-8-1 19:17:08

Ok, is there a way to get the “multiple return values” into a form that can be matched with redex? e.g., a list? :slightly_smiling_face:


soegaard2
2021-8-1 19:19:50

The primitive is call-with-values which can be used to convert values to a list. Some libraries also have a dedicated values->list, but nothing builtin as far as I know.


niko
2021-8-1 19:22:11

wrote a helper fn, thanks


samdphillips
2021-8-1 21:16:55

Oh I just noticed we don’t have official arm64 images.


samdphillips
2021-8-1 23:12:12

If I get time tomorrow I’ll see about what it would take to also build arm


notjack
2021-8-1 23:12:39

Oh damn that would be great


notjack
2021-8-1 23:23:00

Is there a way to add fixnums that wraps around? I need it for computing hash codes so it doesn’t really matter what the precise behavior is, but I do need it to be deterministic and cheap to compute


notjack
2021-8-1 23:23:30

(and I need to guarantee that the result of adding the two fixnums is another fixnum)



notjack
2021-8-1 23:41:11

@massung yes! that’s perfect


massung
2021-8-1 23:41:46

fixed link for the future


massung
2021-8-1 23:43:52

now for my question… setting up this new macbook pro (m1) from work and haven’t used a mac for quite a while. I got racket installed quickly (obviously, right!?), but wondering the following:

• I assume I just need to edit .bashrc or something similar to add racket & raco to my PATH? Or is there another way for me to use these that’s a bit less “hacky”? • Where is it that raco will install stuff to?


notjack
2021-8-1 23:44:12

For the first problem, DrRacket can do that automatically for you


notjack
2021-8-1 23:44:38

It’s under the Help > Configure Command Line for Racket… menu item


notjack
2021-8-1 23:44:48

(why that’s in the Help menu I’ll never understand)


massung
2021-8-1 23:45:17

nice. ty


massung
2021-8-1 23:53:18

last time i used os x, iterm2 was “the” alternative terminal to use. is there a new, preferred one now-a-days? (maybe this is better suited for #random tho)


sorawee
2021-8-1 23:53:51

I still use iterm2


notjack
2021-8-1 23:54:13

I just use the regular terminal it comes with by default


ben.knoble
2021-8-2 01:16:54

I occasionally use http://Terminal.app\|Terminal.app still, but I like Alacritty personally. I’m a heavy tmux user so I don’t need some of the iterm stuff


samdphillips
2021-8-2 04:15:55

Well I got to the part where I have docker set up and I’ve worked out some of what the magic incantations are. But now I realize there isn’t an official ARM build of Racket so I’m slightly stuck.


samdphillips
2021-8-2 04:19:42

I’ve been using kitty. The downside is that it doesn’t use a “standard” xterm type TERM so you have to install it’s termcap on any remote host you ssh to. Before that I used iterm2 and Alacritty. Both are good.


samdphillips
2021-8-2 04:20:13

I might go back to Alacritty because iirc it runs on Mac/Windows/Linux


aroot222
2021-8-2 05:52:22

@aroot222 has joined the channel


popa.bogdanp
2021-8-2 06:19:24

http://Terminal.app\|Terminal.app received some major improvements a couple OS versions ago, making it as good as iTerm for me so I’ve been using it exclusively since.


sorawee
2021-8-2 06:32:52

Interesting


sorawee
2021-8-2 06:33:09

I mostly use iterm for window splitting


sorawee
2021-8-2 06:33:24

Is that supported in http://Terminal.app\|Terminal.app?


popa.bogdanp
2021-8-2 06:39:23

Yup, command+d creates a new split


popa.bogdanp
2021-8-2 06:40:12

Though I haven’t used that functionality much because I use tmux and create my splits in there