pocmatos
2019-11-15 08:00:02

Thanks for pointing me to this comment.


wwall
2019-11-15 08:07:51

exists simple way for debuging/tracing macros?


notjack
2019-11-15 08:09:02

@wwall I usually use the Macro Stepper in DrRacket


wwall
2019-11-15 08:29:18

@notjack thanks. i understood this code


sorawee
2019-11-15 08:52:33

@pocmatos: from https://racket-news.com/2019/11/racket-news-issue-19.html:

> Some data about the activity in the Racket et al. repositories, for the month of September, 2019.

Shouldn’t this be October? As I understand, September is already featured at https://racket-news.com/2019/10/racket-news-issue-17.html


pocmatos
2019-11-15 08:53:50

@sorawee oh dear, you’re right.


pocmatos
2019-11-15 08:53:58

Thanks - will fix.


pocmatos
2019-11-15 08:56:40

Should be fixed in the next 2 mins.


jerome.martin.dev
2019-11-15 09:38:47

Hey! Thanks for making this! It’s funny, because I had a similar idea some years ago and created https://github.com/euhmeuh/command-tree I think my version is not as advanced as yours, but maybe you could get inspired. On my version, I put the focus on providing a declarative way to create command trees, with just a name for the command, and a function to call (or a sub-tree). Maybe a Racket lang or a macro around your lib could be an interesting improvement?


popa.bogdanp
2019-11-15 10:26:29

It looks like the package server has stopped picking up changes since at least yesterday. @jeapostrophe @tonyg

I added this package1 about ~24 hours ago and its metadata hasn’t been picked up yet. Other packages that I’ve changed 2–3 days ago haven’t been updated either.


samth
2019-11-15 15:46:08

This looks fixed now?


popa.bogdanp
2019-11-15 16:21:17

Looks like it!


deactivateduser60718
2019-11-15 16:26:33

Hey @jerome.martin.dev, and thank you! I did take a look at this collection and only did not use it due to a difference in coding style and audience. I intentionally leveraged a filesystem coupling so that changing the CLI could be very mechanical (e.g. rm removes a command, mv can put a command under a new parent, etc), and so that I didn’t have to keep editing a central specification. I definitely view my approach as niche, and useful only to those who think similarly about the problem.


deactivateduser60718
2019-11-15 16:31:28

Hey devs, I was about to cross post another project update here but I’m starting to feel like I’m contributing noise around messages for people asking for help. Would it be worth creating a Slack channel for people like me to share updates so I don’t distract?


soegaard2
2019-11-15 16:33:02

Posting here is fine (it’s not that there are a big discussion going on at the moment).


deactivateduser60718
2019-11-15 16:33:07

Ok.


deactivateduser60718
2019-11-15 16:33:10

In that case:


deactivateduser60718
2019-11-15 16:33:24

soegaard2
2019-11-15 16:33:51

Post it to Racket Stories too!


deactivateduser60718
2019-11-15 16:33:56

Where is that?



deactivateduser60718
2019-11-15 16:34:15

Ah, sweet. Thank you


deactivateduser60718
2019-11-15 16:37:44

@soegaard2 Unfortunately I can’t register. Submitting the Create Account form results in a refresh with no feedback, even on the console. Trying to log in right after does the same. Using Firefox.


soegaard2
2019-11-15 16:38:21

I’ll take a look.


deactivateduser60718
2019-11-15 16:38:43

Thanks. PM or email me if you need me to do some legwork.


soegaard2
2019-11-15 16:50:01

I decided to be conservative (maybe too conservative) wrt user names.


deactivateduser60718
2019-11-15 17:46:12

@mflatt Re: _enum in a FFI, what’s the overhead on translating a symbol to the associated numerical value? Is it just a hash lookup?


mflatt
2019-11-15 17:48:16

Looks like it’s a association-list lookup. Maybe it should change to a hash lookup, especially if there are more than a few symbols.


deactivateduser60718
2019-11-15 17:50:39

Ah, thanks. I don’t know my worst-case, but there’s one example that comes to mind that has over 100 ~members~ enumerants.


badkins
2019-11-15 21:36:57

Is there an inverse of cookie->header ? I need to handle session timeouts, and one option is for my “front controller”, which delegates to various handlers, to modify the expiration of a cookie. However, by the time the response is available, cookies have already been converted to headers. I will likely need to wrap request and response with my own data structures, but I was hoping to postpone that for a bit.


badkins
2019-11-15 21:38:00

In hindsight, it seems that the response should have a set of cookies, and they would be converted to headers later in the pipeline.


notjack
2019-11-15 21:47:36

Don’t know, but any time I see cookie and header processing that’s singular I get mildly terrified, because Set-Cookie is literally called out in the http header parsing spec as a special case that cannot be transmitted as a single header. For all other headers, you can merge headers with the same name by joining their values with ; (or maybe it’s ,, I don’t remember). But you can’t with Set-Cookie because it’s grammar was designed by browsers before there were any specs at all for http


badkins
2019-11-15 22:03:10

I don’t really like the idea of parsing the header to get the cookie back anyway. I think I’ll need to create my own request/response data structures - best to do that when the number of handlers I have is relatively small.


deactivateduser60718
2019-11-15 22:40:32

:tada: https://github.com/zyrolasting/racket-vulkan is now at 1.0. Breaking changes will no longer be the norm during development.


zdot101
2019-11-16 00:07:54

@zdot101 has joined the channel


jingjingfan
2019-11-16 02:12:24

@jingjingfan has joined the channel