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
manualcrank has joined #racket
pera has joined #racket
Raoul__ has quit [Ping timeout: 248 seconds]
libertyprime has quit [Quit: leaving]
vraid has quit [Remote host closed the connection]
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
Nomenclatura has quit [Quit: q]
jao has joined #racket
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #racket
dustyweb has quit [Ping timeout: 248 seconds]
dustyweb has joined #racket
ubLX has quit [Quit: ubLX]
CodeArtisan has quit [Quit: Connection closed for inactivity]
dustyweb has quit [Ping timeout: 246 seconds]
pera has quit [Ping timeout: 258 seconds]
jao has quit [Ping timeout: 258 seconds]
pera has joined #racket
Nomenclatura has joined #racket
Nomenclatura has quit [Quit: q]
dustyweb has joined #racket
ng0_ has joined #racket
ZombieChicken has joined #racket
ng0 has quit [Ping timeout: 256 seconds]
ym555 has joined #racket
paroneayea has joined #racket
dustyweb has quit [Ping timeout: 248 seconds]
ZombieChicken has quit [Ping timeout: 245 seconds]
ym has joined #racket
ZombieChicken has joined #racket
paroneayea has quit [Ping timeout: 248 seconds]
casaca has quit [Ping timeout: 248 seconds]
pera has quit [Ping timeout: 246 seconds]
casaca has joined #racket
vraid has joined #racket
kutsuya has joined #racket
rubic88 has quit [Remote host closed the connection]
ym555 has quit [Quit: leaving...]
dddddd has quit [Remote host closed the connection]
pera has joined #racket
orivej has quit [Ping timeout: 268 seconds]
zmt00 has quit [Quit: Leaving]
zmt00 has joined #racket
pera has quit [Ping timeout: 248 seconds]
vraid has quit [Remote host closed the connection]
pera has joined #racket
ym has quit [Remote host closed the connection]
ZombieChicken has quit [Quit: WeeChat 2.5]
efm has quit [Ping timeout: 248 seconds]
ZombieChicken has joined #racket
pera has quit [Quit: leaving]
emacsomancer has quit [Quit: WeeChat 2.4]
emacsomancer has joined #racket
endformationage has quit [Ping timeout: 248 seconds]
manualcrank has quit [Quit: WeeChat 1.9.1]
miskatonic has joined #racket
YuGiOhJCJ has joined #racket
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
refpga has quit [Ping timeout: 248 seconds]
refpga has joined #racket
jokul has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 272 seconds]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 258 seconds]
wehlutyk has joined #racket
ubLIX has joined #racket
zipper has joined #racket
miskatonic has joined #racket
lavaflow_ has quit [Ping timeout: 252 seconds]
miskatonic has quit [Remote host closed the connection]
ubLIX has quit [Quit: ubLIX]
soegaard has joined #racket
<zipper> Hey, if I wanted to perform a series of computatoins in one branch of an if statement how do I do that?
orivej has joined #racket
rubic88 has joined #racket
<J_Arcane> ironically, for all the work I've done exploring a modern SPA stack for Racket ... I find myself in a situation where my project may call for ditching that and just doing a purely server-side rendered application anyway.
wehlutyk has quit [Quit: wehlutyk]
wehlutyk has joined #racket
ZombieChicken has quit [Quit: WeeChat 2.5]
rubic88 has quit [Remote host closed the connection]
<zipper> J_Arcane: Why'd you want an SPA?
<soegaard> J_Arcane: Thanks for the advice the other day. Got a lot of inspiration from your "opionated app". Got a chuckle from the choice of port numbers.
<J_Arcane> zipper: it's just my usual way of working, really. Most of my paid work is in full-stack web dev; my first job was doing Clojure, and I've even given talks about Elm. XD
<J_Arcane> soegaard: :D My nerdery always leaks through somewhere. :D
<J_Arcane> and for normal apps, I'm all for the SPA architecture but ... in this case I have a mind to target some older platforms that just aren't up to more than simple JavaSCript
<soegaard> Right now I am playing around with hooks in React.
<J_Arcane> specifically, the app is a simple microblogging site, and I'd like to be able to use it from my old G4.
<J_Arcane> But Elm performance, while lovely on a modern machine, turns out to be quite sluggish on hardware that old, and I dare not think about anything older
zipper has quit [Ping timeout: 244 seconds]
zipper has joined #racket
<soegaard> I am impressed by the helpful error messages the React development tools for Chrome gives.
<J_Arcane> good old-fashioned Racket servlet though, serving up plain HTML? Basically instant, even on my old machines.
<J_Arcane> soegaard: yeah, the one thing I do find myself jealous of whenever I dip into plain JS is how much better the tools are ...
<soegaard> Well, I am comparing to my impression of JavaScript errors in the past.
<J_Arcane> also true.
<J_Arcane> so many hours I spent trying to figure out why all that came out was [Object object]
<soegaard> :-)
<J_Arcane> if you use VSCode as your editor, you even get some gradual type checking for free!
<J_Arcane> with some caveats of course, but still, compared to even a few years ago, it's downright incredible.
<soegaard> I am (surprise) using Urlang in DrRacket to generate the JavaScript. Unbound identifier errors are detected by Urlang so DrRacket jumps to the offending place as usual.
vraid has joined #racket
<soegaard> Is it safe to assume that most people have a browser that understands ES6 ?
<zipper> J_Arcane: Dude do you know something like do in clojure but for racket?
<soegaard> begin
<J_Arcane> soegaard: these days mostly yeah, but also your build tools are gonna handle the polyfills to get it working at least on ES5 as well
<soegaard> Yeah - I was just wondering (hoping) that I can do without Babel.
<J_Arcane> According to caniuse, basically everything but IE 11 now supports ES6: https://caniuse.com/
<soegaard> I am okay with that!
<J_Arcane> though the details are a *bit* more fine grained than that: https://kangax.github.io/compat-table/es6/
<J_Arcane> Still to this day no one but Safari supports TCO 😡
<soegaard> I tried to find some statistics for how many people that still has pre-ES6 browsers installed, but failed.
<soegaard> Yeah - I am still bummed about the lack of TCO support.
<soegaard> There were a single version of Node that supported it - but it was removed :-(
<J_Arcane> I was so excited about it. and when it hit Babel I did a bunch of playing around with their polyfilled version
<J_Arcane> but it got removed too
<soegaard> There were a polyfill for TCO ?
<J_Arcane> it's really a big bummer for compiling functional languages especially
<J_Arcane> yeah. For a while, Babel had a trampoline based solution for at least part of the TCO spec in ES6
<soegaard> At least the stack limit is higher today than back in the day.
<J_Arcane> And I guess Traceur still does with a compiler flag
<soegaard> Forgot about Traceur. But last commit was in 2016. A bad sign.
<J_Arcane> yeah. I think Babel more or less "won" at this point.
<J_Arcane> it seems like most stuff I've worked on or seen, you're either using the Babel plugin with webpack, or you've gone to Typescript
<soegaard> Yeah. Also I think Traceur was a ES6 to ES5 only compiler. Babel has a greater scope.
<soegaard> Do you think the TCO-compromise "explicitly marked tail calls" have a chance of getting support?
<J_Arcane> no idea.
<J_Arcane> I've not really followed the standards process for a while.
soegaard has quit [Quit: soegaard]
zipper has quit [Ping timeout: 245 seconds]
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
zipper has joined #racket
wehlutyk has quit [Quit: wehlutyk]
wehlutyk has joined #racket
refpga has quit [Ping timeout: 272 seconds]
refpga has joined #racket
iyzsong has joined #racket
selimcan has joined #racket
<zipper> SMH can't believe my connection is still acting up
<zipper> J_Arcane: Do you know something like do in clojure but for racket?
<zipper> I'm trying to write a fn to parse cmdline args and reading https://docs.racket-lang.org/reference/Command-Line_Parsing.html
<J_Arcane> zipper: (begin ...)
<zipper> J_Arcane: Thanks
<zipper> However I don't understand what they mean by procedure in the following context:
<zipper> "A procedure to handle the flag and its arguments when one of the flags is found on the command line..."
soegaard has joined #racket
<zipper> I can't figure out how to pass args from line 14 to the function on line 2
selimcan has quit [Remote host closed the connection]
zipper has quit [Ping timeout: 245 seconds]
urbanslug has joined #racket
libertyprime has joined #racket
dddddd has joined #racket
wehlutyk_ has joined #racket
soegaard has quit [Quit: soegaard]
wehlutyk has quit [Ping timeout: 248 seconds]
wehlutyk_ is now known as wehlutyk
<urbanslug> There's a fn split-path https://docs.racket-lang.org/reference/Manipulating_Paths.html#(def._((quote._~23~25kernel)._split-path)) that is said to deconstruct a path
urbanslug is now known as zipper
<zipper> How does one handle such a return value?
ym555 has joined #racket
zipper has quit [Read error: Connection reset by peer]
refpga has quit [Ping timeout: 258 seconds]
<d_run> soegaard: would be interested in seeing example of Urlang working with React for sure
refpga has joined #racket
wehlutyk has quit [Quit: wehlutyk]
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
pfdietz has joined #racket
efm has joined #racket
efm has quit [Ping timeout: 252 seconds]
ubLIX has joined #racket
iclon has joined #racket
lavaflow_ has joined #racket
paroneayea has joined #racket
iyzsong has quit [Ping timeout: 252 seconds]
badkins has quit [Remote host closed the connection]
paroneayea is now known as dustyweb
soegaard has joined #racket
<soegaard> d_run: Right now I am just toying around. But here is a snippet: http://pasterack.org/pastes/61466
<soegaard> create is a small macro that works sort of like jsx. Instead of {} around expressions, you can use an unquote.
<d_run> nice
<d_run> reminds me of early days with React + ClojureScript
YuGiOhJCJ has quit [Remote host closed the connection]
<soegaard> d_run: where can I look in clojure land for inspiration?
YuGiOhJCJ has joined #racket
badkins has joined #racket
<d_run> soegaard: in the early days folks would do similar, working directly with React via interop, then came the nicer wrappers like https://github.com/reagent-project/reagent
<d_run> Om came first (https://github.com/omcljs/om) but Reagent seems simpler
jao has joined #racket
<soegaard> thanks for the pointer
<d_run> they both use Hiccups (https://github.com/teropa/hiccups) which is similar to your `create` but exploits Clojure's literal syntax
dimitarvp has joined #racket
dustyweb has quit [Ping timeout: 248 seconds]
dimitarvp has quit [Client Quit]
iclon_ has joined #racket
iclon has quit [Ping timeout: 248 seconds]
refpga has quit [Remote host closed the connection]
endformationage has joined #racket
acarrico has quit [Ping timeout: 258 seconds]
zipper has joined #racket
rubic88 has joined #racket
ubLIX has quit [Quit: ubLIX]
vraid has quit [Quit: Leaving]
badkins_ has joined #racket
badkins has quit [Ping timeout: 245 seconds]
badkins_ has quit [Ping timeout: 248 seconds]
ng0_ is now known as ng0
badkins has joined #racket
vraid has joined #racket
zipper has quit [Read error: Connection reset by peer]
zipper has joined #racket
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #racket
libertyprime has quit [Ping timeout: 245 seconds]
soegaard has quit [Quit: soegaard]
pera has joined #racket
zipper has quit [Ping timeout: 245 seconds]
badkins has quit [Ping timeout: 258 seconds]
badkins has joined #racket
acarrico has joined #racket
soegaard has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
efm has joined #racket
efm has quit [Ping timeout: 245 seconds]
zipper has joined #racket
pera has quit [Ping timeout: 246 seconds]
efm has joined #racket
dieggsy has quit [Quit: ZNC 1.7.3 - https://znc.in]
lavaflow_ is now known as lavaflow
acarrico has quit [Ping timeout: 258 seconds]
casaca has quit [Remote host closed the connection]
casaca has joined #racket
dieggsy has joined #racket
zipper has quit [Ping timeout: 248 seconds]
zipper has joined #racket
pera has joined #racket
ym555 has quit [Ping timeout: 258 seconds]
ym555 has joined #racket
ricekrispie2 has joined #racket
ricekrispie has quit [Ping timeout: 248 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 272 seconds]
wehlutyk has joined #racket
badkins has quit [Ping timeout: 245 seconds]
zipper has quit [Read error: Connection reset by peer]
badkins has joined #racket
zipper has joined #racket
wehlutyk has quit [Quit: wehlutyk]
rain2 has joined #racket
jboy has quit [Ping timeout: 246 seconds]
rain1 has quit [Ping timeout: 272 seconds]
jboy has joined #racket
soegaard has quit [Quit: soegaard]
ubLIX has joined #racket
zipper has quit [Read error: Connection reset by peer]
zipper has joined #racket
zipper has quit [Read error: Connection reset by peer]
zipper has joined #racket
soegaard has joined #racket
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
manualcrank has joined #racket
CodeArtisan has joined #racket
<CodeArtisan> how to escape @ in scribble?
<soegaard> @|@|
<soegaard> If I remember correctly.
<CodeArtisan> thanks
badkins has quit [Remote host closed the connection]
<soegaard> |@| is a symbol
<soegaard> Maybe @'|@|
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
rubic88 has quit [Remote host closed the connection]
ubLIX has quit [Quit: ubLIX]
zipper has quit [Ping timeout: 252 seconds]
ricekrispie2 has quit [Quit: YEET]
soegaard has quit [Quit: soegaard]
casaca has quit [Ping timeout: 248 seconds]
dustyweb has joined #racket
ng0 has quit [Ping timeout: 256 seconds]
casaca has joined #racket
ubLIX has joined #racket
nckx has quit [Quit: Updating my GNU Guix System <https://guix.gnu.org>]
ricekrispie has joined #racket
ZombieChicken has joined #racket
nckx has joined #racket
dustyweb has quit [Read error: Connection reset by peer]
YuGiOhJCJ has joined #racket
acarrico has joined #racket
acarrico has quit [Ping timeout: 248 seconds]
badkins has joined #racket
badkins_ has joined #racket
badkins has quit [Ping timeout: 252 seconds]