samth changed the topic of #racket to: Racket v7.3 has been released: https://blog.racket-lang.org/2019/05/racket-v7-3.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
efm has quit [Ping timeout: 272 seconds]
clacke_movim has joined #racket
Arcaelyx has quit [Quit: Arcaelyx]
ricekrispie has quit [Quit: YEET]
vraid has quit [Ping timeout: 246 seconds]
lockywolf has joined #racket
orivej has quit [Ping timeout: 258 seconds]
moldybits has quit [Quit: WeeChat 2.4]
<erkin> I'm inserting a bunch of lines between begin-edit-operation and end-edit-operation on a separate thread, but this is painting the canvas white for that interval, instead of what I specified with set-canvas-background.
<erkin> Inserting to the canvas's editor (a text%), that is.
tilpner_ has joined #racket
tilpner has quit [Remote host closed the connection]
ZombieChicken has joined #racket
refpga has quit [Ping timeout: 258 seconds]
<lavaflow> the documentation for racket-mode is really nice
nullman has joined #racket
ZombieChicken has left #racket ["WeeChat 2.5"]
ZombieChicken has joined #racket
ym555 has joined #racket
ricekrispie has joined #racket
evdubs_ has joined #racket
jcowan has quit [Ping timeout: 248 seconds]
jcowan has joined #racket
lockywolf has quit [Read error: Connection reset by peer]
evdubs has quit [Ping timeout: 250 seconds]
manualcrank has quit [Ping timeout: 248 seconds]
manualcrank has joined #racket
lockywolf has joined #racket
efm has joined #racket
_whitelogger has joined #racket
Sgeo_ has quit [Ping timeout: 258 seconds]
lavaflow_ has joined #racket
lavaflow has quit [Ping timeout: 248 seconds]
crucify_me has joined #racket
crucify_me is now known as crestfallen
sauvin has joined #racket
libertyprime has quit [Ping timeout: 258 seconds]
libertyprime has joined #racket
sauvin has quit [Remote host closed the connection]
sauvin has joined #racket
crestfallen has quit [Remote host closed the connection]
miskatonic has joined #racket
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
tilpner_ is now known as tilpner
zipper has joined #racket
libertyprime has quit [Quit: leaving]
lockywolf_ has quit [Ping timeout: 252 seconds]
lockywolf has joined #racket
clacke_movim has left #racket [#racket]
zipper has quit [Ping timeout: 245 seconds]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
manualcrank has quit [Quit: WeeChat 1.9.1]
lockywolf has quit [Ping timeout: 252 seconds]
zipper has joined #racket
zipper has quit [Ping timeout: 258 seconds]
clacke_movim has joined #racket
euhmeuh has joined #racket
vraid has joined #racket
colelyman has joined #racket
manualcrank has joined #racket
manualcrank has quit [Quit: WeeChat 1.9.1]
lavaflow_ has quit [Ping timeout: 244 seconds]
ZombieChicken has quit [Ping timeout: 245 seconds]
m1dnight_ has quit [Ping timeout: 246 seconds]
m1dnight_ has joined #racket
ZombieChicken has joined #racket
YuGiOhJCJ has joined #racket
ermo has joined #racket
mSSM has joined #racket
<ermo> Hi. I'm creating a build recipe (exheres) for racket on Exherbo Linux. I'm wondering under which circumstances it makes sense to enable the --enable-jitframe option?
<ermo> tips and pointers welcome =)
orivej has joined #racket
dmiles has quit [Ping timeout: 272 seconds]
aeth has quit [Ping timeout: 248 seconds]
aeth has joined #racket
logicmoo has joined #racket
logicmoo is now known as dmiles
m1dnight_ has quit [Quit: WeeChat 2.4]
m1dnight_ has joined #racket
ym555 has quit [Quit: leaving...]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 245 seconds]
bremner has quit [Quit: Coyote finally caught me]
bremner has joined #racket
ym555 has joined #racket
Sgeo__ has joined #racket
ZombieChicken has quit [Ping timeout: 245 seconds]
Sgeo_ has quit [Ping timeout: 272 seconds]
m1dnight_ has quit [Quit: WeeChat 2.4]
iclon_ has joined #racket
rubic88 has joined #racket
iclon__ has quit [Ping timeout: 246 seconds]
jao has joined #racket
rubic88 has quit [Remote host closed the connection]
rubic88 has joined #racket
moldybits has joined #racket
escew has joined #racket
rubic88 has quit [Remote host closed the connection]
rubic88 has joined #racket
dustyweb has quit [Ping timeout: 252 seconds]
iyzsong has joined #racket
dddddd has joined #racket
orivej has quit [Ping timeout: 248 seconds]
<escew> hello, i made a parser using the brag library and it's really slow. is that normal? here's the code for the parser http://pasterack.org/pastes/87363
Sgeo_ has joined #racket
badkins has quit [Remote host closed the connection]
Sgeo__ has quit [Ping timeout: 272 seconds]
zipper has joined #racket
<greghendershott> escew: I don't know if it's normal but in my limited experience sometimes the grammar is the biggest factor in performance.
<greghendershott> You know how a different algorithm can be the biggest improvement; well the grammar is effectively your parsing algorithm.
<greghendershott> Sometimes a small tweak can improve it. Minimize re-parsing prefixes, minimize needing to back-track, etc.
<greghendershott> I'm afraid that's all I can suggest; hopefully others will have better ideas. Meanwhile you could try tweaking the grammar.
charh has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 246 seconds]
zipper has quit [Read error: Connection reset by peer]
zipper has joined #racket
<samth> ermo: in general, you don't need it. it's primarily useful if you're using gdb
<ermo> samth: so if I'm debugging a compiled racket program with gdb you mean?
<samth> or, more likely, if you want to use profiling tools like perf that need the frame pointer
<samth> but I can't remember ever having used it
<ermo> Exherbo supports the concept of options. I'd like to be able to set a 'debug' option to get a build with maximum inspectability of racket programs enabled. Which configure variables would you suggest enable for that specific (non-general) case?
<samth> so almost certainly you won't want to do that
<ermo> (exherbo is a from-source distribution)
<ermo> samth: ... and thanks for engaging with me ^^'
<ermo> I'm new(-ish) to racket, so I'm just trying to find my feet
<samth> none of the configure options are likely to be useful for someone debugging their own racket programs
iyzsong has quit [Read error: Connection reset by peer]
<ermo> oh, so the debugging-related configure options are mostly useful to racket-the-language developers who might need to inspect its internals for correctness and to suss out the root cause of bugs/performance deficiencies?
<samth> yes
<ermo> thanks -- that clears things up for me :)
mSSM has quit [Ping timeout: 245 seconds]
manualcrank has joined #racket
<escew> greghendershott: thanks. i already tried minimizing it to the point where it's not even useful anymore but it was still very slow so i'm kind of lost at this point.
badkins has joined #racket
badkins_ has joined #racket
tilpner has quit [Quit: WeeChat 2.4]
badkins has quit [Ping timeout: 244 seconds]
badkins_ has quit [Read error: Connection timed out]
badkins has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
endformationage has joined #racket
zipper has quit [Ping timeout: 248 seconds]
miskatonic has joined #racket
zipper has joined #racket
jao has quit [Ping timeout: 245 seconds]
zipper has quit [Ping timeout: 245 seconds]
<ermo> samth: Do you happen to know what the '--enable-docs/--disable-docs' configure switch is supposed to turn off? When I compare a build of racket-7.3 with either option, it comes out exactly the same in terms of the files that are installed to the system?
<ermo> despite the fact that the ./configure script clearly outputs different things with the option enabled/disabled?
<ermo> is it supposed to change the generated Makefile install target or somesuch?
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<samth> it passes --no-docs to the `raco setup` command
<ermo> could it be because I'm packaging the tarball containing pre-compiled racket bytecode?
soegaard has joined #racket
rubic88 has quit [Remote host closed the connection]
rubic88 has joined #racket
<samth> i doubt it
mSSM has joined #racket
zipper has joined #racket
FreeFull has joined #racket
euhmeuh has left #racket [#racket]
soegaard has quit [Quit: soegaard]
zipper has quit [Ping timeout: 272 seconds]
zipper has joined #racket
<spacedbat> according to the racket help, -I <path> : Set <init-lib> to <path> (sets language)
<spacedbat> racket -I typed/racket works fine
<spacedbat> but racket -I web-server/insta doesn't
<spacedbat> open-input-file: cannot open module file
<samth> spacedbat: web-server/insta doesn't work at the REPL
<spacedbat> is there any way to know which langs work in the repl?
<spacedbat> other than trial and error?
vraid has quit [Quit: Leaving]
tilpner has joined #racket
zipper has quit [Ping timeout: 258 seconds]
lavaflow_ has joined #racket
<ermo> samth: would you say this is an accurate description of racket? https://bpaste.net/show/f7c9bf84e775
<ermo> (it's for packaging metadata)
<samth> that's mostly accurate, but Racket the language was the implementation language for that outreach project
<samth> I would focus less on the history/family resemblance
<ermo> samth: like this? https://bpaste.net/show/60b7ada1d42c
<bremner> fwiw, here is what Debian uses: http://paste.debian.net/1087857/
<bremner> not that I claim that is perfect...
<ermo> *pfft* debian ( ;) )
* ermo isn't really serious
<samth> ermo: mostly I'm suggestion something more like the debian text -- lead with what Racket is, not the history
<ermo> bremner: and thanks for the pointer
simendsjo has joined #racket
<samth> I'd drop the (formerly PLT Scheme) thing from the debian text as well -- 2010 was a long time ago
* ermo adopts the debian text
<bremner> samth: yeah, I should do a "forget plt-scheme" cleanup, there are virtual packages and so on that could also go
<ermo> my current summary is "Racket is a LISP/Scheme-family full spectrum programming language."
rubic has joined #racket
<samth> I would say "Racket is a general purpose programming language with a focus on extensibility and constructing domain-specific languages" or something like that
<ermo> samth: Why would you prefer not to mention the LISP/Scheme roots?
<samth> ermo: I don't think it helps people much in understanding Racket
<samth> of course, other people may disagree
<ermo> I'm genuinely curious about why you feel that way ^^'
rubic88 has quit [Ping timeout: 245 seconds]
<ermo> bremner: may I pm?
<danderson> depends what you're using the description for.
rubic has quit [Remote host closed the connection]
<danderson> mentioning that it's a lisp will cause ~3 reactions: (1) "yay, a lisp!" (2) "what's a lisp?" (3) "ugh lisp"
rubic has joined #racket
<ermo> danderson: the same can be said for a C-like language though.
<danderson> so, it depends on the audience.
<bremner> ermo: ok
<danderson> if you're trying to sell Racket to a room of folks who've done nothing but Java for 10 years, "it looks and feels very different" is a problem and you probably want to focus on the benefits before getting into the switching costs
<ermo> danderson: My audience is tinkerers with a strong diy and comp.sci. background
<danderson> if it's for a room of freshmen doing CS101, "it's a lisp" won't mean anything without a history lesson, etc. :)
<danderson> then mentioning lisp isn't a big deal, imo. It helps people load in the right context.
<ermo> or, that's one audience. The other audience is a "What's this Solus thing I keep hearing about?" type of audience
<ermo> danderson: that's what I was thinking
<danderson> that said, I think samth's overall phrasing is better, specifically because it focuses on what Racket is *for*, not where it comes from
<danderson> maybe a bit of merging of the two, if you want to keep the lisp mention
<danderson> ... what is this solus thing? I find a linux distro and a playstation VR game
<ermo> the former
<ermo> samth: switching to the sources with no precompiled bytecode packages and using --disable-docs resulted in a substantial reduction in installed files and much fewer .html files.
<ermo> (both were compiled with --disable-docs)
<ermo> argh crap, forgot to turn off color highlighting. My mistake.
<ermo> https://bpaste.net/show/dcf2da524d45 <- without the escape sequences
<samth> ermo: note that that will result in programs running much more slowly
<ermo> samth: so clearly it would appear that `raco setup` ignores the --no-docs argument for the sources that contain pre-compiled bytecode.
<samth> because of the lack of compiled byte code
<ermo> samth: can I add an extra compile step in the compile phase of my package?
<ermo> tradition in exherbo dictates that documentation not be installed by default
simendsjo has quit [Ping timeout: 258 seconds]
<ermo> (don't ask)
<samth> I think the --no-docs flag may not be working correctly
<ermo> ^^'
<ermo> samth: can I instruct raco to pre-compile bytecode during the compile step somehow?
<samth> raco setup does that
<samth> but I'm not sure exactly what you mean about precompiled bytecode
<ermo> AIUI, racket is distributed in unix source format with and without "built packages". The version with "built packages" is the one where I have found that --disable-docs doesn't work
<ermo> I assume that "built packages" means "pre-compiled bytecode" for said packages? Am I mistaken?
pellertson has joined #racket
jao has joined #racket
<ermo> samth: ^
rubic has quit [Remote host closed the connection]
rubic has joined #racket
zipper has joined #racket
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #racket
<samth> I think that version comes with the docs already built
<samth> which is why it doesn't disable them
zipper has quit [Ping timeout: 248 seconds]
efm has quit [Ping timeout: 248 seconds]
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #racket
zipper has joined #racket
zipper has quit [Ping timeout: 245 seconds]
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #racket
dustyweb has joined #racket
dustyweb has quit [Ping timeout: 245 seconds]
casaca has quit [Ping timeout: 244 seconds]
casaca has joined #racket
badkins has quit [Ping timeout: 248 seconds]
sauvin has quit [Ping timeout: 248 seconds]
zipper has joined #racket
ubLIX has joined #racket
<ermo> samth: the sources without precompiled packages calls 'raco setup' which precompiles all .rkt into compiled/.zo files locally -- it makes the build take a little longer, but it's not a problem for the target audience.
* ermo is curious to see where typed racket will end up
zipper has quit [Ping timeout: 258 seconds]
orivej has joined #racket
simendsjo has joined #racket
clacke_movim has left #racket [#racket]
casaca has quit [Ping timeout: 248 seconds]
casaca has joined #racket
clacke_movim has joined #racket
casaca has quit [Ping timeout: 248 seconds]
casaca has joined #racket
vraid has joined #racket
iclon__ has joined #racket
dustyweb has joined #racket
iclon_ has quit [Ping timeout: 258 seconds]
m1dnight_ has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
aeth has quit [Ping timeout: 245 seconds]
aeth has joined #racket
JeanneKamikaze has joined #racket
Arcaelyx has joined #racket
ubLIX has quit [Quit: ubLIX]
simendsjo has quit [Ping timeout: 248 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 272 seconds]
Arcaelyx has quit [Quit: Arcaelyx]
rubic has quit [Ping timeout: 245 seconds]
aeth_ has joined #racket
aeth has quit [Ping timeout: 248 seconds]
aeth_ is now known as aeth
rubic88 has joined #racket
ZombieChicken has joined #racket
dustyweb has quit [Ping timeout: 246 seconds]
acarrico has joined #racket
acarrico has quit [Ping timeout: 246 seconds]
acarrico has joined #racket
acarrico has quit [Ping timeout: 272 seconds]
dustyweb has joined #racket
aeth has quit [Ping timeout: 248 seconds]
miskatonic has joined #racket
aeth has joined #racket
miskatonic has quit [Remote host closed the connection]
dustyweb has quit [Read error: Connection reset by peer]
JeanneKamikaze has quit [Ping timeout: 246 seconds]
dustyweb has joined #racket
rubic88 has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 246 seconds]
rubic88 has joined #racket
rubic88 has quit [Ping timeout: 272 seconds]
ubLIX has joined #racket
pera has joined #racket
rubic88 has joined #racket
rubic88 has quit [Remote host closed the connection]
mSSM has quit [Ping timeout: 272 seconds]
thallada has quit [Quit: WeeChat 2.4]
ym555 has quit [Quit: leaving...]
ym555 has joined #racket
vraid has quit [Ping timeout: 257 seconds]
thallada has joined #racket
pera has quit [Ping timeout: 245 seconds]
libertyprime has joined #racket