stamourv
2017-11-29 16:56:58

@notjack: If rackunit-typed is transitively depended on by something in the main-distribution, then its repo will be in the release catalog.


samth
2017-11-29 17:00:17

I merged the PR anyway


zenspider
2017-11-29 21:11:37

@dustin I’ve been seeing that on /r/lisp… seems very early… do you actually use it?


slack1
2017-11-29 21:13:26

once it develops enough features, it will become an editor


slack1
2017-11-29 21:13:29

^_~


zenspider
2017-11-29 21:13:53

but of course


slack1
2017-11-29 21:15:56

this is probably silly, but what do you people think about curried named arguments?


dustin
2017-11-29 21:33:31

@zenspider I’ve not had a chance to try it yet. And yes, I think the project is fairly new. But I thought it was interesting because I don’t think there’s many browsers that work in the way programmers do.


greg
2017-11-29 21:47:26

https://pkgs.racket-lang.org/package/echonest This package of mine has failing tests — but IIUC they fail because the EchoNest API no longer exists due to Spotify gobbling them up and shutting it down some years ago. Should I just delete the package? On the one hand that seems harsh. But on the other hand I’m pretty sure anything depending on it has been broken a long time anyway and I can’t fix it. Suggestions? (Racket package system is new enough I don’t think there’s much precedent for this?)


samth
2017-11-29 21:48:02

I think deleting it seems unnecssary — the code might be interesting to someone


greg
2017-11-29 21:48:33

I could push a commit that disables the tests and updates the README


greg
2017-11-29 21:48:55

Also on GitHub I could use their newfangled “archive” thing to signal it’s end-of-life


samth
2017-11-29 21:49:25

that’s what I think makes sense


abmclin
2017-11-29 21:50:15

nEXT looks quite interesting, I’m unclear on whether it’s capable of executing Javascript? I noticed that there’s no mention of any security features which makes me rather concerned. Web browsing is one of the most hazardous computer activity one can do today. The manual is lacking in additional details unfortunately but still it looks really cool.


greg
2017-11-29 21:50:15

OK thanks for the advice!


zenspider
2017-11-29 21:51:17

archive? huh


greg
2017-11-29 21:52:23

zenspider
2017-11-29 21:53:27

cool. thanks. That’ll probably help me. I have a ton of repos


zenspider
2017-11-29 21:55:23

they’ve been rolling out a number of new features. I got tagged on one of the security alerts (for something that should be archived)


zenspider
2017-11-29 22:15:02

aaaand now I wish there was a tool to archive all my projects based on last commit date or somesuch.


slack1
2017-11-29 23:15:43

i’m surprised that searching for keyworded currying turns up so little


slack1
2017-11-29 23:16:25

i guess people prefer index locations to names


slack1
2017-11-29 23:16:46

but it also allows easier insertion of arguments in an order-free manner


notjack
2017-11-29 23:27:47

@slack1 curried named arguments sound a bit odd, but not totally unreasonable - I encourage you to make an #%app macro exploring the possibility :)


samth
2017-11-30 00:25:34

I think curry already does that, actually


lexi.lambda
2017-11-30 00:27:13

It doesn’t Welcome to Racket v6.11.0.2. > (define (f #:x x #:y y) (cons x y)) > ((curry f) #:x 3) ; application: procedure does not accept keyword arguments ; procedure: curried ; [,bt for context] but it could.


lexi.lambda
2017-11-30 00:29:30

Interestingly, you are allowed to provide keyword arguments to curry if you do it as part of the initial application. However, it’s pretty broken, and it does weird things.


cfinegan
2017-11-30 00:29:41

@lexi.lambda I think this does what you want regarding keyword args https://docs.racket-lang.org/kw-utils/Partial_application_with_keywords.html


lexi.lambda
2017-11-30 00:29:55

Like this, for example: > (define (g #:x x #:y y z) (list x y z)) > (curry g #:x 3 #:y 5) #<procedure:curried> > ((curry g #:x 3 #:y 5) 7) #<procedure:curried>


lexi.lambda
2017-11-30 00:31:54

@cfinegan As the docs mention, that has much more of a partial application feel than a currying feel. To be consistent with curry, it would need to support something like this: > ((((curry (lambda (#:x x #:y y #:z z) (list x y z))) #:y 2) #:x 1) #:z 3) '(1 2 3)


lexi.lambda
2017-11-30 00:35:50

(Of course, “currying” means a very specific thing, and curry is really closer to auto-partial. But whatever.)


cfinegan
2017-11-30 00:35:51

Heh, I wasn’t aware of the difference until you pointed it out. It’s strange that a util exits for one, but not both.


lexi.lambda
2017-11-30 00:39:48

I think curry is essentially broken in the presence of keyword arguments. The fact that ((curry (lambda (x #:k k) (cons x k)) #:k 2) 1) doesn’t apply the function means it doesn’t really work.


lexi.lambda
2017-11-30 00:40:13

That’s a bug, though, going by the documentation… it should probably be fixed.


slack1
2017-11-30 01:11:12

I dooo wish I could write my own, but I’m going to get better at the basics first


slack1
2017-11-30 01:14:32

I find that I’m often using directional, sequential methods even on non-sequential data


slack1
2017-11-30 01:14:54

It’s very tempting to shove everything into lists


samth
2017-11-30 01:18:22

@mflatt what’s the best way to debug a macro that was broken by the set-of-scopes expander?


slack1
2017-11-30 01:30:24

How does one see the code behind a standard Racket function?


samth
2017-11-30 01:31:26

@slack1 it depends if they’re implemented in the runtime or in a library, but for most, right click in drracket and go to the definition


slack1
2017-11-30 01:32:13

You mean where it brings you to the Docs?


samth
2017-11-30 01:32:27

no


slack1
2017-11-30 01:32:59

Oh thanks I found it


dustin
2017-11-30 01:44:26

Anyone using macOS High Sierra might want to update ASAP. There’s a security concern that allows login using the username root with no password. This happens to occur remotely as well.


dustin
2017-11-30 01:45:21

Thought it was maybe a hoax until I saw this:

https://i.imgur.com/4sJsDiV.png


slack1
2017-11-30 01:53:49

It’s amusing because the general sysadmin advice is not to set a root pw


slack1
2017-11-30 03:18:15

What small mini app do Racketers make as a stepping stone of progress?


samth
2017-11-30 03:21:37

a programming language :wink:


slack1
2017-11-30 03:23:51

ahhhhh


notjack
2017-11-30 03:36:05

@samth @slack1 if pressing f1 opens the docs for a definition, maybe f2 should open the source


notjack
2017-11-30 03:36:11

seems like a useful and easily taught shortcut


dustin
2017-11-30 04:34:01

@slack1 have you seen https://beautifulracket.com/


slack1
2017-11-30 04:35:51

Yes it’s a beautiful website


slack1
2017-11-30 04:35:56

I find it a little… episodic?


slack1
2017-11-30 04:36:00

It jumps around and has funny gaps


dustin
2017-11-30 04:41:16

I think this one comes out in a day http://serverracket.com/


slack1
2017-11-30 04:43:42

oh quite exciting


slack1
2017-11-30 04:43:46

you are on top of every bit of news