Fork me on GitHub
#clojure-uk
<
2019-05-14
>
thomas07:05:30

morning lovely people

dharrigan07:05:15

🌈 ☀️ Good Morning ☀️ 🌈

maleghast09:05:40

Good morning everyone 🙂

practicalli10:05:26

@dharrigan I use the features of my editor (Spacemacs) to show me the docs and source of a function that is not defined in my project (i.e) anything in clojure.core or other libraries). For function definitions in the current project I jump to the definition, as @benedek mentioned. This shows the function definition with doc string and source of course 😀 I only use (clojure.repl/doc) and (clojure.repl/source) when teaching/coaching or the rare occasion I use a repl buffer directly (evaluation of code in the editor I find faster and more useful). The classic repl approach is to stay in the user namespace and include your application namespaces as you wish to use them. The user namespace includes the clojure.repl namespace so you can use doc and source directly. As a side note, the use function is generally discouraged as it can cause conflicts with libraries, versions and functions. use is a very blunt tool for making functions available. require library-namespace :as alias or require library-namespace :refer [specific-function another-function] is safer and recommend approach.

dharrigan10:05:07

Oh, that's great to know. Thank you for sharing! 🙂

practicalli10:05:26

One day I will find time to put all these kind of tips into my books (which are still work in progress... https://practicalli.github.io/

practicalli10:05:37

This is why I havent finished any of them, I am writing several online books/workshops/extremely large tutorials all at once. Will try to focus in the next few months and get some of them more complete...

dharrigan13:05:36

Any reason why practicalli (which I assume is run by yourself) uses gitter over slack?

practicalli13:05:15

History... In both senses of the word. I used Giiter before slack became popular. Gitter also keeps the history of the conversations longer. I have also created a Practicalli slack community, but not updated the books 😁 I will probably just add a #practicalli channel in the Clojurians slack community for audience reach (and now there is a the log and zulip that keeps history.

practicalli13:05:40

Lots of work to do 😁

dharrigan10:05:11

Very useful!

dharrigan10:05:21

when you say "inter" your namespaces as you wish to use them, what does that mean?

practicalli10:05:55

Ah, yes, my bad. I think of itern as including a function from another namespace, as if it had been written (defined) in this current namespace. As you have seen in the doc its got a much more specific description 🙂

dharrigan11:05:29

I've spent the morning writing C# code - now it is lunchtime! I can do 1 hour or so of clojure stuff

maleghast12:05:01

Gosh C#... I am sorry...

jasonbell12:05:39

It’s a useful language like all the others. I just never used it.

maleghast12:05:08

I have used it - I am pleased I don't use it anymore

thomas12:05:18

Why do Java programmers need glasses 👓 ?

maleghast12:05:47

I don't know @thomas why do Java developers need glasses?

thomas12:05:50

Because they can't C#

dharrigan12:05:47

YOu know what, C# ain't that bad of language, it has some really nice things. It's the environment that I feel lost in. I rarely use Windows. I do C# in order to support a 3rd party library (that only released an interface to their thing using C++))

dharrigan12:05:11

I feel like I'm wearing oven gloves when using Windows

😿 1
rickmoynihan12:05:49

Yeah C# is ok… just java with a few warts removed and not as good a VM

alexlynham13:05:51

@carr0t congrats! what’s the new gig?

danm13:05:40

Still in the BBC. Datalab, so down on floor 1 of the same building, instead of floor 4

danm13:05:00

Going to be doing infra and platform for ML, so lots of Python

danm13:05:04

Also GCP

alexlynham13:05:33

ah are you going to be working with the data science team then?

alexlynham13:05:43

you might meet a former colleague of mine if so

Ben Hammond13:05:29

rather than Glasgow?

alexlynham14:05:32

I assume so as Dan’s solidly part of the manc massive

maleghast14:05:28

Congrats @carr0t - there are times when I miss working for Aunty...

maleghast14:05:54

(no Clojure back then but there were other positives 😉 )

danm14:05:33

@alex.lynham Yes, they are part of this group. Who's the former colleague?

dominicm16:05:39

Is Scottish fudge somehow better? I prefer Scottish fudge to other local fudges in England.

dominicm16:05:11

I only have a small sample size though 😊

mccraigmccraig17:05:59

(west country) clotted cream fudge is pretty nice iirc @dominicm

seancorfield17:05:22

A big +1 for that type of fudge, yeah.

practicalli18:05:55

[Event] Celebrating tech inclusion on May 28th with Bridges (ClojureBridge etc) foundation. Details in the #events channel

maleghast19:05:10

The Scots have Tablet which is better than all fudge; just sayin’

💯 1
jasonbell19:05:36

The Scots have Highland Toffee…. Game Over.

3Jane20:05:41

I would suggest trying https://en.wikipedia.org/wiki/Kr%C3%B3wki but I’m biased that way 😉