hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar.cct.lsu.edu | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | Buildbot: http://rostam.cct.lsu.edu/ | Log: http://irclog.cct.lsu.edu/ | GSoD: https://developers.google.com/season-of-docs/
Yorlik has quit [Read error: Connection reset by peer]
hkaiser has quit [Quit: bye]
rori has joined #ste||ar
heller has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
heller has joined #ste||ar
Yorlik has joined #ste||ar
hkaiser has joined #ste||ar
hkaiser has quit [Quit: bye]
hkaiser has joined #ste||ar
aserio has joined #ste||ar
aserio has quit [Ping timeout: 276 seconds]
aserio has joined #ste||ar
<simbergm> K-ballo: yt?
<simbergm> would you mind explaining a bit more about what the problem is with the constexpr and how the workaround works?
aserio has quit [Ping timeout: 264 seconds]
aserio has joined #ste||ar
lsl88 has joined #ste||ar
<K-ballo> constexpr allows for constant initialization, so globals dont need to run code to initialize, so order doednt matter
<K-ballo> the workaround hses meyer's workaround with function level statics
<Yorlik> How would I serialize and deserialize Components and possibly write / extend serialization? I need to start basic persistence, at least for development purposes.
<Yorlik> AND: Json would be greatly appreciated for hand editing offline.
<Yorlik> :)
<hkaiser> Yorlik: no json format if you use HPX serialization, that will always produce a binary format
<hkaiser> otherwise, read about Boost serialization and replace boost::serialization:: with hpx::serialization::
<Yorlik> Allright. I assume I could overload and create a deserializer from json?
<Yorlik> Uh - forget it - I'll create something different for that purpose
<Yorlik> hkaiser - how would I reconstruct a component with a pinned id_type? I'll have to write something to persist to database and read from database and I want to use JSONB data in PostGreSQL for that. Thus I need to write custom code.
<Yorlik> The default serializer probably is just for networking and maybe hibernation.
<Yorlik> I must admit I'm getting increasingly frustrated with the HPX documentation. I generated Doxygen docs - but the code comments showing up there are also very sparse.
aserio has quit [Ping timeout: 276 seconds]
hkaiser has quit [Read error: Connection reset by peer]
hkaiser has joined #ste||ar
<hkaiser> Yorlik: correct, hpx serialization is for networking
<Yorlik> I need to solve the creation and the peristence problem for now.
<Yorlik> creation from a simple text format, like json - no IDs needed here, and persistence with peristent IDs
<hkaiser> the formatting is done in the archives, however, so writing your own archive might work
<hkaiser> we have never cared about different formats
<Yorlik> So I could subclass the archives and have a json archive?
<Yorlik> What about the IDs? I need them to be persistent - otherwise I'll have to create a cumbersome custom ID system - I think you did a patch some time ago right?
rori has quit [Quit: WeeChat 1.9.1]
<hkaiser> Yorlik: I wouldnt try to introduce another format for hpx serialization
<hkaiser> there might be dragons lurking...
<Yorlik> I just need to solve these two problems.
<hkaiser> why not just store the binary stream in postgresql directly?
<Yorlik> Because I can't query it
<hkaiser> what do you need to query for?
<Yorlik> The strength of PostGRS is the query language
<Yorlik> For example to analyze what's going on
<Yorlik> Like how rich is a player
<hkaiser> well, that's not too specific
<Yorlik> How much value is in the world
<Yorlik> What's the distribution of mobile difficulties
<Yorlik> How os our resource distribution
<Yorlik> etc.. pp
<hkaiser> ok
<Yorlik> Also you need offline object editing
<Yorlik> Postgres# JSONB is perfect for that, isnce we can have a schemaless format
<Yorlik> So - objects would get stored in a versioned json.
<Yorlik> JSONB in that case.
<Yorlik> Since we will store only about every 5 minutes and use a write behind in memory buffer in between it should work.
<Yorlik> For generative purposes I'll probably just write some functions to read json files and creat objects from them. The ID then gets assigned by AGAS. But I also need to restore / load from database and have the old ID back.
<Yorlik> Maybe I should just use Lua scripts - after all Lua also is nice for DSLs
aserio has joined #ste||ar
aserio has quit [Ping timeout: 250 seconds]
<Yorlik> unresolved external symbol "public: static int __cdecl hpx::traits::component_type_database --> Which compoenent dependency would that be? And how can I figure that out on my own in the future?
jaafar_ has joined #ste||ar
jaafar has quit [Ping timeout: 276 seconds]
nikunj has joined #ste||ar
hkaiser has quit [Quit: bye]
aserio has joined #ste||ar
nikunj has quit [Remote host closed the connection]
nikunj has joined #ste||ar
aserio has quit [Quit: aserio]
hkaiser has joined #ste||ar
eschnett has joined #ste||ar
<hkaiser> parsa: yt?
<hkaiser> parsa: what could cause this: https://circleci.com/gh/STEllAR-GROUP/phylanx/29080?