Fork me on GitHub
#beginners
<
2016-01-12
>
meow03:01:20

in what ways could the new chat app help beginners

meow07:01:37

mrf means what?

trancehime07:01:16

Nothing; it seemed #C085AR8RE is kind of quiet but I need a quick heads up on something

meow07:01:39

all is quiet

meow07:01:46

post your question

trancehime07:01:51

Originally I develop the web application using ROOT context because for some reason I can't access any of my pages or resources once I specify a context path for example "/context"

trancehime07:01:07

When I run the web application all routes lead to my "Not Found" page

meow07:01:42

do you have a minimalized example of the problem

meow07:01:18

create a pared down version that produces that error

meow07:01:38

then it should be easy to debug

progzilla12:01:11

f you are within the UK, around London i am seeking a tutor who can devote at least twice a week to helping me get through Clojure/ClojureScript. Also I am working on my final year project. I need maybe 2-3hours each day until 1st week of April. Name your rate/hour pls. Thanks.

mccraigmccraig13:01:07

@progzilla: you could also ask in #C0522EZ9N

meow13:01:15

they do pair programming - meeting tonight

meow13:01:55

you shouldn't have to pay for this

meow13:01:03

save your money for drugs

meow13:01:20

need recommendations? I've done a bunch

mikeholmesuk13:01:13

@progzilla: the london dojos are pretty good for getting to know the language. If your problem is interesting you could put it on the board as a subject and if it’s popular you may be able to get a group working with you on it for that night.

mikeholmesuk13:01:37

There is one most months at uSwitch (it happened yesterday unfortunately for you)

progzilla13:01:53

Yes I got the notification very late.

progzilla13:01:12

Thanks I have added all of them to my calendar now. Will keep track and attend them

agile_geek13:01:56

@progzilla: bookmark http://www.londonclojurians.org as we publish a calendar of events there. Currently 3 dojo's, one pair programming event and a talk plus ad hoc Dojo's and events

mikeholmesuk13:01:02

@progzilla: this has some events you may be interested in.

mikeholmesuk13:01:13

Ah, beaten to it simple_smile

progzilla13:01:33

Oh great..done that

meow14:01:00

start with weed - its the gateway drug

meow14:01:12

then come back to me for more recommendations

lastnerdftw16:01:05

Can someone please tell me why: (def basic-latin-upper-case [{:letter "A" :long 0041}]) => #'language.core/basic-latin-upper-case :long => :long :long 0041 => :long => 33 Instead of returning 0041??

solicode16:01:50

@lastnerdftw: If you prefix an integer with 0, it’ll be octal

solicode16:01:06

instead 0041, simply write 41

lastnerdftw16:01:38

is there a way to get around this? I am interested in representing the letter A with its Unicode translation

solicode16:01:53

0x41 is probably what you want

solicode16:01:15

Check the literals section for more details

lastnerdftw16:01:33

ok sounds good! thank you!

solicode16:01:56

(long \A) is also an option

noisesmith17:01:34

trancehime: perhaps the issue is that your routing needs to include /context in your app?

gjbroom19:01:09

Hello all. I'm stuck in the http://iloveponies.github.io/120-hour-epic-sax-marathon/p-p-p-pokerface.html tutorial, specifically the "value" function.

gjbroom19:01:44

I've added snippets of my code and the tutorial's hint. I can't figure out how to implement their solution.

gjbroom19:01:28

The hinted solution seems way more complicated than it needs to be (especially since I can't figure out how to dereference the matchers yet). Is there something I'm missing that would make their implementation preferable?

kopasetik21:01:44

Equivalent of JS’s indexOf in Clojure?

kopasetik21:01:05

'egg foo young'.indexOf('foo’) //=> 4

meow21:01:35

@kopasetik: you can still do that using interop feature of the language

meow21:01:52

do you mean clojure or clojurescript

meow21:01:01

look for info on interop

meow21:01:37

will look something like (.-indexOf "foo" 4)

meow21:01:50

but that's probably wrong

meow21:01:59

close enough to get you in the right direction

julian21:01:45

user=> (.indexOf "egg foo young" "foo")
4

kopasetik21:01:31

Could I also do it in the jvm?

eggsyntax21:01:18

@kopasetik: On the jvm, both methods and instance variables are accessed using the .whatever syntax, because there's no possibility of ambiguity by Java's rules.

meow21:01:22

what editor are you using

eggsyntax21:01:44

In JS, you have to distinguish between .method and .-field because ambiguity is possible.

meow21:01:53

does Atom support a repl?

eggsyntax21:01:59

(Minor point that trips a lot of people up)

meow21:01:27

@eggsyntax: notice I got them wrong 😉

kopasetik21:01:33

I don't think so, but I can use the lein repl

meow21:01:59

repl is your friend

kopasetik21:01:36

Good call. Thanks!