This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-21
Channels
- # announcements (51)
- # asami (5)
- # babashka (25)
- # babashka-sci-dev (26)
- # beginners (33)
- # calva (10)
- # clj-kondo (51)
- # clj-yaml (99)
- # clojure (96)
- # clojure-australia (3)
- # clojure-berlin (5)
- # clojure-europe (151)
- # clojure-norway (58)
- # clojurescript (20)
- # cursive (13)
- # datalevin (1)
- # datomic (19)
- # docker (6)
- # emacs (55)
- # events (1)
- # fulcro (50)
- # gratitude (8)
- # juxt (7)
- # leiningen (5)
- # malli (6)
- # membrane (1)
- # nbb (28)
- # off-topic (22)
- # pathom (7)
- # polylith (20)
- # portal (1)
- # reagent (37)
- # reitit (2)
- # releases (2)
- # reveal (32)
- # scittle (34)
- # shadow-cljs (46)
- # testing (10)
- # tools-deps (33)
- # xtdb (18)
haha same
I compulsively read this channel
Nah, not at all @U6L5FFL95, it was a very nice conversation.
it was indeed like a fireside chat, I was also just about to go to bed, so I enjoyed talking ;)
morning!
See, my math suckiness is showing. I don’t know what that’s supposed to be in base 10.
(base 10 without fancy notation)
Enjoy your youth! I’m at the other end of the 30s, and I feel like crap already.
Some sleep and exercise would help 🙂 Perhaps, one day, when my kid is a bit older…
Gonna do anything in particular for your bday?
Probably all my exercise is only accelerating aging 🤓 there's always a little surprise This week I'm sneaking into my friends' houses for dinner, I enjoy it more than one big gathering
@U45T93RA6 Clever. I also like 1-1 conversations more (or a few people) than a big crowd
@U45T93RA6 Have you ever been to a clojure conf or intend on visiting one?
Euroclojure 2015 (because it was in bcn!) I'm kind of lazy about overdosing myself on info - I'm not a 'meetings' person at work anyway. Maybe I can intentfully go in a picky manner, say 20% watching talks, 20% being social, 60% enjoying whatever city the conf is in
I didn’t realize you were Dutch, @borkdude (are you? 😄 ). I was just in Groningen a couple of weeks ago to get my tongue tie cut. Lovely city, shame we didn’t have time to stay and enjoy.
I’m envious!
How do you find it?
I left last century, but when ever I go and visit my mother it feels like home... even though things have changed a lot
I bet.
I came back to live near the “big city”, which is near where my parents live. So much has changed, and continues to change. I rarely come there, so there are windows for surprises every time.
As butter, in 2 minutes, and completely painless. Kirsten is great!
haha, I wish
there’s more mobility, but I can’t do anything particularly funny-looking or interesting with it
well, she’s well known in Denmark among people who’ve got a kid with a tight tongue tie. On the day that we were there to get treatment for me and my son, there were Danes waiting outside before, during and after our treatment.
some professionals were also trying to push into going to NL to get Isak’s tongue cut, while others were like “don’t listen to those oher crazies”. In the end he turned out fine, nothing wrong with his tongue at all. We got the impression that while it is of course an issue for some, it is being over-diagnosed
the ones telling us to go were different varieties of nurses, while the ones telling us the others were talking nonsense were doctors, so that made the difference to us (ignorant) first-time parents
it’s tough to make decisions like that. We’re doing aftercare, which is stretching the wound to prevent it from healing back into the original shape. 3 times a day. Rumle hates it and cries and screams, but we feel we have to do it.
We ended up on the other side; we feel like it’s being under-diagnosed, and that many adults are probably walking around with ailments that could be amended with a cut and the proper exercises.
e.g. my shoulders loosened up suddenly after the cut, and I felt focused and calmer.
There are many symptoms that could be caused by a tight tongue tie, so it’s an interesting field. And it’s getting a lot of attention (relatively) from parents now, and it’s controversial and touchy, so professionals can be in more or less violent disagreement.
Rumle swallows with much greater ease now, which was the main mission. Any other positive side effects are much welcome 🙂
Indeed. We suspected a tight tongue tie since birth (also because he had trouble nursing), but only got around to really do something about it when he started losing weight.
BTW, you can get a non-invasive evaluation of tongue mobility by an OMFT practitioner, should you ever decide to look at it again. OMFT practitioners are kind of like ergotherapists focusing on tongue mobility, so I’d expect them to have more in-depth knowledge than both nurses and GPs
there is no issue, fortunately, just had some people trying to convince us there was one 🙂
Great! 🙂
There’s enough to worry about already 😅
She’s the best in Europe AFAIK
Kirsten Slagter, Tongriem Klinik
Fun fact: her last name means “butcher” in Danish, and her first name is a common Danish name as well.
hah, Dutch too?
yeah, I generally prefer Android, but I bought an iPhone specifically because of the camera when my son was born (and I had just broken my old phone) since I wanted to make sure that I shot even the early parts of his life in glorious 4k 60 FPS video.
Actually, my dad rented a video camera and just shot random parts of our family’s life back in early 1990 when I was a year and half and I still treasure that old tape. That is partly why I want to make sure that I capture important moments in the best possible way.
We could do with better phone cameras… But until we can afford them/they fit in our hands, our trouble is mainly organizing all of the bazillion pictures and movies we take.
måning
what is the correct HTTP status code to return when you want to indicate that a POST request to an idempotent endpoint didn’t change anything this time around?
huh, I hadn’t considered that as an individual status 🙂 I thought that the idempotence meant that you shouldn’t care, though I’d personally prefer to receive the status you talk about.
Good question ... I don't have a "correct" answer, but I've used 200 for duplicates and 201 (created) for actual changes.
Self (repo) promo if you are using Datomic: https://github.com/ivarref/double-trouble (I have a 200 vs 201 example down in the README) Could be relevant for other purposes as well, creating a hash of the "stable" http input should be a general solution...
I think with liberator, you’d get a 204 (no-content): https://clojure-liberator.github.io/liberator/assets/img/decision-graph.svg
@UGJE0MM0W I use Asami, not Datomic. I wonder if your libs are compatible with Asami??
I don't know, but I doubt it unfortunately.. Give it a try if you like 🙂
I have never tried Asami so far..
it’s pretty great, even copies the Datomic API. The main difference is that Asami has an open world assumption (similar to RDF) and therefore doesn’t use schemas.
for someone like me who uses RDF in another project, Asami is perfect, since I don’t need to consider the subtle differences. It is effectively just an RDF triplestore reskinned as a Datomic clone.
304
? I recall the advice going around that a POST request should return a 303
rather than a 2xx
for a successful request ... but I don't really see people doing that very much 😉
It's used by proxies and the like to say the data hasn't changed and you can use the version you already have. But POST requests shouldn't be cached. So it shouldn't cause a problem. I guess it depends on your setup. There's a fair amount of wiggle room in the definition of these things and if you're making an API, I guess you can interpret the http verbs however you like ;)
https://www.rfc-editor.org/rfc/rfc2616#section-10.3.5 seems to say that 304 is only for GET 🤷
@U04V5V0V4 Perhaps not. I generally I like to design software in such a way that the data and metadata is all there and laid out in a way that conforms to a specification… unless it is impractical.
maybe it makes sense to indicate that no changes were performed contrary to expectations or maybe the fact that no changes were made would indicate that a separate backend request should not be made as the existing cached instance can be used
@U015KH5ENEM ... well ... it says nothing about post requests, but sure you might call that undefined behaviour. It was just a suggestion 😉