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

Pablo Fernandez08: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)

thomas15:07:24

!@#$ happens

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