Fork me on GitHub
#beginners
<
2016-08-23
>
vinnyataide18:08:47

Do I lose any functionalities by using remote nrepl isntead of a local?

chris18:08:39

none that I’m aware of, just network latency

oahner18:08:44

you might run into issues if your editor uses the repl to look at the filesystem

vinnyataide18:08:05

@oahner I'm noticing some lack of intelligence by the cursive IDE

oahner18:08:59

could be related

vinnyataide18:08:09

but I don't know if it's because I'm outside the src folder

oahner18:08:42

the major issue I always run into is when the tooling looks at the classpath to find a file and then the editor tries to load the file locally

oahner18:08:11

which obviously never works when my client is windows and the repl is running on a linux server

oahner18:08:37

for that reason, I tend to develop with remote services (pgsql, redis, etc..) and a local repl

vinnyataide18:08:48

hm, I'm working on a windows dev machine and the repl is remote but in the same machine, the problem is that he is suggesting that I use the manifold.deferred library instead of datomic.api that is already inside my require block

vinnyataide18:08:42

he's requiring the wrong d 👽

polymeris19:08:03

Hi. The hash function is eager on collections, right? I.e. if I have two lazy seqs that would evaluate to the same eager seq I can count on them having the same hash?

ordnungswidrig19:08:39

whoops, sorry I hit the keyboard to early. Actually to my understanding if two sequences equal they must have the same hash:

ordnungswidrig19:08:09

user> (hash (range 0 5))
-160844199
user> (hash [0 1 2 3 4])
-160844199
user> (hash (reverse [4 3 2 1 0]))
-160844199

polymeris19:08:21

yeah, emprically it seemed that way to me too, just not sure if I could count on it

Alex Miller (Clojure team)21:08:29

Hash includes hash of all elements, so must force lazy seqs