This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-11
Channels
- # adventofcode (129)
- # architecture (10)
- # beginners (163)
- # boot (1)
- # cider (34)
- # cljs-dev (9)
- # clojure (210)
- # clojure-austin (11)
- # clojure-czech (2)
- # clojure-gamedev (1)
- # clojure-greece (67)
- # clojure-italy (2)
- # clojure-russia (8)
- # clojure-spec (36)
- # clojure-uk (54)
- # clojurescript (87)
- # cursive (12)
- # data-science (6)
- # datomic (13)
- # devcards (4)
- # editors (2)
- # emacs (34)
- # figwheel (6)
- # fulcro (147)
- # graphql (17)
- # lumo (54)
- # off-topic (37)
- # om (11)
- # onyx (7)
- # parinfer (10)
- # random (1)
- # re-frame (13)
- # ring (10)
- # ring-swagger (2)
- # sfcljs (1)
- # shadow-cljs (1)
- # spacemacs (32)
- # test-check (4)
- # unrepl (84)
Problem is more on the puzzle pipeline... soon to be running out if no incentive is given to produce
git clone [email protected]:matijapretnar/eff.git
Cloning into 'eff'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
what is going on? I can't even git clone a public repo ?@qqq Could use HTTPS url. But this error is strange indeed.
@qqq Do you have ssh private key set up and public key added to GitHub?
@juhoteperi: no, on this particular machine, ~/.ssh only has authorized_keys and known_hosts
ah, so the theory is : ssh [email protected] wants SOME ssh key that is attached to SOME github account, even if it doesn't have commit access to the project
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols says > if you don’t specify the optional username, Git assumes the user you’re currently logged in as. (..) > The negative aspect of SSH is that it doesn’t support anonymous access to your Git repository.
That's sad that git doesn't allow password auth with empty passwords to get public repos
there are other protocols besides git+ssh
for example, github offers https
as well as zips of specific checkouts
using https doesn’t require auth if you need that in the future
if I have two modules, one with data Whatever = X | Y | …
and the other one with data Another = X | A | B ...
, how can I import both so that I can refer to the right X unambiguously? (I know about import qualified, but can’t figure out how to get it working. Modulename.X doesn’t work)
import qualified
IIRC
so with one you import ....
and the other import qualified Another as A
something like that
oh you already mentioned qualified, never mind
:thumbsup:
Btw there's http://eta-lang.org/ for JVM 🙂
main :: IO ()
main = print $ quicksort [1, 123, 42, 90, 24, 12, 3]
quicksort [] = []
quicksort (x:xs) = quicksort left ++ [x] ++ quicksort right
where left = [ y | y <- xs, y < x ]
right = [ y | y <- xs, y >= x ]
(isn't my code)frege has bad interop with java and other java langs
iirc eta is much newer but if implemented as expected will have much better interop (but this neccessarily also means less haskell compatibility, that’s the tradeoff)
for example last I checked you could not define an interface that other code could use via frege, and you could not define code that uses an external interface from frege, those were deal breakers that meant I couldn’t integrate it nicely into my mixed lang codebase
@noisesmith: you are everywhere answering all the questions; I'm starting to suspect you're a chat bot from a tech research lab masquerading as human
I'm just a compulsive question answerer
people come and go from the channels, but noisesmith is always present and useful
Use the Hanselman strategy - write a blog or a book about things you answer, and then you can point people that way to start : )
I was a big fan of Frege for a while and fairly active with that (small) community but it sure seems like Eta has a lot more people involved and has advanced a lot faster than Frege because of that.