Re: HTML Tag Mismatch Finder!
Not a WYSIWYG editor, but BBEdit has a nice document syntax checker. John DeSoi, Ph.D. > On Oct 16, 2016, at 7:49 PM, Sujit Shah wrote: > > Has anyone got suggestions on WYSIWYG editors other than DW and MS Visual > Web? Something more basic.. ** 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 **
Editing object arrays in dynamically built columns
Hey Wendell, Glad it helped. I know how frustrating it was! John... > HI John. > > I got stuck on this issue for a half day before seeing your response below. > Thanks for pointing it out. > > Wendell Turner > >> On 25 Sep 2016, at 22:43, truegold wrote: >> >> Hey All, >> >> Never mind! I found it. >> >> Need to make sure that the listbox property Entry->Focusable is clicked. >> Change the “Focusable” property in design and now the column is editable. >> >> Ugggh! Spent 1/2 day diagnosing that. >> >> John... >> >>> In fact I have added another column that is just an array of text values >>> and I cannot change it into an edit mode either? So is there something >>> about having an object array in a listbox…? ** 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: Sharepoint vs 4D
We have used SharePoint for Questionnaires/Surveys. While it certainly works for that, it's not the best tool we could have chosen. We used it cause it was available, and because someone over here was just back from a weeklong course and was currently at the top of the Hype curve with it. One major downside is being able to move projects through the Dev/Test/Production cycle. We typically have three databases that we cycle through during the process (Dev/Test/Production). In SharePoint, you will NOT be able to do this. Moving work from one to another, all the links break. Also, at times, the global updates pushed down by IT break users settings etc. SharePoint is basically a FileSharing platform that works best if you want to collaborate with others and share a centralized repository Excel, Word, Powerpoint, PDF files, etc. Though it can be tweaked to do all sorts of stuff it wasn¹t really intended to do, it is by no means a database. Of course, if your systems main objective is to manage a collection of files as mentioned above (Excel, Word, Powerpoint, PDF files), you may have a tough sell with 4D. Just my 2 cents -- John Crissey, Contractor Systex, Inc CRIMSON Program Manager National Institute of Allergy and Infectious Diseases BG 5601FL RM 4C19 5601 FISHERS LN ROCKVILLE MD 20852 240-669-5239 jcris...@niaid.nih.gov On 10/14/16, 7:27 AM, "David Samson" wrote: >Hello Robert, > >I found this which appears to be fair comparison. > >https://msdn.microsoft.com/en-us/library/ff647105.aspx > >David > > >> I have client that wants to rewrite an old 4D database from scratch. At >> least one member on the board is pushing for us to consider Sharepoint >>or >> another non-4D approach. I know very little about SP. I'm told it's >>like a >> glorified excel spreadsheet Any particular points I should keep in >>mind >> as I defend 4D? >> >> Thanks, >> >> Robert >> >> >-- >D Samson >** >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 **
HTTP Request not working on macOS Sierra (4D 13.5)
Can anybody confirm that the command HTTP Request works correctly on macOS Sierra 10.12 with 4D 13.5? It simply get an empty response. Same code works on macOS El Capitan 10.11.4. Thank you very much for any hint. Peter -- View this message in context: http://4d.1045681.n5.nabble.com/HTTP-Request-not-working-on-macOS-Sierra-4D-13-5-tp5747954.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 **
Spacebar doesn't advance cursor
In a 4D v15 client/server db on Windows 7, more than one user has reported that when typing in any alpha or text field they press the spacebar one or more times, the cursor does not advance. Only when they type any other character (following the spacebars) does the cursor jump ahead. Anyone else experiencing this and have a fix? David --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ** 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: Spacebar doesn't advance cursor
Only in the case of a right justified text field, but I don't know of a solution. Keith - CDI > On Oct 17, 2016, at 1:59 PM, David Rose wrote: > > In a 4D v15 client/server db on Windows 7, more than one user has reported > that when typing in any alpha or text field they press the spacebar one or > more times, the cursor does not advance. Only when they type any other > character (following the spacebars) does the cursor jump ahead. > > Anyone else experiencing this and have a fix? > David > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > ** > 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: HTTP Request not working on macOS Sierra (4D 13.5)
Hi Peter, I think there is a bug in 13.5, fixed in 13.6, that HTTP Authenticate only sends 38 characters of password... > On Oct 17, 2016, at 11:27 AM, Peter-Christian Miest wrote: > > Can anybody confirm that the command HTTP Request works correctly on macOS > Sierra 10.12 with 4D 13.5? > It simply get an empty response. Same code works on macOS El Capitan > 10.11.4. > > Thank you very much for any hint. > Peter ** 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 **
Execution Control Buttons in V15R5 Debugger
4D: "because we can" is *not* a good reason to change the sequence of buttons in the debugger. *Please* — put the buttons back the way they were OR add a compatibility setting OR allow us to configure the button bar. Thank you. -- Douglas von Roeder 949-336-2902 ** 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: Spacebar doesn't advance cursor
maybe ACI0095427 (fixed in 15.2.HF2) another workaround would be to set "word wrap" to "no" > 2016/10/18 3:59、David Rose のメール: > Anyone else experiencing this and have a fix? 宮古 啓介 セールス・エンジニア 株式会社フォーディー・ジャパン 〒150-0043 東京都渋谷区道玄坂1-10-2 渋谷THビル6F Tel: 03-6427-8441 Fax: 03-6427-8449 keisuke.miy...@4d.com www.4D.com/JP ** 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 **
Parsing unnamed parameters from urls
I'm working on an api server and needed a way to grab parameters from the url by their placement. i.e., from "/api/people/uuid/" I want the table name and the uuid. If I received /api/?table=people&id=uuid then 4D's Web Get Variables would work just fine. So, I came up with this (cribbed from the 4D Docs on *Match regex*(: *C_TEXT*($text;$match;$key) *C_BOOLEAN*($found) $text:="/api/people/E862F2A87B4A453087D794576B7E51B0/" $match:="/api/(\\w+)/(\\w+)/" *ARRAY LONGINT*($position_found_array;0) *ARRAY LONGINT*($length_found_array;0) $found:=*Match regex*($Match;$text;1;$position_found_array; $length_found_array) *If *($found) $table_name:=*Substring*($text;$position_found_array{1};$length_found_array {1}) *If *(*Size of array*($position_found_array)>=2) $key:=*Substring*($text;$position_found_array{2};$length_found_array{2}) *End if * *End if * ** 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: Parsing unnamed parameters from urls
For a different take, here's the old school version I get to parse URL items into an array: // WebRequest_ParseURLItems // Strip parameters off URL and parse the remainder into items. // 4D automatically URL decodes the incoming data before it arrives. // Otherwise, this routine would need to convert special characters // encoded as hex in the incoming URL. C_TEXT($1;$request_url) $request_url:=Text_TrimLeadingSlash ($1) // Don't want a leading / If ($request_url="@/") // Don't want a trailing / $request_url:=Substring($request_url;1;Length($request_url)-1) // Drop the first character. End if // This routine is only interested in regular URL items before any ? // and special arguments. C_LONGINT($question_mark_position) $question_mark_position:=Position("?";$request_url) If ($question_mark_position>0) $request_url:=Substring($request_url;1;$question_mark_position-1) End if ARRAY TEXT(WebRequest_URLItems_at;0) // Parse the script URL into array items: Text_ParseIntoArray ($request_url;->WebRequest_URLItems_at;"/") // Save the original URL in the 0 element: WebRequest_URLItems_at{0}:=$request_url // End of routine. I've then got a function to read an item by position safely. I'd expect that most of us have something like Text_ParseIntoArray in our toolkits already. ** 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: Parsing unnamed parameters from urls
would it not be safer to specify [^/]* = "anything but a forward slash" instead of \\w which can match word breaks other than a forward slash? > 2016/10/18 10:00、Lee Hinde のメール: > > $match:="/api/(\\w+)/(\\w+)/" 宮古 啓介 セールス・エンジニア 株式会社フォーディー・ジャパン 〒150-0043 東京都渋谷区道玄坂1-10-2 渋谷THビル6F Tel: 03-6427-8441 Fax: 03-6427-8449 keisuke.miy...@4d.com www.4D.com/JP ** 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: Questions about workers
I have many of the same questions you do about Workers. I only discovered the new concept of Workers three days ago and am running experiments to try to figure them out myself. But I can offer up the following. As for High Velocity: I created an iteration loop that called a Worker. The only thing that I had the Worker do was to Create a new record, store the iteration number + current date + current time in it and save the record. I set it up for 500,000 iterations. It took about the same time as just running in the same process (I didn’t exhaustively compare numbers). It doesn’t seem to have the normal time lag that would occur to start up a New Process. Anyway, it was very fast. I was also concerned about what would happen when a Worker was given a new request while it was still executing a previous request. So I lmited the integration to just 20 records, but introduced a 3 second time delay. It stored up those requests and executed all of them. It did not drop any of the request on the floor. I believe it executed the Worker requests in the same sequence of the Worker calls from my iteration loop, but I am not certain about that. I now am wondering what the limit is for the number of requests to the Worker that can be stored up? I did discover what I think is a Worker bug in doing these simple tests. Each time I ran these little tests, the very last record that was created and then saved by the Worked is edit locked. It can’t be deleted. I hope this helps at least a little bit. David Belote Colorado Springs On 10/16/16, 10:18 AM, "4D_Tech on behalf of Foucauld Perotin" <4d_tech-boun...@lists.4d.com on behalf of fp.lis...@teluric.com> wrote: Hi, I have some questions about workers. Sorry if it is obvious for some of you. I still don’t feel so comfortable with this new stuff. - May the workers be local processes? (naming them with a $, I guess) - What about the stack size ? I see nothing about that, and I do not understand why. I guess the stack will have the mystery "default size", but I’m not sure... ;) - I know that preemptive execution implies no interprocess variables. OK. But, if the preemptive aspect is not a priority for me now, can I still use inteprocess variables without any problem in my workers? – Is the use of workers not for a high velocity compute section of an app, but for a regular part, with basic records filling and so, reasonable or not? with the idea to call the worker-process by the "call form" command, when needed). Why would I do that? Because some of my apps have a concept of several permanent processes with reuse of those. So, the workers would be better than the processes which are most of the time sleeping, then wake up, then go back to sleep, and so on... Thanks for your upcoming replies! :) -- Foucauld Pérotin Try again. Fail again. Fail better. Samuel Beckett ** 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 **
Indexed field
Hi All, Someone know the documentation or one demo database where i can see the bet way to set the indexed fileds? ( The indexing type in the structure field settings ) Thanks /Ferdinando/ ** 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 **