This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-22
Channels
- # beginners (143)
- # boot (18)
- # chestnut (5)
- # clara (1)
- # cljs-experience (1)
- # cljsrn (13)
- # clojure (290)
- # clojure-austin (4)
- # clojure-italy (13)
- # clojure-nl (21)
- # clojure-russia (14)
- # clojure-spec (49)
- # clojure-uk (59)
- # clojurebridge (7)
- # clojurescript (54)
- # core-logic (2)
- # cursive (22)
- # datomic (149)
- # fulcro (31)
- # graphql (14)
- # hoplon (59)
- # keechma (24)
- # lambdaisland (1)
- # lumo (86)
- # off-topic (3)
- # om (19)
- # om-next (1)
- # onyx (4)
- # portkey (20)
- # re-frame (41)
- # reagent (63)
- # ring (1)
- # ring-swagger (1)
- # spacemacs (9)
- # sql (10)
- # yada (13)
morning
morning all
mornings
moving day today. Trying to stay out of the way of the movers and feeling a bit useless
š there's only so many cups of tea you can offer
just hover and look awkward, that's my approach
pretend to read a newspaper or something
pick up small objects and put them down again
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.
It's always nice dealing with professionals
having to go get some milk was a good plan / time filler
I'll remember that
I don't know I've not experienced that before
I've always been a devloper from the inside
where are you moving fromto otfrom?
from: South London (Tulse Hill) to Dundee. Staying at Mastodon C. A bit of commuting and a bit of remote working
Dundee! Wow
Dundeeās pretty nice actually, lived there for over 10 years. Where abouts are you staying @otfrom? West end? The Ferry? Newport? Tayport? ā¦
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ā¦
sounds pretty specialised @paulspencerwilliamsā¦ Iād probably just build something out of clojure.set
, keys
and clojure.walk
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!
or perhaps clojure.data/diff
though as you say that compares values
so just walk the structure, converting maps to keysets, and then apply diff
probably just a few lines
Yea, walking is the best bet I think.
@rickmoynihan Blackness. West End really. Under 10 mins down the hill to Perth Road
@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.
You could always reinstate the dundee clojure dojo for me š
a dundee dojo would be fun. No idea if there would be takers in Dundee, but I'll see what I can do.
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ā¦
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.
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
Oh and if you do Arran definitely take the ferry across to the Holy Isle and take the walk over the tops that way.
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.
That really is an impressive castle!
We accidentally found this one when driving around the Highlands a few years ago. A great find.. http://www.eileandonancastle.com/visit/
Yeah Dunnottar is pretty epic - itās what all castles should be