Timeline for Counting bytes in Scratch
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 11, 2014 at 19:05 | comment | added | user12205 | In fact, the JSON file is not the only code in a Scratch project. Media files, such as the costumes of the sprites (in svg) and sound files (in mp3/wav) are included in the project, and only a md5 hash of these media files are present in the JSON. So, when these are required, having only the JSON file is not enough. | |
| Apr 3, 2014 at 14:32 | comment | added | gmatht | We seem to disagree on what what the important factors are in scoring golf, so I have reworked my answer to focus more on my argument that byte-count of a real encoding is the most important factor in scoring. BTW, GolfScratch represents exactly the same syntax tree as Scratch and the JSON, so arguably it is just a more efficient encoding similar to how UTF8 is often more efficient than UTF16. | |
| Apr 3, 2014 at 14:23 | history | edited | gmatht | CC BY-SA 3.0 | Rework as a Position Statement. |
| Apr 2, 2014 at 18:55 | comment | added | ugoren | I accept you claims that my suggestion isn't good enough, but not your solutions. The JSON, being machine generated, doesn't work. Your GolfScratch seems to me like another language, somewhat related to Scratch but not the same one. | |
| Apr 2, 2014 at 17:59 | comment | added | gmatht | OK, I now use the term "representation" instead of "source". Does this resolve your objection? | |
| Apr 2, 2014 at 17:57 | history | edited | gmatht | CC BY-SA 3.0 | Add mention of GolfScratch compiler. |
| Apr 2, 2014 at 4:40 | comment | added | ugoren | You have good points, and my suggestion does make Scratch "too good". But I don't think the JSON is the source - it's a way to keep the source plus meta-data, similarly to a Virtual Studio project. The trouble is that the source isn't textual. | |
| Apr 2, 2014 at 0:58 | history | answered | gmatht | CC BY-SA 3.0 |