How Jack Reacher Gave Lee Child Tremendous Freedom as an Author

Jack Reacher made it easy (hardly) for author Lee Child who developed an anti-James Bond hero in the late 20th to early 21st centuries. Reacher doesn’t use the latest technology. Doesn’t own anything…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to display a PDF in an iframe using FileReader API

It all starts one day when I get a new story. The story description was the following: ‘Me as a user I want to see a preview of the document’. It seemed clear. The backend was done and returned the actual file, as you would download it.

The initial implementation was using the readAsDataURL and the result was passed as the iframe src.

All worked fine for small files, but when the size increased, we started to see issues.

The solution allowed the display of large PDF files, tested with files larger than 250MB.

Add a comment

Related posts:

Productive Procrastination

Sounds crazy right? But my experiences with software development has shown me time and time again that procrastination on certain tasks can be the ‘correct’ and most productive way to approach even…

Women Will Remain worthy

I recently came across a tweet, where one man was boldly asserting, let me quote “To be honest, every guy knows how to treat a woman like a queen. You’re just not the girl he’s willing to go that far…

LIFTT Innovation Contest

LIFTT partecipa alla diciottesima edizione del Premio Nazionale dell’Innovazione (PNI), il business plan contest più importante in Italia.