« first day (1457 days earlier)      last day (1187 days later) » 

1:02 PM
∇ val←limitsHit value
    val←+/{(⍎∊'{'⍵'}')value}¨limits
∇
 
@KamilaSzewczyk how many different lengths can aStart have?
 
if i wanted to turn this outer tradfn into dfn
@Adám 3
nothing, one element, two elements
[continuing], i'd need to pass value being omega to the other value below, and the only way would be redefining omega, but i think i could pass it as alpha to the inner dfn, so how would I do that?
 
@KamilaSzewczyk The inner :If can be iterator←(1⌈≢aStart)⊃'⍵+1'(2⊃aStart)
 
ngn
@KamilaSzewczyk why not a dop instead of dfn?
 
ngn
1:04 PM
{⍵×2}Stream 2 instead of Stream '⍵×2' 2
 
that'd be nice
i'll need to then restructure the entire code
but my process of thought is much better when i have a working prototype to work with
 
ngn
then limit can be another operator that takes a limiting function and a stream, and returns another stream
 
ngn
the "stream object" could be a namespace, as adam suggested
 
are namespaces instantiable in APL?
 
ngn
1:08 PM
yes, ns←⎕ns⍬ and you can assign to it with ns.prop←123 or ns.f←{..}
 
You just create a new one with ⎕NS
 
hmmm
wait
that makes a lot of sense
 
@KamilaSzewczyk APLs namespaces are like JS objects
 
i didn't know that, but now I do
 
ngn
@KamilaSzewczyk but beware, they are mutable objects
which is probably ok for your purposes
 
1:09 PM
how does one copy a namespace?
 
⎕NS
 
hmm, i see
thanks
@ngn oh wait
so i'd be able to assign this dfn on the left into the namespace, and this way invoke it elsewhere
 
Pro-tip: APLcart can help with many namespace-related tasks.
@KamilaSzewczyk Yes.
 
yeah this is much better design
 
ngn
@KamilaSzewczyk yes, i mean something like Stream←{s←⎕ns⍬⋄s.next←⍺⍺⋄s.initial←⍵}
 
1:11 PM
i didn't know i can do that
I see now
 
no results :(
 
@rak1507 Not your favourite Dyalog feature?
 
"how to go back in time and inspire john scholes to make dfns before tradfns are a thing" :)
 
@rak1507 It isn't as if you must use them.
 
@xpqz I'm half joking
 
1:13 PM
@KamilaSzewczyk I wish I could find the video where John Scholes uses a negative argument to ⎕DL
We should totally amend the error message for that:
      ⎕DL ¯3
DOMAIN ERROR: Cannot reverse time
      ⎕DL ¯3
      ∧
 
what if you did ⎕DL ¯something and it inserted the result back the way in the session log
 
@rak1507 That's exactly what happened in the video.
 
yeah I know
 
Did you see the video?
 
I think so, but maybe I just heard about it
 
@dzaima That was basically my point about ⎕EL from yesterday.
 
ngn
Stream←{s←⎕ns⍬⋄s.f←⍺⍺⋄s.x←⍵⋄s}
map   ←{s←⎕ns⍵⋄s.f←⍺⍺∘s.f⋄s}
limit ←{s←⎕ns⍵⋄s.f←⍺⍺{⍺⍺⍵:#.end⋄⍵⍵⍵}s.f⋄s}
each  ←{⍺⍺helper⍵.f⊢⍵.x}
helper←{x←⍵⍵⍵⋄x≡end:⍬⋄_←⍺⍺⍵⋄∇x}
end←⍬

s←{⍵×2}Stream 2
s←{⍵+1}map s
s←{⍵>100}limit s
{⎕←⍵}each s
@KamilaSzewczyk ^my attempt to write it with dfns
 
damn that's really nice
and very short
but i think you forgot filter
 
@ngn nice
 
ngn
1:38 PM
thanks
 
@Adám except that here it's two separate interpreters, not one with different modes
 
@dzaima Right, so even simpler to do in my case.
 
ngn
@KamilaSzewczyk there was no filter in the screenshot. left as an exercise to the reader :)
 
lol
okay, that's very elegant though
much better than whatever i had before
there's no collect too
i think skip n, filter, and collect are hard(er) here because this much as you show (or a bit more) i've had before
 
CMP: What should the error message be when attempting to travel back in time using ⎕DL on a negative number?
2
 
ngn
1:41 PM
@Adám the closest error message from that many seconds ago in the session log :)
or: please insert time travel floppy disc in drive 1. A)bort R)etry F)ail
Stream←{s←⎕ns⍬⋄s.f←⍺⍺⋄s.x←⍵⋄s}
map   ←{s←⎕ns⍵⋄s.f←⍺⍺∘s.f⋄s}
limit ←{s←⎕ns⍵⋄s.f←⍺⍺{⍺⍺⍵:#.end⋄⍵⍵⍵}s.f⋄s}
filter←{s←⎕ns⍵⋄s.f←s.f⍣(⍺⍺⍤⊣)⋄s}
each  ←{⍺⍺{x←⍵⍵⍵⋄x≡end:{}⍬⋄_←⍺⍺⍵⋄∇x}⍵.f⊢⍵.x}
end←⎕ns⍬

{⎕←⍵}each {⍵>100}limit {⍵>10}filter {⍵+1}map {⍵×2}Stream 2
@KamilaSzewczyk ^improved version
(filter doesn't apply to the initial value)
 
i love the fact that it's reversed
but it can most probably be modded easily to the good order
i'll try it later
 
ngn
it's just the way apl syntax works
 
2:14 PM
@Adám time travel was officially deprecated in 2050
 
@rak1507 That's not bad at all: How about "time travel will be deprecated"?
 
Maybe but that seems to imply that it isn't deprecated currently
 
True.
 
@Adám Error: messages to the past were removed in version {increment current version number}
Probably increment three times, to make sure it's not a version in development.
"Programming in the past was disabled during version {} development"
 
2:30 PM
what if dyalog includes some extra secret performance algorithms that only activate if you do ⎕DL⍣¯1
 
RGS
Later today I will be meeting with some college students about a workshop I'll be leading on solving rosalind-type bioinformatics problems. I'll try to sell them the idea of doing the workshop in APL :D
 
@RGS I started doing some of the problems yesterday (in APL), they're pretty good
 
RGS
Yeah they are
 
@Marshall Why "messages"? And not simply "Support for negative values was removed in version 42"?
 
@rak1507 inb4 have it enabling fast yet imprecise math
 
2:42 PM
lol
 
@Adám libtimetravel.so not found
 
@dzaima libtimetravel.so will not be found
How about simply Not implemented yet?
 
@Adám beautiful
DOMAIN ERROR: negative delay not implemented, yet
 
DOMAIN ERROR: Not implemented, yet
 
@Adám might be a bit confusing when e.g. accidentally swapping - args in a complicated function if it doesn't specify what went wrong
 
2:49 PM
Good point.
 
@Adám DOMAIN ERROR: Please do not disturb the temporal realm
 
DOMAIN ERROR: What happens happened.
(nod to Tenet)
 
@Razetime But you can't, so what's the point of asking for it.
 
@xpqz Still need to watch it ⍨
 
DOMAIN ERROR: Cannot access multiverse
      ⎕DL 1J2
      ∧
 
2:54 PM
@Adám :D
 
I like that one
 
@Adám :D yeah
 
what if you did ⎕DL ¯big number and it restyled the IDE to look like a mainframe terminal
 
DOMAIN ERROR: :RORRE NIAMOD
      ⎕DL ¯3
      ∧
 
3:06 PM
@Adám or don't error and delay |⍵ seconds
 
@Razetime How so? That's just wrong.
 
CMC: produce a vector 1 0 1 0 ... of length ⍵
 
⍴∘1 0
 
oops, length ≢⍵
 
What is the nature of ?
Simple vector? Any array?
 
3:08 PM
a vector, so f 1 8 3 4 2 3 should be 1 0 1 0 1 0
 
General vector solution: ≠\1⍨¨
Simple vector solution: ≠\=⍨
 
ah yeah ≠\, I had >\
 
I had 2∘|∘⍳∘≢
too long I guess
 
@Razetime Why not 2|⍳⍤≢?
 
@Razetime 2|⍳∘≢
 
3:10 PM
Well I didn't test it
 
that's wrong with ⎕IO←0 anyway ;)
 
meh
 
Fun solution: ≠\⍬∘⍳
 
IO dependent :(
 
Iterative solution: ¯1(⊢,∘~↑)⍣⎕⊢⍬
 
ngn
3:14 PM
@dzaima that's a good one :) also: "downloading libtimetravel.so ..", progress bar going backwards, and suddenly: "download failed, please try again 5 minutes ago"
 
DOMAIN ERROR: Too late
      ⎕DL ¯3
      ∧
 
@Adám ; try again 3 seconds ago
 
@Adám too early is also good
 
@ngn I like that one
 
Or simply DOMAIN ERROR: Not yet
DOMAIN ERROR: Wait for it...
 
3:19 PM
Is there a way to remove the parens in ⊢⌺(≢⍵) ?
 
show the history getting deleted line by line to spook the user
 
@rak1507 No, you can never remove the parens around a right operand, just like you cannot around a left argument.
 
:(
 
ngn
@rak1507 yes, <backspace><left><left><left><delete> :)
@Razetime :D
 
⋄ {⎕FMT⍵,⎕UCS(4/8),(4/8),,∘⌽⍨0 32} '⊢⌺(≢⍵)'
 
3:24 PM
@Adám Illegal code
 
@Adám Yeah, the "programming in the past" version is better. To me, "time travel" abstracts it too much to really be funny. And I like suggesting that it's happening in the near future (how exciting!), so bumping the version number is a nice trick.
 
Morten suggested changing it to a NONCE ERROR, to indicate that it might be implemented in the future.
 
nice
 
NONCE ERROR, no message, is nice and subtle, but makes it possible for someone to get tripped up on the unexpected error code.
 
I know, which is why I think a DMX message is a better Easter egg
Apparently, at IPSA the APLers got hyped whenever someone hit a NONCE ERROR, as that meant a new feature was imminent…
 
3:30 PM
What if you do ⎕DL imaginary number and the error is 'maximum number of dimensions exceeded' or something
 
ngn
cmpx '⎕dl 1' '⎕dl ¯1' would be interesting
 
@Adám In my experience NONCE ERRORs are some of the least likely to ever be fixed.
 
what generally causes a nonce error?
 
ngn
⊃0⍴#
 
@rak1507 It basically means "not implemented yet".
 
3:32 PM
ah
cmc: shortest code to cause a nonce error? (probably ngns)
 
from the idiom "for the nonce" = "for the while being".
 
@rak1507 Please write your answers in this dialog box.
 
ngn
@rak1507 2↑#
 
@Adám must be an English idiom as I've never heard it
@ngn ah makes sense I guess
 
@rak1507 Dyalog 13.0: ∊#
 
3:35 PM
that's cheating
 
@Adám Just a plain domain error, but inserted into the session log those many seconds earlier?
 
@user Not only complicated to implement; I just want a harmless Easter egg addition.
If we can find a consensus, I'll try to get this actually implemented.
 
@Adám Oh, I thought it was just a discussion about what might be funny. Yeah, that would be a problematic Easter egg.
 
CMQ: Anyone up for creating a logo for the Safe Execute tool used by the bot, TryAPL, and the competition site?
I was thinking some amalgamation of and a padlock.
 
ngn
3:40 PM
that would be a good representation of how you treat the transparency of competition results
 
RGS
xD
Here we go again.
 
lmao
 
@ngn Right, I need this to put on the competition site.
 
RGS
There you go, you are welcome.
 
beautiful
tbf it's better than I could do
 
 
@RGS Can you try it without the keyhole?
 
ngn
@Adám what if you do get an email requesting transparency?
 
oh no not again
 
@ngn Who says such transparency will be granted? At least we can display the logo until then.
 
RGS
 
3:44 PM
@Wezl That's quite good, but maybe too subtle. Maybe try overlaying and a mirrored ?
 
ngn
@Adám i thought so
 
what about ⍎ on a padlock
hang on
 
@RGS Maybe make the hoop curve inwards a little, to be more like a ?
@rak1507 Oh, you mean as the keyhole? Nice idea.
 
RGS
You mean like this?
 
RGS
3:46 PM
 
something like this but done by someone who can actually draw
where the ⍎ is embedded in the padlock
 
@rak1507 What's up with the hoop?
@RGS That's good.
 
RGS
My take on @rak1507's idea prnt.sc/xdpu2t
 
idk
yeah that works ok I guess
 
@RGS Yeah, that's nice too, but I actually like the idea of the base of forming the bottom of the pad.
 
3:47 PM
what if it was further to the right
hang on
 
@rak1507 Is it open‽
But with connected lines.
 
I don't know if this looks terrible or if I just can't draw
or both!
 
@RGS I think I like this one best.
 
Nice summary. Yeah, I like the centre one best.
Anyone able/willing to make an svg of it?
 
3:50 PM
yeah same
@Adám if you provide me a list of points I can use my bezier interpolation thingy! lol
 
ngn
@Adám for how much £? :)
 
@ngn I was thinking £0, but you want €, no?
 
ngn
лв. actually
 
I'll pay you all my лв.
 
ngn
i'll use all my drawing skill in return :D
 
3:54 PM
@Adám just a padlock with an in it?
 
@dzaima Yeah.
 
damn i've completely forgotten how to use my svg editor
 
ngn
maybe this €0 bill will remind you? :)
 
@dzaima heh use vis/vi/vim
32x32 png favicon-size-ish lock, connected -- goya
 
4:11 PM
I don't need a favicon though.
 
ngn
@Wezl that explains your avatar
 
@ngn actually I made that in tic-80 , but goya is more convenient for exporting
 
OK, whomever sends me an SVG that I accept (subjective judgment, of course) will get a mention in the readme, and see their logo featured on the competition site.
 
 
that's cool is it automated?
@Adám please accept I worked very hard on this
 
4:15 PM
it looks hand drawn keyframed
 
FlipaClip, iPad and an iPad pencil
 
that's cool
 
Agreed, but maybe a tad busy for a logo.
 
How about the glyph inserted half-way from the bottom, like a key?
 
ngn
🔒⍎ <- is there a way to put 2 unicode chars on top of one another?
 
4:18 PM
Although perhaps that's the wrong message.
 
@xpqz Can you sketch it?
 
aaa
https://dzaima.github.io/paste/#07ZhLb9swDMfv@xSCe82Dol52mrTADOzW23bpLWu8xltqB4nXtN9@JCUPSfoYMLQDBqRF8f9FlCiKeoTotJt/XVUX025x8WF6@XC3UvfVZlu3zSzTI8hU1dy0i7q5nWVfPn8a5pnadvNmMV@1TTXLmja7vJhu72/VfV3tPrYPs2yoYQSK/7yQBgD2s6sX3XKWSeP6IVPLqr5ddjSJ2LmF5m62s2zZdevJeLzb7UY7M2o3t2OkLmOaJFMX0/W8W1IIjyua/Vu9Wk0aCuR8223aH9XkDOQnfRzKlBOTj363rOqm@t7WzUTd1V212W@@ma8natP@bBbnmVrMsiss8oFHXbI6D0rUOFFrg8rU@JlwznLg33P@MGzX85u6e5zAyIEuPOR9oGov6hQm/F2UQwQceKPLCBYVQSDICbQ/AuPsMXjswcfhAkYnwMDgCCyDIQAGPfDasR9KkjbJ4SGAfg1ccQDaEbBnDAOX81yGIDBYzn/y7BwmMEUC9KmPeOZRwH2Qdqn3bHMf57I59gAJQughxWM9e6ZkWu97sAksmbDwBJQfzG2C
 
ngn
some of these look more like shopping bags than padlocks
 
true
 
@dzaima Almost there. Can you make the hoop a perfect circle, and maybe grow the little (without increasing its line thickness)?
 
4:26 PM
 
@xpqz Beautiful, btw, but I was thinking the keyhole would be at the front.
Also, it doesn't make so much sense that ⍎ unlocks the lock.
 
Aha, yes, perhaps that would be better.
No, that's perhaps the opposite message.
 
Would make more sense if the padlock was hooked into the ⍎'s loop.
Or around the | inside the ∘
 
Is ⍎ the only restriction?
 
No, it is a locked down ⍎.
Actually, maybe a ⍎ in a safe would make more sense.
Or maybe simply a ⍎ in a box.
 
4:31 PM
sorry I can't see other's submissions, but here is mine
 
 
@xpqz Yeah, but will be hard to "iconise".
 
What is that symbol supposed to be, anyway? A map-pin spearing an olive?
 
shrunk the surroundings instead:
https://dzaima.github.io/paste/#0vVRNb6MwEL37V4y8VwL@BExLK22kve1t95IbSthASw0CNqT/fu0x6SaH7ko9FCm85/HMvKcxzv3j@aWDUz1ObW9LymNGobb7/tDaY0l//vi2ySlMc2UPVdfbuqS2p48P5H46HeHU1svX/lxSFjPwv5S9vSks7WFuSoqr4UyhqdtjM18FnLCdStrM81AkybIs8SLjfjwmgjGWOAEKTmio5sYZeO2c9q@26wrrbNxN89g/18UXhs@63KBkIfP4LdK1tn7qW1vASzvX43V4Xw0FjP1ve7ijcCgp@S5MHinFydYTmTNA1BpRpBkQCsknW@JppLS3lGaegGRpwJwhvmfp1kYBVxZXT@zDUzKRFJJspdCegJQuIFVAnQJBkuWACbkBrHBIRCZDQIcERF@BxLXABNdy1YBdkBPGT0AzT0CILJJcBMRiRxRzp@USlOBY7JFIlSORGccEj8GgJ66FT8CWQQN2/xmmX2z6odq382vBPnDiYZD/HK/iOtLMkO1KgOf8BgnX64aSkTJZwEy6jZV
 
ngn
@xpqz a hydrant
 
4:35 PM
@dzaima That's great. My current favourite.
 
I'm sure that this made sense to Ken in some way.
 
@Wezl I like it, but I think the relying on two-tone is too subtle.
 
It also looks slightly like a door
Almost like a locked door which I suppose works too
 
@Adám the colors come from my conCurr logo, copy-pasted and edited in VS Code for no particularly good reason
 
@Wezl If you increase the line thickness a little, and move the ⍎ into the lock, I might prefer yours.
 
4:44 PM
@Adám now it looks just like dzaima's, how you like it
 
door thing:
https://dzaima.github.io/paste/#07ZfLctowFIb3egqNu3WM7rKckEVZ9wWyo4kLbglmwA3J2/dc5JTMNJdmOqHT1DPw/5aPjoTs8yGfDfPPq/ZcnO1uFvKma/cf@9tpoSol8RPU/Xch993VsJwWFs82t4Vctt1iORw03F6v1rtpsRyGTTOZ7Pf7am@rfruYGKXUBAYoJAy0mQ9LuRvuVu20@NKtVs26X7enu2Hbf2ubD4qOfHpCQza2ru5bVt26/dp360Zed0O7PWy@nG8aue2/r69OC3k1LcQnk@rSOS1maGytJKn3pCZEKQo5eeMp6VA6j1MKEY20KrDWivSxKT2cRiMPppjnpF69Sqm0xoqZNR6NtBYarGP1QQoysZYUUCdJPUCFiZYbPAeQYg8ykIICIGUeQ17wcCbhCniFRhoTS6sNK3UG4xTcLQhwRlNnVGFdTcZGTQGoPEE0kAIDKCWPIS@eWUw8Oek388tuuGvUK@44L@STy@u0L71KYpaN1LV@oEL7fMHZ0qXIGi1cyAbV6J8qRuP8QxWHDdhzVLqAuaEcaKxxMhdvXwHKlTrBepBx
 
@dzaima Can you lower the height of the door on the last one so the middle tip from the top is about the same size (visually) as the inwards pointing "feet"?
 
Too subtle?
 
@xpqz Actually, the fire hydrant itself indicates emergencies, or safety. Maybe a stylised ⍎/fire hydrant hybrid?
@Wezl I kind of like the hard corners on your ⍎
 
@Adám what
 
4:48 PM
@Adám You like them how they were, or how they are?
 
lowered height by random amount idk
https://dzaima.github.io/paste/#07ZTBbtswDIbvegpCu6axJEqW5dY9rOe9QG9p48VuXTtIvDp7@4mUE6TAVhRFD9tQA8n3W6ZEihL@q3F119XX4mr/vIHntp6@DodKqqUC@uXq9C9hatdjU0mkt@1BQlO3m2Y8Gzg8df2@ks04bsssm6ZpOeFy2G0yo5TKYgIJMdF2NTawH392dSW/t11X9kNfX@7H3fBYl18UP/PrBacssVieRrq2rx@Gti/hqR3r3fnw/Wpbwm740a8vJawrKb6ZUCxssOKGBSIQMcxUDoSE7HclvSyjhLMS55rUu0sKC8yDuEHjSABiHCgU0yoDgoWxQAEWHdAMojAe04BLAUyaQYKWoABacs4Bt3M69LEDTpEAY/wCXcFMk0nYHCjA5j6lixRoCxboNQcwucAoaAkK4CVTDrj9QzPfeb6pba82Uxd64VRspnY5CdA2tij4RI8gjoJo5gAif9AmNlPbOJMvRITAwhCtS1@JHH4URFrvSP5AGa1VXIHVjik@thlvvOzGqnTZtQ@8p7jNtDf3
 
@Wezl How they were, i.e. not APL385-style.
@Adám needs adjustment so the gaps are more equal.
 
@Adám literally just change one word
 
that
https://dzaima.github.io/paste/#0vZTBbtswDIbvegpCu3qxLEqW7NY9rOe@QG/Z4sXeHDtItDp9@4qUE2RAWxTFsADO95umSPqX4Nuw/j60d@L2@LSFp76dv02nRqqVArpKdfmXMPeb0DWS7/YnCV3bb7twFTjthvHYyC6EfZ3n8zyvZlxNh22ulVJ5bCAhNtqvQwfH8Dy0jfzZD0M9TmN7cwyH6Xdbf1H8W26/cssa/eoSGfqx/TX1Yw27PrSH6/CP9b6Gw/Rn3NxI2DRSPOjKZ6Yy4p4FIhCxWqgsCAn5ayP9PUYNVyMuM6lPj1RlWFbiHrUlAYgx4BXTKA2ChTZACQYt0Aqi0A5TwKYEJq0gQSUogUouPeBxaYcuOmAVCdDaZWg9My0mYUqgBFO61C5SoPEs0BWcwOQBo6ASlMAlUw94fMPMT@5vsu1dMwtfZFZFMwtbkoDCRIsql@gQxFkQEf2F/EDbaGJhssJVfCKIAr1mYWxKIPKKsyBSyTP5ATU1RvEQprBM8W/9@OB519al8x5FeitvLhT/fYuwdGmL6FiTK3GsRF1du0SfhzvxAg#S0/NS9bL
 
Oh my, these are both very good.
@dzaima Can you make it even lower, maybe the whole thing can fit within square bounds?
 
4:57 PM
@Adám doesn't at all feel like a door to me then
but here
https://dzaima.github.io/paste/#0vZRRb6MwDMff8yms7JUrSZyQwMYers/3BfY2XVnhxqBqudF9@8UOrTppm07TdEjw@@M4tnEsbg7PW3jumvnneKylWimgu1Dnp4S520xtLZHedkcJbdNt2@nCcHzqh0Mt22naVXk@z/NqxtW43@ZGKZXHBBJuxc3ufmrhML30TS0fur6vhnForg/TfnxsqivF1/L6g1NWGFZnS98NzZ@xGyp46qZmf2n@fb@rYD/@HTbXEja1FL9MGTJbWrFmYQ0wdclEY0BIyN8r6W0ZFVyUuNSkvlxSmaEPYo3GkQDEaAgl02oNggUikIO1FmgHURiPyeCSA5N2kKAQ5EAhlxxwt6SzReyAUyTAGJ9h4ZlpMwnngBysL1K6SIE2sECv2YHJBUZBIciBQ6YccPdBM794vqltnzZTB505VYq1dgUJ0Da2qPSJHkGcBBG9OZMXTIi90jYzGnkiiAKDYWFdciDyjpMgUsgTeYGSWqu4CKsdU3xvP/5x3o1f5j2K5avCmeK/H1EclHRENNbUFeN8oikvu0S/h1vxCg#S0/NS9bLzMtL
 
@dzaima But I like it :-)
OK, now I'm just waiting for @xpqz to submit his contender for an ⍎/hydrant hybrid…
 
zero separation
https://dzaima.github.io/paste/#07VTBcpswEL3rK3bUKzWSVkJAQg71uT@Qm1tTQ0vAY9Pg/n21K@xxM02nSTM9wQy8x7LaXZ4073bcfOrqO3F7fNzBY1tPH4ZTJdVKAd2ZujwlTO12bCqJ9LY/SWjqdteMV4HTQ9cfK9mM475M02maVhOuhsMuNUqpNDSQEBrtN2MDx/FHV1fyS9t1ZT/09c1xPAzf6vKd4mt@fc8tS8xXl0jX9vXXoe1LeGjH@nAd/rzZl3AYvvfbGwnbSoqPpsgTW1ixZmINEGKhI2oPQkL6u5F@HaOEqxHnmdSrRyoS9LlYo3FEADEE8oLRag2CCSJQgrUWaAWhMB5jwMUERlpBhEpQApWce8D93M5mQQGniIAxPsHMM8bFRJwDSrA@i@0CCrQ5E/SaExh5wECoBCVwydgD7p8R85X7G2X7o5g6zxKnCrHWmScC2gaJCh/RI4gzIURvLsgfTB600jYxGvlEEArMDRPrYgIhrzgTQip5Rv5ATS0qHsLqiOJt9fjL8258Ec97IPNf5RcU/32LgmJxi9BpVsXYLKKx1yqR
 
@Wezl I did try that, but the rounded corners mess with it (now that i think about it, just make square corners :|)
 
very true -- and I don't have an svg editor so I can't
 
5:05 PM
Oh, a joint submission.
 
just you wait...
 
@dzaima Yeah, can you make Wezl's last version with the outer corners square?
 
there
https://dzaima.github.io/paste/#0vZRNT7QwEMfv/RSTesWl7RRaUDy4Z7@AN19wQRE2u1X2@fYPM0WCiV5MlAR@/w7zxrTh8vi@g/e2Hq@HUyXVRgHduVqeEsb2MTSVRFrtTxKaut01YWU4vXb9sZJNCPsyTcdx3Iy4GQ671Cil0qmAhCtxub8LDRzDv66u5FPbdWU/9PXFMRyGl7o8U3zNy3MuWaLfLJau7evnoe1LeG1DfVibH@72Jdy/hXAh4bGS4sYUPrGFFVsW1gARCx2pHQgJ6Vcdfe6ihFWHc0vqpx0VCTovtmgyEoA4GXzBtFqDYIEI5GCtBYogCuMwGrLowKQIEpSCHCjlXANu53I2nwaQKRJgjEswd8wYTCLLgBysy2O5iQKtZ4FOswOTG5wEpSAHThlrwO03s/y13dU@TzJViK3OHQnQFj9RrA3ozEJ@Yfw0Km0To5HPA1GgNyxsFh2IHPEhiJTyg2IxoIrUkeKvx8Hf4Ip42Ccxf5Rf@OcdTfOKG4SZ5pkYm0cau54R/RmuxH8#S0/NS9bLzMtLLfII8fVRsFXITczM0ytLzClNteZKB0
 
count it as dzaima's, I did nothing
 
 
5:08 PM
what is this?
 
It was supposed to be eval viewed through a rifle scope.
 
wow lol
 
@xpqz すごい!
 
You speak Japanese?
 
@xpqz Not very well but I'm learning
 
5:11 PM
Japanese: when APL's too easy.
 
I'd make a hydrant in a shield if I knew how to make bezier curves in svg
 
@xpqz The grey area is there, especially problematic in Phase I, but with Phase II I think the problems are involved enough generally that you won't solve it all by just chaining APLCart results together (I think/hope)
And I think it has been stated that simply copying library functions will get you marked lower than an equivalently good entry that doesn't
And also I stated earlier that you need to understand the problem and solution well enough, and express that through code + comments, such that we understand from reading it that you understand
And also if you win you'll be asked to do a presentation, so if you come and your presentation is "I dunno, I just searched APLCart and glued it all together" you'll have probably the worst winner's presentation yet
 
Wow, context switch :)
 
@xpqz Sorry I only just saw your message from earlier
@xpqz It's a shame the characters look a bit pants in the IDE. Not too bad in my RIDE tho
 
No, I agree. I just pondered this when solving the propsoed Phase2 set that some of them shrank down to a Phase1 size with a bit of 'dfns' know-how -- which is good stuff as an APLer, right? But perhaps not what the competition was after.
 
5:18 PM
@Wezl You gave the hard corners.
 
@Adám no dzaima did. I just changed round -> square or butt
 
Oh.
 
@Wezl you thought of using them, and you also inspired the whole door design
 
@xpqz Are you going to submit a serious contender or shall I go with with the Wezl/dzaima one?
 
⎕IO←0
a ← 200-↑(20 10)(10 15)(10 90)(60 130)(60 110)(60 130)(110 90)(110 15)(100 10)
b ← 200-↑(45 10)(75 10)(45 10)(75 10)(60 10)(60 80)
c ← 200-↑(60 60)(75 45)(60 30)(45 45)(60 60)(75 45)(60 30)(45 45)
b2s←{W X Y Z←⍵ ⋄ '[WXYZ]'⎕R{⍕⍎⍵.Match}⊢'<path d="M W C X, Y, Z" stroke="black" fill="transparent"/>'}
bezier←{CM←(⌽¯1↑⍨n),⍨(¯1↑⍨n),6×=/↑⍳2⍴n←2-⍨≢⍵⋄M←4 1 0[2⌊|-/↑⍳2⍴n]⋄B←(0⌷⍵)⍪(M⌹⍨CM+.×⍵)⍪⊃⌽↓⍵⋄⍵∘{(⍵⌷⍺)(3÷⍨2 1+.×a)(3÷⍨1 2+.×a←B⌷⍨⊂0 1+⍵)(⍺⌷⍨⍵+1)}¨⍳1-⍨≢⍵}
svg←'</svg>',⍨'<svg width="300" height="300">',⊃,/⊃,/b2s¨∘bezier¨a b c
it's not very good
 
5:21 PM
Cute.
 
@dzaima Adám thought of them :|
 
@Wezl "on your ⍎". All Adám did was like them
 
@dzaima Hard work.
 
@Wezl :) plot points, use bezier, ez
 
I'm always confused about this. How to I crop an svg?
Changing the viewBox always seems to do counter-intuitive things.
 
5:25 PM
@Adám change <svg
xmlns="http://www.w3.org/2000/svg"
width="HERE"
height="HERE"
fill="white" >
 
@Wezl No, that just scales it.
 
@Wezl my svg is offset to some random coordinates, so that doesn't help much
 
@xpqz executing the executor i see
 
a bit cropped:
https://dzaima.github.io/paste/#0vZTBcqMwDIbvfgqNe6XBtgwGWnpozvsCvaUJDWwpZIhb0rdfJBOGzuxeOrPlwPdb/JZkwXB//jjCR1ONj/2llFqpjQKd0N2q5S5hbA6@LqWh1ekioa6aY@1Xgctb251LWXt/KuJ4HMfNiJt@OMaTQ8VTEQln/9lWpXze7V@PQ//eHW73fdsPxc0LX/JB3J92vr76Xpq2Lbq@q@7Ofuhfq@JG8TUvb7mlArPNEmmbrvrdN10Bb42vhnV4vzsV8Pzu/Z2EQynFL5Nnkc2t2LKwBoiY60DtQEiI/9bR1y4KWHU4t6S@21EeocvEFk1CAhCnQJYzrdYgWCACGay1QDuIwjgMgSQYmLSDBKUgA6Wca8DTXM6m0wASRQKMcRGmjhk2k0gSIIN1aSg3UaDNWKDTbGByg5OgFGTglKEGPP1jlv/t7eosjRKVi61OHQnQFr9QrAPozEJ@YLJpVNpGRiN/D0SBmWFhk2Ag8o6rIFLKK8USQBWoA8VPj4PP4PLwsU9iPlS28Mc7muYVXhAmmmdibBpo7HpG9Od4EH8A#
 
Perfect.
 
5:28 PM
yah, I guess if you want to manually do it (you don't), you edit the viewBox
plug: you can download it with the button here
 
@Adám I'm out of creative juices; go with @dzaima / @Wezl
 
@Wezl did you fork dzaima's paste or did dzaima fork yours?
I assume dzaima's was first
 
it was
I'd pull request but my editor messed everything up by formatting the html and it would have to be manually merged
also I think I'll add svg as a language to make pasting more convenient
 
@RikedyP I translated your kanji. Either "wonderful", "terrible", "dreadful" or "great".
 
@Wezl it also occurred to me that there's no plain text language. ¯\_(ツ)_/¯
and svg should probably be called "rendered svg" to be clear
 
5:40 PM
yeah I'm not up to making an xml highlighter
 
:D
 
Heh, Dyalog has one built in, but I don't think it can be accessed.
Oh wait, it can.
 
@Adám wait, you have what built in?
 
Ability to syntax highlight XML
 
In the interpreter?
 
5:41 PM
Yes.
 
That's crazy on so many levels :)
 
I am using the built-in syntax highlighter for APL in my code to sanity-check phase II submissions this year.
 
@Wezl wow, that was exceptionally easy
 
@Wezl yeah, not much more that'd need
though why genc = …? That breaks things
 
@dzaima also speaks to the readability that paste is so easy to contribute to
@dzaima IDK I just pasted from the JS on your SVGs
 
5:49 PM
@Wezl none of mine do genc =
 
oh I must have found it some other way. genc = doesn't even look like it would work
I guess I put genc = without thinking about it
 
i feel like you began typing it and then decided to just copy-paste or something
also you probably want to add white-space: nowrap; to the style of the id="ddm" div for the name to not wrap in the lang dropdown menu (html/css :|)
 
exactly what happened, now it's fixed
 
6:08 PM
perhaps it should be Rendered HTML because the pasted content doesn't have to be an svg
 
@Wezl I was thinking of having both, for the download button to give the correct file type
 
It's very easy to make a valid embedded svg that's not a valid standalone file by omitting some XML stuff, I think
 
eh yeah
blame the user :p
 
this fails as a file
 
¯\_(ツ)_/¯
 

« first day (1457 days earlier)      last day (1187 days later) »