Fork me on GitHub
#admin-announcements
<
2015-11-04
>
grounded_sage03:11:37

common_creative

grounded_sage03:11:46

Woops haha meant to search what I said last 😛

grounded_sage03:11:05

@tedhogan: I'm thinking about using Phoenix, Om, Datomic... looking into if they will fit together

ul07:11:12

if you mean Erlang VM by BEAM

meikemertsch09:11:53

Hi guys, I am currently playing a bit with the 4clojure problems and stumbled upon something that works fine in my repl but the website gives me an Error:

An Error occured: timeout
would anyone take a look at it? I don’t want to post answers to that openly if not asked for...

ian09:11:19

@meikemertsch: I would assume that's just JavaScript timing out. Either your computer is slow or your solution is. I would typically assume it's your solution (don't worry, it happens!), but it could be something else. I actually don't remember how 4clojure works technically. Does it timeout when evaluating something client side?

ian09:11:54

Or do you submit the answer and you get a timeout error? If that's the case could it be something on their side or your network?

meikemertsch09:11:01

the latter… I have no clue

meikemertsch09:11:26

It’s not something very calculation heavy

meikemertsch09:11:14

happens already on the first one

ian09:11:50

Ah. So you don't get specifically the timeout error if the solution is different? For example if you just try having the solution be some simple function application such as (+ 1 1) you don't get the timeout error?

ian09:11:51

Or is there an infinite loop in your solution perhaps?

meikemertsch09:11:00

@ian why would it work in my repl then?

ian09:11:06

Oh hm, you said it worked in the REPL.

ian09:11:26

That is interesting. Did you try some bogus no-op solution?

meikemertsch09:11:26

I wonder if that stuff is parsed somehow on 4clojure

meikemertsch09:11:41

I just don’t see the issue.

meikemertsch09:11:37

In my repl:

"Elapsed time: 1.419835 msecs” 

meikemertsch09:11:49

it’s really small

ian09:11:45

Sorry to repeat myself, but the bogus answer? Does any and every solution give the timeout error?

meikemertsch09:11:07

if there’s something wrong the tests fail

ian09:11:23

But if the solution is right you get a timeout error?

ian09:11:45

Then surely there is a problem with 4clojure?

meikemertsch09:11:28

I don’t know

ian09:11:04

Yeah, it timed out for me as well. It must be a temporary problem with 4clojure.

ian09:11:10

Unfortunately

jstew12:11:13

@meikemertsch: That's usually an indication that your solution needs to be optimized. It can be "correct", but not optimized enough to run in the time constraints. It's happened to me too simple_smile

jstew12:11:49

Whoops, I see that you're already answered. My slack just did not refresh yet.

meikemertsch18:11:47

Well, I did exchange my ‘iterate’ in my solution by a loop/recur with the rest of the code being the same and it worked...