Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
UglyToad
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
UglyToad
1y ago
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 back when PDFs were first used on the machines of the t
2.
▲
by
UglyToad
1y ago
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, before even getting to PDFs containing images of scans
3.
▲
by
UglyToad
1y ago
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 of the file, or just be plain wrong. What prompted this
4.
▲
by
UglyToad
1y ago
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 the summary for now because they have a whole chunk of an
5.
▲
So you want to parse a PDF?
(eliot-jones.com)
408 points
by
UglyToad
1y ago
|
230 comments
6.
▲
by
UglyToad
2y ago
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.
▲
by
UglyToad
2y ago
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 (and have other benefits) - we must not lose sight of the n
8.
▲
China's social credit score – untangling myth from reality (2022)
(merics.org)
3 points
by
UglyToad
2y ago
|
0 comments
9.
▲
by
UglyToad
2y ago
The idea with the named delegate would be if you need some way to: delegate Task<string> GetUserEmail(int userId); This provides more guidance than taking in a: Func<int, Task<string>> getUserEmail If you
10.
▲
by
UglyToad
2y ago
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 into. I've had this on my blogpost-to-write backlog for
11.
▲
Alfredo Moser: Bottle light inventor (2013)
(bbc.co.uk)
58 points
by
UglyToad
2y ago
|
14 comments
12.
▲
by
UglyToad
2y ago
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 enhancement that would turn it from esoteric and difficu
13.
▲
by
UglyToad
2y ago
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 the event. Inevitably the user will come back and say "o
14.
▲
by
UglyToad
2y ago
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 a debit well that sounds like debt and my money decrea
15.
▲
Supreme Commander Graphics Study (2015)
(adriancourreges.com)
133 points
by
UglyToad
2y ago
|
62 comments
16.
▲
by
UglyToad
2y ago
Sounds sort of like the Citroen Ami? Slightly below your ideal range and quite expensive too but the same concept.
17.
▲
by
UglyToad
3y ago
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 catching things before review and in my experience makes th
18.
▲
by
UglyToad
3y ago
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 often just-about-managing under terms of an incredibly unfai
19.
▲
by
UglyToad
3y ago
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. "it is better a hundred guilty persons should escape th
20.
▲
by
UglyToad
3y ago
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 speed cameras: "In 1997 the Law Commission published a p
21.
▲
by
UglyToad
3y ago
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 is incredibly thorough and well told and covers multiple dif
22.
▲
by
UglyToad
3y ago
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 of ".toString" being meaningful whereas "
23.
▲
by
UglyToad
3y ago
Presumably that's only when using the Windows platform identifiers? This is news to me, thanks for the correction.
24.
▲
by
UglyToad
3y ago
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 get ads for everything in French. Despite my best*
25.
▲
by
UglyToad
3y ago
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 framework on the machine to run. Support for Winforms,
26.
▲
by
UglyToad
3y ago
I agree with you. This is why I think the idea of technocracy or "evidence based politics" is ultimately a mirage. Sure you can maybe assess some policy but the metrics you're choosing to measure or optimise for are political
27.
▲
by
UglyToad
3y ago
I think while the name things correctly principle is nice and good to aspire to like anything at the intersection of people doing the right thing and natural language there's a bunch of places it doesn't work. I'm usually rea
28.
▲
by
UglyToad
3y ago
It feels like their calculation missed 2 crucial confounders, stack depth and type tracking. 1) Stack depth. In their refactored example if I truly want to understand the code I need to now store everything I was thinking about in the curre
29.
▲
by
UglyToad
3y ago
The real 4D chess move is fake negative reviews of your own company that are so unreasonable in content they cast doubt on other negative reviews. This seems like an unsolvable problem with online reviews in general. However I generally fin
30.
▲
by
UglyToad
3y ago
There's probably newer AI powered tools but Tabula is the main library I know of https://github.com/tabulapdf/tabula-java
More ›