The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Oct 3, 2017 22:02
(also, interestingly, the TI-basic encoding seems to be variable-length, a few tokens seem to use 2 bytes)
Oct 3, 2017 21:58
the debate at this point is as follows: should the header and filename be included in the total byte count, or should we subtract these from the displayed value
Oct 3, 2017 21:56
I think this observation is good progress towards resolving the TI-basic byte counting conundrum
Oct 3, 2017 21:55
appears to be 9+name length+contents of program
Oct 3, 2017 21:55
the number to the right of the program name is total file size in RAM
Oct 3, 2017 21:54
from home screen: mem -> 2 -> 7
Oct 3, 2017 21:54
calculators supporting TI-basic have a built-in byte counter
Jun 27, 2017 02:31
it's pretty much THE np problem next to graph coloring
Jun 27, 2017 02:31
boolean satisfability problem
Jun 27, 2017 02:30
facekeyboards
Jun 27, 2017 02:29
how would SAT solvers handle 128 variable and probably million+ operation problems
Jun 27, 2017 02:23
@ATaco most interpreters map [0,256) to the chars, so it's easier to think of that way
Jun 27, 2017 02:22
limited memory is why nothing is truely turing complete
Jun 27, 2017 02:22
^
Jun 27, 2017 02:22
yes
Jun 27, 2017 02:21
unsigned 8-bit integer
Jun 27, 2017 02:20
so not really
Jun 27, 2017 02:20
most interpreters use uint8_t
Jun 27, 2017 02:20
anyways, with the fixpoint for md5 problem, brute force is obviously impractical over 128 bit unsigned int...
Jun 27, 2017 02:19
if the right cell is 0 but the left isn't it won't terminate
Jun 27, 2017 02:19
no, the left cell has to be 0
Jun 27, 2017 02:18
anyways, I'm thinking of taking a stab at the currently open problem: does there exist an x such that md5(x) = x
Jun 27, 2017 02:17
I'm pretty sure python has ints
Jun 27, 2017 02:17
for me at least, I don't follow lua much but when I worked with it back in 5.2 it was double-precision floats and nothing else
Jun 27, 2017 02:16
that's a recent development
Jun 27, 2017 02:16
even if you think you're on integers
Jun 27, 2017 02:15
a lot of dynamic languages such as lua will never use anything other than floats
Jun 27, 2017 02:15
oh
Jun 27, 2017 02:15
what language I mean
Jun 27, 2017 02:15
what interpreter are you using
Jun 27, 2017 02:14
as that finitely negative number -1 cannot be represented via floats
Jun 27, 2017 02:14
either that or the granularity of floats away from 0 will keep it from decrementing at a finitely negative number
Jun 27, 2017 02:13
I figure it would go down to -infinity and repeatedly decrement staying there
Jun 27, 2017 02:13
with floats (which js works with) you have +infinity and -infinity
Jun 27, 2017 02:06
cin is only safe against strings, but the programmer used a char[] buffer for some reason
Jun 27, 2017 02:05
this programming language says it's unusable but I think a buffer overflow exploit is possible
Jun 27, 2017 00:51
beautiful
Jun 27, 2017 00:51
const int ONES = 0x3fe; // Binary 1111111110
Jun 27, 2017 00:34
this is harder to read than many golfing languages
Jun 27, 2017 00:34
looking at it more closely, what the hell
Jun 27, 2017 00:26
that's a pretty good program for being written by a prime minister
Jun 26, 2017 23:42
well, there is 0x01 to increment and something else to decrement but that's it
Jun 26, 2017 23:41
V doesn't even number
Jun 26, 2017 23:41
more powerful as in V does
Jun 26, 2017 23:38
ah
Jun 26, 2017 23:37
java, c# low tier, cjam mid tier, jelly and 05AB1E top tier?
Jun 26, 2017 23:37
so like
Jun 26, 2017 23:22
bits*
Jun 26, 2017 23:21
if the program can be completely expressed as 01000110 10000110 10, and a theoretical "BLC machine" could read and understand this perfectly, the requirement to add 6 null bytes seems arbitrary