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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

“The Three Banalities” of Chinese People in the Bay Area

5 点作者 tslmy将近 3 年前

2 条评论

RicoElectrico将近 3 年前
Interesting that nobody already pointed out how wrong conflating Asians with Chinese feels.
评论 #31545132 未加载
评论 #31544652 未加载
quadpixels将近 3 年前
&lt;&lt;Script Kills&gt;&gt; can contain individual mini-games, which are sometimes discrete logic problems that can be cracked by computer programming. One example is as follows:<p><pre><code> - There are 7 persons living in 7 houses that a in a horizontal line. - Every house is in one of the 7 colors: red, green, white, yellow, blue, purple, black - Each of the 7 persons has one occupation of: gardener, security guard, animal keeper, witch, house keeper, driver, cook - Each of the 7 persons keeps one pet from: dog, bird, parrot, horse, hamster, fish, homing pigeon - Each of the 7 persons has one of the following favorite drinks: tea, coffee, milk, mineral water, orange juice, red wine, beer - Each of the 7 persons has one collectible of the following types: diamond, hats, oil paintings, necklaces, ruby, gold coins, or nothing at all </code></pre> And you are given the following constraints: 1. The gardener is in the Red house 2. The green house is to the left of the white one 3. The one who collects diamonds keeps a bird as pet 4. The one living in the center house drink milk ... 22. The gardener is to the left of the one who keeps fish as pet.<p>etc.<p>In a &lt;&lt;script kill&gt;&gt; game the DM (Dungeon Master) would ask questions like the following, which are required for the game to progress: ※ Given the constraints above, who keeps a homing pigeon as pet?<p>The fun is to manually run the algorithm as a team that one might otherwise type on a computer to deduce the answer to the questions:<p><pre><code> for ( ... iterate possible room color combinations ) check constraints for ( ... iterate possible occupation combinations ) check constraints for ( ... iterate possible pet combinations ) check constraints for ( ... iterate possible favorite drink combinations ) check constraints for ( ... iterate possible collectible combinations ) check constraints if ok, print solution </code></pre> The above was encountered when we went to a &lt;&lt;script kill&gt;&gt; game room not listed in the article above the other day. Upon returning we attempted to crack the above problem with a program which ran for 15s on a Ryzen 5600X PC and gave 48 solutions (For the particular problem above that would be `7! ^ 4 =~ 645241282560000` combinations, but the above algorithm would be enough)<p>So having multiple solutions may be actually a small bug in the particular game we&#x27;re playing where the DM, who seemed to have assumed one answer already, gave us hints upon seeing us not being able to resolve this puzzle in maybe what seeming was a long time. I guess this will serve as a topic to start a chat with the DM with next time I enter that game room XD