News for hackers. Stuff that matters.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by approxim8ion on Tuesday July 27, 2021 @08:05AM (#27971439)
Sumatra, alongside maybe Everything and IrfanView, is my favorite piece of software on windows. Incredible speed, great customizability and awesome compatibility.

I really missed it when I made the switch to Linux, but not enough to consider installing WINE. Still, absolutely wonderful project deserving of the highest praise.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by Multicomp on Tuesday July 27, 2021 @01:02PM (#27974745)
Big kudos to the author for not getting sucked into the Electron Maelstrom. I find it so interesting that fancy MVU style Elm web UI event loops etc. all just reinvent the message loop that Windows has used since Win95.

My PDF journey went from Adobe to Foxit to Firefox to SumatraPDF to Okular.

I chose Okular over SumatraPDF because it does form fills and saves said form fill data to a new PDF. (Sumatra may do form fills now, IDK)

I never would have tried Ocular if I wasn't on Fedora KDE, Sumatra was good enough, and I just fell back to FF when I had to do form fills (then print via CutePDF).

Now that Okular is just a 'choco install okular' away from having it on Windows as well as Linux, I get application consistency, form-fills that save modified PDF files, and annotation stuff.

But for Grandma? SumatraPDF it is.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by Narishma on Tuesday July 27, 2021 @02:00PM (#27975483)
> the message loop that Windows has used since Win95

I'm pretty sure Windows had a message loop since the very first version.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by hexomancer on Tuesday July 27, 2021 @11:12AM (#27973397)
There is a new open source PDF viewer called sioyek that has many of the features of sumatra and has experimental linux builds.

https://sioyek.info/

(Disclaimer: I am the developer of sioyek)

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by rahimnathwani on Tuesday July 27, 2021 @11:28AM (#27973616)
I like the idea of the 'portal' feature. I use a wide monitor instead of two monitors, so two windows side by side is perfect for PDFs.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by culopatin on Tuesday July 27, 2021 @11:27AM (#27973594)
What is the origin of the name? Sounds pretty hard to remember
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by hexomancer on Tuesday July 27, 2021 @11:45AM (#27973797)
Replying here because I couldn't reply to your other comment (I think it reached max depth).

It has no particular relation to PDFs :D. It's just a random name. I also like the number 31.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by hexomancer on Tuesday July 27, 2021 @11:38AM (#27973712)
It means 31 (thirty one) in persian.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by culopatin on Tuesday July 27, 2021 @11:41AM (#27973746)
And what connects 31 to PDFs? Just curious honestly. I also wonder why Sumatra is called that way
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by krylon on Tuesday July 27, 2021 @09:27AM (#27972126)
Paint.NET is great, too. It's not open source, unfortunately (for valid if regrettable reasons), but it's free as in free beer. The memory of its GUI makes me sigh a little whenever I open GIMP.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by slugs19 on Tuesday July 27, 2021 @10:54AM (#27973182)
I use photopea.com. It's a Photoshop clone but loads much faster and works great for when you don't need some of the newest / cutting edge PS features and don't work with large files.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by redeuxx on Thursday July 29, 2021 @04:48PM (#28001312)
The developer did an AMA. He makes a decent living off it.

https://www.reddit.com/r/IAmA/comments/9urjmg/i_made_a_free_...

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by OneLeggedCat on Tuesday July 27, 2021 @02:39PM (#27975910)
How have I never tried this. Nice project.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by jjeaff on Tuesday July 27, 2021 @04:16PM (#27977050)
Most amazing thing to me is that it is built and maintained by a single developer.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by basch on Wednesday July 28, 2021 @02:37AM (#27980882)
and that the entire program is about 2mb. Would fit on an extra high density 3.5in floppy.

https://www.photopea.com/api/accounts

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by Workaccount2 on Tuesday July 27, 2021 @10:49AM (#27973123)
>(for valid if regrettable reasons)

Well now you got me curious. Why is that?

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by genpfault on Tuesday July 27, 2021 @11:37AM (#27973704)
> Initially, Paint.net was released under a modified version of the MIT License, with the exclusion of the installer, text, and graphics. It was completely open-source, but because breaches of license, all resource files (such as interface text and icons) were released under a non-free Creative Commons license forbidding modification, and the installer was made closed-source. Version 3.36 was initially released as partial open-source, but Brewster later took down the source code, citing problems with plagiarism. In version 3.5, paint.net became proprietary software. Users are now prohibited from modifying it.[1]

[1]: https://en.wikipedia.org/wiki/Paint.net#History

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by colejohnson66 on Tuesday July 27, 2021 @11:31AM (#27973641)
Paint.NET was open source, but a pirate would download the code, put their name over the author’s, and click build. That’s a very clear case of copyright violation, but the author decided it wasn’t worth the effort (especially if the pirate is in another country).

https://blog.getpaint.net/2007/12/04/freeware-authors-beware...

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by angus-prune on Tuesday July 27, 2021 @11:42AM (#27973759)
The author blogged about it in 2009 [1]

TL;DR They used a MIT licence and other people were selling broken, rebranded cashgrab copies without changing things like the installer or crash logs being sent to the author etc

[1] https://blog.getpaint.net/2009/11/06/a-new-license-for-paint...

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by beerandt on Tuesday July 27, 2021 @02:22PM (#27975716)
So why isn't this a problem for other open source software? Or is it? Is it only because of the high demand for a cheaper/free Photoshop alternative?
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by david_allison on Tuesday July 27, 2021 @04:53PM (#27977494)
It is.

It's more than frustrating to have crash logs that don't refer to your code and contain access tokens or similar data because the author of the 'rebranded' software doesn't care about user privacy.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by npteljes on Tuesday July 27, 2021 @10:25AM (#27972818)
Have you tried Pinta? Filled the niche for me after switching to Linux.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by pndy on Tuesday July 27, 2021 @10:30AM (#27972876)
Pinta uses an older Paint.Net code - https://github.com/PintaProject/Pinta
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by mananaysiempre on Tuesday July 27, 2021 @11:19AM (#27973483)
Apparently the author was unhappy with someone re-releasing the software while erasing the original credits (multiple times?): <https://stackoverflow.com/a/1693549>. Not sure why hiding the source code would help much, but oh well.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by Zababa on Tuesday July 27, 2021 @10:36AM (#27972951)
Pinta crashes very frequently for me, usually after 2/3 operations.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by pizza234 on Tuesday July 27, 2021 @12:36PM (#27974425)
I did, and unfortunately it's usable only for extremely basic cases.

Images of a few megapixels will cause it to crash or hang on selection. Happened so many times that I am forced to use GIMP.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by rand49an on Tuesday July 27, 2021 @10:59AM (#27973243)
I'd add Bvckup 2 to that list. Simply a application for copying/mirroring directories but is quick with a simple UI despite having lots of options.

Bought a license years ago but still use it daily.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by luismedel on Tuesday July 27, 2021 @02:24PM (#27975743)
Happy customer here. Bvckup2 is one of the most polished pieces of software I've ever used.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by cryo on Wednesday July 28, 2021 @04:49AM (#27981647)
The author of Bvckup2 has a very interesting blog with articles about the ui developement:

https://bvckup2.com/wip/

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by keb_ on Tuesday July 27, 2021 @04:07PM (#27976955)
There really is an abundance of high quality, and performant open-source applications on Windows. Among the three you've listed, I can also mention Notepad++, JPEGView, MPC-HC, Scoop.sh, and ShareX.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by radmuzom on Tuesday July 27, 2021 @02:08PM (#27975572)
Agreed. And it's written in the native Win32 API. I personally find native Win32 apps much more usable with better UI/UX than most "modern" frameworks.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by MeinBlutIstBlau on Tuesday July 27, 2021 @10:34AM (#27972925)
I love Sumatra too. I dislike there is no dark mode so I just used inverted colors and it has worked well. Super lightweight and simple. Unlike adobe which is bloated, slow, and annoying.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by throwawaysea on Tuesday July 27, 2021 @05:25PM (#27977862)
I wasn't aware of Everything - seems interesting. Are there equivalents to these that you like on Linux?
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by keb_ on Wednesday July 28, 2021 @12:31AM (#27980267)
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by approxim8ion on Wednesday July 28, 2021 @01:09AM (#27980447)
I use fzf on Linux for the same thing. Just stick it in an xdg-open and alias it.

As for pdfs and stuff, zathura, Okular, Calibre, or whatever ships with the distro are usually fine.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by wander_homer on Tuesday July 27, 2021 @05:40PM (#27978003)
FSearch is intended to be an alternative to Everything. However it doesn't have feature parity (and probably won't ever have due to some platform limitations on Linux). Disclaimer: I'm the author of FSearch.

I also like to use fzf a lot, which is an amazing search utility (not only for finding files) for the terminal.

Re:Lessons learned from 15 years of SumatraPDF, an open sour... by qalmakka on Wednesday July 28, 2021 @03:28AM (#27981229)
I personally like Okular a lot, I also like to use it on Windows (it's in the Windows store).
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by nolroz on Tuesday July 27, 2021 @10:23AM (#27972789)
What's wrong with WINE?
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by michaelmrose on Tuesday July 27, 2021 @02:34PM (#27975850)
Not the poster but in brief using wine for your workflow implies that between version n and n+1 something may stop working potentially with a workaround or potentially forever. It's also styled funny compared to native apps.
Re:Lessons learned from 15 years of SumatraPDF, an open sour... by approxim8ion on Tuesday July 27, 2021 @11:26AM (#27973585)
Nothing wrong with it, I just think it's too much stuff to have on my system for a single program. And it introduces new kinds of vulnerabilities that I don't care for.