Better HN
topnewbestaskshowjobs
Log inSign up

serhack_

4,089 karma · joined Oct 9, 2017 (9y ago) · 554 submissions

Serhack.me account. E-mail: hi@serhack.me Blog: https://serhack.me
Submissions

comment 4y ago · link · parent

Ahh, Adobe.. they have earnings for billions and billions and they can not improve their software suites on performance..

362.

The Unicode Standard, Version 15.0(home.unicode.org ↗)

2 points · by crecker · 4y ago · discuss

363.

Open Source and Non-profit program Fastly(fastly.com ↗)

3 points · by crecker · 4y ago · discuss

364.

Developing a Keylogger: Hardware vs. Software Techniques (2017)(serhack.me ↗)

1 points · by crecker · 4y ago · discuss

comment 4y ago · link · parent

Go Mattermost!

366.

Technical Analysis of WannaCry Ransomware (2017)(serhack.me ↗)

1 points · by crecker · 4y ago · discuss

367.

Ask HN: What apps do you use as freelancer?

1 points · by crecker · 4y ago · 1 comment

comment 4y ago · link · parent

How to Write a Technical Book https://serhack.me/articles/how-to-write-technical-book/

comment 4y ago · link · parent

Really similar to one I have already seen on Photoshop. My goal was comparing the pdfs without any Adobe, my editors do not have license for that.

comment 4y ago · link · parent

Probably. It's really similar to the approach that munificentbob used in his tool (http://journal.stuffwithstuff.com/2021/07/29/640-pages-in-15...). It uses mainly a Photoshop action.

comment 4y ago · link · parent

Thank you! :) you do not know how many issues I spotted on older books I formatted. Paragraphes randomly moved on the top, images streched as I was build more pdf.. all human errors that can be - at least - spotted.

comment 4y ago · link · parent

It looks like I need to watch it with 3d glasses, but I like it!

comment 4y ago · link · parent

> It's automatic. As if there were no page boundaries, like in text diffs). But for a paged-based diff-tool it would already be quite useful, if the user could interactively specify pages to ignore, so that the comparison can start again where both docs are the same (e.g. at the start of the next chapter).

Gotcha. I might transform this project from a command-line only to a visual tool. I could implement that, thanks for the idea. I can actually have some sections of the PDF ignored.

comment 4y ago · link · parent

I took inspiration from that repository too! :)

comment 4y ago · link · parent

Thanks for the feedback. Should the user specify the page boundaries or does pdf-diff automatically checks where page boundaries are?

comment 4y ago · link · parent

Thanks for the comment! I think it's not too difficult to build something similar (even with a web server so you can make comparison on fly).

I'm playing with alpha compositing, I'm going to commit some little changes to enchant the experience a little bit.

comment 4y ago · link · parent

> ImageMagick's `compare` can do this as well, on a pixel-level.

Yes, thanks for the comment. I wanted to build something with golang :)

comment 4y ago · link · parent

Yes, if it causes things to shift, the tool shows every page red. This tool is meant to be ran in the final phase of typesetting, the moment when you want to focus attention on details (e.g. spacing).

comment 4y ago · link · parent

> After the first few times comparing PDFs of schematics by eye, I said screw it and wrote a tool to export to PNGs and then compare them pixel-by-pixel. It saved me a ton of time and my sanity.

It saved mine! I usually work with books and sometimes it's really difficult to tell 10 people to check every single page if something has been different to a previous pdf I sent. They will never be able to find all the differences because we're humans, not bot. We make mistakes.

comment 4y ago · link · parent

Thanks for your comment! By complicated PDFs, what do you mean exactly? A lot of pages? With forms? I've tried with standard technical books I have bought.

The pdf-diff tool simply captures a sort of "screenshot" of a PDF page and then compares it against to the page from the second PDF file you'd like to compare. Since it works by comparing raw pixels, I guess it'll work with complicated PDFs.

Now "working" does not mean it's a good result for the eye and this is why I asked for help regarding some issues.

381.

Show HN: PDF-Diff - Visualize any differences between two PDFs(github.com ↗)

169 points · by serhack_ · 4y ago · 36 comments

382.

Ask HN: How do you manage your tasks?

1 points · by crecker · 4y ago · 2 comments

383.

First 100k KG Removed from the Great Pacific Garbage Patch(theoceancleanup.com ↗)

64 points · by crecker · 4y ago · 29 comments

comment 4y ago · link · parent

I doubt that you could contribute to it, but it's a nice example. Thanks!

comment 4y ago · link · parent

I love those! Was wondering if there were any other topics not related to programming that might need the same love.

comment 4y ago · link · parent

E.g. of an open source book: https://hefferon.net/linearalgebra/index.html "Linear Algebra" by Jim Hefferon.

387.

Ask HN: Which are the best open source books?

40 points · by crecker · 4y ago · 17 comments

388.

Which are the best open books?

1 points · by crecker · 4y ago · 1 comment

389.

Release v0.100.0 · Hugo(github.com ↗)

2 points · by crecker · 4y ago · discuss

1
121314
19