samth
2017-5-30 15:17:29

@jeapostrophe pkgd appears to be down


lexi.lambda
2017-5-30 20:50:22

@stchang: ping


jwmeert
2017-5-30 21:31:11

@jwmeert has joined the channel


samth
2017-5-30 21:31:42

hi @jwmeert


toblux
2017-5-30 21:37:37

@toblux has joined the channel


zenspider
2017-5-30 23:26:50

,doc fails with (in a plain repl in OSX’s terminal.app): 0:131: execution error: “file:///MyApplications/dev/lisp/Racket/doc/reference/strings.html#(def._((lib._racket%2Fstring..rkt)._string-trim))” doesn’t understand the “open location” message. (–1708)


zenspider
2017-5-30 23:27:01

running open $ABOVE_URL opens just fine


zenspider
2017-5-30 23:27:13

(except that it ignores the anchor, but that’s separate)


zenspider
2017-5-30 23:27:24

any hints? or suggestions where to poke?


lexi.lambda
2017-5-30 23:29:24

@zenspider: what version of racket is this on?


zenspider
2017-5-30 23:29:38

sorry. 6.9 and latest osx too


lexi.lambda
2017-5-30 23:30:08

stable, right? not a snapshot?


lexi.lambda
2017-5-30 23:30:18

I ask because I know that code recently changed, but I don’t think it made it into the release


zenspider
2017-5-30 23:30:23

correct. I’m not leet :stuck_out_tongue:


lexi.lambda
2017-5-30 23:30:46

maybe try a snapshot and see if you get the same error? the answer would be informative, at least.


greg
2017-5-30 23:34:22

@zenspider I see you switched here from #racket on this so I will, too. :slightly_smiling_face: Found the thing this reminded me of: https://groups.google.com/d/msg/racket-users/Jw3jMB2viCk/ggJbXHu5BQAJ


zenspider
2017-5-30 23:35:47

hrm… left side of nightlies (6.9.0.4) or right side (current)?


zenspider
2017-5-30 23:36:35

and wow… can I check this with minimal? 90% smaller and I’m in a cafe


lexi.lambda
2017-5-30 23:38:57

@zenspider: you can probably check it with minimal, but you’ll want to use racket/help instead of xrepl, since the latter is not shipped with minimal racket, and it ends up pulling in a lot of dependencies


lexi.lambda
2017-5-30 23:39:13

lexi.lambda
2017-5-30 23:40:32

also, 6.9.0.4 and current are the same version, the latter is just a stable alias for things like CI scripts


zenspider
2017-5-30 23:57:51

is there a way to isolate this? in ruby we can set GEM_HOME to create a temporary repository that you can later throw away


zenspider
2017-5-30 23:58:27

moot point:

10058 % ./bin/raco pkg install --dry-run racket-help
Resolving "racket-help" via <https://www.cs.utah.edu/plt/snapshots/20170527-7f1ab90/catalog/>
tcp-connect: connection failed
  detail: host not found
  address: <http://www.cs.utah.edu\|www.cs.utah.edu>
  port number: 443
  step: 1
  system error: nodename nor servname provided, or not known; errno=8

lexi.lambda
2017-5-30 23:58:49

I mean the module racket/help. it’s in the base package; you won’t have to install it.


lexi.lambda
2017-5-30 23:58:59

also, the snapshot should maintain its own set of packages.


zenspider
2017-5-31 00:01:57

I can’t figure this out… ¯_(ツ)_/¯


zenspider
2017-5-31 00:02:01
&gt; (help string-trim)
standard-module-name-resolver: collection not found
  for module path: help/help-utils

lexi.lambda
2017-5-31 00:02:40

oh, right. apparently that requires the racket-doc package to be installed, which admittedly makes sense.


lexi.lambda
2017-5-31 00:02:46

(since it’s opening the docs)


zenspider
2017-5-31 00:02:52

yeah. as far as I can tell, minimal is too minimal for this :slightly_smiling_face:


lexi.lambda
2017-5-31 00:02:59

but it’s racket-doc that will bring in the whole universe of dependencies. :stuck_out_tongue:


lexi.lambda
2017-5-31 00:03:43

since racket-doc currently links to other docs, including the web server docs… which means you’ll end up installing the web server (and a whole bunch of other packages) if you “just” install the docs.


zenspider
2017-5-31 00:05:52

yeah… I’ll just download the minimal+gui+docs package. it’s 80mb (instead of 9!)… it’ll just be slower on this cafe network


lexi.lambda
2017-5-31 00:06:47

that’s probably the safest bet, yes


zenspider
2017-5-31 00:10:38

maybe it should have a more descriptive name than “gui–6.9.0.4-x86_64-macosx.dmg” … maybe “racket” should be in there somewhere. :stuck_out_tongue:


zenspider
2017-5-31 00:10:58

compared to: min-racket–6.9.0.4-x86_64-macosx.dmg


zenspider
2017-5-31 00:15:07

ok. confirmed that on 6.9.0.4 that ,doc is fixed. I wonder if I should steal the patch and try to compile it into my current version


lexi.lambda
2017-5-31 00:17:22

@zenspider: Make sure you try running the snapshot from outside of your home directory (that is, the snapshot distribution itself should be placed outside your home directory). IIUC, the issues around that feature stem from very odd macOS behavior around opening file URLs in/outside of your home directory.


lexi.lambda
2017-5-31 00:17:47

If you had the snapshot in your home directory and the release outside of it, you might get false positives.


zenspider
2017-5-31 00:17:54

I ran it straight out of the disk image


lexi.lambda
2017-5-31 00:19:01

that’s probably safe then


zenspider
2017-5-31 00:27:07

is there a bar-chart plot type somewhere? I’m trying to hack it into discrete-histogram and it’s screwing up w/ my x-axis.


zenspider
2017-5-31 00:29:02

ah. it ignores negative values even if you set y-min


andreiformiga
2017-5-31 02:40:02

considering the irc bridge is down, I’ll ask here


andreiformiga
2017-5-31 02:40:32

how can I custom print objects? the reference says printable<%> should be implemented, and that it seems to be a wrapper around prop:custom-write



andreiformiga
2017-5-31 02:41:04

but the docs for prop:custom-write say it’s deprecated in favor of gen:custom-write


lexi.lambda
2017-5-31 02:42:39

@andreiformiga: gen:custom-write is for structs; it still uses prop:custom-write under the hood. if you’re using racket/class, I’m pretty sure printable&lt;%&gt; is the right thing to implement.


andreiformiga
2017-5-31 02:43:18

the docs are confusing then


lexi.lambda
2017-5-31 02:43:55

my guess is that the printable&lt;%&gt; docs weren’t updated when gen:custom-write was added, since the latter is (I believe) a relatively recent addition.


andreiformiga
2017-5-31 02:57:29

yes, I see printable&lt;%&gt; is still defined in terms of prop:custom-write


lexi.lambda
2017-5-31 03:00:41

as it probably ought to be. I somewhat doubt prop:custom-write itself is really deprecated; I think using it directly with struct via a #:property clause probably is.


mrm
2017-5-31 06:19:43

@mrm has joined the channel