Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 14:42
    jabellard review_requested #2316
  • 14:42
    jabellard review_requested #2316
  • 14:21
    jabellard synchronize #2316
  • 14:21
    jabellard synchronize #2316
  • 13:11
    laurenceSaes opened #2323
  • 13:11
    laurenceSaes opened #2323
  • Aug 17 19:39
    gravypower commented #2315
  • Aug 17 19:39
    gravypower commented #2315
  • Aug 17 19:05
    jeremydmiller commented #2315
  • Aug 17 19:05
    jeremydmiller commented #2315
  • Aug 17 18:59
    jeremydmiller commented #2307
  • Aug 17 18:59
    jeremydmiller closed #2307
  • Aug 17 18:59
    jeremydmiller closed #2307
  • Aug 17 18:59
    jeremydmiller commented #2307
  • Aug 17 18:58

    jeremydmiller on master

    ability to use JObject as a dic… (compare)

  • Aug 17 18:58

    jeremydmiller on GH2307

    (compare)

  • Aug 17 18:58

    jeremydmiller on master

    ability to use JObject as a dic… (compare)

  • Aug 17 18:58

    jeremydmiller on GH2307

    (compare)

  • Aug 17 18:58
    jeremydmiller closed #2322
  • Aug 17 18:58
    jeremydmiller closed #2322
Babu Annamalai
@mysticmind
Let us add it to "Marten as EventStore" page
If we have more talks as we go, we can add a dedicated page.
Oskar Dudycz
@oskardudycz
:+1: Sounds good to me. I'll try to send PR today
Babu Annamalai
@mysticmind
cool Oskar!
An alternative idea, have a dedicated page with the current list of talks and then add the links in the corresponding main pages
we have 3 currently, the old one on document db, and the 2 new recent ones.
Oskar Dudycz
@oskardudycz
Or maybe we could put the Jeremy's talks as the single one on the quick starts
and dedicated page with all?
Babu Annamalai
@mysticmind
that sounds okay.
Oskar Dudycz
@oskardudycz
I think that's nice for someone to get straight possibility to skim through the recording when they're trying to investigate Marten for the first time
Indeed a few videos in quick start could be too overwhelming
Babu Annamalai
@mysticmind
yes, that makes sense.
Oskar Dudycz
@oskardudycz
Let's try that then, we can always change that in the future :)
Babu Annamalai
@mysticmind
anyhow, the videos are all 1+ hrs :-)
Oskar Dudycz
@oskardudycz
I think that we could also record a shorter one
later on
with really quick start :)
Babu Annamalai
@mysticmind
yes!
Also I would want to add your quote "Event Sourcing is not difficult but a bit different"
Oskar Dudycz
@oskardudycz
:)
Babu Annamalai
@mysticmind
It quite a neat one to galvanize someone's mind to give it a deep thought.
Oskar Dudycz
@oskardudycz
Yeah, from my experience once people see Event Sourcing code with explanation the reaction is "well, that's not that hard as I heard". Of course, then once you're getting your hands dirty you need to shift your mindset a bit, but it's really not that hard :)
Especially with Marten :D
Babu Annamalai
@mysticmind
true!
Once someone gets their hand dirty, we can transpose our quote to "Your mileage may vary but everything is a still a bit different and not difficult" :-)
Oskar Dudycz
@oskardudycz
:)
Oskar Dudycz
@oskardudycz
I just watched @jeremydmiller's talk. I like it a lot, especially the Jasper integration as the sprinkle on top :)
It's nice, that we were showing similar things, but from different angles and a different, but complementary way, so I think watching both of them gives a good holistic starting point :)
Babu Annamalai
@mysticmind
I also watched @jeremydmiller's talk and he packed a lot of concepts and usage with regards to Marten. I got a good intro on Jasper + Marten which is going to get more traction due its simplicity.
Overall, both the talks are awesome and provides good chunk of intro into the world of Marten. :clap:
Oskar Dudycz
@oskardudycz
Thanks Babu :)
chathamcoders
@chathamcoders_twitter

hi, is there a lightweight way to determine if a model exists doing the below? was expecting something like session.Any<SomeModel>(someId) etc

_documentSession.LoadAsync<SomeModel>(someId, innerCancellationToken);

Oskar Dudycz
@oskardudycz
Hi, could you expand on lightweight? :)
Babu Annamalai
@mysticmind
Looks like he is wanting to check whether a document exist or not, without fetching any doc.
Babu Annamalai
@mysticmind
session.Query<SomeModel>().Where(x => x.Id == someId).Select(x => new { Id = x.Id }).SingleOrDefault() - This would be a way to fetch minimal document data using a Select projection by returning just the Id
Oskar Dudycz
@oskardudycz
I think that indeed, we could add some synctactic sugar to support Exists method.
Babu Annamalai
@mysticmind
yeah.
Babu Annamalai
@mysticmind
I did play with that, it is awesome...
Oskar Dudycz
@oskardudycz
I'm planning to use WebAssembly to do something like FaaS
So outbox based on the Postgres CDC plus Web Assembly for pipeline transformations
Seeing that made my mind blown :D
I mean WebAssembly on server-side
Babu Annamalai
@mysticmind
got you, was wondering what the use case was, you outlined it
Oskar Dudycz
@oskardudycz
There are already tries in that, e.g. Kubernetes using WASM as runtime https://github.com/krustlet/krustlet
That sounds weird, but it's pretty serious, even MS is engaged in that
Babu Annamalai
@mysticmind
k8s is wasm is a crazy idea...
Oskar Dudycz
@oskardudycz
Not some crazy as it seems, WASM has better security guarantees than traditional containers :)
But yeah, that's long shot
Jeremy D. Miller
@jeremydmiller
@chathamcoders_twitter Even without us doing any kind of syntactical sugar, you can happily do Query<T>().AnyAsync(x => x.Id == id)