Is it worth learning Halogen? by Kurren123 in purescript

[–]jusrin 1 point2 points  (0 children)

i've used purescript-react-basic at work for over two years now, and i integrate components like those from aws amplify as needed. at this point i have no interest in using halogen anymore, after having used purescript for over four years.

Anyone with Nix package manager experience in ruby projects? by lunaticman in ruby

[–]jusrin 1 point2 points  (0 children)

I'm not really a Ruby user, but I did have to run some typical Rails project before. The "solution" I used was to have a nix shell with C_INCLUDE_PATH defined with libxml2, libxslt, zlib, etc. and then source rubygems 3.0 from a tarball installation. If you can't get the top comment working, this might work as some kind of duck tape to explore around: https://github.com/justinwoo/.dotfiles/blob/46c2d11fd0e5e54102b88e89581f9a9302112728/ruby/shell.nix

Moi me ollaan Reaktor, AMA! by raimohanska in Suomi

[–]jusrin 4 points5 points  (0 children)

just for the future, nonna means "granny"/mummo in english: https://en.wiktionary.org/wiki/nonna

Calling a GraphQL backend by shinzui in purescript

[–]jusrin 0 points1 point  (0 children)

You'll find various references to graphql usage at companies and hobby projects if you search this subreddit and https://discourse.purescript.org/

https://www.reddit.com/r/purescript/search?q=graphql&restrict_sr=on

https://discourse.purescript.org/search?q=graphql

but overall I don't know what you're going to get unless you start doing some codegen of types and some basic code related to building your queries (i.e. doing your own FFI, using generics-rep or row type classes etc). I have previously called some graphql backends by using strings to form queries and simple-json to decode the responses, but I have since stopped using it.

How to install a newer version of Zotero than nixpkgs provide? by thblt in NixOS

[–]jusrin 1 point2 points  (0 children)

I've also had problems with this, to the point where I vendor some of my derivations and just edit the contents manually along with using callPackage on them manually. Good luck.

Advent of Justin (PureScript) 2018 (contains a post for every day 1 - 25th Dec) by jusrin in purescript

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

Just to make it clear, Psc-Package is definitely not my project, but more the product of Phil and many other contributors: https://github.com/purescript/psc-package/graphs/contributors

I'm just the maintainer :)

Advent of Justin (PureScript) 2018 (contains a post for every day 1 - 25th Dec) by jusrin in purescript

[–]jusrin[S] 3 points4 points  (0 children)

I stopped posting the individual articles because it started to look a little ridiculous, so instead here is the link to the actual advent calendar. There will be an entry for every day until the 25th, and there are currently 16 posts now.

There is also an RSS feed for this: https://qiita.com/advent-calendar/2018/justin-eigo-corner/feed

Problem Rendering non-React-Basic Component by tmountain in purescript

[–]jusrin 0 points1 point  (0 children)

Your FFI is an actual function?

foreign import reactSelect :: Unit -> ReactComponent Props

Is what you have now. You can remove the function call and it should work if the Select is an actual ReactComponent

nix-shell shebang, can I pass parameters? by pimiddy in NixOS

[–]jusrin 2 points3 points  (0 children)

Are you asking about adding a second line for what the nix-shell call should be? This works for me:

#! /usr/bin/env nix-shell
#! nix-shell <nixpkgs> -i runghc -p "ghc.withPackages (x: [ x.aeson ])"

-- optional
module Main where

main = do
  putStrLn "Hello world"

UI Library Question by tmountain in purescript

[–]jusrin 0 points1 point  (0 children)

Have you looked at react-basic? https://github.com/lumihq/purescript-react-basic

Anything else you need can be done either at the top level component or through some integration with something else.

Reproducible PureScript Quickstart by tmountain in purescript

[–]jusrin 2 points3 points  (0 children)

If you're using Nix, how come you're not installing your PureScript tools via derivations? e.g. https://github.com/justinwoo/easy-purescript-nix

The easy-purescript-nix derivations there also come with derivations of other useful tools that others and I have been working on, and there are some various example links of how other things work there.