lexi.lambda
2017-10-6 17:17:42

Since there doesn’t appear to be an organized thing the night before this year, do any Racketeers going to RacketCon want to get dinner this evening?


stamourv
2017-10-6 17:38:09

@d_run: The most general solution would be to wrap the relevant code with (assert x real?). But depending on the specific code, you may be able to naturally get Real as a return type by tightening the arguments to whatever operations you’re using.


stamourv
2017-10-6 17:38:42

@lexi.lambda: Sure! Should be getting in in time for dinner. Currently waiting at O’Hare. :)


samth
2017-10-6 17:42:04

@lexi.lambda I think what @stamourv means to say is that he’s hoping the gods smile on him and that he leaves o’hare before tuesday :slightly_smiling_face:


stamourv
2017-10-6 17:42:43

Well, at least the food’s better here than near the office. :P


dan
2017-10-6 17:43:32

@stamourv that’s not saying very much


stamourv
2017-10-6 17:43:55

True.


samth
2017-10-6 17:51:54

has a deep dislike of O’Hare International Airport


stamourv
2017-10-6 17:53:35

Eh. I gotta admit that it’s pretty convenient to have direct flights everywhere.


lexi.lambda
2017-10-6 17:57:31

@stamourv @samth I’m just as bad; I’m currently waiting in LAX :)


samth
2017-10-6 17:57:56

probably more comfortably than this exit row


lexi.lambda
2017-10-6 18:05:50

at least it’s closer to Seattle than to St. Louis


notjack
2017-10-6 19:03:20

Sorry, can’t hear you all over the sound of my two hour long flight from SFO :)


zenspider
2017-10-6 20:58:08

I’m having an off day… why does (date-display-format 'iso-8601) (date->string (seconds->date (current-seconds))) not print the time portion? Looking at the code, it seems like it should


zenspider
2017-10-6 20:58:55

I verified that (seconds->date (current-seconds)) still has the time portion of the data… but nothing


mflatt
2017-10-6 20:59:12

Pass #t as the optional second argument


apg
2017-10-6 20:59:22

Am I crazy, or does the --clock option to slideshow not work anymore?


zenspider
2017-10-6 20:59:36

derp. told you I was having an off day :slightly_smiling_face:


zenspider
2017-10-6 21:00:16

I’m trying to follow some of the posts on lisp.sh and they refer to a lot of calls that aren’t part of racket and it is getting tedious… but I want to stick to plain racket for now


zenspider
2017-10-6 21:04:05

thanks @mflatt


zenspider
2017-10-6 21:04:39

@lexi.lambda I’ve got plans tonight. sorry. Lunch maybe?


mflatt
2017-10-6 21:07:03

@apg I don’t know; --clock seems to work for me


apg
2017-10-6 21:09:23

@mflatt I’ve used it successfully in the past, and I thought it showed up on the preview window, but not happening now.


mflatt
2017-10-6 21:09:51

It shows up on the main window for me, and not on the preview window


apg
2017-10-6 21:10:00

oh. where in the main window?


mflatt
2017-10-6 21:10:19

(I didn’t remember the --clock flag at all, but apparently I added it 4 years ago. And I never use the preview window.)


mflatt
2017-10-6 21:10:23

In small text at the bottom left


apg
2017-10-6 21:10:39

oooh yes. I see it now. it’s an actual “clock”


apg
2017-10-6 21:11:11

maybe I’m simply crazy. I could have sworn I’ve used a sort of timer on the preview window.


apg
2017-10-6 21:11:15

it was red.


apg
2017-10-6 21:11:28

but, likely I’m misremembering.


apg
2017-10-6 21:12:34

(maybe I used google present, and then thought I should add a timer to the preview window. That’s probably the most likely scenario…)


apg
2017-10-6 21:12:48

anyway. thanks for sanity checking me @mflatt!


zenspider
2017-10-6 21:30:22

doco says that the default log level is 'error but I’m getting back '(#f #f) from (log-all-levels (current-logger))


zenspider
2017-10-6 21:30:59

oh… this may be a racket-mode-ism… plain repl in terminal says 'error


zenspider
2017-10-6 21:34:08

not that I can figure out why… seems like it should work


lexi.lambda
2017-10-6 23:39:26

so… I never ate lunch today, so if anyone else is in Seattle and interested, I would be very interested in getting some food :)


lexi.lambda
2017-10-6 23:39:47

@stamourv @samth @notjack ^ ?




zenspider
2017-10-6 23:42:21

@greg yeah. even after reducing * from fatal to error I’m still not seeing anything. Not sure why


greg
2017-10-6 23:44:01

Oh in a *Racket REPL* buffer? I get: > (log-all-levels (current-logger)) '(fatal #f debug deals warning http debug aws warning cm-accomplice info GC warning module-prefetch info optimizer error racket/contract info sequence-specialization)


greg
2017-10-6 23:44:56

(I might be misunderstanding the context what you’re trying to do, or expecting)


zenspider
2017-10-6 23:45:32

in my terminal:

> (log-all-levels (current-logger))
'(error #f)

in racket-mode-repl: bserver.rkt> (log-all-levels (current-logger)) '(#f #f) with: (* . error) in the config saved for current session (and I killed the repl after)


zenspider
2017-10-6 23:46:03

then when I call (log-error "blah") I get “blah” output in the terminal and not in racket-mode-repl


greg
2017-10-6 23:46:52

Oh OK. Hmm. I’ll take a look, but might not be able to until tmr


zenspider
2017-10-6 23:47:28

… maybe I can SHOW you tomorrow? Are you going to be here?


greg
2017-10-6 23:47:35

Alas no.


zenspider
2017-10-6 23:47:40

boo!


zenspider
2017-10-6 23:48:12

kk. well… hit me up here if you need any more infos. I’ve given up and yanked the error handler from the servlet for now


greg
2017-10-6 23:48:43

Will do.


zenspider
2017-10-6 23:48:53

thanks!


greg
2017-10-6 23:49:47

btw speaking of loggers earlier this week I got stuff set up for a Racket log-receiver to also put things into AWS CloudWatch Logs for a project I’m working on.


greg
2017-10-7 00:03:09

@zenspider I can repro the problem you describe when I (setq racket-logger-config ((* . error))) and restart the REPL: Then (log-all-levels (current-logger)) returns '(#f #f) as you report. Until I figure this out: As a work-around can you try going to the *Racket Logger* buffer — e.g. in a racket-mode buffer hit C-c C-l to open it — then press l and choose * and type error? IOW set racket-logger-config using the “UI”. (That works for me).


stamourv
2017-10-7 00:46:37

lexi.lambda: Just got to the hotel, and definetly interested in dinner in the short term.


stamourv
2017-10-7 00:46:49

@samth, @notjack: ^


lexi.lambda
2017-10-7 00:47:03

@stamourv shall I meet you in the lobby?


stamourv
2017-10-7 00:47:29

5 minutes?


lexi.lambda
2017-10-7 00:47:41

sounds great


stamourv
2017-10-7 00:47:52

(Oh, and FYI, I don’t have slack on my phone.)


lexi.lambda
2017-10-7 00:48:18

you should get slack on your phone ;)


stamourv
2017-10-7 00:48:38

It’s intentional. :)


lexi.lambda
2017-10-7 01:20:23

Vincent and I are at Thanh Vi on University Way if anyone is interested in joining us


florence
2017-10-7 01:26:29

@lexi.lambda we ( @dan @shu—hung and I) will attempt to join! (Just getting off the train)


notjack
2017-10-7 02:03:29

@lexi.lambda @florence I only just got off the plane so unless your meal lasts three hours I don’t think I’ll make it :p


lexi.lambda
2017-10-7 03:02:32

@notjack we just got back from dinner; I think the Chicago folks may be turning in, but I’d be down to meet up and chat for a while :)


notjack
2017-10-7 03:03:10

@lexi.lambda I could say hi but I gotta head to bed early tonight


lexi.lambda
2017-10-7 03:03:23

oh?


notjack
2017-10-7 03:03:49

ya, didn’t get enough sleep and otherwise I’ll sleep through the morning and miss my own talk :p


lexi.lambda
2017-10-7 03:04:02

hah, that’s a good reason. see ya tomorrow then.


notjack
2017-10-7 03:04:18

kk!