ulsa 2015-05-22T18:57:51.000019Z

20 attendees and a week to go, it's gonna be super fun (and a little scary)

seancorfield 2015-05-22T18:58:35.000020Z

@ulsa: did you have teacher training already or is that coming up this week?

ulsa 2015-05-22T18:59:08.000021Z

we've had one, but probably one more sitting is needed

ulsa 2015-05-22T19:00:23.000023Z

I used some non-clojurian colleagues as guinea pigs and got some good feedback

seancorfield 2015-05-22T19:04:24.000024Z

The most important aspect of the teacher training is really about the classroom environment, based on the RailsBridge slides — sensitivity, how to encourage students etc.


I don't really understand what the -q is doing in the snippet above

tjg 2015-05-22T19:53:22.000030Z

@pixel: Ah, I was confused about the context; googling shows it came from:


Huh, actually I grabbed it from "" where it's in the utils file


it's a "findOne" query function for datomic / datalog esque queries

tjg 2015-05-22T19:59:28.000036Z

Ah, I see! Ok, apparently -q runs a Datascript query just like d/q — and if you turn on debugging, it also profiles and prints how long the query took.

tjg 2015-05-22T20:01:16.000037Z

So the code in that snippet calls -q to get the debugging. Otherwise it should call d/q.

tjg 2015-05-22T20:02:30.000038Z

That snippet is horrifically confusing because it uses "q" too much. q means the query. d/q, -q and q1 are all functions which execute the query on args.

tjg 2015-05-22T20:03:15.000039Z

(I hope that kinda makes sense? Or am I terribly unclear? :simple_smile: )


It makes sense, but I don't quite understand what the semantic value of hyphen-variable is


ohp nope I'm


Just straight tripping. Did not see the -q definition above .... 😣

tjg 2015-05-22T20:21:32.000046Z