Live data from Hacker News

Show HN: Tetris in a PDF

th0mas.nl

81–90 of 238 posts

Re: Show HN: Tetris in a PDF

#82

You glorious bastard, what a cool project! This is already a contender for most hacker project of the year :-) (below is not serious) I would advise people against using this in production though because it's still missing some critical features. For example: 1. The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. 2. It doesn't work…

> The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. Science fiction tells us this is only temporary. Print away, those papers will turn into magic in just a few decades!

Just wait until we get this on e-paper.

Re: Show HN: Tetris in a PDF

#83

This is a good reminder for why to not download random PDFs. One of the mechanisms of the Pegasus spyware was emulating a computer inside a PDF. https://en.wikipedia.org/wiki/Pegasus_(spyware)#Vulnerabilit...

The vulnerability was in images parsing, and exploit was distributed by sending an imessage to the target. So don't open any images, and don't read imessages. They are also known to use browser exploits, so don't visit random websites. That was sarcasm, in case it's not clear over the internet. Telling people to avoid "suspicious" pdfs/websites is common but ultimately not very useful advice. The real takeaway is: do…

The Pegasus Project has shown that pretty much anyone could be targeted. It's enough to know someone in a publicly owned company or publicly say something negative about corruption or just be in the wrong place at the wrong time.

Nothing you do will guarantee that the state won't come after you.

Re: Show HN: Tetris in a PDF

#85
post #47

You glorious bastard, what a cool project! This is already a contender for most hacker project of the year :-) (below is not serious) I would advise people against using this in production though because it's still missing some critical features. For example: 1. The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work. 2. It doesn't work…

"The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work." -- this comment made my me laugh/choke on my coffee and I have no regrets.

You must have never browsed IT support tickets. Oh the horrors...

Re: Show HN: Tetris in a PDF

#87

Earlier quoted context omitted.

i recently discovered that the Canadian government depends on this for some fillable forms, because it shows a message at the top that says "JavaScript is disabled" and all the boxes show errors. i couldn't get it to work on Linux and had to dust off a Windows machine (and it still didn't work in firefox, it needed acrobat reader).

I have faced this exact problem with Canadian govt forms. Evince doesn't support them. They are so specific about only adobe acrobat to fill out the forms. I can open them in firefox but can't update them properly The only option is to use my barely hanging on 10-yr old windows machine. Let's hope that eventually they move on to a simpler web form.

Wait, did Acrobat actually end support for Linux? Od you just didn't want that particular machine to catch... capitalism?

Re: Show HN: Tetris in a PDF

#89
post #47

Earlier quoted context omitted.

"The Javascript stops working when printed to physical paper. The resulting paper just has a static image and the controls no longer work." -- this comment made my me laugh/choke on my coffee and I have no regrets.

You must have never browsed IT support tickets. Oh the horrors...

Internally laughing and crying at the same time. "Oh the horrors..." is exactly right.

Re: Show HN: Tetris in a PDF

#90
this is a horrible idea.

which is why i am commenting to check it out later.

since postscript is also a language that it literally runs to render, would it also be possible to use postscript to make interactive elements?

Post reply on HN