spdegabrielle
2020-7-29 09:12:10

there is a blog post that covers this in detail



samth
2020-7-29 13:47:59

A small thing that would make life better is to automate the --lookup part, by just looking at the next catalog in the list.


mflatt
2020-7-29 15:28:21

Changes to the racket repo are pushed, so let me know if you run into problems.


joel
2020-7-29 15:50:11

Thanks @spdegabrielle , bookmarked. I thought I remembered seeing this but forgot it was a blog post and couldn’t find the link on the home page anywhere.


jaz
2020-7-29 15:52:05

"<https://github.com/racket/racket/compare/89831c01f6f9…0d279ca06dc4|999 new commits> pushed to https://github.com/racket/racket/tree/master\|master"


sorawee
2020-7-29 15:57:50

Yeah, I was wondering if this is because there are really 999 commits or GitHub can count only up to 999.


laurent.orseau
2020-7-29 15:59:49

The latter would be rather surprising


samth
2020-7-29 16:16:16

I ran make cs-as-is in an existing checkout and it failed: cd ../../../cs/c/../../ChezScheme &amp;&amp; ./configure --pb --machine=ta6le --disable-x11 --disable-curses CC="gcc" CFLAGS="-g -O2 -Wall -DELF_FIND_BOOT_SECTION -pthread" LDFLAGS="-pthread" AR="ar" ARFLAGS="rc" RANLIB="ranlib" WINDRES="windres" No suitable machine type found in "boot". Available machine types: * Since no directory in "boot" exists for pb, you can try using Racket v7.1 or later with racket rktboot/main.rkt --machine pb to create the boot files, and then try ./configure again.


mflatt
2020-7-29 16:17:51

Well, that’s as expected. make as-is means “don’t download anything”, and you need to download pb. So, it’s a feature that this failed.


mflatt
2020-7-29 16:18:44

If you were stuck without internet access, you could configure with --enable-racket to not need pb, but probably that’s not what you want.


mflatt
2020-7-29 16:18:57

If you want to just download pb, use make fetch-pb.


samth
2020-7-29 16:18:57

I just did make cs and it works.


sorawee
2020-7-29 16:56:30

Can anyone help me parsing:

> The first two arguments name a procedure in a module that is loaded by dynamic-require is specially designed separate place. ? I re-read it for like 10 times now and I still don’t know what is the main verb in this sentence



jaz
2020-7-29 16:58:03

Best guess? That second is should be in a.


sorawee
2020-7-29 16:58:40

That makes much more sense


laurent.orseau
2020-7-29 17:03:10

Someone needs to do more Quining: > The first two arguments name a procedure in a module that is loaded by “dynamic-require is specially designed separate place.” or > “The first two arguments name a procedure in a module that is loaded by dynamic-require” is specially designed separate place. Both make a lot of sense to me!


samth
2020-7-29 17:06:48

I just tried make both and got /bin/sh: 1: RUN_RACKET_MMM@: not found


sorawee
2020-7-29 17:07:22

Question for @spdegabrielle and @laurent.orseau: if I participate in the quickscript competition, can I host the code in a repo instead of a gist? It will be contained in one file. I simply dislike gist.


laurent.orseau
2020-7-29 17:08:09

Absolutely! I was planning to bundle all scripts from the competition in a package once it’s over, but if you prefer it to be in your own package that works too!


sorawee
2020-7-29 17:09:24

Another question, and this one is extremely important: can you help me coming up with the entry name? :joy:


laurent.orseau
2020-7-29 17:09:26

If you write your own package, you should copy/adapt this file so that your scripts’ directory is registered in quickscript’s library and is readily available


laurent.orseau
2020-7-29 17:09:42

sure :smile:


laurent.orseau
2020-7-29 17:09:51

Do you have an idea yet?


sorawee
2020-7-29 17:09:59

It’s implemented


laurent.orseau
2020-7-29 17:10:25

Sounds like “implemented” is the name?


laurent.orseau
2020-7-29 17:10:27

:stuck_out_tongue:


sorawee
2020-7-29 17:10:39

So, it’s exactly like your dynamic completion, except that it uses static analysis so that only valid identifiers are shown


laurent.orseau
2020-7-29 17:10:48

nice!!


spdegabrielle
2020-7-29 17:10:48

Doomsday-device


laurent.orseau
2020-7-29 17:11:03

better-dynamic-completion?


spdegabrielle
2020-7-29 17:11:10

Mind-control-ray


sorawee
2020-7-29 17:11:29

I want to add a word that adds “uncertainty” to the name


laurent.orseau
2020-7-29 17:11:29

dynaplete?


sorawee
2020-7-29 17:11:36

Like “dubious”


sorawee
2020-7-29 17:11:46

Or “fishy”


sorawee
2020-7-29 17:11:53

Because it’s actually pretty fishy lolol


spdegabrielle
2020-7-29 17:11:59

Dubious-dynamic-completion?


sorawee
2020-7-29 17:12:37

Actually, if I name it fishy-dynamic-completion, is it qualified for the standard fish competition as well? :joy:


spdegabrielle
2020-7-29 17:13:59

:rolling_on_the_floor_laughing:


laurent.orseau
2020-7-29 17:14:05

hahaha, very good


laurent.orseau
2020-7-29 17:15:05

Dynalex completion?


sorawee
2020-7-29 17:15:08

I don’t think I will do that, because I’m not planning on publishing it to the package server.


sorawee
2020-7-29 17:15:38

What’s “Dynalex”?


laurent.orseau
2020-7-29 17:16:01

That also works with raco pkg install &lt;github-link&gt;


laurent.orseau
2020-7-29 17:16:26

dynamic lexical-based completion?


sorawee
2020-7-29 17:16:43

Ah, sound cool


laurent.orseau
2020-7-29 17:17:10

But if we include it in the competition’s package, you don’t need to make it a package yourself


sorawee
2020-7-29 17:17:30

Right, feel free to include it in the competition package


sorawee
2020-7-29 17:17:37

I don’t plan on including info.rkt


laurent.orseau
2020-7-29 17:17:50

Btw, you can also use gitlab snippets and pasterack, but they are based on the same principles as gist (a little worse actually)


sorawee
2020-7-29 17:19:05

I guess what I really want is a README file and shows things nicely. Gist probably can do that, too, but its UI is worse. Also Gist is easier to be “buried”


laurent.orseau
2020-7-29 17:19:07

Does it provide only ids that are in-scope?


mflatt
2020-7-29 17:19:12

That looks familiar. I think it’s a problem with how configure is run, or re-run, or not re-run


sorawee
2020-7-29 17:19:14

Yes


laurent.orseau
2020-7-29 17:19:26

very nice


laurent.orseau
2020-7-29 17:19:43

Could as well replace quickscript-extra’s default one


samth
2020-7-29 17:19:56

It’s definitely a situation of variables not being substituted in the racket/src/build Makefile


laurent.orseau
2020-7-29 17:21:05

You can add markdown comments after the file, so the main difference is that you see the whole file before seeing the ‘readme’.


laurent.orseau
2020-7-29 17:21:23

(You can also have revisions, and you have permalinks to all revisions)


laurent.orseau
2020-7-29 17:22:04

Can’t wait to try it :slightly_smiling_face:


sorawee
2020-7-29 17:23:03

Will finalize in a couple of hours. I am making demos right now :slightly_smiling_face:


sorawee
2020-7-29 17:23:18

and also fixing any remaining bugs


laurent.orseau
2020-7-29 17:23:59

very cool. Don’t forget to include a line like (script-help-string "This is what my script does") after the require lines so that this help-string can be displayed in the library and elsewhere


sorawee
2020-7-29 17:24:12

Yep, I did!


samdphillips
2020-7-29 19:35:19

It looks like continued-fraction doesn’t use contracts at all so it may be something else.


mflatt
2020-7-29 19:45:05

Now fixed, hopefully.


samth
2020-7-29 19:47:17

With your change, make both still had the same error, I believe because the configure script didn’t know it needed to re-run. I did a touch racket/src/configure, and then make both worked.


mflatt
2020-7-29 19:55:20

That makes sense. I only changed things to avoid creating the bad state.


samth
2020-7-29 19:55:57

hopefully no one else did my specific sequence of commands in the last few hours and thus it won’t matter


maburns
2020-7-29 21:13:20

@maburns has joined the channel


spdegabrielle
2020-7-29 21:36:00

Quickscript Competition Deadline Extended till Tuesday Morning 4 Aug (uk time) https://github.com/Quickscript-Competiton/July2020entries\|https://github.com/Quickscript-Competiton/July2020entries


sorawee
2020-7-29 21:43:42

@laurent.orseau uploaded and entered


sorawee
2020-7-29 21:43:53

feel free to try it :slightly_smiling_face:


maueroats
2020-7-29 22:02:44

Also bad phrasing because the first argument is the module, but it is the second argument mentioned. “The first two arguments name a module and a procedure, which are loaded by dynamic-require into a specially designated separate place.”


hiljusti
2020-7-30 01:31:39

@hiljusti has joined the channel