« first day (4285 days earlier)      last day (557 days later) » 
00:00 - 07:0011:00 - 00:00

11:17 AM
@AidenChow APL is the easiest
like without doubt
that bounty has an endless number of questions to farm
 
11:39 AM
@Razetime and a weird lang
 
@AidenChow Come learn vyxal
7
 
@PyGamer0 no
 
The hivemind is growing in power
 
@emanresuA ?
@emanresuA yes @AidenChow
 
The Sʨɠɠan hivemind is becoming more and more powerful
 
11:51 AM
@DialFrost it ain't weird
it cool
 
12:43 PM
hi I have returned
 
0
Q: Make a Compiler or Interpreter for any Turing-complete language in another language

ReallyGoodUsernameAny Turing complete language supporting input and output is allowed other than the language the program was written in. Score length of interpreter or compiler - number of legal characters in the language interpreted/compiled.

 
 
1 hour later…
1:48 PM
@PyGamer0 no
 
2:31 PM
Rust is always like "Naw, you already borrowed that book mutably, now you ain't borrowing it immutably cause you already did"
That's why it irritates me so much
 
h
 
3:31 PM
@DialFrost for dubious definitions of "weird"
 
4:05 PM
@Ginger No you wouldn't
IIRC it's opaque to the program whether they're using RAM or swap
Since it's all just...memory
 
huh
 
I actually really like that RAM golf idea though
I could see it being really interesting for at least one challenge, just to see if any weird exploits with like, networking or disk I/O or something get found, and then maybe those could be "patched out" if we wanted to try more
@Ginger Uh...no...Rust is like the single hardest language to learn (out of the common praclangs) :p
 
shoulda told me that before I bought a book on learning it
 
@emanresuA Yeah, I've noticed that. What I've been planning to do for my golflang (in like 2038 when I finally get around to it...) is to have a search thingy on the docs page which has like twenty synonyms for every operator so that you can quickly find what you need
Looking for Jelly operators it's like..."hmm, no 'reverse' or...idk, 'backwards' or 'flip' or...oh wait it's 'upend'"
 
@user
what on earth does ==== do in scala?
where's the docs for it
(also what is a good place to search docs in)
 
4:18 PM
eeeequals
3
 
I don't think that's a valid Scala operator, where'd you find it?
 
(also user doesn't really use cgcc anymore)
 
Also I don't think user's active anymore
^^
Is it by any chance actually .====?
Scala has operator overloading with like, thing.== = function IIRC
So maybe what that is is someone comparing something's .== to something else using ==
 
4:51 PM
@RadvylfPrograms There is also reverse
 
Yeah ik
But IIRC it's not the typical reverse you'd use in praclangs
 
I do like how basically every Jelly command has a mnemonic tho, even if they aren't initially obvious
@RadvylfPrograms U is the weird one, it reverses at depth 1, so if you have a list of lists, the elements in the sub lists are reversed, but the order of the lists isn't
 
Fun fact: In APL, the === function considers all values to be equal.
 
5:06 PM
so you're telling me you have an equals function that always returns true? :b
 
I'm guessing it's some weird tacit thing like comparing = to =
No way APL differentiates between different numbers of =s next to one another to make different operators
 
5:50 PM
Right, X(===)Y is (X=Y)=(X=Y) which is always true.
 
6:25 PM
would oeis.org/A242347 be any good for a code golf challenge? its the number of digits in the binary value of the previous term interpreted as a base 10 number
 
7:21 PM
@cairdcoinheringaahing you around? I have a bit of a stumbling block....
(Oh, sorry: "literal manifestation of the concept of 'moderator'", are you around?)
The challenge is that equivalence matrices don't uniquely map to numbers in the sequence: many equivalence matrices can (and do) map to the same number. For instance, every identity matrix, of whatever size, maps to `0`. So I can give *an* example of a matrix for each of the first few terms in the sequence, but I can't give *the* example for each.
What I wonder is (a) how much should that ^^ be explained, or (b) does that ^^ mean that giving a first few examples isn't actually helpful?
(For others' reference, we're talking about this proposed challenge.)
(There's kinda a lot to generating the matrices, under the hood. I wasn't sure how much to spell out in the challenge, though, vs. answerers discovering themselves.)
 
7:56 PM
@nitsua60 a) I think that would be good to include, as I didn't realise that, and b) I think some examples of the first few would still be helpful. I can see how to construct the number from the matrix from the other examples, but seeing the first couple of elements of a sequence can, at least for me, help see the pattern and how it grows.
Ultimately, I don't think it's a massively important thing to include, but I stand by examples being a good way to help support challenge descriptions in general :P
 
2
Q: Character insertion on letterboards

FlipTackYou know those letterboards outside old-style cinemas which show upcoming films - perhaps you have a miniature one in your home? If you've operated one, you'll know that you can normally add letters from either side of a row. But the slots (in which you slide letters) are thin, so it's impossibl...

 
8:20 PM
@cairdcoinheringaahing Cool--thanks. Should have time to edit again this evening. Congrats on the diamond, too! Remember to boil it in Tide every few years, to keep it shiny =D
 
@nitsua60 Thanks, good tip, I was planning on doing the old silver + salt water and electricity to get rid of the rust :P
 
8:44 PM
@Razetime wait is there like no limit
theres like so many different versions of apl it seems like
which one should i be using
 
9 hours ago, by emanresu A
@AidenChow Come learn vyxal
 
vyxal is a black hole from which there is no escape
 
@AidenChow While you should consider me biased, Dyalog is becoming the de-facto standard.
 
ok which one is easier to learn in yalls opinion, apl or vyxal
 
neither, use python
 
8:52 PM
(i.e. which one has better tutorial/documentation :P)
 
As someone who's never tried APL, ¯\_(ツ)_/¯
 
APL has over half a century of accumulated materials.
 
@Adám this one? dyalog.com
 
See apl.wiki/Learning_resources for a modern collection.
 
Vyxal has pretty good docs, and you only have to remember builtins, not hundreds of "idioms"
 
8:53 PM
@AidenChow Yes.
 
do bear in mind that @Adám's job is to advertise APL
 
Yup. I think I was pretty clear about my bias. Says in my profile too.
@emanresuA I'm not sure what you mean by that.
 
also whats the standard interpreter for both, trying to make sure im using the most up-to-date interpreter before i even start lol
is this good for apl: razetime.github.io/APLgolf
 
Sure, but if you want the full experience, you should use an installed system.
 
IMO Vyxal is easier to learn because it's stack-based and that's just easier than tacit, and especially since APL's tacit system is a bit more complex than Jelly's (which IMO doesn't say anything about either of the languages; they have entirely different objectives)
I wouldn't say that you should necessarily learn Vyxal in that case because ease of use is not the only metric but if you just want to know which is easier, I'll go with Vyxal, though I barely know either of them so maybe I'm not the greatest person to answer
 
8:58 PM
isn't apl's tacit system simpler than jelly's, in the sense that you can tell how a train parses without knowing anything about what's in it
 
@Adám hmm, im just looking for an online interpreter where i can test code and make permalink for like a try it online link for an answer
@emanresuA link?
 
@AidenChow The APL Golf is good.
 
don't certain operators or structures have very complex rules compared to jelly's tacit system just following a limited set of rules and all operators being stack-based
 
Jelly isn't stack-based.
 
the operators (or whatever those things) were called are
 
9:00 PM
quicks are postfix operators
 
@Adám so the link i have currently, or r u referring to smth else? razetime.github.io/APLgolf
 
That's the place.
 
also this is the link for the vyxal interpreter right: vyxal.pythonanywhere.com
@Adám k cool
ok wait what, is is this one?? lyxal.pythonanywhere.com
ok i think im just gonna learn both, fuck it lol
 
vyxal.PA is the correct one
lyxal.PA is outdated
 
@AidenChow Let me know if you need any help with APL. Also check out:

 The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
 
9:05 PM
@Adám From what I can tell, APL has multibyte commonly used idioms. If there's something more than two bytes that's common in vyxal, there's a builtin for that.
 
@emanresuA OK, but you don't need to memorise the common APL phrases, as you can just write them from built-ins.
 
there are also pretty good docs for said idioms via APLcart (at least I found it very useful)
not really docs so much as a list
 
I'm considering adding descriptions/documentation for the/some entries.
 
9:26 PM
@emanresuA The word "idioms" is used with two different meanings in the APL world: Optimised phrases and common phrases. There are a couple of dozen that are optimised in some interpreters, but that doesn't really matter for the casual user. APLcart has thousands of common phrases. Surely, Vyxal doesn't have built-ins for all of those…
 
holy crap going through this website call try apl, this rank and depth stuff is already fucking with my brain, i have no idea what is going on
 
For information about concepts, APL Wiki is great. Have a look at apl.wiki/Rank and apl.wiki/Depth
> A language that doesn't affect the way you think about programming, is not worth knowing.
 
Found a fun way to generate the powerset of a string in Jelly: ;€;;@€ɗ/
 
9:59 PM
ok i think im gonna give up on apl for now cuz its actually confusing me, gonna see what vyxal has to offer lol
 
Did you try following an actual tutorial, like xpqz.github.io/learnapl?
 
@Adám i try following tryapl.org
 
@AidenChow If you have any questions ask in the vyxal chat, and have a look at the tutorial
 
@AidenChow That's unfortunately not very well-structured. Try xpqz's or course.dyalog.com
 
@Adám ok well im gonna give that a shot, hopefully it works out
 
10:06 PM
Great. And do let me know if you get stuck anywhere. I've taught many people APL, including several that went on to be outstanding golfers or valued professionals.
 
10:35 PM
rank and depth took me some time to understand as well, lol. you'll get the hang of it though and it'll make a lot of sense eventually
 
11:29 PM
@Adám so you get paid to hang out on CGCC?
 
00:00 - 07:0011:00 - 00:00

« first day (4285 days earlier)      last day (557 days later) »