Flex Installer Issue -- invalid file?

2018-09-18 Thread DanielMcQ
Hi,

Just tried the Flex Installer today, seeing as how AIR 31 is out. (Thanks
for all your work keeping the installer going, Piotr!).

Installer failed at third steplooks like a mismatch on the MD5
signature? Here's my log:

Installer path: /Applications/Apache Flex/Apache Flex SDK
Installer.app/Contents/Resources
Installer version 3.3.2 (mac)
Using Locale: en_AU
Fetched the SDK download mirror URL from the CGI.
SDK version Apache Flex SDK 4.16.1
AIR version 31.0
Flash Player version 31.0
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from:
http://www.strategylions.com.au/mirror/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.tar.gz
Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files does not match the
reference value. The file is invalid, installation is aborted.
Aborting Installation:
http://flex.apache.org/track-installer.html?failure=true=Apache Flex
SDK 4.16.1=4.16.1=mac=3.3.2=The Apache Flex
SDK MD5 Signature of the downloaded files does not match the reference
value. The file is invalid, installation is aborted.

Best Regards,

Daniel




-
~~~
mcquilleninteractive.com
simplediagrams.com
--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Questions about file upload, auth header and upload progress

2018-09-18 Thread Olaf Krueger
Hi,
we're building something like a restful API using NodeJS/Restify here.
At the moment we're implementing some endpoints in order to handle file
uploads and downloads.

We're using JWT for authentication which means that we have to send an
authorization bearer with each request within the header.

Unfortunately, FileReference.upload() doesn't support the 'requestHeaders'
property so we can't set headers here. [1]
-
As an alternative, we could use URLLoader in that way, that we send the file
as base64 encoded string.
This works but base64 has performance drawbacks. At least we have to load
each file in memory before uploading.
-
So, for now, we end up using the "multipart/form data" content type with
URLLoader and send the files as ByteArray. (Thanks to the effort of Jonathan
Marston in 2007 this still works!!)

However, I am really interested how you deal with file uploads these days.
(I guess most of the APIs out there expect "multipart/form data" and some
kind of auth token?)

Moreover, does anybody know if there's any chance to inform the client about
the upload progress
by using URLLoader? (How does this work with FileReference.upload()?)
Or does anybody know if socket.io with AIR could be an option here?

Thanks,
Olaf


[1]
https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLRequest.html#requestHeaders

[2]
http://www.marstonstudio.com/2007/10/19/how-to-take-a-snapshot-of-a-flash-movie-and-automatically-upload-the-jpg-to-a-server-in-three-easy-steps/


 



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: Help using LinAlg Library for solving Simultaneous Equations

2018-09-18 Thread Philip Medlam
I decided to modify some Gauss elimination code from AS2, which now seems to 
work

Thanks to those who had a look at this.

Phil.

> On 18 Sep 2018, at 12:42, Philip Medlam  wrote:
> 
> Thx for looking at this,
>However I pretty much want to know what form I need to send my 
> matrices to the Library. 
> 
> So I was hoping someone has used this library or another library that I can 
> use.
> 
> Phil.
> 
>> On 18 Sep 2018, at 12:35, Carlos Rovira  wrote:
>> 
>> Hi Phil,
>> 
>> for what I see (I never used that library), is normal AS3 code ready to use
>> with Apache Flex or with Apache Royale.
>> 
>> Flex will create Flash (SWF) and Royale is a new framework similar to Flex
>> to output Flash (SWF) or HTML/JS/CSS. So
>> your first decision is what project to choose depending on what kind of
>> devices you want to target.
>> 
>> In both you can use that library directly, and then you must use the
>> components, containers and controls to build the interface. Both
>> technologies use MXML for declarative development of the user interface and
>> AS3 code to instantiate the classes in the library you posted.
>> 
>> Hope that helps. Good luck with your project :)
>> 
>> Carlos
>> 
>> 
>> 
>> El mar., 18 sept. 2018 a las 12:18, npem ()
>> escribió:
>> 
>>> Hi everyone,
>>>  I have been looking at using a free library for solving
>>> a
>>> set of Linear Simultaneous Equations for Finite Element Solutions
>>> 
>>> I have: [F] = [k] [x]
>>> 
>>> Where [F] and [x] are vectors
>>> and [k] is a square matrix
>>> 
>>> I was thinking of using the *AS3LinAlg* the library, but it is not obvious
>>> (At least to me:-) on how to present the data,
>>> (As it seems to want 2 vectors)
>>> which will return a vector.
>>> 
>>> Anyone used this Library and could help with what I need to pass to it, for
>>> example,
>>> If I want to use Cholesky or LU?
>>> 
>>> Or of course any other suggestions for libraries to use?
>>> 
>>> Note: The library is at:
>>> Solver Library 
>>> 
>>> TIA,
>>> 
>>> Phil.
>>> 
>>> 
>>> 
>>> --
>>> Sent from: http://apache-flex-users.246.n4.nabble.com/
>>> 
>> 
>> 
>> -- 
>> Carlos Rovira
>> http://about.me/carlosrovira
> 



Re: Help using LinAlg Library for solving Simultaneous Equations

2018-09-18 Thread Philip Medlam
Thx for looking at this,
However I pretty much want to know what form I need to send my matrices 
to the Library. 

So I was hoping someone has used this library or another library that I can use.

Phil.

> On 18 Sep 2018, at 12:35, Carlos Rovira  wrote:
> 
> Hi Phil,
> 
> for what I see (I never used that library), is normal AS3 code ready to use
> with Apache Flex or with Apache Royale.
> 
> Flex will create Flash (SWF) and Royale is a new framework similar to Flex
> to output Flash (SWF) or HTML/JS/CSS. So
> your first decision is what project to choose depending on what kind of
> devices you want to target.
> 
> In both you can use that library directly, and then you must use the
> components, containers and controls to build the interface. Both
> technologies use MXML for declarative development of the user interface and
> AS3 code to instantiate the classes in the library you posted.
> 
> Hope that helps. Good luck with your project :)
> 
> Carlos
> 
> 
> 
> El mar., 18 sept. 2018 a las 12:18, npem ()
> escribió:
> 
>> Hi everyone,
>>   I have been looking at using a free library for solving
>> a
>> set of Linear Simultaneous Equations for Finite Element Solutions
>> 
>> I have: [F] = [k] [x]
>> 
>> Where [F] and [x] are vectors
>> and [k] is a square matrix
>> 
>> I was thinking of using the *AS3LinAlg* the library, but it is not obvious
>> (At least to me:-) on how to present the data,
>> (As it seems to want 2 vectors)
>> which will return a vector.
>> 
>> Anyone used this Library and could help with what I need to pass to it, for
>> example,
>> If I want to use Cholesky or LU?
>> 
>> Or of course any other suggestions for libraries to use?
>> 
>> Note: The library is at:
>> Solver Library 
>> 
>> TIA,
>> 
>> Phil.
>> 
>> 
>> 
>> --
>> Sent from: http://apache-flex-users.246.n4.nabble.com/
>> 
> 
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira



Re: Help using LinAlg Library for solving Simultaneous Equations

2018-09-18 Thread Carlos Rovira
Hi Phil,

for what I see (I never used that library), is normal AS3 code ready to use
with Apache Flex or with Apache Royale.

Flex will create Flash (SWF) and Royale is a new framework similar to Flex
to output Flash (SWF) or HTML/JS/CSS. So
your first decision is what project to choose depending on what kind of
devices you want to target.

In both you can use that library directly, and then you must use the
components, containers and controls to build the interface. Both
technologies use MXML for declarative development of the user interface and
AS3 code to instantiate the classes in the library you posted.

Hope that helps. Good luck with your project :)

Carlos



El mar., 18 sept. 2018 a las 12:18, npem ()
escribió:

> Hi everyone,
>I have been looking at using a free library for solving
> a
> set of Linear Simultaneous Equations for Finite Element Solutions
>
> I have: [F] = [k] [x]
>
> Where [F] and [x] are vectors
> and [k] is a square matrix
>
> I was thinking of using the *AS3LinAlg* the library, but it is not obvious
> (At least to me:-) on how to present the data,
> (As it seems to want 2 vectors)
>  which will return a vector.
>
> Anyone used this Library and could help with what I need to pass to it, for
> example,
> If I want to use Cholesky or LU?
>
> Or of course any other suggestions for libraries to use?
>
> Note: The library is at:
> Solver Library 
>
> TIA,
>
> Phil.
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


-- 
Carlos Rovira
http://about.me/carlosrovira


Help using LinAlg Library for solving Simultaneous Equations

2018-09-18 Thread npem
Hi everyone,
   I have been looking at using a free library for solving a
set of Linear Simultaneous Equations for Finite Element Solutions

I have: [F] = [k] [x]

Where [F] and [x] are vectors
and [k] is a square matrix

I was thinking of using the *AS3LinAlg* the library, but it is not obvious 
(At least to me:-) on how to present the data,
(As it seems to want 2 vectors)
 which will return a vector.

Anyone used this Library and could help with what I need to pass to it, for
example,
If I want to use Cholesky or LU?

Or of course any other suggestions for libraries to use?

Note: The library is at:
Solver Library   

TIA,

Phil.



--
Sent from: http://apache-flex-users.246.n4.nabble.com/