How to handle conflicts in packages?

27 views
Skip to first unread message

David Storrs

unread,
Jun 5, 2020, 11:20:44 AM6/5/20
to Racket Users
I uploaded a new module, 'thread-with-id', and the package server tells me that there are conflicts.  The message is:

 doc "main":
  ekans lti-freq-domain-toolbox protobuf thread-with-id

I'm not sure what this means -- I've looked through the ekans, lti-freq-domain, and protobuf modules and none of them have a thread-with-id function listed in the docs.

Is there anything I can do to resolve this?

Sam Tobin-Hochstadt

unread,
Jun 5, 2020, 11:28:37 AM6/5/20
to David Storrs, Racket Users
This most likely means that your documentation is in a file with a generic name like manual.scrbl which those packages also use. 

Sam

--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAE8gKofxWjWhHMs1EReWOxw3ZNXCsLi5WOWgHzKVrbbRXFwWPQ%40mail.gmail.com.

James Platt

unread,
Jun 5, 2020, 11:57:23 AM6/5/20
to Racket Users
I'm looking at profiling some code for performance and tried out the Racket profile package but I'm not sure what the numbers mean.

Here is a very simple example:
https://stackoverflow.com/questions/23988370/thorough-guide-for-profiling-racket-code

Here's a run from my actual code:
https://gitlab.com/snippets/1983422

What is Total, versus Self versus Local? Even in the simple, single threaded, example the percentages add up to much more than 100. So how do they relate to each other? Does this mean that some items are multi-step processes which include some of the other items? In the multi threaded example, are some processes concurrent and, therefore, representing simultaneous execution on different processor cores? In any case, the point is to be able to look at the output and figure out where the code is taking a lot of time. If I am guessing correctly the numbers in the Idx column actually represent blocks of code (s-expressions?) rather than lines of text in the code.

David Storrs

unread,
Jun 5, 2020, 12:04:06 PM6/5/20
to Sam Tobin-Hochstadt, Racket Users
Got it. I'll change that, and thank you.
Reply all
Reply to author
Forward
0 new messages