Why does a converted v13 db limit text vars to 32k?

2017-01-05 Thread Kirk Brooks
Working with an old project that's currently at v13. Text vars are truncating to 32k. I initially thought this would be because of the Unicode setting but even after enabling and restarting with Unicode they still truncate. What's the dang deal here? Thanks -- Kirk Brooks San Francisco, CA

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-05 Thread Jeffrey Kain
Are you using an old codec in BLOB TO TEXT or Convert Text with these variables - anything with "Mac" in their name? Like "Mac text without length" or "Mac C string"? -- Jeffrey Kain jeffrey.k...@gmail.com > On Jan 5, 2017, at 5:08 PM, Kirk Brooks wrote: > > Working with an old project that'

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-05 Thread Kirk Brooks
Hi Jeff, I first noticed it using the json component of NTK. But to test I tried this: C_TEXT($text) $text:="x"*34000 $x:=Length($text) $x is 32000. I tried some tricks like using BLOBs but none of that seems to matter. On Thu, Jan 5, 2017 at 2:14 PM, Jeffrey Kain wrote: > Are you using an ol

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread Kirk Brooks
On Thu, Jan 5, 2017 at 2:08 PM, Kirk Brooks wrote: > What's the dang deal here? > ​Well, I'm not really sure what the deal is but I resolved it by running MSC, correcting a few other, unrelated problems, and then running 'repair'. Verified with: ​C_TEXT($text) $text:="x"*5 $x:=Length($text)

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread Keisuke Miyako
I remember there was a bug where if you upgrade from v11 straight to v13 unicode mode was deactivated yet the compatibility dialog told otherwise. > 2017/01/07 2:26、Kirk Brooks のメール: > ​Well, I'm not really sure what the deal is but I resolved it by running > MSC, correcting a few other, unrelate

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread Kirk Brooks
Hi Miyako, That may have been the issue. I wasn't part of the project at that time but it's possible. It would be consistent with the behaviour I observed. The good news is MSC/repair seems to fix it. On Fri, Jan 6, 2017 at 4:29 PM, Keisuke Miyako wrote: > I remember there was a bug where if yo

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread Tim Nevels
On Jan 6, 2017, at 7:18 PM, Keisuke Miyako wrote: > I remember there was a bug where if you upgrade from v11 straight to v13 > unicode mode was deactivated yet the compatibility dialog told otherwise. Miyako, you are the king of 4D secrets and details. You are a human 4D wikipedia! OK, there ma

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread David Adams
Will the initials DPA serve? I don't have insights into the 4D internals. I've always approached 4D as a black box and only believe what I can measure. That's served me very well down the years. Below are some thoughts on CALL WORKER and CALL FORM. For what it's worth, I consider these the most im

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread David Adams
> Anything computationally expensive that's naturally suitable for > parallelization. Not all problems are easy to parallelize. Dividing the work > and marshaling the results can end up being more trouble than it's worth. Then > again, when it's good...it's great. Well, a few ideas...keeping in mi

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread Tim Nevels
On Jan 6, 2017, at 8:28 PM, David Adams wrote: > Will the initials DPA serve? I don't have insights into the 4D internals. > I've always approached 4D as a black box and only believe what I can > measure. That's served me very well down the years. Now that you mention it, I think DPA should defin

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread David Adams
> On Sat, Jan 7, 2017 at 2:21 PM, Tim Nevels wrote: > Didn’t mean to slight you. And you definitely do contribute more than JPR on > the iNUG now. D'oh! I came across like a whiney prima donna. Sorry for that, not my intention. Hey, JPR - let me join in in asking for some ideas from you. You've

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-06 Thread JPR
n 2017, at 03:28, 4d_tech-requ...@lists.4d.com wrote: > > Subject: Re: Why does a converted v13 db limit text vars to 32k? > Message-ID: <30167d9f-3015-4b5e-9546-c42e35853...@mac.com> > Content-Type: text/plain; charset=windows-1252 > > On Jan 6, 2017, at 7:18 PM, Keisuke Miya

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-07 Thread Jeffrey Kain
On Jan 6, 2017, at 9:27 PM, David Adams wrote: > Logging! > If you write a custom log file, it's a total pain to have to manage writes > from multiple processes. Don't. Everything calls into CALL PROCESS Did you mean CALL WORKER here? You mention CALL PROCESS a few times in these last few post

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-07 Thread David Adams
Jeff, Thanks for the proofreading. Right, I was never meaning CALL PROCESS. Just CALL WORKER and CALL FORM (which is more like CALL FORM INSTANCE WINDOW, or something.) You've worked with very large-scale 4D systems for as long as anyone, so any comments and thoughts that you might have on these

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-07 Thread Tim Nevels
On Jan 7, 2017, at 2:00 PM, JPR wrote: >> I’m sure JPR has an email filter that flags messages that includes “JPR” so >> he’s reading this. > Gosh! Tim, you've caught red-handed! You’re not the only one with email filters. I’ve also got one that looks for “JPR” and “David Adams” in iNUG messa

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-09 Thread JPR
[JPR] Hi David, Tim, and others, It seems that January is the time for flooding the street with flowers ;-) Let's try to make a long story short: When I came back to 4D, I met (for the 1st time) Keisuke in Vegas. I was very happy to meet him, for he is an absolute Wizard in programming, and I

Re: Why does a converted v13 db limit text vars to 32k?

2017-01-09 Thread David Adams
Thanks for the post. You should get a T-Shirt printed for your tour in black with white writing It depends. ;-) And, of course, it really does depend. Operations at scale are different than operations on small collections. They're different problems. Yet another reason it's helpful to have a