by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 24 18:53
    jabellard starred DevrexLabs/OrigoDB
  • May 28 20:13
    Inux starred DevrexLabs/OrigoDB
  • May 22 01:57
  • May 22 01:57
    5l1v3r1 starred DevrexLabs/OrigoDB
  • May 21 17:36
    LukeXeon starred DevrexLabs/OrigoDB
  • Apr 13 04:56

    dependabot-preview[bot] on nuget

    (compare)

  • Apr 13 04:56
    dependabot-preview[bot] closed #25
  • Apr 13 04:56
    dependabot-preview[bot] commented #25
  • Apr 13 04:56
    dependabot-preview[bot] labeled #27
  • Apr 13 04:56
    dependabot-preview[bot] opened #27
  • Apr 13 04:56

    dependabot-preview[bot] on nuget

    Bump FakeItEasy from 1.25.3 to … (compare)

  • Mar 27 09:02
    7k8m starred DevrexLabs/OrigoDB
  • Mar 18 23:58
  • Jan 20 21:41
    dependabot-preview[bot] labeled #26
  • Jan 20 21:41
    dependabot-preview[bot] opened #26
  • Jan 20 21:40

    dependabot-preview[bot] on nuget

    Bump NUnit from 2.6.4 to 3.12.0… (compare)

  • Jan 20 21:40

    dependabot-preview[bot] on nuget

    Bump FakeItEasy from 1.25.3 to … (compare)

  • Jan 20 21:40
    dependabot-preview[bot] labeled #25
  • Jan 20 21:40
    dependabot-preview[bot] opened #25
  • Dec 27 2019 09:42
    liyun20151202 starred DevrexLabs/OrigoDB
Robert Friberg
@rofr
So which line throws the exception?
Alan Hemmings
@goblinfactory
oops, code above ..config is not passed to Engine.For
Robert Friberg
@rofr
That's a classic mistake, it as happened more than just a few times :)
Alan Hemmings
@goblinfactory
Give me 10 minutes so that I can give you a solid failing test that's well written without being rushed, and will save us both much time and folks reading this (curiously) will not curse me for pasting bollocks code ;-D
quick question, what exact namespace, what exact 'serializable' attribute must be used?
I'm now getting class Foo (Cat) is not marked as serializable, and it is. mmm!
Robert Friberg
@rofr
That would be System.Serializable
Alan Hemmings
@goblinfactory
just checking I wasnt going crazy.
quickest way to give you the feedback is for you to clone this 'gist' / spike repo and run the test
clone that, and checkout branch fail2
the failing test is '\Tests\HelloOrigoSmokeTests.cs`
Alan Hemmings
@goblinfactory
ah gosh, I copied the walkthrough exactly, with just the 2 fixes required, and that works a treat, passing no problem!
Robert Friberg
@rofr
So the reason for the fail is that the query passed to Execute returns an IQueryable which is not serializable
Put the ToArray() inside the Execute instead and it will work
Alan Hemmings
@goblinfactory
<blush!>
Robert Friberg
@rofr
Nah, that's an easy mistake to make
Alan Hemmings
@goblinfactory
that fixes the serialisation, but still get the process cannot access the file, because it is being used by another process.
Alan Hemmings
@goblinfactory
Hi Robert, there's this one phrase I dont quite understand in the documentation, describing the RoyalFoodTaster, If a command fails, the taster is discarded and replaced with a clone of the real model, without requiring full restore. More importantly, the real model is readable while the taster is being rebuilt.
if the real model is still readable, (and valid) then why bother with rebuilding?
Robert Friberg
@rofr
The key here is that you have 2 identical models in memory.
If the royal food taster goes corrupt, you need to create a new one
Alan Hemmings
@goblinfactory
Ok got it; I had a performance test that appears superficially to contradict this; and my problem was that my test model was wastefully keeping a transaction history in memory that was never being queried. This resulted in a linear growth of model size in memory, resulting in a long clone times. (That's my theory) going to remove the transaction table from memory, ... that can always be recreated by replaying all the messages (wow.. that's incredible! ) ...and that should = a test that proves how it all works. If this works, I'd like to offer it for consideration as sample code for the docs?
so far, it looks like the sample code is thin on 'best practice' examples, or examples that show with tests, why (and when) you'd choose A over B.
Alan Hemmings
@goblinfactory
working on a small accounts demo.
Robert Friberg
@rofr
awesome, appreciate the love
Alan Hemmings
@goblinfactory
are there any open source projects or other samples that I can look at to glean some best practices; I'm quite in the dark and guessing, and writing very rudimentary tests, quite a slow process.
Robert Friberg
@rofr
Robert Friberg
@rofr
source is on github, link is on the about page
Alan Hemmings
@goblinfactory
ah...fantastic
Harry McIntyre
@mcintyre321
Is the blog engine.net provider around still? The post I googled is dead
Robert Friberg
@rofr
eww, we did not maintain that provider. To be honest we learned that blogengine.net is a can of worms we wish we had never opened :)
Harry McIntyre
@mcintyre321
😁
Robert Friberg
@rofr
and there was no a great performance benefit compared to the xml provider because blogengine keeps loads it all into ram anyway
And by can of worms I mean the implemenation was messy, lot's of leaky abstractions
But i might be able to dig it out for you if you're interested in archaelogy :)
Harry McIntyre
@mcintyre321
No, don't worry!
I do enough archaeology in the day job
meganaut
@meganaut
Hi guys can I ask random questions about origo implementations here?
meganaut
@meganaut
ohh. noone has been active in here for 5 months..
Mattias Karlsson
@devlead
@rofr check now and then - I'm sure he'll check here soonisch ;)
Robert Friberg
@rofr
Notifications a
are not working well here, seems like the needs to be open @meganaut
Crap I cant type on this phone...
Ping me on twitter, @robertfriberg
Reddy
@HydNative_twitter
Hello, Could someone tell me what has changed from OrigoDB 0.17 to 0.19?
Robert Friberg
@rofr
@HydNative_twitter see the release notes here https://github.com/DevrexLabs/OrigoDB/releases
Alan Hemmings
@goblinfactory
I'm going to be writing some origodb samples in a few weeks, just finishing up my ZeroMQ samples first, I hope to have more time to contribute to these chats
Robert Friberg
@rofr
hey @/all we've started our journey reimplementing/porting origodb to dotnet standard. Wanna help? Check it out at https://github.com/devrexlabs/memstate or come talk to us at https://gitter.im/memstate