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
<evdubs> does anyone happen to know how to disable antialiasing in racket/gui components?
<evdubs> i think this might be a linux/gtk-specific type of change
orivej has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
catonano has quit [Ping timeout: 272 seconds]
<nisstyre> why would you want to disable it? is it causing performance problems?
orivej has quit [Ping timeout: 256 seconds]
TCZ has joined #racket
<nisstyre> apparently you can do something with fontconfig
<nisstyre> https://udel.edu/~doke/antialiased_fonts.html no idea if this actually works
<nisstyre> fontconfig is brutal
badkins has quit [Ping timeout: 260 seconds]
orivej has joined #racket
badkins has joined #racket
<evdubs> nisstyre, it's related to this post https://groups.google.com/forum/#!topic/racket-users/U3UhWBxJUQg
<evdubs> i suspect that it might be causing some typing lag in dr racket
<evdubs> i can get better text editor performance just by switching an editor-canvas% style to 'transparent
rgherdt has joined #racket
<evdubs> and i am wondering why that helps at all - it looks like anti aliasing gets enabled when the style is not 'transparent and it seems like anti aliasing could be related to the typing lag
<evdubs> the typing lag is less noticeable when the text editor window is small
ArthurStrong has joined #racket
<nisstyre> evdubs: I remember having a similar problem in the past I think
<nisstyre> in fact I've seen this thread before
aidalgol has joined #racket
hoplaahei has quit [Read error: Connection reset by peer]
dddddd has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
rgherdt has quit [Ping timeout: 272 seconds]
bitmapper has quit [Ping timeout: 260 seconds]
badkins has quit [Remote host closed the connection]
sagax has quit [Quit: Konversation terminated!]
badkins has joined #racket
pilne has quit [Quit: On the other hand, you have different fingers.]
badkins has quit [Ping timeout: 246 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
sstc has quit [Quit: WeeChat 2.8]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
endformationage has quit [Quit: WeeChat 2.6]
narimiran has joined #racket
sauvin has joined #racket
lavaflow has quit [Ping timeout: 258 seconds]
lavaflow has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
tlcu_ has joined #racket
tlcu_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SGASAU has quit [Ping timeout: 256 seconds]
tlcu_ has joined #racket
tlcu_ has quit [Quit: Textual IRC Client: www.textualapp.com]
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #racket
ArthurStrong has quit [Quit: leaving]
rgherdt has joined #racket
SGASAU has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
true-grue has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
catonano has joined #racket
orivej has quit [Ping timeout: 246 seconds]
orivej_ has joined #racket
SGASAU has quit [Ping timeout: 256 seconds]
ilmu has joined #racket
dddddd has joined #racket
<dzoe> samth: my current tests hint that the actual boxing of flonums cannot explain the overall impact
<dzoe> 3m unsafe-fx* 444 Mops/s, CS unsafe-fx* 627 Mops/s, 3m unsafe-fl* 583 Mops/s, CS unsafe-fl* 337 Mops/s
<dzoe> And although it will be an interesting task of converting everything to fixnums, there is still a factor of 2-3x missing.
KindOne has left #racket [#racket]
lordgrenville has joined #racket
<lordgrenville> Hi everyone, I've just installed the Racket Jupyter Notebook kernel and it won't strat owing to a finicky issue with libzmq
<lordgrenville> Kernel starting.
<lordgrenville> zmq-socket: could not find libzmq library
<lordgrenville> error: "ffi-lib: couldn't open \"libzmq.5.dylib\" (dlopen(libzmq.5.dylib, 6): image not found)"
<lordgrenville> context...:
<lordgrenville> /Users/joshfriedlander/Library/Racket/7.7/pkgs/zeromq-r-lib/main.rkt:222:0: zmq-socket
<lordgrenville> as you can see, it's failing to find the libzmq.5.dylib, but I have it on my machine
<srandon111> yuo aare on mac?
<lordgrenville> yes, it's symlinked in /usr/local/lib
<lordgrenville> and that is in my PATH
<lordgrenville> I guess my question is, what PATH is it looking at?
<lordgrenville> libzmq.5.dylib -> ../Cellar/zeromq/4.3.2/lib/libzmq.5.dylib
<lordgrenville> that's the symlink - I installed zeromq with homebrew
<erkin> Try get-lib-search-dirs.
<erkin> It's what ffi-lib uses.
orivej has joined #racket
orivej_ has quit [Ping timeout: 272 seconds]
<lordgrenville> So should I run get-lib-search-dirs in a REPL?
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
<narimiran> is there some macro which would allow for functional-like piping ( `|>` ) of functions?
<dzoe> Like compose?
<narimiran> dzoe: compose is like `>>`
<narimiran> in functional languages instead of doing `f(g(h(x)))` you can do `x |> h |> g |> f`
<dzoe> It really looks like compose to me ...
<narimiran> oh, it might be, let me experiment with it a bit
<narimiran> i'm not sure it will work with functions with multiple arguments.... but thanks dzoe, `compose` will be useful indeed
lavaflow has quit [Ping timeout: 272 seconds]
iyzsong has joined #racket
lavaflow has joined #racket
SGASAU has joined #racket
KindOne has joined #racket
sagax has joined #racket
Ekho has quit [Quit: An alternate universe was just created where I didn't leave. But here, I left you. I'm sorry.]
<samth> dzoe: those are the numbers I'd expect if boxing was the problem
Ekho has joined #racket
srandon111 has quit [Remote host closed the connection]
TCZ has joined #racket
lordgrenville has quit [Ping timeout: 260 seconds]
lordgrenville has joined #racket
<jboy> narimiran: https://docs.racket-lang.org/rackjure/index.html#%28part._.Threading_macros%29
lordgrenville has quit [Ping timeout: 260 seconds]
badkins has joined #racket
<narimiran> jboy: nice, thanks!
<jboy> narimiran: there's also a spun-out version without the rest of rackjure https://docs.racket-lang.org/threading/index.html
badkins has quit [Ping timeout: 256 seconds]
<narimiran> even better :)
<narimiran> i would probably never found it on my own, because i wouldn't even look under "threading"
<jboy> I think that's a clojure-derived term.
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
badkins has joined #racket
<narimiran> can someone clarify this line from the documentation: "An in-string application can provide better performance for string iteration when it appears directly in a for clause."?
<narimiran> does that mean that `(for/sum ([ch (in-string str)])` is better/faster than `(for/sum ([ch str])`?
<narimiran> a similar sentence is written for `in-list` too.
xensky has joined #racket
lordgrenville has joined #racket
<samth> narimiran: yes, that's correct
<samth> better is up to you (the latter is more generic) but the former is definitely faster
<samth> (although the speed difference is smaller on Racket CS than on Racket BC (the traditional version)
<narimiran> samth: thanks for the clarification! i'll use `(in-sth foo)` instead of just `foo` in the future
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
TCZ has quit [Quit: Leaving]
iyzsong has quit [Ping timeout: 258 seconds]
lordgrenville has left #racket ["WeeChat 2.8"]
lavaflow has quit [Ping timeout: 258 seconds]
lavaflow has joined #racket
acarrico has quit [Quit: Leaving.]
srandon111 has joined #racket
vraid has joined #racket
<vraid> lexi-lambda: i'm looking into mongodb and ran into this issue :) https://github.com/jeapostrophe/mongodb/issues/5
<vraid> do you still have the wip code?
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
badkins has joined #racket
bitmapper has joined #racket
badkins has quit [Ping timeout: 260 seconds]
dddddd has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #racket
deeglaze has quit [Ping timeout: 264 seconds]
sstc has joined #racket
endformationage has joined #racket
orivej has quit [Read error: Connection reset by peer]
orivej has joined #racket
_whitelogger has joined #racket
rgherdt has quit [Remote host closed the connection]
SGASAU has quit [Ping timeout: 246 seconds]
efm has joined #racket
orivej has quit [Quit: No Ping reply in 210 seconds.]
orivej has joined #racket
vraid has quit [Disconnected by services]
vraid has joined #racket
rgherdt has joined #racket
lavaflow has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
lavaflow has joined #racket
sauvin has quit [Read error: Connection reset by peer]
badkins has joined #racket
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #racket
dddddd has joined #racket
<und-l-t-d[m]> are there packages (or recipes / recommendations) for serializing structs to/from json (jsexpr)? I only found https://docs.racket-lang.org/json-sourcery/index.html, but it seems to only work in one direction (serialization).
camelCaser has quit [Ping timeout: 258 seconds]
camelCaser has joined #racket
<samth> und-l-t-d[m]: no, i don't know of one
deeglaze has joined #racket
<und-l-t-d[m]> Okay
efm has quit [Write error: Connection reset by peer]
efm has joined #racket
efm has quit [Excess Flood]
<dzoe> Just out of curiosity, would it be feasible to port Racket to some Cortex-M class microcontrollers?
efm has joined #racket
<dzoe> We are working with M33 on one project and it looks like it might be possible.
catonano has quit [Quit: catonano]
catonano has joined #racket
orivej has quit [Ping timeout: 264 seconds]
<samth> dzoe: maybe? I don't think anyone's tried to run Racket on micrcontrollers recently
SGASAU has joined #racket
orivej has joined #racket
lavaflow has quit [Ping timeout: 240 seconds]
lavaflow has joined #racket
tlcu_ has joined #racket
izh_ has joined #racket
narimiran has quit [Quit: leaving]
sstc has quit [Quit: WeeChat 2.8]
tlcu_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 256 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
izh_ has quit [Quit: Leaving]
tlcu_ has joined #racket
orivej has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
SGASAU has quit [Remote host closed the connection]
SGASAU has joined #racket
efm has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
tlcu_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #racket
badkins has quit [Remote host closed the connection]
Oxyd has quit [Remote host closed the connection]
Oxyd has joined #racket
badkins has joined #racket
efm has joined #racket
tlcu_ has joined #racket
vraid has quit [Ping timeout: 264 seconds]
_whitelogger has joined #racket
true-grue has quit [Read error: Connection reset by peer]