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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Call the compiler, fax it your code [video]

150 点作者 ayoreis11 个月前

14 条评论

faxmeyourcode11 个月前
So my username is a little less ridiculous than I originally thought? :)<p>The fact that this can introduce OCR bugs into your C code is hilarious, and this is diabolical:<p><pre><code> #define one ( 4 - 3 ) #define eleven ( 3 + 4 + 4 ) </code></pre> Source code is here <a href="https:&#x2F;&#x2F;github.com&#x2F;lexbailey&#x2F;compilerfax">https:&#x2F;&#x2F;github.com&#x2F;lexbailey&#x2F;compilerfax</a>
评论 #41081602 未加载
评论 #41082762 未加载
评论 #41081326 未加载
评论 #41081638 未加载
JoshTriplett11 个月前
This is awesome. Using computers for what they&#x27;re best at: fax and figures.<p>I&#x27;m curious why this requires a reply number <i>in the program</i>, rather than relying on something like Caller ID and sending the reply back to the number that sent the fax.
评论 #41082462 未加载
khaki5411 个月前
Have fun troubleshooting when the OCR keeps mis-identifying one of the semi-colons as a greek question mark!
评论 #41081615 未加载
jabbany11 个月前
So, as someone who has lived in regions with pretty severe internet censorship in the past and built circumvention software back in the day, I&#x27;ve always pondered the idea of whether one could build a fax-based thing like this for browsing the web. Kind of as like a &quot;last resort&quot; system.^<p>Could have a form that you fax in with, like a URL and session info (cookies and stuff), and then it faxes back the page, and you can circle stuff and fax the page back to interact and &quot;click on&quot; things.<p>Plus, since computers can ingest faxes, you wouldn&#x27;t need to waste paper printing everything out, and could just do everything digitally. But you still had the option to use paper and a fax machine if you really need to.<p>^: Yes, I know faxes are unencrypted and phone lines can be tapped. But I&#x27;ve always found the idea intriguing. Plus having some emergency point-to-point communication to bootstrap things like key exchange could still be neat.
评论 #41082901 未加载
评论 #41083468 未加载
fortran7711 个月前
This is similar to the workflow for my CS101 class at college in the 70s.<p>I submitted my deck of cards to a person in the computer center at one of the times the PL&#x2F;C compiler was scheduled to run (10 AM and 2 PM), I sat and waited, and then my output would be handed to me after it was compiled and run.
kazinator11 个月前
With Common Lisp, we don&#x27;t need an infinite roll of paper to prank the faxed compiler. Just<p><pre><code> (progn . #1=((print &#x27;foo) . #1#))</code></pre>
odo124211 个月前
It would honestly be even funnier if the compiler just sent back your code in x86 assembly.
评论 #41083068 未加载
rickreynoldssf11 个月前
That&#x27;s got to be actually useful. I can&#x27;t think how but there&#x27;s got to be some situation where that is the best solution.
nehal3m11 个月前
Computer floop noises. Nice.
l0rn11 个月前
it would be a cool competition who makes the nicest program using the fax compiler
davidkunz11 个月前
Nothing new, we&#x27;ve been doing it like that for ages here in Germany. But it&#x27;s a cool Hamburger phone.
xyst11 个月前
Can it also compile rust ;)
throwway12038511 个月前
I don&#x27;t understand. Is this not how everyone browses the web?
评论 #41081195 未加载
评论 #41080932 未加载
ManWith2Plans11 个月前
Possibly inspired by this stack overflow question:<p><a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5508110&#x2F;why-is-this-program-erroneously-rejected-by-three-c-compilers" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;5508110&#x2F;why-is-this-prog...</a>
评论 #41081830 未加载