Fork me on GitHub
#clojure-uk
<
2017-06-13
>
agile_geek07:06:07

morning, Gutten Morgen, Bore da, Bonjour, Nuq'nuh...

thomas07:06:56

@agile_geek I think it is "Guten"

thomas07:06:11

And goede morgen of course

agile_geek07:06:19

@thomas noone said I could spell!

otfrom08:06:33

good morning, campers

otfrom08:06:40

(that is about as American as I can get)

agile_geek08:06:42

@otfrom that's not really very American...you've obviously been away from the 'motherland' for too long

thomas09:06:12

I also think you can do better then that @otfrom

yogidevbear10:06:58

...management that are not technically savvy causing chaos with your software?

thomas13:06:57

Clojure question for a change...

thomas13:06:21

how do I import a static Java method?

Rachel Westmacott13:06:07

eg: (Objects/isNull "foo") ?

thomas13:06:19

yeah... that is what I was thinking... but I am trying to use selenide... and haven't had any luck yet...

thomas13:06:50

(com.codeborne.selenide.Selenide/$ "") doesn't seem to work for some reason.

Rachel Westmacott13:06:52

thomas: aren’t you meant to pass the url to the open method?

thomas13:06:19

you can do that as well I think

thomas13:06:28

that results in a classnotfound

thomas13:06:50

$ is a static class though

Rachel Westmacott14:06:38

if you get class not found, rather than method not found, that suggests that you haven’t imported the class perhaps?

thomas14:06:36

I think I am trying to import the wrong class.

thomas14:06:09

(:import [com.codeborne.selenide.Selenide.*]) works.. (as part of the ns call)

Rachel Westmacott14:06:21

is it not that com.codeborne.selenide.Selenide is the class and $ is a static method?

Rachel Westmacott14:06:40

ergo: (:import [com.codeborne.selenide.Selenide]) + (Selenide/$ ...)

thomas14:06:43

yes... that worked... ( it opened Firefox at least!!!)

jonpither14:06:22

Anyone understand the W2 stuff in the US?

otfrom17:06:22

@jonpither I'd get an accountant who can do US tax