This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-18
Channels
- # announcements (9)
- # atom-editor (29)
- # aws (17)
- # babashka (72)
- # beginners (83)
- # braveandtrue (3)
- # calva (7)
- # cider (16)
- # clj-kondo (15)
- # cljs-dev (146)
- # cljsjs (1)
- # cljsrn (8)
- # clojars (1)
- # clojure (96)
- # clojure-dev (19)
- # clojure-europe (53)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (235)
- # clojuredesign-podcast (5)
- # clojurescript (81)
- # conjure (73)
- # cursive (7)
- # data-science (1)
- # datomic (5)
- # defnpodcast (8)
- # emacs (3)
- # figwheel-main (34)
- # fulcro (83)
- # graalvm (10)
- # graphql (6)
- # helix (49)
- # jackdaw (3)
- # jobs (1)
- # joker (1)
- # kaocha (1)
- # mid-cities-meetup (10)
- # off-topic (17)
- # pathom (16)
- # re-frame (11)
- # reagent (18)
- # reitit (18)
- # remote-jobs (4)
- # shadow-cljs (63)
- # spacemacs (18)
- # specter (20)
- # sql (17)
- # uncomplicate (1)
- # vim (28)
- # xtdb (32)
Mornin'
How was your weekend @dharrigan?
It was okay thanks! With the easing of restrictions here in the UK - we actually went out for a small pinic yesterday!
It was good to get out of the house (further than the local park) and let the kid run around a bit - and take some nice photos - we took our DSLR which I've been using as my webcam. You get far better pictures even with the recent tech on mobile phones
We ate a lot 🙂 We got takeout from a wonderful southern/soul food restaurant on Friday, then a mountain of Indian food on Saturday -- and we also binge-watched The Clone Wars and finished season 7. After a short break we've switched to Star Trek and we started TNG from s1 ep1 🙂
I think it's bed time now, so ep6 will wait for tomorrow.
It ages a lot better than TOS
The missus is off to bed. I still have a beer to drink.
Another weekend over and I didn't get around to making a new Clojure video 😞
Picard season 2?
Discovery season 3? 🙂
(both of those are confirmed, I believe)
https://variety.com/2020/tv/news/star-trek-strange-new-worlds-spock-pike-episodic-1234608181/
Fascinating.
I haven't done much clojure past week or two atm. I've been put onto another project that needs some help (kotlin)
(glad we have a CBS All Access subscription at this point!)
I sort of promised last week I'd do a new YouTube "episode" but I'm struggling to find the time
I'm looking forward to Discovery season 3 - although I did find season 2 a bit of a drag
I want to show the usermanager-example repo running with Atom/Chlorin/REBL and show how you can modify the app while it's running, and display webpages in REBL.... nothing special.
The one I really want to do is around add-lib
and building a small web app from scratch in a running REPL without restarts.
Part of me feels like I should just run OBS and Twitch and live-stream how I work day-to-day 😐
I'm just a bit nervous of showing some proprietary stuff
I saw yesterday that there now is a virtualcam for mac, so it stream to google meet/zoom
I use camera live + camtwist atm, but will explore obs with virtual cam sometime today
TBH, the whole video thing is pretty alien to me. When I got started, we had IRC and Usenet and everything was slow and just text.
There weren't even that many books to read 🙂
(I'd been doing C++ for some time before the Gang of Four book appeared, for example)
I bet you used Eudora for mail? 🙂
The Internet was a lot smaller back then...
Aye, that too.
I remember walking into my local university (who managed DNS records) and asking for some domain names.
I was a fairly early user of Demon. Cheap dial-up and your own subdomain.
Not sure if any of that is preserved on http://archive.org... Ah, the early days of being online...
....nd, if that's not enough, David Andrew Harrigan (<mailto:[email protected]|[email protected]>) of the University of Manchester Institute of Science and Technology in England has set up a Cthugha Web site featuring information about the latest version of Cthugha
Nice.
https://web.archive.org/web/19961228121411/http://www.ocsltd.com/ is about the earliest reference I can find to my consulting website.
Yeah, a cautionary tale that whatever you put online is there forever...
...when I worked at Macromedia (in the 2000's), every year my boss would do my performance appraisal, and at the end of it she'd always say "Oh, yeah, HR asked if you would take those body piercing pictures off your website" (because http://macromedia.com linked to my personal website) and every year I'd say "no!"... even a decade after my personal site was created...
I haven't since I moved to America, sad to say.
I loved it for years...
I used to go with the BSA (British Snowboard Association) to various places in France. Almost 200 of us. We'd pretty much take over a resort... it was wild...
Yeah, a ski/snowboard bum sounds like a great life apart from the actual money aspect.
I'm still in touch with a few of that old crowd on Facebook. Some of them are still tearing it up, even in their forties and fifties.
Once I moved to California, there was just so much else to do... even tho' snow is only a "few" hours drive from me...
I've only been to california once, and that was at santa monica, LA then san francisco
They say if you're bored in the Bay Area, you're bored of life.
My wife lived in Santa Monica for several years, on a houseboat, while she did her masters in international business (at Pepperdine). She used to drive up to the Bay Area every weekend to get away from LA.
My recall of Santa Monica is fantastic weather, great beach, wonderful cafes with amazing food (sooooo much)
That describes most of California! 🙂
OK. Beer's all gone. Time for zzz.
Good morning 👋
Morning folks.
I have a lovely(!) alarm clock known as 3-year-old-waking-up-at-5-am. Its siren call is "Daadddddyyyyyy. I need to peeeee peeeeeeeee"
haha mine doesn't ask
she just quietly does it in the bed
we did have a couple of dry nights last week...
is everybody well?
I guess this is a self-selecting sample
Ah kids, can’t wait to have some of my own 😄 Yeah doing well considering the circumstances. I am looking forward to it being > 20c How about you Ben?
We use normal underware pants during the day, and a nappy at night. We're keeping a tally of the number of nights he wakes up with a dry nappy. Once it reaches maybe 7 nights in a row, we'll try normal pants overnight too. So far, max has been 4 nights in a row 🙂
morning
<< 3-year-old-waking-up-at-5-am >> @dharrigan They grow up…. last night I had a beautiful Dad/Daughter experience. Dad: “Hey you okay, [teen]?“, The Teen: “Yeah dad, I stole your last beer, hope you’re okay with that”, Dad: “………yeah.” 🙂
I love that they had a bit of fun with this headline https://twitter.com/thecourieruk/status/1262297006862594048
Anyone else had Atom suddenly stop bringing up the prompt for connecting to a REPL when invoking the command? I figure it was an Ink version mismatch but I'm not sure and I'm not getting any error prompts.
With Chlorine? Yes, I've had that.
@U0HJFE43U With Chlorine yeah. What did you do to remedy it?
I haven't found a remedy yet - I've just been pressing Ctrl-Shift P and typing the first few characters of "Chlorine: Connect Socket REPL", then selecting the menu item.
Morning.
nope, the name seemed familiar, but i couldn't put any detail to it without google's help
Glad it’s not just me, though having found out about her I am experiencing some white-male guilt 😞
Yeah, that’s part of her legacy, but there’s something that I think is bigger, that I only discovered today after 20+ years of programming, that blew my mind…
Curious which of her many contributions is the one that blew your mind…
I am having one of those “how did I NOT know?” moments quickly followed by “Ah yes, Patriarchy 😞 ”
In fairness to the patriarchy, they did at least grant her a Turing Award! Though I must admit I’m shocked at how few have one; I was expecting the count to be a little higher than 2!!! I mean not even Grace Hopper!?! Very, very poor.
(admittedly that’s Patriarchy’s affect on me, leading me to not seek out information about women in the history of computer science, not directly hiding information from me like a moustache twirling baddie)
only aware of her cos of liskov substitution yep
I will be publishing a blogpost about the guilt-shock of finding out that she essentially invented the concept of abstract data structures and code modularisation, effectively paving the way for Object Orientated Programming.
Blew my mind that I had literally never heard her name, but I’ve heard a lot of other names, like Dijkstra, Cooley, Flowers, Furber, Hoare etc
https://en.wikipedia.org/wiki/CLU_(programming_language) clicking through to CLU is the kicker from her wikipedia page. CLU introduced some of these concepts. It was created by Liskov & students.
Yeah, I know! But I only found out TODAY! I’ve been a programmer for over 20 years and working as one for 20 years and I had never heard of her. Blows my mind!
Me too :) You showed me. I'm not sure I'd attribute code modularisation to her though. That seems better attributed to Larry Constantine who came a decade prior to CLU - he invented the terms coupling and cohesion.
From what I understand it, she was the first person to create practical implementations of reusable modules, before her work and CLU the closest you could get was a subroutine
but I imagine that all of these things are hotly debated in terms of attribution, and I am not going to pretend that I have the relevant background / reading / knowledge ’cos I don’t 😉
Either way she has definitely made a significant contribution to the way that people think about software development, and I can’t help thnking that her name not being widely known does not help with the reinforcement of software development being a male pursuit / world.
It sounds simplistic, but Ada Lovelace is not enough, women need a cadre of role models to make it seem like a place women ought to be, as well as a workplace / industry and male colleagues that make them feel welcome, of course.
Still, if I can tell ten people about her today then hopefully some of them will tell 5-10 people about her tomorrow and on and on…
(I know it’s a bit soon, but I want my daughter to have many many positive role models and for gender to be far less of an issue in just ten short years’ time when she is 19)
This will sound worse than it is - Ada Lovelace is not a great masthead. That's not to detract from her contribution in any way. But having someone from 200 years ago, which predates computers significantly, detracts in many ways from the message of her contribution. I usually point at Grace Hopper. It's a great time to mention the origin of the term "bug".
I agree, Ada Lovelace is far from an ideal standard bearer in lots of ways, but she does have a mystique and a “first” quality that has made her stick - just think of Ada’s List, for example - they like her just fine as their firebrand.
Margaret Hamilton is another one that I think makes for an excellent example of a great computing pioneer
So I gather, I knew who she was (COBOL) but I didn’t know about the moth anecdote until today
Not really, from what I can tell it’s a true story, but she did not personally find the moth and the term “bug” had been widely used for some time before the incident
> Hopper did not find the bug, as she readily acknowledged. The date in the log book was September 9, 1947.[11][12][13] The operators who found it, including William "Bill" Burke, later of the Naval Weapons Laboratory, Dahlgren, Virginia,[14] were familiar with the engineering term and amusedly kept the insect with the notation "First actual case of bug being found." Hopper loved to recount the story.[15] This log book, complete with attached moth, is part of the collection of the Smithsonian National Museum of American History.[12]
but, it's still a great thing to reference. I too actively support including more under-represented groups in programming 🙂
I'm a little ashamed that in the company I work for, there are zero female progammers.
I hear you @dharrigan - we have two, but one’s an intern and none in Platform
But then, when I was on the organising committee for Clojure eXchange 2018 we had less than 5% female identified / identifying attendance to the conference.
By which I mean to say if there were loads of women who were Clojure developers there would be more women working in my team, likely as not…
Less than 10% of the World’s programmers are women, I am told… (can’t remember where the stat is from, but it rings true if I run my work experiences through it like a filter)
And yet, I would absolutely state that some of the absolute best programmers I have ever worked with have been women.
Two, in particular, make my immediate “would hire” list, if only they would do me the courtesy of not already having awesome jobs and no need of help from me or indeed anyone on that score…
I hear that the javaScript world is a little less of a sausage party, but so many areas of our business really still are… 😞
Honestly it’s structural, we need to find ways to encourage women to train and enter the talent pool and then we need to create an environment where they want to stay. Sounds easy, but as someone who has been doing a fair bit of hiring and is going to do more (soonish I hope) it’s actually pretty depressing.
I hope things like clojurebridge help? Beyond that I’m not certain what to do other than go to places and encourage women + other underrepresented populations from trying. Are there good paths that can be pointed to? Anecdotally I’ve been seeing a number of women live streaming their coding which is really cool =)… I hope those sorts of things increase visibility that this is a good path?
I have seldom worked anywhere where there were more than a couple of female devs. The places that have created the best balance tended to be academic institutions - with the honourable exception of Sainsbury's, the only place where I've been part of a team that was more than 50% female.
Some companies do create an inclusive enclave, but the toxicity of the wider geek culture must have an overwhelming discouraging effect, and the pay gap remains. It's particularly shameful since women used to form the majority of programmers from the end of WW2 to the early 60s - curiously, about the time that it started to become a lucrative career choice.
Co-op Digital is very good on this - I think they have a policy of hiring at least 50% women. Probably @alex.lynham could confirm!
It was when I was there yes
Anyone looked at aws lambda dev recently? Is this the best starting point now? https://github.com/uswitch/lambada
Better to use cljs cos of cold start penalties
I would probably just roll my own with shadow cljs and interact directly with a js lib like serverless tbh
The tooling in js and typescript land 💩 s on cljs and js so just get close to that and use it. The interop story is p good these days too thx to shadow
np! been meaning to rewrite my serverless workshop using shadow and direct node interop but haven't had the kreplits
currently on a greenfield typescript/serverless project (couldn't swing cljs) and typescript is taking up my brainpower lol
I’ve been looking for resources, here’s what I’ve found so far: https://dev.to/beders/developing-testing-and-deploying-aws-lambda-functions-written-in-clojurescript-284l https://gist.github.com/theasp/8b1c35134788ba88edca12f52ad75f27 How hard is debugging?
debugging lambdas is easy - as long as you're deploying your changes to dev/staging often
then just catch stuff in cloudwatch and use that to debug
most of the natural advantages of clj(s) don't apply as much in serverless world purely cos you're effectively working with loads of teeny tiny microservices, so using the repl and debugging that way etc isn't really as effective as running the real thing on staging and poking it
Hmm, is there any docs/examples around talking to pg
with core.async
that you know about?
I’m using the gist that I linked to and I have no idea what I’m getting back atm, other than some js object of one kind or another…
Just trying to connect to a local db for testing and it’s just like talking into the void…
Ok, starting to get somewhere =)… But yea, any resources you could suggest would be golden ;)…
Ended up using the uswitch lib, trying to get a proper handle on js promises on top of everything else is a bit too many things who’s pieces I don’t quite know how to use in clojurescript…
in cljs I just use the funcool stuff
manifold?
but yeah pervasively async is a massive PITA
works more nicely in typescript imo
clj is better story for async but you get bulky slow lambdas
tho probs you don't need to use async so much in that case anyways
although jdbc next is async I think?
Yea, it’s just having to work out where promise reject is happening or working is a massive PITA, having an example project which just touches on something slightly non trivial would be excellent: here’s how to connect to a db in cljs in lambda without the sky falling etc =)…
right
yeah so you end up with every function returning promises basically
with functions that can return data then unit tested & wrapped by promises where necessary
anything side effecting (e.g. db calls) is usually a promise
& then all the handler does is (d.chain promise1 promise2 ...)
assuming the promises have all been called in e.g. a let block
it's a faff
this is not how I'd do it now - old old code that I wrote to try making something in cljs but https://github.com/envoylabs/envoys-backend/blob/master/src/envoys_backend/core.cljs#L103
a lot of this also depends what your usecase is
serverless is great if you want to stitch together complex stuff in aws
for a smaller, simpler site, you may be better off with a clj backend and heroku 😄
Yea, it’s more trying to have a single endpoint that does 3 or 4 things at most =)… It needs to talk to a db, but generally it’s just trying to do some compute when asked.
It was when I was there yes