TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Linux Running in a PDF

329 点作者 theden3 个月前

28 条评论

surrTurr3 个月前
Doesn't work, the document is unresponsive. I used a HP DeskJet 2820e Printer btw.
评论 #42962915 未加载
评论 #42963125 未加载
评论 #42962620 未加载
neilv3 个月前
<p><pre><code> 1. Linux Running in a PDF (doompdf.dev) 114 points by theden 4 hours ago | flag | hide | 37 comments 2. Ingesting PDFs and why Gemini 2.0 changes everything (sergey.fyi) 978 points by serjester 17 hours ago | flag | hide | 323 comments </code></pre> As people start bolting various kinds of PDF parsers and evaluators to LLMs, there&#x27;s got to be some interesting hack potential.
评论 #42962227 未加载
评论 #42961559 未加载
forgotpwd163 个月前
Posted few days ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42891937">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42891937</a>. Repo also provides some explanation&#x2F;info on how the machinery works.
frabert3 个月前
Finally! I&#x27;ve been making the joke &quot;put Linux.js in a PDF so I can run Linux, inside a PDF, inside a browser, inside Linux, inside a PDF, inside a browser, inside Linux&quot; for far too long...
评论 #42964026 未加载
nialv73 个月前
Using JS for this feels like cheating... I wonder if similar things would be possible with PostScript?
评论 #42962013 未加载
评论 #42961365 未加载
评论 #42961707 未加载
karel-3d3 个月前
Finally, I can `rm -rf &#x2F;` in a PDF.
评论 #42962071 未加载
评论 #42961351 未加载
luismedel3 个月前
Copy 10 of these in an USB drive. Enjoy your mobile Kubernetes cluster.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42681039">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42681039</a>
sillyboi3 个月前
At least three detections on VirusTotal, but I&#x27;m not sure if it&#x27;s significant.<p>ClamAV: Js.Trojan.Obfus-48<p>Cylance: Unsafe<p>Google: Detected
beretguy3 个月前
Set pdfjs.enableScripting in Firefox about:config to false.
评论 #42961326 未加载
nanna3 个月前
But is there a Linux PDF editor that runs Linux in a PDF? Evince isn&#x27;t loading it for me...
评论 #42960851 未加载
rolandog3 个月前
Does anyone know if running PDFs through the following filter (as in [0]) prevent malicious actors?<p><pre><code> gs \ -dNOPAUSE \ -sDEVICE=pdfwrite \ -sOUTPUTFILE=clean.pdf \ -dBATCH \ dirty.pdf </code></pre> [0]: <a href="https:&#x2F;&#x2F;tex.stackexchange.com&#x2F;a&#x2F;481609&#x2F;29430" rel="nofollow">https:&#x2F;&#x2F;tex.stackexchange.com&#x2F;a&#x2F;481609&#x2F;29430</a>
评论 #42961426 未加载
surrTurr3 个月前
Who the hell keeps making those? First I saw Tetris, now a whole OS. Awesome!
评论 #42961488 未加载
评论 #42961299 未加载
snvzz3 个月前
Missing from headline: It is a RISC-V VM.
评论 #42961577 未加载
floating-io3 个月前
Right below this in my feed:<p>&gt; Ingesting PDFs and why Gemini 2.0 changes everything<p>Be afraid.<p>Be very afraid.
nunobrito3 个月前
Does it run doom? ;-)
评论 #42960678 未加载
评论 #42960676 未加载
评论 #42960969 未加载
ddalex3 个月前
Just because you can, doesn&#x27;t mean you should....
评论 #42961287 未加载
superkuh3 个月前
These &quot;dynamic pdfs&quot; are the anti-thesis of what pdf files are meant to be: static objects containing text that always looks the same. My state dept. of natural resources loves them which means all the regulations are now inaccessible. All I can see in the &quot;pdfs&quot; (not pdfs, pdf shells that are webpages) are the following lines,<p>&quot;Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.&quot;<p>... because they pull down their actual contents using JS from some website. They are the anti-thesis to what a pdf file is meant to be. Truly the worst of both worlds and a huge step backwards in accessibility and longevity. All that a screen reader can read is the above text.
afandian3 个月前
Doesn&#x27;t work in Evince or Firefox FWIW.
评论 #42961100 未加载
sylware3 个月前
I have not updated my noscript pdf reader in years... The dreade update is coming up though: mupdf.
teddyh3 个月前
&gt; <i>Note: This PDF only works in Chromium-based browsers.</i>
amelius3 个月前
I hear that CSS is Turing complete.
DimuP3 个月前
Damn this is actually interesting
DonHopkins3 个月前
Has anyone tried printing it? I&#x27;m afraid!
评论 #42962482 未加载
raxxorraxor3 个月前
Taste is subjective, but this broke that barrier. It is just absolutely hideous. Good engineering work, but still a total abomination in itself.
drivingmenuts3 个月前
Doesn&#x27;t work in Safari (?).
hassleblad233 个月前
What’s next? GPT in PDF?
bpev3 个月前
ingest this, gemini
pletnes3 个月前
I would really appreciate if someone could put a decent PDF reader, like Sumatra, into a PDF so I could have a portable and good PDF reader on locked down computers.
评论 #42960646 未加载
评论 #42961519 未加载
评论 #43090608 未加载
评论 #42961966 未加载
评论 #42960690 未加载
评论 #42961860 未加载
评论 #42961785 未加载
评论 #42962929 未加载
评论 #42962190 未加载