Fork me on GitHub
#off-topic
<
2017-06-21
>
souenzzo00:06:45

CompilerException java.lang.RuntimeException: Unable to resolve symbol: create-var in this context

qqq00:06:23

@souenzzo : can you also show us the code you're running to get that exception ?

noisesmith00:06:44

@souenzzo oh - I’d assume create-var was in the clojure.tools.analyzer namespace

noisesmith00:06:13

since that’s the ns shown in their example repl prompt

noisesmith00:06:06

@souenzzo anyway, clojure.tools.analyzer is what people are using, so I doubt you’ll find a better parser to make asts from clojure

luxbock00:06:13

if I transfer a file through FTP, is it a safe assumption that if the the transfered file has the exact same size on arrival then the transfer was successful, or is there a chance that the contents of the file may have been corrupted?

souenzzo00:06:03

Write, I figured out that I can use analyze from .jvm. Will do for now(studing).

souenzzo00:06:28

@luxbock why not check an checksum?

luxbock00:06:13

@souenzzo yeah I was basically asking to see if that's something I need to do

souenzzo01:06:36

Check something like https://github.com/xsc/pandect or use md5sum from system call (-> (clojure.java.shell/sh "md5sum" filename) :out (clojure.string/split #" ") first)

luxbock01:06:52

@souenzzo yep, I actually am already using pandect. the amount of data I'm dealing with is very large, multiple terabytes, and the files that arrive need to be moved elsewhere from their transfer location, so it would be nice if I could skip this step though

souenzzo02:06:06

@luxbock it need to be ftp? cant be rsync or any other modern tool?

luxbock02:06:59

do you have any alternatives to suggest on for Windows?

souenzzo02:06:39

oh, windows... I just know moderns tools 😕 😛 Unfortunately, I do not know anything about windows. Some time ago I needed to make a big backup of a windows for a NAS (that shared smb) and ended up doing via a ubuntu live + rsync (i dont trust on windows copy and not sure if it do some check)

luxbock02:06:59

yeah I don't like it either but unfortunately the files I'm transfering are useless outside Windows 😕

qqq23:06:01

is there a standard way of storing trees in a table (say relational data)

jsa-aerial23:06:20

certainly there is the nested set model https://en.wikipedia.org/wiki/Nested_set_model and adjacency matrices (lists). But neither is great as the relational model is not particularly suited to 'graphs' in general and trees in particular.