Abusing the log byte count
This mainly involves creating a programming language that uses only 1 character (similar, but not the same as Unary) and using the fact that \$\log_{256}(1)=0\$. I violated this loophole myself, actually.
Calculate Bloons RBE Equivalent
In Bloons Tower Defense 6, the strength of different bloons can be measured by their Red Bloon Equivalent (RBE), or the number of single pops it takes to completely defeat the bloon.
The RBE for the bloon types are as follows (sourced from the wiki)
Bloon
RBE
...
@lyxal I wonder if that's specified anywhere. It doesn't seem to follow Unicode, since U+200B is definitely in the Space Separator category, but JS won't have it.
> Other than for the code points listed in Table 35, ECMAScript WhiteSpace intentionally excludes all code points that have the Unicode “White_Space” property but which are not classified in general category “Space_Separator” (“Zs”).
inews.co.uk gov.uk bbc.co.uk various other news websites the Instagram account of consumer advocacy group Which? the definition of "the" from dictionary.com the song "Home" by David Sylvian
log_256(n) is the number of bytes of information communicated by a symbol which is one of n options
That's just math
We didn't just make up a formula
When you say "log-bytes" are you talking about the specific formatting of irrational byte counts in answer headers, or do you somehow want to remove irrational byte counts?
"Log-bytes" in either sense are going to exist no matter what as long as we allow fractional byte counts
You can force people to make up units analogous to trits, but all that does is mask them
You can also force people to treat each character as an integer number of bits instead of trits or 96-its but that restricts our current policy for no reason
IMO there's nothing wrong with Fig and Thunno's byte counting
2
It's a little annoying and kind of unnecessary, but having it exist once (or twice...) just as a proof-of-concept isn't a problem
Oh you're right. I've got a byte in my hand right now. It feels sharp and cold and metallic.
A byte contains 8 bits of entropy
Maybe there's some sort of semantic difference that would be worth discussing if we were making a dictionary here, but a "computer bit" is identical to an "entropy bit" in terms of what it measures
if you're saying that every program should be measurable in physical bytes, then you're not against "log-bytes", you're against the idea of fractional byte programs, and arguing for what our old consensus was
Which was that your program must be able to be represented as a physical file on a filesystem, and thus a whole number of bytes
And we decided against that for a few reasons:
1. Not all (real, physical) computers are bit-based. There were ternary computers.
2. Not all languages have a convenient binary representation. E.g., piet and its codels. We have asciipiet, but it seems reasonable to allow measuring in codels rather than bytes in some arbitrary file representation
3. You could make a filesystem that is able to handle fractional byte programs. How do we decide which filesystems are and aren't valid?
4. You could physically implement a 96-it. If I really wanted to, I could create a CPU that runs Fig natively
When I'm writing Jelly or JS I'm not thinking in terms of bits
You're arguing that 1. arbitrary units (like bytes and codels) are bad and bits are good, but also that 2. bytes and codels are good because convenience
Recently, I've been interested in KOTH bot tournaments, so I was wondering if there was a way to set up a KOTH tournament without spending any money to buy a web domain. Is there a way to do this?
Convert Cartesian coordinates to polar coordinates
Cartesian coordinates are the standard type of coordinates. The notation is \$(x,y)\$ where \$x\$ is the distance from the origin on the horizontal axis and \$y\$ is the distance from the origin on the vertical axis.
Polar coordinates are not...
The sine, cosine, and tangent functions are commonly used. Your goal is to approximate these three functions within 1% given any value (no restricting range). Assume the input is in degrees.
You can only use addition, subtraction, multiplication, division, and modulo to do math. If you use other ...
Recently, I've been interested in KOTH bot tournaments, so I was wondering if there was a way to set up a KOTH tournament without spending any money to buy a web domain. Is there a way to do this?