samth changed the topic of #racket to: Racket v7.8 has been released: https://blog.racket-lang.org/2020/08/racket-v7-8.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
acarrico has quit [Ping timeout: 240 seconds]
acarrico has joined #racket
catonano has joined #racket
catonano_ has quit [Ping timeout: 265 seconds]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
laxask has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
acarrico has quit [Ping timeout: 258 seconds]
badkins has quit [Ping timeout: 264 seconds]
TCZ has quit [Quit: Leaving]
countvajhula has joined #racket
selimcan has quit [Ping timeout: 256 seconds]
selimcan has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 258 seconds]
nullcone has joined #racket
orivej has quit [Ping timeout: 256 seconds]
selimcan has quit [Ping timeout: 264 seconds]
selimcan has joined #racket
notzmv has quit [Ping timeout: 260 seconds]
notzmv has joined #racket
fredmanglis has joined #racket
fredmanglis has quit [Ping timeout: 260 seconds]
fredmanglis has joined #racket
cjv has quit [Quit: Textual IRC Client: www.textualapp.com]
badkins has joined #racket
endformationage has quit [Quit: WeeChat 2.9]
badkins has quit [Ping timeout: 240 seconds]
bocaneri has joined #racket
MetaHertz has joined #racket
narimiran has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
sword865 has joined #racket
orivej has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 260 seconds]
Sgeo has quit [Read error: Connection reset by peer]
<dzoe> dustyweb: yes, it was unix-signals in this case and it just happened to be in queue next to goblins :)
<dzoe> bremner: oh, I just saw samth as the owner and didn't actually dig deeper (like looking at package uploaders at least ...)
endobson has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 244 seconds]
fredmanglis has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
aeth has quit [Ping timeout: 265 seconds]
aeth has joined #racket
dustyweb has quit [Ping timeout: 260 seconds]
orivej has joined #racket
fredmanglis has joined #racket
narimiran has quit [Ping timeout: 264 seconds]
TCZ has joined #racket
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
nullman has quit [Ping timeout: 240 seconds]
selimcan has quit [Read error: Connection reset by peer]
selimcan has joined #racket
orivej has quit [Ping timeout: 246 seconds]
TCZ has quit [Quit: Leaving]
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
fredmanglis has quit [Ping timeout: 240 seconds]
TCZ has joined #racket
fredmanglis has joined #racket
bitmapper has quit [Quit: Connection closed for inactivity]
sword865 has quit [Quit: Connection closed for inactivity]
fredmanglis has quit [Ping timeout: 256 seconds]
notzmv has quit [Read error: Connection reset by peer]
orivej has joined #racket
notzmv has joined #racket
fredmanglis has joined #racket
fredmanglis has quit [Read error: Connection reset by peer]
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
oaguy1 has joined #racket
Sgeo has joined #racket
nullman has joined #racket
dustyweb has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 246 seconds]
badkins has joined #racket
endobson has joined #racket
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #racket
sputny has joined #racket
bitmapper has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
narimiran has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 240 seconds]
FreeFull has joined #racket
rj_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
rj_ has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
badkins has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
phillbush has joined #racket
aaaaaa has joined #racket
countvajhula has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
Sgeo has quit [Read error: Connection reset by peer]
rj_ has quit [Ping timeout: 272 seconds]
rj_ has joined #racket
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
Sgeo has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
rj_ has quit [Ping timeout: 258 seconds]
badkins has quit [Ping timeout: 260 seconds]
rj_ has joined #racket
arpunk has joined #racket
arpunk has quit [Read error: Connection reset by peer]
arpunk has joined #racket
wingsorc has quit [Quit: Leaving]
badkins has joined #racket
badkins has quit [Client Quit]
orivej has quit [Ping timeout: 256 seconds]
rj_ has quit [Ping timeout: 246 seconds]
countvajhula has joined #racket
rj_ has joined #racket
camelCaser has joined #racket
MetaHertz has quit [Remote host closed the connection]
MetaHertz has joined #racket
rj_ has quit [Ping timeout: 240 seconds]
rj_ has joined #racket
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
TCZ has joined #racket
bocaneri has quit [Remote host closed the connection]
rj_ has quit [Ping timeout: 265 seconds]
rj_ has joined #racket
orivej has joined #racket
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
rj_ is now known as rj
rj has quit [Ping timeout: 240 seconds]
rj has joined #racket
nullcone has joined #racket
phillbush has quit [Remote host closed the connection]
phillbush has joined #racket
rj has quit [Ping timeout: 240 seconds]
rj has joined #racket
sputny has quit [Quit: sputny]
rj has quit [Quit: WeeChat 2.5]
aeth_ has joined #racket
aeth has quit [Ping timeout: 260 seconds]
jcowan has joined #racket
<jcowan> Are there conversions between flonums and single-flonums?
arpunk has quit [Read error: Connection reset by peer]
narimiran has quit [Ping timeout: 256 seconds]
<samth> jcowan: yes, `real->{single,double}-flonum`
<samth> rudybot: init racket/base
<rudybot> samth: your racket/base sandbox is ready
<samth> rudybot: (real->single-flonum 1.0)
<rudybot> samth: ; Value: 1.0f0
<samth> rudybot: (real->double-flonum 1.0f0)
<rudybot> samth: ; Value: 1.0
<jcowan> rudybot: init racket/base
<rudybot> jcowan: your racket/base sandbox is ready
aeth_ is now known as aeth
<jcowan> (real->single-flonum (/ 0.0f0 0.0f0))
<jcowan> rudybot: (real->single-flonum (/ 0.0f0 0.0f0))
<rudybot> jcowan: ; Value: +nan.f
<jcowan> Another question: how do I get access to (rnrs bytevectors)?
<samth> rudybot: (require rnrs/bytevectors)
<rudybot> samth: error: eval:1:9: cannot open module file <NEWLINE> module path: rnrs/bytevectors <NEWLINE> path: /mnt2/racket-6.9/share/pkgs/r6rs-lib/rnrs/bytevectors.rkt <NEWLINE> system error: No such file or directory; errno=2
<samth> rudybot: (require rnrs/bytevectors-6)
<rudybot> samth: Done.
<samth> jcowan: ^
<jcowan> Ah, I missed the -6
<jcowan> Last question (I hope): How do I persuade the REPL to output bytevectors in transportable format, that is, as #vu8(...)?
<jcowan> or what procedure can I call to do this for me?
phillbush has quit [Quit: Leaving]
selimcan has quit [Ping timeout: 240 seconds]
rj has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
rj has quit [Ping timeout: 265 seconds]
rj has joined #racket
countvajhula has joined #racket
<aeth> rudybot: init racket/base
<rudybot> aeth: your racket/base sandbox is ready
<aeth> rudybot: (real->single-flonum +inf.0)
<rudybot> aeth: ; Value: +inf.f
<aeth> weird syntactic choice.
<jcowan> Yes, a number with no digits anywhere.
<jcowan> rudybot: +inf.0f0
<rudybot> jcowan: error: +inf.0f0: undefined; <NEWLINE> cannot reference an identifier before its definition <NEWLINE> in module: 'program
<jcowan> that's what I would have sorta expected
<jcowan> rudybot: 1+2i+3j+4k
<rudybot> jcowan: error: 1+2i+3j+4k: undefined; <NEWLINE> cannot reference an identifier before its definition <NEWLINE> in module: 'program
<jcowan> I wish Scheme had a formal definition of potential numbers like CL's. "These things aren't numbers, but they might be in some later version, so they aren't allowed as identifiers."
<aeth> jcowan: I use +inf.0f0
<jcowan> Fair enough. Do you support any other distinct float sizes?
<aeth> jcowan: and I'll probably reserve, but not implement, quaternion syntax.
<aeth> I support CL's float sizes, but use the host CL's precision rounding (whatever the actual term is) rules. So +inf.0s0 probably becomes +inf.0f0 and +inf.0l0 probably becomes +inf.0d0
<aeth> In theory +inf.0f0 could become +inf.0d0, too.
<aeth> +inf.0d0 is just +inf.0, of course.
rj has quit [Ping timeout: 260 seconds]
<aeth> The only flaw with CL's float syntax is that there's plenty of room at the top for more than just long float. long-float could be 80 bit, 128 bit, 256 bit, arbitrary-precision, etc.
<aeth> I guess the way to go would be to add explicit quadruple precision (e.g. 1q0) and octuple precision (e.g. 1o0) and that will probably last for the next few centuries since no one is bothering with octuple precision yet.
rj has joined #racket
oaguy1 has quit [Ping timeout: 260 seconds]
countvajhula has quit [Ping timeout: 240 seconds]
lilyhughes-robin has joined #racket
lilyhughes-robin is now known as oaguy1
TCZ has quit [Quit: Leaving]
countvajhula has joined #racket
ricky_clarkson has joined #racket
<jcowan> In CLISP, L format is arbitrary-precision. I think the main use of S format nowadays is for unboxed floats.
<jcowan> https://github.com/johnwcowan/r7rs-work/blob/master/FloatPrecision.md gives the nitty-gritty for both Scheme and CL implementations.
<aeth> jcowan: s was mostly for having unboxed floats in the era of 32-bit implementations (where a real single-precision float would be boxed), but there are several 16-bit floating point formats that are in use now, mostly for machine learning
<jcowan> Yes, that's what I meant.
<aeth> I don't think any implementation has really caught up with this yet, though. Probably because almost all ML is done in Python
<jcowan> But with nanboxing, we can now get binary64 unboxed floats by squeezing everything else into signaling-NaN space.
TCZ has joined #racket
<jcowan> There is also a WP article about 8-bit IEEE-compatible floats, all of whose values are integers: you can get up to 122880 (though you can trade, say, 3 bits of range for 3 bits of fraction). See https://en.wikipedia.org/wiki/Minifloat#All_values_as_integers
oaguy1 has quit [Ping timeout: 256 seconds]
rj has quit [Quit: WeeChat 2.5]
aaaaaa has quit [Quit: leaving]
orivej has quit [Ping timeout: 256 seconds]
MetaHertz has quit [Ping timeout: 240 seconds]
rudybot has quit [Remote host closed the connection]
rudybot has joined #racket
fredmanglis has joined #racket
lilyhughes-robin has joined #racket
FreeFull has quit []
mirrorbird has joined #racket
rj has joined #racket