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
liberiga has joined #racket
_whitelogger has joined #racket
FreeFull has quit []
ZombieChicken has quit [Quit: WeeChat 2.5]
dddddd has quit [Remote host closed the connection]
efm has quit [Ping timeout: 272 seconds]
notzmv has quit [Ping timeout: 244 seconds]
englishm has quit [Excess Flood]
englishm has joined #racket
englishm has quit [Excess Flood]
englishm has joined #racket
englishm has quit [Excess Flood]
englishm has joined #racket
englishm has quit [Excess Flood]
englishm has joined #racket
englishm has quit [Excess Flood]
englishm has joined #racket
englishm has quit [Excess Flood]
<nisstyre> __Myst__: #scheme is more active usually
lockywolf_ has joined #racket
<lockywolf_> Friends, does HTDP 2019-02-24 exist as a pdf?
<lockywolf_> If found an old (2018) version in a pdf, but frankly, the typesetting is not that good there.
notzmv has joined #racket
lockywolf_ has quit [Ping timeout: 245 seconds]
Sgeo_ has joined #racket
lockywolf has joined #racket
Sgeo has quit [Ping timeout: 248 seconds]
lockywolf_ has joined #racket
Sgeo has joined #racket
lockywolf__ has joined #racket
lockywolf has quit [Read error: Connection reset by peer]
Sgeo_ has quit [Ping timeout: 268 seconds]
lockywolf_ has quit [Ping timeout: 258 seconds]
lockywolf__ has quit [Ping timeout: 245 seconds]
Arcaelyx has quit [Ping timeout: 245 seconds]
endformationage has quit [Quit: WeeChat 2.5]
lavaflow has joined #racket
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 244 seconds]
manualcrank has quit [Quit: WeeChat 1.9.1]
Sgeo__ has joined #racket
davidl has quit [Quit: WeeChat 2.1]
Sgeo_ has quit [Ping timeout: 258 seconds]
ubLIX has joined #racket
liberiga has quit [Quit: Leaving]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
ubLIX has quit [Quit: ubLIX]
vraid has joined #racket
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 258 seconds]
davidl has joined #racket
ng0 has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 258 seconds]
dimitarvp has joined #racket
dimitarvp has quit [Client Quit]
libertyprime has joined #racket
<J_Arcane> what's the best way to install the CLI racket tools on Mac?
<J_Arcane> Just add /Applications/Racket to the PATH?
dddddd has joined #racket
iyzsong has joined #racket
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #racket
sagax has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 248 seconds]
soegaard has joined #racket
soegaard has quit [Ping timeout: 268 seconds]
dmiles has quit [Read error: Connection reset by peer]
dmiles has joined #racket
orivej has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
ubLIX has joined #racket
badkins has quit [Remote host closed the connection]
libertyprime has quit [Quit: leaving]
ubLIX has quit [Quit: ubLIX]
badkins has joined #racket
mSSM has joined #racket
ZombieChicken has joined #racket
Arcaelyx has joined #racket
iyzsong has quit [Ping timeout: 264 seconds]
endobson has joined #racket
sagax has joined #racket
manualcrank has joined #racket
<greghendershott> __Myst__: Some traffic here seems to have shifted to the Racket Slack. And IIUC the Slack gateway to here no longer works.
<greghendershott> Of course this is all wrong.
<greghendershott> Instead of Slack we should use Microsoft Teams.
* greghendershott ducks and runs away
ubLIX has joined #racket
badkins has quit [Ping timeout: 246 seconds]
Lowl3v3l has joined #racket
ziyourenxiang_ has quit [Ping timeout: 258 seconds]
efm has joined #racket
vraid has quit [Quit: Leaving]
orivej has quit [Ping timeout: 245 seconds]
endformationage has joined #racket
FreeFull has joined #racket
ZombieChicken has quit [Ping timeout: 268 seconds]
badkins has joined #racket
vraid has joined #racket
ubLIX has quit [Quit: ubLIX]
zipper has joined #racket
zipper has quit [Ping timeout: 272 seconds]
zipper has joined #racket
zipper has quit [Ping timeout: 258 seconds]
zipper has joined #racket
zipper has quit [Ping timeout: 245 seconds]
zipper has joined #racket
zipper has quit [Ping timeout: 244 seconds]
zipper has joined #racket
dvdmuckle has quit [Quit: Bouncer Surgery]
orivej has joined #racket
casaca has quit [Ping timeout: 244 seconds]
dvdmuckle has joined #racket
casaca has joined #racket
casaca has quit [Ping timeout: 272 seconds]
casaca has joined #racket
zipper has quit [Ping timeout: 245 seconds]
ubLIX has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zipper has joined #racket
badkins has quit [Ping timeout: 246 seconds]
sauvin has quit [Read error: Connection reset by peer]
gnugnugnu has joined #racket
zipper has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 258 seconds]
casaca has quit [Ping timeout: 272 seconds]
zipper has joined #racket
tilpner has quit [Quit: WeeChat 2.4]
badkins has joined #racket
tilpner has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
sagax has quit [Ping timeout: 272 seconds]
liberiga has joined #racket
efm has quit [Quit: Konversation terminated!]
zipper has quit [Ping timeout: 268 seconds]
zipper has joined #racket
efm has joined #racket
efm has quit [Client Quit]
sagax has joined #racket
tilpner has quit [Ping timeout: 245 seconds]
tilpner has joined #racket
zipper has quit [Ping timeout: 245 seconds]
zipper has joined #racket
zipper has quit [Ping timeout: 246 seconds]
zipper has joined #racket
zipper has quit [Ping timeout: 245 seconds]
zipper has joined #racket
<friscosam> J_Arcane: that is what I do
<friscosam> export PATH="$PATH:/Applications/Racket v7.3/bin"
<J_Arcane> yeah, figured something like that
ng0 has quit [Quit: Alexa, when is the end of world?]
zipper has quit [Ping timeout: 245 seconds]
<J_Arcane> just wondered if there was some script or something to symlink the /bins to some /local/bin or somewhere like it
<friscosam> if I was real clever I'd have a shell snippet that would just add the highest version number of Racket found to the path
<J_Arcane> yeah.
<J_Arcane> I think what I used to do is always just rename the folder to plain "Racket" so I didn't have to redo it every time. XD
<friscosam> I have 5 versions of Racket here and I probably only need 1 (or 2 in case I find some breakage) just because I'm too lazy to clear them off
zipper has joined #racket
Lowl3v3l has quit [Quit: Leaving.]
dustyweb has quit [Ping timeout: 276 seconds]
ZombieChicken has joined #racket
gnugnugnu has quit [Quit: WeeChat 2.5]
gnugnugnu has joined #racket
gnugnugnu has quit [Client Quit]
zipper has quit [Ping timeout: 245 seconds]
liberiga has quit [Ping timeout: 260 seconds]
zipper has joined #racket
badkins_ has joined #racket
zipper has quit [Client Quit]
badkins has quit [Ping timeout: 248 seconds]
badkins_ has quit [Ping timeout: 268 seconds]
mSSM has quit [Ping timeout: 258 seconds]
ketralnis has joined #racket
Diagon has joined #racket
ZombieChicken has quit [Quit: WeeChat 2.5]
ketralnis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ketralnis has joined #racket
bremner has quit [Quit: Coyote finally caught me]
bremner has joined #racket
ziyourenxiang_ has joined #racket
ubLIX has quit [Quit: ubLIX]
Sgeo__ has quit [Ping timeout: 258 seconds]
Diagon has quit [Quit: Leaving]
Sgeo has joined #racket
liberiga has joined #racket
<evdubs> anyone have opinions on the following: i am building an api to connect to a stock broker and in my design i am thinking of having the request messages be objects and the response messages be structs
<evdubs> request messages are objects for two primary reasons: they can all implement an interface which serializes the object and constructing them should be easier as they mostly have well defined defaults so construction just requires a few named fields rather than doing a struct initialization with all fields passed
<evdubs> but i don't need that for the response messages
<evdubs> is it stylistically weird to have an object/struct dichotomy for messages sent and received?
<evdubs> i suppose there's no "harm" in having the response messages be objects, too, but it isn't necessary and structs seem simpler
<greghendershott> evdubs: If that makes most sense to you, sure.
<greghendershott> I would probably have both be plain structs. And just define a more-convenient "constructor" function, and serializer function, for each.
<evdubs> maybe it's easier to enforce contracts on objects/classes so that i can make sure the data is "clean" when received by the client-side api?
<greghendershott> But that's just me. I'm reluctant to add racket/class and get OOP-y unless it's compelling.
<greghendershott> It might be. It depends on the API. If it has a distinct REST point or RPC call for each sort of request/response, I'd probably just put each in its own .rkt file.
<greghendershott> Along with the ctor function and serializer function.
<evdubs> greghendershott, one of the messages is the "new order" message which has, oh, about 100 or so different components
<greghendershott> OTOH if the API is more "generic" with a lot of common stuff among all reqs/resps, maybe I'd centralize more.
<greghendershott> Oh.
<evdubs> but you're usually doing things like "send new order buy 100 GOOG limit 1139"
<greghendershott> Yeah, if you're talking hundreds as opposed to dozens of reqs/resps, I might start thinking more OOP-y to DRY.
<evdubs> or "send new order sell 100 GOOG stop limit 1130"
<evdubs> type stuff
<evdubs> where the class supports a ton of stuff and you sort of ad hoc fill in fields that are relevant - most of the message is unused every time you send it
<evdubs> would choosing to go OOP with requests influence your decision to pick structs for responses?
<greghendershott> Sure, that sounds like something where racket/class or racket/generic (or some hand-rolled syntax) might help reduce some boilerplate repetitious ceremonial stuff.
<greghendershott> as for consistent struct or class for req vs. resp, that seems _nice_ but if you have a good reason not to, sure
<greghendershott> Sorry if I'm being equivocal.
<greghendershott> I'm kind of a fan of just trying stuff, living with it for awhile, and seeing if it makes sense.
<evdubs> ;) do you find enforcing contracts to be easier with classes - i have not implemented/applied a single contract to my racket code so i am clueless
<evdubs> but i think i would like to make sure that "this is an int, that is a string", etc
<greghendershott> I have pretty much zero mileage using racket/class except for a little of the GUI stuff that uses it.
<evdubs> ok
<greghendershott> I've hardly ever defined my own, much less added contracts.
<greghendershott> I think contracts with equally well with stand-alone functions and class "methods", both.
<greghendershott> But someone else with more experience with classes could better say for sure.
<greghendershott> (To be clear, I don't think there's anything bad about racket/class. I just did a lot of OOP C++ so when I came to Racket I was more interested in trying other things.)
<evdubs> for sure - i come from a java in school and out of school with c# and scala experience so i think i am thoroughly brain washed