Live data from Hacker News

Viewing profile — UglyToad

UglyToad

HN member
Joined
Fri, May 03, 2019, 5:56 PM UTC
HN karma
1,662
Public activity
357 items

About UglyToad

Maintainer of https://github.com/UglyToad/PdfPig

Writes mainly C#

Recent public activity

  1. comment
    Comment #44786189

    Yes this is generally the fallback approach if finding the objects via the index (xref) fails. It is slightly slower but it's a one time cost, though I imagine it was a lot slower …

  2. comment
    Comment #44780954

    If you don't have a known set of PDF producers this is really the only way to safely consume PDF content. Type 3 fonts alone make pulling text content out unreliable or impossible,…

  3. comment
    Comment #44780927

    You're right, this was a fairly common failure state seen in the sample set. The previous reference or one in the reference chain would point to offset of 0 or outside the bounds o…

  4. comment
    Comment #44780685

    Yes, you're right there are Linearized PDFs which are organized to enable parsing and display of the first page(s) without having to download the full file. I skipped those from th…

  5. story
  6. comment
    Comment #42219905

    FWIW they are acting, these things just take a while, current phase of gathering comments ends December 2nd https://www.fdic.gov/news/press-releases/2024/fdic-proposes-...

  7. comment
    Comment #41989804

    The point, which seems to be routinely massively downvoted on here, is that both things can be true at once: - these drugs are good and a paradigm shift in the treatment of obesity…

  8. story
  9. comment
    Comment #41082260

    The idea with the named delegate would be if you need some way to: delegate Task GetUserEmail(int userId); This provides more guidance than taking in a: Func > getUserEmail If you …

  10. comment
    Comment #41082228

    My aim is to use dependency injection to inject the minimal dependency and nothing more. Versus the grab bag every interface in a medium-complexity C# project eventually devolves i…

  11. story
  12. comment
    Comment #41076352

    I've been experimenting with this, it makes testing trivial and removes the coupling that inevitably occurs with multi method interfaces. However I think there's one missing enhanc…

  13. comment
    Comment #41045307

    Having built recurring stuff in the past (date based with no time component, luckily for me) I think you gain a lot of usability gains for generating a row for each occurrence of t…

  14. comment
    Comment #39991415

    But the problem is the accounting jargon is counter (contra?) to the layman's gut understanding. If I get credited or I use a credit card money came from nowhere, woohoo. If I have…

  15. story
  16. comment
    Comment #39799104

    Sounds sort of like the Citroen Ami? Slightly below your ideal range and quite expensive too but the same concept.

  17. comment
    Comment #39132193

    For sure as others have mentioned review it yourself in the web interface of whichever PR tool you use. (Generally after having a break first) This is something of a superpower for…

  18. comment
    Comment #38954794

    As the sibling comment says (max reply depth reached) the sub-postmasters in general were just about getting by. Part of why this scandal is so egregious is that these people were …

  19. comment
    Comment #38952877

    I think any (financial crime) case built solely on computer evidence is too weak to be prosecuted, even if that means you end up accepting some non-zero amount of financial crime. …

  20. comment
    Comment #38952437

    The other complication was that a change in the law was made to assume computer systems were correct by default due to the problems with the existing law around breathalysers and s…

  21. comment
    Comment #38938994

    Can wholeheartedly add my recommendation for the book. In fact I think it should be required reading for anyone in the business of software. While I felt it was a bit over-long it …

  22. comment
    Comment #38217143

    Agree with this, if one is thinking in terms of typing letters out you're working at entirely the wrong level of abstraction and with the wrong primitives. I often use the example …

  23. comment
    Comment #37901648

    Presumably that's only when using the Windows platform identifiers? This is news to me, thanks for the correction.

  24. comment
    Comment #37901593

    It amazes me that these mega wealthy corporations don't understand uh... going abroad. Like I know it's not so common on the US but here if you pop across to France for a week you …

  25. comment
    Comment #37898218

    I can try but will doubtless miss something. .NET Framework was the .NET we all knew and tolerated. It was on version 4.6/7 or so. Windows specific, requires a full install of the …