Oops, small correction:
> The x-expressions need to include hyperlinks to urls
> defined via dispatch-rules in main.rkt, i.e., call the url-generating
> function.
Should be `routing.rkt` instead of `main.rkt`.
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Yury Bulk
to `render-post`. I also thought about putting the url-generating
function into a parameter, but `render-post` also needs access to the
request handlers.
What approach should I take?
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
--
You received this message because you
the main distribution,
but the main distribution is the place where newcomers like me are going
to look first.
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Bogdan Popa writes:
> I solved this in koyo by defining an alternate version[1] of
> `dispatch-rules' whose generated `rever
solution (for instance, the rules in
dispatch-rules and the route-names can go out of sync if one forgets to
update either of them) and they are not dynamic.
But for an ultra-minimalistic application this might do when you don't
feel like adding a new external dependency.
--
Yury Bulka
https://mamot.fr
Greg Hendershott writes:
> Although I haven't tried to use it hands-on, the description of the
> imperative flavor makes me think it might be intended to help with this?
>
> https://docs.racket-lang.org/web-server/dispatch.html#%28part._.Imperative_.Dispatch_.Containers%29
Hm, that's
Sorawee Porncharoenwase writes:
>>
>> Thank you for the package! So, do I understand correcty that it is
>> impossible to produce multi-valued streams with for/stream? If so, maybe
>> it's worth adding a note about it to the documentation of for/stream?
>>
>
> That is correct. Feel free to
b._racket%2Fstream..rkt%29._stream-ref%29%29
What am I doing wrong here?
P.S. The context is that I'm trying to create a function that would
return results from an API as a stream that can be iterated with the for
family of forms, and would yield multiple values per iteration.
--
Yury Bulka
htt
(sorry for the typos - obviously, it should be racket/stream)
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Yury Bulka writes:
> Hello everyone,
>
> I have a question about creating a steam that yields multiple values on
> each iteration. Given something like:
are inefficient in the default implementation of
Racket. Since I'm using generators too, I'm curious about the
performance implications - where can I read more about it?
Best,
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Sorawee Porncharoenwase writes:
> I just created a pack
> maybe the racket-away paste(bin) will be handy?
that should have been racket-*aware*, sorry for the typo.
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To uns
, and it has a "Code" document type that has
Scheme syntax highligthing (and end-to-end encryption).
Best,
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Sorawee Porncharoenwase writes:
> A quick Google returns this site:
> https://superuser.com/questions/659666/how
. As is #4 most likely.
#2 is something that seems to require manual work in the client code,
but maybe that can be made easier on web-server-lib side somehow.
Curious how much do #3 contribute.
Big thanks again for everyone investing time in investigating this.
--
Yury Bulka
https://mamot.fr
in this 5-step process:
http://htdp.org/2020-8-1/Book/part_preface.html#%28counter._%28figure._fig~3athe-design-recipe%29%29
Is this too ambitious plan at all? Does it require _way_ more time or is
it doable?
Thank you for any thoughts,
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
--
You
> 1) “authenticity”; will the participants feel that programming in
> Racket is “real” programming?
Do you mean as opposed to a more popular language like Python or
JavaScript? Or in some other regard (like building GUI apps)?
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Thanks for the feedback. In my case, most likely, the participants will
be around 16-22 years old, no particular specialisation but curious
about programming.
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
John Clements writes:
> My opinion: it depends on lots of things, bu
think of at the momemnt is to do my best to communicate in advance the
intent of the workshop? To emphasize the fact that this is not going to
be about Python or JavaScript specifically (and not Scratch either).
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
--
You received this m
d a blog post I saw the other day on Software Freedom Conservancy's blog:
https://sfconservancy.org/blog/2021/apr/20/how-to-apologize/
I think it has many constructive points.
Best,
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Siddhartha Kasivajhula writes:
> I just want
#haskell seems to have been taken over:
https://www.reddit.com/r/haskell/comments/nl74hc/freenode_has_unilaterally_taken_over_haskell/
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
David Bremner writes:
> Hendrik Boom writes:
>
>>
>> Experience in other
, if there are a Friendly Environment Policy violation or
other issue, there is (or isn't) a way to handle that.
Or simply when there is a need to establish a process for making a
qpolicy decision regarding a particular channel (like migration or
non-migration from freenode to libera).
--
Yury Bulka
https
uld authenticate with NickServ:
https://matrix-org.github.io/matrix-appservice-irc/latest/usage.html#customising-your-experience
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Paulo Matos writes:
> Yury Bulka writes:
>
>> I would just clarify that in the case of Racket,
it out.
>
>John
>
>> On Apr 20, 2021, at 1:45 AM, Yury Bulka
> wrote:
>>
>> Just my 5 cents...
>>
>> Recently I had to register on a discord "server" to ask a question
>> within another community - and the experience was of a high ba
Thank you for sharing! Looking forward to watching :)
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Lindsey Handley writes:
> Shameless plug here...
>
> For the past several months, Stephen Foster <https://github.com/srfoster/>
> and I have been live
Wow, so great to hear the a SuperCollider client in Racket is on the horizon:)
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Dimaugh Silvestris writes:
> I have a struct defined as:
> (struct ugen sc.unit (name rate inputs)
> #:methods gen:custom-write
> [(defin
Dear Racketeers,
I have noticed something I don't understand:
> (dict? '(yay))
#f
> (dict? '('yay))
#t
> (dict-ref '('yay) 'yay)
; dict-ref: no value for key: 'yay in: '('yay)
I'm puzzled - what makes '('yay) a dict compared to '(yay)?
(Running Racket 7.8 on Linux).
--
Yury Bu
Indeed,
> (dict-keys '('yay))
'(quote)
> (dict-values '('yay))
'((yay))
> (dict-ref '('yay) 'quote)
'(yay)
So... this boils down to:
> (equal? '('yay) '((quote yay)))
#t
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
William J. Bowman writes:
> try (dict-ref
d.
The IRC + Matrix combination is much more open and inclusive I think.
And there is a question of transparency of governance and moderation of
course.
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Adam Golding writes:
> I'm not so sure now: https://groups.google.com/g/rac
scrollbar, but
still be sticky in the sense that it would keep itself within the
viewport).
--
Yury Bulka
https://mamot.fr/@setthemfree
#NotOnFacebook
Sam Tobin-Hochstadt writes:
> This seems like it would be a nice addition. I think starting with a
> PR is the right place to begin.
>
&g
27 matches
Mail list logo