Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Compression Formats

Name: Anonymous 2013-06-11 21:35

Why bothering supporting all formats, when we can use single turing-complete data format and eval would be a decompressor? Then anyone could use it's own private compression algorithm.

I.e. use Lisp's lambda as compression format, then Lisp's eval would be a decoder. You can store any imaginable data inside lambdas (http://en.wikipedia.org/wiki/Church_encoding)

Name: Anonymous 2013-06-11 21:36

Moreover, let all files be turing complete, so a gigabytes sized file full Pi digits could be represented as a few kilobyte *.lisp file.

Name: Anonymous 2013-06-11 21:37

The file system is an artifact of the limitations of early processors that had no memory virtualization capabilities and had an insufficient memory address word size. Programs and data had to be marshalled out of and back into a logically distinct store because 64K can only hold so much information. Modern 32 and 64 bit processors with memory management units can treat storage as large, slow, persistent memory obviating the contortions required in conventional operating systems to keep data from going away when the computer is shut down.

A heirarchical name space is still required for users to keep track of where they put things but virtual memory can hold that tree structure just as well as inodes can and the judicious use of separate memory spaces can side-step a 4 gigabyte limitation for storage on 32-bit machines.

Name: Anonymous 2013-06-11 23:38

>>2
But every nontrivial file would just have overhead instead, and it sounds like you're suggesting that the only way to read a file would be to execute it, which would be silly.

Otherwise, why not just do that, and pass around py.lisp instead of my_fucking_pi_digits.txt? (The answer is speed, by the way) It's not like we can't execute arbitrary files on the filesystem whenever we want, or like we can't bundle README files with datasets saying ``this isn't actually the data you want, but at least it's only a few kilobytes!''

Name: Anonymous 2013-06-12 0:01

That's already kinda exist.
Rar has its own virtual machine.

Name: Anonymous 2013-06-12 0:51

>>5
which is why you can write quines!

Name: Anonymous 2013-06-13 0:12

>>4
you're suggesting that the only way to read a file would be to execute it
you are already "executing" files by the miracle of read() syscall

like we can't bundle README files with datasets
README should be autogenerated, based on the options program supports and it's usage.

Name: Anonymous 2013-06-13 2:31

>>7
you are already "executing" files by the miracle of read() syscall
For a bullshit definition of ``executing'' that doesn't actually mean that.

Name: Anonymous 2013-06-13 2:40

"i like cocks" - nerd op

Name: Anonymous 2013-06-13 2:56

"I like nerds" -- cock >>9

Name: Anonymous 2013-06-13 3:32

>>20
listen here you

Name: Anonymous 2013-06-13 3:59

>>8
read() consists of executable, which must be executed in order to obtain content of the file.

Name: Anonymous 2013-06-13 4:12

>>4
what about /dev/random?

Name: Anonymous 2013-06-13 4:21

We use LZMA2 at work. But yeah, IHBT

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2013-06-13 6:26

>>3
No sync(), no use.

Name: Anonymous 2013-06-13 6:39

>>15
turing complete file can implement any imaginable sync

Name: Anonymous 2013-06-13 12:53

I am the most touring complete.

Don't change these.
Name: Email:
Entire Thread Thread List