Hacker News new | past | comments | ask | show | jobs | submit | luv2code's comments login

Check out https://typst.app/ if you're looking to write a book yourself.

https://hypermedia.systems/ was written with it.


edit: the github page directly includes an example of PDF output, so maybe the site is just out of date.

----

I'm a bit confused; the site claims HTML and PDF outputs are "Coming soon"

what export formats are supported? HTML and PDF seem very significant to me, and are how I'd likely share most documents with non-tech inclined people.


Browsing this website gives me the urge to poop for some reason.


All You Need Is Kill is a great read. The movie, Edge Of Tomorrow, was based on this book.


You should give cinnamon a try. I think you would prefer it over gnome.


I actually use Linux Mint for this reason - Cinnamon is just awesome (except the random crashes every once in a while)

Docking support is great, but sound output needs to be swapped manually sometimes.


Will Cinnamon be fast and responsive on an old laptop with a 2nd-gen Intel Core i5 processor and 4 GB of RAM? And how is the support for NVidia GPUs?


check out chromebrew https://skycocker.github.io/chromebrew/ It's a package manager for chrome os (requires dev mode). It's intel cpu only though; but it has a lot of the dev packages you need.


Since debugging is over a TCP connection, you only have to start the nodejs process with the debug flag, and then plug the address and port into whatever debugger you're trying to use.


Also, visual studio community edition is free[1] can debug nodejs with an extension[2]. And the capability is integrated into VS Code[3] which works cross-platform.

Those and webstorm/intellij are the ones I have experience with. But most of the time, I just use the CLI debugger -- it's not hard.

[1] https://www.visualstudio.com/en-us/products/visual-studio-co...

[2] https://github.com/Microsoft/nodejstools

[3] https://code.visualstudio.com/


Which CLI debugger are you talking about? I thought one didn't exist


It has a built-in debugger that you start using `node debug /path/to/script`. See more here: https://nodejs.org/api/debugger.html


Jamie, I am getting about 10 errors a second in my console:

  Uncaught TypeError: Object sufio._xdWatchInFlight(); has no method 'apply' reader-29b4dd587f1ca6b5f0d639aac64ce9bf.js:1 e.(anonymous function) reader-29b4dd587f1ca6b5f0d639aac64ce9bf.js:1
Pretty print the error location from chrome:

  e.setInterval = function() {
        var e = t.call(arguments, 0), n = e[0];
        return e[0] = function() {
            try {
                n.apply(this, arguments)
  Uncaught TypeError: Object sufio._xdWatchInFlight(); has no method 'apply' (repeated 1589 times)
            } catch (e) {
                throw TraceKit.report(e), e
            }
        }, r.apply(this, e)
    }
The proxy at my work doesn't allow web sockets, and I think this might be related.

Also, I noticed that there are at least 3 different third party services being called (superfish, pusherapp and intercom). All of these are ancillary to the main functionality, right?

I haven't even got my feeds imported yet, and the app is already pulling down 2 MB. superfish in particular is super heavy. I think I would prefer a lighter payload.


Superfish? I'm not even using superfish. Intercom is so users can contact me and pusher is so I can push you new entries without requiring a reload.


yikes. It was a browser extension that uses superfish to inject ads. the extension allows you to disable this feature, but it still pulls in superfish. https://chrome.google.com/webstore/detail/orbvious-interest/...

I removed the extension and the payload is more like 1MB. Still seems hefty but not as much of a concern to me.

I also noticed that content wasn't gzipped. should be a simple matter to add that to nginx.


Good catch, will do!


What Pusher plan are you subscribed to and how's that working out considering the spike in traffic/simultaneous users?


the credit card information is transmitted to stripe over SSL. It looks fine.


I checked and the strip communication is done ajax style through https. I don't see a problem.


This is true. Also, you should be redirected to https when you go to /account if things are working how they're intended. I don't run the full thing through SSL quite yet, because I pull in content from lots of different sources (images, for example), and that would cause SSL warnings.

I have something in mind for this, but haven't gotten around to implementing it yet. Full SSL is coming.


FYI, Camo might be useful for this:

https://github.com/atmos/camo

There's also a Go (golang) port:

https://github.com/cactus/go-camo

I'm currently using go-camo in my own feed reader and have experienced some flakiness (images fail to load sometimes).

(Also, nice work!)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: