Live data from Hacker News

Viewing profile — gettalong

gettalong

HN member
Joined
Fri, Nov 28, 2008, 3:24 PM UTC
HN karma
23
Public activity
49 items

About gettalong

Author of the kramdown Markdown-superset converter (https://kramdown.gettalong.org) and of the HexaPDF PDF manipulation library (https://hexapdf.gettalong.org)

Recent public activity

  1. comment
    Comment #49120707

    Zero-trust architecture is a bit of a misnomer: When you use a browser based tool you are always at risk that the data gets out. So indeed you have to trust the site you are using …

  2. comment
    Comment #48730698

    Why is it that everyone now duplicates/vibe-codes PDF tool websites? It seems that there is one new each week for about half a year now with none providing any outstanding features…

  3. comment
    Comment #48725070

    If it can only be viewed with your web application, it won't be useful for the general public.

  4. comment
    Comment #48709508

    PDF already has the notion of portable collections (PDF 2.0 section 12.3.5). As far as I can determine this is very similar to what you do except that your pdfx format won't be sup…

  5. comment
    Comment #48683072

    I usually use pdfpc ( https://pdfpc.github.io/ ) for this which works like a charm. No internet access needed, content stays on the computer.

  6. comment
    Comment #46667504

    Regarding "Important Notice on Third-Party Components": You are including AGPL components in your project which itself is AGPL. Even if you distribute your part of the code under t…

  7. comment
    Comment #46600843

    In case you don't know it: PyHanko provides a full and up-to-date implementation for digital signatures in PDF, including time stamping. https://github.com/MatthiasValvekens/pyHank…

  8. comment
    Comment #41980642

    Yes, creating a binary and calling that would circumvent the AGPL. But then everything will be more complex and slower. Also, doing this extra work and developing the binary is pro…

  9. comment
    Comment #41969015

    I'm not a lawyer but I think you mistaken in this regard. One indication for this is that otherwise some major companies would have problems. For example, the GPL FAQ has the follo…

  10. comment
    Comment #41965520

    The library is dual-licensed as AGPL plus a commercial license. So everything is in the open and can be tested and tried out under the AGPL. Once the library is used in a commercia…

  11. comment
    Comment #41965437

    Thanks and corrected!

  12. comment
    Comment #41965397

    Thanks! I agree that laying out PDFs could be made easier by using a declarative mechanism instead of coding. However, I'm still not sure what the best way would be to do that. Usi…

  13. comment
    Comment #41277860

    You can get a long way with only implementing the most basic things of the PDF specification, like section 7. And even there you don't need everything. For example, there is no nee…

  14. comment
    Comment #41134313

    Many PDF viewers and library do not fully follow the PDF standard or have subtle bugs. This leads to problems later on. My guess is this all started many years ago when Adobe Reade…

  15. comment
    Comment #39412838

    Thanks - that helps!

  16. comment
    Comment #39412390

    Thanks for your answer! I imagined you would be using PrinceXML behind the scenes since that is probably the gold standard in HTML+CSS rendering. The only open source alternative I…

  17. comment
    Comment #39411935

    What are you using to generate the PDFs? Are you doing something like PrinceXML (or weasyprint) which directly convert HTML+CSS to PDF? Or are you converting HTML+CSS to something …

  18. comment
    Comment #39040796

    It may be a valid HTML and JPEG (didn't check) but it is definitely not a valid PDF file. For example, it is missing the version identifiers in the PDF header, there is no cross-re…

  19. comment
    Comment #38866545

    There is no reason to abandon PDF. As was already stated the main purpose of a PDF is viewing something as the author has intended, it should not be dynamic like a website. And edi…

  20. comment
    Comment #38659559

    It seems that the news hasn't spread far yet but due to sponsorships by various big PDF related companies the ISO standard for PDF 2.0 is freely available, see https://www.pdfa-inc…

  21. comment
    Comment #38659517

    If you need a state of the art CLI tool for signing PDFs that supports the latest standards (think ones from 2023), I can recommend pyHanko ( https://github.com/MatthiasValvekens/p…

  22. comment
    Comment #38017945

    So I uploaded one of my standard test files for compression and it actually expanded the file size from 52K to 93K while making the images blurry.

  23. comment
    Comment #37591093

    Fair point :) And yes, some PDFs use weird ways to represent the spacing between words.

  24. comment
    Comment #37589177

    So, I don't think that the first two parts, converting the PDF page to an image to get the text, is necessary. One could just use the basic information in a PDF content stream to g…

  25. comment
    Comment #37093615

    The content of a PDF file is not like the content of, say, an HTML or ODT file. With the latter you use plain text with formatting instructions and the application needs to do all …