Better HN
topnewbestaskshowjobs
Log inSign up

fraserxv

2 karma · joined Mar 6, 2013 (13y ago) · 10 submissions

http://fraserxu.me
Submissions

1.

Running Headless JavaScript Testing with Electron on Any CI Server(webuild.envato.com ↗)

1 points · by fraserxv · 10y ago · discuss

2.

PDF Generation on the Web(medium.com ↗)

1 points · by fraserxv · 11y ago · discuss

comment 11y ago · link · parent

What is the use case to delay the rendering? It's surely possible but you can do that in your own code no?

comment 11y ago · link · parent

Actually I have lots of issue with wkhtmltopdf.org, it does not really support well for encoding text like Myanmar language(haven't test it yet). Plus 'the browser' is the best(not even one of) tool to render HTML properly, that's what I've been loving it so far.

5.

Generate PDF from URL or HTML with Electron(github.com ↗)

2 points · by fraserxv · 11y ago · 4 comments

comment 13y ago · link · parent

@hellopat In case you want know more about using browerify for client side development, do check this: http://dontkry.com/posts/code/using-npm-on-the-client-side.h... http://dontkry.com/posts/code/browserify-and-the-universal-m...

comment 13y ago · link · parent

Hmm. I got the same issue while trying to use certain libraries. Not all of them is suitable for using in the client side. I changed some of the code and using the `module.exports` method to export it for browserify to use. Luckily most of the code is exposing an object already, so may not that hard to change it. The best approach may wrapper it and send the author of the lib a pull request. You may also check the video here. http://www.youtube.com/watch?v=YabwsSq6ASQ

comment 13y ago · link · parent

Yeap. Check out the code here. https://github.com/fraserxu/gifme There's an awesome library to do this. It's basically capture serval frames and use a algorithem to generate it.

comment 13y ago · link · parent

Like this way of getting things done. Geeky! I may translate the post into Chinese later.