samth changed the topic of #racket to: Racket v7.7 has been released: https://blog.racket-lang.org/2020/05/racket-v7-7.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
acarrico has joined #racket
catonano_ has joined #racket
catonano has quit [Ping timeout: 272 seconds]
catonano_ is now known as catonano
<evdubs> aaaaaa, it seems strange that you're doing serialization/deserialization and also that you expect users to edit a file with this information
<evdubs> aaaaaa, are you gradually going to expect your users to understand some basic racket?
<evdubs> aaaaaa, to me, it seems like there's little difference between having logic around (list 'name vals) and (define name (list vals))
epony has quit [Ping timeout: 258 seconds]
<aaaaaa> evdubs: compare this with JSON. It can be edited easily. Just change a value or two.
<aaaaaa> or with XML
<aaaaaa> why not?
<aaaaaa> I'm using this like a config file
<aaaaaa> but I want to add some kind of comments to it
orivej has joined #racket
<evdubs> i think if i was trying to emulate a json config file with s-expressions, i'd use (hash) as the entry point for the whole thing
efm has joined #racket
<evdubs> (hash
<evdubs> 'version 2
<evdubs> 'attributes (list 'sales 'marketing))
<evdubs> 'name "Product"
<evdubs> something like that
<evdubs> of course, if it's simpler to just use strings then okay, just use strings
<evdubs> and, XML at least has its own comment syntax, which i would assume that using a ; for comments as racket does would be similar in having to teach
<aaaaaa> evdubs: OK, thanks for the idea
<evdubs> i think you're right in viewing (list 'name vals) as not the best way to go
orivej has quit [Ping timeout: 256 seconds]
<evdubs> and i hope you'll be restrictive with user input :) trusting users and allowing arbitrary text that you'll deserialize (and potentially process) can lead to vulnerabilities
orivej has joined #racket
<aaaaaa> ah, these configs are just for me, so far...
epony has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
sonata has quit [Ping timeout: 260 seconds]
sagax has joined #racket
notzmv has joined #racket
sonata has joined #racket
dataangel has joined #racket
<samth> sonata: for generating html, see scribble/html and the `xml` library. you might also be interested in the urlang package.
<sonata> thanks.
<sonata> are those gonna be appropriate for a thing that's relatively heavy on js compared to html/css?
<sonata> i.e. not so much a document with a bit of inline scripting, as a program meant to run in the browser
<samth> sonata: that's what urlang is for
<sonata> nice, thanks!
libertyprime has joined #racket
<samth> it's something between a compile-to-js language and a way of generating JS in racket
badkins has joined #racket
badkins has quit [Remote host closed the connection]
m455 has quit [Quit: WeeChat 2.3]
zv has quit [Ping timeout: 264 seconds]
ullbeking has quit [Ping timeout: 272 seconds]
selimcan has quit [Quit: Leaving]
ullbeking has joined #racket
aaaaaa is now known as yonderboi
yonderboi is now known as yonderboia
yonderboia is now known as yonderboi
yonderboi is now known as yonderboy
yonderboy is now known as yonderboi
sonata has quit [Ping timeout: 260 seconds]
sonata has joined #racket
nebunez has quit [Ping timeout: 272 seconds]
badkins has joined #racket
bocaneri has joined #racket
dzoe has quit [Ping timeout: 260 seconds]
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #racket
badkins has quit [Ping timeout: 240 seconds]
countvajhula has quit [Ping timeout: 256 seconds]
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 246 seconds]
countvajhula has joined #racket
YuGiOhJCJ has quit [Ping timeout: 240 seconds]
YuGiOhJCJ has joined #racket
ilmu has quit [Ping timeout: 260 seconds]
hoek has quit [Ping timeout: 256 seconds]
poga has quit [Ping timeout: 256 seconds]
narimiran has joined #racket
hoek_ has joined #racket
sonata has quit [Ping timeout: 256 seconds]
hoek_ is now known as hoek
Guest57659 has joined #racket
_whitelogger has joined #racket
dustyweb has quit [Ping timeout: 244 seconds]
narimiran has quit [Ping timeout: 272 seconds]
countvajhula has quit [Ping timeout: 260 seconds]
krjst has quit [Quit: bye]
countvajhula has joined #racket
krjst has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
krjst has quit [Quit: bye]
krjst has joined #racket
countvajhula has quit [Remote host closed the connection]
countvajhula has joined #racket
countvajhula has quit [Read error: Connection reset by peer]
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 272 seconds]
winny has quit [Quit: rebooting ;)]
winny has joined #racket
mononote has quit [Ping timeout: 272 seconds]
mononote has joined #racket
_whitelogger has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
nikita` has joined #racket
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
TCZ has joined #racket
Ekho has quit [Ping timeout: 244 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
Ekho has joined #racket
libertyprime has quit [Quit: leaving]
catonano has quit [Quit: catonano]
catonano has joined #racket
TCZ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 265 seconds]
dzoe has joined #racket
<dzoe> Screw it ... I was just beginning to understand why the new unboxing rules to not kick-in and now I am lying in the bed with 102 and I am just looking at the parenthesis without any understanding again.
<dzoe> The reason why my register allocation experiment didn't work is because in case of anything more complex than single flonum + constant it does not unbox the values.
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
dataangel has quit [Ping timeout: 258 seconds]
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
efm has quit [Ping timeout: 256 seconds]
narimiran has joined #racket
jellie has joined #racket
dataangel has joined #racket
orivej has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #racket
badkins has joined #racket
dataangel has quit [Quit: Asta la vista]
dataangel has joined #racket
nebunez has joined #racket
Sgeo has joined #racket
narimiran has quit [Quit: leaving]
orivej_ has quit [Ping timeout: 246 seconds]
acarrico has quit [Ping timeout: 264 seconds]
urbanslug has joined #racket
jellie has quit [Ping timeout: 272 seconds]
sonata has joined #racket
dustyweb has joined #racket
TCZ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
urbanslug has quit [Ping timeout: 260 seconds]
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
TCZ has quit [Quit: Leaving]
badkins has quit [Ping timeout: 260 seconds]
efm has joined #racket
sonata has quit [Ping timeout: 260 seconds]
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
badkins has joined #racket
sonata has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
sonata has quit [Ping timeout: 256 seconds]
_whitelogger has joined #racket
urbanslug has joined #racket
urbanslug has quit [Ping timeout: 264 seconds]