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
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
<friscosam> jcowan: I *think* it only makes a copy when you set a new value.
<friscosam> That's the RacketCS implementation
<jcowan> okay, copy-on-write, that makes sense
selimcan has joined #racket
KindOne has joined #racket
srandon111 has quit [Quit: leaving]
corpix has joined #racket
jcowan has left #racket [#racket]
catonano_ has joined #racket
catonano has quit [Ping timeout: 265 seconds]
catonano_ is now known as catonano
badkins has joined #racket
lockywolf has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
notzmv has joined #racket
dddddd has quit [Ping timeout: 265 seconds]
efm has quit [Ping timeout: 264 seconds]
badkins has quit [Remote host closed the connection]
efm has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 265 seconds]
badkins has joined #racket
nebunez has quit [Remote host closed the connection]
pilne has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 265 seconds]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf has quit [Ping timeout: 240 seconds]
lockywolf_ has joined #racket
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
lockywolf_ has quit [Max SendQ exceeded]
lockywolf_ has joined #racket
Fare has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 265 seconds]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
selimcan has quit [Quit: Leaving]
badkins has quit [Ping timeout: 265 seconds]
lockywolf_ has quit [Ping timeout: 260 seconds]
lockywolf has joined #racket
lockywolf has quit [Ping timeout: 265 seconds]
lockywolf has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 265 seconds]
endformationage has quit [Quit: WeeChat 2.6]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
sauvin has joined #racket
narimiran has joined #racket
rgherdt has joined #racket
_whitelogger has joined #racket
lockywolf_ has quit [Ping timeout: 240 seconds]
lockywolf has joined #racket
lockywolf has quit [Ping timeout: 256 seconds]
lockywolf has joined #racket
Fare has quit [Ping timeout: 256 seconds]
lockywolf has quit [Ping timeout: 264 seconds]
lockywolf has joined #racket
Fare has joined #racket
KDr22 has quit [Ping timeout: 256 seconds]
badkins has joined #racket
KDr22 has joined #racket
badkins has quit [Ping timeout: 258 seconds]
sword865 has joined #racket
lockywolf has quit [Ping timeout: 256 seconds]
lockywolf has joined #racket
dddddd has joined #racket
eagleflo has quit [Remote host closed the connection]
orivej has joined #racket
eagleflo has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
lockywolf has quit [Ping timeout: 264 seconds]
lockywolf has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
lockywolf has quit [Ping timeout: 250 seconds]
lockywolf has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
lockywolf has quit [Ping timeout: 256 seconds]
lockywolf has joined #racket
epony has quit [Read error: Connection reset by peer]
epony has joined #racket
lockywolf has quit [Ping timeout: 256 seconds]
iyzsong has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
corpix has quit [Quit: corpix]
srandon111 has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
lockywolf has joined #racket
true-grue has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 240 seconds]
rgherdt has quit [Ping timeout: 265 seconds]
Fare has quit [Ping timeout: 240 seconds]
Fare has joined #racket
sword865 has quit [Quit: Connection closed for inactivity]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
lockywolf_ has quit [Ping timeout: 258 seconds]
lockywolf has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 265 seconds]
SGASAU has quit [Ping timeout: 260 seconds]
lockywolf__ has joined #racket
lockywolf_ has quit [Ping timeout: 256 seconds]
SGASAU has joined #racket
lockywolf__ has quit [Ping timeout: 250 seconds]
keep_learning has quit [Quit: This computer has gone to sleep]
narimiran has quit [Ping timeout: 256 seconds]
dddddd has quit [Ping timeout: 256 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<samth> friscosam: jcowan: that's no even copying -- it's creating a new thread cell every time you use parameterize, whether it's in a new thread or note
corpix has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
badkins has quit [Remote host closed the connection]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
nullcone has joined #racket
lockywolf__ has joined #racket
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
badkins has joined #racket
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
lockywolf__ has quit [Max SendQ exceeded]
acarrico has quit [Ping timeout: 256 seconds]
k_sze has quit [Quit: ZNC 1.7.5 - https://znc.in]
k_sze has joined #racket
PlasmaStrike has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 265 seconds]
catonano has quit [Quit: catonano]
jellie has joined #racket
TCZ has joined #racket
acarrico has joined #racket
TCZ has quit [Quit: Leaving]
acarrico has quit [Ping timeout: 256 seconds]
acarrico has joined #racket
catonano has joined #racket
sz0 has joined #racket
sagax has quit [Ping timeout: 240 seconds]
acarrico has quit [Ping timeout: 260 seconds]
dddddd has joined #racket
jellie has quit [Ping timeout: 256 seconds]
jellie has joined #racket
badkins has joined #racket
__monty__ has joined #racket
<__monty__> I'm looking at Scribble and I like what I see. Is it compatible with any wiki software? (Along the lines of Gollum.)
badkins has quit [Ping timeout: 256 seconds]
<lexi-lambda> __monty__: no
<__monty__> Hmm, too bad. How about as a "wiki" without any web editing capabilities? So just a site with convenient internal references, an automatic sitemap and maybe search?
narimiran has joined #racket
notzmv has quit [Ping timeout: 265 seconds]
<bremner> __monty__: you could look at frog, it is a static site generator that understands scribble
rgherdt has joined #racket
<__monty__> bremner: Ah, yes. I'd seen this before. Would it also support pollen? I'm not sure how much that differs from scribble.
<bremner> Don't know.
bitmapper has joined #racket
msiism has joined #racket
doyougnu has joined #racket
selimcan has joined #racket
<msiism> I'm trying to write a small px-to-em calculator in Racket (as a beginner's exercise and because I need it). It's supposed to be a Unix command-line tool. Now, I've just had a look at command-line parsing in Racket. And...
<msiism> The first thing I'm having trouble with is: current-command-line-arguments being a "parameter", not a list. I'm having trouble to understan what "parameter" really means here. I think, I might rather want to have a list of arguments.
<msiism> So, I would have to convert that parameter to a list somehow.
<samth> msiism: you want to use racket/cmdline
<msiism> samth: I feared someone would say that…
izh_ has joined #racket
<msiism> samth: I have already had a look at the "command-line" function. It seems extremelely complicated to me. I feel that doing just POSIX-style command-line parsing does really not require this.
badkins has joined #racket
pilne has joined #racket
<bitmapper> msiism: if you want just the args, just call (command-line)
srji has quit [Ping timeout: 265 seconds]
srji has joined #racket
<msiism> bitmapper: Oh… okay. I'll try that. I was already half-way into cheating by using r6rs. :)
badkins has quit [Remote host closed the connection]
rgherdt has quit [Ping timeout: 272 seconds]
badkins has joined #racket
<samth> msiism: it's quite easy to use. I think for just taking a single argument, you want (command-line #:args (px) px)
<msiism> samth: Ok, I'll give that a try and play with it a bit.
<samth> for your application, I'd probably just write: `(command-line #:args (px) (display (convert (string->number px))))` where convert does your conversion
badkins has quit [Ping timeout: 260 seconds]
<msiism> That works indeed. And I think I understand it. Looking at the description of 'command-line' still gives me the creeps.
izh_ has quit [Quit: Leaving]
<msiism> I mean, it's probably very useful in a lot of cases. But parsing a few, even more than a few, POSIX-syle options, option-arguments and operands is a pretty dull business actually. There's just not so much to it.
badkins has joined #racket
<samth> msiism: writing the code for doing all of out by hand would be quite painful. and this is pretty nice: https://github.com/racket/typed-racket/blob/master/typed-racket-test/main.rkt#L188-L206
<msiism> Hm... I get it, this is functional programming. :)
<msiism> samth: Here's where I'm coming from: https://vcs.malbolge.net/msi/mote/-/blob/master/mote#L1022 Now you might understand some of my difficulties.
<samth> msiism: that seems horrible; i've had to parse arguments in sh too
<msiism> I find it pretty stright-forward, to be quite honest. Maybe I'm a bit spoiled.
<samth> you can certainly write code like that in racktet, but i wouldn't recommend it
<msiism> The difference to functional programming there is obviously that you use have a "parse-and-assign" stage first and then act based on the assigned values. command-line is different.
<msiism> I'll try to wrap my head around that.
KDr22 has quit [Ping timeout: 256 seconds]
<samth> msiism: you can certainly write things that way -- that's what the code I linked to does
* msiism looks at that again
<samth> the way command-line is written you sadly need to do it somewhat imperatively, as that code does
doyougnu has quit [Ping timeout: 250 seconds]
<msiism> I'm fine with that. That's (sort of) the way I've been thinking about parsing up until now.
sagax has joined #racket
<msiism> Well, to be more exact, I've been thinking about it as chopping down a list in a while loop.
efm has quit [Read error: Connection reset by peer]
narimiran has quit [Quit: leaving]
jellie has quit [Ping timeout: 264 seconds]
sagax has quit [Remote host closed the connection]
jellie has joined #racket
sagax has joined #racket
KDr22 has joined #racket
selimcan has quit [Ping timeout: 265 seconds]
jellie has quit [Read error: Connection reset by peer]
selimcan has joined #racket
notzmv has joined #racket
emacsomancer has quit [Ping timeout: 250 seconds]
FreeFull has quit [Quit: rebooting]
notzmv is now known as Miffo
Miffo is now known as notzmv
FreeFull has joined #racket
vraid has quit [Ping timeout: 258 seconds]
__monty__ has quit [Quit: leaving]
selimcan has quit [Remote host closed the connection]
rgherdt has joined #racket
msiism has left #racket [#racket]
emacsomancer has joined #racket
true-grue has quit [Read error: Connection reset by peer]
selimcan has joined #racket
TCZ has joined #racket
zmt00 has quit [Quit: Leaving]
zmt00 has joined #racket
ArthurStrong has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
TCZ has quit [Quit: Leaving]
ArthurStrong has quit [Quit: leaving]
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
mzan has quit [Ping timeout: 256 seconds]
rgherdt has quit [Ping timeout: 272 seconds]
keep_learning has joined #racket
TCZ has joined #racket