Re: v14 and OS Sierra - Any real life issues
Am 16.06.2017 um 07:17 schrieb Ronald Rosell via 4D_Tech <4d_tech@lists.4d.com>: > > Main issue I ran into was running it on a new MacBook Pro with touch bar; you > need 4D 15.4 or higher for that to work. 4D v 14.x just quits on you on a > touch bar Mac. (The workaround is to bring up a VM in a program like > Parallels running El Capitan; that will work, even on a touch bar Mac.) Although it is a bit tedious, you can work 14 on Sierra with Touch Bar. It does crash from time to time (from 5 times in a day, to sometimes not at all), and whenever it does: - Open MSC - Repair Structure In 90% of the cases you will be able to work on. Just save that 590 line method frequently… As for accessing Servers, create an empty structure, open it and then connect to the server. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: v14 and OS Sierra - Any real life issues
Main issue I ran into was running it on a new MacBook Pro with touch bar; you need 4D 15.4 or higher for that to work. 4D v 14.x just quits on you on a touch bar Mac. (The workaround is to bring up a VM in a program like Parallels running El Capitan; that will work, even on a touch bar Mac.) On earlier Macs (pre-touchbar) with Sierra I haven’t encountered issues running an existing database, although I’ve not tried to do much dev work on v14 under Sierra so there may be development interface issues. Ron Rosell __ Ron Rosell President StreamLMS > On Jun 15, 2017, at 7:38 PM, Mitchell Shiller via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hi, > > The compatibility chart says “Compatible” but not “Certified”. Any real life > issues, show-stoppers, annoyances? > > Both for Server and Developer. > > > > TIA > > Mitch > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
v14 and OS Sierra - Any real life issues
Hi, The compatibility chart says “Compatible” but not “Certified”. Any real life issues, show-stoppers, annoyances? Both for Server and Developer. TIA Mitch ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Cleaning Text & Replace string speed
as a match regex exercise, you could do... $test:=Method1 ("abcdefghijklmnopqrstuvwxyz";\ Character code("k");Character code("m");\ Character code("d");Character code("y")) //dklmy > // > // Method: StringOmit > // - Uses REPLACE STRING* to clear characters > // INPUT1: Text - to strip > // INPUT2: Longint - lowest allowed character code > // INPUT3: Longint - highest allowed character code > // INPUT{4}: Longint - additional allowed character codes > // > // OUTPUT: Text - with remaining characters > // > > C_TEXT($1;$in;$0;$out) > C_LONGINT($2;$3) > C_LONGINT(${4}) > > C_LONGINT($i;$pos;$len) > C_TEXT($min;$max;$motif) > > $min:="\\u"+Substring(String($2;"&x");3) > $max:="\\u"+Substring(String($3;"&x");3) > > $motif:="["+$min+"-"+$max > > For ($i;4;Count parameters) > $motif:=$motif+"\\u"+Substring(String(${$i};"&x");3) > End for > > $motif:=$motif+"]+" > > $in:=$1 > > $i:=1 > > While (Match regex($motif;$in;$i;$pos;$len)) > $out:=$out+Substring($in;$pos;$len) > $i:=$pos+$len > End while > > $0:=$out > ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
RE: v16 sort editor
Timothy, thanks for your reply. I presume it wouldn’t take much to add a "sort fields” command to the existing sort and expression editor, but what do I know… I will try your suggestion. Thanks, Keith > I think the only reason the Query Editor has the fields in alphabetical order > is because of the recent redesign. > I am not sure if there is any plan to redesign the Sort Editor; it certainly > isn't listed as a bug. > So, to work with the current behavior, I think you can use the SET FIELD > TITLES command:… ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Cleaning Text & Replace string speed
I could not find it in the archives, so I quickly wrote a method to strip two unwanted, but unidentified characters from a body of text (6mb). Each acceptable character was added to the output text var. I stopped it after an hour of the compiled code not returning a result. Since I am always impressed at how fast 4D commands are, I gave "Replace string" a try. The same text file took 37 seconds to clean two offending characters, and 17 seconds to clean all but uppercase only characters from the same text, and in interpreted mode. It took about 4 seconds in compiled mode for both tests. Here's the code. Keith - CDI // // Method: StringOmit // - Uses REPLACE STRING* to clear characters // INPUT1: Text - to strip // INPUT2: Longint - lowest allowed character code // INPUT3: Longint - highest allowed character code // INPUT{4}: Longint - additional allowed character codes // // OUTPUT: Text - with remaining characters // C_TEXT($inText;$1;$0;$outText) C_LONGINT($i;$len;$low;$2;$high;$3;$cp;$cc;$start) C_BOOLEAN($hasAdded;$canAdd) $inText:=$1 $len:=Length($inText) $low:=$2 $high:=$3 $cp:=Count parameters If ($cp>3) $hasAdded:=True ARRAY LONGINT($added;0) For ($i;4;$cp) APPEND TO ARRAY($added;${$i}) End for End if $start:=1 $i:=$len+2 If ($hasAdded) // also test the array of additional characters While ($start<=$len) & ($i>($len+1)) For ($i;$start;$len) $cc:=Character code($inText[[$i]]) If ($cc<$low) | ($cc>$high) & (Find in array($added;$cc)<1) $inText:=Replace string($inText;Char($cc);"";*) $start:=$i $i:=$len+2 $len:=Length($inText) End if End for End while Else // no point in testing an empty array While ($start<=$len) & ($i>($len+1)) For ($i;$start;$len) $cc:=Character code($inText[[$i]]) If ($cc<$low) | ($cc>$high) $inText:=Replace string($inText;Char($cc);"";*) $start:=$i $i:=$len+2 $len:=Length($inText) End if End for End while End if $0:=$inText ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: What are some causes of Plugin and Component folder synchronization errors?
On Thu, Jun 15, 2017 at 11:53 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Nigel, > Yeah, that sounds like regular rolling on the floor laughing material... > > It's a good tip though. Thanks > Actually it sounds like a big money maker to me. No laughing matter. Regards Chuck -- - Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc. Brookline, MA 02446 USA Registered 4D Developer Providers of 4D, Sybase & SQL Sever connectivity http://www.informed-solutions.com - This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: Connecting to Exchange Server with IMAP
Hello Jason, DID you get this resolved I am alos getting error 10061 tryint to connect to exchnage via imap. SMTP is ok. Bit confused about tls vs ssl and the last param. Which combination of 0 or 1, Tls or SSL and port 143 or 993 ? Thanks Paul -- View this message in context: http://4d.1045681.n5.nabble.com/Connecting-to-Exchange-Server-with-IMAP-tp5745081p5752610.html Sent from the 4D Tech mailing list archive at Nabble.com. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: What are some causes of Plugin and Component folder synchronization errors?
Nigel, Yeah, that sounds like regular rolling on the floor laughing material... It's a good tip though. Thanks On Thu, Jun 15, 2017 at 8:48 AM, Nigel Greenlee via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Kirk..Could be i have heard funny things happen with the new protocol.. > > I can tell you a funny story though about a load balancer. > > I was working on a project(non-4D related) in which we were setting up > users mobiles phones. The setup made a connection into the company > infrastructer, we kept getting stuck with some phones just not getting a > connection..lots of angst and a big blame fest…threats to throw us out of > the building etc…weeks in(when nearly finished) they found the load > balancer had a IP in its balancing list that no longer existed-so when we > started setting up 10 phones at a time one of them would get directed to > that IP and nothing would happen! > > Good luck with network… > > Nigel Greenlee > > > > On 15 Jun 2017, at 16:29, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > > > Nigel, > > I've narrowed it down to some issue with the network. There isn't > anything > > particularly huge in the plugin or network folders. But watching the > actual > > data transfer (that is, watching the graph on Little Snitch) I see that > the > > download just stops and then 4D times out and puts up the "Couldn't sync > > Plugins folder" message. Just contacted my guy at the colo asking if they > > installed any load-balancing stuff as first thought. He says no. > > > > I wonder if this is an artifact of the 4D network protocol? > > > > On Wed, Jun 14, 2017 at 10:14 PM, Nigel Greenlee via 4D_Tech < > > 4d_tech@lists.4d.com> wrote: > > > >> A few months back I was testing something out that resulted in my > creating > >> large files(>2gb) inside my .4dbase(package). When i logged in from > >> ‘client’ to server i noticed a significant load on folder synching and > the > >> synching would then fail. > >> > >> It is worth checking you have not ended up with something large in your > >> folder that is synching to client. > >> > > -- > > Kirk Brooks > > San Francisco, CA > > === > > > > *The only thing necessary for the triumph of evil is for good men to do > > nothing.* > > > > *- Edmund Burke* > > ** > > 4D Internet Users Group (4D iNUG) > > FAQ: http://lists.4d.com/faqnug.html > > Archive: http://lists.4d.com/archives.html > > Options: http://lists.4d.com/mailman/options/4d_tech > > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > > ** > > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** > -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: What are some causes of Plugin and Component folder synchronization errors?
Kirk..Could be i have heard funny things happen with the new protocol.. I can tell you a funny story though about a load balancer. I was working on a project(non-4D related) in which we were setting up users mobiles phones. The setup made a connection into the company infrastructer, we kept getting stuck with some phones just not getting a connection..lots of angst and a big blame fest…threats to throw us out of the building etc…weeks in(when nearly finished) they found the load balancer had a IP in its balancing list that no longer existed-so when we started setting up 10 phones at a time one of them would get directed to that IP and nothing would happen! Good luck with network… Nigel Greenlee > On 15 Jun 2017, at 16:29, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Nigel, > I've narrowed it down to some issue with the network. There isn't anything > particularly huge in the plugin or network folders. But watching the actual > data transfer (that is, watching the graph on Little Snitch) I see that the > download just stops and then 4D times out and puts up the "Couldn't sync > Plugins folder" message. Just contacted my guy at the colo asking if they > installed any load-balancing stuff as first thought. He says no. > > I wonder if this is an artifact of the 4D network protocol? > > On Wed, Jun 14, 2017 at 10:14 PM, Nigel Greenlee via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> A few months back I was testing something out that resulted in my creating >> large files(>2gb) inside my .4dbase(package). When i logged in from >> ‘client’ to server i noticed a significant load on folder synching and the >> synching would then fail. >> >> It is worth checking you have not ended up with something large in your >> folder that is synching to client. >> > -- > Kirk Brooks > San Francisco, CA > === > > *The only thing necessary for the triumph of evil is for good men to do > nothing.* > > *- Edmund Burke* > ** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ** ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **
Re: What are some causes of Plugin and Component folder synchronization errors?
Nigel, I've narrowed it down to some issue with the network. There isn't anything particularly huge in the plugin or network folders. But watching the actual data transfer (that is, watching the graph on Little Snitch) I see that the download just stops and then 4D times out and puts up the "Couldn't sync Plugins folder" message. Just contacted my guy at the colo asking if they installed any load-balancing stuff as first thought. He says no. I wonder if this is an artifact of the 4D network protocol? On Wed, Jun 14, 2017 at 10:14 PM, Nigel Greenlee via 4D_Tech < 4d_tech@lists.4d.com> wrote: > A few months back I was testing something out that resulted in my creating > large files(>2gb) inside my .4dbase(package). When i logged in from > ‘client’ to server i noticed a significant load on folder synching and the > synching would then fail. > > It is worth checking you have not ended up with something large in your > folder that is synching to client. > -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **