Fork me on GitHub
#clojure
<
2015-07-04
>
clojuregeek03:07:34

if you do java interop to use indexOf there are two /1 aritys, one takes a str and one a char … how do you know which one gets called when you do (.indexOf s substr) .. i try it with strings and it works. .but what if i wanted the char version?

Alex Miller (Clojure team)03:07:50

You can distinguish with a ^char type hint

clojuregeek03:07:51

ahh ok.. i’lll investigate that, thanks!

pupeno07:07:21

I'm proud of my tic-tac-toe solution. It's the first time I feel I was thinking in Clojure: https://www.refheap.com/105203

escherize07:07:15

Woah, A rich hickey talk I hadn't seen? https://www.youtube.com/watch?v=VSdnJDO-xdg

pupeno08:07:16

@escherize: it’s very light on code, it’s mostly about convincing people to use Clojure. I watched with my team last Thursday and since they don’t do Clojure yet, they found it slightly useful, but for me, a Clojure beginner, there was nothing new there.

pupeno08:07:39

That slide as the thumbnail is deceiving. That’s about all the code in the talk.

pupeno08:07:06

The arguments are good and interesting, but in this crowd, it’s probably preaching to the coir.

escherize08:07:28

I just thought I had seen everything ,thanks for the review, @pupeno !

pupeno08:07:08

Just trying to save valuable time of brains that can be producing clojure code 😉

escherize08:07:38

Does anyone here ever live-stream their coding sessions?

pupeno08:07:13

I never done that, but I would like to pair with other Clojure coders.

arrdem08:07:27

IMO live streaming is kinda useless. The ideas we work with won't come across at all unless special effort is made to present them which kinda defies the definition of a work stream.

escherize08:07:19

I like watching someone who's really good at something do it.

escherize08:07:30

I get what you mean about all the context being implicit to the programmer

pupeno08:07:17

With live streaming I don’t think you’ll learn a lot about the code itself but you’ll learn about the tools for coding: editor, shortcuts, repl, tests, documentation, searching for libraries, etc.

arrdem08:07:28

Right I mean don't get me wrong screen casts designed to inform are great but watching someone else work even if it's my manager or partner is IME a fundamentally alienated and bewildering experience.

escherize08:07:06

I agree there's no value add if someone is simply working business as usual. but with a live chat / questions I think it is interesting, even if it slows down the programmer/caster

escherize08:07:39

I've been there where the person (co-worker really) is just thinking extremely hard on some kind of complciated issue

escherize08:07:40

i dont think this kind of session (i.e. most day jobs) lends itself to casting. But for a side project to gain some mindshare/learn about customers it may be useful

escherize08:07:23

objects are like marionettes

escherize08:07:39

more than one masterminder

iae08:07:40

I would totes do it, but I'm still a bit slow

iae08:07:52

I'm not sure it would be exciting to see me hit google multiple times

kidpollo08:07:45

@pupeno: just go to 4clojure and learn

pupeno08:07:14

@kidpollo what do you mean?

kidpollo08:07:56

watching other people code does nothing for me 😛

pupeno09:07:26

@kidpollo that's OK. I can learn from others by watching them work. Buy I got here mostly without that.

jwm14:07:43

hehe, I think this was brought up since some newer articles are saying code casting is going to be hip like video gaming casting

iae14:07:40

Oh man, we wish 😄

rauh14:07:19

Is that "Simple made easy" talk that just got uploaded on youtube the same as the one on infoQ?

escherize14:07:11

hey guys i'm gonna start casting now: http://www.twitch.tv/escherize/

escherize14:07:19

I'm not doing anything too interesting

jwm15:07:16

I’m watching

jwm15:07:33

I have your localhost log1nz 1nf0z

malabarba15:07:04

Hey everyone. I'm doing some statistical analysis of Clojure code in the wild, and I need as much data as possible. Are there any good examples of medium to large clojure projects I should be aware of?

dnolen15:07:29

@malabarba: are you talking about applications or libraries?

escherize15:07:16

not my login info 😞

malabarba15:07:28

As long as it's clojure :-)

dnolen15:07:54

@malabarba: any reason you’re not using cross-clj or something similar that's already indexed many projects to collect project information?

malabarba15:07:27

No reason at all

malabarba15:07:32

That's exactly what I needed