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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Screenshot Saturday

13 点作者 screenshot超过 10 年前
Exactly 300 days ago we did the first installment of Screenshot Saturday. I think it's time to share some more of our current projects. Please post a screenshot and a few words of explanation about what you have been working on for the past week.

2 条评论

logn超过 10 年前
Lately I&#x27;ve been making a Selenium WebDriver implementation for Java&#x27;s built-in WebKit.<p>I spent an absurd amount of time trying to figure out how to let multiple instances of the browser operate concurrently without affecting each other. E.g., if a resource request is in progress, then a second request to the same resource simply uses the output of the first (which is a problem if it&#x27;s stateful output for the user).<p>After reading most of the JavaFX and WebKit codebases I realized that isolation is not possible without recompiling a modified WebKit. So then I set about figuring out how to isolate Java code. But most solutions are half-baked, are only academic research projects, or require a special JVM.<p>However, if you load JavaFX along with native libs into a classloader for each browser instance, then they&#x27;re effectively isolated. The downside is that objects of the same class have completely different un-castable types if they&#x27;re from different classloaders.<p>So then I needed to use reflection to lookup classnames at runtime and resolve them dynamically.<p>Anyhow, <a href="http://i.imgur.com/ovxVHW9.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;ovxVHW9.png</a><p><a href="https://github.com/MachinePublishers/jBrowserDriver" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MachinePublishers&#x2F;jBrowserDriver</a>
gesman超过 10 年前
Working on analytics app to visualize web server HTTP traffic across hosted web sites to discover &quot;unhealthy&quot; patterns and security attacks:<p><a href="http://www.mensk.com/#prettyPhoto/0/" rel="nofollow">http:&#x2F;&#x2F;www.mensk.com&#x2F;#prettyPhoto&#x2F;0&#x2F;</a><p>Next iteration will include ability to ban IP addresses.