Fork me on GitHub
#clojure-nl
<
2019-03-29
>
gklijs08:03:40

Morgen, heard about stencil yesterday, making it easy to make proper web components. Not sure if it works well with clojurescript.

borkdude08:03:09

morning. trying out several EDN serialization solutions that mostly don’t work with GraalVM

eval202008:03:12

deploying our custom build background processor today… 🤞:skin-tone-2:

gklijs08:03:21

For now it's just bug fixing, since we started using a wsdl some meta value is now an int instead of a string 😞

thomas08:03:17

bug fixing mostly

Mno13:03:13

mornin’

helios16:03:50

do you guys know how to get timings of lein tests?

kirill.salykin16:03:51

I think you need not default runner

kirill.salykin16:03:23

Like this maybe?

borkdude16:03:52

@helios I made a custom macro for it in advent-of-cljc to measure how fast solutions run

borkdude16:03:28

it works like the normal time macro, but it returns both the value and the time as data

borkdude20:03:15

Welkom Patrick

Patrick vd Glind20:03:42

Clojure leren op een vrijdagavond na werk ✔️

👍 8
Lennart Buit20:03:01

Hehehe, fortunate enough to learn Clojure for work 😆

Patrick vd Glind20:03:14

i want to introduce it at work

Patrick vd Glind20:03:34

but have been fascinated with learning FP for several years now, but finally decided on Clojure as ‘the’ language to figure out

Patrick vd Glind20:03:48

an environment where you have to start over completely

Lennart Buit20:03:57

I learned Haskell as my first FP language

borkdude20:03:01

“it’s only a Java library” is a good place to start at work 😉

Patrick vd Glind20:03:34

@lennart.buit your name sounds familiar, ever been to a Utrecht Meetup?

Lennart Buit20:03:43

not that I remember

Lennart Buit20:03:16

If I may suggest things that I found very interesting in FP that are not clojure. I really like https://fsharpforfunandprofit.com/rop/

Lennart Buit20:03:28

imo shows why FP is great

Patrick vd Glind20:03:51

nice, will watch it

Lennart Buit20:03:15

you can learn a lot from all FP languages 🙂!

Patrick vd Glind20:03:54

however I started with Elixir.. and in my opinion for me a bad idea

Patrick vd Glind20:03:00

since i took my Ruby knowledge over

Patrick vd Glind20:03:04

and just tried to apply it

Patrick vd Glind20:03:24

another reason why i chose Clojure, needed to relearn it all

Patrick vd Glind20:03:33

so i can get the mindset, principles etc in

Patrick vd Glind20:03:40

Haskell i’ve also played with btw

borkdude20:03:57

if I may make a suggestion, first learn to work with a REPL and integrated editor well

borkdude20:03:29

this makes Clojure different from all other FP languages

Patrick vd Glind20:03:40

yeah, i have been using the REPL for a while, while following some tutorials

Patrick vd Glind20:03:50

i got VSCode now with Calva and nREPL

Patrick vd Glind20:03:56

just have to get used to how to ‘work’ it

Patrick vd Glind20:03:26

i’m actually very surprised how i’ve never really used a REPL before, while it’s so powerful

Patrick vd Glind20:03:36

been working in Ruby/Go

Lennart Buit20:03:48

oh I do it a lot in rails as well

Lennart Buit20:03:00

mostly because no-one is able to succesfully parse ruby

Patrick vd Glind20:03:02

i always start rails server ha

Lennart Buit20:03:07

so… its binding.pry all the way

4
Patrick vd Glind20:03:48

gotta check that out at work on Monday

borkdude20:03:57

I’ve used that as well in the few Ruby projects I did

borkdude20:03:05

but come on, it’s not a Lisp REPL 😉

Lennart Buit20:03:39

bashing on ruby is what unites me and my coworkers 😛

Patrick vd Glind20:03:39

so you working with Clojure and CLJS?

Lennart Buit20:03:33

personally, Clojure mostly. I have a bit of javascript in front, but thats not the guts of the app I am working on.

Lennart Buit20:03:55

and, apollo is quite convenient imo :’)

Patrick vd Glind20:03:29

Apollo Client. Apollo Client is a fully-featured caching GraphQL client with integrations for React, Angular, and more ?

Lennart Buit20:03:05

yeah, its a very full featured client

Lennart Buit20:03:17

but as with anything full featured, its quite opinionated

Patrick vd Glind20:03:36

if i may ask (never worked with GraphQL), why put something in between GraphQL and JS frontend?

Patrick vd Glind20:03:46

i am looking at Vue -> Apollo -> GraphQL

Patrick vd Glind20:03:52

and think.. why not skip the middle man?

Lennart Buit20:03:14

hmm? Vue and react are presentation libraries, they don’t have to do much with fetching of data

Patrick vd Glind20:03:00

let’s see if i get this

Patrick vd Glind20:03:09

Clojure backend -> GraphQL

Patrick vd Glind20:03:18

then GraphQL -> Apollo -> JS Framework frontend

Patrick vd Glind20:03:55

in the past I fiddled around with Go backend (API’s) -> Angular frontend

Lennart Buit20:03:15

right, GraphQL is just a nice way of building APIs

Lennart Buit20:03:13

but, graphql is a little more than just making HTTP calls to some backend, so a client is nice to have