Fork me on GitHub
#clojure-uk
<
2016-07-27
>
bigkahuna07:07:56

Nice English weather back again this morning. (doh)

gjnoonan08:07:54

It's good though, cooling things off

glenjamin08:07:59

still nice and sunny up here 😄

glenjamin08:07:10

although we did get some drizzle yesterday

otfrom08:07:17

cooler weather in a country with very little air conditioning is a good thing ™️

korny08:07:13

Cool, but the annoying level of intermittent rain where you put on your wet cycling gear, go 10 minutes, then have to take it all off again because you are boiling hot

korny08:07:00

(apply str (interleave "mrig" "onn”))

otfrom08:07:18

rain gear in summer is our way of reminding us what engineering trade offs are all about

pupeno08:07:50

What’s the best place to posts one’s availability for contract work as a Clojure developer? Do we have a dedicated mailing list for that?

quentin09:07:11

(apply str (interleave "mrig" “onn!"))

thomas09:07:26

@pupeno: you could try #C05006WDW

thomas09:07:45

and #C06B40HMY as well

thomas09:07:21

and I also would use the clojurians london jobs… yes it isnt’ very busy… but it does get used

thomas10:07:10

has anyone here ever used the tentacles lib: https://github.com/Raynes/tentacles

thomas10:07:00

we would like to use it on our github enterprise server… which require tokens to access it… haven’t figured out how to do that (yet) with tentacles.

thomas10:07:50

hmm getting a 404 now… so I think the oauth-token is working...

thomas15:07:18

ok, got it working now… turns out I didn’t have to add api…. to the start of the url DOH

korny15:07:08

Quick question as my brain is not working - how would I get a class name in clojure? I want the equivalent of “MyClass.class.getName()"

thomas15:07:51

maybe you can do a bit of java interop?

thomas15:07:33

(.getName MyClass.class )

korny15:07:38

Trying to - just don’t know the syntax

thomas15:07:45

not sure about the second bit...

thomas15:07:59

(my first answer was before I started thinking)

korny15:07:26

It’s the MyClass.class that I’m not sure works

korny15:07:02

I can call getName when I have an instance of a class

minimal15:07:05

(.getName (class myobj))

thomas15:07:12

maybe you have to do an import first (import MyClass.class)

thomas15:07:17

Or something like that

korny15:07:27

(.getClass java.lang.String.class)

korny15:07:34

ClassNotFoundException java.lang.String.class

korny15:07:17

=> (.getClass java.lang.String)
java.lang.Class

thomas15:07:36

yes, just had that as well

korny15:07:47

ah, it seems I can just call (.getName java.lang.String)

dominicm16:07:13

if not, what was wrong with it? I'd like to learn!

minimal17:07:37

That was assuming you had an instance of the class, myobj. Calling class to get the actually class.

minimal17:07:04

But the question was if you already had the class.

dominicm18:07:54

ah, I see now. That makes sense.

thomas20:07:31

@otfrom: would have told you otherwise