## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
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 ?
Erik Schnetter
@eschnett
this makes it work!
Nick Tchayka
@NickSeagull
Hmm
Lets try to do one thing:
1. Write another LaTeX expression
3. Press CMD+Return again to see if it works
Erik Schnetter
@eschnett
after 1 and 2 it went back to being bad
3 didn’t help either
sorry, gotta go now for the announcement at https://twitter.com/LIGO… will be back later. thanks for your help so foar!
Nick Tchayka
@NickSeagull
Great! Thanks to you for giving this valuable feedback!
Good luck there :)
Marco Z
@ocramz
@NickSeagull if you have time you should consider submitting a paragraph or two on Haskell.do to the HCAR
the first deadline's closed now but Mihai gave all the authors 4 more days for proofreading the draft
Nick Tchayka
@NickSeagull
Great! Thanks @ocramz ! 😁
Marco Z
@ocramz
Hi all
I've started tinkering with the code, with a mind to write a miso-based frontend
but I have some doubts regarding the overall design and I figured this would be the place to discuss
so on one hand we have typical cabal/stack projects: multiple files in multiple directories, with dependencies forming a DAG
on the other, the notebook-style interaction: evaluate a cell, show results, evaluate another cell etc.
Marco Z
@ocramz
is the "cell view" just a split view of a single source file, and every time we modify one cell a stack build is issued? or something equivalent to a stack build --file-watch is constantly running?
Marco Z
@ocramz
something else confuses me
in miso, where do startApp and the App type come from? they are seemingly not exported by the library
Nick Tchayka
@NickSeagull
Hi @ocramz , right now there is no cell view, its just a whole document that uses the inliterate preprocessor
Basically a stack build is issued each time
And also, Miso is quite weird, because those functions are only exported in the GHCJS version of it, not on the regular GHC one
So we would have to separate completely the backend from the frontend
Shoudlnt be that hard tho
Marco Z
@ocramz
ha, what I suspected
now I'm trying to write a bare-bones project to figure out what goes where
I do like miso because M-V-C are well separated
though I'm completely ignorant re. frontend development
Marco Z
@ocramz
I feel miso is a very good choice to refurbish the project
Nick Tchayka
@NickSeagull
Indeed it is @ocramz . Another thing that I was thinking of was to completely rewrite the backend and make it a RESTful API using some other framework like wai or yesod which are much more used in the Haskell community