Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Peter Achberger
@Antriel
If there isn't an actual reason, it would make for a nice feature request.
Or maybe something even better. I often want to use type param when I know exactly what it will be, but making it work across types, with inlining and such... usually needs a bit of work to get it working.
pecheny
@pecheny
i guess it is not default behavior because current one allows do a lot more stuff like MyFile<"file.txt"> from cookbook
And @genericAutoBuild would be nice. But not sure if it should be in the compiler or somewhere like tink_macro
Peter Achberger
@Antriel
That could still be available. Like, take all the fields of the @:genericBuild class, and applyTypeParam on them. With whatever type you supply, not necessarily the one given to the macro.
I think there is something in the API for applying type params, but you can't really get the fields of the generic build class itself. Always ends up with hacks like having empty build class with another class sitting next to it, to be parsed for the fields.
pecheny
@pecheny
I meant like this talking about Snippet.autoBuild(). About tricks with fields i was not sure should this class exist itself or should i construct it. So me too put all fields to baseclass (and just extend it with genericBuilt).
Guess applyTypeParams() should be lo-ong multilevel switch.
Peter Achberger
@Antriel
Yeah, well, in any case it would be nice to have some more power here. :)
Benjamin Dasnois
@benjamin.dasnois_gitlab
Hello. Can anyone explain a bit about hxbit? I have networkAllow set to () -> true
however, I can create a NetworkSerializable on the client side but on the server side it will only appear as created but with "null" for all its fields. Does anyone have an idea?
Sylvio Sell
@maitag
do you already use hxbit or into choosing-phase :-) ?
Benjamin Dasnois
@benjamin.dasnois_gitlab
@maitag I already use it, why?
Actually my problem has slightly evolved... it is indeed my ownerObject that doesn't get set on the client side
Sylvio Sell
@maitag
if you find it out .. how to -> document then ? (i ' ve often heared questions about hxbit-lib last year)
Benjamin Dasnois
@benjamin.dasnois_gitlab
I think I understood
yeah the problem is that there's no doc at all :D
(virtually)
Sylvio Sell
@maitag
mhm, why not look at code->base
or use another lib ;) --> peote-net (*lol) ... no no ^^ -- > better not change a running system!
Benjamin Dasnois
@benjamin.dasnois_gitlab
well it's not really running yet
Sylvio Sell
@maitag
is it the -> message queues ?
or really serialization?
(*lol .. i mean do y have a link to code to look at -> now ;)
(~ ~ where the BUG is -> -> -> IN)
[or socket-transpiling /o\]
Benjamin Dasnois
@benjamin.dasnois_gitlab
I think it's the message queue
Sylvio Sell
@maitag
ah ok ( into peote-net msg-queueing is really unoptimized)
Whats your use for (^_^) ?
[msgqueue is default into h a x e smalltalk]
Sylvio Sell
@maitag
into peote-net-code i am also not sure to use thx ones
(i mean to -< migrate )
from hxbit i am only using the serialization spice
Benjamin Dasnois
@benjamin.dasnois_gitlab
omg I understood
Sylvio Sell
@maitag
\o/
Benjamin Dasnois
@benjamin.dasnois_gitlab
enableReplication = true must be set after values have been copied from the constructor!
function new(name:String) { this.name = name; enableReplication = true; }
Sylvio Sell
@maitag
replication -> automatisation ->
cloning versus copying
Benjamin Dasnois
@benjamin.dasnois_gitlab
I'm sorry I've got difficulties to understand you
Sylvio Sell
@maitag
oh sry (to late yesterday and i was need a nap)
Benjamin Dasnois
@benjamin.dasnois_gitlab
no worries :)
Benjamin Dasnois
@benjamin.dasnois_gitlab
@ncannasse I have the problem where the Serializer seems to complain about serialization schemas not being the same... Is there a way to know why? (in hxbit)
luketramps
@luketramps
Hi guys, haven't used haXe for a while and wanted to know, wether I can use a SWF compiled with Flash-Pro as an library in an haXe project that targets ios+android
is that possible and are there any restrictions to that use case? Thanks in advance!
Peter Achberger
@Antriel
Depends on what platform you would use for that. It would work with Air, assuming the SWF exports the classes needed properly.
OpenFL can load SWF stuff too, and export natively to many platforms, but I have no idea how good it is.
And it's Haxe for some pretty long time now. :)
Benjamin Dasnois
@benjamin.dasnois_gitlab
Hey guys. What is the oldest model of ipad the latest ios can be installed on?
Emugel
@emugel
Wikipedia is good source for that