Good Morning!
Mornin'
π
We've been watching a BBC show about historical fashion... They just did Edward, the Black Prince's armor and jupon (padded jacket, that was hanging up in the cathedral until WWII). Fascinating stuff.
Not something for me - but I did watch "Once upon a time in Iraq" last week. That is a very powerful documentary.
That country was really screwed over.
that's on iPlayer
Yeah, not sure Jay would be up for that. She's not a fan of 20th/21st century war history.
She's done a lot of historical re-enactment but most Cavalier period π
I'm taking Wednesday off this week. Nice to have a pair of 2-day weeks π
Do you know what the state of including the functionality of add-lib into deps? I find the need to experiment adhoc with a library very compelling. I don't think the add-lib or add-lib2 has been updated recently
I have next friday (31st) off, going to Isle of Wight for the weekend.
get some sun sea and icecream!
Ooh! IoW! Haven't been there for a long time!
I'm off 30th/31st too. I'm generally taking at least a day off every two weeks. Just to break up the strange monotony of time passing in quarantine π
Re: add-lib
-- I still rely on the old t.d.a. branch. See the :git/url
and :sha
in my dot-clojure repo.
That's what I use day-to-day at work, although t.d.a. now requires mvn
to build because it contains Java code as well as Clojure.
It'll be the first time (since a baby) that the kid will be on a ferry. He'll love it!
I remember when the hovercraft used to go to the IoW... does it still?
hmm, would perfer to wait until it becomes part of tools deps, it just feels sooooo slow to get out, given it's quite very usable π
no idea if hovercraft goes. letmecheck
yup
maybe next time π Ferries are fun 'tho too π
That is much more fun than a ferry! I'll have to check if the Channel Crossing is still done by hovercraft... I suspect not.
I like their slogan "...hover responsibly."
Looks like that stopped about twenty years ago http://www.digitaljournal.com/article/31858
a british pipe dream π
great ideas, fantastic technology, but no real public interest.
35 minutes to cross the channel. They were noisy and it was a very rough ride -- it couldn't operate in high seas. I loved it tho'...
I guess eurostar killed it
Nah, it was dead long before then π
Actually no... interesting.. Eurostar started in '96. Hoverlloyd shuttered in 2000
My dad used to take me to see the big ferries when I was a kid. I loved the massive sound and smoke from the funnels
I like ferries π
slow as feck, but what's the rush! π
You could drink so much during the trip... and then buy mountains of alcohol cheap in Calais, and then drink all the way back to England π
(or so my Leeds United-supporting next door neighbor told me... ahem...)
One of my most interesting journeys was a ferry from italy to greece years ago. I used to think the med was a tranquil lake.No....I've never seen waves as high in my life, thunder and lightening, it was like poseidon and zeus were having a quarrel that night of my journey!
the ferry was climbing near vertical walls of water (or that was my impression anyway, as I rolled about the ship)
Yeah, as a kid we did the SS Uganda around the med... and coming out of Alexandria harbor, it was getting rough as we took the little boats back to the ship and I asked what it took to create 10' waves... a force 6 they said... by midnight, we had a force 10... that was... exciting π
It was a 10 day cruise and we had force 10 storms twice...
fun times!
well, gotta go - kid is starting to gnaw at my leg. I think he's hungry
ttfn!
@seancorfield I think I saw that one
interesting
morning
Morning.
mΓ₯ning
Morning All
I managed to get here before noon for once!
pure Javascript question; I need the equivalent of get-in
to pluck a value out of a deep data structure, but every level may return an undefined
what is the generally accepted least clunky way to achieve this?
sadly Cljs is not an option...
is there a generally accepted
function getIn(m, ks) {
that I can pinch?
do I have to write my own?something like this maybe?
function getIn(m, ks) {
var v = m;
for (k of ks) {
if (v == undefined) break;
if (v == null) break;
v = v[k];
}
return v;
}
honestly I would check lodash or ramda to see if there's an option
_.pick
? can't remember if it can do tunneling into nested
ah okay, will look
thanks
never heard of those libs before not spent much time in JS world
ah didn't see the every level bit
cos foo.bar.baz
is going to throw an actual Error if one of those is undef, gotcha
possible to use a reduce like in this https://hackernoon.com/accessing-nested-objects-in-javascript-f02f1bd6387f
in our current TS code base we'd literally go `try { foo.bar.baz } catch(err) { do-something-graceful };
but we're not having to do much that's sophisticated, just grabbing individual keys from deeply nested aws events mainly
<https://deepdash.io/>
eachDeep, filterDeep, findDeep, someDeep, omitDeep, pickDeep, keysDeep etc.. Tree traversal library written in Underscore/Lodash fashion. Standalone or as a Lodash mixin extension
deep deep down π
nice