These are chat archives for akkadotnet/akka.net

24th
Nov 2015
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 05:55
@cduhard eventstore plugin is not under our control
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 06:02
@Aaronontheweb I'm not sure but it looks like we need to paket-ify our plugins too
Zetanova
@Zetanova
Nov 24 2015 11:15
@Horusiath I created with a copy of sqlite a common sql persistence adapter. It is using DbFactoryProvider to create all db components. But how to create a test db?
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 11:43
@Zetanova I feel a little out of context. Can you take a look at existing sql persistence tests?
Zetanova
@Zetanova
Nov 24 2015 11:44
@Horusiath i copied them from sqlite, now i want to test with LocalDb
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 11:50
as I see it's based on the default sqlite db initializer (flag auto-initialize = on ), while database name is generated for each new test from spec constructor
to ensure that parallel test won't interfere with each other
Zetanova
@Zetanova
Nov 24 2015 11:52
"CREATE TABLE IF NOT EXISTS" is not supported in mssql ?
Zetanova
@Zetanova
Nov 24 2015 11:56
because the Akka persistence requires low features, i thougt that DbProviderFactory would be possible
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 11:56
if you can manage to make it, point for you ;)
Zetanova
@Zetanova
Nov 24 2015 12:05
it looks like its possible, there are only problems to create the db and tables
sql syntax and column types dont match
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 12:07
so it's probably need to be hardcoded. Also there may be some extension points necessary i.e. I'd love to see payload to be serializable directly into Postrgres jsonb format to be queried directly from the database ;)
afaik, the upcomming mssql also should support json data type
Zetanova
@Zetanova
Nov 24 2015 12:10
yes mssql 2016 its possible too
but i want only to have the akka-sqlserver support back
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 12:13
yesterday I've pushed my changeset akkadotnet/Akka.Persistence.SqlServer#10 - unfortunately the build broke, I need to fix it, but I have 11h working day today and need to go back from work first
I'll try to fix it in next 12 hours
Zetanova
@Zetanova
Nov 24 2015 12:14
thx
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 13:11
don't you think, that akka.net deserves some ready-to-go plugin for Azure Service Bus integration?
Natan Vivo
@nvivo
Nov 24 2015 14:04
guys, if i need to start an actor system inside xunit, do I need to use any specific dispatcher? it looks like messages are not being received
i'm not actually writing tests, I just want to debug something. I usually write a dummy test and debug from inside Vs directly without starting the app
but the actor never receives any messages... any ideas?
I guess I could just use testkit... but was wondering if its something with the dispatcher
Zetanova
@Zetanova
Nov 24 2015 15:19
@Horusiath DateTime Timestamp; should it not be DateTimeOffset?
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 15:48
@Zetanova it's DateTime.UtcNow anyway, so the event's precedence based on timestamp is globally consistent. For strong events precedence we use persistenceId + sequenceNr, timestamp is more for scheduling time-based update frames.
Natan Vivo
@nvivo
Nov 24 2015 16:01
got it working. was doing something stupid here.. =)
as always, solutions pop up magically in your brain once you announce to the internet you can't do something.
Zetanova
@Zetanova
Nov 24 2015 16:02
@nvivo it forces u to think about
@Horusiath i had some problems in the past. DateTime is error prompt if at deserialization or read from the db, the code allways assumes LocalTime
if the Univarsal-flag is not present in the code
Zetanova
@Zetanova
Nov 24 2015 16:08
I think will will get DbProviderFactory working in the next hour, first test past successfuly
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 16:11
to be honest I feel really tempted by what Martin Krasser did with eventuate - in my opinion we should get akka persistence working that way. Actually he is original actor of both akka-persistence and eventuate on the JVM and he write the second as lessons-learned version from the first approach
Zetanova
@Zetanova
Nov 24 2015 16:18
does c# have some CRDT lib ?
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 16:18
@bruinbrown has one for akka in development :P
Aaron Stannard
@Aaronontheweb
Nov 24 2015 16:51
@/all so I'm just about finished porting a DotNetty transport to Akka.NET, and one of the features I've included in it is IPv6 support (Helios supported it, but always picked IPv4 addresses for DNS resolution) - by default I'm going to specify that Akka.NET resolve all hostnames to IPv6 addresses when they're available. Question is - how many of you are in production environments where you absolutely do not have IPv6 available?
preferred IP family will be configurable via HOCON for this transport
for most of you it won't matter - i.e. all cloud and commercial hosting environments support it
but for the on-premise folks or the ones doing some work with embedded Akka.NET applications it might
Aaron Stannard
@Aaronontheweb
Nov 24 2015 16:58
@nvivo haha, what was the issue?
Timur Babyuk
@timba
Nov 24 2015 18:35
Hi guys, are there any plans to integrate Akka.Net with Service Fabric?
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 18:38
@timba @rogeralsing is the person, who seems to be most up to date with that
Sean Gilliam
@sean-gilliam
Nov 24 2015 18:39
@Aaronontheweb as long as it's configurable via HOCON I don't see anything wrong defaulting to v6
Timur Babyuk
@timba
Nov 24 2015 18:52
@Horusiath cool! I've heard some rumours about that, but nothing more. @rogeralsing , any help needed with contribution?
Zetanova
@Zetanova
Nov 24 2015 19:24
@Horusiath i made a pull request akkadotnet/akka.net#1418
Common db provider is working at least for mssql for now
if will add some mode-switch for paramterNames, columnTypes and TOP/LIMIT feature, so it will be possible to use it with Mysql, sqlite and so on.
Roger Johansson
@rogeralsing
Nov 24 2015 20:00
@timba there are two semi finished service fabric integrations, one for akka.persistence, to store events in sf reliable actors, and one to run akka.net ontop of service fabric clusters using service discovery
both of those projects could use some love tbh
Aaron Stannard
@Aaronontheweb
Nov 24 2015 20:39
I cannot figure out how to add DotNetty as a reference using Paket
am I supposed to delete the paket.lock file first before I run paket.exe install after I've updated one of my paket.reference files?
why are we using this stupid thing again?
Aaron Stannard
@Aaronontheweb
Nov 24 2015 20:47
was it having multiple different versions of the same NuGet package?
so between not being able to use any of the tooling inside visual studio anymore, this thing downloading ~400mb of packages (some of them several times over), having the Google.ProtocolBuffer crapware reinstalled every time I run `paket.exe install, and not being able to figure out how to just add a new package from scratch, I'm pretty eager to throw this thing into the trash. I'll create a PowerShell script that deals with the multiple dependencies things, the two times a year we need to actually worry about that.
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 20:52
@Aaronontheweb paket add nuget <packageName>
Aaron Stannard
@Aaronontheweb
Nov 24 2015 20:52
not to mention the mangling of the .csproj files everytime I run paket.exe install
@Horusiath do I need to do that inside the directory of a specific project?
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 20:55
I'm usually using paket install --hard to download and reinstall all packages
Aaron Stannard
@Aaronontheweb
Nov 24 2015 20:55
seriously this thing modifies like 70 files
like, I'm trying to keep my PR small on purpose
dude, this tool sucks
can we get rid of it?
it's supposed to "be better" than NuGet - some of the features it has seem nice, but I don't want to submit or review PRs that have a bunch of extraneous crap written into them
ain't nobody got time for that
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 21:00
I've written on fsporjects/Paket to ask how to do that ;)

ain't nobody got time for that

this is the argument of the people choosing Orleans instead of learning actor model ;)

Aaron Stannard
@Aaronontheweb
Nov 24 2015 21:01
Paket is a packet manager
not an application programming framework
if someone introduced "stapler 2.0" to me and it required me to do a bunch of stuff that I didn't care to know how to do in order to staple sheets of paper together because it's a superior stapler
it'd still go into the trash
because it's a stapler
Stefan Sedich
@stefansedich
Nov 24 2015 21:03
:package:
I was sad we had no :stapler:
Roger Johansson
@rogeralsing
Nov 24 2015 21:03
meh it didnt link to the aint nobody got time for that... :-(
Aaron Stannard
@Aaronontheweb
Nov 24 2015 21:04
@rogeralsing I still commend your excellent meme-ing
despite Gitter not linking to the right place in the video
in all seriousness, can I revert this?
this is a waste of energy and time
doesn't need to happen now
but I think the costs outweigh the benefits of using this tool, having given it a try
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 21:09
@Aaronontheweb I think you need to be converted
I SUCK AT THIS!
Aaron Stannard
@Aaronontheweb
Nov 24 2015 21:11
dude, what are you trying to do @rogeralsing lol
Stefan Sedich
@stefansedich
Nov 24 2015 21:11
ha ha
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 21:11
@rogeralsing start link with !
Stefan Sedich
@stefansedich
Nov 24 2015 21:11
he must be using meme 2.0
heaps harder to master
Roger Johansson
@rogeralsing
Nov 24 2015 21:11
COMPUTERS!
Bartosz Sypytkowski
@Horusiath
Nov 24 2015 21:12
link
![link](http://computergaming.daonews.com/files/2015/04/wololo-aoe2.jpg)
btw. mongolian throat singing sounds very close to the original Age of Empires "wololo" call
Roger Johansson
@rogeralsing
Nov 24 2015 21:18
wololo.png
Aaron Stannard
@Aaronontheweb
Nov 24 2015 21:47
lol
Aaron Stannard
@Aaronontheweb
Nov 24 2015 21:57
@@ -50,157 +50,4 @@
      ]]>
    </hocon>
  </akka>
<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
    <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="3.5.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Castle.Core" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="3.3.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Castle.Windsor" publicKeyToken="407dd0808d44fbdc" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="3.3.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Microsoft.Practices.ServiceLocation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="1.3.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="FSharp.PowerPack" publicKeyToken="99cf57b64b44bf93" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="2.0.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="FSharp.PowerPack.Compatibility" publicKeyToken="99cf57b64b44bf93" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="2.0.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="FSharp.Core" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="4.4.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="FluentAssertions.Core" publicKeyToken="33f2691a05b67b6a" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="3.5.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="FluentAssertions" publicKeyToken="33f2691a05b67b6a" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="3.5.0.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Microsoft.CSharp" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="5.0.5.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="2.0.5.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="System.Xml.Linq" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="5.0.5.0" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Google.ProtocolBuffersLite.Serialization" publicKeyToken="55f7125234beb589" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="2.4.1.555" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Google.ProtocolBuffersLite" publicKeyToken="55f7125234beb589" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="2.4.1.555" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Google.ProtocolBuffers.Serialization" publicKeyToken="55f7125234beb589" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="2.4.1.521" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="Google.ProtocolBuffers" publicKeyToken="55f7125234beb589" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999.999" newVersion="2.4.1.521" />
  </dependentAssembly>
  <dependentAssembly>
    <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-999.999.999
actual binding redirect written by Paket
disappeared when I ran it again
Aaron Stannard
@Aaronontheweb
Nov 24 2015 22:02
worst part is it injected all of that shit into an application that doesn't even depend on any of those things
Aaron Stannard
@Aaronontheweb
Nov 24 2015 22:24
virtually every App.config in the dev branch has had this since we merged in Paket: https://github.com/akkadotnet/akka.net/blob/dev/src/examples/HelloWorld/HelloAkka/App.config
Sean Gilliam
@sean-gilliam
Nov 24 2015 23:03
talk about config diarrhea