Fork me on GitHub
#clojure-uk
<
2018-06-12
>
dominicm06:06:31

I appear to add symbols when I do that when tired

yogidevbear06:06:54

\o -< morning >

flefik07:06:25

good morning

manas_marthi08:06:39

Good morning all.. In the past a few days we replaced existing logging with log4j 2 in one of our spring projects. Just now, I saw another discussion in the beginners channel related to logging. As per the spring documentation, we need to exclude LogBack while including log4j2. Do we have any prescriptions in clojure world, on how to use logging effectively and also how to watch out for quirks of logging used in legacy code

mccraigmccraig08:06:10

@manas.marthi we've been using ptaoussanis/timbre, along with slf4j-timbre and the various ->slf4j adapters - which keeps all the log-config in clojure-land, and seems to work ok

hyankov08:06:30

Morning everyone

otfrom08:06:50

doing a class rename in emacs usually isn't too bad (you can automate something using keyboard macros on top of grep)

agile_geek09:06:49

Unfortunately nothing works very well. etags stuff doesn’t even work. Java refactoring needs language aware IDEs cos a symbol may coincidentally clash with class names elsewhere. Context is everything.

otfrom09:06:01

yeah, etags isn't great w/OO languages generally. Changing class names is mostly just search and replace though. Others are harder. Java is definitely very IDE dependent.

firthh14:06:14

An opinion I once heard and I tend to agree with about large Java projects (and similar) is that one of the reasons they become so large and hard to manage is because editors like eclipse make it easy. If you only had a simple editor from the start you would have started to break it down at the point that you could no longer manage it in your editor.

otfrom14:06:10

I've found that with the java I've done from the ground up in emacs (which is a reasonable bit)

agile_geek16:06:59

@U0694C7V3 it’s an interesting proposition, I tend to think you may have a point.

rickmoynihan14:06:43

Saw this the other week, it might be an improvement, or worth keeping an eye on; though haven’t used it myself: https://github.com/emacs-lsp/lsp-mode

otfrom09:06:00

other refactorings might be trickier

guy09:06:34

Morning!

danm09:06:54

oi oi

👋 8
korny09:06:08

@agile_geek totally. Java and Emacs are just a horrible combination.

guy12:06:01

is it just a battered sausage?

guy12:06:09

Its always confused me why its called saveloy

mccraigmccraig12:06:20

@guy those scary red sausages you see in the chippy

guy12:06:22

is it because i'm a southerner

guy12:06:44

is that like, Saveloy, the other mystery meat?

iaint12:06:20

i'm a southerner by birth and i'm sure I encountered saveloys even before I moved up north

✔️ 4
guy12:06:30

oh wow they were traditionally made from pig brains 👀

guy12:06:35

today i learnt

dominicm12:06:29

What are they made from now?

guy12:06:54

basically some pork and other stuff

dominicm12:06:31

is it red because it's boiled? or is there some colouring in there now?

guy12:06:36

it sounds like its always been highly coloured

mccraigmccraig12:06:37

mmmm braiinnnsss

guy12:06:50

i gotta say i dont like the idea of eating any animals brains tbh

mccraigmccraig12:06:28

i had sheep brains once, long ago before everyone got worried about CJD... they were pretty bland, like a savoury deep-fried mousse iirc

😱 4
sheepy 4
Aleksander13:06:50

morning everyone

8
danm15:06:11

Never been a fan

danm15:06:14

Hot dogs either

agile_geek15:06:34

I used to love saveloy and pease pudding stotties when I first moved to North East! P.S. if you know what I’m talking about you get your Geordie badge.

😂 8
otfrom16:06:24

all sausages are an abomination. That is why they taste so good (I include veggie sausage here too)

guy16:06:22

What about like pork + apple sausages?

guy16:06:27

and things like that

otfrom16:06:19

abominations

mccraigmccraig16:06:39

let us not forget black pudding, the most abominably tasty abomination of all

guy16:06:51

is that also made from pigs brain 👀

guy16:06:57

🧠 🐷 🧠

mccraigmccraig16:06:12

no @guy , it's made from blood and fat

guy16:06:39

I have to say, even tho it sounds gruesome, i'm quite impressed people used to eat practically all the animal

guy16:06:47

or have some use for it :man-shrugging:

guy16:06:21

Like if that didn't exist, would people try and invent it nowadays?

mccraigmccraig16:06:42

black pudding is an essential part of any british breakfast!

4
👍 8
🤢 4
otfrom16:06:05

living in Scotland has converted me to black pudding

otfrom16:06:16

sooooo umami

rhinocratic16:06:39

Have to admit that my uncle owned the local tripe works, so I was accustomed to a variety of organs that are seldom eaten nowadays (perhaps with good reason). As a child, one of my favourite treats was what my mother euphemistically referred to as "Lamb's Fries". It was years before I discovered that she'd been feeding me testicles. :face_with_rolling_eyes:

guy16:06:59

noooooooooooooooooooooooo

guy16:06:27

#parenting

danm16:06:51

Black pudding is OK, but I prefer the scottish sliced fat with fruits in stuff. Fruit pudding?

danm16:06:13

You slice it and fry it like black pudding, but it's got less blood and more sultanas and spices in

mccraigmccraig16:06:59

ooo that sounds good @carr0t

danm16:06:18

One of my old colleagues on a work Christmas do had mashed potato and thought it was amazing, asked what the little black flecks were

danm16:06:40

It was then that we realised the muslim had been chowing down on black pudding... 😕

guy16:06:42

that sounds like a mince pie, as if it was the normal mince pie filling + meat 👀

agile_geek16:06:51

of course mince pies used to be made with ‘minced beef’, hence the name.

guy16:06:46

oh jeepers

guy16:06:55

what did u say?

danm16:06:28

"Oh shit"

danm16:06:36

@mccraigmccraig That's the stuff!

danm16:06:05

We always pick up a few packs when we go past Tebay services if we're ever up that way

danm16:06:24

I'm also a fan of white pudding

danm16:06:00

I wondered why I'd never found that since I left Cornwall

danm16:06:16

Was amazing. Better than black or white IMO

guy16:06:06

lolllllll

manas_marthi16:06:12

how do I tell lein to read maven settings file where I configured my company artifactory repo urls?

3Jane19:06:24

guys what do you use when you want to know where your time went?

3Jane19:06:09

I’ve been considering writing something that creates an annoying pop up every 15 minutes and appends whatever I put in the box into a csv along with a timestamp, but maybe someone’s already done that 😄

3Jane19:06:03

(livin’ the life at a startup: you wake up at 7pm with a blank stare and the thing you started on in the morning still not done, but a vague feeling that you’ve done a lot of other stuff in the meantime)

dominicm19:06:47

@lady3janepl lazier solution, use notify-send to tell you to jrnl

dominicm19:06:28

Schedule that notification using cron or a simple loop

3Jane19:06:43

I have a thing that does “rest your eyes” popups, but I’ve developed a bad habit of clicking it away

3Jane19:06:59

(it always pops up when I’m trying to demonstrate something to someone)

3Jane19:06:44

but yeah, it’s something I’ve thought about. having a dialog with a text box removes decisions though, which i would prefer as a behavioural hack.

3Jane19:06:34

can i just say

3Jane19:06:39

condp is a thing of beauty

3Jane19:06:25

https://clojuredocs.org/clojure.core/condp#example-542692d2c026201cdc326f6c <- I needed something that’d test the same value against various predicates, done 🙂

manas_marthi20:06:30

One advise I read from some consultant was to always plan a working day of 4 hours..

manas_marthi20:06:42

The rest of the 4 hours go into interrupts, emails, chat, etc

manas_marthi20:06:08

You seem to be putting more than 8 hours though

3Jane20:06:11

that’s because I come in late

3Jane20:06:02

I’m on Central line, if I don’t skip rush hour I get squashed in a red tin like a sardine 🙂

3Jane20:06:54

4 hour advice seems like a very realistic estimate

3Jane20:06:33

(not at work now, just hacking in Clojure for fun)

seancorfield20:06:44

@lady3janepl There used to be an app for the Mac that tracked how much time you spent in each app (tracking focus of apps). I found that quite useful for giving me some idea of how much time was eaten away by email, chat, etc.