@Downgoat They are only optional for remote transfer. Local file paths etc. must have a certain amount of slashes. So it's good to use them to maintain compatibility and sanity ;)
I thought it might be simple by virtue of the convert to base 5 algorithm you showed me yesterday, but with the 5 replaced with y. Then the stage after that would be ^10*$
ITML EXAMPLE PROGRAM
RICKROLLS THE USER
+#- goes to the body element resets cell
>-[->-[<]>+>]<- sets current cell to "144" (a button)
@ add said button
> move to empty cell
+[------->++<]>++.
----.-------.----.
--[--->+<]>--.++++
[->+++<]>.--[--->+
<]>-.+[->+++<]>.++
+++++++.---.------
.++++++++. "please click" text
>-[>-<-----]>+++& onclick
>
+[------->++<]>--_+++_------------_--_--[--->+<]>-_-----------_++++++_-_[------>+<]>_+[-->+<]>+++_[->+++<]>++_++++++++++++__----_[-->+<]>++_-----------__++[->++<]>_+++++++_+++++++++++_[++>---<]>_--[-->+++++<]>--_-[--->+<]>_-[----->++<]…
@CᴏɴᴏʀO'Bʀɪᴇɴ Hm. That may be confusing for potential new users when this gets pushed, but stranger and more harmful quirks have been seen in "regular" languages. Good luck
@Dennis If I implement the base-95 to base-256 encoding in MATL, the byte count for n characters is either ceil(n*(log(95)/log(256))) or that minus 1 (depending on the number of leading 0 bits, which is determined by the first characters in the code). So the exact byte count is difficult to predict.
I'd like to keep posting the original code characters in the answers, rather than the hex dump (bytes) resulting from the encoding. But then there should be a way for people to check that the claimed byte count is correct.
One possible way would be to give a link to an online MATL program that does the encoding and decoding (for example this for the encoding and this for the decoding).
That's easy, but requires use of those "external" programs. Perhaps a better way would be to have the online compiler directly output the byte count, or the hex dump, when given a certain input argument. Or even take the hex dump with another optional input parameter, so it can be checked that the hex dump is really equivalent to the characters in the code.
Is it possible to pass the compiler a parameter (like currently there's matl -of ...) that can be selected from the page matl.tryitonline.net? How are the "arguments" in that page treated? Or do you suggest any other way? I don't really want to complicate things, but I'd like people to be sure that the encoding really works as claimed. Specially when people will see that the byte count is less than the character count.
@LuisMendo I could modify MATL's wrapper to pass the Arguments to matl, but I'd have to sanitize them somehow to prevent rhe execution of arbitrary Octave code. An easier way might be to print the information to STDERR, which can be made visible by toggling the Debug switch.
No, I'm compressing my entire home directory as a backup of sorts (and for other purposes), and I want to be able to take out individual files quickly.
Goldbach's conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It states:
Every even integer greater than 2 can be expressed as the sum of two primes.
The conjecture has been shown to hold up through 4 × 1018, but remains unproven despite considerable effort.
== Goldbach number ==
A Goldbach number is a positive integer that can be expressed as the sum of two odd primes. Since four is the only even number greater than two that requires the even prime 2 to be written as the sum of two primes, another form of the statement of Goldbach's...