| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#31
|
| Preface : yes, I understand I'm being rather difficult here, just try to see it from my side. Sholom wrote: >Tony Gravagno wrote: >> Hmm. Theory is proved once again: Nothing kills a thread more >> brutally than a complete solution. ![]() >I'm not sure the thread died because of a complete solution. It might >have died because people didn't understand what you wrote. (I, for one.) Like the solution I provided for comparing fields I suspect - that one with full code. removepleaseNebula-RnD.com/freeware/Comparative.AQL.txt >1) Is this the complete code? I was expecting to see some code for >methods to implement the solution. Is the complete code on your blog? >Are you implementing dynamic arrays without any new code, just using >regular c# methods? Code? You asked if anyone has done this or if anyone has ideas. I answered the question in the affirmative. Now you actually want the code too? Is that for-fee open source where people generously pay for the time taken to develop, test, and support the software, even though they have all the source and they could get away with not paying for it? Or is the next implied step that by providing the source here or somewhere that it becomes free - as in beer? It's a good thing no one is out there asking if someone has an idea of how to write an accounting application or a bunch of people here would be out of business. >2) You create "MDArray a = new MDArray()". What is an MDArray >(multi-dimensional array?)? Is it a built-in type or is it something >you've implemented? I wrote it - a custom solution to a unique request. >I did a search on the term, and could only come up >with the fact that an MDArray is a SafeArray (whatever that is). Is an >MDArray what's called a jagged array in VB? Not related, I made up the classname onthe fly. >In short, your reply was over my head. Maybe you can expand on it in >your blog and post a link to the explanation. Is this bottom line descriptive enough? a[1][2][2][4][1][3].Data[2] = "wow"; >It also might be a good idea to do the code in VB. Most of us are Basic >programmers, and while I have some grasp of c# code, in many cases (and >this I believe is one of them) the devil is in the details. a(1)(2)(2)(4)(1)(3).Data(2) = "wow" 'VB Regards, T |
|
#32
|
| Tony Gravagno wrote: > > Code? You asked if anyone has done this or if anyone has ideas. I > answered the question in the affirmative. Now you actually want the > code too? > > Is that for-fee open source where people generously pay for the time > taken to develop, test, and support the software, even though they > have all the source and they could get away with not paying for it? > > Or is the next implied step that by providing the source here or > somewhere that it becomes free - as in beer? > > It's a good thing no one is out there asking if someone has an idea of > how to write an accounting application or a bunch of people here would > be out of business. > > Well, I guess you could look at it from that perspective. On the other hand, all help/info provided in this (or any) forum could technically be "chargeable". Yet people do provide a certain amount of that help free of charge (up to a point). I guess it's part of our God-given human soul to help others. But each one of us must decide where that "chargeable point" is. You clearly felt that what I was looking for should be "chargeable". Mark Brown didn't feel so. Mark's code snippet (it was just a snippet, off the top of his head) was exactly what I was looking for. I took his idea, modified some of it to my liking, added some bells and whistles, and in a couple of hours I had a functional DynamicArray class. I even offered to post my class someplace for use by others. It didn't even dawn on me to charge for it because it's just not that big a deal. It's just a couple of little routines. The web is full of these kinds of helpful routines offered by people for free. Tony, I know that you've done more than your fair share of helping others on this forum over the years. And I appreciate it. It stands to reason that you've probably been burned over the years by "freebies", so you might be overly sensitive on this issue. I just think your off the Mark (upper-case "M", pun intended) on this one. But maybe I'm wrong. After all, I was the one looking for the idea. Anyway, thank you very much Mark Brown. |
|
#33
|
| Tony Gravagno wrote: > Is this bottom line descriptive enough? > a[1][2][2][4][1][3].Data[2] = "wow"; > > >> It also might be a good idea to do the code in VB. Most of us are Basic >> programmers, and while I have some grasp of c# code, in many cases (and >> this I believe is one of them) the devil is in the details. > > a(1)(2)(2)(4)(1)(3).Data(2) = "wow" 'VB > > > Regards, > T I also find your attitude condescending. Sick him, Chandru. |
|
#34
|
| sh wrote: > Tony Gravagno wrote: > >> Is this bottom line descriptive enough? >> a[1][2][2][4][1][3].Data[2] = "wow"; >> >> >>> It also might be a good idea to do the code in VB. Most of us are >>> Basic programmers, and while I have some grasp of c# code, in many >>> cases (and this I believe is one of them) the devil is in the details. >> >> a(1)(2)(2)(4)(1)(3).Data(2) = "wow" 'VB >> >> >> Regards, >> T > > I also find your attitude condescending. Sick him, Chandru. That should have been "Sic him, Chandru" (before the spelling police get after me). (Although, I wonder what Freud would have to say about my slip.) |
|
#35
|
| All points noted and humor appreciated. My position is based on the "teach a man to fish" principle and the lament that very few people in this community separate software freedom from free beer. I don't mind providing code and I don't mind giving away software for free. But I do have difficulties providing open source freeware in a community that both "expects" it and where the community at large really doesn't benefit that much from the effort. Sholom, you've expressed gratitude here for comments and code. It's the underlying expectation that bothers me - not specifically from you, please don't take this directly, this is a community trend. You didn't want "any ideas, anyone done it?", you wanted "please give a fully functional free and open source solution that I can sell to someone else." If you were offering a new tool to the MV community - also free and open source - then I would have offered free code. If I had offered code under GPL, would you or anyone else here respect the license? Probably not because the underlying motivation is profit. If this this the case then why should I be motivated to support someone else's profit-making endeavor at my own personal expense? Gratitude is a wonderful thing, but if you are getting financial benefit from something you find on the internet, then at least buy a cup of coffee for the people who have helped you to accomplish your goals. Perhaps this is a topic for a discussion in the IRC channel, Skype, Spectrum, or somewhere similar: What do the words "free" and "open source" mean in the Pick community? Regards, T |
|
#36
|
| "Tony Gravagno" message news:2dv8b4pn0roauab40qj8dr7ir5l7717r9e-at-4ax.com... > All points noted and humor appreciated. > > My position is based on the "teach a man to fish" principle and the Give a man a match, and he'll be warm for a minute. Use the match to set him on fire, and he'll be warm for the rest of his life. Ed |
|
#37
|
| sh> I also find your attitude condescending. Sic him, Chandru. When did I get elected attack dog? Actually I was going to restrainmyself (and that's haaaarrrrd) until this just came in: >TG: "Sholom, you've expressed gratitude here for comments and code. It's the underlying expectation that bothers me - not specifically from you, please don't take this directly, this is a community trend" So even your THANKS are not enough!. Next time give us your firstborn in return for the lines of code. And don't forget to tattoo the GPLlicence agreement on his/her arm before shipment. Gene, in his post, expressed it perfectly, so I'll turn over the attack mantel to him: >If someone posts something here that basically amounts to "please give me a solution to my problem" it's your choice to help or not. Complaining that they just want something for nothing is just stupid. If you don't want to help, don't. >What do the words "free" and "opensource" mean in the Pick community? "Free", hmm, that's a tough one. I'll get back to ya. Chandru "sh" news:ksadnRmueuqUwynVnZ2dnUVZ_jKdnZ2d-at-earthlink.co m... > sh wrote: >> Tony Gravagno wrote: >> >>> Is this bottom line descriptive enough? >>> a[1][2][2][4][1][3].Data[2] = "wow"; >>> >>> >>>> It also might be a good idea to do the code in VB. Most of us are Basic >>>> programmers, and while I have some grasp of c# code, in many cases (and >>>> this I believe is one of them) the devil is in the details. >>> >>> a(1)(2)(2)(4)(1)(3).Data(2) = "wow" 'VB >>> >>> >>> Regards, >>> T >> >> I also find your attitude condescending. Sick him, Chandru. > > That should have been "Sic him, Chandru" (before the spelling police get > after me). > > (Although, I wonder what Freud would have to say about my slip.) |
|
#38
|
| Isn't Open Sauce something you find in a hamper (upside down) after returning from a picnic or BBQ? (Translation: looks tempting at the time, but can quickly turn into a sticky mess!!!) |
|
#39
|
| Ross Ferris > Isn't Open Sauce something you find in a hamper (upside down) after > returning from a picnic or BBQ? > > (Translation: looks tempting at the time, but can quickly turn into a > sticky mess!!!) Which is a really good reason to keep your sauce closed and your source open. ![]() g. |
|
#40
|
| BRIZ COM interface have methods for working with arrays. I can extract such methods into standalone ATL object if need. For example: ************* ArrayToString transforms an array to a string where elements of an array are divided by the given symbol. Object.ArrayToString (IArray, OString As String, DelimiterString As String) As Long ARR(0)="00100" ARR(1)="075" ARR(2) ="" ARR(3)="Example string 1" ARR(4)="Example string 2" ARR(5)="" ARR(6)="00010" CV=OBJ.ArrayTOString (ARR,STR,"|") Result: STR="00100|075||Example string 1|Example string 2||00010" ************************ ArrayToStringEX transforms an array to a string where elements of an array are divided by the given symbols. Object.ArrayToStringEX (IArray, OString AS String, DELIMITERSArray) AS Long ********* ConvertToSubArray and ConvertToSubArrayNet transforms an array of strings to an array of arrays of strings. Object.ConvertToSubArray (IArray, DelimiterString AS String) Object.ConvertToSubArrayNet (IArray, OArray, DelimiterString AS String) ARR(0)="00100|075|My test string 1|My test string 1||00010" ARR(1)= "00101|092|My test string 2|My test string 2||00010" ARR(2)="00205|181|My test string 3| My test string 3||00010" CV=OBJ.ConvertToSubArray(ARR,"|") Result is: ARR(0) - ARR(0)(0)="00100" ARR(0)(1)="075" ARR(0)(2)="My test string 1" ARR(0)(3)="My test string 1" ARR(0)(4)="" ARR(0)(5)="00010" ARR(1) - ARR(1)(0)="00101" ARR(1)(1)="092" ARR(1)(2)="My test string 2" ARR(1)(3)="My test string 2" ARR(1)(4)="" ARR(1)(5)="00010" ARR(2) -… **************** ArrayDelElement, ArrayInsElement, ArrayFind, ArrayFIndExactly, SortArray, SortArrayNet, SortArray2, SortArray2Net, StringToArray, StringToArrayEx Regards, Grigory |
![]() |
| Thread Tools | |
| Display Modes | |