Fork me on GitHub
#clojure-uk
<
2019-09-22
>
dharrigan06:09:58

hi everyone 🙂

dominicm06:09:18

Good morning

dominicm06:09:28

> To think that you can win the game by putting everything into one module is just as silly as saying, "What, Global Variables are bad? Okay! I'll just put everything into one gigantic structure then, and pass it around. Yay me!" You have missed the point. 😂

dominicm06:09:35

I love c2 wiki

dharrigan08:09:28

tap> very useful!

folcon12:09:08

"Morning" ;)

folcon12:09:00

@dominicm what did you think of Zach's lib?

dominicm13:09:07

@folcon I expect it would be good for events

folcon13:09:53

Any gotchas etc you noticed when playing around with it?

dominicm13:09:40

It wasn't fast for string parsing, which was my use case

folcon13:09:49

Ok, good :)

flefik13:09:20

is it normal for slack to eat 16.2G of virtual memory?

flefik13:09:51

i miss the IRC days. I don’t feel that slack gives me much I didn’t get in those days. animated emoticons i guess

folcon13:09:15

This is very much a frustrating state of things…

folcon13:09:35

There were some people doing native slack clients… which unsurprisingly didn’t seem to go anywhere…

dominicm14:09:11

Ripcord is very good

dominicm14:09:22

I use it on desktop

folcon14:09:44

How is it?

folcon14:09:26

I didn’t realise that it was still being used…

dharrigan15:09:10

slack is a huge memory hog, since it's based upon electron (afaik)

dharrigan15:09:26

I miss IRC too - although I'm still on some channels with irssi

dominicm15:09:54

It's great. Even supports threads.

dominicm15:09:00

Very lightweight.

dominicm15:09:04

I really like it.

dharrigan16:09:48

will give it a shot! thanks @dominicm

dharrigan16:09:34

it's in arch, so just installing 🙂

dharrigan16:09:42

So, I've just spend an hour trying to debug some code...

dharrigan16:09:20

This was the error: (log/infof "Inserting locations into [%]." table)

dharrigan16:09:11

I forgot to put in the s, i.e., [%s]

dharrigan16:09:23

I got no warnings/stacks whatever on my repl

dharrigan16:09:29

I just got nothing

dharrigan16:09:36

But my code just stopped working.

dharrigan16:09:36

Is that normal? Code just stops, no stack, because I mistyped my log statement?

dharrigan16:09:31

@dominicm ripcord is nice!

folcon18:09:09

I think it depends? infof might be designed to fail silently? I probably wouldn’t want my site to crash because of a bug in the logger…

folcon18:09:21

Unless by code stopped working you mean it was actually just hanging?

folcon18:09:50

Sounds like infof isn’t checking args length against what’s in the format string…

dominicm18:09:38

I'd want it to log

dominicm18:09:13

Actually, this should fail because it's a constant failure

dharrigan19:09:10

I think further research is required! :)