Search found 26 matches

by jGoff
Tue Jan 17, 2017 10:40 pm
Forum: Language
Topic: interleave/join strings
Replies: 23
Views: 70675

Re: interleave/join strings

This post was written as a revision to my last post. Now that I realize that an author can edit his own post, I have done that. (Thanks Vince.)

I have also tried to delete this post, but the forum software won't accept an empty post and I cannot find the "Delete" button.
by jGoff
Tue Jan 17, 2017 7:42 pm
Forum: Language
Topic: interleave/join strings
Replies: 23
Views: 70675

Re: interleave/join strings

Re: using "dxb ⍕" can fail if an item of the argument has blanks. To my mind, that all the algorithms use a ' ' delimiter seems to imply that the argument items are not expected to have embedded blanks. With "⍕" it's true that you are stuck with blanks as delimiters between items, but if that's okay ...
by jGoff
Mon Jan 16, 2017 4:05 pm
Forum: Language
Topic: interleave/join strings
Replies: 23
Views: 70675

Re: interleave/join strings

⍝The very laziest among us might choose to go with monadic format ]display ⍕'this' 'is' 'a' 'test' ┌→────────────────┐ │ this is a test │ └─────────────────┘ ⍝and then perhaps ∇dxb "Drop eXtraneous Blanks" from the dfns library ]display dxb ⍕'this' 'is' 'a' 'test' ┌→─────────────┐ │this is a test│ └─ ...
by jGoff
Sun May 18, 2014 11:48 pm
Forum: Language
Topic: C# Compatible File System
Replies: 10
Views: 31184

Re: C# Compatible File System

[Pierre] SimpleNumericArraytoJSON←{⎕PP←10 ⋄ 1⌽'][',(('¯'⎕R'-')(' '⎕R',')⍕(⍴⍴⍵),(⍴⍵),,⍵)} JSONtoSimpleNumericArray←{(js[1]↑1↓js)⍴(1+js[1])↓js←2⊃','⎕VFI('-'⎕R'¯')1↓¯1↓⍵} [Jim] Using the "Dyalog .Net Interface" to pass a simple APL numeric array to C#, will get you a C# array of the same type, rank, dim ...
by jGoff
Fri May 16, 2014 2:42 pm
Forum: Language
Topic: C# Compatible File System
Replies: 10
Views: 31184

Re: C# Compatible File System

If I were looking at this again, the first thing I would to is take off my APL hat and not pass everything through the same code, i.e. not code and decode everything into JSON or anything else. I don't know the profile of your data, but if most of it is .Net friendly, as most data usually is, then ...
by jGoff
Thu Apr 17, 2014 3:01 pm
Forum: Microsoft.NET
Topic: Source Code Example - Scraping a Web Page
Replies: 10
Views: 42347

Re: Source Code Example - Scraping a Web Page

Always good to have a simple "scraper" on hand. Using v12.1, it worked the first time after a copy and a paste. (Careful not to let the first ⎕NEW line wrap.) Thanks for sharing.

P.S. Not to mention that if I ever have a toothache in Ithaca, I'll know where to go.
by jGoff
Tue Mar 26, 2013 5:52 pm
Forum: APL Chat
Topic: Windows 8/Dyalog reality check
Replies: 3
Views: 10625

Windows 8/Dyalog reality check

With the Windows 8 operating system comes the "Windows App Store" and "Windows App Store apps". Is anyone familiar with the necessary ingredients for a "Windows App Store App"? In particular can Dyalog be used to create one? I assume there are both technical and licensing issues. How close is Dyalog ...
by jGoff
Sun Jun 10, 2012 1:19 pm
Forum: APL Chat
Topic: is pocketAPL suitable for current windowsPhone
Replies: 1
Views: 6280

is pocketAPL suitable for current windowsPhone

Is the current version of Pocket APL compatible with a modern Windows Phone?

Thanks,
Jim G.
by jGoff
Wed Apr 27, 2011 9:17 pm
Forum: APL Chat
Topic: v13 IME User Guide
Replies: 0
Views: 4350

v13 IME User Guide

Anyone know whether the new IME User Guide exists yet and where to find it?

What I'm really looking for is a diagram of the IME keyboard layout in all its modes. Is there an easier place to find this?

Thanks,

Jim G.
by jGoff
Fri Feb 25, 2011 4:39 pm
Forum: APL Chat
Topic: new thinkpads vs. dyalog special keystrokes
Replies: 5
Views: 12604

Re: new thinkpads vs. dyalog special keystrokes

Thanks Joho, your sage advice from last spring just bore fruit. Posting to m solved the problem. The incubation period was 10 months, but success is success and it's great to have my Thinkpad keyboard working again in standard fashion. Intel software turns out to have been the culprit for stealing ...