【Hacker News搬运】法国最高法院秘密3D扫描
-
Title: Secret 3D scans in the French Supreme Court
法国最高法院秘密3D扫描
Text:
Url: https://cosmowenman.substack.com/p/secret-3d-scans-in-the-french-supreme
由于我是一个AI,我无法直接访问互联网或特定网站来抓取内容。但是,我可以指导你如何使用JinaReader来抓取和分析网页内容,并解释如何处理非中文内容。 首先,你需要确保你有一个JinaReader的实例。以下是一个使用JinaReader进行内容抓取和摘要的示例代码: ```python from jina import DocumentArray, Client from jina.flow import Flow # 定义一个Flow flow = Flow.load_config("flow.json") # 启动Flow flow.add_component("TextEmbedder", name="text-embedder") flow.add_component("Summarizer", name="summarizer") flow.add_component("TextRanker", name="text-ranker") flow.add_component("Translator", name="translator", with_args={"lang": "en-zh"}, task="translate") # 准备要抓取的URL url = "https://cosmowenman.substack.com/p/secret-3d-scans-in-the-french-supreme" # 使用Client来发送请求到Flow with Client(Flow.load_config("flow.json")) as client: # 抓取网页内容 response = client.post('/index', inputs=url) # 获取抓取的内容 documents = DocumentArray.load_objects(response.output) # 检查内容语言并进行翻译(如果需要) for doc in documents: if "content" in doc.tags: if "language" in doc.tags and doc.tags["language"] != "zh": # 翻译内容 translated_content = client.post('/translator/translate', inputs=doc.content) doc.content = translated_content[0].content # 分析和总结内容 for doc in documents: if "content" in doc.tags: # 生成摘要 summary = client.post('/summarizer/summarize', inputs=doc.content) doc.summary = summary[0].content # 排序 ranking = client.post('/text-ranker/rank', inputs=doc.content) doc.ranking = ranking[0].content # 输出总结结果 for doc in documents: print(f"Title: {doc.title}") print(f"Summary: {doc.summary}") print(f"Ranking: {doc.ranking}")
请注意,上述代码是一个示例,它假设你已经有一个配置好的
flow.json
文件,其中包含了你的Flow的配置,并且你的Flow中包含了TextEmbedder
,Summarizer
,TextRanker
, 和Translator
组件。对于非中文内容,你需要确保你的
Translator
组件已经配置好了能够将内容从原始语言翻译成中文的能力。在示例中,我假设了一个名为translator
的组件,它使用了en-zh
作为源语言和目标语言。请根据你的实际环境和需求调整上述代码。如果你需要具体的帮助来设置Flow或处理特定的问题,请提供更多的信息。
## Post by: abetusk ### Comments: **Symbiote**: > The court ruled that the museum’s revenue, business model, and supposed threats from competition and counterfeiting are irrelevant to the public’s right to access its scans, a dramatic rejection of the museum’s position<p>It would have helped the museum and government ministry if this had been clear before the government-funded scanning program was started. (Maybe it was, I don't know.)<p>I was initially sympathetic to the museum, as it's common for public funding to be tight, and revenue from the gift shop or commercial licencing of their objects can fill the gap. I don't know about France, but I expect the ministry has been heavily pushing public museums to increase their income in this way.<p>However, that doesn't justify the deception described by the article. > **Symbiote**: >;法院裁定,博物馆的收入、商业模式以及所谓的竞争和假冒威胁与公众获取其扫描件的权利无关,这是对博物馆立场的戏剧性否定。如果在政府资助的扫描计划开始之前就明确这一点,那将有助于博物馆和政府部门。(也许是这样,我不知道。)<p>我最初同情博物馆,因为它;公共资金紧张是很常见的,礼品店或其物品的商业许可的收入可以填补这一空白。我不知道;我不知道法国的情况,但我预计该部一直在大力推动公共博物馆以这种方式增加收入<p> 然而,这并不意味着;我无法为这篇文章所描述的欺骗行为辩护。 **mmooss**: <i>Anyone in the world with an internet connection can view, interact with, and download the British Museum’s 3D scan of the Rosetta Stone, for example. The public can freely access hundreds of scans of classical sculpture from the National Gallery of Denmark, and visitors to the Smithsonian’s website can view, navigate, and freely download thousands of high-quality scans of artifacts ranging from dinosaur fossils to the Apollo 11 space capsule.</i><p>Has anyone used these in games? They would be great easter eggs and they have artistry and design that is far beyond almost anything DIY. > **mmooss**: <i> 例如,世界上任何有互联网连接的人都可以查看、交互和下载大英博物馆的罗塞塔石碑3D扫描。公众可以自由访问丹麦国家美术馆的数百件古典雕塑扫描件,史密森尼学会网站的访问者可以查看、浏览和自由下载数千件高质量的文物扫描件,从恐龙化石到阿波罗11号太空舱</i> <p>有人在游戏中使用过这些吗?它们将是很棒的复活节彩蛋,它们的艺术性和设计远远超出了几乎任何DIY。 **krick**: This is kinda amazing that one has <i>fight</i> for it. I would like to think any museum should be immensely grateful to anyone willing to put in his time to either do the scanning himself or at least to provide an open platform to distribute the scans.<p>Honestly, I am less sympathetic about this particular case (I mean, who cares about accurate representations of Rodin's sculptures anyway?), but making an open catalog of all digital copies of all ancient stuff found this far really should be #1 priority for history as a research discipline at this point, IMO. It is absurd that anyone would actively prevent that. Yet, at some sites you aren't even allowed to take a photo (yes, w/o a flash), even if it is accessible. Most important sites and archives, obviously, aren't accessible to normal people at all. > **krick**: 这有点令人惊讶,一个人会为它而战。我认为任何博物馆都应该非常感谢任何愿意花时间亲自扫描或至少提供一个开放平台来分发扫描的人<p> 老实说,我对这个特殊的案例不太同情(我的意思是,谁在乎罗丹雕塑的准确表现呢?),但国际海事组织认为,制作一份迄今为止发现的所有古代作品的所有数字副本的开放目录,真的应该是历史作为一门研究学科的首要任务。任何人都会积极阻止这一点,这是荒谬的。然而,在某些网站上,你不是;甚至不允许拍照(是的,没有闪光灯),即使可以使用。显然,大多数重要的遗址和档案都不是;普通人根本无法接触到。 **justinclift**: > Anyone in the world with an internet connection can view, interact with, and download the British Museum’s 3D scan of the Rosetta Stone, for example.<p>Attempting that just now from the linked page: <a href="https://sketchfab.com/3d-models/the-rosetta-stone-1e03509704a3490e99a173e53b93e282" rel="nofollow">https://sketchfab.com/3d-models/the-rosetta-stone-1e03509704...</a><p>Note that Sketchfab is a 3rd party crowd (not the British Museum), and trying to download that model requires signing up for a Sketchfab account.<p>So while it's kind of "public access", that's only while Sketchfab is still around and still requires giving this random place your details.<p>It's better than nothing, but not exactly fantastic for a public institution to be doing. > **justinclift**: >;例如,世界上任何有互联网连接的人都可以查看、交互和下载大英博物馆的罗塞塔石碑3D扫描<p> 刚才正在从链接页面尝试:<a href=“https:/;sketchfab.comG;3d模型,;the-rosetta-stone 1e03509704a3490e99a173e53b93e282”rel=“nofollow”>https:/;sketchfab.com;3d模型;the-rosetta-stone 1e03509704…</a><p>请注意,Sketchfab是第三方人群(不是大英博物馆),试图下载该模型需要注册Sketchfabs帐户<p> 因此,尽管它;s类";公共访问”;,即;这只是因为Sketchfab仍然存在,并且仍然需要提供您的详细信息<p> 它;总比什么都不做要好,但对于一家公共机构来说,这并不是什么了不起的事情。 **myrmidon**: This is utterly puzzling to me.<p>I just don't understand how you sit on the museums side of the trial on this, without seriously questioning your own position and conceding immediately.<p>They were basically arguing that they are entitled to hide those scan artifacts to better protect their gift shop?! How can they even reconcile those arguments with preserving the artists legacy/serving the common good?<p>I'm also surprised at how nonchalantly the french supreme (!!) court seems to cope with the museum just ignoring their two month deadline for three months in the new trial... Is there no equivalent to "contempt of court" in french law? Is this typical?<p>My conclusion is that there is either pure stubbornness or some weird, jealous hoarding mentality happening on the museums side, because I have no other explanation why they would fight so hard for their position seemingly against all reason. > **myrmidon**: 这让我完全困惑。<p>我只是不这么认为;我不明白你为什么在这场审判中站在博物馆一边,不认真质疑自己的立场并立即让步<p> 他们基本上是在争论,他们有权隐藏那些扫描伪影,以更好地保护他们的礼品店?!他们如何将这些论点与保护艺术家遗产相协调;为共同利益服务<p> 我;我也很惊讶,法国最高法院(!!)似乎对博物馆无视他们在新审判中为期三个月的两个月最后期限而无动于衷。。。不存在与";藐视法庭";法国法律?这是典型的吗<p> 我的结论是,博物馆方面要么是纯粹的固执,要么是一些奇怪的、嫉妒的囤积心态,因为我没有其他解释,为什么他们会如此努力地争取自己的地位,似乎违背了所有的理由。