Fork me on GitHub
#clojure-uk
<
2017-08-22
>
thomas07:08:36

morning šŸ˜¼ mogge

otfrom09:08:38

moving day today. Trying to stay out of the way of the movers and feeling a bit useless

danielneal09:08:11

šŸ˜‚ there's only so many cups of tea you can offer

danielneal09:08:27

just hover and look awkward, that's my approach

danielneal09:08:56

pretend to read a newspaper or something

danielneal09:08:10

pick up small objects and put them down again

otfrom09:08:52

I took down the curtains. Made a cuppa (had to get some milk). They are patronising me nicely. I think they've done this before.

danielneal09:08:43

It's always nice dealing with professionals

danielneal09:08:57

having to go get some milk was a good plan / time filler

bronsa09:08:06

what if those professionals are developers

danielneal09:08:09

I'll remember that

bronsa09:08:10

is that still nice

danielneal09:08:28

I don't know I've not experienced that before

danielneal09:08:16

I've always been a devloper from the inside

gjnoonan09:08:45

Moving day is always fun

danielneal10:08:33

where are you moving fromto otfrom?

otfrom10:08:14

from: South London (Tulse Hill) to Dundee. Staying at Mastodon C. A bit of commuting and a bit of remote working

dominicm10:08:25

Scotland is growing in clojurians.

rickmoynihan11:08:57

Dundeeā€™s pretty nice actually, lived there for over 10 years. Where abouts are you staying @otfrom? West end? The Ferry? Newport? Tayport? ā€¦

paulspencerwilliams12:08:00

Hey, does anyone know of a good algorithm, library, approach etc to succinctly compare keysets of nested structures... In particular, given two maps, Iā€™d like to count {:a 1 :b 2} as different to {a: 3 :b 45 :c 34} not because of itā€™s values but because of the differences in keys. This is an easy example. A more complicated example would be {:a [{:b 1}]} is different to {:a [{:c a}]} because of :b -> :c howeverā€¦ {:a [:b 1}]} might be of the the same structure as {:a []}, it just doesnā€™t have any inner maps so I donā€™t want to report thisā€¦

rickmoynihan12:08:21

sounds pretty specialised @paulspencerwilliamsā€¦ Iā€™d probably just build something out of clojure.set, keys and clojure.walk

paulspencerwilliams12:08:39

yeah @rickmoynihan, that was my goto but didnā€™t want to reinvent the wheel. Normally, to these questions, more experience clojurians normally reply with ā€˜just use the blah function/library that does exactly what I want!

rickmoynihan12:08:18

or perhaps clojure.data/diff

rickmoynihan12:08:19

though as you say that compares values

rickmoynihan12:08:37

so just walk the structure, converting maps to keysets, and then apply diff

rickmoynihan12:08:48

probably just a few lines

paulspencerwilliams12:08:06

Yea, walking is the best bet I think.

otfrom14:08:50

@rickmoynihan Blackness. West End really. Under 10 mins down the hill to Perth Road

otfrom14:08:58

in a house built in 1793

otfrom14:08:05

which is the oldest place I've ever lived in

otfrom14:08:28

@ali_king has already hit me up to do a talk in Edinburgh šŸ˜‰

otfrom14:08:37

(but I've pushed back until Dec/Jan

chrjs14:08:14

@otfrom, living in Blackness since 2017. Hail Cthulhu! ^(;,;)^

chrjs14:08:27

Morning all.

rickmoynihan14:08:30

@otfrom: cool. I know exactly where you are. Iā€™m guessing youā€™re up near Victoria Park / Balgay Hillā€¦ A lot of houses that end have stunning views of the Tay.

rickmoynihan14:08:17

You could always reinstate the dundee clojure dojo for me šŸ˜‰

otfrom14:08:54

a dundee dojo would be fun. No idea if there would be takers in Dundee, but I'll see what I can do.

otfrom14:08:13

We've got a great view of the Annfield industrial estate. šŸ˜„

otfrom14:08:35

no real view of the Tay b/c of the trees. I'm OK with that tho as I like trees. šŸ™‚

otfrom15:08:33

we're a bit east of those parks

otfrom15:08:49

any Dundee tips greatly appreciated

rickmoynihan15:08:40

Dundee tipsā€¦ okā€¦ - Best curry (south indian) is Malabar on Perth Roadā€¦ though just googled it and it closed this yearā€¦ Very sad. šŸ˜ž https://www.eveningtelegraph.co.uk/2015/12/22/popular-restaurant-malabar-to-close-after-nearly-40-years/ - The Parlour Cafe (Westport opposite the globe) is pretty good - The same people also have another cafe called the folk cafe opposite the overgate at the junction with Perth Road. Itā€™s also pretty good. - Reekie Linn is a pretty cool waterfall about 20/30 minutes drive out of Dundee - Definitely walk up the law for a view of the Tay and the Tay bridge - Broughty Ferry can be quite nice for a day outā€¦ They used to have a beer festival at a pub called the fish - was always good fun. - Laings on Roseangle just off Perth Road has the nicest beer garden in the city- when the weathers nice itā€™s pretty nice. - St andrews makes a nice day out - The DCA have frequently changing art exhibitions and pretty cool independent cinema - The McManus galleries have some cool stuff: http://www.mcmanus.co.uk/ - Edinburgh is great, and easy to get to & from via the train. - Lots of great walks / days out especially if you can drive. Would recommend: Loch Tay, Dunnottar castle ( https://en.wikipedia.org/wiki/Dunnottar_Castle ), Dunkeld, The Trossachs etcā€¦ Also lots of cute little villages down the coast beneath st andrewsā€¦ thinking Pittenweem, Crail, Anstrutherā€¦ Anstruther make a strong claim to having the best fish and chips in Britain. - Lots more, depends what youā€™re in toā€¦

otfrom11:08:53

that is super helpful. I think we'll look at hitting all of those. šŸ™‚

rickmoynihan08:08:20

Also: - Glamis Castle - Perth for castle & Wallace Monument - Definitely do Hogmanay. Edinburgh is the obvious one, but also the Stonehaven fireball is great funā€¦ As is Inverness (they have an awesome Ceilidh bar called Hootanannies which do great gigs on Hogmanay). - On the subject of Ceilidhā€™s definitely go to some and get involved. Thereā€™s an amazing rural ceilidh in Tarfside. My wife and I used to do it every year when we lived up there. We used to camp up there with about 30 mates, watch the sheep dog trials, drink and go to the ceilidhā€¦ might be a bit wild thoughā€¦ If you want something a bit more civilised Iā€™d also recommend the Ceilidhā€™s at Ghillie Dhu in Edinburgh (top end of princes street). They do them every week. - Also Tentsmuir forest is about 20 minutes away from Dundee on the other side of the Tay, above St Andrews. You can see dolphins sometimes on the Tay and along the coast that way. Plus if youā€™re on the train to Edinburgh keep an eye out for Seals sunbathing on the rocks between Inverkeithing (IIRC) and the Fourth bridge.

rickmoynihan08:08:48

And if you want to do any of the Islands, definitely do Arran. Itā€™s known as Scotland in the miniature and itā€™s really true. Can also recommend Mull/Iona. Orkney and some of the other islands are a bit bleak for me

rickmoynihan08:08:03

Oh and if you do Arran definitely take the ferry across to the Holy Isle and take the walk over the tops that way.

rickmoynihan09:08:14

Oh and the Dundee Rep can be pretty good. And some of the nicer bars used to be down south tay street. Some good pubs on Perth Road tooā€¦ For sandwiches, there used to be a fantastic sandwich shop on Perth Road between the university and south tay street called ā€œsuper snackā€. Also thereā€™s a slightly higher end place a few doors down called the guzzling gourmet.

paulspencerwilliams16:08:19

That really is an impressive castle!

dominicm16:08:09

I love castles. That one looks amazing.

paulspencerwilliams18:08:05

We accidentally found this one when driving around the Highlands a few years ago. A great find.. http://www.eileandonancastle.com/visit/

thomas19:08:08

#clojure-uk has turned into a travel guide!!! šŸ˜±

rickmoynihan22:08:57

Yeah Dunnottar is pretty epic - itā€™s what all castles should be