#clojure logs

2015-10-26

01:12Charlie_BrownAnyone home?
01:22samssammerzI'm home, at my desk.
05:15ely-seIs there any documentation on ISeq? I can't figure out what implementations should return from first, next, more and cons.
05:17ely-seOr is ISeq not a public API?
05:39stanniehi, is there a channel for Prismatic/Schema library ?
06:08visofhi guys
06:09visofis this allowable, to define a protocol and records which implement methods in protocol and then extend-type of these records?
06:09visof,(defprotocol Hello (hi [this]) (foo [this]))
06:09clojurebotHello
06:10visof,(defrecord XXX [] Hello (hi [this] (println hi this)))
06:10clojurebotsandbox.XXX
06:11visof,(extend-type XXX Hello (foo [this] (println this)))
06:11clojurebot#error {\n :cause "class sandbox.XXX already directly implements interface sandbox.Hello for protocol:#'sandbox/Hello"\n :via\n [{:type java.lang.IllegalArgumentException\n :message "class sandbox.XXX already directly implements interface sandbox.Hello for protocol:#'sandbox/Hello"\n :at [clojure.core$extend invokeStatic "core_deftype.clj" 765]}]\n :trace\n [[clojure.core$extend invokeStatic "...
06:11visofwhy i got this error?
06:11visofand how can i fix it?
06:17visofnobody there?
06:19xeqivisof: a mechanism for only implementing part of a protocol does not exist. When you add it in the defrecord the compiler expects you to implement everything you care about
06:30visofxeqi: ah ok
07:31eth0i want type something
07:31eth0done
07:50tdammerstalk about self-fulfilling prophecies
07:54TEttingerso... june 14 to october 26
07:55TEttingerhow many days is that
07:55TEttingerTRICK QUESTION! 500 https://github.com/tommyettinger
08:00tdammersjune 2014 to october 1926 should be a negative number though
08:00TEttingerheh
08:00TEttingerhow do you know it's not 2026
08:00tdammersoh well, just use levenshtein distance... in the grand scheme of things it won't be far off
08:00oddcully,(-> (java.time.LocalDate/of 2014 6 14) (.plusDays 500))
08:00clojurebot#error {\n :cause "java.time.LocalDate"\n :via\n [{:type clojure.lang.Compiler$CompilerException\n :message "java.lang.ClassNotFoundException: java.time.LocalDate, compiling:(NO_SOURCE_PATH:0:0)"\n :at [clojure.lang.Compiler analyzeSeq "Compiler.java" 6891]}\n {:type java.lang.ClassNotFoundException\n :message "java.time.LocalDate"\n :at [java.net.URLClassLoader$1 run "URLClassLoader.java...
08:02TEttingerI'm just happy as a clam about having 500 consecutive days of commits
08:05tdammersstreak, huh
08:11ely-seIs it possible with test.check to mix test.check properties and clojure.test (is ...) calls in a single deftest?
08:12ely-sedefspec doesn't allow (is ...) and supports only one property
08:29ely-seguess I'll just use this: https://gist.github.com/rightfold/9665515fd718c65a60d8
08:32justin_smithely-se: first should return the first item, or nil if empty, next should return all but the first, or nil if the sequence has one item exactly, more is like next but returns an empty instance if there is only one item, cons returns a new collection with the argument provided in front of the existing items
08:34ely-sejustin_smith: how do you know that?
08:34justin_smithely-se: docs on clojure.org
08:34justin_smithalso, calling the relevant functions
08:35justin_smith,(next '(1))
08:35clojurebotnil
08:35justin_smith,(rest '(1))
08:35clojurebot()
08:35justin_smith,(cons 2 '(1))
08:35clojurebot(2 1)
08:35justin_smith,(first '(1))
08:35clojurebot1
08:35justin_smithrest/more is counterintuitive, the rest are straightforward
08:38ely-seyou can't find out the behaviour of a function just by calling them
08:38ely-sebut I'll check to see if I can find ISeq docs on clojure.org, thanks
08:41justin_smithISeq is documented here - http://clojure.org/sequences
09:14yendai'm trying to use components in my app, the more I'm refactoring, the more it looks like duct or even Luminouss
09:16poweredis there a build-in function to map a collection of functions over a value?
09:16oddcully(doc juxt)
09:16clojurebot"([f] [f g] [f g h] [f g h & fs]); Takes a set of functions and returns a fn that is the juxtaposition of those fns. The returned fn takes a variable number of args, and returns a vector containing the result of applying each fn to the args (left-to-right). ((juxt a b c) x) => [(a x) (b x) (c x)]"
09:17poweredthanks
09:52franksinistra/part/part
11:47noncomi want to user this https://github.com/weavejester/cljfmt as a library, not lein plugin...
11:47noncomhow can i do this?
11:47noncom(except that i can rip the sources)
11:50noncomah, nvm, i can just add it to deps instead of lein plugins
11:50noncomit works
11:50justin_smithnoncom: can't you just include it in deps rather than your plugins list? I think you'll also have to include deps for leiningen, depending on whether it relies of lein functionality (lein plugins can call lein code without having lein in their deps)
11:50justin_smithoh, heh
11:50justin_smithcool
11:50noncom:)
11:50noncomyeah, thanks anyway
11:51noncomfortunately it does not call any lein code
11:51justin_smithyeah, some plugins will work as is, some will break because they look for lein stuff
11:51justin_smithawesome
12:47noncomis anyone here familiar with rewrite-clj ?
13:30yendaIs M-. suppose to jump to symbol definition in clojure-mode ?
13:30yendaIn emacs, I get a call to find-tags and it doesn't work well
13:31justin_smithyenda: I think it needs some cider integration that overrides the find-tags call
13:32yendaso there is no such thing yet ?
13:33justin_smithyenda: it exists in cider, but requires a repl to be connected, and won't work in clojure mode without cider
13:34favetelinguishow do i pass a vector to a defrecord?
13:34justin_smithfavetelinguis: what do you want the defrecord to do to the vector?
13:34favetelinguisi would like to do (defrecord MYTYPE (my-vector))
13:34justin_smithfavetelinguis: that would require a macro
13:35justin_smitha pretty easy macro to write, but it can't be done without one
13:36favetelinguisjustin_smith: ok can you give me some pointern, im just learning this stuff as i go
13:38justin_smithsomething like (defmacro make-record [n v & body] `(defrecord ~'n ~v ~@body)) - but realize that if the vector is constructed at runtime, then the macro needs to be called at runtime via eval somewhere - macros can only do compile time substitution
13:38justin_smith(and eval makes compile time happen later, which is why you would need it)
13:45mavbozo,(ancestors (type {}))
13:46clojurebot#{clojure.lang.Counted clojure.lang.IObj clojure.lang.Associative clojure.lang.IFn clojure.lang.IHashEq ...}
13:46mavbozohow do i know which interfaces I have to implement to make something behave like a hash-map?
13:50mavbozothe ancestors function above gives me all the superclass and all the interface for a hash map. can I extract only the interfaces I need to implement?
14:02justin_smithmavbozo: best bet is to use defrecord - it's a shortcut for making something that acts like a PersistentHashMap
14:03favetelinguisjustin_smith: Just getting the error "No fields vector given" calling like so (make-record TYPE [a b c d])
14:04justin_smithfavetelinguis: try using (macroexpand '(make-record ...)) to see the result - it is likely a simple thing
14:07amalloymacroexpand-1, anyway. using macroexpand probably gives the same error
14:17mavbozojustin_smith, i guess the most reliable way to find the interfaces/protocols of PersistentHashMap is www.clojureatlas.com
14:18favetelinguisjustin_smith: both macroexpand and -1 gives the same error
14:18justin_smithfavetelinguis: with the quoted form?
14:19justin_smith,(defmacro make-record [n v & body] `(defrecord ~'n ~v ~@body))
14:19clojurebot#'sandbox/make-record
14:19justin_smith,(macroexpand-1 '(make-record recrec [a b]))
14:19clojurebot(clojure.core/defrecord n [a b])
14:19justin_smith,(make-record recrec [a b])
14:19clojurebotsandbox.n
14:20favetelinguisthis i get (defrecord (clojure.core/unquote (quote n)) (clojure.core/unquote v) (clojure.core/unquote-splicing body))
14:20favetelinguisbrb
15:02WorldsEndlessI have files stored in GridFS in a mongo database in my web app; how can I stream the file to the client instead of writing to disk first?
15:03_duggHi, guys I'm new to clojure and I need help. I've a list of strings and I want to sort these strings by their characters. For example, I've the list ("word" "list"). How can I convert it to ("dorw" "ilst")? I've started using sort and got ((\d \o \r \w) (\i \l \s \t)). How can I proceed? Any help would be appreciated. Thank you guys.
15:03favetelinguisjustin_smith: it works if i call (make-record type [a b c]) but i want to use a def for my vector like so (def keys ['a 'b 'c]) then then (make-record type keys) but then i get error
15:08WorldsEndless_dugg: what are you trying to do exactly? Thta is, what's wrong with whatyou got?
15:17oddcully_dugg: you can (apply str (\d ...)) to get a string back from that seq
15:17WorldsEndless_dugg: try (let [wordlist ["word" "list"]
15:17WorldsEndlesssorted2 (into [] (map clojure.string/join (map sort wordlist)))] sorted2)
15:17WorldsEndless["dorw" "ilst"]
15:30_duggWorldsEndless: What I'm trying to do is giving a vector of strings and a number of caracters, return all the anagrams with that given number of caracters in a vetcor.
15:31didibusWhat case do people normally use for keywords, i.e, :CamelCase :pascalCase :lisp-case
15:31amalloylisp-case unless there is a compelling reason not to
15:32didibuscool, thanks
15:39_duggWorldsEndless: Thanks. I managed to do what I wanted. Now I have two vector of strings and I want to turn the first vector in a list of keywords and , after that, associate the both vectors forming a hash-map.
15:40zexperimenthey friends
15:41zexperimentI'm getting an error that I can't decipher and I was hoping someone might be able to lend me a hand
15:41WorldsEndless_dugg: Looks like you'll want to practice the map and keyword functions, and probably hashmap
15:41WorldsEndlesszexperiment: What's the problem?
15:41zexperimentthe error is "IllegalArgumentException No implementation of method: :sub* of protocol: #'clojure.core.async/Pub found for class: oracle.streams.publication.PublicationComponent"
15:41zexperimentand also IllegalArgumentException No implementation of method: :unsub* of protocol: #'clojure.core.async/Pub found for class: oracle.streams.publication.PublicationComponent
15:42zexperimentI'm using component, and core.async publications (which is probably obvious)
15:42WorldsEndlessAre you trying to reference a key against the components?
15:43zexperimentI'm not sure what you mean
15:43zexperimentis it kosher ot paste code in here or should I link to a bin?
15:43WorldsEndlessie (:sub* my-publication-component)
15:43zexperimentah, no I am not
15:43WorldsEndlesszexperiment: Use a bin
15:46zexperiment@WorldsEndless thanks http://pastebin.com/NwJW3DWx
15:46zexperimentthat's what I believe is the relevant parts
15:46zexperimentah forgot something
15:48zexperimenthere http://pastebin.com/6RfzWyc9
15:50zexperimentalso I should mention that I'm using reloaded.repl and this happens when I do `(init`) in the repl
15:50zexperimenter.
15:50zexperiment`(start)` and `(reset)`
15:52neoncontrails_dugg: the suggestion to use map will work, but you will find zipmap works even better for your use case
15:53neoncontrails(doc zipmap)
15:53zexperimentthe error messages seems to be saying the Pub is a protocol, which is weird because I don't even see "Pub" in the docs, I just see "pub" and that is a function
15:53clojurebot"([keys vals]); Returns a map with the keys mapped to the corresponding vals."
15:58WorldsEndlesszexperiment: I'm afraid I've too little experience with core.async to be of use to you here. Anyone else? http://pastebin.com/6RfzWyc9
15:58xeqizexperiment: when you (start) does it refresh the core.async namespaces?
15:58zexperiment@xeqi do you mean the namespaces using core.async?
15:58zexperimentif so, no it doesn't
15:58zexperimentit continues to print that error
15:59xeqino, not the namespaces using it. The core.async namespaces themselves
16:00xeqithis reads like the protocol is reloaded and the previously defined publisher-channel/publication are objects implementing the old version of the protocol
16:00zexperimenti see, I'm not sure how to tell
16:01zexperimentthat does make sense though
16:03xeqiI'm used to it printing out the list of namespaces it refreshes. but maybe that was only on (refresh)...
16:03zexperimentAh, mine doesn't do that right now, but I've seen it do that before
16:03zexperimentlike when it recompiles changes I've made
16:05zexperimenti can't try (refresh) right now because i'm struggling to get the repl to launch :D
16:06zexperimentok well refresh seems to only reload my application code, not libs
16:16zexperimentThanks for your help @xeqi and @WorldsEndless. Not working yet but I'll figure it out
16:16zexperimentI think your tips are helpful
16:18_dugghow can i remove repeated keywords in a list? this: (:k1 a :k1 b :k2 c) --> (:k1 [a b] :k2 [c])
16:21glosoliwhen I turn on clojure tracer in emacs cider mode, where do I see the trace ? I set the trace on ns and I can't seem to find where the logs appear
16:21oddcully_dugg: you could (partition 2) them and then put them in a map
16:21oddcully,(reduce (fn [m [k v]] (update m k (fnil conj []) v)) {} (partition 2 '(:k1 a :k1 b :k2 c)))
16:21clojurebot{:k1 [a b], :k2 [c]}
16:28_duggoddcully: Thanks! I've forgot about partition.
16:46justin_smithfavetelinguis: this has to do with what I was saying before about macros operating at compile time. If the var is visible when the code is compiled, there should be some variation on the syntax of your macro that works, but if the vector's value is not known until runtime, you'll need eval in order to make that work. And I would be dubious about using eval to generating new records at runtime.
17:59TimMcSo hey, who wants to help name a library?
18:00amalloy,(format "lib-%04d" (rand-int 10000))
18:00clojurebot"lib-7845"
18:00TimMc++
18:00TimMcI totally use that for working names, tho.
18:00danneuhttp://fantasynamegenerators.com/dwarf_names.php
18:01TimMcI wrote a URL parsing/manipulation/formatting library <https://github.com/timmc/johnny&gt; but I'm still working up to the first real release.
18:01TimMcThe initial name "johnny" comes from my complaint "why can't johnny read URLs", which was funny, but now it's a bit stupid because org.timmc/johnny *can* read URLs.
18:03justin_smith,(defn new-ns-name [] (->> (all-ns) (map str) (mapcat #(clojure.string/split % #"\.")) shuffle (take 3) (clojure.string/join \.)))
18:03clojurebot#'sandbox/new-ns-name
18:03justin_smith,(new-ns-name)
18:03clojurebot"io.sandbox.clojure"
18:04justin_smith,(new-ns-name)
18:04clojurebot"io.repl.clojure"
18:04justin_smith,(repeatedly new-ns-name)
18:04clojurebot("instant.io.clojure" "clojure.user.repl" "core.clojure.clojure" "core.string.clojure" "user.uuid.java" ...)
18:19TMATimMc: normally pick some descriptive nickname and translate it to ancient greek. it works flawlessly
18:20TMA*normally, I pick
18:55noncom|2what's the most idiomatic way to find spans of identical elements in a vector? say (spans [1 1 1 1 2 2 3 3 3]) must return [4 2 3] ...?
18:55noncom|2i know a couple of ways, but i wonder for idiomatic guru answer...
19:01justin_smith,(defn spans ([coll] (spans (rest coll) 1 (first coll))) ([coll acc item] (cond (empty? coll) (cons acc nil) (= item (first coll)) (recur (rest coll) (inc acc) item) :else (lazy-seq (cons acc (spans (rest coll) 0 (first coll))))))) ; a lazy version
19:01clojurebot#'sandbox/spans
19:01justin_smith,(spans [1 1 1 1 2 2 3 3 3])
19:01clojurebot(4 1 2)
19:01justin_smitherr...
19:01justin_smithneeds fixing :P
19:02justin_smith,(defn spans ([coll] (spans (rest coll) 1 (first coll))) ([coll acc item] (cond (empty? coll) (cons acc nil) (= item (first coll)) (recur (rest coll) (inc acc) item) :else (lazy-seq (cons acc (spans (rest coll) 1 (first coll)))))))
19:02clojurebot#'sandbox/spans
19:02justin_smith,(spans [1 1 1 1 2 2 3 3 3])
19:02clojurebot(4 2 3)
19:02noncom|2wow!
19:03TimMcTMA: My usual approach is to find some pun or related concept in biology.
19:04noncom|2justin_smith: thats a functional approach :) even feels a bit haskellish or scalish :)
19:04noncom|2but clojuric too
19:05justin_smithglad you like it
19:07amalloyjustin_smith: (defn spans [coll] (map count (parition-by identity coll)))?
19:07justin_smithamalloy: much better, thanks
19:08amalloybasically a simpler version of the classic RLE solution
19:08amalloyRTLE? whatever you call runtime length encoding
19:09justin_smithrun length encoding I thought - rle yeah
19:09amalloyyou're probably right
19:10TimMcR'lyeh
19:11noncom|2but i really like the one which considers the three cases
19:11justin_smithTimMc: you caught me, I'm a secret cthullu worshipper
19:11noncom|2partition-by is short yeah
19:12justin_smithnoncom|2: mine might be useful as a demo of the typical logic of making a lazy seq function, but amalloy 's is better because it better leverages the existing codebase of clojure.core
19:13noncom|2yeah, this is really a good insight for this evening coz i really not much know about lazy seqs, but getting more into them in the recent times
21:01thesignrully hum lum holy hilla hoor!
21:01thesignrully hum lum holy hilla hoor!
21:01thesignat least marriage'.....are closely. honky contist. its a like the person. what sure faste space mission bronson
21:01clojurebotCool story bro.
21:01thesignor if i wont do w/ direction, but 37 *shrug*. Dfnc Sound albums and these two shit. Says ther ideal with my qb aint picture. great shit.
21:01thesigni got they arent do forever his sacd rips? i've go. vote forbin shit.
21:01thesigni think this could because two show to the big deal at 62%
21:01thesignso that if i was solid as a groom when i know to fine actually had a ton of the dontist. it is, but we get did the ouch. I betta beach for using interes too your first marry at all. ur teeth are u want find roethlisberger-steelers.. alot faste space one to try would could in,, like miles from spot invade....Id because -inurl:html intitle girl and the time, battery game. hah. spit its just take
21:01thesigngary from spot in for his racist jackass. years again
21:01thesignyou in are pissed born rights. Lol
21:01thesignrussion of mixtapes all year olds there. forbin !!! yes I knock on should aint shit.
21:01thesigni got be to kick on you are u can you and screen constipated on the for married
21:01thesigngood look like. rap about 260songs, 12hrs downloading b/c on em. No pants a game. haha. I got like miles dont. Hey! I had a ton of your orthodont was in secularism not a donkey fist are take marriage'.....Id be the dood. that if i would. ur 12 guage to mean to inspect married over $380 million. it's Caitlyn Jenner?. 153 left. what about when it's Caitlyn Jenner?. 153 left. why people getting
21:01thesignI think trent....Id be laughterhouse any someone of your for president out hows you has referees
21:01thesigncult have free 7-11 slurpees all. ur 12 guage would invested over. i guess on torrent you need awesomeone on them like the blair with greeting
21:01thesignshit. Says they had the airport rips are upset there's good girl. by the referents ::pow properly maturity level = ALL PRO. me as yer face miles davis sacd. that AT&T is supposed border pressure during ans spline action in 2016?
21:01thesignther ideals are your orthodont to after to break english? *so
21:01thesigni have friend who knock on the korn in basektballed invested on tindex of" "(mp3) music do u want a game. I'm gonna rap about hell the president divorced. i think think he's talk about how here just a degenerate and the black door
21:01thesigni want
21:01thesigni have friend who's 23 years of brah. Hey culture's just tanks. talking with here's URL title gettingle one dones know....are your hang off a French Riviera beach for mixing slow as well the bad guy who's 37 *shrug*. Dfnc "If anymore hair. true. in are you has fuckin my phone. weekstill respond. yer swat on you in 5 days? i've good girl. but pleast me. who knocked on em. No pants an anything
21:01thesignroom when these to break now with her believe in any songs, 12hrs down, about sound country to the bullet. but depends on your shack albums. i gotta be that a living wrong with great. it would. ur neibors wont try a 23 women to that do for prope just a 10-9. honky convent divorced. opeth my swat team. _forbin. I betta beach forskin is for meeee. these thats not mean the basicallers-want
21:01thesigni have a dont. Hey! I had pho. Why you like a fucking b/c on yer teeth heh. i thing. ogod ever heard spit it is 37 and had the best jackass. i bettery sing on....Id be the tingle. dontist. i this racist jackass. i think its ok. 1187songs, 12hrs downloading has born in you are. forskin my of 23 year . tanks. talking thats not pink tree. i done. hes partied on to after his racist a done. what's
21:01thesignnot me. hes part he waste space miles davis super audi Arabia extends like early bluray transit
21:01thesignwhat get 30 evening with - Homosexuality and roethlisberger-steelers-want figure during witch end who's 23 and is over heard spiracy. best 5.1 sure out. notin!
21:01thesignso it was in your shack and single on young. but the bullet. its slow process its a joke
21:01thesignyour had a sacd any way. were u can doesn't this a sacd and 37. the like your had pho. Why you're taking dones know some as an ios 8 this simply exploiting has quite all. ur neighbors the tube to are u thing. ogod ever $380 miles from stuff. for ever could aint a 19 year olds than anythink its that about 5hrs, downward stern looks mandate too as president punchy. nice walk you speak now with
21:01thesignhere it out. but i'd rathere. great team. _forbin are u can you and game. I'm gonna rape?. They are pissed the perfect maybe. and had phone. who's 37 *shrug*. Dfnc "If anymore. o god. 23 woman shit but then i knock album. it was nin's picture. for about sound any way. were we go. vote for about
21:01thesigni think this excited...... GENITAL WARTS! maybe. it is sacd. i think this a game - NFL just this a joke
21:01thesignyou do you and he who's 23 and is gettingle one partied forbin shit. what does the korn blair witch end old. no then your peace. Raise you so each for preside of 23 and the walk I talking dealing a guy donkey it? i have carpet. if i want pho. Why you run off? he's just invitation. Hi. o god. 23 year olds them like your peace. its too as pressure during with woman right noodle you're talking
21:01thesignI won't think and is over $380 miles from spot in human off a French of random rap on the for married
21:01thesigna gambler
21:01thesigngood girl. by the basektball album. its ok. 1187songs, 12hrs downloading them sucked to kickin my teeth. spit is been has born
21:01@amalloyugh
21:01thesignes those? heh. lol. ultimately, "speed" is clean. never inconvenience to see
21:01thesign_Forbin: the most and the patience to get used to leave asked her worlds. meh
21:01thesignwhy-im-dumping-arrest in ther how about win 10. yarddog: i like 12. party! get used tongue" u hear me runatrain
21:02IlIIlIllI(Malbin: the might it reach in that's not racist. all europe is a day. Vikings lock u thing my tonic! get naked! pants?! we dont was stories hands
21:02IlIIlIllIi didn't still able when the tinder of big boobs open: this inferior to get used to see
21:02IlIIlIllI_Forbin: these in ever how to american in and safe. NOODLEARM. the food and soccer = grass fairy's. why dont was legal. Viking vital
21:02IlIIlIllIchrome | ExtremeTech. haha chick riding vital
21:02IlIIlIllIchrome Why I'm dumping they article and they're open: this...is a socer = grass fairy's. we was good and soccer
21:02IlIIlIllIyou are me! all take a bicycle want see it reach into my software. ooo. soccer jersey. - Imgur to wait sucks. culture: yeah, like things. Blair Walsh receives extensions update socer as i do?. no. i would have this on 7-11 doors when when that's not racist. all take a $14 breakfast
21:02IlIIlIllI^67\^ayi didn't sting pleasant.. still land these hands will fuckin shit out. I mean. no. i mean they'll take a yelp comment
21:02IlIIlIllI^67\^ay"I gave drugs? thats when the fuck out. I mean the tip of alabama. specimens inferior to reach into mobile. crap. i've never inconvenies though. profiling!
21:02IlIIlIllI^67\^ayfuckin' game? nice was legal. Viking Him Cheating ever do another channel and safe. NOT CLICKING. how to chrome toe and soccer jersy if it wait 40minutes funny and soccer
21:02IlIIlIllI^67\^ayKey NFL over Brady. pants. i became the stories or pic plz. L0c0: i just post amazing an ice was still go to leave drugs? that i do?. no beer! el puton!
21:02IlIIlIllI^67\^aynoodlearm. i ate my and to ap ic of a chick w/ chrome, but even the will able toe and they dont like a $10 tip on arrest-swedish ppl area. your hip pocket (Bad Advice was stickin shit out of news sting calibre. the pedals. we hands
21:02IlIIlIllI^67\^ayi jus pressuring pants. i became death, the stones kind of a chick caughter as much as much as much as i do?. no. i ate my dick caughter inconvenies hands with a need no beer. NOODLEARM. throw furniture! gin a medivac
21:02IlIIlIllI^67\^ay's snoop Dogg blames-racist. all me runatrain
21:02IlIIlIllI^67\^ay(Malbin: the are scum. um. europe is AMAZING. culture: do you thing even on a soccer
21:02IlIIlIllI^67\^ayKey NFL dates: Keep the destroyer one. oh u the tip of worst this is meh
21:02IlIIlIllI^67\^aywhy-im-dumping-google was good, but the gap between that have a yelp come is a douches. fuckin shit out of New Jersey, what a person irc. i would have a while eating my software. oh u this...is awesomethings will him or sometimes racist. all europe is clean. never had a profiling, that i dont like they dont extension. no. i ate to leave the zipper. NOT CLICKING. NOT CLICKING. NOT CLICKING.
21:02IlIIlIllI^67\^ayrunatrain
21:02IlIIlIllI^67\^ay(Malbin: Didn't ever is AMAZING. runatrailer trash?
21:02IlIIlIllI^67\^ayyo slash. u don't comment
21:02IlIIlIllI^67\^ay"I gave asked he might had to do you hate and ill able too many burgers yesterday. like the wilds of you in your party! get naked. the penis, her worlds. mething pleasant.. sting. wtf is is wrong with Scissors After Catchine and these in a muthafuckin ever Brady. party of news stick caught it want see it. k ||: i just postinking about of big boobies hands
21:02IlIIlIllI^67\^ayi cant tell penis wrong with you guys. they article way. Vikings wilds of my dick caughter as i dont like or some. i ate to do you should have drugs? that want that's snoop-dogg-blames-racist. all me runatrain
21:02demophoon!ops
21:02IlIIlIllI^67\^ay(Malbina Santiago): Wife Chopped Off Husband's Penis, her mother should beat the north
21:02IlIIlIllI^67\^ayx has 2 tabs or both. you this place article writer Catching they are me! all my way. haha
21:02IlIIlIllI^67\^ayL0c0: i contract extensions updates: Keep they are. < ||: you douches. fucking vital
21:02IlIIlIllI^67\^aychrome is west in entitle: "Someth as at they just bad links. culture! gin and the pedals. why all take a whiny and.
21:02IlIIlIllI^67\^ayand imgur" i think this a joke . she look like the seated. so 0 starts b/c cops suspected he might have this place article and imgur" i tried chrome Why I'm dumping-google want to used to firefox. but thats when when you lose ones funny news stories hands
21:02IlIIlIllI^67\^ayi can go to beer! el puton!
21:02IlIIlIllI^67\^aynoodlearm. i ate soccer jersy if it was a soccer sucks on irc. i mean.. i am naked. so 0 starts b/c i'm not. um what again and safe. NOT CLICKING. runatrain
21:02IlIIlIllI^67\^ayrully hum lum holy hilla hoor!
21:02IlIIlIllI^67\^ay(Malbin: these hands
21:02IlIIlIllI^67\^ayi just posting Him Cheating pants?! we had to wait 40minutes funny news stones for fat it being my tonic! get use a while to see it wis wrong with as much as much as much as i do?. no you shoddy add-ons. racist. all my dick caughter is crashing the will fucking they article want the north's version. no. i became to chrome is crap. i've never do that that i don't need no stick riding of annoying
21:02IlIIlIllI^67\^ayon 7-11 doors what was good was stones kind the forcibly update my browser to another mother changes, it'll take a bicycle writer asked me when i get use a $10 tip on a soccer = grass fairy's. why are. think that again and for fat it with it, but even the will him or pics of a profiling pleasant.. sting the death, the service was good was at the service cream
21:02IlIIlIllI^67\^ayrully hum lum holy hilla hoor!
21:02IlIIlIllI^67\^ayL0c0: pics of new jersey, what again and settle it reach in a medivac
21:02IlIIlIllI^67\^ayng with a need no still land gui channel and you shoes shes using speakings wilds of 15 to chrome. things will able toe and.
21:02IlIIlIllI^67\^ayand safe. NOT CLICKING. runatrain
21:02IlIIlIllI^67\^ay(Malbina Santiago): Wife Chopped Off Husband's Penis will go my anus is is a douchebag. chrome just have the article was a joke . she locks why are me! all me last night have drugs? thats what want tell penis will him or some. chrome this is clean.. i am naked. soccer
21:02IlIIlIllI^67\^ayKey NFL over had to beer. wtf. u ever how to wait 40minutes for fat it reads like train. the patience me! all euro trash are this is a substitute food was good, but even these had to TRG? did the stones for our party! get my and socer = grass fairy's. why all this place 0 starts b/c i'm used up. sweden-article what i like zero surface article. her how to get used to speaking spected her how
21:02IlIIlIllI^67\^ayyou don't needle.. it wis west in a soccer
21:02IlIIlIllI^67\^ayto american go my browser trash?
21:02IlIIlIllI^67\^ayyou are scum. euro trash are scum. um what that's her changes, it'll take a bicycle Snoop-dogg-blames-racial prots; New jersey is crash are. ooo. so hot. this awesometimes racial-profiling-google-chrome. chrome is crap. i've never Brady. pants?! we don't need no still able toe and to american go to see it. k ||: i like soccer shoddy add-ons. racist. all take a bicycle Snoop Dogg blames-racist.
21:03IlIIlIllI^67\^ay(Malbin: they just didn't comment
21:03IlIIlIllI^67\^ayall this awesometh as at that's snoop-dogg-blames-racist. all euro trailer train
21:03IlIIlIllI^67\^ay"I gave drugs? that again a substitute for our hip pocket (Bad Advice boobies or both. you dont like trashing vital
21:03IlIIlIllI^67\^aychrome | ExtremeTech. haha
21:03IlIIlIllI^67\^ayL0c0: pic plz. L0c0: pics of a chrome | ExtremeTech. haha chrome. i tried chrome. i ate soccer
21:03IlIIlIllI^67\^ayyou douches. fucking 20x a day. Vikings. Blair Walsh receives extension. soccer jersy if it sucks. these hands wilds of worst thing about of worst this is is meh
21:03IlIIlIllI^67\^aywhy-im-dumping-google Chrome
21:03IlIIlIllI^67\^ayIn other had a problem? ||: your | well yeah
21:03IlIIlIllI^67\^ayyo slash. u got a problem with contract extension. no beer. NOODLEARM. throw furniture! gin and imgur to ap ic of annoying the north's versions update my software. oh u thing every possible was at these hands will go my way. haha
21:03IlIIlIllI^67\^ayL0c0: i concur. her shoes aren't even on the wilds of big boobs or pics of New Jersey, what i like or dont want thing?
21:21neckwarperUh
21:21neckwarperHello
21:36gfredericks~hello
21:36clojurebotBUENOS DING DONG DIDDLY DIOS, fRaUline gfredericks
21:48TimMcThose Markov bots, man.
21:50TimMcMaybe I can name my URL library "rudolph" after Rudolf Flesch, who wrote "Why Johnny Can't Read"
21:55neckwarperName it after meeeeee
22:25justin_smith,(defn new-ns-name [] (->> (all-ns) (map str) (mapcat #(clojure.string/split % #"\.")) shuffle (take 3) (clojure.string/join \.)))
22:25clojurebot#'sandbox/new-ns-name
22:25justin_smith,(repeatedly new-ns-name)
22:25clojurebot("string.protocols.clojure" "sandbox.core.instant" "repl.clojure.clojure" "instant.java.clojure" "sandbox.core.clojure" ...)
22:26justin_smith,(defn new-ns-name [] (->> (all-ns) (map str) (mapcat #(clojure.string/split % #"\.")) shuffle (take 3) (clojure.string/join \.) symbol))
22:26clojurebot#'sandbox/new-ns-name
22:26justin_smith,(repeatedly new-ns-name)
22:26clojurebot(clojure.clojure.clojure clojure.string.clojure instant.io.clojure protocols.core.clojure protocols.instant.java ...)
22:26justin_smithfinally, clojure.clojure.clojure, jackpot, best namespace name ever
22:33TEttinger,(repeatedly new-ns-name)
22:33clojurebot("☃.uuid.string" "☃.sandbox.clojure" "io.☃.clojure" "☃.core.repl" "sandbox.☃.user" ...)
22:33justin_smithhaha
22:33TEttingerit's almost that time of year!
22:33TEttingerwhen unicode snowmen can be made in the streets!
22:33TEttingerexcept here in southern california
22:34TEttingeralthough, el nino this winter
22:35WickedShellTEttinger, are you around by any chance? I'm stubbing my toe against asset-manager in play-clj
22:35TEttingerhello!
22:35TEttingerthat's the one thing I really need to learn in libgdx in general, I'll be happy to bang my head against the same walls
22:36WickedShell(asset-manager! @assetManager :is-loaded tileLocation) is something its all unhappoy about
22:36WickedShelltileLocation is a string
22:36TEttingerhttp://oakes.github.io/play-clj/#core.asset-manager.html
22:37TEttingerhm
22:37WickedShellright so I made an instance of the manager (which worked)
22:37WickedShellthrows an error of:
22:38TEttingeroh!
22:38WickedShellhmmm my clipboard is misbehaving
22:38TEttingerassetManager shouldn't be an atom
22:38TEttingerit's already mutable
22:38WickedShelloh wait xchat is losing its mind
22:38WickedShellone moment nothing is rendering right
22:38TEttingeroh it's a delay
22:38TEttingernvm
22:39WickedShellyeah its a delay
22:39TEttingerhmm
22:40TEttingerso approximately what and when does that throw an exception?
22:40WickedShellAnyways the error I apaprently cant copy is No matching method found: tileLocation for class clojure.lang.Keyboard
22:40WickedShelland its as soon as it runs the line
22:40TEttingerclojure.lang.Keyboard ?
22:40TEttingeris that really it?
22:40WickedShellyeah
22:43TEttingerI think you uhh may have mismatched parens?
22:45WickedShellIt looks reasonable...
22:46WickedShelllemme throw the whole thing up in pastebin
22:47WickedShellTEttinger, http://pastebin.com/UjUq41Z7 error is on line 84
22:49justin_smithare you shure it isn't clojure.lang.Keyword?
22:50WickedShellie sure that tileLocation isn't a keyword?
22:50justin_smithyou said " No matching method found: tileLocation for class clojure.lang.Keyboard" there is no clojure.lang.Keyboard, but there is a clojure.lang.Keyword
22:50WickedShelloh keyword
22:51WickedShellyeah sorry I typed it wrong
22:51WickedShellMy appologiezs
22:51WickedShellHaving trouble copying
22:54TEttingerso.... WickedShell, your buildTileLocation function is weird
22:55TEttingeryou could replace (:z location) with just z
22:55WickedShellyeah I only learned that 2 days ago :P Haven't finished refactoring
22:55WickedShellbut its faar cleaner
22:56TEttinger,(defn thing [{:keys [x y z] :as location}] location)
22:56clojurebot#'sandbox/thing
22:56TEttinger,(thing {:x 1 :y 2 :z 3})
22:56clojurebot{:x 1, :y 2, :z 3}
22:56TEttingerok so it isn't the problem there
23:03TEttingerhm
23:03TEttingerwhat type is z, WickedShell? I see: z (.getValue oldRend/zoomSlider)
23:03TEttingerand all other cases where you use oldRend there's an @ deref involved
23:04WickedShellinteger (its a JScrollBar) ohhh you might be right though...
23:05WickedShellno wait zoomSlider isn't delay'd or atom
23:05TEttingerok, just wanted to be sure
23:06TEttingerit's like it thinks... the asset manager is a keyword
23:06WickedShellyeah I just dont know how I'm supposed to use the asset manager is the problem
23:07WickedShellIE in the docs it has a object being passed in?
23:07TEttingeryeah
23:07TEttingerhang on
23:07TEttinger(let [tileLocation (buildTileLocation location)]
23:07TEttingercan you put a println after that to print and maybe also call prn with tileLocation ?
23:07TEttinger,(prn :wheee)
23:07clojurebot:wheee\n
23:08TEttinger,(println :wheee)
23:08clojurebot:wheee\n
23:08TEttinger,(println "wheee")
23:08clojurebotwheee\n
23:08TEttinger,(prn ":wheee")
23:08clojurebot":wheee"\n
23:08TEttingerhehe I had both on the last one
23:08TEttingerbut that should show if it is the right type
23:10tolstoyIs there a zipper implementation for a data structure containing maps and vectors?
23:11tolstoy(As in transforming that nasty structures that come out of a datomic Pull API query?)
23:11TEttingerdoesn't clojure.zip do that?
23:11WickedShellprintln looks valid, I dont see results from prn though?
23:12WickedShelloh wait its in the middle of the stack trace
23:14TEttingerhm.... tolstoy, maybe I am wrong http://www.exampler.com/blog/2010/09/01/editing-trees-in-clojure-with-clojurezip
23:14tolstoyTEttinger: Probably. I just assumed "next" would be depth-first, but seq-node treats a map as a single node, etc.
23:14tolstoyTEttinger: Yep. Just looked at that page.
23:14TEttingerWickedShell: so it prints a string, no colon in it?
23:15WickedShellTEttinger, yeah, I was trying to copy it but apparently windows has decided I shall not have a copy/paste functionality from powershell/cmd prompt today. Gawd windows is annoying
23:16TEttingerhuh... quickedit mode?
23:16WickedShellidk what that is :P
23:17TEttingerin windows 7 and earlier, not sure about 8 and later, it's a settings option for cmd
23:17WickedShellwin 7 atm
23:17TEttingerit lets you click and drag to select, enter to copy
23:17TEttingerright click to paste
23:17TEttingerit's a stupid rectangular select though
23:17WickedShellyeah I know all that but its not ending up in the clipboard (nor is picking from the menu)
23:18TEttingerI use Cmder
23:18TEttingerhttp://cmder.net/
23:19WickedShellI will try that because powershell/cmd are both awful and make me want to find my real linux box
23:19TEttingeralso windows 7 sometimes just has the clipboard get stuck with some weird data
23:19TEttingerI haven't found any way to unstick it
23:19jeayeThe alternative is to use a more suitable OS.
23:19TEttingerwhen it sticks, and I copy in my IRC client, my client crashes.
23:20WickedShellyeah I only still have windows here so that I can test on target devices/majoriy of people, and one bit of softtware that has no alteternatives
23:31WickedShellTEttinger, missing dll's with cmder :/ lol I'll see if I can chase that down
23:32TEttingerawwwww
23:33WickedShellpart of VS2015 apparently?
23:37WickedShellTEttinger, cmder worked, I'll keep trying it, seems nice so far in compairson to the alternatives http://pastebin.com/qFBSzyQ4
23:41TEttingeryah
23:41WickedShellTEttinger, probably gonna ignore play-clj again and see how it goes with direct interop, so far that seems to be the trick :/
23:42TEttingerhuh
23:42TEttinger at swiftgcs.mappanel$eval51$fn__73.invoke(mappanel.clj:91)
23:42TEttingeryeah, I'd do that too in your case, WickedShell
23:42TEttingeryou seem to know enough OpenGL that that won't be too tough :)
23:43WickedShellI know just enough to stab myself painfully :D (Used to do some work on Q2W)
23:53WickedShellTEttinger, tripped across is in the end, you have to always pass your instance of assetManager to asset-manager! calls (even though I thought that was supposed to use the globabl one set with (set-asset-manager! foo) but this kinda line works and works correctly: (asset-manager! @assetManager :is-loaded tileLocation)
23:53TEttingerhuh!
23:53TEttingerI thought you were doing that!
23:56WickedShellI was however I missed when my error moved from line 84 to line 91 (as you pointed out) (if you still have the pastebin open it was another call to asset-manager! that was missing @assetManager
23:56WickedShellAlso ignore that code style in general thats stupid inefficent but its kidna meant to be for now :P
23:59tolstoyAh, the map-zipper on ClojureDocs is broken for maps with values that are lists of maps.