
general is fine. I don’t know much about Windows gui, but take a look at:
Also see “window.rkt” next to it.
Having the main loop in a single(?) threaded C program is slightly different to having the main loop in a garbage collected language like Racket. Poke around in the Windows part of mred to see how racket/gui set up the event loop.

Also: great project idea!

Wrt missing errors - that’s sadly to be expected when writing C bindings. There is no error checking at the C side, so if there are any mistakes in the types you attach in your bindings, then crashes occur. Best advice is to test every little piece as you go. That makes it easier to find problems early.

Oh, just regular structs.

In particular, I’m working on the code formatter for Racket (https://github.com/sorawee/fmt). The algorithm uses memoization keyed by documents, which is really huge, making equal?
-based hash table unviable. So I need to use hasheq
instead.

Woa, thanks for the links; that example looks like it’ll be extremely helpful!

I’m working on a package for Atom/RSS/podcast feeds and having difficulty with the package/collection name. I don’t want to use “rss” in the name because that would seem to exclude Atom. I don’t want to use “feed” because it’s ambiguous when referring to the library itself in the documentation. I then changed everything to “syndicate” (which would have been perfect since it can also refer to a self-organized group of racketeers) but I found out today that that’s taken!

atom-rss subscriber podcast-feed

Hmm thanks. 1 and 3 don’t seem to capture the full scope, and 2 isn’t right because the library is mainly for publishing feeds, not fetching and parsing. (Yet?)

Since the future scope isn’t clear, maybe some other “creative” and less-descriptive name, like what you tried to do with Syndicate?

syndication feed-publisher publicist

You can always put “atom” “rss” “feed” as keywords in the pkg catalog for discovery.

True. Looking at options along the creative route now too

I mean in the Clojure community people pick very “weird” names and maybe they take it too far :smile: but there’s something to be said for leaving things open-ended.

Looks like ticker
is available

I don’t know, something like “bento” because it’s a box of food?

Ah yeah the subscriber / ticker thing makes sense too!

I have a weakness for epic bike-shedding threads to pick names, so I’ll just shut up now and leave. :smile:

OK one more idea in deference to @soegaard2, “Smorgasbord” or “Smorrebrod” now I’m done really.

Smørrebrød !

You are thinking outside the bento box.

I hope the pkg server can handle you weird zero characters. :stuck_out_tongue:

grainbin auger iowa

Now I want sushi for lunch :slightly_smiling_face:

Bento box… yumm

do we have something like syntax-srcloc
, i.e. extract a srcloc instance from a syntax object?

It’s recently added. Will be in 8.3

awesome!

Meanwhile, you can use build-source-location
(which is actually more general)

Thank you!