【Hacker News搬运】使用8K电视作为显示器
-
Title: Using an 8K TV as a Monitor
使用8K电视作为显示器
Text:
Url: https://daniel.lawrence.lu/blog/y2023m12d15/
很抱歉,作为一个文本处理的AI,我无法直接访问或分析外部网站的内容。不过,我可以提供一些指导,告诉你如果使用JinaReader这样的工具来抓取和分析网站内容,以及如何处理非中文内容。 1. **使用JinaReader抓取内容**: - 首先,你需要使用JinaReader提供的API或命令行工具来抓取指定的URL内容。通常,这可以通过发送一个HTTP请求来实现。 - 例如,如果你使用的是Python,你可能需要使用requests库来发送请求。 ```python import requests url = "https://daniel.lawrence.lu/blog/y2023m12d15/" response = requests.get(url) content = response.text
-
分析抓取的内容:
- 一旦你有了网页内容,你可以使用JinaReader或其他文本分析库来分析文本。
- 你可能需要解析HTML内容,提取有用的文本信息。
from bs4 import BeautifulSoup soup = BeautifulSoup(content, 'html.parser') text = soup.get_text()
-
翻译非中文内容:
- 如果网页内容包含非中文内容,你需要使用翻译服务来将其翻译成中文。
- 你可以使用Google翻译API或其他翻译服务来翻译文本。
from googletrans import Translator translator = Translator() translation = translator.translate(text, src='auto', dest='zh-cn') chinese_text = translation.text
-
总结内容:
- 最后,你可以使用自然语言处理技术来总结翻译后的文本内容。
- 这可能涉及关键词提取、主题建模或其他摘要算法。
from gensim.summarization import summarize summary = summarize(chinese_text) print(summary)
请注意,以上代码示例仅供参考,你需要根据实际情况调整和使用。此外,Google翻译API可能需要API密钥,并且有使用限制。如果你打算在生产环境中使用这些工具,请确保遵守相关的服务条款和限制。
## Post by: ingve ### Comments: **dllu**: Author here, ask me anything!<p>Apart from programming, one of the motivations for getting the 8K display is to look at lidar point clouds. For example the desktop background in my post is a lidar map of Bernal Hill in San Francisco, which I've here downsampled to only 13006 x 7991 px for your convenience [1].<p>Admittedly, when I bought it at first, I didn't realize there would be so many random issues, as manufacturers all advertised their gear as "8K Ready" even in 2021. As I incrementally fixed the problems, I decided to document my journey in this blog post.<p>btw I posted this in the past but it got caught by the spam filter and disappeared [2], not sure how to appeal that when it happens. Thanks ingve for posting it again!<p>[1] <a href="https://pics.dllu.net/file/dllu-lidar/tldr_707_all_c_fine_50.png" rel="nofollow">https://pics.dllu.net/file/dllu-lidar/tldr_707_all_c_fine_50...</a> (13006 x 7991 px)<p>[2] <a href="https://news.ycombinator.com/item?id=41102135">https://news.ycombinator.com/item?id=41102135</a> > **dllu**: 作者在这里,问我任何事情<p> 除了编程之外,获得8K显示器的动机之一是查看激光雷达点云。例如,我的帖子中的桌面背景是旧金山Bernal Hill的激光雷达地图;为了方便起见,我们在这里降采样到只有13006 x 7991像素[1]<p> 诚然,当我刚买的时候,我没有;我没有意识到会有这么多随机问题,因为制造商都在宣传他们的装备为";8K就绪”;即使在2021年。随着我逐步解决问题,我决定在这篇博客文章中记录我的旅程<p> 顺便说一句,我过去发布过这个,但它被垃圾邮件过滤器发现并消失了[2],不知道发生这种情况时该如何上诉。谢谢你再次发布<p> [1]<a href=“https://pics.dllu.net文件.dllu-lidar tldr_707_all_c_fine_50.png”rel=“nofollow”>https:///;pics.dllu.net;文件/;dllu激光雷达;tldr_707_all_c_fine_50…</a>/;news.ecombinator.com;项目?id=41102135</a> **bdcravens**: > The bezels and gaps in between the monitors introduce distractions and one is limited in how one may arrange terminals and windows across multiple displays.<p>To me, the segmentation is a feature. It lets me offload information density and focus. For example, I commonly have an editor on one screen, a browser on the second, and something like a chat app, terminal, etc on the laptop screen. > **bdcravens**: >;显示器之间的边框和间隙会分散注意力,并且在如何在多个显示器上排列终端和窗口方面受到限制<p> 对我来说,分割是一个特征。它让我减轻了信息密度和注意力。例如,我通常在一个屏幕上有一个编辑器,在第二个屏幕上还有一个浏览器,在笔记本电脑屏幕上有聊天应用程序、终端等。 **geenat**: As a developer who routinely experiments with large OLED panels for programming, a new big monitor has to be:<p>* Curved (flat is eye strain above ~40 inches)<p>* 8k.<p>* Flicker free / PWM free.<p>* Not glossy.<p>Otherwise, I'm in!<p>Ready to retire my fleet of 2560p x 1440p vertical mounts.<p>Note: Combined these effectively form a curved 5760p x 2650p monitor with vertical bars, heh. > **geenat**: 作为一名经常使用大型OLED面板进行编程实验的开发人员,新的大型显示器必须是:<p>*曲面(平面是眼睛疲劳超过~40英寸)<p>*8k<p> *无闪烁/;无PWM<p> *没有光泽<p> 否则,我;我进去了<p> 准备退役我的2560p x 1440p垂直支架车队<p> 注意:将这些有效地组合在一起,形成一个带有垂直条的弯曲5760p x 2650p显示器,呵呵。 **exitb**: After 15 years of having a desk job I find that I’m more sensitive to the position I sit in. My back feels a lot better if I have a single, regular sized screen right in front of me, instead of having additional screen estate on the sides or below (as with a laptop).<p>At the same time I use virtual desktops that I can switch with both keyboard and mouse. > **exitb**: 在做了15年的桌面工作后,我发现我对自己坐的位置更敏感。如果我面前有一个普通大小的屏幕,而不是在侧面或下方有额外的屏幕空间(就像笔记本电脑一样),我的背部会感觉好多了<p> 同时,我使用可以用键盘和鼠标切换的虚拟桌面。 **ccheney**: Have been sporting a 4K LG CX48 OLED since ~Sept, 2020 best monitor decision ever. I've got two HDMI out cables, 1 going to my gaming rig and the other for my Macbook where I do my work as a developer.<p>I haven't noticed any burn-in or dead pixels. You need to set it up for success, enable all the burn-in prevention settings the monitor provides (static image darkening, pixel shifting&cleaning). It's also a great idea to do other things such as sleeping the monitor after 1min if inactivity, no screensaver (or just black), black desktop background, hide taskbars, etc<p>edit: to add, i have the monitor mounted to the wall and about 1" above the height of my desk[1] - this puts the center of the screen directly at eye level<p>[1] - <a href="https://i.postimg.cc/nhqvM4Yz/62395566614-66-C9-BCAA-367-C-4-DC4-B3-DD-888-EE8-A362-A8.jpg" rel="nofollow">https://i.postimg.cc/nhqvM4Yz/62395566614-66-C9-BCAA-367-C-4...</a> > **ccheney**: 自2020年9月以来,一直在使用4K LG CX48 OLED,这是有史以来最好的显示器决定。我;我有两条HDMI输出线,一条连接到我的游戏设备,另一条用于我的Macbook,我在那里做开发工作<p> 我还没有;没有注意到任何烧坏或死像素。您需要设置它才能成功,启用显示器提供的所有防老化设置(静态图像变暗、像素偏移和清洁)。它;做其他事情也是一个好主意,比如在显示器不活动、没有屏幕保护程序(或只有黑色)、黑色桌面背景、隐藏任务栏等情况下,在1分钟后让显示器休眠;在我办公桌的高度之上[1]-这使屏幕的中心直接位于视线水平<p>[1]-<a href=“https:"i.postimg.cc"; nhqvM4Yz"于6239556614-C9-BCAA-367-C-4-DC4-B3-DD-888-EE8-A362-A8.jpg”rel=“nofollow”>https:/;i.注射后cc;nhqvM4Yz;62395566614-66-C9-BCAA-367-C-4</a>
-