Fork me on GitHub
#clojure-uk
<
2017-06-05
>
agile_geek06:06:23

Bore da people.

maleghast09:06:05

(btw, what does umawn mean?)

maleghast09:06:13

(yes I know I could Google it...)

mccraigmccraig09:06:40

i don't think you can google it effectively @maleghast

maleghast09:06:50

Even better then, I mean that I asked...

maleghast09:06:24

(I am used to people posting back lmgtfy links when I ask questions about this kind of thing, though I admit not really on here...)

maleghast09:06:36

So, what does it mean?

mccraigmccraig09:06:45

it is a UGT greeting with a rotational symmetry of degree 2 @maleghast

mccraigmccraig09:06:00

UGT = universal greeting time

mccraigmccraig09:06:27

as opposed to Unión General de Trabajadores

maleghast09:06:35

I see... I think I should probably go and read the Wikipedia page on that, rather than expect you to explain it. 🙂

maleghast09:06:06

Yeah, there's a disambiguation one-liner, but nothing about the rotational symmetry aspect. I am sensing long-time IRC, TZ-hopping approaches that I've never had to deal with...

mccraigmccraig09:06:45

nah, i just like words with higher degrees of rotational symmetry 🤓

maleghast11:06:18

Fair enough then 🙂

dotemacs12:06:16

@dominicm looking forward to your talk tomorrow 🙂

dominicm12:06:58

@dotemacs That's good to hear 🙂. Hopefully it'll live up to expectations!

dotemacs12:06:37

I’m pretty sure that it’ll be enlightening 🙂

Rachel Westmacott13:06:17

will it be recorded?

benedek13:06:40

uh sorry i will miss that so +1 to peterwestmacott’s question

Sam H13:06:19

hey, does anyone use aero for config management? do you also use environ so that you can use different env vars for dev/testing?

Rachel Westmacott13:06:04

definitely not random core function of the day (I just discovered this):

-------------------------
clojure.core/with-precision
([precision & exprs])
Macro
  Sets the precision and rounding mode to be used for BigDecimal operations.

  Usage: (with-precision 10 (/ 1M 3))
  or:    (with-precision 10 :rounding HALF_DOWN (/ 1M 3))

  The rounding mode is one of CEILING, FLOOR, HALF_UP, HALF_DOWN,
  HALF_EVEN, UP, DOWN and UNNECESSARY; it defaults to HALF_UP.

mccraigmccraig14:06:11

@shan aero has built-in env-var support - see this example from my codebase - https://gist.github.com/14932389ffd4c409898a71339565a607

Sam H14:06:10

Thanks @mccraigmccraig. I’m looking to be able to set different env vars for dev or test. Similar to how you can do it in a .profiles.clj file with environ

{:dev  {:env {:database-url "jdbc:}}
 :test {:env {:database-url "jdbc:}}}

dotemacs15:06:16

@shan: the way you’d write that with aero is:

{:database-url #profile {:dev "jdbc:"
                         :test "jdbc:}}

mccraigmccraig14:06:33

dunno about that with aero @shan

dominicm14:06:52

@otfrom The "/" in "coder/data scientist" is that an AND or an OR? 😛 As an aside, what is a data scientist? Mathematics background?

otfrom14:06:16

@dominicm having a grasp of the maths helps

otfrom14:06:28

but being able to do the maths w/o the coding wouldn't be what we're after

dominicm15:06:03

@otfrom Interesting. So data scientist is a lot less formal than it sounds. It sounds like you'd happily take on someone keen & self learning the maths as much as long as they had coding skills. The term seems less scary now 😛

otfrom15:06:58

@dominicm we would, though there is a fair bit of maths we'd hope they would have already. The less mathsy side is data engineering (what I do when not play acting as CTO). We might be hiring a few of those soon too, but we're still working through budgets

dominicm15:06:12

@otfrom Okay, so there's a good bit of maths involved. 🙂. Curious indeed.

yogidevbear15:06:30

Did anyone catch any of the #onelovemanchester concert yesterday?

yogidevbear15:06:39

Was really good.

dominicm15:06:23

I watched some

yogidevbear15:06:13

Chris Martin was pretty awesome

yogidevbear15:06:45

I know it was in the wake of something bad happening, but a concert like that would be really cool to be at.

yogidevbear15:06:23

I'd imagine the Summertime Ball to be on a similar scale (if not bigger)

yogidevbear18:06:47

For those wiser than I, does this sound accurate? >Pure functional languages like Haskell use side-effects, but camouflage them from pure functions using boxes called monads, allowing the program to remain pure even though the side effects represented by the monads are impure.

mccraigmccraig18:06:49

fuzzily accurate, yes, but probably not very helpful in getting to an understanding of monads @yogidevbear

yogidevbear18:06:38

Probably not 😄 helpful that is

mccraigmccraig18:06:44

(for which i would recommend a two-step process - first get comfortable with the maybe monad, by writing some code, then take on the state monad - once you have grokked those two, the rest are variations on a theme, with the possible exception of the continuation monad, which i have no experience with)

glenjamin20:06:17

i’d say it’s the opposite of camouflage

glenjamin20:06:27

they get put in high-viz vests

glenjamin20:06:43

if a is a function type, IO a is a function that has an i/o side effect