HNHacker News
TopNewBestAskShowJobs

hexomancer

2,360 karma · joined July 25, 2016

a.hr.mostafavi@gmail.com
submissionscomments
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and textbooks
Currently there is no way to see list of marks but you can see the list of bookmarks.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and textbooks
The bookmark feature is basically notes, though they are not currently displayed on the side.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and textbooks
We have this feature! See https://github.com/ahrm/sioyek/issues/86.
hexomancer··on MIT 6.S081 – Operating System Engineering
On a tangent note, is there a catalogue of unlisted MIT courses such as this one?
hexomancer··on Speeding up my Advent of Code solution with Dijkstra's Algorithm
This approach is pretty well-known. See Bellman-Ford [1] and Floyd-Warshall [2] algorithms.

[1] https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm

[2] https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorit...

hexomancer··on Sioyek – PDF viewer designed for reading research papers and technical books
Previous discussion on beta release: https://news.ycombinator.com/item?id=27893303

Some of the features:

* You can middle click on a reference/figure to go to the reference/figure (even if the PDF doesn't have links)

* You can middle click on a paper name in references to directly search it on google scholar

* Searchable table of contents

* Full browser-like history

* You can mark locations by character symbols (vim style)

New features since beta:

* Mac and Linux versions

* Highlights

* Ability to right click on references to open a quick overview of their location (works even the PDF doesn't have links)

* Ability to highlight the current line being read (this seems like such a minor feature, but it has extremely improved my quality of life while reading books, of course I am biased though :) )

* SyncTex support

* Dark Mode

* Ability to export your data

* Ability to synchronize your data across machines

Here is a video demo of some of the features: https://www.youtube.com/watch?v=yTmCI0Xp5vI&t=1s

hexomancer··on Ask HN: Whats your ideal PhD workflow
I wrote a research-oriented PDF viewer during my own PhD. The ability to be able to quickly find and search references proved invaluable to me (obviously I am biased though :) ). Here it is:

https://github.com/ahrm/sioyek

hexomancer··on Lessons learned from 15 years of SumatraPDF, an open source Windows app
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.

hexomancer··on Lessons learned from 15 years of SumatraPDF, an open source Windows app
It means 31 (thirty one) in persian.
hexomancer··on Lessons learned from 15 years of SumatraPDF, an open source Windows app
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)

hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
You can middle click on a reference to quickly go to the reference. You don't lose your place in the document because you can press backspace to get back to where you were (you could also leave a right-click highlight before you click so when you come back you know exactly the line you were reading).
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
> It seems to target the figure caption though, and depending on zoom level / window size might leave most of the figure out of view.

You are right. It currently does target the caption (specifically the place where the word `Figure' is). Targeting the exact figure is something that I will work on.

> what looked like [13] was stored as @13#.

We probably should support more citation styles. Currently only the bracket style is supported but some papers cite using parentheses or other formats. If brackets being stored as @[NUM]# turns out to be common I could handle that too but I don't know how common it is since I have never seen something like this.

>The helper window opened behind the main window (for me, anyway), which is a little awkward.

You are right, we should fix this ASAP.

>As I was reading, I found myself wanting Smart Portals more than Smart Jump. Same automatic cross-reference detection as Smart Jump, but defining a Portal instead of a link.

There is kind of an smart portal feature in the sense that if you press 'p' and then middle click on something, then sioyek creates a portal from your current location to the location that it would take you if you just middle clicked on the text.

Automatic cross reference detection without user input is something that I have thought about and definitely want to do but the problem is there may be too many false positives, which could make things annoying. For now I think the semi-smart portals are a decent compromise.

>The view in the helper window can't be zoomed or panned, so unless it's kept at the same width as the main window was when the portal was captured, the helper window tends to crop out part of the captured content.

Yes it can. If you want to adjust a portal, press 'P' (that is, shift+p) while the portal is active. This takes you to the location of portal, now you can pan or zoom in and when you are done, press backspace to get to where you were. The portal will be updated with the new zoom/pan.

> I found myself liking shift-o more than I thought I would, more than tabs. It would be helpful to be able to clear entries from the previously opened list though; mine is now littered with test files.

You are right, definitely should add the ability to delete old documents.

hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
Fixed. Thanks.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
We do currently have something like this feature. If you select a piece of text and then press the bookmark button, then the bookmark text will be automatically filled with the selected text. Later, the bookmarks can be searched by pressing `gb' (search the bookmarks in the current document) or `gB' (search all the bookmarks).
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
There is an open github issue on the linux build. Currently the project builds and works on linux without any issues. The only thing remaining is packaging the executable so that the user doesn't have to manually install all the libraries which is probably very simple but it is taking me a long time because I am a noob when it comes to linux buils :/ .

The Mac version may take longer simply because I don't have access to a mac computer. Though theoretically it should compile on mac right now.

hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
I had some previous experience modifying Sumatra PDF which uses MuPDF so I was already familiar with MuPDF. I didn't really look into pdfium :D.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
> A few questions/feature requests/comments: Is there a way to link to a page/mark/bookmark/figure from outside the document?

Yes you can (if I understood your question correctly). Press p and then navigate to the target file and then press p again to create a portal from the source PDF to the target PDF. (you can press tab to automatically jump to the target document if you need to)

> Can we export the marks/bookmarks/document state to a plaintext-compatible file?

Currently not but I could add it as it seems that a lot of people are requesting this feature.

> are marks single-character only? And can you not jump straight to a bookmark, only bringing up and searching the bookmarks context menu?

Yes. You are correct. Marks are meant for quick jumps around documents and Bookmarks are meant to be for more persistent situations (for example you can bookmarks an an exercise in a PDF so you can return to it at a later date when you have more time)

> "Set bit 13, CRCEN, before turning on bit 6, SPE, see ref manual page 808" or in your schematic that your PCB needs to "Route for additional 4.7 uF point of load capacitance within 25mm/nH/mOhm, see datasheet page 69".

I think portals are perfect for this use case because, as I said, you can create portals across different documents.

hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
You can currently change the background color of the app (not the PDF) in the configuration file. We don't currently have True Dark Mode but it shouldn't be too hard to implement.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
yes.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
The data is stored on a sqlite database file next to the executable.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
What do you mean exactly by annotations?

Sioyek currently does have a bookmark support which is external to the PDF (you can bookmark locations in PDF file and you can later quickly search in those bookmarks).

But I assume you mean some sort of visual annotation that is drawn on top of the PDF?

hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
Thanks! I do use this for LaTeX myself and synctex support is on my to-do list.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
Unfortunately it currently can't. But I do plan to add it eventually.
hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
I currently don't do any indexing for general search (though I do index the figures, references and equations when the book is first opened). But I do plan to index more things (like the definitions you mentioned) in the future.

I think current search performance is better than other PDF viewers though (sub-second on a 500 page PDF on my 6700K CPU).

hexomancer··on Show HN: Sioyek – PDF viewer for reading research papers and technical documents
Some of the features:

* You can middle click on a reference/figure to go to the reference/figure (even if the PDF doesn't have links)

* You can middle click on a paper name in references to directly search it on google scholar

* Searchable table of contents

* You can mark locations by character symbols (vim style)

Currently only the Windows build is available. Mac and Linux builds coming soon.

hexomancer··on Apollo 11 implementation of Trigonometric functions (1969)
Also here is the same graph with the classic taylor expansion of sin with 3 terms (x + (x^3)/(3!) + (x^5)/(5!)):

https://www.desmos.com/calculator/emfz64hjhv

hexomancer··on DatasetGAN: Efficient Labeled Data for AI Training
Yes, but at least it's unsupervised.
hexomancer··on Kurt Vonnegut on 8 ‘shapes’ of stories
The video lecture of Vonnegut himself explaining this is also worth watching:

https://www.youtube.com/watch?v=GOGru_4z1Vc

hexomancer··on Starlink is a big deal
I don't know if you were being sarcastic or not but for me the reason that I live in a city absolutely is easy access to those.
hexomancer··on Ask HN: What book to read to get a footing in CS theory?
Probably a little more advanced than what you are looking for but I would like to recommend The Nature of Computation by Cristopher Moore and Stephan Mertens as a next step. It is such a fun book to read, with a lot of problems and exercises.

http://nature-of-computation.org/

← PreviousPage 7 of 8Next →