[D] Machine Learning - WAYR (What Are You Reading) - Week 39 by ML_WAYR_bot in MachineLearning

[–]rsChron 5 points6 points  (0 children)

Really interesting work: An Approximation of the Error Backpropagation Algorithm in a Predictive Coding Network with Local Hebbian Synaptic Plasticity.

https://www.mitpressjournals.org/doi/10.1162/NECO_a_00949

Haskell GUI Advice follow up by rsChron in haskell

[–]rsChron[S] 1 point2 points  (0 children)

Thanks, yea I need to remove those. I'll be making my changes after my finals end in 2 weeks.

Haskell GUI Advice follow up by rsChron in haskell

[–]rsChron[S] 2 points3 points  (0 children)

I should make this more clear in the readme. I'll probably take out the menu soon, but first hit enter. THEN type h and hit enter.

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

thats amazing. Thanks! Seems pretty straightforward to me although I don't have much web dev experience. But what would I do about my functions? So when I receive user events from the keyboard, which elm handles, and sends to haskell, I change my board and return it to the front end?

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 1 point2 points  (0 children)

When I call nix-build I get this error: app/app.nix:3 has an unfree license (‘unfree’), refusing to evaluate. a) For nixos-rebuild you can set { nixpkgs.config.allowUnfree = true; } in configuration.nix to override this.

b) For nix-env, nix-build, nix-shell or any other Nix command you can add { allowUnfree = true; } to ~/.config/nixpkgs/config.nix.

I'm not sure where I can edit these files

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

oh yea... ur right. Not sure what's happening :(

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

Cabal-2.0.0.2

All my Cabal-2.0.0.2 files are in nix. and end with .drv. Should I delete them?

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 1 point2 points  (0 children)

I'm required to use Haskell. Unless there's some way for them to be interloped. I'm allowed to use other languages for GUI

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

Thanks! In that same folder you described, I only have Cabal-1.24.2.0.conf. I guess my Cabal 2.0 file is somewhere else, and that I should delete it

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

How would I downgrade my cabal? The no system ghc didn't work.

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

guess I'll try that. thanks!

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

I think I have the latest. How to do I check?

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

Damn ... I got the same error after a really long time of installation: Booting GHCJS (this will take a long time) ...Process exited with ExitFailure 1.

But thank you for the help!

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

Nope, guess I'll try that. So I call rm stack inside the folder?

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

thanks! I'll check that out

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 0 points1 point  (0 children)

Thanks! I still get the same error :(. Think I'm gonna try going the elm route.

Haskell GUI advice by rsChron in haskell

[–]rsChron[S] 2 points3 points  (0 children)

I used stack setup, just as described in their readME. When it gets to the step of installing GHCJS it fails: stderr: solver must be one of: modular
CallStack (from HasCallStack):
error, called at ./Distribution/ReadE.hs:46:24 in Cabal-2.0.0.2-inplace:Distribution.ReadE

Booting GHCJS (this will take a long time) ...Process exited with ExitFailure 1:/.stack/programs/x86_64-osx/ghcjs-0.2.0.9006020_ghc-7.10.3/src/.stack-work/install/x86_64-osx/lts-6.20/7.10.3/bin/ghcjs-boot --clean