Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 05 02:06
    jaacko-torus commented #53
  • Jul 06 17:01
    palango closed #95
  • Jan 08 2019 17:20
    mmagnuski closed #219
  • Oct 12 2018 13:40
    gdkrmr closed #218
  • May 19 2018 02:07
    yehielliv commented #223
  • May 19 2018 02:03
    yehielliv opened #223
  • Feb 10 2018 11:08
    currymj closed #171
  • Jul 25 2016 19:04
    jingpengwu commented #203
  • May 24 2016 12:19
    JonWel closed #183
  • May 24 2016 12:19
    JonWel commented #183
  • Apr 12 2016 11:11
    MikeInnes closed #185
  • Apr 12 2016 11:11
    MikeInnes closed #166
  • Apr 12 2016 11:11
    MikeInnes closed #163
  • Apr 12 2016 11:11
    MikeInnes closed #101
  • Apr 12 2016 11:11
    MikeInnes closed #82
  • Apr 12 2016 11:11
    MikeInnes closed #73
  • Apr 12 2016 11:11
    MikeInnes closed #68
  • Apr 12 2016 11:11
    MikeInnes closed #69
  • Apr 12 2016 11:11
    MikeInnes closed #61
  • Apr 12 2016 11:10
    MikeInnes closed #59
Nexus IO
@nexus-io
I notice that the Julia plugin now automatically connects when Light Table is started. This should not be the default behaviour. (Making this auto-startup - or not - a configuration option in LT would be perfectly fine, however.) Most LT users, most of the time, are going to be using LT for Clojure development, next for ClojureScript development, next for ...
Mike J Innes
@MikeInnes
At this point most of my users are primarily using Julia, so I've picked defaults that make sense for them – although longer term, I think you're right. For now, you can always disable this by removing the :app behaviour :lt.objs.langs.julia/connect-on-startup
Nexus IO
@nexus-io
Ok, thanks.
Sebastian Pfitzner
@pfitzseb
one question about autocompletion: Is there any setting to prevent LT from using words from comments in the autocompletion list?
Mike J Innes
@MikeInnes
Not that I know of, although I'll have a look for one. This will be on the list when I overhaul autocompletion either way
Mike J Innes
@MikeInnes
Sorry, I don't think there's any way to do that at the moment
Sebastian Pfitzner
@pfitzseb
Thanks for the answer! Your plans seem to be quite expansive - looking forward to trying any new versions.
Mike J Innes
@MikeInnes
Unfortunately there might be a bit of a wait, as I'm busy for a while – but there'll definitely be some interesting things happening over the summer ;)
Eric West
@edubkendo
@one-more-minute hello, I can seeyou are busy from the backlog and won't be working a lot until summer. Just wandered if you had any eventual plans to have the autocomplete give some type of argument hints? Really appreciate your work btw. Awesome stuff.
Mike J Innes
@MikeInnes
Thanks! Autocompletion is definitely one of the things I want to work really well. I think combining Julia's runtime reflection with its static analysis will open some really interesting possibilities – so in a nutshell, yes :)
Sebastian Pfitzner
@pfitzseb
Hey again, is there some easy way to use/define auto-indentation in LT? I had a look at the python plugin and it seemed to be quite a lot of work. Are there plans of implementing this feature? Should I open an issue for it?
Mike J Innes
@MikeInnes
Funny you should mention that, I just implemented it – one-more-minute/Jewel@5e7e8d6
I'll push an update soon – in the mean time, if you want, you can just clone the repository to get the latest code
Sebastian Pfitzner
@pfitzseb
Hehe, pure conincidence... looking forward to trying it out, although I'm not sure how to clone it and make LT use it. I'll just wait for the update
Mike J Innes
@MikeInnes
Well, if you change your mind it's easy enough – just go to the directory listed here, delete the Jewel folder and clone the plugin in
Sebastian Pfitzner
@pfitzseb
nice, it's working :)
although there's one minor nitpick that may or may not be related to your code (could also be the codemirror part or something): The automatic indentation defaults to 2 spaces regardless of what behaviour is set in LT.
Mike J Innes
@MikeInnes
Yeah, it did seem like that was hard-coded in, not sure how to fix that at the moment though. Feel free to open an issue to remind me to look at this (and any other nitpicks you have :))
Eric West
@edubkendo
@one-more-minute can I ask what kind of stuff you are doing in julia, or interested in doing with it? I ask because I see the projects you've started and they resonate with some of my own wants. Lazy.jl for instance.
Mike J Innes
@MikeInnes

Somewhat oddly (given the focus of the language and the fact that I'm doing Physics) I haven't spent much time on the numerical side. Partly that's because there's plenty of people doing that already, and I think Julia has a lot of potential as a general purpose language as long as the libraries (like Lazy.jl) are there.

My main projects for the foreseeable future are Jewel and perhaps a Markdown parser (which is Jewel-related). So what kinds of things are you interested in using it for, then?

Eric West
@edubkendo
@one-more-minute I also want to see it fulfill its potential as a general purpose language. I actually think it could be a really amazing language for functional programming. At first I was a little disappointed when I dug in because that wasn't so well supported as far as the data structures and concurrency story went. But it was actually finding lazy.jl that made me realize the language itself is so expressive, the functional story I want can come from userland
especially with how easy it is to call into C
Mike J Innes
@MikeInnes
Definitely! Lazy.jl was one of my first experiments with the language and definitely a big factor in making me realise the language's potential – I'm glad it's having the same effect on others! Would I be way off in guessing that you're coming from Clojure? You'll probably be interested in FunctionalCollections.jl if you haven't seen it already.
Eric West
@edubkendo
So, actually I'm a Rubyist in my day job. Been interested in functional languages for a while, though, and clojure has been one that I've been very impressed by.
Mike J Innes
@MikeInnes
@edubkendo Cool – I guess Julia would be fairly appealing to a Rubyist, with the similar syntax and all? I used to use Clojure a lot myself but actually I've quite liked trying out a more imperative style.
@Varanas (and anyone else who's on master) – how do you feel about doing some beta testing? I've just pushed a new theme for Julia (June), if you pull the latest changes you can try it out
Sebastian Pfitzner
@pfitzseb
on it ;)
Mike J Innes
@MikeInnes
Great!
Sebastian Pfitzner
@pfitzseb
one thing that'd be quite nice (at least in my opinion) would be highlighting of function calls - which should be everything in front of (), right?
If you haven't had a look at it: The theme in Sublime Text (with the appropriate plugin) does this (and looks pretty good)
Mike J Innes
@MikeInnes
Hmm, interesting idea – I haven't used ST in a while but I'll definitely have a look
Mike J Innes
@MikeInnes
I like it, but it's one of those hard choices of what colour to use :) Any suggestions?
A darker blue, perhaps
Sebastian Pfitzner
@pfitzseb
yep, that and bold would be nice
Mike J Innes
@MikeInnes
I'm a bit wary of bolding because function calls are so common – I'll definitely try it out though
Sebastian Pfitzner
@pfitzseb
ST-julia.jpg
what I like about it is the clear distinction between variables and functions - I'm not sure that's achievable with color only
Mike J Innes
@MikeInnes
Yeah, I see what you mean – let's try bold out first then
Mike J Innes
@MikeInnes
How about that?
Sebastian Pfitzner
@pfitzseb
nice, I like it
would you mind if I tried to throw together a dark theme based on June?
Mike J Innes
@MikeInnes
Not at all! It'd be great to see what you come up with
Sebastian Pfitzner
@pfitzseb
Hm, the parsing of brackets/parenthesis seems to be broken - it's not possible to change anything about them by using span.cm-bracket. Since everything else does work it's no big deal (one can just set the default color and change every other color), but I thought I'd notify you.
Sebastian Pfitzner
@pfitzseb
that is possibly the reason why rainbow brackets aren't working, although I don't know enough of the plugin to make an educated guess... but it seems plausible
Mike J Innes
@MikeInnes
Yeah, the Julia mode doesn't style brackets at all – I'll let you know when I've fixed that
Sebastian Pfitzner
@pfitzseb
okay, but as I said: it's no big deal
but another thing: cm-keyworddoesn't style end, although there might be something strange going on with my LT installation since I was pretty sure that's new behaviour
Mike J Innes
@MikeInnes
I actually changed end to be a cm-qualifier – you'll notice that in June they're faded out
Don't know if there would be a better way to achieve that though
Sebastian Pfitzner
@pfitzseb
ah, okay, that's perfectly justified if you want to have ends be less cluttering