« first day (1159 days earlier)      last day (1485 days later) » 

3:10 AM
How can I use an APL keyboard on my mac (ie, outside of the dyalog program)? In Mastering APL, it mentions that on windows one is installed automatically under "UK", but I don't see anything on my Mac.
Nm, found instructions here dyalog.com/apl-font-keyboard.htm
 
 
9 hours later…
12:42 PM
a ±BF interpreter in 8 characters:
https://tio.run/##1VVBTsQwDPzKHm3JczAXfsA/VkLishJc9wMrcUCCL8DP@pHFjpNtoGmI6B6gbZo4cmc8k6bdPx1wf9wfHh/O57vp9EqkgDLZAeHp9MZkofWIYD4USsrqPYMAZlJLERaybnr5oIyzRAInFpSY4OkZSDE9v3NhEg/AbYAI/N6jyVlCF0ZhrzdxqaQTXrplkw/ZOFt4bU/mWQ0iH6uDj0H@bM@YvpK2oLASzMZ6ql02d125ri3/yBSvxwrNloQKH5Jst8TCNfhklTuvm1mcRtBiQSzuNZb2@6Yf3/MJ0d@8PGNTqUBvIoFm9fXXuavvL8rzJxE7bFylIyRJ6G/IyorVLzmWX07NnMlQh7lo5iSlSNx4GU5quo5ap8w9couMPsESPDBRQ7Zxxol@Kf7LLWbt91TZ7UsgVN4NKQO2f/ROb3a3nw - multiplication program
Takes as input the starting tape, outputs the resulting tape. :D
And the program generator:
https://tio.run/##nVbNahsxEL77KQZ6iEQlYuWv0IZS45JicJxgcgiEHDZeJV5a75rdTWivPQQcyKG99@K8Qp9oX8SdkbSrVVyH0g1Y2ZlP3/xqtPNcz/Nsslq9ivV1kmo43gUmq8VSCfzjnUa8g2IlZVukSOTf@11gKhAgoP26Q/oAgLbWTfX3vDSQ77flgeYg1JCuUcZ5Nmc9DgCMSYoBkby6/yF59fiECh4gh1FRIjIENogo/Qb2QS4kWCylbKmvk5x2gyFgAvdyZQg85EvkEB5CSXyG0umktoMa8hMxHLa3IUvhTk/KLC@820UDNnwOVj18t8gGOE8mnx2Q3CBsoBuxEXc68m703KsB1A8FT2aqhyWwWZZGcTLxuHELR76r2nmEN6DhGghRkogd9ElAVBS3syS9gausnEKU3xT4oyG7hiKaaSim0Vw3hJMsLcpjqjTDHywfpV4JwUOEaQXWgFvqyOrIozFuZXJICSAu6cLtfRhiCOPq8Xf3HZydfDyBNCvhtnDUDVM51amLjZyoi9K1ivPq/ifuV/7t3Hdrgjw9s9U0k6fE
I feel like 7 chars should be possible with a different approach, but i'm quite happy with this
 
1:21 PM
 
 
5 hours later…
5:52 PM
@dzaima nice, no newlines or s
i didn't go over your generator, but from glancing the generated program it seems you handle everything by ↑ and ↓ simulated by ⍣(-1), and use trains to simplify that, nice solution
i think you can get a minsky machine in 7, haven't worked through the details, but it'd make use of ugly gotos
@dzaima hm exists, maybe there's something hidden there
 
@user41805 that's even less pure APL though :p
 
@dzaima this could perhaps be a nice challenge
 
@user41805 the most annoying thing was disclosing an enclosed item - i'm using (,↑) for ±that. if not for that, i might've been able to get away with no , required
also, i've golfed things - converter generator: https://tio.run/##lVXNatwwEL7vUwwUGolIZLX5KW1D6WIoBLahLHsIhB4cW5s1zdqL7YSeewgkkEN772XzCn0iv8h2RpItK9sE6kC0mvn0za9Gq1KvyiLZbF6lep7lGj7vA5PN3VoJ/OODTjxCsZKyL1Ik8vtoCEwFAgT0tyPSBwC0tW0qOvDSQH7Ylweao1BDuk45z8qqBvoYE83tTw6gAFfhz1/FDtFCKK4QovMEHAQVzcMjQTjs7UGRw41O6qKsOnBadWBr0cKa@x8W2QFXWfLNAckHwga6U3bKnQ7wZ@jSCbQfk9LYaO7XwJZFHqdZ4nHTHo4cV63nCO9Aky0QoiQRO@ijgLiqrpdZfgkXRb2AuLys8J@GYg5VvNRQLeKVHjQPv6ElTYq8qj@zMce8jjm2j8IIlMAYtlAEAtYd6IUZW50pjpxSDsg5syKndKGPP04wnGnz8GfYnawXOncxkeG2EkOrOGtufw3fYy90uzPfNBn6MTZHTft4SgzRym15TJqIlNk2YzLaf1ImOvKlLlsvEDF6giB
@user41805 if is not allowed, i'm pretty sure there's no way to do it (except things achievable by ing things) - no other built-in allows manipulating characters
 
6:52 PM
@Adám Indeed
long time no see
 
 
4 hours later…
10:58 PM
7 characters - removed ≢!
multiplication: https://tio.run/##1VZLasMwEN33FF6OYAYy2eQGvUeg0E0g3fYC2RXaM/Rmvkg6b8aWZUdOa4OhCSaS5/Pm6UkafHw7ycv78XR@vV6f28snkYpoIiJuL1@JbG4jJ3/xn4qSJsWYhBOp@5nIxvbjGxkWCatNpc8nEjiRlAQODzCrJHtsjndlhtOMsJdWg2TqUDtmFBgyKa3mzizGazDEoFCghI8Goihl8wkoWwAo3egyzow1zUdwKQljqeq1Jv@0UBxsCyN7aWI4OLZ8cS42NW9v9by4TTt1vIAbgEgryy6quRh8lYqVw16/PfMHI2tDLs5g/4OuCJK4t5JJlEfKIHlrpdEJ7pKAPiavbswDRGCSOSrgsC0Fhy6bYaUXDs2w6z5eznvMA7S5u@r@U3ER/Sj6RgWKe7uuSdbw5fcWVUrtOCOpnQkweih7S3als6eoAqv6d4L/I8CDJGbaR/XJo0y3dM6Il/GTKoCZ1hCCYbIH7Oc0Vm37AbXsy6fRfXN48mFnQ7NrDj8
 
But for Turing-completeness, I believe you should be able to run it as a full program, not just define a function.
(Because we can solve Halting problem for a code that defines a function but doesn't run it...)
 
@Bubbler i can call the function with a specific tape input if i wanted to. I/O isn't required for turing-completeness
 
Oh, I see now, because we have 1-() and stranding is free
so an initial tape of 0 12 0 7 is like (1-1)(11--1)(1-1)(1--1--1--1--1--1--1)
 
@Bubbler yeah. The converter does something similar for hard-coding the bf program
 

« first day (1159 days earlier)      last day (1485 days later) »