News for hackers. Stuff that matters.
Re:Jax vs. Julia (Vs PyTorch) by ChrisRackauckas on Wednesday May 04, 2022 @10:53PM (#31268823)
Unicode should not be in public APIs. This is a standard around Julia. Flux is breaking the standard. Yes, it's not a good thing.
Re:Jax vs. Julia (Vs PyTorch) by mcabbott on Wednesday May 04, 2022 @11:06PM (#31268917)
The unicode epsilon isn't in the public API, it's describing the 3rd positional argument.

This was added recently, and for some reason the PR (1840) didn't fix the docs, which is bad. The Optimisers.jl version has an explanation: https://fluxml.ai/Optimisers.jl/dev/api/#Optimisers.RMSProp

Re:Jax vs. Julia (Vs PyTorch) by nullstyle on Wednesday May 04, 2022 @11:30PM (#31269071)
Interesting! do you have any links talking about that standard? I'm super interested in Julia and this seems like a good opportunity to learn something I've been missing so far.
Re:Jax vs. Julia (Vs PyTorch) by ChrisRackauckas on Thursday May 05, 2022 @12:03AM (#31269303)
I'm not sure if/where it's formalized, but it's just generally something that's been enforced throughout Julia's Base, along with many of the package organizations (like SciML among others). It's something that would be mentioned at code review time by most contributors. It's why you don't see unicode keyword arguments. There's a lot of reasons. I think the best one is that you want the API to be compatible with old terminals you tend to get on HPCs which do not tend to support unicode. We should probably make it a part of the standard formatter rules or something at this point.
Re:Jax vs. Julia (Vs PyTorch) by nullstyle on Thursday May 05, 2022 @12:28AM (#31269487)
Word. Thank you for the response.