Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 15:15
    ejsmith synchronize #452
  • 15:15

    ejsmith on elastic7

    Update README.md (compare)

  • 13:58

    niemyjski on elastic7

    (compare)

  • 13:39
    niemyjski synchronize #452
  • 13:39

    niemyjski on elastic7

    Simplified token logic and adde… Revert "Replaced NewtonSoft.Jso… (compare)

  • Oct 15 07:29
  • Oct 14 02:53
    wmowm commented #459
  • Oct 12 15:59
    niemyjski commented #459
  • Oct 12 15:57
    niemyjski edited #459
  • Oct 12 12:54
    niemyjski synchronize #452
  • Oct 12 12:54

    niemyjski on elastic7

    Fixed serializer null reference… Fixed all Swagger issues. (compare)

  • Oct 12 12:26
    niemyjski synchronize #452
  • Oct 12 12:26

    niemyjski on elastic7

    Updated to latest foundatio rep… (compare)

  • Oct 12 12:24
    niemyjski synchronize #452
  • Oct 12 12:24

    niemyjski on elastic7

    Fixed elasticsearch serializer … (compare)

  • Oct 12 11:01
    wmowm opened #459
  • Oct 11 11:21
    niemyjski commented #458
  • Oct 10 21:18
    kiquenet opened #458
  • Oct 10 13:30
    niemyjski updated the wiki
  • Oct 10 09:20
Lord-Hasek
@Lord-Hasek
Ok cool, then 1:00 it is :)
Blake Niemyjski
@niemyjski
@ejsmith did you get rid of some typehelper stuff in foundatio?
    private ICollection<IMigration> GetAllMigrations() {
        var migrationTypes = TypeHelper.GetDerivedTypes<IMigration>(new[] { typeof(IMigration).Assembly });
        return migrationTypes
            .Select(migrationType => (IMigration)_container.GetService(migrationType))
            .OrderBy(m => m.Version)
            .ToList();
    }
GetDerivedTypes no longer works
you removed it
guess we should get that from di
or what
Eric J. Smith
@ejsmith
yeah, tying to stay focused on what Foundatio is supposed to be.
not DI and general helper lib.
cloud app abstractions and impls.
Blake Niemyjski
@niemyjski
I’m goign to mark that as a todo
and comment it out
Blake Niemyjski
@niemyjski
@ejsmith are you updated to use foundatio.repositories
cause you should be
Eric J. Smith
@ejsmith
nope, but I am going to do that as part of updating our stuff to work on 2.0
Blake Niemyjski
@niemyjski
ok
talking to greg from elastic now
Blake Niemyjski
@niemyjski
@ejsmith
we WILL have to go to elastic 2.x before elastic 5
Eric J. Smith
@ejsmith
they are killing us
Lord-Hasek
@Lord-Hasek
@niemyjski I messaged you a link to a join.me so we can continue troubleshooting
Blake Niemyjski
@niemyjski
sounds good
Blake Niemyjski
@niemyjski
he gets all the clicks
Sander Rijken
@srijken
Been fighting with calling async/await code from an Rx Subscribe(Observer). Problem was that IObserver only contains void OnNext(T item). Because there’s nothing that returns task, you can’t do .Subscribe(async item => { await ProcessAsync(item) }).
it’s fixed now by doing: .Subscribe(item => { ProcessAsync(item).GetAwaiter().Result(); })
in the process I learned the difference between Task.Wait() and Task.Result vs Task.GetAwaiter().Result()
it’s explained best over here: aspnet/Security#59
"One last remark: you should avoid using Task.Result and Task.Wait as much as possible as they always encapsulate the inner exception in an AggregateException and replace the message by a generic one (One or more errors occurred), which makes debugging harder. Even if the synchronous version shouldn't be used that often, you should strongly consider using Task.GetAwaiter().GetResult() instead."
Blake Niemyjski
@niemyjski
+1
learned a few things today
Eric J. Smith
@ejsmith
?
Sander Rijken
@srijken
I learned that I’ve got a lot to learn about mixing Rx and async/await
basically it’s pretty much impossible to do nicely
Eric J. Smith
@ejsmith
yeah, I keep wanting to get into Rx
wonder if we should think about hosting our jobs that way.
Blake Niemyjski
@niemyjski
welp
next step
everything compiles
Eric J. Smith
@ejsmith
nice!
Blake Niemyjski
@niemyjski
now I guess get foundatio tests passing and work and get that published
Eric J. Smith
@ejsmith
so no blockers in the way, eh?
Blake Niemyjski
@niemyjski
would like to finish up the users stuff first but should get this done
well there will be with index names
lol
Eric J. Smith
@ejsmith
the functions thing looks interesting...
but don’t think it’s quite there yet.
you can make a storage folder the trigger… so just putting the postdata there would trigger it to run.
can run C# code and it scales on its own based on triggers.