Announcement

Collapse
No announcement yet.

Software Developer positions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Software Developer positions



    Greetings developers,

    We currently have two positions open for experienced software
    developers:
    <A HREF ="http://www.miva.com/company/employment.mv">http://www.miva.com/company/employment.mv</A>

    Regards,
    James Harrell
    Director of Software Development
    Miva Corporation
    <[email protected]>




    #2
    Making binary files question



    Is it possible with mivascript to create various kinds of binary files
    not related to DBF files? I've been experimenting with midi files
    without any success.

    The experiment is basically this- I MvIMPORT a midi file and then
    MvEXPORT the data as it comes in to another file to see what happens.
    What happens is that the new file is not even close to being the same as
    the old.

    Any ideas about how one could mix together custom binary files with miva
    script? I notice that PHP can do stuff like fseek, fwrite, etc, that
    lets the developer do some low level file stuff.

    Appreciate any ideas at all about this.

    Thanks-

    Scot

    Comment


      #3
      Listiquette (was Re: Making binary files question)



      On Tue, 26 Apr 2005 10:58:28 -0700, Scot Ranney <[email protected]>
      gave utterance to the following:

      > Is it possible with mivascript to create various kinds of binary files
      > not related to DBF files? I've been experimenting with midi files
      > without any success.
      >
      > The experiment is basically this- I MvIMPORT a midi file and then
      > MvEXPORT the data as it comes in to another file to see what happens.
      > What happens is that the new file is not even close to being the same as
      > the old.
      >
      > Any ideas about how one could mix together custom binary files with miva
      > script? I notice that PHP can do stuff like fseek, fwrite, etc, that
      > lets the developer do some low level file stuff.
      >
      > Appreciate any ideas at all about this.
      >
      > Thanks-
      >

      Dear Scott, not an answer but a plea: I use a mail client which shows
      threading, you evidently do not.
      So because you clicked "reply" to an existing message then wiped
      everything, I still see your message as a reply to James' post about job
      vacancies, to which it is not the least related. The reason: there is a
      header which you cannot delete from your mail client's UI, in-reply-to:
      with the messageid of James' post.
      So please set up [email protected] as a contact, and when you want to
      start a new thread, use compose, not reply.

      I've decided to post this to the list, as you are not the only person
      guilty of it.
      (Someone will now search the archives and probably find a time where I've
      done it myself :-)
      --
      Richard Grevers
      Between two evils always pick the one you haven't tried



      Comment


        #4
        Making binary files question



        Hi Scot,

        (Copernicus) James released a pretty neat library for handling binary files.
        I don't know if they can help you (or if you did not already use them), but
        if not, you should definitely take a look at them. You can find them at the
        open source section of his website (
        <A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>

        Markus





        -----Original Message-----
        From: [email protected] [mailto:[email protected]] On Behalf
        Of Scot Ranney
        Sent: Tuesday, April 26, 2005 1:58 PM
        To: [email protected]
        Subject: [meu] Making binary files question

        Is it possible with mivascript to create various kinds of binary files not
        related to DBF files? I've been experimenting with midi files without any
        success.

        The experiment is basically this- I MvIMPORT a midi file and then MvEXPORT
        the data as it comes in to another file to see what happens.
        What happens is that the new file is not even close to being the same as the
        old.

        Any ideas about how one could mix together custom binary files with miva
        script? I notice that PHP can do stuff like fseek, fwrite, etc, that lets
        the developer do some low level file stuff.

        Appreciate any ideas at all about this.

        Thanks-

        Scot

        Comment


          #5
          Re: Listiquette (was Re: Making binary files question)



          Ah, thanks for letting me know that. I can never remember what email
          address to send a group message to, so I just find one and click "reply
          all" and delete the subject and message- didn't think about the headers!

          Scot

          Richard Grevers wrote:
          > On Tue, 26 Apr 2005 10:58:28 -0700, Scot Ranney <[email protected]>
          > gave utterance to the following:
          >
          >> Is it possible with mivascript to create various kinds of binary
          >> files not related to DBF files? I've been experimenting with midi
          >> files without any success.
          >>
          >> The experiment is basically this- I MvIMPORT a midi file and then
          >> MvEXPORT the data as it comes in to another file to see what happens.
          >> What happens is that the new file is not even close to being the same
          >> as the old.
          >>
          >> Any ideas about how one could mix together custom binary files with
          >> miva script? I notice that PHP can do stuff like fseek, fwrite, etc,
          >> that lets the developer do some low level file stuff.
          >>
          >> Appreciate any ideas at all about this.
          >>
          >> Thanks-
          >>
          >
          > Dear Scott, not an answer but a plea: I use a mail client which shows
          > threading, you evidently do not.
          > So because you clicked "reply" to an existing message then wiped
          > everything, I still see your message as a reply to James' post about
          > job vacancies, to which it is not the least related. The reason: there
          > is a header which you cannot delete from your mail client's UI,
          > in-reply-to: with the messageid of James' post.
          > So please set up [email protected] as a contact, and when you want to
          > start a new thread, use compose, not reply.
          >
          > I've decided to post this to the list, as you are not the only person
          > guilty of it.
          > (Someone will now search the archives and probably find a time where
          > I've done it myself :-)

          --
          ------------

          "To The States, or any one of them, or any city of The States,
          Resist much, obey little;
          Once unquestioning obedience, once fully enslaved;
          Once fully enslaved, no nation, state, city, of this earth,
          ever afterward resumes its liberty."

          ~Walt Whitman

          Comment


            #6
            Making binary files question



            Thanks for the tip! I completely forgot James released that thing-
            looks like it will do what I'm looking for. (insert Burns "excellent" here)

            MvMarkus wrote:
            > Hi Scot,
            >
            > (Copernicus) James released a pretty neat library for handling binary files.
            > I don't know if they can help you (or if you did not already use them), but
            > if not, you should definitely take a look at them. You can find them at the
            > open source section of his website (
            > <A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
            >
            > Markus
            >
            >
            >
            >
            >
            > -----Original Message-----
            > From: [email protected] [mailto:[email protected]] On Behalf
            > Of Scot Ranney
            > Sent: Tuesday, April 26, 2005 1:58 PM
            > To: [email protected]
            > Subject: [meu] Making binary files question
            >
            > Is it possible with mivascript to create various kinds of binary files not
            > related to DBF files? I've been experimenting with midi files without any
            > success.
            >
            > The experiment is basically this- I MvIMPORT a midi file and then MvEXPORT
            > the data as it comes in to another file to see what happens.
            > What happens is that the new file is not even close to being the same as the
            > old.
            >
            > Any ideas about how one could mix together custom binary files with miva
            > script? I notice that PHP can do stuff like fseek, fwrite, etc, that lets
            > the developer do some low level file stuff.
            >
            > Appreciate any ideas at all about this.
            >
            > Thanks-
            >
            > Scot
            >

            Comment


              #7
              Making binary files question



              You do not need any external library at all. Plain old MvEXPORT works just
              fine for exporting any kind of data:

              <MvEXPORT FILEfile" FIELDS="l.null,l.null" DELIMITER="{binaryData}">

              There is no limit for the binary data passed through the delimiter.

              As for importing - I would suggest updating to the newly released v5 and
              using the file_read() function.

              Ivo
              http://mivo.truxoft.com


              -----Original Message-----
              From: Scot Ranney


              Thanks for the tip! I completely forgot James released that thing-
              looks like it will do what I'm looking for. (insert Burns "excellent" here)

              MvMarkus wrote:
              > Hi Scot,
              >
              > (Copernicus) James released a pretty neat library for handling binary
              files.
              > I don't know if they can help you (or if you did not already use them),
              but
              > if not, you should definitely take a look at them. You can find them at
              the
              > open source section of his website (
              > <A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
              >
              > Markus

              Comment


                #8
                Making binary files question



                Hello Ivo,

                But they have not released the compiler to us general public coders yet.

                Tuesday, April 26, 2005, 4:37:54 PM, Ivo uttered:

                Ivo> As for importing - I would suggest updating to the newly released v5 and
                Ivo> using the file_read() function.

                --
                Best regards,
                Bill mailto:[email protected]
                <A HREF =/"http://www.acmekennel.com Products for your dog and you/">http://www.acmekennel.com Products for your dog and you</A>.

                Comment


                  #9
                  Making binary files question



                  From: Bill Johnson
                  >
                  > But they have not released the compiler to us general public coders yet.

                  Easy help: just compile the script with the old one. To suppress the error
                  about missing function, simply call it in MvDO call to self:

                  <MvDO FILE="test.mvc" NAME="l.ret"
                  VALUE="{file_read('test.bin','data',g.var)}">


                  In the same way you can use any other new functions.

                  Ivo
                  http://mivo.truxoft.com





                  Tuesday, April 26, 2005, 4:37:54 PM, Ivo uttered:

                  Ivo> As for importing - I would suggest updating to the newly released v5
                  and
                  Ivo> using the file_read() function.

                  Comment


                    #10
                    Making binary files question



                    Ah, much better- thanks a bunch, Ivo!

                    Ivo Truxa wrote:
                    > You do not need any external library at all. Plain old MvEXPORT works just
                    > fine for exporting any kind of data:
                    >
                    > <MvEXPORT FILEfile" FIELDS="l.null,l.null" DELIMITER="{binaryData}">
                    >
                    > There is no limit for the binary data passed through the delimiter.
                    >
                    > As for importing - I would suggest updating to the newly released v5 and
                    > using the file_read() function.
                    >
                    > Ivo
                    > http://mivo.truxoft.com
                    >
                    >
                    > -----Original Message-----
                    > From: Scot Ranney
                    >
                    >
                    > Thanks for the tip! I completely forgot James released that thing-
                    > looks like it will do what I'm looking for. (insert Burns "excellent" here)
                    >
                    > MvMarkus wrote:
                    >
                    >>Hi Scot,
                    >>
                    >>(Copernicus) James released a pretty neat library for handling binary
                    >
                    > files.
                    >
                    >>I don't know if they can help you (or if you did not already use them),
                    >
                    > but
                    >
                    >>if not, you should definitely take a look at them. You can find them at
                    >
                    > the
                    >
                    >>open source section of his website (
                    >><A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
                    >>
                    >>Markus
                    >
                    >
                    >

                    --
                    ------------

                    "To The States, or any one of them, or any city of The States,
                    Resist much, obey little;
                    Once unquestioning obedience, once fully enslaved;
                    Once fully enslaved, no nation, state, city, of this earth,
                    ever afterward resumes its liberty."

                    ~Walt Whitman


                    Comment


                      #11
                      Making binary files question



                      So using Ivo's method, does anyone have any suggestions about how I
                      would go about writing the hex string:

                      4D 54 68 64

                      as binary data to a file?

                      I've tried the MvEXPORT method below and assigned the "binarydata"
                      variable with the string above, but it just goes in as the string.

                      This is new ground for me, so any suggestions are appreciated.

                      Scot

                      Ivo Truxa wrote:
                      > You do not need any external library at all. Plain old MvEXPORT works just
                      > fine for exporting any kind of data:
                      >
                      > <MvEXPORT FILEfile" FIELDS="l.null,l.null" DELIMITER="{binaryData}">
                      >
                      > There is no limit for the binary data passed through the delimiter.
                      >
                      > As for importing - I would suggest updating to the newly released v5 and
                      > using the file_read() function.
                      >
                      > Ivo
                      > http://mivo.truxoft.com
                      >
                      >
                      > -----Original Message-----
                      > From: Scot Ranney
                      >
                      >
                      > Thanks for the tip! I completely forgot James released that thing-
                      > looks like it will do what I'm looking for. (insert Burns "excellent" here)
                      >
                      > MvMarkus wrote:
                      >
                      >>Hi Scot,
                      >>
                      >>(Copernicus) James released a pretty neat library for handling binary
                      >
                      > files.
                      >
                      >>I don't know if they can help you (or if you did not already use them),
                      >
                      > but
                      >
                      >>if not, you should definitely take a look at them. You can find them at
                      >
                      > the
                      >
                      >>open source section of his website (
                      >><A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
                      >>
                      >>Markus
                      >
                      >
                      >

                      --
                      ------------

                      "To The States, or any one of them, or any city of The States,
                      Resist much, obey little;
                      Once unquestioning obedience, once fully enslaved;
                      Once fully enslaved, no nation, state, city, of this earth,
                      ever afterward resumes its liberty."

                      ~Walt Whitman


                      Comment


                        #12
                        Making binary files question



                        On 4/27/05, Scot Ranney <[email protected]> wrote:
                        > So using Ivo's method, does anyone have any suggestions about how I
                        > would go about writing the hex string:
                        >=20
                        > 4D 54 68 64
                        >=20
                        > as binary data to a file?

                        chain them together using asciichar's with the decimal equivelent?

                        > I've tried the MvEXPORT method below and assigned the "binarydata"
                        > variable with the string above, but it just goes in as the string.
                        >=20
                        > This is new ground for me, so any suggestions are appreciated.
                        >=20
                        > Scot
                        >=20
                        > Ivo Truxa wrote:
                        > > You do not need any external library at all. Plain old MvEXPORT works j=
                        ust
                        > > fine for exporting any kind of data:
                        > >
                        > > <MvEXPORT FILEfile" FIELDS=3D"l.null,l.null" DELIMITER=3D"{binaryData}"=
                        >
                        > >
                        > > There is no limit for the binary data passed through the delimiter.
                        > >
                        > > As for importing - I would suggest updating to the newly released v5 an=
                        d
                        > > using the file_read() function.
                        > >
                        > > Ivo
                        > > http://mivo.truxoft.com
                        > >
                        > >
                        > > -----Original Message-----
                        > > From: Scot Ranney
                        > >
                        > >
                        > > Thanks for the tip! I completely forgot James released that thing-
                        > > looks like it will do what I'm looking for. (insert Burns "excellent" h=
                        ere)
                        > >
                        > > MvMarkus wrote:
                        > >
                        > >>Hi Scot,
                        > >>
                        > >>(Copernicus) James released a pretty neat library for handling binary
                        > >
                        > > files.
                        > >
                        > >>I don't know if they can help you (or if you did not already use them),
                        > >
                        > > but
                        > >
                        > >>if not, you should definitely take a look at them. You can find them at
                        > >
                        > > the
                        > >
                        > >>open source section of his website (
                        > >><A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
                        > >>
                        > >>Markus
                        > >
                        > >
                        > >
                        >=20
                        > --
                        > ------------
                        >=20
                        > "To The States, or any one of them, or any city of The States,
                        > Resist much, obey little;
                        > Once unquestioning obedience, once fully enslaved;
                        > Once fully enslaved, no nation, state, city, of this earth,
                        > ever afterward resumes its liberty."
                        >=20
                        > ~Walt Whitman
                        >=20

                        Comment


                          #13
                          Making binary files question



                          Yeah, Bill (aka aGorilla) is very right. In this specific case it would be

                          <MvEXPORT FILE="file" FIELDS="l.null,l.null" DELIMITER="DThd">

                          In fact your example is no binary data at all, rather just the printable
                          characters 'DThd'.

                          I'd recommend using an ASCII table or writing a simple function for the
                          conversion - there are some tricks on my website for hex conversion too.

                          Ivo Truxa

                          | http://miva.truxoft.com
                          | Advanced Miva Merchant modules



                          -----Original Message-----
                          From: Bill Guindon

                          On 4/27/05, Scot Ranney <[email protected]> wrote:
                          > So using Ivo's method, does anyone have any suggestions about how I
                          > would go about writing the hex string:
                          >
                          > 4D 54 68 64
                          >
                          > as binary data to a file?

                          chain them together using asciichar's with the decimal equivelent?

                          > I've tried the MvEXPORT method below and assigned the "binarydata"
                          > variable with the string above, but it just goes in as the string.
                          >
                          > This is new ground for me, so any suggestions are appreciated.
                          >
                          > Scot
                          >
                          > Ivo Truxa wrote:
                          > > You do not need any external library at all. Plain old MvEXPORT works
                          just
                          > > fine for exporting any kind of data:
                          > >
                          > > <MvEXPORT FILEfile" FIELDS="l.null,l.null" DELIMITER="{binaryData}">
                          > >
                          > > There is no limit for the binary data passed through the delimiter.
                          > >
                          > > As for importing - I would suggest updating to the newly released v5 and
                          > > using the file_read() function.
                          > >
                          > > Ivo
                          > > http://mivo.truxoft.com
                          > >
                          > >
                          > > -----Original Message-----
                          > > From: Scot Ranney
                          > >
                          > >
                          > > Thanks for the tip! I completely forgot James released that thing-
                          > > looks like it will do what I'm looking for. (insert Burns "excellent"
                          here)
                          > >
                          > > MvMarkus wrote:
                          > >
                          > >>Hi Scot,
                          > >>
                          > >>(Copernicus) James released a pretty neat library for handling binary
                          > >
                          > > files.
                          > >
                          > >>I don't know if they can help you (or if you did not already use them),
                          > >
                          > > but
                          > >
                          > >>if not, you should definitely take a look at them. You can find them at
                          > >
                          > > the
                          > >
                          > >>open source section of his website (
                          > >><A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
                          > >>
                          > >>Markus
                          > >


                          Comment


                            #14
                            Making binary files question



                            Silly me for not going to Ivo's site first!

                            Thanks you guys, I'm feeling stupid today for some reason so your
                            insights are appreciated.


                            Ivo Truxa wrote:
                            > Yeah, Bill (aka aGorilla) is very right. In this specific case it would be
                            >
                            > <MvEXPORT FILE="file" FIELDS="l.null,l.null" DELIMITER="DThd">
                            >
                            > In fact your example is no binary data at all, rather just the printable
                            > characters 'DThd'.
                            >
                            > I'd recommend using an ASCII table or writing a simple function for the
                            > conversion - there are some tricks on my website for hex conversion too.
                            >
                            > Ivo Truxa
                            >
                            > | http://miva.truxoft.com
                            > | Advanced Miva Merchant modules
                            >
                            >
                            >
                            > -----Original Message-----
                            > From: Bill Guindon
                            >
                            > On 4/27/05, Scot Ranney <[email protected]> wrote:
                            >
                            >>So using Ivo's method, does anyone have any suggestions about how I
                            >>would go about writing the hex string:
                            >>
                            >>4D 54 68 64
                            >>
                            >>as binary data to a file?
                            >
                            >
                            > chain them together using asciichar's with the decimal equivelent?
                            >
                            >
                            >>I've tried the MvEXPORT method below and assigned the "binarydata"
                            >>variable with the string above, but it just goes in as the string.
                            >>
                            >>This is new ground for me, so any suggestions are appreciated.
                            >>
                            >>Scot
                            >>
                            >>Ivo Truxa wrote:
                            >>
                            >>>You do not need any external library at all. Plain old MvEXPORT works
                            >
                            > just
                            >
                            >>>fine for exporting any kind of data:
                            >>>
                            >>><MvEXPORT FILEfile" FIELDS="l.null,l.null" DELIMITER="{binaryData}">
                            >>>
                            >>>There is no limit for the binary data passed through the delimiter.
                            >>>
                            >>>As for importing - I would suggest updating to the newly released v5 and
                            >>>using the file_read() function.
                            >>>
                            >>>Ivo
                            >>>http://mivo.truxoft.com
                            >>>
                            >>>
                            >>>-----Original Message-----
                            >>>From: Scot Ranney
                            >>>
                            >>>
                            >>>Thanks for the tip! I completely forgot James released that thing-
                            >>>looks like it will do what I'm looking for. (insert Burns "excellent"
                            >
                            > here)
                            >
                            >>>MvMarkus wrote:
                            >>>
                            >>>
                            >>>>Hi Scot,
                            >>>>
                            >>>>(Copernicus) James released a pretty neat library for handling binary
                            >>>
                            >>>files.
                            >>>
                            >>>
                            >>>>I don't know if they can help you (or if you did not already use them),
                            >>>
                            >>>but
                            >>>
                            >>>
                            >>>>if not, you should definitely take a look at them. You can find them at
                            >>>
                            >>>the
                            >>>
                            >>>
                            >>>>open source section of his website (
                            >>>><A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
                            >>>>
                            >>>>Markus
                            >>>
                            >
                            >

                            Comment


                              #15
                              Making binary files question



                              I've almost got this working, but two problems have risen up that I'm
                              not sure how to deal with.

                              The first is a big one- I can't get asciichar(0) or asciichar('0') to
                              write to the file as hex 00 (some sort of spacer or null).

                              The other is that the end of the file turns out to always be hex 0A -
                              I'd like to somehow be able to control whatever is at the end of the file.

                              I made this to test what works when trying to write a binary file using
                              the method below:

                              <MvWHILE EXPR = "{l.index LE 255}">
                              <MvASSIGN NAME = "l.export" VALUE = "{ l.export $ asciichar(l.index)}">
                              <MvASSIGN NAME = "l.index" VALUE = "{ l.index + 1 }">
                              </MvWHILE>

                              Everything is written to the file correctly except for hex 00 and the
                              last character which is hex 0A.

                              Any ideas?

                              Scot


                              Ivo Truxa wrote:
                              > Yeah, Bill (aka aGorilla) is very right. In this specific case it would be
                              >
                              > <MvEXPORT FILE="file" FIELDS="l.null,l.null" DELIMITER="DThd">
                              >
                              > In fact your example is no binary data at all, rather just the printable
                              > characters 'DThd'.
                              >
                              > I'd recommend using an ASCII table or writing a simple function for the
                              > conversion - there are some tricks on my website for hex conversion too.
                              >
                              > Ivo Truxa
                              >
                              > | http://miva.truxoft.com
                              > | Advanced Miva Merchant modules
                              >
                              >
                              >
                              > -----Original Message-----
                              > From: Bill Guindon
                              >
                              > On 4/27/05, Scot Ranney <[email protected]> wrote:
                              >
                              >>So using Ivo's method, does anyone have any suggestions about how I
                              >>would go about writing the hex string:
                              >>
                              >>4D 54 68 64
                              >>
                              >>as binary data to a file?
                              >
                              >
                              > chain them together using asciichar's with the decimal equivelent?
                              >
                              >
                              >>I've tried the MvEXPORT method below and assigned the "binarydata"
                              >>variable with the string above, but it just goes in as the string.
                              >>
                              >>This is new ground for me, so any suggestions are appreciated.
                              >>
                              >>Scot
                              >>
                              >>Ivo Truxa wrote:
                              >>
                              >>>You do not need any external library at all. Plain old MvEXPORT works
                              >
                              > just
                              >
                              >>>fine for exporting any kind of data:
                              >>>
                              >>><MvEXPORT FILEfile" FIELDS="l.null,l.null" DELIMITER="{binaryData}">
                              >>>
                              >>>There is no limit for the binary data passed through the delimiter.
                              >>>
                              >>>As for importing - I would suggest updating to the newly released v5 and
                              >>>using the file_read() function.
                              >>>
                              >>>Ivo
                              >>>http://mivo.truxoft.com
                              >>>
                              >>>
                              >>>-----Original Message-----
                              >>>From: Scot Ranney
                              >>>
                              >>>
                              >>>Thanks for the tip! I completely forgot James released that thing-
                              >>>looks like it will do what I'm looking for. (insert Burns "excellent"
                              >
                              > here)
                              >
                              >>>MvMarkus wrote:
                              >>>
                              >>>
                              >>>>Hi Scot,
                              >>>>
                              >>>>(Copernicus) James released a pretty neat library for handling binary
                              >>>
                              >>>files.
                              >>>
                              >>>
                              >>>>I don't know if they can help you (or if you did not already use them),
                              >>>
                              >>>but
                              >>>
                              >>>
                              >>>>if not, you should definitely take a look at them. You can find them at
                              >>>
                              >>>the
                              >>>
                              >>>
                              >>>>open source section of his website (
                              >>>><A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
                              >>>>
                              >>>>Markus
                              >>>
                              >
                              >

                              Comment

                              Working...
                              X