« first day (681 days earlier)      last day (1957 days later) » 

12:30 AM
@Adám Done
 
 
2 hours later…
2:54 AM
I am trying to golf "get the border elements of a table" in J (repeated corners allowed). I have a few ideas here but am searching for improvements: Try it online!
 
3:29 AM
 
@Bubbler Interesting, I rarely think to assign verbs. I like it better than mine, but it still feels like it should be simpler.
 
@Bubbler nice.
 
 
3 hours later…
7:05 AM
@scytale Welcome. If you want write access, please email me to adam@ with the domain of www.dyalog.com
 
 
7 hours later…
2:32 PM
We have 4 more Dyalog’18 videos out this week which address both the visible (user interface) and invisible (performance) parts of application design - you can find the introductory blog post with links to the videos at https://www.dyalog.com/blog/2018/12/dyalog-18-videos-week-3/ We hope you enjoy watching them!
 
3:24 PM
@ngn could you provide the apl solution?
 
ngn
@Cowsquack sure:
⎕io←0
a←⍉↑⍎¨'.+'⎕s'&'⊃⎕nget'6.txt'
a-[0]←⌊/a          ⍝translate to top-left limit
n←1+⌈/a            ⍝size of bounding rect
i←n⊤⍳×/n           ⍝lattice points
d←a∘.-⍤1⊢i         ⍝deltas by x and y
d←+⌿|d             ⍝manhattan distances
c←d=[1]⌊⌿d         ⍝bool matrix of closest points
c←c×[1]1=+⌿c       ⍝only the unambiguous
b←∨⌿(i=[0]n-1)∨i=0 ⍝bool mask of boundary points
⌈/(~⌈/b×[1]c)∧+/c
⎕off
 
thanks
@ngn nice solution
 
ngn
@Cowsquack thanks
 

« first day (681 days earlier)      last day (1957 days later) »