Re: [U2] Why Pick U2 ?

2011-07-14 Thread Mecki Foerthmann
So what are libraries? They are nothing but a collection of subroutines that somebody else has written. And what do you do if you can't find a function in your library that does exactly what you need? You write your own, right? And by the time you have found the right function in your library

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Charles Carroll
Amen Rob. T-SQL bites. So I write CLR Sprocs or do the heavy lifting in C# and then call very minimal Sprocs. On Wed, Jul 13, 2011 at 9:25 PM, Rob Sobers rsob...@gmail.com wrote: I have to heartily disagree that U2 has a sophisticated business rules engine.  U2 Basic is such a limited

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Symeon Breen
I think the power of Databasic can be (and is certainl seen as) the problem - esp if you are from a computer science background, yes it is more powerful than t-sql and other languages that 'sit inside the DB' but it is nowhere near as powerful as a full language like c#, java etc. In other

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Tom Whitmore
READUO is just READ (keep an original copy of the record, to detect changes), at the end of your code perform the write. If you want to detect, and remediate any changes someone else made, read the record again, compare it to the original record (before the record was updated) and remediate

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Symeon Breen
Because it is just 2 lines of code anyway so why bother -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: 13 July 2011 23:46 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Record Locks - How

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread David Wolverton
WELL - optimistic lock testing is WAY more than 2 lines of code! You have to have a 'structure' to 'store' the original data image in, then on the write, check that image against a current version (that you DID hard lock) and if the same, write, if not fail. If you can do that in 2 lines of

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Wols Lists
On 14/07/11 13:40, David Wolverton wrote: Perhaps a more interesting example might be -- what if your business model would make it more efficient to move one of the files 'off world' to a SQL store on another machine?? If you 'called' a subroutine to do your reads and writes, those could

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Rob Sobers
Yes, and my point is that in the U2/UniBasic ecosystem, those collections of subroutines are not readily available anywhere. What if you want to use a web service that emits JSON? Is it going to take you 3 lines of code and 5 minutes to write a JSON parser? And what about serialization,

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Symeon Breen
David, For your last point regarding accessing data from multiple places. - i have done just that and a number of programmers use it to access data that can be u2, sql, xml or csv in source - all with an open, read, write call, and it is made easier with some nice equates so it all looks kind of

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Symeon Breen
Code:- Read rec from fil,id else rec='' rec.checksum = checksum(rec) ... logic ... * write data back Readu tmp from fil,id else tmp='' If checksum(tmp) = rec.checksum THEN Write rec on fil,id Else Release fil,id Go do whatever it is you now need to do END So maybe 3 or

[U2] Rocks

2011-07-14 Thread Bill Brutzman
Rob: This is the U2 list. The developers on this list... like, live, and breathe U2. U2 is a legacy database for in which, over decades, companies have invested in mega-mountains of code. I find it galling when newbies so often expect companies to instantly bail on their colossal stake. Is

[U2] Table of tables - watch out with sequential files

2011-07-14 Thread George Gallen
I setup a table of tables after I opened sequential files and I started running into very strange results until I realized that with sequential files, you can't really distribute FCB the same way, as the offset pointer is stored in that FCB. You have to save it back to the table when

Re: [U2] Rocks

2011-07-14 Thread Holt, Jake
U2 has an easy learning curve ..? What? MV is a completely foreign concept to most people and I'd wager a large number of DBAs. There is no conceivable way that installing U2, setting up a database, developing an application and presenting it using a technology that's not a dinosaur can be

[U2] Why Pick U2?

2011-07-14 Thread Daniel McGrath
_ From: Jackie Burhans Sent: Thursday, July 14, 2011 8:55 AM To: Daniel McGrath; Dave Peters Cc: Vinnie Smith Subject: RE: Post Very thorough response. Minor edits below in red. One suggested cut noted like this {xxx} One question--can you and Dave

[U2] python

2011-07-14 Thread Symeon Breen
Not the snake - the language ;) At u2u two (or was it 3) years ago a guy from ibm demo'ed some gci code he did so you could call any python code from your databasic. He said if there was interest it could be incorporated into u2, and said at the least he could release the gci code he did -

Re: [U2] Why Pick U2?

2011-07-14 Thread Daniel McGrath
Ah, early morning. Obviously I missed some clean up... Sorry all -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel McGrath Sent: Thursday, July 14, 2011 9:04 AM To: U2 Users List (u2-users@listserver.u2ug.org)

[U2] Shards

2011-07-14 Thread Jerry Banker
Strange I was reading this article on sharding (http://technoroy.blogspot.com/2008/07/shard-database-design.html) and I starting thinking as I read. We can do this in UniBasic using UniVerse and distributed files, what's the big deal. Granted I may not be as up on this as some of the

Re: [U2] Why Pick U2?

2011-07-14 Thread Holt, Jake
If Rocket asked you what you want, what would you say 1. make the site publically available, stop hiding information and ancillary tools (like whatever your new redback replacement is) behind maintenance/registration. Make these available publically 2. Offer a semi-crippled version of U2 that is

Re: [U2] Rocks

2011-07-14 Thread Jeff Schasny
You were given many reasons and dismissed them all with nothing more than a shrug. Apparently, now you believe you've made your point. Good for you. Amazing as it may sound, on a list full of people who are U2 developers you're going to find people who use U2 because we're experts in it, and

Re: [U2] Why Pick U2?

2011-07-14 Thread Jacie Burhans
1. Do you mean U2DevZone? You should see an article on that next week in the U2 News Flash--you are subscribed, right? If not, go to: http://goo.gl/G1uem 2. Please email us at u2as...@rs.com with more info on what you are thinking of. We are doing some work in this area. Or you can post here.

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Bill Haskett
Symeon: Man...my modified optimistic update subroutine is at least 35 lines of code; which doesn't take into account managing the checksum variable. :-( Bill - Original Message - *From:* syme...@gmail.com *To:*

Re: [U2] Rocks

2011-07-14 Thread Bob Wyatt
There once was a list called Community Posters avoid it with impunity It makes a spectacular day To see the moderator say This thread is no good In this neighborhood You have the right to be silent Don't accelerate my retirement Please move this to the Community List Let this discussion cease and

Re: [U2] python

2011-07-14 Thread Steve Romanow
I am seriously interested in language bindings as well. Specifically serverside. On Jul 14, 2011 11:08 AM, Symeon Breen syme...@gmail.com wrote: Not the snake - the language ;) At u2u two (or was it 3) years ago a guy from ibm demo'ed some gci code he did so you could call any python code

Re: [U2] Shards

2011-07-14 Thread Steve Romanow
Yeah. We had good experience using that functionality at a prior shop. Wish they would come to Unidata. On Jul 14, 2011 11:10 AM, Jerry Banker jpb-u...@hotmail.com wrote: Strange I was reading this article on sharding ( http://technoroy.blogspot.com/2008/07/shard-database-design.html) and I

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Steve Romanow
Logging, unittesting, On Jul 14, 2011 10:12 AM, Rob Sobers rsob...@gmail.com wrote: Yes, and my point is that in the U2/UniBasic ecosystem, those collections of subroutines are not readily available anywhere. What if you want to use a web service that emits JSON? Is it going to take you 3

Re: [U2] Rocks

2011-07-14 Thread Bill Haskett
Jeff: ...and to us it's as easy as pie to develop in this environment. When Pick first came out the people who built the hundreds of business applications were business people, not techno-geeks, who somehow think C# is the be-all and end-all of computer languages. This should say it all.

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Brian Leach
I've missed this discussion because I've been busy designing a website and app for a client. This being the real world, the site will eventually - of course - be delivered using SQL Server and C#, with the front end using AJAX calls to JSON services delivered through WCF. Which will no doubt take

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Bill Brutzman
Brian I tried a few times today and I am unable to get to the website there... Oops! Google Chrome could not find www.brianleach.co.uk --Bill ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Mecki Foerthmann
I don't even know what JSON is supposed to be good for, so why would I want to use a web service that emits it? I don't have a need for a JSON parser, so why should I write one? And what if I don't need serialization, compression and PDF generation? Well, I have tools for generating PDFs, but

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Brian Leach
Bill That's weird, it's up and I can see it (Chrome, FF, IE) Looks crap, but that's the old cobblers shoes story .. one day I'll get time to rewrite it.grin Brian -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of

Re: [U2] Why Pick U2 ?

2011-07-14 Thread John Thompson
JSON is just another data exchange format like, csv, xml, etc. The main advantage is that it is arguably better at passing name, valued pairs of data (like Pick/MV in DataBASIC), than xml, etc. It can also arguably make writing AJAX (i.e. FAST data entry web forms), somewhat easier (with

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Symeon Breen
Javascript inherently works with JSON regardless of any library used. It is a fantastic serialisation of data that should be embraced in the MV world. It fits very well in fact, it handles any level of array nesting so can manage the 3 (or 4 inc @tm) levels of MV data, it is schemaless and weakly

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Charles_Shaffer
Symeon says Javascript inherently works with JSON regardless of any library used. It is a fantastic serialisation of data that should be embraced in the MV world. It fits very well in fact, it handles any level of array nesting so can manage the 3 (or 4 inc @tm) levels of MV data, it is

Re: [U2] Why Pick U2?

2011-07-14 Thread John Thompson
I'm going to attempt to explain one scenario why the per seat licensing won't win you any new customers... Lets say, I'm a smaller company (or a bigger company for that matter), and all I want to do is build my application for the web. (I do not want to use terminal sessions for anything) OR I'm

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Tony Gravagno
From: Symeon Breen rec.checksum = checksum(rec) If checksum(tmp) = rec.checksum THEN Symeon, there's no doubt that coding optimistically is easy, but in addition to requiring a custom statebag you also need to manage timeouts. Wol and others have commented on some of the nuances here.

Re: [U2] Record Locks - How long should they last for? (Opinion)

2011-07-14 Thread Tony Gravagno
From: Tom Whitmore Personally, optimistic locking is not an ideal method for performing updates. I know that is the way many DBs work but that doesn't make it right. Uh, but that IS the way that every web-based application on the planet works. C'mon now. Arguing the way things work is

Re: [U2] Rocks

2011-07-14 Thread Tony Gravagno
Jake Holt wrote: U2 has an easy learning curve ..? What? MV is a completely foreign concept to most people and I'd wager a large number of DBAs. There is no conceivable way that installing U2, setting up a database, developing an application and presenting it using a technology that's

Re: [U2] Rocks

2011-07-14 Thread Tony Gravagno
From: Bob Wyatt Let this discussion cease and desist Bob, I've been wondering if and when moderation would kick in, but I think overall, the flurry of discussion has been very positive and mostly on-topic. Perhaps the moderation should bend away from cease and disist toward please focus on

Re: [U2] Why Pick U2?

2011-07-14 Thread Holt, Jake
1. Do you mean U2DevZone? You should see an article on that next week in the U2 News Flash--you are subscribed, right? If not, go to: http://goo.gl/G1uem ** I mean products like DataVu, Web DE and VisualStudio add ins. At least offer scaled down solutions for public use (like the watered down

[U2] JSON

2011-07-14 Thread George Gallen
If I have the following dynamic array: TEST 1this 2is 3a 4mv ] test field 1 = part1 field2 = part2 field3 = part3 field4 = part4 I could make XML as TEST part1this/part1 part2is/part2 part3a/part3 part4 vm=1mv/part4 part4 vm=2test/part4 /TEST I'm confused on how this serializes

Re: [U2] JSON

2011-07-14 Thread Steve Romanow
Att 4 can be encoded on its own and stored within the parent Jon record. I am on my phone so pls don't make me key data structures. B-) On Jul 14, 2011 5:32 PM, George Gallen ggal...@wyanokegroup.com wrote: If I have the following dynamic array: TEST 1this 2is 3a 4mv ] test field 1 =

Re: [U2] JSON

2011-07-14 Thread Steve Romanow
Doh. Autocorrect got me. I meant json record. Take a look at json.org That XML example is but one may to model that record. On Jul 14, 2011 5:36 PM, Steve Romanow slestak...@gmail.com wrote: ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] JSON

2011-07-14 Thread Doug Averch
George: We have been using JSON for many years now with our Web integration on Universe and Unidata. This is how your JSON string could look: {TEST : { part1 : this, part2 : is, part3 : a, part4 : [mv],[test] }} Regards, Doug www.u2logic.com U2WebLink middleware for U2 On Thu,

Re: [U2] Why Pick U2?

2011-07-14 Thread David Jordan
I developed a new application in U2 and I sell it. I am not a dinosaur. What has been raised is technical comparisons, but if you are developing software to sell you need to think commercial advantages. For instances, I never sell to IT, I sell to business decision makers, technology means

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Doug Averch
Hi Brian: Microsoft now has a plug-in for Eclipse see http://msdn.microsoft.com/en-us/library/gg413285.aspx. Eclipse just released version 3.7 around June 22nd and they have had a million plus downloads. They released 62 projects with over 46 million lines of code see

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Steve Romanow
When i look at an eclipse application I see 80% ui that is not relevant to the task at hand. I agree that it and most every app implemented with it are trash. On Jul 14, 2011 6:11 PM, Doug Averch dave...@gmail.com wrote: Hi Brian: Microsoft now has a plug-in for Eclipse see

Re: [U2] Why Pick Eclipse ?

2011-07-14 Thread Bill Brutzman
When looking at an Eclipse app, it might be a good idea to put sunglasses on first... maybe some special optical apparatus. There is... O Rocket's BDT O u2Logic's xLR8 O Adobe Flex Builder O Adobe ColdFusion Builder 2 O Hundreds of Others Even a blind

Re: [U2] JSON

2011-07-14 Thread Kevin King
At the risk of correcting Doug, if this is your input: TEST part1this/part1 part2is/part2 part3a/part3 part4 vm=1mv/part4 part4 vm=2test/part4 /TEST ...in JSON there could be represented a few different ways. It could be as simple as: [this,is,a,[mv,test]] Or as complex as:

[U2] ODBC / SQL to U2

2011-07-14 Thread Tony Gravagno
A couple recent comments got my attention. As time permits (ROFL) I've been working on a new MV-independent ODBC interface which provides a high level of SQL-92 compliance. I thought people in this developer base were pretty happy with the built-in capabilities for U2. Is that not the case?

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Bill Haskett
Yea...and wouldn't it be nice of the TO.DELIM keyword in UniQuery worked! Bill - Original Message - *From:* charles_shaf...@ntn-bower.com *To:* U2 Users List u2-users@listserver.u2ug.org *Date:* 7/14/2011 2:18 PM

Re: [U2] Why Pick Eclipse ?

2011-07-14 Thread Steve Romanow
Not a fan of any of them. Slow, clunky. BDT, are you kidding. I'll use edlin first. On Jul 14, 2011 6:24 PM, Bill Brutzman bi...@hkmetalcraft.com wrote: When looking at an Eclipse app, it might be a good idea to put sunglasses on first... maybe some special optical apparatus. There is... O

Re: [U2] Why Pick U2 ?

2011-07-14 Thread Tony Gravagno
David, what you're touching on here is one of the fundamental differences between MV and relational: We use BASIC within the engine to manage Referential Integrity (RI) and provide business rules. Simultaneously, our RI is contained in the business rules, not at the DBMS level. They use other

Re: [U2] Rocks

2011-07-14 Thread Bob Wyatt
Tony, I appreciate your comments and opinion... I subscribe to the list for the technical exchange of ideas, and it is my understanding that this is why this particular list exists. u2-users: Technical Discussions related to the U2 product family. Use this list to ask the community for

Re: [U2] Rocks

2011-07-14 Thread Rob Sobers
In fairness, I don't think anyone is trolling. I think it's healthy to question the technical merits of the platforms you use and compare them to alternatives. A community that shouts go away trolls! we like it here! whenever someone asks an uneasy question is probably one I don't belong in. I

Re: [U2] Rocks

2011-07-14 Thread Steve Romanow
I have been mildly trolling. I'll stop. On Jul 14, 2011 7:15 PM, Rob Sobers rsob...@gmail.com wrote: In fairness, I don't think anyone is trolling. I think it's healthy to question the technical merits of the platforms you use and compare them to alternatives. A community that shouts go away

Re: [U2] JSON

2011-07-14 Thread Doug Averch
Hi Kevin: I could not get you code to validate, see: http://jsonlint.com/, nor could I get my suggestion to validate either. Here is some real code read for Universe and this does validate. The Contact Name is multivalued attribute. [{IdCode:178,CusName:U2Logic,ContactName:[[David

Re: [U2] JSON

2011-07-14 Thread Kevin King
Ah drat, I knew I should have validated before posting. That's what confidence'll get ya.. :) The first one was valid. The second is missing a } at the end, and the third one should have ended in }}} instead of ]}. Regarding this: [{IdCode:178,CusName:U2Logic,ContactName:[[David

Re: [U2] JSON

2011-07-14 Thread Rob Sobers
I can't see a reason for the nested arrays either. This validates just fine: [ { IdCode: 178, CusName: U2Logic, ContactName: [ David Aitken, Doug Averch, Ed Karlo ] } ] On Thu, Jul 14, 2011 at 9:28 PM, Kevin King