This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-18
Channels
- # announcements (6)
- # babashka (16)
- # beginners (194)
- # calva (20)
- # cider (34)
- # clj-kondo (38)
- # clojure (89)
- # clojure-europe (10)
- # clojure-finland (15)
- # clojure-italy (2)
- # clojure-nl (15)
- # clojure-sg (7)
- # clojure-spec (15)
- # clojure-uk (86)
- # clojurebridge (1)
- # clojurescript (60)
- # community-development (11)
- # conjure (13)
- # core-async (48)
- # core-typed (3)
- # cursive (22)
- # datascript (8)
- # datomic (40)
- # duct (11)
- # emacs (3)
- # figwheel-main (22)
- # fulcro (45)
- # graphql (1)
- # helix (9)
- # hoplon (15)
- # hugsql (7)
- # jobs-discuss (47)
- # juxt (7)
- # kaocha (21)
- # luminus (1)
- # malli (13)
- # meander (2)
- # off-topic (52)
- # parinfer (19)
- # re-frame (66)
- # reagent (1)
- # reitit (3)
- # ring-swagger (1)
- # rum (2)
- # shadow-cljs (72)
- # spacemacs (5)
- # sql (4)
- # timbre (5)
- # tools-deps (15)
- # vim (5)
- # vrac (7)
Mornin'
Nice. You need the rain, according to mum.
Tis nice and peaceful at the moment, with the gentle staccato sound of the rain. Waiting for my wee wain to wake up.
Very British weather recently - varying from hot(ish) and sunny, to heavy rain, thunder and lightning, and even some hail
Last week in the SF Bay Area, we had 100F in the house three or four days running, then a day of rain and down to the mid-60's F for a day or two, then back up into the 80's...
(we're on downward trend to the low 70's by Tuesday next week then it's set to climb again -- rain is unusual here from March to September)
I don't live in the US, and I'm in my mid-thirties, so I had to ask the web what 100F was in units I can understand
Even tho' decimalization happened when I was a kid in England, I've always resisted and stuck to imperial measures!
I'm used to chatting with my mum (in England, every Monday) and she's old enough to still think in F as well 🙂
I'm sure I would have been the same, but the metric system is all I was ever taught, really
Aye, well, you're 20+ years younger than me 🙂
¡måning!
it's a slightly minging 291K here
I think in american temperature it's 424.3 fluid cups right now
or is that 63 heated oz
morning
i remember 32˚F=0˚C and -40˚F=-40˚C, which is enough to work it out
some classic project management technique from http://gov.uk . we can all learn from them: https://www.theguardian.com/society/2020/jun/17/nhs-covid-19-contact-tracing-app-no-longer-a-priority-says-minister
Anyone use https://github.com/jonase/kibit/ much these days?
if it wasn't so sad it would be comical... "U-turn comes after British officials concluded it was technically impossible to create an effective app that did not conform to the Google and Apple model" - as even the most cursory of competent research would have revealed several months ago - i wonder how much in contract fees has been splurged to get to this point? : https://www.theguardian.com/world/2020/jun/18/uk-poised-to-abandon-coronavirus-app-in-favour-of-apple-and-google-models
holy 🐮
oops I was out
https://www.nytimes.com/2020/06/17/world/europe/uk-contact-tracing-coronavirus.html > The New York Times has learned that the contact-tracing contract, awarded in a secretive procurement process, cost 108 million pounds, or about $136 million.
108 MILLION
right let's burn the place down lads
somebody should be going to PRISON over that
it's probably one of their mates as well
THIS COUNTRY ARGH
i'm going to have a tea and a biscuit, i cant even
that's why there's no money left to feed the kids
oh, hang on, there's £100'000'000'000 behind the sofa, still wet from the printers
what kind of tea?
opium+coca-leaf tea, it's the only solution in times like these
speedballs, not sure will turn out as well as you are hoping
i have low expectations, i've been living in britain for half a century
you don't believe in yourself you mean
alot of the mystique is achieved by keeping the prices high, I believe
you have to value yourself highly before others will
so if i up my day rate to 108m
i could live with that
and the contact tracing system farmed out to Serco instead of expanding the already existing contact tracing done by PHE, NHS, environment health etc
as described in Yes PrimeMinister; the pricetag is the point > At the moment we have a magic wand. It is called Trident. No one understands anything about it except that it will cost £15 billion, which means that it must be wonderful. Magical > We just have to write the cheque, and then we can all relax. > But if people in the government start talking about it, eventually they will start thinking about it. Then they will realise the problems, the flaws in the reasonin.. Result: the nation gets anxious
Same with the Nightingale hospitals, spend £200 million on hospitals that there are no staff for. In a large part to be seen to be doing something
https://www.mirror.co.uk/news/politics/ditched-government-coronavirus-app-only-22214724?
I wonder whos doing todays Government briefing
its Hancock the Humourist
oh and Dodo harding
oooh he does not recommend that people download the app
React/Javascript question; I have two React components and I'd like to pass the outer one's props straight through to the inner component; is that possible? like this
function InnerTable(props) {
// create a table
}
function OuterCard(props) {
return (
<Card>
<CardHeader></CardHeader>
<CardBody>
***<InnerTable props />***
</CardBody>
</Card>
}
kinda thing
but how could I make that * line work?I could manually unwind the props value and then hard code the props into the Inner Table of course but that doesn't sound like much fun
am I thinking in clojurescript too much?
I suppose I can wrap it thus
function OuterCard(props) {
return (
<Card>
<CardHeader></CardHeader>
<CardBody>
<InnerTable outerProps={props} />***
</CardBody>
</Card>
that`ll be good enoughI think that’s what …
is for right? Or am I missing something?
Found an example [0]:
const {propOne, propTwo, children, ...props} = this.props;
<Component propOne={propOne} propTwo={propTwo} {...props}>
{children}
</Component>
- [0] https://stackoverflow.com/a/41540059ooh maybe; that ellipsis seems to be for a bunch of things; if this can be one of them then thats great...
I didn't realise you can mix JSX with ellipsis like that
that's what I mean
yup that's right <Foo bar="baz">
is just syntactic sugar for
React.createElement(Foo, { bar: "baz" })
,
so you can use ...
or anything else that is valid within an Object.
so in a functional component you could just do
(props) => {
return (<Card><InnerTable {...props} /></Card>);
}
nice! thanks