#racket

/

      • cpup- joined the channel
      • CoderPuppy has quit
      • cpup joined the channel
      • axion
        Oh yeah, I forgot I was in this channel. I read the docs about 4 months ago, but I sort of got discouraged by the lack of chatter in here that I never did get started. Also because I don't like the Emacs REPL support much - I am a long time Common Lisp coder. I would like to eventually learn the Racket way though...just wish it wasn't so niche and had more chatter.
      • mrm
        axion: So, how about that weather, eh?
      • axion
        :)
      • I don't know. I run the #lispgames org, and there is more chatter in that side channel per day than this channel gets in at least a month.
      • Also I am not a fan of being outside of Emacs (DrRacket), and I found the Emacs support rather lacking. Maybe that has changed recently
      • mrm
        axion: greghendershott's racket-mode is pretty good.
      • axion
        I guess I'm more looking for a live coding method. C-c C-c to send/compile a region/define etc
      • CoderPuppy joined the channel
      • bremner
        I think you must be looking for more than that, because that exists
      • but the devil is in the details, and it's true that racket is just not as REPL friendly as some lisp dialects.
      • axion
        Probably. I'd have to remember what was lacking. It's been a while, and I didn't get any response on IRC.
      • cpup has quit
      • cpup- has quit
      • cpup joined the channel
      • The language was pretty daunting when I read the spec too. And that says a lot for someone that uses the CL HyperSpec. I was tripping up on the different structs, and the whole package/module system. Definitely different and confusing
      • I should really focus on trying to figure it out :/
      • mrm
        bremner: You said that stretch-backports is uploaded, right?
      • I don't see it mentioned on the tracker page.
      • axion
        I guess it doesn't help that I never touched a Scheme or derivitive before, only Common Lisp, and not really sure where to go for help, tutorials, etc aside the docs.
      • bremner
        mrm: yeah, it's in backports-new, because this is the first version backported for stretch
      • mrm
        bremner: Ah, thanks.
      • stee_3_ joined the channel
      • stee_3 has quit
      • cpup- joined the channel
      • CoderPuppy has quit
      • cpup joined the channel
      • CoderPuppy joined the channel
      • cpup| joined the channel
      • vendethiel joined the channel
      • vendethiel has quit
      • slemonide joined the channel
      • slemonide has quit
      • nomicflux joined the channel
      • greghendershott
        axion: racket-mode lets you e.g. C-x C-e to send last sexp to the REPL prompt and eval it. but...
      • when you e.g. C-c C-k to racket-run, the REPL state is reset to that of your source file
      • in that respect it is exactly like DrRacket
      • it's not really great for live-coding
      • axion
        That was a major inconvenience to me
      • greghendershott
        or poking the REPL state indefinitely
      • axion
        Yeah, my CL REPL stays running for months with lots of snippets to test from various projects.
      • I do not like resetting the state
      • greghendershott
        I can appreciate that way of working, and esp e.g. live coding
      • OTOH I want my single source of truth about history to be something like git :)
      • For the types of stuff I do.
      • axion
        Yeah there is a lot of disagreement in this area between Racket and other dialects so I've read
      • I do wish it was at least an optional behavior
      • ziyourenxiang joined the channel
      • greghendershott
        In theory it could be. afaik there's nothing inherent to Racket that makes it unsuitable, technically.
      • I think it's just not the emphasis most people I know who use Racket.
      • axion
        Good, maybe I can try racket-mode in the future again then.
      • greghendershott
        To be clear, I think you'll be cutting against the grain with racket-mode specifically in that regard.
      • If/when you try it again, maybe unbind things from racket-run so you don't blow away your REPL state too easily :)
      • axion
        Maybe, I'll try it again tomorrow. By the way, I _am_ using Frog though, after many years of disliking OrgMode publishing
      • greghendershott
        Oh cool.
      • axion
        Mostly because I read all of Pollen and I think it is a little too much writing my own dsl to make a site, which I'm not familiar with Racket yet.
      • Frog is just very gtd, so thanks :)
      • greghendershott
        You're welcome. :)
      • axion
        I really want to try racket again though. Maybe I'll bomb you with some racket-mode questions tomorrow if you don't mind :)
      • greghendershott
        axion: Sure thing. Here is OK for questions. Bugs or things with lots of code snippets, easier (for me) to do on GitHub.
      • axion
        Is there a more active forum for Racket somewhere besides IRC? I would like another learning resource besides the documentation. I am normally one to learn a language/tool by reading the docs, but the sheer size and quality of the Racket docs can't fit in a newbie's head.
      • Or it could be I'm just old and stuck on my old Lisp ways.
      • dbmikus joined the channel
      • ArneBab_ joined the channel
      • ArneBab has quit
      • badkins has quit
      • peschkaj joined the channel
      • peschkaj has quit
      • pagurus` joined the channel
      • pagurus has quit
      • endobson has quit
      • endobson joined the channel
      • nomicflux has quit
      • cpup| has quit
      • cpup joined the channel
      • ziyourenxiang has quit
      • sz0 joined the channel
      • dan_f joined the channel
      • Fare has quit
      • Merv__ has quit
      • endobson has quit
      • ristos joined the channel
      • dan_f has quit
      • vkirilichev joined the channel
      • ziyourenxiang joined the channel
      • faraco joined the channel
      • Lowl3v3l joined the channel
      • cpup has quit
      • cpup joined the channel
      • vendethiel joined the channel
      • kefin_ has quit
      • slemonide joined the channel
      • slemonide has quit
      • Merv_ joined the channel
      • vkirilichev joined the channel
      • vkirilichev joined the channel
      • vendethiel has quit
      • faraco has quit
      • Merv_ has quit
      • cpup has quit
      • cpup joined the channel
      • brainfreeze joined the channel
      • Merv_ joined the channel
      • Codaraxis__ has quit
      • YuGiOhJCJ joined the channel
      • Codaraxis joined the channel
      • fridim_ is now known as fridim
      • Codaraxis has quit
      • Codaraxis joined the channel
      • ARCADIVS has quit
      • Codaraxis has quit
      • Codaraxis joined the channel
      • sz0 joined the channel
      • Lowl3v3l has quit
      • Lowl3v3l joined the channel
      • tim-brown joined the channel
      • ziyourenxiang has quit
      • tim-brown has quit
      • lijero has quit
      • Obfuscate has quit
      • lijero joined the channel
      • FernandoBasso joined the channel
      • cpup joined the channel
      • oskarkv has quit
      • iyzsong joined the channel
      • Fare joined the channel
      • nomicflux joined the channel
      • faraco joined the channel
      • faraco has quit
      • faraco joined the channel
      • lijero has quit
      • nomicflux has quit
      • Lowl3v3l has quit
      • faraco has quit
      • badkins joined the channel
      • lijero joined the channel
      • MetaHertz
        Hello everyone, hello again. )
      • In what case it's worth to use hash-maps?
      • I'd like to understand what every datatype for what case is much better than others.
      • soegaard gave a superb explanation about structs and why they much better in my case than hash maps.
      • soegaard thank you very much!
      • bremner
        if you don't know the keys in advance, structs are not a good choice
      • I'd guess they don't work at all
      • MetaHertz
        Now my program reads persons from a csv and makes a hash map for every person, then it sends email to every person with credentials. It creates a thread pool and sends emails concurrently, but now I cannot figure out how to work with threads effectively, how to safely break the sending. Now the stop sending button doesn't work.
      • bremner
        yeah, a hash map per row doesn't really sound right
      • but that's probably unrelated to your concurrency issues
      • MetaHertz
        Because in Racket I'm a beginner. ) I came here from Clojure. It seems to me that Racket can help better to understand how to use concurrency but I don't have enough clear documentation. In Clojure I didn't understand how to use it's own features which relate to concurency and parallelism.