Fork me on GitHub
#beginners
<
2017-05-12
>
drewverlee01:05:20

I talked it over with him and he liked how the thread macro worked, he was actually asking for a way to read left to right In a more step by step fashion. He doesn't think it's worth him using because he has so much experience with Java, which is a fair point. He is probably hoping this will be his last gig 😀

noisesmith02:05:15

in all fairness, clojure code doesn't have to be nested invocations any more than any other language, though people sometimes seem excited to throw as many nested expressions as possible into one line, perhaps they are overly concerned about the line count metric...

emperorcezar02:05:41

Is it possible for me to do an import :as for a java class?

lepistane09:05:42

anyone here have experience in java servlets? and would you be kind to help me with something?

lepistane09:05:13

i've got to make web forum using servlets (jsp, jstl) ...

lepistane09:05:23

i got 4 types of users

lepistane09:05:36

guest registered moderator admin

lepistane09:05:28

guest can only see public forums registered public and open admin/moderator all that + closed ones

lepistane09:05:52

is there a way for me to easily restrict users from seeing something they shouldn't see on server? maybe using tomcat-users.xml?

crvst12:05:20

Hello there, any recommendations for a code review, please? I’ve made my first small Clojurescript+Reagent app and need some criticism on it.

agile_geek12:05:14

@crvst post a link to a gist or repo with the code in the #code-reviews channel

vitruvia13:05:49

Is there a way to build a function in clojure such that you can call it outsinde () and still get it to evaluate?

manutter5113:05:42

@vitruvia I don’t know any way to do that easily, but what are you trying to do? If your goal is to write a Domain Specific Language in Clojure, I’d recommend looking at Instaparse. It lets you define any syntax you like, and execute it.

vitruvia14:05:21

I was just trying to pass a test that I think is wrong, it seems to be calling the function without () while it was supposed to call it with them

verma14:05:07

@vitruvia you can use apply?

verma14:05:13

(apply answer [])

uwo14:05:32

What’s the recommended way to deploy an uberjar to a maven repository like nexus? lein deploy doesn’t deploy the standalone jar. I know how to use boot push, but our project isn’t using boot.

vitruvia14:05:43

@verma you mean apply the function inside itself?

verma14:05:40

@vitruvia I mean, if you don’t want it called (fun ..) .. probably will help if you could tell what you’re trying to do.

echristopherson14:05:43

@vitruvia perhaps if we could see the test definition

vitruvia15:05:35

nevermind guys sorry for the trouble

vitruvia15:05:43

I just realized I was to define a variable and not a function

vitruvia15:05:34

by the way I didn`t find the test definition, that is why I didn`t send it

mobileink18:05:51

the first step to winning over a hostile audience is a good joke.

mobileink18:05:39

i meant it as a joke, but reading the wikipedia article, it make (some) sense as a scientific explanation of the fact that the parens effectively "disappear" with experience. whaddya know.

mobileink19:05:16

then there's the "Who ya gonna believe, me or your lying eyes?" strategy. Parens? What parens? All I see is sexps.