pocmatos
2018-6-27 08:45:45

Does anybody know if there’s a racket implementation of the influxdb http api? I need this so if there’s nothing I will have a go at it.


pocmatos
2018-6-27 11:16:08

@jbclements I noticed this message from you from 2015 in the mailing list: https://groups.google.com/forum/#!msg/racket-users/lsZhFjUaQwE/R7GQqs9NFQAJ Did you by any chance developed an influxdb lib for racket?


lexi.lambda
2018-6-27 16:41:20

@mflatt I left this comment on a commit of yours a couple weeks ago, but I’m not sure it was the best place to ask. I’m still curious, though. Is this documented anywhere, and if it isn’t, should it be? https://github.com/racket/racket/commit/c7318cab33de113ec475d7e9fd6b0ceab8fcb61d#commitcomment-29343141


leif
2018-6-27 20:20:10

@lexi.lambda You left 'only in the docs:



leif
2018-6-27 20:20:25

Was that intentional?


lexi.lambda
2018-6-27 20:20:45

no, it wasn’t intentional; good catch.


leif
2018-6-27 20:20:46

(I ask because the rest of your commit doesn’t seem to acknowledge it anywhere.)


leif
2018-6-27 20:20:49

Okay cool.


leif
2018-6-27 20:20:54

Do you want to patch it or should I?


lexi.lambda
2018-6-27 20:21:12

if you’re willing to push a fix, that’d be great.


mflatt
2018-6-27 20:31:15

@lexi.lambda As you suspect, I missed that comment/question. Now answered.


lexi.lambda
2018-6-27 20:39:21

@mflatt thank you!


leif
2018-6-27 20:43:19

@lexi.lambda Okay cool, i’ve submitted a a PR: https://github.com/racket/racket/pull/2153


leif
2018-6-27 20:43:29

I’ll go ahead and merge it if you give it the okay.


leif
2018-6-27 21:59:31

@mflatt Is set! the only way to update an undefined (as provided by racket/undefined)


leif
2018-6-27 21:59:51

(Basically looking for ways to tie the knot with classes.)


leif
2018-6-27 22:00:26

(or Scala’s lazy val)


mflatt
2018-6-27 22:05:51

@leif Maybe I don’t understand the question, but set! isn’t necessary the only way to replace an undefined. If the undefined is in a vector, then vector-set! can replace it; if it’s in a field of a struct, then a field mutator can replace it; and so on.


leif
2018-6-27 22:42:30

Okay. So basically it can only be updated like any other value.


leif
2018-6-27 22:42:46

(Basically, I sort of wanted a…err…write once box, so to speak.)


leif
2018-6-27 22:43:12

(For use with serialize)


samth
2018-6-27 22:53:03

@leif perhaps a better way to phase it is that undefined is a value like any other


leif
2018-6-27 23:22:47

@samth fair


notjack
2018-6-28 01:40:44

If Shakespeare was a racketeer he’d wonder if undefined by any other name compare as eq?