Live data from Hacker News

Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

killedbyapixel.github.io

21–30 of 69 posts

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#22
post #19
post #13

I can't stress enough how much I admire that it is true 256 bytes, instead of usual 1k game jams, where submissions are presented as zipped, gzipped, and postfixed, and not including assets to fit the criteria. Hats off.

Is "import gameassets" allowed in those competitions? On a side note "import GOTO" works in python :)

> On a side note "import GOTO" works in python :)

Never heard of this, and it doesn't work on my interpreter (tested with both 2.7 and 3.11). Are you sure it's not a third party package?

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#23
post #22
post #19

Earlier quoted context omitted.

Is "import gameassets" allowed in those competitions? On a side note "import GOTO" works in python :)

> On a side note "import GOTO" works in python :) Never heard of this, and it doesn't work on my interpreter (tested with both 2.7 and 3.11). Are you sure it's not a third party package?

It indeed does not work. I was curious, and found this hilarious article "confirming" its existence: https://www.edureka.co/blog/goto-statement-in-python/ - it's complete nonsense and appears to have been written by ChatGPT.

The feature has been implemented a few times as a joke (more or less), e.g. https://github.com/snoack/python-goto/, but that one at least hasn't been updated for 5 years.

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#24

A minor note: this is the first time I've seen an svg embedded in a canvas purely for it's onload event. Within this context the canvas is referred to by its (bare) id. How strange and wonderful!

Why is that allowed? I didn’t realize one could do that in js.

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#25
Stuff like this makes me believe that the entirety of life really could be encoded in DNA. I've read that if you gzipped the human genome, the file would be about 4MB, which intuitively seems too small to represent a human. But if this behavior can emerge from 256 bytes, then clearly my intuition is off.

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#27
post #25

Stuff like this makes me believe that the entirety of life really could be encoded in DNA. I've read that if you gzipped the human genome, the file would be about 4MB, which intuitively seems too small to represent a human. But if this behavior can emerge from 256 bytes, then clearly my intuition is off.

Is a misconception that DNA is enough by itself to replicate a living being, there are biological bases in the embryon that need to be pass down from the parent as biological infraestructure for the new being to form.

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#28
post #25

Stuff like this makes me believe that the entirety of life really could be encoded in DNA. I've read that if you gzipped the human genome, the file would be about 4MB, which intuitively seems too small to represent a human. But if this behavior can emerge from 256 bytes, then clearly my intuition is off.

It could be a 4 megabyte-long seed for a random generator.

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#29
post #13

I can't stress enough how much I admire that it is true 256 bytes, instead of usual 1k game jams, where submissions are presented as zipped, gzipped, and postfixed, and not including assets to fit the criteria. Hats off.

thank you! it is a crazy challenge that is just shy of being impossible that seems like magic when it actually works.

Re: Show HN: Bitwise Liminal – A Short Film in 256 Bytes of Code

#30

A minor note: this is the first time I've seen an svg embedded in a canvas purely for it's onload event. Within this context the canvas is referred to by its (bare) id. How strange and wonderful!

It turns out that packing it into an svg onload is a tiny bit smaller then using a script tag!

It is possible to save a little more space by putting it in the canvas onclick event.

Post reply on HN