badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
<kengruven>
are racket threads "green"? the wikipedia page says it has both green + native, but simply links to the racket docs page which doesn't seem to mention either one.
ur5us has joined #racket
average_ has quit [Quit: Connection closed for inactivity]
lowak has quit [Remote host closed the connection]
lowak has joined #racket
skapata has quit [Remote host closed the connection]
<williewillus>
kengruven: threads created with the `thread` function are green
<williewillus>
`racket/future` provides limited in-process parallelism, as does `ffi/unsafe/os-thread` (CS only)
<williewillus>
and `racket/place` provides parallelism via forked processes similar to python multiprocessing
<williewillus>
so there's a breadth of choices
ttree has quit [Ping timeout: 276 seconds]
<williewillus>
actually places all run in the same OS process, but it's a separate instance of the racket vm, so effectively it's as if separate process
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #racket
djole has joined #racket
djole has quit [Client Quit]
yagamisato has quit [Ping timeout: 272 seconds]
yagamisato has joined #racket
yagamisato has joined #racket
yagamisato has quit [Changing host]
ur5us has joined #racket
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #racket
lortabac has quit [Quit: WeeChat 2.8]
ur5us_ has joined #racket
ur5us has quit [Read error: Connection reset by peer]
Avichi has joined #racket
notzmv has quit [Ping timeout: 240 seconds]
twosuns has joined #racket
ur5us has joined #racket
ur5us_ has quit [Read error: Connection reset by peer]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
Avichi has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 240 seconds]
codingquark has quit [Read error: Connection reset by peer]
codingquark has joined #racket
twosuns has quit [Quit: ...]
codingquark has quit [Quit: No Ping reply in 180 seconds.]
codingquark has joined #racket
lortabac has joined #racket
notzmv has joined #racket
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
<lortabac>
hello, is there a good dynamic array library for Racket? or alternatively something like Haskell's IntMap?
<bremner>
there are vectors. I don't know what counts as "good" for you?
<lortabac>
are vectors extensible?
<lortabac>
by "good" I meant "maintained"
<bremner>
I guess they are not extensible, now that I check.
<bremner>
there are of course hash tables
badkins has joined #racket
ttree has joined #racket
<lortabac>
yes, a hash table with integers as keys should be fine
monkey_ has quit [Remote host closed the connection]
<kengruven>
williewillus: thanks.
mort has joined #racket
<mort>
hey, how is raco supposed to work? `raco install` doesn't work because it can't write to ~/.local/share/racket/8.2/doc/docindex.sqlite; from what I've found online, I'm supposed to run `raco setup --doc-index --force-user-docs` to get raco to create that file, but that makes raco try to touch all kinds of system dirs as well
<mort>
which it obviously doesn't have write access to, so it fails
lortabac has quit [Quit: WeeChat 2.8]
ec has joined #racket
<jA_cOp>
mort: maybe double check that all the directories in ~/.local/share/racket/8.2/doc are actually owned by your user? Maybe one of them accidentally got created by root, such as with sudo?
<mort>
jA_cOp: ~ is owned by the current user, ~/.local doesn't exist, `mkdir -p ~/.local/share/racket/8.2/doc` works no problem
<mort>
what component is supposed to create the dir? Are you supposed to have run `raco setup` first or is `raco install` supposed to do it itself or..
<jA_cOp>
I think I was able to use `raco pkg install foo` just after installing Racket
<mort>
do you have some tiny example package I could try it with, so we know it's nothing particular to the package I'm trying to install
<jA_cOp>
`raco pkg install dbus` is one of the ones I have manually installed for one of my scripts
<jA_cOp>
hopefully someone more knowledgeable about raco will show up and help :)