logs | stats
   March 12, 2010  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[00:07:54] *** Blank101 has joined #haxe
[01:07:24] *** fponticelli has quit IRC
[01:33:49] *** MangoFusion has quit IRC
[01:34:22] *** Jan_Flanders_ has joined #haxe
[01:36:08] *** Jan_Flanders has quit IRC
[01:38:49] *** gershon has quit IRC
[02:10:26] *** Blank101 has quit IRC
[02:14:13] *** Blank101 has joined #haxe
[02:53:11] *** skatterbean has quit IRC
[03:08:05] *** TheHippo1 has joined #haxe
[03:10:00] *** TheHippo has quit IRC
[03:44:21] *** Jan_Flanders_ has quit IRC
[04:00:15] *** skatterbean has joined #haxe
[04:07:44] *** skatterbean has quit IRC
[04:08:58] *** TheHippo1 has quit IRC
[04:18:43] *** Blank101 has quit IRC
[04:22:13] *** Blank101 has joined #haxe
[04:25:21] *** Blank101 has quit IRC
[04:36:59] *** djinni has quit IRC
[04:38:33] *** skatterbean has joined #haxe
[04:49:28] *** djinni has joined #haxe
[04:56:12] *** Caseus has quit IRC
[05:05:29] *** Caseus has joined #haxe
[05:30:17] *** Aduros has quit IRC
[06:11:01] *** iain___ has quit IRC
[07:17:37] *** zproxy has joined #haxe
[07:29:38] *** Dykam_ has joined #haxe
[07:48:40] *** Dykam_ has quit IRC
[08:25:22] *** moosecrumpet has joined #haxe
[09:13:14] *** zproxy has quit IRC
[09:32:12] *** fponticelli has joined #haxe
[09:42:42] *** Dykam_ has joined #haxe
[09:46:00] *** echelog-2` has joined #haxe
[09:47:33] *** Lazygekko_ has joined #haxe
[09:47:42] *** Lazygekko_ has left #haxe
[09:50:18] *** ellis has joined #haxe
[10:00:06] *** moosecrumpet has quit IRC
[10:11:47] *** Phurl has joined #haxe
[10:11:49] <Phurl> hi all
[10:12:04] <Phurl> is there a quick start to porting as3 code to compile with haxe
[10:12:07] <Phurl> how do it do it?
[10:12:37] <Dykam_> just... do it
[10:13:08] <Dykam_> actually copy pasting and then fixing the errors works well
[10:13:14] <Phurl> i mean
[10:13:19] <Phurl> i have .as files
[10:13:24] <Phurl> how can i get them to compile
[10:13:51] <Phurl> how to pass the .as file to the compiler? it wants a class name not a file..
[10:14:18] <Phurl> is there any documentation on compiler invokation?
[10:14:42] <Dykam_> you can't compile as with the haxe compiler...
[10:14:49] <Dykam_> obviously
[10:15:41] <Phurl> ok, do you have any example makefiles
[10:15:45] <Phurl> on how to setup a project?
[10:16:08] <Dykam_> it doesn't use makefiles either
[10:16:16] <Phurl> ok
[10:16:18] <Dykam_> hmm
[10:16:24] <Phurl> dykam show me the docs
[10:16:31] <Dykam_> can't help you atm
[10:16:34] <Phurl> how do i get started to port as3 to hx
[10:16:37] <Phurl> ok
[10:16:41] <Phurl> i will find something
[10:16:41] <Dykam_> at school
[10:16:44] <Phurl> np
[10:17:00] <Dykam_> come back later
[10:17:35] <Phurl> ok
[10:17:48] <Dykam_> http://haxe.org/doc/compiler
[10:17:54] <Phurl> yes
[10:17:55] <Phurl> i see
[10:22:00] <Phurl> http://gitorious.org/mapzen-port/mapzen-port here is what i am trying to compile
[10:23:01] <Phurl> http://www.google.com/codesearch/p?hl=en#mLr1ecJhfo8/trunk/makefile&q=file:\.hx$%20haxe&d=1 here is a makefile example
[10:24:01] <Dykam_> I'll explain what todo this evening
[10:27:19] <Phurl> ok
[10:27:23] <Phurl> let me just ask you this
[10:27:32] <Phurl> will is be easy to port? or painful?
[10:27:46] <Phurl> do i need to write alot of code?
[10:27:55] <Phurl> break compatiblity
[10:29:20] <Dykam_> dunno
[10:29:26] <Phurl> ok
[10:29:31] <Phurl> i see it is not source compatible
[10:29:31] <Dykam_> didn' analyze your code yet
[10:29:44] <Phurl> package name { --> package name ; // {
[10:29:54] <Phurl> public class -> class
[10:30:02] <Dykam_> you need to learn the haXe language first really
[10:30:04] <Phurl> ok
[10:30:10] <Phurl> so it is not javascript.
[10:30:15] <Phurl> or actionscript
[10:30:22] <Phurl> but it is worth learning
[10:30:34] <Phurl> is there any open source actionscript3 compiler out there?
[10:30:39] <Dykam_> it has most similarities with AS3, learning will be easy
[10:30:40] <Phurl> that is what I am looking for
[10:30:45] <Phurl> i dont know actionscript
[10:30:46] <Dykam_> no idea
[10:30:52] <Phurl> i am a c/c++ perl etc programmer
[10:31:04] <Phurl> i just want to compile this stuff
[10:31:08] <Phurl> without using adobe
[10:32:15] <Phurl> ok
[10:32:23] <Phurl> well i just start to port it to haxe
[10:32:27] <Phurl> see how it goes
[10:35:19] *** fponticelli has quit IRC
[10:35:34] <Phurl> ok looks pretty simple
[10:35:39] <Phurl> i have gotten the first module to compile
[10:36:20] *** fponticelli has joined #haxe
[10:43:06] <Phurl>  Class not found : Number --- ?
[10:44:03] <Dykam_> Float
[10:44:37] <Dykam_> bbl, school
[10:44:56] *** Dykam_ has quit IRC
[10:45:07] <Phurl> ok
[10:47:01] <Phurl> thkxs
[10:54:01] *** fponticelli has joined #haxe
[11:03:21] *** MangoFusion has joined #haxe
[11:03:30] *** pimmhogeling has joined #haxe
[11:08:58] *** Jan_Flanders has joined #haxe
[11:15:38] *** flashingpumpkin has joined #haxe
[11:23:54] <Phurl> how can i copy an object to a new one. is there a copy constructor or duplicate method?
[11:24:23] <Phurl> Reflect.copy(objecT?);
[11:24:23] <fponticelli> nops ... you have to create your own clone method
[11:25:05] <pimmhogeling> Yes, I'm not sure how a universal clone/copy method would work
[11:25:09] <Phurl> reflect copy seems to work
[11:25:13] <fponticelli> with Reflect you can try to create an empty instance and iterate on the source object fields to copy values ... but you will need to handle nested objected and references
[11:25:44] <Phurl> ok
[11:26:05] <Phurl> well i have this code here: 	_clonedEvent = new MouseEvent(e)
[11:26:54] <fponticelli> Reflect.copy does what I said but it is not recursive and the destination object is always an anonymous object
[11:27:16] <Phurl> ok
[11:27:25] <Phurl> thanks!
[11:27:29] <pimmhogeling> But the Event class has a clone method anyways
[11:27:40] <pimmhogeling> Why not do _clonedEvent = e.clone(); ?
[11:27:49] <Phurl> cause i dont see that in the api
[11:28:08] <pimmhogeling> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/events/Event.html#clone()
[11:28:13] <Phurl> http://haxe.org/api/flash9/events/mouseevent?lang=en here
[11:28:58] <pimmhogeling> In the first line, it says that it extends Event
[11:29:05] <Phurl> ahh
[11:29:06] <pimmhogeling> http://haxe.org/api/flash9/events/event
[11:29:13] <Phurl> thank you
[11:29:31] <pimmhogeling> No problem, just write some awesome code, OK?
[11:29:44] <pimmhogeling> As long as you're writing awesome code I'll be glad to help you
[11:30:10] <Phurl> ok
[11:30:13] <Phurl> well check this out
[11:30:22] <Phurl> http://mapzen.cloudmade.com/
[11:30:27] <Phurl> i am working on porting this
[11:30:35] <Phurl> it is pretty awsome
[11:30:51] <pimmhogeling> Wow, cool idea
[11:30:58] <Phurl> http://gitorious.org/mapzen-port/mapzen-port
[11:31:09] <Phurl> all help welcome
[11:31:15] <Phurl> in fact encouraged
[11:31:19] <fponticelli> nice ;)
[11:31:32] <Phurl> i want to get google summer of code help
[11:31:34] <Phurl> for that as well
[11:31:41] <pimmhogeling> You could ask the mailing list, too
[11:31:48] <Phurl> and to merge the work with the new openstreetmap potlach2 work
[11:32:03] <Phurl> but mapzen is better imho
[11:32:11] <Phurl> so start with that and go from there
[12:12:43] <Phurl> here is my post
[12:13:07] <Phurl> http://osmopenlayers.blogspot.com/2010/03/start-of-port-of-mapzen-to-haxe.html
[12:13:16] <Phurl> feel free to share it
[12:29:58] <Jan_Flanders> The comparison is against AS2. Some of it is still true for AS3 but additional info can be found here:http://haxe.org/doc/start/flash/as3migration/part1 and something similar here: http://twelvestone.com/forum_thread/view/41059
[12:30:13] <Jan_Flanders> The comparison is against AS2. Some of it is still true for AS3 but additional info can be found here: http://haxe.org/doc/start/flash/as3migration/part1 and something similar here: http://twelvestone.com/forum_thread/view/41059
[12:30:23] <Jan_Flanders> link didn't work. :)
[12:49:02] *** gershon has joined #haxe
[12:56:47] *** Lazygekko_ has joined #haxe
[13:10:14] *** Jan_Flanders has quit IRC
[13:13:09] <Phurl> hey
[13:13:30] <Phurl> i have problems with some as3 syntax
[13:13:38] <Phurl> default values
[13:14:39] <Phurl> get attribute
[13:14:40] <Phurl> for each
[13:14:45] <Phurl> properties
[13:15:53] *** BjornW has joined #haxe
[13:17:05] <gershon> Phurl: can you better explain
[13:17:07] <gershon> ?
[13:17:10] <Phurl> sure,
[13:17:15] <Phurl> 	for each (var node:Node in nodes) {
[13:17:31] <Phurl> local CONFIG classes
[13:17:42] <gershon> hmm... so in case an attribute is missing you want a default value?
[13:18:48] <gershon> this one's for Dynamic objects http://code.google.com/p/haxegui/source/browse/trunk/haxegui/utils/Opts.hx
[13:20:32] <Phurl> let me show you the code
[13:21:07] <gershon> cool, also consider using haxe.xml.Fast
[13:21:20] <Phurl> http://gitorious.org/mapzen-port/mapzen-port/blobs/master/src/com/cloudmade/mappingtool/model/OSMProxy.hx
[13:21:39] <Phurl> http://gitorious.org/mapzen-port/mapzen-port/blobs/master/src/com/cloudmade/mappingtool/model/OSMProxy.hx#line38
[13:21:45] <Phurl> that is some attribute
[13:21:49] <Phurl>  [Event(name="save", type="com.cloudmade.mappingtool.events.OSMProxyResultEvent")]
[13:21:58] <Phurl> http://gitorious.org/mapzen-port/mapzen-port/blobs/master/src/com/cloudmade/mappingtool/model/OSMProxy.hx#line69
[13:22:01] <Phurl> here a default value
[13:22:05] <Phurl>  private var createdWays:Array = new Array();
[13:22:51] <Phurl> well that is easy, just make a constructor
[13:22:54] <Phurl> but this, what is this :
[13:22:55] <Phurl> http://gitorious.org/mapzen-port/mapzen-port/blobs/master/src/com/cloudmade/mappingtool/model/OSMProxy.hx#line116
[13:23:04] <Phurl> CONFIG::local {var bytes:ByteArray = new LOCAL_MAP();
[13:23:59] <gershon> well, the Array is pretty simple, this will do http://code.google.com/p/haxegui/source/browse/trunk/haxegui/utils/Opts.hx#57
[13:24:50] <gershon> using Type.resolveClass("com.cloudmade.mappingtool.events.OSMProxyResultEvent")
[13:26:32] <Phurl> what does that mean?
[13:27:29] *** Lazygekko_ has quit IRC
[13:27:33] <gershon> the returned Class<Dynamic> can be used to construct a new instance
[13:28:03] <Phurl> where should I use that?
[13:28:11] <gershon> Type.createInstance
[13:28:15] <Phurl> let me see
[13:28:28] <Phurl> but there is no code in that file
[13:28:33] <Phurl> in my file
[13:28:38] <Phurl> with createinstance
[13:28:59] <Phurl> i can just make a constructor, no?
[13:29:08] <Phurl> with the default values set in there
[13:29:25] <gershon> createInstance takes param to pass to constructor
[13:30:08] <gershon> an Array<Dynamic>, so actually variadic
[13:31:24] <Phurl> yes, ok
[13:31:30] <Phurl> and where do you suggest me to apply this to?
[13:31:42] <Phurl> 	nodeXml.@id = node.id;
[13:31:42] <Phurl>  what do I do with that?
[13:31:50] <Phurl> it is setting some xml attributes
[13:31:53] <gershon> i suppose you are parsing xml, can you show that code?
[13:33:13] <gershon> here's an example of using that Opts class with xml, http://code.google.com/p/haxegui/source/browse/trunk/haxegui/controls/Button.hx#131
[13:33:13] <Phurl> http://gitorious.org/mapzen-port/mapzen-port/blobs/master/src/com/cloudmade/mappingtool/model/OSMProxy.hx#line187
[13:33:17] <Phurl> producing xml
[13:33:28] *** TheHippo has joined #haxe
[13:33:34] *** fponticelli has quit IRC
[13:33:43] <Phurl> maybe .set("attribute",value)
[13:35:11] <gershon> okay... now what? you want to load that xml and make instances?
[13:35:26] <Phurl> it is producing xml to send to server
[13:35:57] <gershon> ok
[13:36:36] *** Lazygekko_ has joined #haxe
[13:37:54] <gershon> so does that xml need default values?
[13:38:02] *** TheHippo has quit IRC
[13:38:24] <gershon> in case node.field is null?
[13:38:53] *** TheHippo has joined #haxe
[13:42:09] *** Lazygekko_ has quit IRC
[13:43:01] <Phurl> no
[13:43:06] <Phurl> it will have values
[13:43:13] <Phurl> those are important fields
[13:43:23] <Phurl> ok set compiles
[13:43:31] <Phurl> let me check in what i have so far.
[13:43:39] <Phurl> ok i have to run. thank you for you help
[13:46:37] *** MangoFusion has quit IRC
[13:48:21] <Phurl> actually
[13:48:25] <Phurl> i wont got out
[13:48:56] *** Jan_Flanders has joined #haxe
[13:49:48] *** MangoFusion has joined #haxe
[13:49:54] <Phurl> god there are alot of  @tags
[13:49:56] <Phurl> int he code
[13:53:12] <Phurl> do i have to rewrite all of that?
[13:54:59] <Phurl> i guess so
[13:55:29] *** TheHippo has quit IRC
[13:55:43] *** BjornW_ has joined #haxe
[13:57:06] *** TheHippo has joined #haxe
[14:36:56] <Phurl> watching haxe talk  24c3-2281-en-haxe-COMPATIBLE.mp4 http://video.google.com/videoplay?docid=4962451727046313380&ei=-EOaS62MJ5nk2gLhyuD3DA&q=haxe&hl=en&emb=1#
[14:40:34] *** iain__ has joined #haxe
[14:53:48] *** pimmhogeling has quit IRC
[15:12:50] *** BjornW_ has quit IRC
[15:13:47] *** BjornW has quit IRC
[15:17:57] <Phurl> mx.collections.ArrayList what to use?
[15:17:59] <Phurl> instead
[15:27:27] <Jan_Flanders> Xml.elements() ?
[15:27:34] <Jan_Flanders> List<Xml>
[15:27:50] <Jan_Flanders> ArrayList :D ah ok
[15:28:05] * Dykam is back
[15:28:18] <Dykam> hmmpf, looks like a big chunk of stuff is missing
[15:28:24] <Dykam> *log chunk
[15:29:18] *** pimmhogeling has joined #haxe
[15:30:47] *** BjornW_ has joined #haxe
[15:32:21] *** BjornW has joined #haxe
[15:37:17] *** BjornW has quit IRC
[15:37:18] *** pimmhogeling has quit IRC
[15:37:18] *** BjornW_ has quit IRC
[15:39:16] <Phurl> It is a set of tags for an object
[15:39:26] <Phurl> really they could be stored in an anonymous object
[15:39:37] <Phurl> and just use the native propertly lists that would be faster, no?
[15:44:17] <Dykam> Phurl, did you progress?
[15:47:36] *** Blank101 has joined #haxe
[15:49:16] *** TheHippo1 has joined #haxe
[15:49:45] *** slaskis has joined #haxe
[15:51:47] *** TheHippo has quit IRC
[15:52:59] *** BjornW has joined #haxe
[15:53:19] <Phurl> Dykam, yes some
[15:53:26] <Phurl> i am making progress.
[15:53:41] <Phurl> i feel confident that after some years I will be finished ;)
[15:53:44] <Phurl> lol
[15:53:49] <Dykam> lol
[15:54:00] <Dykam> but you know at least how to work with haXe now :P
[15:54:12] <Dykam> porting is generally straightforward
[15:54:38] <Dykam> as the API is the same
[15:56:23] *** BjornW_ has joined #haxe
[16:03:44] *** BjornW has quit IRC
[16:04:48] *** TheHippo has joined #haxe
[16:05:37] *** BjornW_ has quit IRC
[16:07:06] *** fponticelli has joined #haxe
[16:07:23] *** TheHippo1 has quit IRC
[16:08:21] *** gershon has quit IRC
[16:09:15] *** pimmhogeling has joined #haxe
[16:14:47] <Phurl> yes Dykam
[16:14:50] <Phurl> i have made progress
[16:14:54] <Phurl> have 1 file compiled
[16:15:09] <Phurl> and now i am going to port the important classes from bottom up
[16:15:15] <Phurl> i made a blog post
[16:15:28] <Phurl> http://osmopenlayers.blogspot.com/2010/03/start-of-port-of-mapzen-to-haxe.html
[16:15:35] <Phurl> i look forward to spending some time learning this
[16:18:25] <Dykam> Phurl, how many LoC is mapzen?
[16:18:32] <Phurl> lets see
[16:18:51] <Dykam> also, a big chunk of the porting may be possible to do with properly formed regex replaces :P
[16:19:54] <Phurl> http://gitorious.org/mapzen-port/mapzen-port
[16:20:04] <Phurl> let me see of an easy way to count them
[16:20:07] <Phurl> ahh i know
[16:20:28] <Phurl> find -name \*.hx -exec cat {} \;| wc
[16:20:28] <Phurl>   20552   50361  681036
[16:20:34] <Phurl> 20k
[16:20:45] <Dykam> ah
[16:34:20] <e-cat> showin' off those 1337 unix skills? wc -l *.hx would've work
[16:34:27] <e-cat> *worked
[16:39:51] *** kiroukou has joined #haxe
[16:40:43] <Phurl> e-cat, is is a big dir tree
[16:42:01] <Phurl> i guess i could pass a file list
[16:42:17] <Phurl> find -name \*.hx | xargs wc
[16:42:22] <Phurl> that works as well
[16:51:17] *** iain__ has quit IRC
[16:55:27] <Phurl> omg
[16:56:08] <Phurl> what do I do about flex mx:ArrayList?
[16:58:53] <Dykam> erm
[16:59:35] <Dykam> noidea, but an array would fit. but the api may be different
[16:59:48] <Dykam> maybe ArrayList is in the haXe api
[16:59:53] <Phurl> k thanks
[17:02:50] <Phurl> Hash<T> is more what I want, it hinkg
[17:03:00] <Phurl> i have been searching
[17:04:45] *** iain__ has joined #haxe
[17:10:54] *** iain__ has quit IRC
[17:15:57] *** ellis has quit IRC
[17:17:30] *** MangoFusion has quit IRC
[17:22:44] *** slaskis has quit IRC
[17:23:10] *** iain__ has joined #haxe
[17:49:32] *** skatterbean has quit IRC
[17:57:38] *** iain__ has quit IRC
[18:05:59] *** Jan_Flanders has quit IRC
[18:11:20] *** iain__ has joined #haxe
[18:13:32] *** MangoFusion has joined #haxe
[18:19:58] *** Jan_Flanders has joined #haxe
[18:23:53] <Phurl> i have some code like this 	xml.(  .... )
[18:24:03] <Phurl> from as3,
[18:25:00] *** skatterbean has joined #haxe
[18:32:54] <Phurl> http://pastebin.com/UL8HhFS0 here is the original function
[18:33:22] <Phurl> i am trying to translate that to haxe, what does this xml.() do, create a node?
[18:35:06] <Phurl> it must be some type of xpath
[18:35:41] <Phurl> http://www.darronschall.com/weblog/2006/02/e4x-selecting-nodes-that-contain-a-specific-attribute-with-predicate-filtering.cfm
[18:35:50] <Phurl> http://www.ecma-international.org/publications/standards/Ecma-357.htm
[18:35:55] <Phurl> that is what it is
[18:36:42] <Phurl> http://haxe.org/forum/thread/1144 here is the thread
[18:36:43] <Phurl> great
[19:16:41] <grumpytoad> http://code.google.com/p/away3d/source/browse/trunk/haxe/Away3DLite/debug/away3dlite/haxeutils/xml/E4X.hx?spec=svn2146&r=2146
[19:20:57] *** slaskis has joined #haxe
[19:22:27] <Phurl> lets see
[19:26:50] *** flashingpumpkin has quit IRC
[19:31:29] *** kiroukou has quit IRC
[19:32:29] <Phurl> thank you grumpytoad!!!
[19:36:01] <grumpytoad> np
[19:47:51] *** Jan_Flanders has quit IRC
[19:50:33] *** iain__ has quit IRC
[19:50:36] <Phurl> hey, so i just was told that ming might do the trickt
[19:50:53] <Phurl> do you know anything about that?
[20:03:10] *** iain__ has joined #haxe
[20:13:06] *** Aduros has joined #haxe
[20:18:23] *** hhoelzer1 has joined #haxe
[20:18:39] *** hhoelzer1 has left #haxe
[20:25:03] *** iain__ has quit IRC
[20:38:36] *** iain__ has joined #haxe
[20:39:44] *** C0ld_Z3r0 has joined #haxe
[20:39:48] <C0ld_Z3r0> hey guys
[20:41:06] <grumpytoad> hello
[20:41:17] <C0ld_Z3r0> Where are you from?
[20:41:33] <Dykam> Does it matter ;)
[20:41:45] <grumpytoad> That's a loaded question
[20:42:12] <grumpytoad> you ?
[20:42:21] <C0ld_Z3r0> Sry but my english is not really good -.- I am from Germany and the School System is not the best :D
[20:43:04] <grumpytoad> nice ;-) i live in germany currently too
[20:43:27] <C0ld_Z3r0> lol
[20:44:34] *** slaskis has quit IRC
[20:45:01] <C0ld_Z3r0> I live in the Area of the old german democratic republic :D
[20:45:27] <Phurl> C0ld_Z3r0, i like in germany as well
[20:45:33] <Phurl> and I dont think the schools are the best
[20:45:38] <Phurl> sorry
[20:46:08] <grumpytoad> what's wrong with them ?
[20:46:30] <Phurl> well, i find that they dont teach kids computers early
[20:47:33] <C0ld_Z3r0> Most of the schools haven't the money for the technical equipement
[20:48:06] <grumpytoad> i think that's a general problem around the world
[20:48:38] <grumpytoad> in england i didn't have internet at uni
[20:48:51] <Dykam> Wow... lots of Germans here... Though we Dutchies are relatively with more
[20:49:27] <Dykam> Hmm, my high school has like 100+ new computers, all quadcores
[20:49:36] <C0ld_Z3r0> We march in this Channel^^
[20:49:42] <Dykam> (waste of money nevertheless... they better improve the network structure)
[20:49:55] <Dykam> though there is now school wide wifi coverage~
[20:51:05] <grumpytoad> i guess the dutch get a lot of subsidies from the gov
[20:51:17] <Dykam> Nah
[20:51:38] <Dykam> Though I heared our schools budget this year for IT is like 720.000~
[20:51:39] <grumpytoad> holland is not left wing ?
[20:51:45] <Dykam> though for multiple loctions
[20:51:46] <Dykam> yes, it is
[20:52:06] <Dykam> (or it was... is swinging around atm because of some stupid extreme right wing populistic guy)
[20:52:12] <C0ld_Z3r0> Do anyone of you like music? House music?
[20:52:35] <Dykam> atm trance
[20:52:49] <Dykam> I very much like http://listen.grooveshark.com/#/s/Nearly+Home/HUxol
[20:53:11] * grumpytoad is a goa head
[20:54:14] <grumpytoad> mmmh chateau fongrenier... excellent wine
[20:54:23] <C0ld_Z3r0> I am new in this area, but today I find a new program "Traktor Pro" This is my first test, listen: http://soundcloud.com/hanibalbecter/dj-gott-destruction
[20:54:24] * Dykam is a sharp head... a C# head
[20:54:37] <Dykam> ooh, custom mixes
[20:54:46] <Dykam> let's see
[20:55:11] <Dykam> it's a bit chaotic at start... let it rest...
[20:55:25] <Dykam> the paces of the back beat and the vocals differ...
[20:55:32] <C0ld_Z3r0> yes I must work on it
[20:55:36] <Dykam> and are out of rithm at some points
[20:55:41] <Dykam> or at too many points
[20:56:29] <C0ld_Z3r0> mhm thx for critical opinion
[20:56:58] <Dykam> np :P
[20:57:16] <Dykam> I commented on tracks of some friend of mine too
[20:57:46] <C0ld_Z3r0> ah nice
[20:58:05] <Dykam> and on tracks from another friend, who composed game music for some project we are doing
[20:59:10] <C0ld_Z3r0> sounds interessting...
[20:59:30] <Dykam> yah
[20:59:42] <Dykam> he is really critical already, so judging his stuff is fairly hard
[21:00:02] <C0ld_Z3r0> yes...
[21:00:37] <Dykam> so sorry if I may sound a little harsh :P
[21:01:03] <C0ld_Z3r0> whats harsh? can you paraphrase it?^^
[21:01:43] <Dykam> euhm... rude
[21:01:52] <Dykam> unfounded talk
[21:02:17] <C0ld_Z3r0> ^^
[21:03:03] <Dykam> sidenote, if you say you are still learning English... may I know what your age somewhat is
[21:03:06] *** iain__ has quit IRC
[21:04:08] <Dykam> oops, missed a part
[21:04:12] <Dykam> connection broke
[21:04:14] <Dykam> C0ld_Z3r0, did you answer?
[21:04:31] <C0ld_Z3r0> I am learning english since 2004 and french since 2006 and at the first time I was really good in both, but than...-.-
[21:04:42] <Dykam> *then
[21:04:51] <C0ld_Z3r0> you see^^
[21:05:06] <Dykam> But you do mind putting your age? ;)
[21:05:18] <C0ld_Z3r0> I am 17...
[21:05:25] <Dykam> Kay, then we are equals
[21:05:34] <grumpytoad> is "-.-" italian for "basta la pasta" ?
[21:05:41] <Dykam> lol
[21:05:46] <C0ld_Z3r0> xD
[21:06:16] <Dykam> C0ld_Z3r0, sidenote, your English really gets a boost if you hang around on the interwebz, and especially chat
[21:06:31] <Dykam> s/if/when
[21:07:13] * Dykam 's English is far from perfect too
[21:07:15] <C0ld_Z3r0> The problem is, i don't understand much of this, what other people write...in english....
[21:07:28] <Dykam> I don't believe that.
[21:08:08] <C0ld_Z3r0> my grammatical german is bad, but my writing in it is very good :D mysterious^^
[21:08:41] <Dykam> Huh, you mean, you suck at your own language too?
[21:08:42] <Dykam> :P
[21:09:12] <C0ld_Z3r0> in grammar? yes-.-
[21:09:17] <Dykam> Baww
[21:09:38] <C0ld_Z3r0> therms like subject, object, adverb, nouns etc are not music in my ears :D
[21:09:58] <Dykam> lol, agreed
[21:10:34] <Dykam> You have a shitload of definite articles
[21:10:51] <C0ld_Z3r0> If I must read the word "Adverbialbestimmung - Kausalbestimmung - Konzessivbestimmung" I put my head on the board :D
[21:11:09] * Dykam puts that through google translate, wait a sec
[21:11:39] <Dykam> he doesn't know `Konzessivbestimmung` too
[21:12:01] <C0ld_Z3r0> in german there is no gerund, thats not easy for persons, who can't write englisch
[21:12:34] <C0ld_Z3r0> Konzessivbestimmung is a special of Adverbialbestimmung
[21:12:48] <Dykam> we don't have a gerrund too
[21:12:55] <Dykam> *gerund
[21:13:21] <C0ld_Z3r0> really? Thats good :)
[21:13:22] <Dykam> oh, it appears we hve some sort of
[21:13:33] <Dykam> though not used that much anymore
[21:14:35] <C0ld_Z3r0> I now use translito.com times in order to be able to express myself better.
[21:14:57] <Dykam> I like google translate better
[21:14:58] <Dykam> ajax
[21:15:03] <Dykam> translate as you type etc
[21:15:54] *** iain__ has joined #haxe
[21:15:59] <C0ld_Z3r0> The grammar of a language is usually the hardest. Learning vocabulary is all well and good, but then it knows no sentence structure.
[21:16:10] <Dykam> cool
[21:16:16] <C0ld_Z3r0> I don't like Google Inc. :D
[21:16:20] <Dykam> google translate and tranlito translate exactly the same
[21:16:35] <C0ld_Z3r0> :D
[21:16:48] <Dykam> <C0ld_Z3r0> The grammar of a language is usually the hardest. Learning vocabulary is all well and good, but then it knows no sentence structure. - Heh, that sentence had some funny errors
[21:16:59] <Dykam> "then it knows no sentence structure"
[21:17:02] <Dykam> what is `it` here?
[21:17:18] <C0ld_Z3r0> it is you^^
[21:17:20] <Dykam> If you refer to a person... `it` can't be used to refer to one
[21:17:41] <C0ld_Z3r0> whats the undefinied personal article?
[21:17:47] <Dykam> no idea
[21:17:53] <Dykam> I use you or he
[21:17:54] <Dykam> also, instead of `knowns no`, use `does not know`
[21:17:55] <C0ld_Z3r0> in german there is a word like "man"
[21:18:06] <C0ld_Z3r0> ah
[21:18:13] <Dykam> yah, in dutch we can use "men"
[21:18:15] <Dykam> :P
[21:18:23] <Dykam> prolly means the same as your `man`
[21:18:48] <C0ld_Z3r0> no, not Man like the sex, I say the german word "man" its a personal article
[21:18:57] <Dykam> i know I know
[21:19:02] <C0ld_Z3r0> ah
[21:19:03] <Dykam> the dutch men means the same as the german man
[21:19:04] <C0ld_Z3r0> ok
[21:19:06] <Dykam> I guess
[21:19:10] <C0ld_Z3r0> lol
[21:19:13] <Dykam> C0ld_Z3r0, our sentence structure has many similarities, I could easily spot why you used "knows no`
[21:19:56] <C0ld_Z3r0> I don't know^^
[21:20:27] <C0ld_Z3r0> different languages are hard to learn...
[21:20:41] <C0ld_Z3r0> You must have a talent for it
[21:20:44] <Dykam> It's because it is the literal translation of "doesn't know" in German
[21:20:49] * Dykam doesn't have a talent :P
[21:20:57] <Dykam> appears you are a science guy too :P
[21:21:21] <C0ld_Z3r0> yes^^
[21:21:33] <Dykam> You could be a clone :3
[21:21:47] <C0ld_Z3r0> :D
[21:21:48] <Dykam> Alex Marcus it seems
[21:22:28] <Dykam> C0ld_Z3r0, am I right? :p
[21:22:42] <C0ld_Z3r0> ???
[21:22:45] <Dykam> hmm
[21:22:48] <C0ld_Z3r0> right with what?
[21:22:52] <Dykam> ya name
[21:23:00] <C0ld_Z3r0> no^^
[21:23:02] <Dykam> if not, your whois data is totally wrong~
[21:23:05] <C0ld_Z3r0> its a synonyme
[21:23:06] <Dykam> :P
[21:23:11] <C0ld_Z3r0> yes
[21:23:14] <Dykam> :P
[21:23:28] <C0ld_Z3r0> The IRC is not proof^^
[21:23:36] <Dykam> no
[21:23:47] <Dykam> But I can show you some other stuff I know of you
[21:23:54] <Dykam> wait, will take a minute
[21:23:59] <C0ld_Z3r0> I am interested :D
[21:24:03] <C0ld_Z3r0> ok
[21:25:13] <Dykam> you are from Munich or close to
[21:25:35] <C0ld_Z3r0> no near Leipzig
[21:25:47] <Dykam> cool, the the tool failed
[21:25:54] <C0ld_Z3r0> ^^
[21:26:02] <Dykam> freenode is tricky anyway
[21:26:33] <C0ld_Z3r0> The computer is just clever like the user^^
[21:27:17] <Dykam> lol
[21:27:21] <Dykam> bbl, gonna watch tv
[21:27:29] <Dykam> I m hang around here regularly
[21:27:44] <C0ld_Z3r0> ah ok
[21:27:56] <C0ld_Z3r0> CU
[21:30:15] *** C0ld_Z3r0 has left #haxe
[21:32:33] <Phurl> Dykam, I am not german. just live here
[21:35:26] *** iain__ has quit IRC
[21:43:55] *** gareth_0 has joined #haxe
[21:47:36] *** iain__ has joined #haxe
[21:49:09] <Dykam> hey, cold zero went away
[21:49:10] <Dykam> Phurl, ah
[21:51:17] <Phurl> yeah
[21:51:22] <Phurl> so this ming toolkit
[21:51:30] <Phurl> can it compile actionscript?
[21:51:36] <Phurl> i tried the swf tools
[21:51:41] <Phurl> but it also failed on this code
[21:52:16] <Dykam> minggw?
[21:52:23] <Phurl> no
[21:52:24] <Phurl> http://www.libming.org/WhatsIncluded
[21:52:30] <Phurl> http://www.openstreetmap.org/user/h4ck3rm1k3/diary/9868
[21:52:37] <Phurl> Comment from Richard on 12 March 2010 at 18:46
[21:52:37] <Phurl> Um, Potlatch is already compiled with Ming. Which is open source. "All without any Adobe licences."
[21:52:40] <Dykam> don't know that
[22:01:38] <grumpytoad> ming is older than haxe (or mtasc for that matter)
[22:01:59] <grumpytoad> it seems like it is being maintained again
[22:03:45] <Phurl> yes
[22:03:51] <Phurl> ok
[22:04:14] <Phurl> well in any case, the swf as3 compiler also does not work directly on that code
[22:04:26] <Phurl> i think i will make some perl scripts to do the code transforms
[22:04:32] <Phurl> to automate what i have done
[22:04:44] <Phurl> or would it be easier to hack haxes
[22:04:53] <Phurl> haxe to swallow this code?
[22:05:07] <grumpytoad> what code ?
[22:06:06] <grumpytoad> openstreetmap ?
[22:06:38] <Phurl> the mapzen
[22:06:40] <Phurl> code
[22:06:46] <Phurl> is is indirectly osm
[22:06:47] <Phurl> yes
[22:06:58] <Phurl> 20k of as3 code
[22:07:05] <Phurl> with some changes it compiles
[22:07:13] <grumpytoad> how many LOC ?
[22:07:17] <Phurl> 20k
[22:07:36] <grumpytoad> that doesn't sound like much
[22:07:41] <Phurl> it would be a great win
[22:07:45] <Phurl> to get that to compile to c
[22:07:54] <Phurl> the docs say i can produce a c program?
[22:07:57] <Phurl> from it?
[22:08:03] <Phurl> i dont need flash?
[22:08:06] <Phurl> is that right?
[22:08:27] <grumpytoad> yes.. sort of
[22:08:40] <Phurl> well, i dont need flash to use the program?
[22:08:48] <Phurl> no adobe to use the client app?
[22:08:54] <Phurl> that is the important part
[22:09:02] <Phurl> i want an osm editor with no flash plugin
[22:09:04] <grumpytoad> do you want to run it in a browser or on the desktop ?
[22:09:08] <Phurl> in the browser
[22:09:17] <Phurl> and sure, if it runs on the desktop fine
[22:09:20] <grumpytoad> then no, c++ is native code
[22:09:32] <Phurl> sure i can make a native firefox plugin
[22:09:43] <Phurl> but ok
[22:09:58] <Phurl> what does work?
[22:09:58] <grumpytoad> yes you can do a plugin if you know how to
[22:10:13] <Phurl> ok, but what would work on all platforms
[22:10:17] <Phurl> java script?
[22:10:31] <Phurl> produce a js and run that?
[22:10:36] <grumpytoad> not sure what you are trying to achieve sorry
[22:10:41] <Phurl> ok
[22:11:08] <grumpytoad> you can code using the cross-target haxe API, that would run on all platforms
[22:11:08] <Phurl> http://mapzen.cloudmade.com/
[22:11:19] <Phurl> i have that app, it runs with only flash
[22:11:26] <grumpytoad> you can use Neash/NME to run AVM2-style API on most platforms
[22:11:29] <Phurl> want to run it some how without adobe
[22:11:38] <Phurl> using only free software
[22:11:43] <Phurl> if possible
[22:11:49] <Phurl> i have been betting on haxe
[22:11:53] <Phurl> today
[22:11:55] <grumpytoad> but if you are serious, you should design your API to have an abstracted rendering API
[22:11:57] <Phurl> dont dissappping me
[22:12:03] <Phurl> let me see
[22:12:14] <Phurl> the code seems pretty clean
[22:12:21] <Phurl> and it renders only simple things
[22:12:23] <Phurl> lots of vectors
[22:12:32] <Phurl> a few rasters
[22:12:49] <Phurl> grumpytoad, but i think that with some work it could work....
[22:12:50] <Phurl> right?
[22:13:02] <Phurl> or am i going to have to shoot myself?
[22:13:02] <grumpytoad> yes, it would work with some work
[22:13:05] <Phurl> ok
[22:13:07] <Phurl> good
[22:13:11] * Phurl puts the gun down
[22:13:18] <grumpytoad> mama mia
[22:13:20] <Phurl> hahah
[22:13:27] <grumpytoad> phew
[22:13:31] <Phurl> ok
[22:13:34] <grumpytoad> disaster avoided
[22:13:45] <Phurl> maybe i can get this other tool to emit haxes
[22:13:58] <Phurl> the  as3compile
[22:14:03] <grumpytoad> mapzen is very AVM2 based
[22:14:13] <Phurl> it parses more of as3
[22:14:21] * Phurl googles for AVM2
[22:14:34] <Phurl> ahh the vm
[22:14:40] <Phurl> is that good or bad
[22:14:41] <Phurl> ?
[22:15:10] <grumpytoad> haXe has several different code segments (APIs)
[22:15:22] <grumpytoad> you cannot run some code on different platforms
[22:15:50] <Phurl> i see
[22:15:54] <grumpytoad> so you cannot say "new Sprite()" and expect that to work on javascript or CPP
[22:15:59] <Phurl> yes
[22:16:09] <Phurl> i understand taht
[22:16:21] <grumpytoad> but some parts of haXe are cross-platform, and will run everywhere
[22:16:25] <Phurl> good
[22:16:40] <Phurl> well my first goal is to port the OSM specific stuff
[22:16:44] <Phurl> that talks to osm
[22:16:54] <Phurl> like downloading  a map
[22:17:04] <Phurl> and creating the map model
[22:17:05] <Phurl> etc
[22:17:11] *** fponticelli has quit IRC
[22:17:13] <Phurl> that is all platform independant
[22:17:25] <Phurl> then i guess could have a very simple app that does that
[22:17:32] <Phurl> and lists the streets or something
[22:17:37] <Phurl> in a list box
[22:17:46] <grumpytoad> as soon as you see "import flash.something" in the header , it is no longer cross-platform
[22:17:50] <Phurl> that would be enought to get more people interesting
[22:17:53] <Phurl> ahh
[22:17:59] <Phurl> there are import mx
[22:18:02] <Phurl> flex stuff
[22:18:02] <Phurl> etc
[22:18:21] <Phurl> ok grumpytoad and i can just RTFM to find all this out?
[22:18:22] <grumpytoad> you can use a wrapper library like Neash and NME to abstract the code to another platform
[22:18:34] <Phurl> ok
[22:18:44] <Phurl> this sounds like a whole world to itself
[22:18:47] <Phurl> omg
[22:18:59] <grumpytoad> umm... there is an RTFM for each platform on the wiki
[22:19:03] <Phurl> ok grumpytoad thank you for your mentorshop
[22:19:11] <Phurl> i will do some reading as I go
[22:19:19] <Phurl> thanks, and I will keep working on it.
[22:19:40] <Phurl> but my last question, about this swftools
[22:19:49] <grumpytoad> but learning to do true cross-platform code is a little difficult on the first go
[22:19:54] <Phurl> you think that it would make sense to make a as32haxe tool
[22:20:06] <Phurl> instead of just manually hacking the code?
[22:20:22] <grumpytoad> some people have tried (myself included)
[22:20:23] <Phurl> i could hack into the existing parser for as3 in the swf tools
[22:20:31] <Phurl> and have it emit a new code
[22:20:48] <Phurl> have you tried to reuse that code? or anyone
[22:20:57] <grumpytoad> the latest effort is fairly ok I think
[22:21:03] <grumpytoad> need to get the link tho
[22:21:15] <Phurl> swftools as3compile
[22:21:28] <Phurl> http://wiki.swftools.org/index.php/As3compile
[22:21:48] <Phurl> does it make sense to try and hijack that code
[22:21:54] <Phurl> or is there a better way?
[22:22:28] <Phurl> i mean the simple stuff like Object-> Dynamic i can do in perl
[22:22:29] <Phurl> easy
[22:22:31] <grumpytoad> does that create haxe code ?
[22:22:34] <Phurl> no
[22:22:39] <Phurl> but i can just insert print statemetns
[22:22:44] <Phurl> in the compiler
[22:22:45] <Phurl> to do that
[22:23:05] <Phurl> or reuse the grammer
[22:23:11] <Phurl> i mean 99% of the code is the same
[22:23:18] <Phurl> there are only small differences i can see
[22:24:01] <grumpytoad> http://github.com/geekrelief/as3tohaxe
[22:24:51] <grumpytoad> though I would recommend doing it by hand
[22:25:19] *** ellis has joined #haxe
[22:25:33] <Phurl> wow
[22:25:37] <Phurl> ok
[22:25:42] <Phurl> at least it is a start
[22:25:51] <Phurl> ok  i have something to look into tomorrow
[22:25:57] <Phurl> thanks again grumpytoad
[22:26:01] <grumpytoad> np
[22:26:11] <Phurl> it makes a real difference to have nice people like you to answer questions
[22:26:28] <grumpytoad> lots of nice ppl here on #haxe
[22:26:32] <Phurl> i have learned more from irc than in school
[22:27:16] <Dykam> ;)
[22:28:20] <gareth_0> its because they are 1337 haxers
[22:30:05] *** iain__ has quit IRC
[22:31:28] <Dykam> gareth_0, you are talking about yourself, right? :p
[22:35:28] <gareth_0> no im talking about you :p
[22:35:52] <gareth_0> its not an insult :p
[22:36:52] <Dykam> I know I know :p
[22:37:11] <Dykam> was reflecting the praising back to you :P
[22:42:58] *** iain__ has joined #haxe
[22:46:28] *** pimmhogeling has quit IRC
[22:47:59] <gareth_0> :p
[22:52:29] <Dykam> bbl, nighty nightya
[22:55:14] *** gareth_0 has quit IRC
[23:27:06] *** ellis has quit IRC
[23:41:45] *** kiroukou has joined #haxe

top