Fork me on GitHub
#clojure-uk
<
2019-08-01
>
guy07:08:56

👋 @maleghast did you get it sorted out in the end?

guy07:08:10

I had to put kids to bed then fell asleep

guy07:08:26

Grib1BinaryDataSection(ucar.unidata.io.RandomAccessFile raf, int decimalscale, Grib1BitMapSection bms) 

guy07:08:33

well decimalscale looks like an int

guy07:08:35

if that helps

guy07:08:30

Morning 👋

dharrigan07:08:03

Anyone worked with micrometer + clojure?

guy07:08:02

If thats a metrics lib then no, but we usually use a different metrics lib

guy07:08:06

[metrics-clojure "2.7.0"]
                 [metrics-clojure-jvm "2.7.0"]

guy07:08:23

if thats helpful

dharrigan07:08:53

awesome thank you

guy07:08:20

Small word of warning. We had a few issues with libs all using different versions of the underlying metrics lib. So you might need to use some exclusions sometimes.

guy07:08:42

But its easy to diagnose with clj -Stree or lein deps 🌴

guy07:08:51

lein deps :tree

guy07:08:57

clj -Stree

guy07:08:59

i think it is

dharrigan07:08:11

thank you for the tip! 🙂

👍 4
jasonbell07:08:28

Morning

👋 8
Ben Hammond08:08:13

any bright ideas on how we can snag ourselves some of that £2_100_000_000 that seems to be burning a hole in the chancellor's pocket ?

Ben Hammond08:08:25

a web service that corners the market in EORI numbers after they've all been invalidated, perhaps?

rickmoynihan09:08:27

You’ll not get funding for a web service, you’ll need a blockchain for that.

👍 8
😿 4
maleghast09:08:29

Seriously though @ben.hammond what's this about government money up for grabs and what's an EORI Number (yes I know I could Google it all, but I value the conversation)

Ben Hammond09:08:23

er well according to the news, there a load of public money up for grabs

Ben Hammond09:08:58

the more public money the government spend, the stronger the signal they send to Brussels about being serious

Ben Hammond09:08:39

as public spirited citizens, is it surely our duty to assist the government in spending this money

Ben Hammond09:08:26

and we should figure out ways to sell them things they can justifiably spend our money on

Ben Hammond09:08:52

that not dull stuff like nurses and teachers and what-not

Ben Hammond09:08:03

EORI number is required to export goods to the EU

Ben Hammond09:08:32

all the ones issued by HMG will become invalid in the event of a no-deal brexit

Ben Hammond09:08:40

and will need to be reissued

maleghast10:08:13

I am not convinced that this is "helping"...

maleghast09:08:46

Hey @guy Yes, it's an int, but it's supposed to be the "exponent of the decimal scale" whatever that means... 😞

guy09:08:43

Yeah its a maths thing i think 😂 im sure someone will answer

maleghast09:08:15

*fingers crossed*

maleghast09:08:19

It may have something todo with something that I can find out from the file with another method / function / class - I am going to do some more investigating

maleghast09:08:01

...but, thanks again with the "decoding Java libs - 101", 'tis greatly appreciated

guy09:08:02

Haha no worries. Just @ me if you need help :thumbsup: always happy to help

maleghast09:08:53

Morning All!

dharrigan09:08:35

@ben.hammond A blockchain startup that uses AI and cloud-scale deployments to cope with the organic and carbon-neutral farm-to-plate tracking to handle the upsurge for people not wanting chlorinated chickens?

Ben Hammond09:08:37

ooh like it but it sounds like a feature @maleghast can bolt on to his existing platform

Ben Hammond10:08:55

oops too much word association

dharrigan11:08:07

If you want an amusing rant on functional programming, this is a chuckle: https://medium.com/better-programming/fp-toy-7f52ea0a947e

dharrigan11:08:44

So-called “functional” programming has no proper mechanism of abstraction since it is based on mathematics (which obviously is inferior and has no applications in the real world apart from academia). Unlike OOP, functional programming makes no attempt to fulfill the numerous rigorous and complex requirements demanded by the enterprise.

dharrigan11:08:00

"PS> As most of you have guessed, the post is a satire."

Ben Hammond12:08:22

heh. I had to wait 20 years for the FP I learned at university to appear in the Real World

Ben Hammond12:08:00

(during that 20 years I'd assumed that it was mostly wasted effort)

seancorfield16:08:25

Sounds like a familiar story @ben.hammond I did APL, Lisp, and a bunch of ML-family stuff at uni back in the early/mid 80's and thought FP was going to take the world by storm — and when Haskell was released, I was convinced that would become the One True Language(tm). So that was a big disappointment and I ended up learning C++ to stay employed 🙂