clojure-uk

A place for people in the UK, near the UK, visiting the UK, planning to visit the UK or just vaguely interested to randomly chat about things (often vi and emacs, occasionally clojure). More general the #ldnclj
jiriknesl 2021-01-19T05:09:38.053100Z

Morning

2
djm 2021-01-19T07:41:06.053700Z

👋

mccraigmccraig 2021-01-19T07:41:08.053900Z

månmawn!

thomas 2021-01-19T07:45:56.054100Z

mogge

alexlynham 2021-01-19T08:35:24.054200Z

morning

dharrigan 2021-01-19T08:51:37.054400Z

Good Morning

2021-01-19T09:29:02.054800Z

Morn'

2021-01-19T09:52:52.055100Z

Morning!

maleghast 2021-01-19T10:22:27.055700Z

Morning All - how is everyone doing today?

2021-01-19T10:37:19.056800Z

Well enough 😃... I've not been drinking coffee since Christmas, so it's been weird few weeks...

maleghast 2021-01-19T10:53:07.057100Z

OMG, are you ok?

maleghast 2021-01-19T10:53:17.057400Z

I genuinely cannot imagine what that would be like!

2021-01-19T10:55:59.058100Z

I certainly wouldn’t be looking like this ➡️ 😄 if I hadn’t had a coffee in the morning 😆

maleghast 2021-01-19T10:57:21.058900Z

I hear ya! Coffee is basically the only thing that keeps my foetid carcass moving before 1100h

dharrigan 2021-01-19T11:10:02.061100Z

I reduced my coffee intake from mid-lockdown

dharrigan 2021-01-19T11:10:10.061400Z

I used to drink about 5-6 big cups a day

dharrigan 2021-01-19T11:10:15.061600Z

now I'm down to 1, maybe 2.

dharrigan 2021-01-19T11:11:32.062800Z

It was easier when working at an office. You would wander up to the kitchen, others would be there, make a coffee, have a chat. wander down, bash away at the keys for a little while, look up, see people in the kitchen, wander up...wash, rinse repeat.

➕ 1
dharrigan 2021-01-19T11:11:56.063700Z

Now, at home. Just me (and my very significant other). So one in the morning, and maybe one at 3

2021-01-19T11:13:25.064700Z

Does anyone here know much about riak?

2021-01-19T11:14:07.065600Z

Lockdown caused me to start drinking coffee again. I had gone completely cold turkey for a number of months and the lockdown happened and my body decided that it would have zero energy, zero motivation and zero ability to get stuff done. Going back up to three cups a day (or so) has caused me to be vaguely human again.

Brandon Stubbs 2021-01-19T11:18:25.065800Z

Hey everyone, we are looking for people with Clojure + Kafka Streams knowledge (Contract, UK). If interested, please contact me at <mailto:brandon@bos-solutions.co.uk|brandon@bos-solutions.co.uk>

maleghast 2021-01-19T11:23:57.066200Z

@rickmoynihan - Sorry, never done anything with Riak 😞

maleghast 2021-01-19T11:25:41.066400Z

I can certainly relate, but honestly this has been my basic requirement for life for 25+ years… Giving up smoking a few years ago got me to a point where coffee became even more fundamentally required, but I am aware that an amount of that desperation must be psychosomotaic.

alexlynham 2021-01-19T11:42:16.066600Z

no coffee in the afternoon has been my mantra for a couple of years now

2021-01-19T11:43:15.067100Z

I quit entirely about a year and a half ago, maybe a bit longer now

2021-01-19T11:43:25.067400Z

I find I sleep a lot better but mornings are definitely more difficult

mccraigmccraig 2021-01-19T11:56:56.067600Z

not a lot... i looked at it a few years ago when i was looking at AP datastores and the impression that remains is that it was quite similar to cassandra - but cassandra won me over for reasons i can't recall

maleghast 2021-01-19T12:24:00.070200Z

I really cannot imagine life without coffee, but I am genuinely happy for you to have been able to free yourself from it, @me1763, as it would appear you have found a very worthwhile benefit vis à vis sleep. I’ve always had a troubled relationship with sleep, but whether I drink coffee or not - believe it or not I do have coffee free days, though they are never work days, and even then I may sleep well or badly, but I am aware of my issues with sleep and what is “really going on” so this is by no means a derailment of your success 🙂

2021-01-19T12:34:50.070400Z

missing it!

2021-01-19T12:58:11.070600Z

I wouldn't have taken it as such anyway 🙂

2021-01-19T14:12:32.073900Z

@maleghast it's reasonable, there's a bit of a weird feeling now and again where I'm trying to work out whether I'm tired or not? The really strange thing is that slowly over time my sense of energy seems to be shifting to a different place. I'm still relatively certain that I'll drink coffee again, but at the same time I'm really curious to see what happens after this stabilises? It's become an almost weird experiment about where the normal is. That's probably the best explanation I could give. Ultimately I decided to try it because I didn't have to work during the Christmas break and I really was curious to see what would happen =)...

2021-01-19T14:13:22.074500Z

@dharrigan Ok, I've never gone higher than 3 cups in a day, which might have made this easier for me 😃...

mccraigmccraig 2021-01-19T14:14:53.075900Z

i didn't do coffee for a couple of years once... when i broke that fast it was quite extraordinary. i'm back on the treadmill now though, and if i stop i'll be getting the headaches for a couple of days

alexlynham 2021-01-19T14:15:38.077400Z

craigo's crackhäus coffee™

2021-01-19T14:15:46.077700Z

One of the reasons that I gave up coffee last year was in order to help me sleep better. My personal experience was the opposite: I found myself sleeping far worse. Going back on to the coffee didn’t worsen my sleep in any way (I only drink coffee up to lunchtime though).

2021-01-19T14:15:57.078100Z

Re sleep, that's been a bit of a shift, it's now easier to wake up in the mornings, because it's easier to get to sleep at night. Not yet certain that's because of the coffee directly however, I'm getting hungry earlier, which means dinner now happens around 6-8pm as opposed to 8-10pm, so that could be a confound factor 😃...

alexlynham 2021-01-19T14:16:21.078300Z

sleeping is all about surfing the wave of your 90minute energy lulls

alexlynham 2021-01-19T14:17:15.080100Z

apparently the thing i'm thinking of is an ultradian rhythm https://en.wikipedia.org/wiki/Ultradian_rhythm

2021-01-19T14:17:24.080600Z

I remember reading about a study that compared the "performance" (whatever that meant) of people who didn't drink coffee vs. people who drank coffee after drinking coffee vs. people who drank coffee, without drinking coffee.

2021-01-19T14:17:54.081700Z

@mccraigmccraig yea, I was worried about headaches, but that didn't happen, ended up with what was close to narcolepsy levels of sleepyness when I hit around 8pm for a week or so after the first 2 weeks? That was weird, just had to get to bed with very little notice...

2021-01-19T14:18:11.082100Z

Group C was miserable, but the interesting thing was that A vs. B was the same... so apparently coffee didn't make you more alert or performant, it just returned you to the baseline (once you were addicted)

2021-01-19T14:19:58.083Z

I'm not certain it's that clear cut at the moment 😃... Hence wanting a period of stopping completely and seeing if things stabilise before trying something new 😃...

Conor 2021-01-19T14:22:04.083800Z

Caffeine withdrawal is really bad

Conor 2021-01-19T14:22:19.084200Z

It feels like something is scratching inside your head and you also get really tired

2021-01-19T14:22:23.084300Z

I’d be interested to learn how long it takes caffeine addiction to go away. I was off coffee for 4-5 months and I found that I was just getting worse and worse throughout that period (whereas I was expecting to get better and better).

2021-01-19T14:22:47.085100Z

(I have no idea if what I was experiencing actually was caffeine withdrawal though.)

2021-01-19T14:23:06.085600Z

I thought the worst bits of withdrawal lasted for a couple of weeks!

mccraigmccraig 2021-01-19T14:24:09.086700Z

my experience was 3 days for the headaches to go and a month or so of having to stop myself reaching for the coffee pot, by which time energy levels were feeling "normal" again

mccraigmccraig 2021-01-19T14:24:50.087900Z

which i took to mean 3 days of biochemical withdrawal and a month of behavioural withdrawal/adjustment

alexlynham 2021-01-19T14:25:38.088900Z

i know it enhances physical performance to the extent that it's banned in some sports

2021-01-19T14:25:51.089300Z

I think it's really influenced by your daily intake, mine normal was 1 to 2 cups a day of double expresso with a third much more rarely (once a month or so), but it still took a while before major changes stopped happening, and I'm still not yet certain it's done, my sleep cycle is still shifting a bit...

alexlynham 2021-01-19T14:26:23.089600Z

it's only not banned in many endurance sports because the half life of caffiene is substantial so they'd have to DQ people left right and centre for accidentally having the wrong energy bar, energy drink, having a can of coke with breakfast, etc

2021-01-19T14:26:37.089900Z

It's not quite been a month however 😃

maleghast 2021-01-19T15:20:53.090100Z

🙂

dharrigan 2021-01-19T15:25:57.090600Z

IMHO, we have so little pleasures in life, having a coffee a day is nowt.

2021-01-19T15:45:58.090800Z

Interesting I’m not particularly familiar with either but I didn’t think they were similar… I’m asking about Riak, mainly because I heard that they’re a distributed database based on CRDT’s… and whilst I could use a 3rd party lib to provide the CRDT algorithms most of the implementations are on the hobbyist end; rather than the production side of things. Also it seems some of the best implementations e.g. automerge, are in languages I’d rather not use… so one option might be to use something like Riak… Another question I had was if anyone knew of any CRDT’s that were packaged as a kind of embedded distributed database; something that would handle local storage, but also syncing to my own network topology etc

mccraigmccraig 2021-01-19T15:54:55.091Z

ooo - a CRDT implementation in the db sounds like a good thing

2021-01-19T15:55:43.091200Z

👌 my thoughts exactly

mccraigmccraig 2021-01-19T15:57:44.091400Z

the ring and node/partition models are very similar btw cassandra and riak iirc - both lifted from dynamo probably - things start to diverge when you get to the details of what's stored against a key

2021-01-19T15:58:46.091600Z

yeah it’s impossible to keep track of databases these days, as they all steal ideas from each other and package them differently

mccraigmccraig 2021-01-19T15:59:57.091800Z

my recollection is that riak's conflict resolution wasn't as straightforward as cassandra's (5 years ago) but if they now have CRDTs then they've got a good solution to that for those CRDT cases

2021-01-19T16:00:54.092700Z

Oh, completely agree 😃... Nothing against coffee, I love it, but I thought it would be good to see what it does to me 😃...

2021-01-19T16:01:08.092800Z

Regarding CRDT/DB’s though they get quite interesting, because the CRDT could just be completely hidden in the DB… in which case it would essentially just provide you masterless replication etc… other than that a pretty traditional model. However if you embrace the CRDT fully you can distribute the DB entirely across clients; so no server at all. Or you can do any amount of hybrid models e.g. where you work off line but sync to a hub etc

mccraigmccraig 2021-01-19T16:01:12.093Z

https://docs.riak.com/riak/kv/latest/learn/concepts/eventual-consistency/index.html#data-inconsistency - looks like they have pluggable conflict resolution now

mccraigmccraig 2021-01-19T16:02:02.093300Z

yeah, that JSON CRDT looks particularly interesting

2021-01-19T16:02:17.093700Z

yeah automerge is cool

2021-01-19T16:02:39.094300Z

also RON, GUN etc

2021-01-19T16:02:53.094800Z

Thinking about it, it's because of this: https://www.youtube.com/watch?v=NVGuFdX5guE Would recommend a watch if you've not seen it 😃... But I was trying to work out what my theme would be this year and then decided I'd try this as well ^_^...

👍 1
mccraigmccraig 2021-01-19T16:04:25.095Z

some new reading for me there 🙂

djm 2021-01-19T16:05:23.095600Z

From time to time I'll go a week without drinking anything caffeinated, and don't notice any difference to anything

2021-01-19T16:05:50.095700Z

hehe well if you discover any answers, or have any ideas relating to my question, or decide to do a serious implementation of CRDT as a DB in clj(c) please keep me posted 🙂

2021-01-19T16:06:52.095900Z

This looks to be the biggest clj effort btw: https://replikativ.io/

2021-01-19T16:57:54.096800Z

I don’t struggle with sleep at all, all of my struggles are when I’m awake.

➕ 1
😂 2
alexlynham 2021-01-19T17:28:28.097100Z

lol

seancorfield 2021-01-19T17:39:49.098300Z

My wife thinks it's funny that I can barely make a cup of coffee some mornings -- because I'm not awake enough: I need a coffee in order to master the process of making a coffee. But I only have that one mug, first thing...

2021-01-19T18:15:52.098600Z

Now that I can relate with 😃...