samth changed the topic of #racket to: Racket v7.3 has been released: https://blog.racket-lang.org/2019/05/racket-v7-3.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
ym555 has quit [Quit: leaving...]
ym555 has joined #racket
vraid has quit [Ping timeout: 258 seconds]
<erkin> I want to be able to read/write a colour value to a file through get-preference and put-preferences, but since color% has no printable form, I can't serialise it directly short of overriding it to add a printer method.
<erkin> Since colours take three bytes, I think it would be too much of a hassle to save each colour's red, green and blue values separately and assemble them with boilerplate.
<erkin> What should I do?
<erkin> Oh wait, I can just store them as a list.
<erkin> Sometimes I feel really stupid.
moldybits has quit [Quit: WeeChat 2.4]
cromyr has joined #racket
ym555 has quit [Quit: leaving...]
ym555 has joined #racket
moldybits has joined #racket
clacke_movim has left #racket [#racket]
libertyprime has joined #racket
pera has quit [Quit: leaving]
iclon__ has joined #racket
iclon_ has quit [Ping timeout: 245 seconds]
ym555_ has joined #racket
ym555 has quit [Ping timeout: 272 seconds]
nckx has quit [Ping timeout: 248 seconds]
nckx has joined #racket
CodeArtisan has quit [Quit: Connection closed for inactivity]
ym555_ has quit [Quit: leaving...]
ubLIX has quit [Quit: ubLIX]
gnugnugnu has joined #racket
dddddd has quit [Remote host closed the connection]
gnugnugnu has quit [Quit: WeeChat 2.4]
<greghendershott> rudybot: later tell CodeArtisan You can use @"@" to insert a @ in Scribble.
<rudybot> greghendershott: I asked `MemoServ' to forward the message to CodeArtisan.
FreeFull has quit []
kutsuya has quit [Remote host closed the connection]
sz0 has joined #racket
ZombieChicken has quit [Quit: WeeChat 2.5]
ZombieChicken has joined #racket
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 245 seconds]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 272 seconds]
jao has quit [Ping timeout: 244 seconds]
nullman has joined #racket
cantstanya has quit [Remote host closed the connection]
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
libertyprime has quit [Ping timeout: 258 seconds]
lockywolf has joined #racket
libertyprime has joined #racket
endformationage has quit [Ping timeout: 258 seconds]
lockywolf_ has joined #racket
euhmeuh has joined #racket
lockywolf has quit [Ping timeout: 248 seconds]
orivej has joined #racket
lockywolf_ has quit [Ping timeout: 252 seconds]
lockywolf has joined #racket
wehlutyk has joined #racket
wehlutyk has quit [Read error: Connection reset by peer]
wehlutyk has joined #racket
wehlutyk has quit [Quit: wehlutyk]
wehlutyk has joined #racket
wehlutyk is now known as wehlutyk4
wehlutyk4 is now known as wehlutyk
wehlutyk is now known as wehlutyk[matrix]
wehlutyk[matrix] is now known as wehlutyk[i]
wehlutyk[i] is now known as wehlutyk
wehlutyk has quit [Quit: wehlutyk]
clacke_movim has left #racket [#racket]
wehlutyk[matrix] has joined #racket
notzmv has quit [Ping timeout: 268 seconds]
wehlutyk has joined #racket
wehlutyk[matrix] is now known as sl[m]22
wehlutyk has quit [Client Quit]
sl[m]22 is now known as wehlutyk
ZombieChicken has quit [Quit: WeeChat 2.5]
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
manualcrank has quit [Quit: WeeChat 1.9.1]
dddddd has joined #racket
vraid has joined #racket
clacke_movim has joined #racket
nullman has quit [Ping timeout: 244 seconds]
libertyprime has quit [Read error: Connection reset by peer]
ubLIX has joined #racket
lockywolf has quit [Ping timeout: 252 seconds]
nullman has joined #racket
refpga has joined #racket
ShalokShalom has joined #racket
<ShalokShalom> hi there
<ShalokShalom> has Racket higher order modules?
<ShalokShalom> such as in OCaml
<bremner> rudybot: doc units
<rudybot> bremner: your sandbox is ready
libertyprime has joined #racket
<rudybot> bremner: not found in any library's documentation: units
<bremner> sigh.
refpga has quit [Ping timeout: 246 seconds]
<bremner> ShalokShalom: anyway, have a look at units. They might be related to your question.
<ShalokShalom> ahm...
<ShalokShalom> thanks
<ShalokShalom> I guess..
<ShalokShalom> So they can do exactly the same?
lockywolf has joined #racket
<bremner> I don't know enough about either to give a good answer to that question.
lockywolf has quit [Ping timeout: 258 seconds]
<clacke_movim> ShalokShalom: It sounds like OCaml modules are first-class objects that you can do operations on and combine in interesting ways? Racket units are not exactly like that, I don't know if any other language has it.
<clacke_movim> https://docs.racket-lang.org/reference/creatingunits.html?q=#%28form._%28%28lib._racket%2Funit..rkt%29._unit%29%29
lockywolf has joined #racket
<clacke_movim> I haven't used units myself, so I cannot tell you much about them, and the documentation is very specification-like, I'm afraid.
lockywolf has quit [Remote host closed the connection]
<clacke_movim> Ah, https://docs.racket-lang.org/guide/units.html would be clearer
<clacke_movim> https://docs.racket-lang.org/guide/firstclassunits.html has a relatively clear example.
<ShalokShalom> thanks a lot
<ShalokShalom> thousand times
dimitarvp has joined #racket
dimitarvp has quit [Quit: Bye]
ShalokShalom has quit [Remote host closed the connection]
lockywolf has joined #racket
<clacke_movim> So they seem to be somewhat like what you are looking for, there's even a (compound-unit) form.
<clacke_movim> Thanks for inspiring me to look this up. :-)
lockywolf has quit [Ping timeout: 252 seconds]
acarrico has joined #racket
refpga has joined #racket
lavaflow has quit [Ping timeout: 248 seconds]
clacke_movim has left #racket [#racket]
soegaard has joined #racket
clacke_movim has joined #racket
GoldRin has joined #racket
orivej has quit [Ping timeout: 248 seconds]
acarrico has quit [Ping timeout: 272 seconds]
endformationage has joined #racket
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 246 seconds]
rubic88 has joined #racket
jao has joined #racket
orivej has joined #racket
sz0 has quit [Quit: Connection closed for inactivity]
rubic88 has quit [Remote host closed the connection]
rubic88 has joined #racket
FreeFull has joined #racket
moldybits has quit [Ping timeout: 248 seconds]
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
orivej has quit [Ping timeout: 248 seconds]
efm has quit [Remote host closed the connection]
acarrico has joined #racket
rubic88 has quit [Remote host closed the connection]
rubic88 has joined #racket
efm has joined #racket
manualcrank has joined #racket
ym555 has joined #racket
orivej has joined #racket
vraid has quit [Quit: Leaving]
ubLIX has quit [Quit: ubLIX]
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
q9929t has joined #racket
moldybits has joined #racket
casaca has quit [Ping timeout: 245 seconds]
ubLIX has joined #racket
casaca has joined #racket
q9929t has quit [Quit: q9929t]
lavaflow has joined #racket
<nisstyre> Does anyone have any experience writing distributed apps in Racket? (i.e. serializing and passing messages between different Racket processes, potentially on different machines)
<nisstyre> Just curious if there is anything built for that
<soegaard> tonyg: !
ym555 has quit [Quit: leaving...]
refpga has quit [Ping timeout: 245 seconds]
refpga has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
dustyweb has joined #racket
ubLIX has quit [Quit: ubLIX]
pera has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 244 seconds]
sauvin has quit [Ping timeout: 244 seconds]
pera has quit [Quit: leaving]
efm has quit [Ping timeout: 268 seconds]
refpga has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 248 seconds]
efm has joined #racket
efm has quit [Ping timeout: 248 seconds]
jao has quit [Remote host closed the connection]
jao has joined #racket
casaca has quit [Ping timeout: 245 seconds]
ricekrispie has quit [Quit: YEET]
casaca has joined #racket
sleepnap has joined #racket
CodeArtisan has joined #racket
acarrico has joined #racket
ricekrispie has joined #racket
ubLIX has joined #racket
orivej has quit [Ping timeout: 245 seconds]
Fare has joined #racket
<erkin> Is there a way to implement a keybindings for the whole window?
<soegaard> what is the context?
<erkin> keymap% can be attached to an editor<%> only and I'm setting the editor-canvas% 'no-focus to make it read-only for the user which disables the keymap%.
<erkin> I can attach shortcuts to menu-item%s but I don't want to put every keybinding into a menu-item%, not to mention they don't work without modifier keys.
casaca has quit [Ping timeout: 245 seconds]
<erkin> Essentially, I want to send a key-event% to the frame% and make it trigger a callback before being delegated to child components, without augmenting/extending the class.
casaca has joined #racket
<soegaard> Can you put the editor in a frame and then use on-subwindow-char (see docs for frame% )
<erkin> Wouldn't I need to reimplement on-subwindow-char? The callback mechanism is embedded into frame%'s definition (or (send this on-menu-char event) ...)
<soegaard> Yes you need to subclass frame% in order to override the old behaviour. But if you need to use the old behaviour you can call the super.
<erkin> Ah, I guess that's inevitable then.
<erkin> Thanks
Fare has quit [Ping timeout: 245 seconds]
pera has joined #racket
efm has joined #racket
casaca has quit [Ping timeout: 248 seconds]
efm has quit [Ping timeout: 245 seconds]
ZombieChicken has joined #racket
Fare has joined #racket
hugo has joined #racket
sleepnap has quit [Ping timeout: 245 seconds]
dustyweb has quit [Remote host closed the connection]
dustyweb has joined #racket
Fare has quit [Ping timeout: 246 seconds]
rubic88 has quit [Remote host closed the connection]
sleepnap has joined #racket
Fare has joined #racket
orivej has joined #racket
Fare has quit [Ping timeout: 244 seconds]
soegaard has quit [Quit: soegaard]
acarrico has quit [Ping timeout: 272 seconds]
dustyweb has quit [Ping timeout: 248 seconds]
ZombieChicken has quit [Quit: WeeChat 2.5]
dustyweb has joined #racket
pera has quit [Quit: leaving]
CodeArtisan has quit [Quit: Connection closed for inactivity]
vraid has joined #racket
efm has joined #racket
pera has joined #racket
sleepnap has quit [Quit: Leaving.]
efm has quit [Ping timeout: 248 seconds]
moldybits has quit [Read error: Connection reset by peer]
ym555 has joined #racket
dustyweb has quit [Ping timeout: 248 seconds]
endformationage has quit [Quit: WeeChat 2.4]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 248 seconds]
ubLIX has quit [Quit: ubLIX]