by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Nick Tchayka
    @NickSeagull
    @/all

    Haskell.do v0.9.5 has been released!

    Alberto
    @agocorona
    :+1:
    Eyal Lotem
    @Peaker
    Hey, I have "stack" in ~/.local/bin (which is in my $PATH). "haskell-do" and its "static" are in my ~/bin (also in my $PATH). But nothing seems to work, everything silently fails
    no error messages, no nothing - just silent lack of response in the web UI
    lets me enter my project directory (/home/eyal/devel/lamdu), press the icon - the window closes and nothing happens
    Nick Tchayka
    @NickSeagull
    Hello @Peaker, thanks for coming to the gitter room! Are you creating a new project or opening a new one?
    Eyal Lotem
    @Peaker
    must create a new one first, if I understand correctly? how would I have an existing one? stack.yaml isn't considered an existing proj
    trying to open lamdu as a project and I figured it'd create a new project there
    Nick Tchayka
    @NickSeagull
    You just create a new folder in Haskell.do, in the opening dialog and open that empty folder
    no need to create a new one from scratch :D
    Eyal Lotem
    @Peaker
    only empty folders can become projects?
    Nick Tchayka
    @NickSeagull
    yeah, Haskell.do initializes one with the Haskell.do template
    Eyal Lotem
    @Peaker
    I'm really missing interactive feedback on the web ui to tell me what I'm doing wrong
    Nick Tchayka
    @NickSeagull
    That's true, that use case never happened. Would you be so kind to open an issue in the github repo? :smile:
    Eyal Lotem
    @Peaker
    hard on the phone, tomorrow I'll try to remember :)
    Nick Tchayka
    @NickSeagull
    Thanks! Anyways, the thing is that. Just create an empty folder and open it, Haskell.do will initialize everything. Take into account that it adds some dependencies for plotting and rendering code, that's why its done that way ^_^
    Eyal Lotem
    @Peaker
    so no using it on an existing haskell project?
    Nick Tchayka
    @NickSeagull
    Right now it is not supported, as we use a custom GHC preprocessor, but it is planned to change in the future theam/haskell-do#121
    Eyal Lotem
    @Peaker
    maybe initial start of Haskell do should create an empty project in some default location so there are no barriers to starting experimenting?
    (a barrier I failed to pass!)
    Nick Tchayka
    @NickSeagull
    hmm, that is very interesting! :D
    Something like a "playground"
    Just created those 2 issues @Peaker thanks!
    Eyal Lotem
    @Peaker
    sure thing :) curious to try it tomorrow
    Nick Tchayka
    @NickSeagull
    :ok_hand: :ok_hand: :ok_hand: :ok_hand:
    Erik Schnetter
    @eschnett
    how do i use latex in a document? this "xx" doesn't work; it just outputs the "$$" signs. is there an example?
    Nick Tchayka
    @NickSeagull
    Hello @eschnett , welcome to our Gitter channel :)
    Theorically, this $$ L_{dB}(t) = \frac{\sum_{k=1}{N}E_k}{N} $$ should output a nice equation
    Erik Schnetter
    @eschnett
    no, this just outputs the source of the equation. this is macos with safari. i'm using mathjax just fine on other sites, if that's what you're using internally.
    Nick Tchayka
    @NickSeagull
    Do you happen to have Google chrome installed @eschnett ?
    Erik Schnetter
    @eschnett
    i do. same problem with chrome and firefox.
    Nick Tchayka
    @NickSeagull
    Hmm, that is strange, doesnt happen to me. Can you try to see if there are any errors on the developer console of the browser?
    Erik Schnetter
    @eschnett
    @NickSeagull i didn't see any errors, but i'm not familiar with the browser console so i may have looked at the wrong place.
    Nick Tchayka
    @NickSeagull
    To open the Chrome Console, press Cmd+Option+J. After that a console should appear, if any errors happen to have occured, they would look like this:
    @eschnett
    Erik Schnetter
    @eschnett
    @NickSeagull did that. no errors appear.
    Nick Tchayka
    @NickSeagull
    Weird... @eschnett what were the exact steps that youve taken to install Haskell.do? Also which version of OS do you have and which version of Haskell.do?
    Erik Schnetter
    @eschnett
    i downloaded and unzipped the macos zip file for version 0.9.5. this is macos 10.12.6 “sierra”. stack was installed previously via homebrew.
    i then created a new project via haskell.do, and am now editing the respective page.
    stack is installed via homebrew, not by using the instructions on your web page.
    Nick Tchayka
    @NickSeagull
    Yes, its okay, if it creates the proejct and everything correctly that is not the problem
    Erik Schnetter
    @eschnett
    which part of the system is supposed to transform the $$ latex to something nice-looking?
    Nick Tchayka
    @NickSeagull
    As you said, we are using MathJax, so it should be MathJax
    What happens if you run the line MathJax.Hub.Queue(["Typeset",MathJax.Hub,"outputDisplay"]); in the Chrome Console @eschnett ?
    Can you try that please?
    Erik Schnetter
    @eschnett
    this makes it work!
    Nick Tchayka
    @NickSeagull
    Hmm
    Lets try to do one thing:
    1. Write another LaTeX expression
    2. Press CMD+Return to re-compile
    3. Press CMD+Return again to see if it works
    Erik Schnetter
    @eschnett
    after 1 and 2 it went back to being bad