TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

RunThis - Let your readers run snippets of code directly from your blog.

23 pointsby kusziabout 15 years ago

5 comments

avinashvabout 15 years ago
Clever idea. Pretty impressive language support and I like the way the output is presented with some useful meta information. I would love to see the team at Github integrate this into the <a href="http://gist.github.com" rel="nofollow">http://gist.github.com</a> platform.<p>I assume the results here are cached, right? This would obviously get very resource-intensive on even a marginally popular blog.
评论 #1178172 未加载
评论 #1178369 未加载
评论 #1178915 未加载
briansmithabout 15 years ago
Cool idea.<p>For this to be really useful, it needs to be able to define a snippit (e.g. a function), and then let the user type his own code (e.g. an application of that function) to see the results. Otherwise, if everything is static on the page, you could just pre-calculate the results when building the page.
alttababout 15 years ago
If it sends the code back to the server to get executed, I could see a slew of interesting security opportunities here. I wouldn't exactly allow someone with Firebug and working knowledge of C run executable code on my server.<p>Cool idea! Hopefully I'm misinformed about the security thing.
评论 #1178191 未加载
Deestanabout 15 years ago
Does this give you anything that a pre-calculation of output during blog post upload doesn't give you?
mchermabout 15 years ago
When I tried running it everything timed out. Did it work for anyone else?
评论 #1178407 未加载