Re: [racket-users] Announcing something Kinda FRP-y

2020-01-27 Thread Sage Gerard
I did not even think to extend it that way! What a cool suggestion. Right now I 
am working on a macro as defined here, since there are times it makes sense to 
list dependencies explicitly https://github.com/zyrolasting/kinda-ferpy/issues/2

Now if I could get a #-notation to support explicit dependencies without 
sacrificing too much readability, I'd probably prefer it over all other 
variants.
 Original Message 
On Jan 27, 2020, 2:09 PM, Eric Griffis wrote:

> Hi Sage,
>
> This is pretty cool. With a non-OOP option on the table, I might
> finally get around to working on an IMGUI-like for Racket.
>
> Have you thought about a reader extension to compress the notation?
> The `stateful-cell` function kinda acts like a box and kinda looks
> like a `syntax` (or `quote-syntax` w/ kw arg) form, both of which have
> special #-prefixed notations. Extending the reader to abbreviate
> `(stateful-cell 1)` and `(stateful-cell (λ _ (+ (x) (y` to, say,
> #?1 and #?(+ (x) (y)), respectively, could be a fun project.
>
> Eric
>
> On Sun, Jan 26, 2020 at 3:30 PM Sage Gerard  wrote:
>>
>> Announcing a new package: kinda-ferpy. Here's a write-up. It implements the 
>> spreadsheet metaphor in an expressive way, based on MaiaVictor's excellent 
>> PureState library. It's not a complete functional reactive programming 
>> interface, but it does conveniently express Racket values as dependent 
>> computations.
>>
>> (require kinda-ferpy)
>>
>> (define x (stateful-cell 1))
>> (define y (stateful-cell 1))
>> (define sum (stateful-cell (λ _ (+ (x) (y)
>>
>> (displayln (sum)) ; 2
>> (y 8)
>> (displayln (sum)) ; 9
>>
>>
>> ~slg
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/racket-users/QO0uwg7I2YeD0nczzY77m3RVr6TceC-IY1YunNNYqiq55n_bjHpKh-Rnf5xo1zGgLa44giG3SmxwhenvbHt84u4J4Rm6M2whybBOpWxuCtY%3D%40sagegerard.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/CAORuSUw8fDe8CtxKH-gCke3hoWnhekUHMx8B9DxvYcn8HwaHnw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/dnUcsewHmSYVUYEGG53YGS6nma42afV1c4N8n4HBIvkDjwdPxDKXQnbRLHzmaRMonDHIbNO-gAuT9kZF1jqdZGDITdq7xHgNRktTzCa_1dw%3D%40sagegerard.com.


Re: [racket-users] Announcing something Kinda FRP-y

2020-01-27 Thread Eric Griffis
Hi Sage,

This is pretty cool. With a non-OOP option on the table, I might
finally get around to working on an IMGUI-like for Racket.

Have you thought about a reader extension to compress the notation?
The `stateful-cell` function kinda acts like a box and kinda looks
like a `syntax` (or `quote-syntax` w/ kw arg) form, both of which have
special #-prefixed notations. Extending the reader to abbreviate
`(stateful-cell 1)` and  `(stateful-cell (λ _ (+ (x) (y` to, say,
#?1 and #?(+ (x) (y)), respectively, could be a fun project.

Eric

On Sun, Jan 26, 2020 at 3:30 PM Sage Gerard  wrote:
>
> Announcing a new package: kinda-ferpy. Here's a write-up. It implements the 
> spreadsheet metaphor in an expressive way, based on MaiaVictor's excellent 
> PureState library. It's not a complete functional reactive programming 
> interface, but it does conveniently express Racket values as dependent 
> computations.
>
> (require kinda-ferpy)
>
> (define x (stateful-cell 1))
> (define y (stateful-cell 1))
> (define sum (stateful-cell (λ _ (+ (x) (y)
>
> (displayln (sum)) ; 2
> (y 8)
> (displayln (sum)) ; 9
>
>
> ~slg
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/QO0uwg7I2YeD0nczzY77m3RVr6TceC-IY1YunNNYqiq55n_bjHpKh-Rnf5xo1zGgLa44giG3SmxwhenvbHt84u4J4Rm6M2whybBOpWxuCtY%3D%40sagegerard.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAORuSUw8fDe8CtxKH-gCke3hoWnhekUHMx8B9DxvYcn8HwaHnw%40mail.gmail.com.


Re: [racket-users] Showing off Goblins' time-traveling-debugging support in Terminal Phase

2020-01-27 Thread Christopher Lemmer Webber
And then I just noticed you had sent such an email immediately after ;)

Christopher Lemmer Webber writes:

> I'm definitely interested in reactive patterns, so please give me a
> heads up with whatever you have whenever :)
>
> Sage Gerard writes:
>
>> Nice, I'll actually be competing with a flavor of MaiaVictor's library
>> for reactive models. Time travel is a great add!
>>
>>  Original Message 
>> On Jan 26, 2020, 3:07 PM, Christopher Lemmer Webber wrote:
>>
>>> Not the most interesting part of Spritely Goblins (that is in the
>>> async/distributed stuff, to-be-demo'ed), but something I wrote about
>>> recently and maybe I should link here too:
>>>
>>> https://dustycloud.org/blog/goblins-time-travel-micropreview/
>>>
>>> Of course, as functional programmers, time-travel isn't that novel.
>>> What's more interesting is how to make it comfortable* when we have many
>>> independently acting objects.
>>>
>>> More to come later.
>>>
>>> - Chris
>>>
>>> * Without introducing the m-word** (which isn't very comfortable for
>>> many)
>>>
>>> ** monad***
>>>
>>> *** one could argue that Goblins kind of can be perceived of as an
>>> implicit monad but the important thing is that this framing is not
>>> exposed to users
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Racket Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to racket-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/racket-users/87o8uq2d7s.fsf%40dustycloud.org.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/87k15c3k1b.fsf%40dustycloud.org.


Re: [racket-users] Showing off Goblins' time-traveling-debugging support in Terminal Phase

2020-01-27 Thread Christopher Lemmer Webber
I'm definitely interested in reactive patterns, so please give me a
heads up with whatever you have whenever :)

Sage Gerard writes:

> Nice, I'll actually be competing with a flavor of MaiaVictor's library
> for reactive models. Time travel is a great add!
>
>  Original Message 
> On Jan 26, 2020, 3:07 PM, Christopher Lemmer Webber wrote:
>
>> Not the most interesting part of Spritely Goblins (that is in the
>> async/distributed stuff, to-be-demo'ed), but something I wrote about
>> recently and maybe I should link here too:
>>
>> https://dustycloud.org/blog/goblins-time-travel-micropreview/
>>
>> Of course, as functional programmers, time-travel isn't that novel.
>> What's more interesting is how to make it comfortable* when we have many
>> independently acting objects.
>>
>> More to come later.
>>
>> - Chris
>>
>> * Without introducing the m-word** (which isn't very comfortable for
>> many)
>>
>> ** monad***
>>
>> *** one could argue that Goblins kind of can be perceived of as an
>> implicit monad but the important thing is that this framing is not
>> exposed to users
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/racket-users/87o8uq2d7s.fsf%40dustycloud.org.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/87lfps3k2b.fsf%40dustycloud.org.


[racket-users] What are you folks up to this week?

2020-01-27 Thread Stephen De Gabrielle
New week, new Racket! What are you folks up to? Answer here or on

  - https://racket.slack.com/ (Sign up at 
https://racket-slack.herokuapp.com/ )
  - `#racket` IRC on freenode.net https://botbot.me/freenode/racket/
  - Tweet @racketlang on Twitter
  - Racket discord https://discord.gg/6Zq8sH5
  - 
[r/racket](https://www.reddit.com/r/Racket/comments/eumzxf/whats_everyone_working_on_this_week/?utm_source=share_medium=web2x)
 
   
Don’t forget to sign up for, and contribute Racket News to Racket News at 
https://racket-news.com/ 
AND submit your links to Racket Stories https://racket-stories.com/


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/cd211aca-8822-43d3-8ff2-8e4de6d7f179%40googlegroups.com.


Re: [racket-users] resources for learning JS / React?

2020-01-27 Thread Hendrik Boom
Just wondering:  Is there a #lang for javascript?

-- hendrik

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200127122117.q34n2nsoprcz2amh%40topoi.pooq.com.


[racket-users] Re: Running DrRacket on Chromebook

2020-01-27 Thread Stephen De Gabrielle
Hi Shu-Hung, 

I didn't see a response from any chromebook+racket users.

Were you able to find a way to run Racket/DrRacket on your Chromebook?

I'm not a chromebook user but my limited experience is the linux installer 
normally works:
  https://download.racket-lang.org/racket-7-5-x86_64-linux-sh.html

If you did get it going I'd be very interested if you had any issues and 
how you resolved them? (I'd like to add them to the Racket Wiki.)

Kind regards, 

Stephen


On Wednesday, January 8, 2020 at 5:04:29 AM UTC, Shu-Hung You wrote:
>
> Hi Racketeers, 
>
> How can I run Racket/DrRacket on a Chromebook? 
>
> I found two ways to run Linux on top of Chromebook, and thus two ways 
> to run DrRacket: 
>
> 1. Built-in Linux (Beta) App 
> 2. Crouton, but requires entering developer mode 
>
> When Linux App is not available, is Crouton the only option left? 
>
> Best, 
> Shu-Hung 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/622a30ae-609b-416e-a8e6-bbc336db8085%40googlegroups.com.


[racket-users] Re: resources for learning JS / React?

2020-01-27 Thread Sean Kemplay

This is a good (free) course that takes you the lates best practices of JS 
(getting more functional), react and then react native.

https://www.edx.org/course/cs50s-mobile-app-development-with-react-native


On Saturday, January 25, 2020 at 6:56:57 PM UTC, 'John Clements' via 
users-redirect wrote:
>
> I have a graduate student that wants a self-guided introduction to JS and 
> React. The problem here, to some degree, is that there are so *many* 
> introductions. Does anyone here have specific references that might be 
> helpful? (Say, e.g., if Gregor Kiczales did a JS course on coursera… that 
> would be pretty much perfect.) 
>
> John 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/c433373a-3135-426d-90f3-f5d79032d38c%40googlegroups.com.