samth changed the topic of #racket to: Racket v7.6 has been released: https://blog.racket-lang.org/2020/02/racket-v7-6.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
<jcowan> What does it look like in the file?
<jcowan> (or is it binary?)
<technomancy> like this: #(struct:state 1 2 3)
<technomancy> just written with `write'
<jcowan> Looks like a vector to me.
<technomancy> the docs for `write' say that it's supposed to write it in a way that it can be read back in again
<jcowan> Up to a point, Minister.
<technomancy> oh, "instances of core datatypes" I missed that bit
<jcowan> Yes.
<jcowan> It should be straightforward to look for such vectors and transform them into structs.
<technomancy> so is doing the thing with vector->list and apply the best way to do this, or is there a better way to emit them so they actually can be read by the reader?
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
badkins has joined #racket
Guest36118 has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 265 seconds]
efm has quit [Remote host closed the connection]
efm has joined #racket
<samth> technomancy: look at prefab structs
<samth> or use `serialize`
rmnull has quit [Ping timeout: 246 seconds]
<technomancy> cool, thanks
<technomancy> https://git.sr.ht/~technomancy/menelaus/tree/master/gui.rkt <- I have it doing ~mostly what I need in 250 lines, which is pretty neat.
<technomancy> at this point the main thing that's missing is prettier rendering of the layout; right now it's very basic https://p.hagelb.org/menelaus.png
pilne has quit [Quit: Easy as 3.14159265358979323846...]
iyzsong has joined #racket
rmnull has joined #racket
badkins has joined #racket
epony has joined #racket
badkins has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 264 seconds]
epony has quit [Quit: reconf]
epony has joined #racket
epony has quit [Remote host closed the connection]
epony has joined #racket
_whitelogger has joined #racket
_whitelogger has joined #racket
libertyprime has quit [Read error: No route to host]
cpup has quit [Read error: Connection reset by peer]
cpup has joined #racket
narimiran has joined #racket
orivej has joined #racket
notzmv has quit [Ping timeout: 250 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #racket
libertyprime has joined #racket
orivej has quit [Ping timeout: 256 seconds]
dddddd has quit [Remote host closed the connection]
ephemera_ has quit [Ping timeout: 250 seconds]
orivej has joined #racket
ephemera_ has joined #racket
rgherdt has joined #racket
orivej has quit [Ping timeout: 258 seconds]
rmnull has quit [Quit: WeeChat 2.7.1]
orivej has joined #racket
notzmv has joined #racket
libertyprime has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 265 seconds]
narimiran has quit [Ping timeout: 256 seconds]
<setthemfree[m]> Is there a way (an online service perhaps?) to do interactive Racket REPL sessions in a collaborative remote way, i.e., two people typing in input into the same racket process and interacting with it?
narimiran has joined #racket
jsomedon has joined #racket
jsomedon has quit [Quit: jsomedon]
dddddd has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
narimiran has quit [Ping timeout: 246 seconds]
narimiran has joined #racket
badkins has joined #racket
camelCaser has quit [Ping timeout: 250 seconds]
camelCaser has joined #racket
orivej has joined #racket
notzmv has quit [Read error: Connection reset by peer]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
fanta1 has joined #racket
orivej has quit [Ping timeout: 240 seconds]
jsomedon has joined #racket
jsomedon has quit [Quit: jsomedon]
badkins has joined #racket
<technomancy> setthemfree[m]: https://tmate.io is probably the easiest
fanta1 has quit [Quit: fanta1]
elioat has joined #racket
johncob has joined #racket
<setthemfree[m]> technomancy thanks, I was thinking about that; ideally thought this would be something that can be run in browser - perhaps some kind of web-based collaborative terminal client; I'm thinking about building some (natural) language learning games with my gierlfriend, who teaches a foreing language to kids
<technomancy> oh cool. I wrote some foreign language code in racket a few years ago: https://github.com/technomancy/thai-type/blob/master/thai-type.rkt
johncob_ has quit [Ping timeout: 246 seconds]
<technomancy> I try to stay away from stuff that runs in browsers if I can but good luck finding something.
<setthemfree[m]> and now she does the teaching remotely, so... :)
<setthemfree[m]> ...I really want to avoid trading Racket for JavaScript :D
<setthemfree[m]> thanks for the link - that looks very interesting! it looks like the program itself is written in Thai?
<technomancy> yeah
<technomancy> tho if you're really interested in programming in non-english you need to watch https://www.deconstructconf.com/2019/ramsey-nasser-a-personal-computer-for-children-of-all-cultures which is brilliant
<technomancy> by the author of the قلب language
<setthemfree[m]> I know his project, will definitely watch the video!
camelCaser has quit [Read error: Connection reset by peer]
<setthemfree[m]> technomancy: Was that you in one of the LibreLounge episodes?
<technomancy> yeah! the fennel one
<technomancy> I also started translating Fennel to Indonesian https://p.hagelb.org/indonesian.fnl.html
camelCaser has joined #racket
<jcowan> Does that make you the world's only Fennel-Indonesian translator?
<technomancy> jcowan: a title I expect to hold for many years =)
<jcowan> ("I see the Americans have taken umbrage." "They have? Where the devil is that?")
<jcowan> But can you translate Indonesian into Fennel?
* setthemfree[m] spent over a hour today fighting jinja2 template system over it not supporting context in translations (pgettext)
true-grue has joined #racket
<setthemfree[m]> back when my grandfather was alive, I thought maybe I could teach him the command line if I could get the command names translated
orivej has joined #racket
orivej has quit [Ping timeout: 264 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
sauvin has quit [Ping timeout: 264 seconds]
sauvin has joined #racket
jellie has joined #racket
jellie has quit [Ping timeout: 256 seconds]
<jcowan> I once dealt with an interpreted language called Focal, which had the property that you could load a patch into it that would make all the keywords French or alternatively Spanish.
<technomancy> doesn't perl allow this too?
<jcowan> (I myself patched a Basic interpreter to change its error messages etc. to Bugs Bunny references.
<technomancy> the talk above discusses why it's problematic to have one language as "canonical" and others as just "reskins" of the canonical one; I highly recommend watching it
<jcowan> Yes, Lingua::Perligata ('she who has been bound')
<technomancy> hah
<jcowan> so for READY was printed WHAT'S UP, DOC? and for FILE NOT FOUND was printed NO SUCH LUCK, DOC.
badkins has joined #racket
<technomancy> huh, there's an existing AVR-targeting compiler written in racket https://github.com/OkayAlright/MinNo
tilpner has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
ermo has quit [*.net *.split]
k_sze has quit [*.net *.split]
mzan has quit [*.net *.split]
hexagoxel has joined #racket
mzan has joined #racket
ermo has joined #racket
k_sze has joined #racket
<technomancy> oh oops; it emits C, not AVR
KDr23 has joined #racket
KDr22 has quit [Ping timeout: 260 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
tilpner has joined #racket
badkins has quit [Ping timeout: 256 seconds]
badkins has joined #racket
<jcowan> technomancy: Is that bad?
sauvin has quit [Read error: Connection reset by peer]
Codaraxis has joined #racket
Codaraxis__ has quit [Ping timeout: 265 seconds]
<technomancy> jcowan: if my compiler emits AVR it'll be easier to port from microscheme
* jcowan nods
<technomancy> I'd rather avoid C altogether
<jcowan> As long as you are sure you can generate code as good as gcc or clang, then yes
<technomancy> doesn't have to be as good as gcc, just as good as the existing microscheme. given that it's 3.5kloc of C including the lexer/parser that I'm getting for free, I don't imagine that'd be all that difficult =)
Fare has joined #racket
rmnull has joined #racket
elioat has quit [Quit: WeeChat 1.9.1]
orivej has joined #racket
x6c697370 has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
efm has quit [Quit: Konversation terminated!]
efm has joined #racket
jellie has joined #racket
jellie has quit [Ping timeout: 246 seconds]
rmnull has quit [Quit: WeeChat 2.7.1]
rmnull has joined #racket
rmnull has quit [Quit: WeeChat 2.7.1]
FreeFull has quit [Read error: Connection reset by peer]
pilne has joined #racket
FreeFull has joined #racket
rgherdt has quit [Ping timeout: 256 seconds]
narimiran has quit [Ping timeout: 240 seconds]
badkins has joined #racket
KDr23 has quit [Remote host closed the connection]
badkins has quit [Ping timeout: 250 seconds]
KDr23 has joined #racket
badkins has joined #racket
Ober has joined #racket
bremner has quit [Quit: Coyote finally caught me]
dustyweb has quit [Remote host closed the connection]
libertyprime has joined #racket
true-grue has quit [Read error: Connection reset by peer]
N0S4A2 has quit [Quit: WeeChat 2.6]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 258 seconds]