badkins
2019-8-20 14:53:16

@soegaard2 I’m getting the following error when running your example in DrRacket 7.3:

. . do-super-curve: got: ((#(struct:pt 0.7880661134318665 –0.6186239064870838) #(struct:tension-and 1 1) #(struct:pt 0.999069616419709 –0.08472110347239137) #(struct:tension-and 1 1) #(struct:pt 0.9543112976041062 0.3085126975504061) #(struct:tension-and 1 1) #(struct:pt 0.765686954024065 0.6505941342125146) #(struct:tension-and 1 1) #(struct:pt 0.5099251322206195 0.8647946599729002) #(struct:tension-and 1 1) #(struct:pt 0.20301094605648506 0.9830845025569938) #(struct:tension-and 1 1) #(struct:pt –0.0655389668371329 0.999069616419709) #(struct:tension-and 1 1) #(struct:pt –0.34687697082092306 0.9383261837413908)))


badkins
2019-8-20 14:53:48

Red arrow line from line 111 to line 115


soegaard2
2019-8-20 14:54:09

I’ll check.


soegaard2
2019-8-20 14:54:43

Did you try before or after my commit 3 minutes ago?


badkins
2019-8-20 14:55:00

lol - that’s close, I don’t know. I’ll try again :slightly_smiling_face:


soegaard2
2019-8-20 14:55:46

It works here, but is possible I forgot to commit a file.


badkins
2019-8-20 14:55:53

just tried with the latest and same error


soegaard2
2019-8-20 14:56:19

Okay, let’s see.


badkins
2019-8-20 14:56:46

I just did raco pkg install metapict right before trying it


soegaard2
2019-8-20 14:57:41

If you open your local copy of that file, does it match the one on github?


badkins
2019-8-20 14:57:49

Got a few errors when installing metapict, but they’re all the same and seem harmless: “Library/Racket/7.3/pkgs/metapict/metapict/scribblings/coordinates.scrbl:3:41: module: identifier already required for label”


badkins
2019-8-20 14:59:00

soegaard2
2019-8-20 14:59:40

Try killing the repl window and run it again.


soegaard2
2019-8-20 14:59:57

Maybe the repl has an instance of the old metapict module.


badkins
2019-8-20 15:00:47

I killed DrRacket and re-started it - same error


soegaard2
2019-8-20 15:00:51

Hmm.


badkins
2019-8-20 15:01:11

oh, when you said your recent commit - were you referring to the example or metapict? I’ve only installed metapict once - just now


badkins
2019-8-20 15:01:48

I’m on a Mac 10.11.6 - I haven’t upgraded to Racket 7.4 yet


soegaard2
2019-8-20 15:02:05

Using 7.3 here too.


soegaard2
2019-8-20 15:02:25

Try replacing (require metapict) with (require "../metapict.rkt")


soegaard2
2019-8-20 15:02:48

This makes sure we are getting the metapict, where the racket-logo file is.


soegaard2
2019-8-20 15:03:24

And not some other version (I got confused by this the other day).


badkins
2019-8-20 15:03:28

. ../../Applications/Racket v7.3/share/pkgs/gui-lib/mred/private/snipfile.rkt:324:2: open-input-file: cannot open module file module path: /Users/metapict.rkt path: /Users/metapict.rkt system error: no such file or directory; rktio_err=3 no package suggestions are available .


badkins
2019-8-20 15:03:48

The racket logo file doesn’t yet exist i.e. I haven’t saved it.


soegaard2
2019-8-20 15:04:26

Wait. Did you update all of metapict or just the logo file?


badkins
2019-8-20 15:04:47

I’ve only installed metapict, and then I copied/pasted your example into DrRacket to try it out.


soegaard2
2019-8-20 15:05:14

From github or through the package server?


badkins
2019-8-20 15:05:24

copied/pasted from github


badkins
2019-8-20 15:05:53

I installed metapict via raco pkg install, but I copied/pasted the logo example from github


soegaard2
2019-8-20 15:06:38

Okay. I don’t think the package server knows I have updated on Github yet.


badkins
2019-8-20 15:06:54

so when you referred to your commit of 3 minutes ago, I only grabbed the new example - did you change metapict code also? If so, how do I update the package?


soegaard2
2019-8-20 15:07:45

Yes, I changed a lot !


badkins
2019-8-20 15:07:50

Ah :slightly_smiling_face:


badkins
2019-8-20 15:08:25

I just wanted to try an example, I tried @spdegabrielle’s example first, but it failed on blue-gradient, so I thought I’d try yours.


soegaard2
2019-8-20 15:08:32

“The results will be available after the next index refresh, which is scheduled for Tuesday, August 20th, 2019 3:11:26pm (UTC)”


badkins
2019-8-20 15:08:40

ok


soegaard2
2019-8-20 15:09:06

You can clone the repo, if you don’t want to wait.


badkins
2019-8-20 15:09:51

I don’t mind waiting - I didn’t realize it was being developed so actively.


soegaard2
2019-8-20 15:10:27

Oh!


soegaard2
2019-8-20 15:11:08

I am not sure whether I forgot to commit the logo, or whether I changed it now.


soegaard2
2019-8-20 15:11:59

My bad - I forgot to commit the “path.rkt” file.


soegaard2
2019-8-20 15:12:14

I have added user definable path operators.


soegaard2
2019-8-20 15:13:15

I.e. a user can define “operators” to connect points like the tikz operators |- and -| which connects points with horizontal/vertical lines.


soegaard2
2019-8-20 15:13:25

Sorry for the confusion.


spdegabrielle
2019-8-20 15:13:26

I’m getting permissions - maybe tomorrow


soegaard2
2019-8-20 15:17:31

Pushed the forgotten file to github.


badkins
2019-8-20 15:24:24

Thanks. Sort of works now. I have a black background, so at first I couldn’t see the rendered logo until I selected it to get reverse highlighting


soegaard2
2019-8-20 15:33:57

:slightly_smiling_face:


yfangzhe
2019-8-20 15:47:54

Maybe we can create a “racket-users” or other better name origination on github to make this repo, and other future things.


samdphillips
2019-8-20 16:52:18

@spdegabrielle I give you permission to package https://github.com/samdphillips/pixel-fish into a standard fish package :slightly_smiling_face:


samdphillips
2019-8-20 16:53:25

I can add an explicit LICENSE / add copyright notices as well to the repo if that makes it easier