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>
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