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

Re: [racket-users] Create an identifier in syntax

2020-01-23 Thread Sean Kemplay
Hi Ryan, Thank you SO much for that explenation! Everything now clicks!! Sean On Thursday, January 23, 2020 at 4:12:44 PM UTC, Ryan Culpepper wrote: > > On 1/23/20 3:59 PM, Sean Kemplay wrote: > > Hello, > > > > I am exploring macros and am trying to define a variab

[racket-users] Create an identifier in syntax

2020-01-23 Thread Sean Kemplay
Hello, I am exploring macros and am trying to define a variable at the top level (with the goal in mind to dynamically define a group of functions from a macro). with-syntax works fine however I was just wondering if it is possible to directly inject an identifier as syntax within syntax - som

Re: [racket-users] Abstract run times (HTDP)

2019-05-24 Thread Sean Kemplay
Thanks Matthias, I think I have it now, much appreciated. On Friday, May 24, 2019 at 2:24:57 PM UTC+1, Matthias Felleisen wrote: > > > > > On May 24, 2019, at 6:27 AM, Sean Kemplay > wrote: > > > > Hi all, > > > > I trying to work out the ART of the

[racket-users] Abstract run times (HTDP)

2019-05-24 Thread Sean Kemplay
Hi all, I trying to work out the ART of the sum-tree question from HTDP2e. I have worked through the book before however am going through it again, this time am doing every exercise - this is not homework! Here is my data defenitions, examples, a function ror summing up the contents and tests

[racket-users] lists.racket-lang.org seems to be down

2019-04-17 Thread Sean Kemplay
H All, Just reporting that https://lists.racket-lang.org/ seems to be down. I have tried on both my laptop and phone. Sean -- 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

Re: [racket-users] Subproceses in Windows

2018-11-05 Thread Sean Kemplay
Thanks George, that explains it perfectly. On Monday, November 5, 2018 at 5:11:04 PM UTC, gneuner2 wrote: > > > > On 11/5/2018 11:49 AM, Sean Kemplay wrote: > > Hi All, > > I am trying to open windoes explorer from Racket using the following - > > (syste

[racket-users] Subproceses in Windows

2018-11-05 Thread Sean Kemplay
Hi All, I am trying to open windoes explorer from Racket using the following - (system* "cmd" "start" "explorer.exe") However it is not working and #f is being returned. This works fine from Go and even VBScript! Anyone know what I am missing? Kind regards, Sean -- You received this message

[racket-users] Webserver HTTP 2

2017-05-03 Thread Sean Kemplay
Hello, Does anyone know if the Racket webserver will support http2 at any stage? Kind regards, Sean -- 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-user

Re: [racket-users] [Library Announcement] CSS-expressions, Pollen Component and Extensible Functions

2017-02-13 Thread Sean Kemplay
I will definitely check out the CSS package this weekend! On 13 Feb 2017 13:48, "Leandro Facchinetti" wrote: > Hi all, > > I’m here to announce three packages I published recently, because I want > feedback from the community: > > - CSS-expressions: S-expression-based CSS. > https://docs.racke

Re: [racket-users] Safely using port->string where nothing has been written to the port

2017-01-24 Thread Sean Kemplay
~23~25kernel%29._byte-ready~3f%29%29 > > > > On Mon, Jan 23, 2017 at 6:05 AM, Sean Kemplay wrote: > Hello, > > > > I am using the URL library to interact with a REST API. > > > > One of the Endpoints sends returns no content for a POST request with a &

[racket-users] Safely using port->string where nothing has been written to the port

2017-01-23 Thread Sean Kemplay
Hello, I am using the URL library to interact with a REST API. One of the Endpoints sends returns no content for a POST request with a status code of 204 (a little unusual however it is an external API so we have to cater to it). I can check the status code for 204 and only apply string->port

Re: [racket-users] Testing an HTTPS (over HTTP CONECT) proxy

2016-08-10 Thread Sean Kemplay
Hi Tim, This is great, the whole proxy thing has been an issue for me as well - I took a stab at doing something like this last year but couldn't get it working. I have access to a trend and scansafe proxy so can physically test against those if you want. Kind regards, Sean On Tuesday, August

[racket-users] Transforming data for plot / discreet-histogram

2016-06-07 Thread Sean Kemplay
Hello, Something like the following would be ideal to build a histogram from a sequence of values read in via CSV #lang racket (require math) (require plot) (discrete-histogram (samples->hash '(1 2 3 4 4))) However discreet histogram takes a list of vectors. Is there a way to achieve somethin

[racket-users] Web-server multi core

2016-03-29 Thread Sean Kemplay
Hi all, There have been multiple queries about utilising multiple cores with Racket's webserver and also some ideas put forward by Jay and others. Has anyone got something working they would be willing to share? I am really hoping to use racket over clojure for a new project but making use of a

[racket-users] Nested HTML templates

2016-03-29 Thread Sean Kemplay
Hello, Has anyone had any experience using web-server/template? If so do you have any suggestions on how to best/compose so there is a base template with placeholders being filled by other templates (which could in turn have even deeper nesting themselves)? Kind regards, Sean -- You received

[racket-users] Re: raco pkg install behind proxy

2015-10-09 Thread Sean Kemplay
Hi Tim, The net/http-client library (last time I looked) does not currently support SSL tunneling which would be required for ssl connections through a proxy such as squid. net/url builds on net/http-client and also does not have that support. Link to what Squid has to say about tunneling -

Re: [racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-14 Thread Sean Kemplay
On Friday, August 14, 2015 at 3:41:04 PM UTC+1, Sean Kemplay wrote: > On Friday, August 14, 2015 at 10:22:03 AM UTC+1, Sean Kemplay wrote: > > On Wednesday, August 12, 2015 at 9:54:23 PM UTC+1, Sean Kemplay wrote: > > > On Wednesday, August 12, 2015 at 12:54:10 PM UTC+1,

Re: [racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-14 Thread Sean Kemplay
On Friday, August 14, 2015 at 10:22:03 AM UTC+1, Sean Kemplay wrote: > On Wednesday, August 12, 2015 at 9:54:23 PM UTC+1, Sean Kemplay wrote: > > On Wednesday, August 12, 2015 at 12:54:10 PM UTC+1, Jay McCarthy wrote: > > > On Tue, Aug 11, 2015 at 10:24 AM, Sean Kemplay >

Re: [racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-14 Thread Sean Kemplay
On Wednesday, August 12, 2015 at 9:54:23 PM UTC+1, Sean Kemplay wrote: > On Wednesday, August 12, 2015 at 12:54:10 PM UTC+1, Jay McCarthy wrote: > > On Tue, Aug 11, 2015 at 10:24 AM, Sean Kemplay > > wrote: > > > Hi All, > > > > > > Sending an http re

Re: [racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-12 Thread Sean Kemplay
On Wednesday, August 12, 2015 at 12:54:10 PM UTC+1, Jay McCarthy wrote: > On Tue, Aug 11, 2015 at 10:24 AM, Sean Kemplay wrote: > > Hi All, > > > > Sending an http request through our corporate proxy works as follows for > > http requests -> > > > > (

[racket-users] HTTPS connection through proxy (CONNECT HTTP Method)

2015-08-11 Thread Sean Kemplay
Hi All, Sending an http request through our corporate proxy works as follows for http requests -> (define-values (x y z) (http-sendrecv "10.0.0.200" "http://www.example.com"; #:port 8080 #:headers '( "Proxy-Authorizatio

[racket] Discussion of racket on HN

2015-03-18 Thread Sean Kemplay
For those that are interested- https://news.ycombinator.com/item?id=9220468 Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Web server

2014-07-17 Thread Sean Kemplay
ver makes use of continuations, > so I expect some sort of process affinity would be necessary, where a given > user's requests are always proxied to the same worker process - is that > right? Is it common to use multiple web server processes in Racket web apps? > >> &

[racket] Web server

2014-07-16 Thread Sean Kemplay
Hello, I am interested in the racket web server for some micro services. Just wondering if by default it runs across multiple cores or if it is restricted to one due to threads in racket. Regards, Sean Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Tabulate from build-list

2012-07-31 Thread Sean Kemplay
-- Forwarded message -- From: "Sean Kemplay" Date: Jul 31, 2012 2:32 PM Subject: Re: [racket] Tabulate from build-list To: "Matthias Felleisen" Thanks Matthias, (define (tabulate f n) (build-list (+ n 1) (lambda (x) (f (- n x) I am glad I went the o

Re: [racket] Tabulate from build-list

2012-07-31 Thread Sean Kemplay
MF: you know you want build-list, > design (!) the 'loop' function now > (define (g i) ... f n i ...)) ;; <---- this is the data that's > available > (build-list (+ n 1) g))) > > Also see '2e'. > > > On Jul 30, 2012, at 4:10 PM, S

[racket] Tabulate from build-list

2012-07-30 Thread Sean Kemplay
Hello, I am looking at the exercise from htdp 1e on building the tabulate function from build-list. Would I be on the right track that I need to create a function to reverse the result of (build-list (+ n 1) f) to do this? the function this is to emulate - ;; tabulate : (x -> y) x -> (listof y

Re: [racket] arrangements exercise

2012-07-12 Thread Sean Kemplay
Thanks Matthias for yet again looking at my attempt at this exercise! Agreed Stephen, yes the purpose statement is not as clear as it could be. Great list, great book, great software. Regards, Sean Kemplay On Thu, Jul 12, 2012 at 10:21 PM, Matthias Felleisen wrote: > > On Jul 12, 2012

Re: [racket] arrangements exercise

2012-07-12 Thread Sean Kemplay
it is much appreciated. > > Sean > > On Fri, Jul 6, 2012 at 1:21 PM, Matthias Felleisen > wrote: >> >> On Jul 6, 2012, at 5:48 AM, Sean Kemplay wrote: >> >> I am going through htdp first edition (at chapter 17 which refers to >> arrangements from chapte

Re: [racket] arrangements exercise

2012-07-07 Thread Sean Kemplay
Thanks Matthias, I will go through 2e up until the arrangements exercise then make the examples to post to the list. Thank you for your time it is much appreciated. Sean On Fri, Jul 6, 2012 at 1:21 PM, Matthias Felleisen wrote: > > On Jul 6, 2012, at 5:48 AM, Sean Kemplay wrote: &g

Re: [racket] arrangements exercise

2012-07-06 Thread Sean Kemplay
Hi Matthias, Thanks for the feedback. Just a couple of questions before I give it another go if that's okay. I know there is something I need to learn from this exercise. I am going through htdp first edition (at chapter 17 which refers to arrangements from chapter 12 which is why I revisited the

Re: [racket] arrangements exercise

2012-07-05 Thread Sean Kemplay
:12 PM, Matthias Felleisen wrote: > >> >> On Jul 1, 2012, at 4:17 PM, Sean Kemplay wrote: >> >>> Looking back, I am wondering if my solution is a bit of a cheat - >>> specifically : >>> >>> (define (insert-everwhere/in-one-word s word) >>

Re: [racket] arrangements exercise

2012-07-02 Thread Sean Kemplay
s testing it in the manner demonstrated by Matthias. "Check-expect" is your friend :). > On Jul 1, 2012, at 4:12 PM, Matthias Felleisen wrote: > > > > > On Jul 1, 2012, at 4:17 PM, Sean Kemplay wrote: > > > >> Looking back, I am wondering if my solution is a b

[racket] arrangements exercise

2012-07-01 Thread Sean Kemplay
(rest a-word)))])) Any feedback welcome, Thanks, Sean Kemplay Racket Users list: http://lists.racket-lang.org/users