RE: [Intaller] Speed up download

2013-09-29 Thread Frédéric THOMAS
@flex.apache.org Objet : Re: [Intaller] Speed up download On 16/09/2013 16:10, Frédéric THOMAS wrote: The thing that scare me though is the InstallApacheFlex.mxml is more than 2200 lines long Number one job might be to sort that out then... :-) Tom

RE: [Intaller] Speed up download

2013-09-29 Thread Frédéric THOMAS
[mailto:jus...@classsoftware.com] Envoyé : dimanche 29 septembre 2013 23:25 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download Hi, The installer code is reasonably straight forward. IMO there's probably not a huge reason to use a framework, I'd just try refactoring it into several

Re: [Intaller] Speed up download

2013-09-29 Thread Justin Mclean
Hi, I'd start by breaking up the MXML into components, some of the data model will fall out of that. Then try to make the new components loosely coupled with events (and event bubbling if required) and the data model will start defining itself. Thanks, Justin

RE: [Intaller] Speed up download

2013-09-29 Thread Frédéric THOMAS
 : dimanche 29 septembre 2013 23:54 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download Hi, I'd start by breaking up the MXML into components, some of the data model will fall out of that. Then try to make the new components loosely coupled with events (and event bubbling if required

Re: [Intaller] Speed up download

2013-09-29 Thread Justin Mclean
Hi, Trying to do that I hit the computeStandardButtonWidth() which involve every components Looks easy enough move computeStandardButtonWidth to it own class in the utils package and pass standardButtonWidth into each component. with text and the _langSelect which is involved in the first

RE: [Intaller] Speed up download

2013-09-29 Thread Frédéric THOMAS
: [Intaller] Speed up download Hi, Trying to do that I hit the computeStandardButtonWidth() which involve every components Looks easy enough move computeStandardButtonWidth to it own class in the utils package and pass standardButtonWidth into each component. with text and the _langSelect which

Re: [Intaller] Speed up download

2013-09-29 Thread Justin Mclean
Hi, I've mode in a good start on how to calculate the button widths, will check in shortly: - Move code to own class and simplified removing duplicate code - Removed unneeded setters and getters - Remove unneeded bindable properties, width can be set directly on the buttons - Removed custom

Re: [Intaller] Speed up download

2013-09-16 Thread Tom Chiverton
...@hotmail.com wrote: Can't we use conditional compilation ? This could help as well: https://github.com/jcward/AS3-Worker-Compat Thanks, Om Frédéric THOMAS Date: Sun, 15 Sep 2013 08:00:25 +1000 Subject: Re: [Intaller] Speed up download From: jus...@classsoftware.com To: dev@flex.apache.org

RE: [Intaller] Speed up download

2013-09-16 Thread Frédéric THOMAS
be great) -Fred -Message d'origine- De : Tom Chiverton [mailto:t...@extravision.com] Envoyé : lundi 16 septembre 2013 10:11 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download I'm not sure I see the point of using AS workers anyway. You can chunk the download on the main

Re: [Intaller] Speed up download

2013-09-16 Thread Tom Chiverton
On 16/09/2013 16:10, Frédéric THOMAS wrote: The thing that scare me though is the InstallApacheFlex.mxml is more than 2200 lines long Number one job might be to sort that out then... :-) Tom

RE: [Intaller] Speed up download

2013-09-14 Thread Frédéric THOMAS
 : Frédéric THOMAS [mailto:webdoubl...@hotmail.com] Envoyé : mercredi 4 septembre 2013 20:21 À : dev@flex.apache.org Objet : RE: [Intaller] Speed up download Another thing could be to use workers to computes md5 and parallel downloads, if no one is interested in doing, to save me time for later, I

Re: [Intaller] Speed up download

2013-09-14 Thread Erik de Bruin
://github.com/doublefx/downloadFileWorker -Fred -Message d'origine- De : Frédéric THOMAS [mailto:webdoubl...@hotmail.com javascript:;] Envoyé : mercredi 4 septembre 2013 20:21 À : dev@flex.apache.org javascript:; Objet : RE: [Intaller] Speed up download Another thing could be to use workers

Re: [Intaller] Speed up download

2013-09-14 Thread Justin Mclean
objections, I will integrate this feature to the Installer. https://github.com/doublefx/downloadFileWorker -Fred -Message d'origine- De : Frédéric THOMAS [mailto:webdoubl...@hotmail.com] Envoyé : mercredi 4 septembre 2013 20:21 À : dev@flex.apache.org Objet : RE: [Intaller] Speed

RE: [Intaller] Speed up download

2013-09-14 Thread Frédéric THOMAS
Can't we use conditional compilation ? Frédéric THOMAS Date: Sun, 15 Sep 2013 08:00:25 +1000 Subject: Re: [Intaller] Speed up download From: jus...@classsoftware.com To: dev@flex.apache.org Hi, How will we get this to work for the Linux installer? Justin On Sun, Sep 15, 2013

RE: [Intaller] Speed up download

2013-09-14 Thread OmPrakash Muppirala
On Sep 14, 2013 3:40 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: Can't we use conditional compilation ? This could help as well: https://github.com/jcward/AS3-Worker-Compat Thanks, Om Frédéric THOMAS Date: Sun, 15 Sep 2013 08:00:25 +1000 Subject: Re: [Intaller] Speed up download

RE: [Intaller] Speed up download

2013-09-14 Thread Frédéric THOMAS
Thanks, will have look at it tomorrow. Frédéric THOMAS Date: Sat, 14 Sep 2013 15:58:02 -0700 Subject: RE: [Intaller] Speed up download From: bigosma...@gmail.com To: dev@flex.apache.org On Sep 14, 2013 3:40 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: Can't we use conditional

[Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
Hi, Just turn back from twitter where I’ve seen a tweet mentioning “The Apache Flex installer is really cool; but it is taking forever to download Apache Flex SDK.” And that’s true, it takes ages, worse than that, if you do another SDK installation, it takes the same time. I never

Re: [Intaller] Speed up download

2013-09-04 Thread Erik de Bruin
In my experience the download is pretty fast... It's the MD5 check that's taking a long time. Can you check which step is taking the longest? EdB On Wed, Sep 4, 2013 at 5:16 PM, Frédéric THOMAS webdoubl...@hotmail.com wrote: Hi, Just turn back from twitter where I’ve seen a tweet

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
The install log doesn't give any info about the time, is there any other way ? -Fred -Message d'origine- De : Erik de Bruin [mailto:e...@ixsoftware.nl] Envoyé : mercredi 4 septembre 2013 17:26 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download In my experience

Re: [Intaller] Speed up download

2013-09-04 Thread Erik de Bruin
d'origine- De : Erik de Bruin [mailto:e...@ixsoftware.nl] Envoyé : mercredi 4 septembre 2013 17:26 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download In my experience the download is pretty fast... It's the MD5 check that's taking a long time. Can you check which step is taking

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
: [Intaller] Speed up download Haha, I got it, I need to be sited in from of the installer with my chrono #ILoveComputers. -Fred -Message d'origine- De : Erik de Bruin [mailto:e...@ixsoftware.nl] Envoyé : mercredi 4 septembre 2013 17:43 À : dev@flex.apache.org Objet : Re: [Intaller] Speed

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
Haha, I got it, I need to be sited in from of the installer with my chrono #ILoveComputers. -Fred -Message d'origine- De : Erik de Bruin [mailto:e...@ixsoftware.nl] Envoyé : mercredi 4 septembre 2013 17:43 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download While

RE: [Intaller] Speed up download

2013-09-04 Thread Kessler CTR Mark J
Should we allow people to pick a mirror closer to their geographical area? -Mark -Original Message- From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of OmPrakash Muppirala Sent: Wednesday, September 04, 2013 12:10 PM To: dev@flex.apache.org Subject: Re: [Intaller] Speed up

Re: [Intaller] Speed up download

2013-09-04 Thread Alex Harui
It takes a long time for me. I'm on 1.5Mb DSL. The internet isn't fast for everyone. We are soon to be only the embedded font libraries away from not needing the Adobe SDK download. But I'm seriously considering trying to find out what it would take to start a company that could be an Adobe

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
What means the old way ? -Message d'origine- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : mercredi 4 septembre 2013 18:21 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download It takes a long time for me. I'm on 1.5Mb DSL. The internet isn't fast for everyone. We

Re: [Intaller] Speed up download

2013-09-04 Thread Alex Harui
On 9/4/13 9:23 AM, Frédéric THOMAS webdoubl...@hotmail.com wrote: What means the old way ? With an AIR SDK packaged in so you don't need separate downloads unless you don't like the default AIR SDK. -Alex

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
Wouldn't this (start a company) allowed us to distribute the other artifacts we missed to create a maven repo ? -Fred -Message d'origine- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : mercredi 4 septembre 2013 18:26 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download

Re: [Intaller] Speed up download

2013-09-04 Thread Jeffry Houser
On 9/4/2013 11:25 AM, Erik de Bruin wrote: In my experience the download is pretty fast... It's the MD5 check that's taking a long time. Can you check which step is taking the longest? I'm the one who said that. I wasn't timing stuff. It took, roughly, an hour to download the SDK. The

Re: [Intaller] Speed up download

2013-09-04 Thread OmPrakash Muppirala
On Sep 4, 2013 9:05 AM, Jeffry Houser jef...@dot-com-it.com wrote: On 9/4/2013 11:25 AM, Erik de Bruin wrote: In my experience the download is pretty fast... It's the MD5 check that's taking a long time. Can you check which step is taking the longest? I'm the one who said that. I wasn't

Re: [Intaller] Speed up download

2013-09-04 Thread OmPrakash Muppirala
We are soon to be only the embedded font libraries away from not needing the Adobe SDK download. We don't download the whole Adobe SDK. We get only the jars we need. I doubt that shaving that download off would benefit us too much. Thanks, Om

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
Good idea, you've got enough kudos to make it but it is not for a today solution to our problems or it might ? -Message d'origine- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : mercredi 4 septembre 2013 18:46 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download Yep

Re: [Intaller] Speed up download

2013-09-04 Thread Alex Harui
: Good idea, you've got enough kudos to make it but it is not for a today solution to our problems or it might ? -Message d'origine- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : mercredi 4 septembre 2013 18:46 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download Yep

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
-Message d'origine- De : Frédéric THOMAS [mailto:webdoubl...@hotmail.com] Envoyé : mercredi 4 septembre 2013 18:31 À : dev@flex.apache.org Objet : RE: [Intaller] Speed up download Wouldn't this (start a company) allowed us to distribute the other artifacts we missed to create a maven

Re: [Intaller] Speed up download

2013-09-04 Thread Alex Harui
: Wouldn't this (start a company) allowed us to distribute the other artifacts we missed to create a maven repo ? -Fred -Message d'origine- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : mercredi 4 septembre 2013 18:26 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
Another thing could be to use workers to computes md5 and parallel downloads, if no one is interested in doing, to save me time for later, I will delay the maven stuffs and try to implement: - multipart downloads - workers - artifacts caching Btw, @Om, you didn't answered because you haven't

Re: [Intaller] Speed up download

2013-09-04 Thread Alex Harui
On 9/4/13 2:54 PM, Nicholas Kwiatkowski nicho...@spoon.as wrote: We can't. We have to rely on the Apache system to determine the download mirror. We are locked into that method. I know we have to use mirrors, but are you sure we can't use a different algorithm? -Alex

Re: [Intaller] Speed up download

2013-09-04 Thread Nicholas Kwiatkowski
-Original Message- From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of OmPrakash Muppirala Sent: Wednesday, September 04, 2013 12:10 PM To: dev@flex.apache.org Subject: Re: [Intaller] Speed up download One hour is a lot. Must have hit a slow mirror.

Re: [Intaller] Speed up download

2013-09-04 Thread Nicholas Kwiatkowski
The biggest issue is that there are slow mirrors. When I've run my speed tests, downloading the 100MB + download, it can be as slow as 30 minutes, and as fast as 45 seconds on my connection. That is one of the downfalls of using volunteer mirrors. I don't think that chunking the downloads will

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
[mailto:aha...@adobe.com] Envoyé : jeudi 5 septembre 2013 00:14 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download On 9/4/13 2:54 PM, Nicholas Kwiatkowski nicho...@spoon.as wrote: We can't. We have to rely on the Apache system to determine the download mirror. We are locked

Re: [Intaller] Speed up download

2013-09-04 Thread OmPrakash Muppirala
? -Message d'origine- De : Alex Harui [mailto:aha...@adobe.com] Envoyé : jeudi 5 septembre 2013 00:14 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download On 9/4/13 2:54 PM, Nicholas Kwiatkowski nicho...@spoon.as wrote: We can't. We have to rely on the Apache system

Re: [Intaller] Speed up download

2013-09-04 Thread Mark Kessler
Is there anything that says we can't download bits from separate mirrors? Select each mirror in the Apache way, but I bet the Apache way doesn't say it can't have multiple different mirrors. Be a bit more like a torrent then :P On Wed, Sep 4, 2013 at 6:13 PM, Alex Harui aha...@adobe.com wrote:

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
) ? (I would like to try it before we say, it is not for us) Thanks, -Fred -Message d'origine- De : omup...@gmail.com [mailto:omup...@gmail.com] De la part de OmPrakash Muppirala Envoyé : jeudi 5 septembre 2013 00:43 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download On Wed

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
[mailto:kesslerconsult...@gmail.com] Envoyé : jeudi 5 septembre 2013 01:27 À : Dev@Flex Objet : Re: [Intaller] Speed up download Is there anything that says we can't download bits from separate mirrors? Select each mirror in the Apache way, but I bet the Apache way doesn't say it can't have multiple different

Re: [Intaller] Speed up download

2013-09-04 Thread Mark Kessler
, then it will be almost impossible to figure out and track where the MD5 checksum. -Message d'origine- De : Mark Kessler [mailto:kesslerconsult...@gmail.com] Envoyé : jeudi 5 septembre 2013 01:27 À : Dev@Flex Objet : Re: [Intaller] Speed up download Is there anything that says we

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
I guess they don't, at the end you could have a corrupt file IMO -Message d'origine- De : Mark Kessler [mailto:kesslerconsult...@gmail.com] Envoyé : jeudi 5 septembre 2013 01:34 À : Dev@Flex Objet : Re: [Intaller] Speed up download I wonder how torrent files deal with checksums

Re: [Intaller] Speed up download

2013-09-04 Thread OmPrakash Muppirala
, Om Thanks, -Fred -Message d'origine- De : omup...@gmail.com [mailto:omup...@gmail.com] De la part de OmPrakash Muppirala Envoyé : jeudi 5 septembre 2013 00:43 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download On Wed, Sep 4, 2013 at 3:31 PM, Frédéric THOMAS

Re: [Intaller] Speed up download

2013-09-04 Thread Mark Kessler
It has lists of lengths, number of pieces, hashes for each piece. If it end up with a bad piece it can go out again and retrieve that piece over. [1] http://en.wikipedia.org/wiki/Torrent_file -Mark On Wed, Sep 4, 2013 at 7:40 PM, Frédéric THOMAS webdoubl...@hotmail.comwrote: I guess they

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
The difference IMo is that chunks haven't got hashes, only the final file can be checked but I might be wrong. -Message d'origine- De : Mark Kessler [mailto:kesslerconsult...@gmail.com] Envoyé : jeudi 5 septembre 2013 01:50 À : Dev@Flex Objet : Re: [Intaller] Speed up download It has

Re: [Intaller] Speed up download

2013-09-04 Thread Mark Kessler
haven't got hashes, only the final file can be checked but I might be wrong. -Message d'origine- De : Mark Kessler [mailto:kesslerconsult...@gmail.com] Envoyé : jeudi 5 septembre 2013 01:50 À : Dev@Flex Objet : Re: [Intaller] Speed up download It has lists of lengths, number of pieces

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
The hash should be compared with the one of the server but the server doesn't return a hash AFAIK -Message d'origine- De : Mark Kessler [mailto:kesslerconsult...@gmail.com] Envoyé : jeudi 5 septembre 2013 02:09 À : Dev@Flex Objet : Re: [Intaller] Speed up download No that makes sense

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
2013 01:47 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download On Wed, Sep 4, 2013 at 4:28 PM, Frédéric THOMAS webdoubl...@hotmail.comwrote: Well, from my tests, if I query the length of SDK file from the mirror with Content_Length it doesn't work, if I do that with another file

Re: [Intaller] Speed up download

2013-09-04 Thread Mark Kessler
I would think we host the hash lists on apache in some fashion and it could download the files from each place, check it's hash with the list it got from our site and decide to keep it or try it again on another mirror? On Wed, Sep 4, 2013 at 8:19 PM, Frédéric THOMAS

RE: [Intaller] Speed up download

2013-09-04 Thread Frédéric THOMAS
] Envoyé : jeudi 5 septembre 2013 02:22 À : Dev@Flex Objet : Re: [Intaller] Speed up download I would think we host the hash lists on apache in some fashion and it could download the files from each place, check it's hash with the list it got from our site and decide to keep it or try it again

Re: [Intaller] Speed up download

2013-09-04 Thread Nicholas Kwiatkowski
We don't have access to the database of mirrors that currently host our project. Additionally infra told me that their scripts take in account bandwidth limit requests that their mirrors request. I was looking at this when redesigning the website, and trying to use a better geoip lookup than what