> On Nov 10, 2015, at 3:13 AM, Daniel Brunner wrote:
>
> Hi,
>
> has anybody done some "Internet of Things" stuff with Racket? I am
> looking for some applications which use e.g. MQTT[*] either as a broker
> or client and I couldn't find anything on the internet or in the
Hi Daniel,
I have the start of an MQTT client laying around, but it's pretty
ugly. It was basically me poking around and exploring the protocol.
https://github.com/concurrency/plumb2/blob/master/mqtt.rkt
https://github.com/concurrency/plumb2/blob/master/mqttest.rkt
It's lying in the middle of a
>
> Just built a monitoring system for a solar house using a server written in
> Racket. No MQTT, though, we just used plain old HTTP request-based messaging,
> and it worked fine.
Yeah, that was my first attempt as well. I have written it in Common
Lisp several months ago. For teaching
Hey Matt,
thanks for the hint; I am going to have a look into your files. At the
moment it's mainly for teaching purposes.
Best wishes,
Daniel
Am 10.11.2015 um 17:37 schrieb Matt Jadud:
> Hi Daniel,
>
> I have the start of an MQTT client laying around, but it's pretty
> ugly. It was basically
Use Horner's rule.
/Jens Axel
2015-11-06 22:27 GMT+01:00 Dave Yrueta :
> Hi All —
>
> Given a list of constants (a0, a1… an) and a list of x-values (x0,
> x1,….xn), I want to write a function in Racket that produces the function
> p(x) = a0 + a1(x - x0) + a2(x - x0)(x - x1)
A few useful resources:
Matrices
http://docs.racket-lang.org/math/matrices.html?q=matrix
GNU Scientific Library
http://planet.racket-lang.org/package-source/wmfarr/mzgsl.plt/3/0/planet-docs/mzgsl/index.html
Science Collection
Going briefly off-topic for Racket...
Definitely be encouraged to experiment in the "IoT" network-connected
device space, as hobbyists, DIYers, or researchers. But be very careful
with big IoT investments. Also be skeptical of current off-the-shelf
IoT products and specs, for security- or
The docs
(http://docs.racket-lang.org/syntax/stxparse-patterns.html#%28def._%28%28lib._syntax%2Fparse..rkt%29._pattern-expander%29%29)
give an example, ~maybe, that doesn't actually work:
> (define-syntax ~maybe
(pattern-expander
(syntax-rules ()
[(~maybe pat ...)
I’m preparing a slideshow for this weekend, and I had been using
unstable/gui/slideshow to get tabular. My Racket couldn’t find it, so I
rebuilt from source, and I still can’t find it. Am I looking in the wrong
place, is it gone, should I be using something else?
Geoff
--
You received this
The `unstable-lib` package, which provides `unstable/gui/slideshow` is
not included in the main distribution anymore. It needs to be installed
explicitly:
raco pkg install unstable
Vincent
On Tue, 10 Nov 2015 17:46:29 -0600,
Geoffrey S. Knauth wrote:
>
> I’m preparing a slideshow for this
Thank you Vincent, that worked, and my presentation runs again as before.
Thank you also Sam for your suggestion (raco pkg install unstable-lib), which I
just saw but did not try because I was already running again.
Geoff
> On Nov 10, 2015, at 21:25 , Vincent St-Amour
I'm currently experimenting with Tony's racket/stomp package that you might
want to check out, too.
The idea is to provide more generic messaging services for liitin.org project,
not just IoT but also between people, software services, cloud computing and
such. Initial target is an
Oh, oops. I hadn't realized that syntax-rules using syntax-protect could cause
problems.
This works though:
(define-syntax ~maybe
(pattern-expander
(lambda (stx)
(syntax-case stx ()
[(~maybe pat ...)
#'(~optional (~seq pat ...))]
I'll open a pull request to fix
Those are great resources! Thanks!
Jens Axel Søgaard writes:
> A few useful resources:
>
> Matrices
> http://docs.racket-lang.org/math/matrices.html?q=matrix
>
> GNU Scientific Library
>
> http://planet.racket-lang.org/package-source/wmfarr/mzgsl.plt/3/0/planet-docs/mzgsl/index.html
>
>
Ok, I just opened https://github.com/racket/racket/pull/1133, which fixes this
so that syntax-rules still works.
> On Nov 10, 2015, at 6:19 PM, Alex Knauth wrote:
>
> Oh, oops. I hadn't realized that syntax-rules using syntax-protect could
> cause problems.
>
> This
15 matches
Mail list logo