Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    48
    Views
    1,329

    It's not so much the jargon that was the problem...

    It's not so much the jargon that was the problem for me but just understanding where to put the implied data and how to use it, that problem is now over and I will always have my upload for...
  2. Replies
    48
    Views
    1,329

    It was those hard coded values, they had...

    It was those hard coded values, they had indistinct naming (even in the docs) which got me confused, after I moved the related stuff to their own files and renamed them to match the files (I had an...
  3. Replies
    48
    Views
    1,329

    Finally got that blasted algorithm right, for...

    Finally got that blasted algorithm right, for anyone wanting to reference my code (which I've already cleaned up a bit prior to getting the algorithm right) here's where it's uploaded:
    Gitlab upload...
  4. Replies
    48
    Views
    1,329

    TBH I find that output to be unclear about what...

    TBH I find that output to be unclear about what the values represent, part of the reason I print the member names is so I can more easily see what should've been what compared to what it actually is....
  5. Replies
    48
    Views
    1,329

    Did you mean this? main.c:782: Code Symbols,...

    Did you mean this?


    main.c:782: Code Symbols, foresee = 18, longest = 4, have = 32, used = 16
    main.c:782: symbols[ 0] (0x5598b41d14d0): src = 2, use = true, sym = 0, get = 0, cpy = 0,...
  6. Replies
    48
    Views
    1,329

    I've just double checked the data (no...

    I've just double checked the data (no modifications from what I posted) and there's no duplicate lengths, are you sure you're not confusing symbols from 2 different tables? I added the names to make...
  7. Replies
    48
    Views
    1,329

    Since you've managed to implement the deflate...

    Since you've managed to implement the deflate algorithm correctly (unless I've misunderstood you somewhere) I'll ask you, can you see where I'm going wrong here?

    Output of length/distance...
  8. Replies
    48
    Views
    1,329

    I was more thinking about the resulting file as a...

    I was more thinking about the resulting file as a whole, sure there are cases where zlib is more appropriate, I was simply saying in this case picking zlib inside gzip results in wasted space whereas...
  9. Replies
    48
    Views
    1,329

    Fixed the crash, now my problem is missing data,...

    Fixed the crash, now my problem is missing data, this is what I get versus what I should get:


    abaabbbaba babaaaaba bbbaa
    abaabbbabaababbaababaaaabaaabbbbbaa
  10. Replies
    17
    Views
    510

    If I or someone else where programming on or for...

    If I or someone else where programming on or for that sort of computer then sure, the extra warnings above would be errors at that point, but when it's intended for the average computer addressing...
  11. Replies
    17
    Views
    510

    That seems dumb but again, they ARE ignorable on...

    That seems dumb but again, they ARE ignorable on projects that are NOT meant to go into the wild or even be used in other projects, sure there are special cases but on the average developer's...
  12. Replies
    48
    Views
    1,329

    Why'd you think I copied some of the concepts?...

    Why'd you think I copied some of the concepts? For example the look back feature, or the huffman code usage, there are places for storing the huffman codes sure, and that's part of the reason I left...
  13. Replies
    48
    Views
    1,329

    Yeah, I prefer a different compression I thought...

    Yeah, I prefer a different compression I thought up that uses some similar concepts but is a LOT easier to deal with, basically the 1st 64 bits should read ".HUFFMAN" to make it clear that it's...
  14. Replies
    17
    Views
    510

    Yes, because every single one of those are...

    Yes, because every single one of those are ignorable,most just want me to cast to void* or uint, neither effect the outcome in these cases, and a couple are just unused variable I though t I had...
  15. Replies
    48
    Views
    1,329

    Strange, that should only be reached under a type...

    Strange, that should only be reached under a type 1 scenario, the one used for the "hello hello hello hello" test (hello.gz in the zip I provided), well either way I should probably add a check that...
  16. Replies
    48
    Views
    1,329

    Judging by the lack of replies I take it no one...

    Judging by the lack of replies I take it no one felt like it, no biggie, eventually "fixed" it, I say fixed because I got passed the section only to encounter a crash during the attempt to free...
  17. Replies
    48
    Views
    1,329

    Hit a crash with the final section of my code,...

    Hit a crash with the final section of my code, since I need to do some shopping I figured I dump it here and see if I get lucky by the time I get back and someone both felt like looking through it...
  18. Replies
    17
    Views
    510

    For beginner C programmers that's fine but for...

    For beginner C programmers that's fine but for experienced C programmers who are only trying out something Wall is enough, any project that's only meant for one's own computer is usually gonna stay...
  19. Thread: Unions...

    by awsdert
    Replies
    8
    Views
    498

    By the way if you want to study how the binary...

    By the way if you want to study how the binary system of FPNs work I suggest taking a look at the core functions of my ALU project (I'm planning to clean it up later when I've got time for it,...
  20. Replies
    48
    Views
    1,329

    Colour me surprised that such a simple change...

    Colour me surprised that such a simple change would fix all of them (I had fixed the code & length UIDs but distance ones got mess up, this resolved that a lot better), thanks :)
  21. Replies
    48
    Views
    1,329

    I did say there was a bug with UIDs, thank you...

    I did say there was a bug with UIDs, thank you for the code you provided after this though
  22. Thread: Unions...

    by awsdert
    Replies
    8
    Views
    498

    Personally I prefer to use sizeof(float) rather...

    Personally I prefer to use sizeof(float) rather than using 4 directly, then instead of directly referencing the bytes I would use a loop to access them, just gives that piece of mind that all bytes...
  23. Replies
    17
    Views
    510

    I agree with jimblumberg if your code is intended...

    I agree with jimblumberg if your code is intended to go out into the wild (such as a gitlab hosted project) but if it's only on your computer then -Wall or /Wall (depends on compiler) is enough to...
  24. Replies
    48
    Views
    1,329

    Dunno if it's of value to you but this is where...

    Dunno if it's of value to you but this is where I've got with just the deflation of the huffman data, currently got a bug with UIDs, specifically with getting the right length for length/literal...
  25. Replies
    48
    Views
    1,329

    If anyone WAS trying to help (which I currently...

    If anyone WAS trying to help (which I currently doubt) I found the information I needed:

    RFC 1951 DEFLATE Compressed Data Format Specification ver 1.3



    That was way to easy to overlook, they...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4