【Hacker News搬运】如何让产品对你的架构提案嗤之以鼻
-
Title: How to make Product give a shit about your architecture proposal
如何让产品对你的架构提案嗤之以鼻
Text:
Url: https://gieseanw.wordpress.com/2024/10/09/how-to-make-product-give-a-shit-about-your-architecture-proposal/
由于我无法直接访问网络内容,包括博客文章,我无法直接使用JinaReader或任何其他工具来抓取和分析链接中的内容。不过,我可以指导你如何使用JinaReader(或任何类似的工具)来抓取和分析内容,并翻译非中文内容。 以下是一般的步骤: 1. **设置JinaReader**: - 确保你已经安装了JinaReader。 - 如果需要,配置JinaReader的参数以适应你的需求。 2. **抓取内容**: - 使用JinaReader打开目标网页(例如,上述博客链接)。 - 运行抓取任务以获取网页内容。 3. **分析内容**: - 使用JinaReader的分析功能来提取文本、图片、视频等。 - 分析文本内容,可能包括情感分析、关键词提取等。 4. **翻译非中文内容**: - 如果抓取到的内容包含非中文文本,使用JinaReader内置的翻译功能或集成一个翻译API(如Google Translate API)。 - 翻译内容到中文。 5. **总结内容**: - 根据抓取和翻译后的内容,撰写总结。 以下是一个示例代码,展示如何使用Python和JinaReader的伪代码来执行上述步骤: ```python # 伪代码,实际代码将取决于JinaReader的API和具体实现 # 导入JinaReader库 from jina_reader import JinaReader # 创建JinaReader实例 reader = JinaReader() # 抓取网页内容 url = "https://gieseanw.wordpress.com/2024/10/09/how-to-make-product-give-a-shit-about-your-architecture-proposal/" content = reader.crawl(url) # 分析内容 text_content = content.get_text() # 翻译非中文内容 # 假设reader有一个translate方法可以调用翻译API chinese_text = reader.translate(text_content, target_language='zh') # 总结内容 summary = reader.summarize(chinese_text) # 输出总结 print(summary)
请注意,上述代码是伪代码,实际实现将取决于JinaReader提供的API和方法。你需要查阅JinaReader的文档来获取具体的实现细节。
## Post by: andyg_blog ### Comments: **danielmarkbruce**: > Sure, you could “just” murder your database with table-scanning queries that join every single table and hope that you’ve provisioned a beefy enough machine to handle the load “for now”. Just like your plumber could “just” fix a pipe leaking on the floor by shoving a bucket under it and telling you to empty it every week.<p>This is the actual solution in the vast majority of circumstances. If after x days you realize you've made a terrible mistake, that's a nice problem to have. > **danielmarkbruce**: >;当然,你可以“只是”用连接每个表的表扫描查询来谋杀你的数据库,并希望你已经配置了一台足够强大的机器来“暂时”处理负载。就像你的水管工可以“只是”修理地板上漏水的管道一样,把一个桶推到下面,告诉你每周把它倒空<p> 这是绝大多数情况下的实际解决方案。如果x天后你意识到你;我犯了一个可怕的错误,那就是;这是个好问题。 **spo81rty**: If you are building software to build a product, you are on the product team. > **spo81rty**: 如果你正在构建软件来构建产品,那么你就是产品团队的一员。 **binary_slinger**: This is ancillary to the discussion but that was a scummy plumbing company. When I became an homeowner I read up on codes and took a few classes on plumbing, electrical and HVAC. A lot of these companies take advantage of the homeowner not being knowledgeable in those areas. Sometimes these people that come over to your house are sales people and not actual tradespeople. > **binary_slinger**: 这是讨论的附属内容,但那是一家卑鄙的管道公司。当我成为一名房主时,我阅读了一些代码,并上了几门关于管道、电气和暖通空调的课。这些公司中的许多都利用了房主对这些领域不了解的优势。有时,来到你家的这些人是销售人员,而不是真正的商人。 **darkerside**: This person doesn't seem to realize that the plumber was selling them a bunch of shit they didn't really need because it was a good way for them to make money. The analogue would be an engineer proposing a gold plated submarine instead of doggy paddling across the lake. This plays into the worst fears of the product manager, that you are engaging in resume driven development that benefits you, your sense of fun, and your personal growth, over what is best for the product and the company. > **darkerside**: 此人不;我似乎没有意识到水管工在卖给他们一堆他们没有卖的垃圾;我真的不需要,因为这对他们来说是赚钱的好方法。类似的情况是,一位工程师提议建造一艘镀金潜艇,而不是小狗在湖面上划水。这让产品经理最担心的是,你正在从事简历驱动的开发,这对你、你的乐趣感和个人成长都有好处,而不是对产品和公司最有利。 **shehjar**: Be outcome oriented > **shehjar**: 以结果为导向