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

Infinite Compression Explained

Name: FrozenVoid 2009-06-24 10:03

Because most of you don't read my blog,(i don't read random blogs as well) and have so much questions about what i'm doing with my programs, i'll write it here:
All of the programs(about 6 developed so far) despite wildly varying routines are targeted to generate large integers.
These integers are not files. Following transformations occurs:
encode
1.file is converted to large integer X(arbitrary length).
2.X multiplied by some scale factor e.g. 10e1000 to get a lower bound
2.(X+1)by some scale factor e.g. 10e1000 to get an uppper bound
3.a search is performed for finding numbers inside that range which are easy to represent via formula.
4.if number(s) found its saved to a file.
decode:
1.a formula is supplied with number(s) and filesize
2.the formula generates an integer/float, which is then divided by scale factor(e.g. 10e1000).
3.the first filesize bytes are then written to output.

the proces isn't perfected yet, because the formulas currently used in my programs either too slow to search or cuttoff at float precision(for non-integer parameters)
________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: FrozenVoid 2009-06-29 8:25

current code can be downloaded at : http://frozenvoid.blogspot.com/2009/06/static-integer-power-search.html


______________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: FrozenVoid 2009-06-29 9:24

If i had precompiled MFPR .libs on windows it'll make the search much more efficient(in terms of number of stored floats, not speed)



__________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: FrozenVoid 2009-06-29 9:27

Function: int mpfr_pow (mpfr_t rop, mpfr_t op1, mpfr_t op2, mp_rnd_t rnd)
^this is the function i need


_______________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-29 10:01

If only there were some mathematical function where one could capture the exponent in some base, instead of searching. Why, god, why is math so hard????????

Name: FrozenVoid 2009-06-29 10:07

>>164 search needs fast loops and fast operations.
The MPFR and GMP use optimized assembly: I cannot hope to achieve their performance with some hack to approximate floating point powers.



_________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: FrozenVoid 2009-06-29 10:10

Just for example, imagine exponentiation of  1.0000000000113111098123382013727423894 by 2130706432.31209383236218736284234



_________________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-29 11:28

>>166
OMG that's the excel file representing all my banking information!!

Name: FrozenVoid 2009-06-29 11:58

>>167  this number could be a file or it could be just a part of series of such numbers which converge(and my compression is dependent on methods for such convergence) into a file. 



_______________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est

Name: Anonymous 2009-06-29 18:05

(define continued-faction
    (λ(x)
      (let iter ((val 1) ; needs some work!
                 (lst empty)
                 (x x))
        (cond ((= x 1) (reverse (cons 1 lst))) ; reverse not necessary but
              ((= x 0) (reverse lst)) ; it looks nicer this way
              ((> (factorial val) x) (iter 1 (cons (- val 1) lst) (- x (factorial (- val 1))))) ; needs some memoization!
              (else
                (iter (+ 1 val) lst x))))))

(define collapse-cf!
 (λ(rep)
   (apply + (map factorial rep))))


> (continued-faction 12131231454)
(13 12 12 12 12 12 12 12 12 12 12 12 12 11 11 11 10 10 10 10 10 10 10 10 10 10 8 8 8 7 7 7 7 7 7 6 6 5 5 5 4 4 3)


Shoot!

Wait, I know, the problem is in the factorial function. I'll just use the gamma function, that way I can use floats, whose magickal compression powers are well-documented. Does anyone know of a free gamma function library call with arbitrary-precision inputs that I can use in Scheme? Thanks.

Name: Anonymous 2009-07-24 4:48

Where's mah compression?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-24 5:50

>>170 Not in active development. I'm concentrated on the game.



_______________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
The press does not tell us what to think, it tells us what to think about.

Name: Anonymous 2009-07-24 9:33

>>171
the game

FFFFFFFFUUUUUUUUUUUUU-

Name: Anonymous 2009-07-24 9:43

>>172
back to /the game/ please

Name: Anonymous 2009-07-24 21:05

>>171
You'll need to have it worked out by then to deliver the content with peak efficiency.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-07-25 2:35

>>174 Content is procedurally generated. No need for compression.



________________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
When everyone thinks the same, nobody is thinking.

Name: Anonymous 2009-07-25 5:41

PUBLIC SERVICE ANNOUNCEMENT:

20721 IS NOT BEING CRAPFLOODED

Name: Anonymous 2009-07-25 10:26

PUBLIC SERVICE ANNOUNCEMENT:

20721 IS NOW BEING CRAPFLOODED

Fixed

Name: Anonymous 2009-07-25 10:37

>PUBLIC SERVICE ANNOUNCEMENT:

20721 IS NOW HAX'D ANUS

Fixed

Name: Anonymous 2009-08-16 1:48

Lain.

Name: Anonymous 2009-08-16 2:03

Lain.

Name: Anonymous 2009-08-16 2:15

Lain.

Name: Anonymous 2009-08-16 2:34

Lain.

Name: Anonymous 2009-08-16 2:34

Lain.

Name: Anonymous 2009-08-16 3:07

Lain.

Name: Anonymous 2009-08-16 3:13

Lain.

Name: Anonymous 2009-08-16 3:22

Lain.

Name: Anonymous 2009-08-16 3:23

Lain.

Name: Anonymous 2009-08-16 3:49

Lain.

Name: Anonymous 2009-08-16 4:03

Lain.

Name: Anonymous 2009-08-16 4:21

Lain.

Name: Anonymous 2009-08-16 6:29

Lain.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !fRoZeNHN4I 2009-08-20 12:28

I personally use Notepad2 and avoid any "makefiles"(which i consider bloated and poor design)[1]

I use one include file for everything.
#include "void.h" //handles all the common functions,#defines,#ifdefs and #includes

Anything which uses makefiles is defective Sepples-level shit.
All the C code posts on my blog are void.h merged with somefile.c
-
References
1. >>1250330533/ posts 10,12

Name: Anonymous 2010-11-26 13:05

Name: Anonymous 2011-02-03 3:14

Name: Anonymous 2011-03-01 7:42

[b][i][o]ENTERPRISE QUALITY[/o][/i][/b]asdfadf

Name: Anonymous 2011-03-20 18:15

Name: Anonymous 2011-03-20 18:23

Oh, look, it's this again!

Name: Anonymous 2011-03-20 18:53

ONE WORD PIGEONHOLE PRINCIPLE. BEND OVER.

Name: Anonymous 2011-03-21 4:28

GREATEST THREAD EVER

Also, dubs

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