
感觉可以做个 manga 版本的 inline bot #flag



在编程中,Tab 和 Space 用于增加代码可读性的缩进。二者各有支持者:Tab 可以减少文件大小并允许程序员自定义缩进宽度;而 Space 提供了一致的视觉排版,不受编辑器设置的影响。 编码风格指南如 Python 的 PEP 8 推荐使用 4 个空格缩进以维持代码一致性。但在某些情况下,如带有嵌套循环的复杂算法,使用 Tab 可以快速调整整体缩进宽度而不必逐个更改空格。然而,这也可能引发问题,因为不同编辑器/IDE 对 Tab 的解释可能不同,从而影响代码的外观。 在编码协作中,不统一的缩进方式会使得版本控制系统识别正常的缩进更改为代码更改,这会污染提交历史和代码审核。作为解决方案,许多团队选择在项目开始时决定统一使用 Tab 或 Space,以及确定 Tab 键代表的 Space 数。我就遇到了项目内同时使用 Space 和 Tab 的情况,一度困惑其原因。后发现 VS Code 会通过 Detect Indentation 机制 自动识别并应用文件的缩进格式。所以不同的同事开发同一个仓库的不同文件时,可能就因为编辑器的初始缩进配置不一样,就会出现上面的乱象。 本来想将 Detect Indentation 关掉统一设置成 4 Space 的,但不是所有项目可以由我决定的,而且会将历史的更改记录给污染了,这种情况还是保守一点入乡随俗吧。而我可以控制的项目都统一改成 4 Space ! PS. Stack Overflow 的一个 著名调查表明,使用 Space 缩进的程序员可能平均薪酬要略高于使用 Tab 的程序员,但这并不意味着 Space 直接导致了薪酬的差异。这可能是由于使用 Space 的程序员往往遵循的是某些广泛接受的编程约定。 🔗 Tabs versus spaces - Stack Overflow | #编程 #缩进 #代码风格 #TIL
Putting things in perspective has been another big one for me. I always ask myself, "Will this matter in two years?" You'd be surprised how often the answer is no. It takes the edge off the pressure. I allow myself to miss a deadline every now and then. As I mentioned above, not every deadline is do-or-die. Sometimes, it’s entirely reasonable to push things back to worry less.https://vadimkravcenko.com/shorts/mental-health-in-software-engineering/

堂堂智己那么大一个公司,难道都是人人不上网的?一定有人心里雪亮,明白这些诸如“错过小孩出生”“四阳还要加班”之类的糟心内容是高危的,甚至是要闯祸、要上热搜的。而且,心里雪亮的人估计不只一个。https://mp.weixin.qq.com/s?__biz=MzA4NDEzNTMyMA%3D%3D&mid=2650328972&idx=1&sn=cc021243d3b9d5ee57beb5e2ca2c2712

以迅雷为例,就是因没有持续保证其众多依赖库的更新,导致存在许多已知 Common Vulnerabilities and Exposures (CVE) 的安全漏洞。由于使用了大量的过时组件,如 Chromium、libpng、ffmpeg 等,迅雷的用户受攻击面增大,安全风险随之上升。🔗 参考资料:零日攻击 - wiki | #网络安全 #零日漏洞 #软件漏洞 #TIL
适用于多个平台的免费AI图像提示词。每天更新提示有用吗?有用吧? https://artiversehub.ai/cn/prompt-marketplace

The world is full of people who disagree with you, but you need to learn more than ever to recognize and filter out what you don't care about. I don't even view replies to posts any longer, 98% of the time because I am not seeking validation sharing my opinion.https://news.ycombinator.com/item?id=39983233






For example, since I am blind, I cannot see game menus, so in games which I can play, like Mortal Kombat, or the original Dissidia Final Fantasy. There are also games like Blazblue, which are mostly voiced visual novels, but with text describing what the characters do.挺难想像的,盲人玩真人快打的场景。 https://news.ycombinator.com/item?id=39946694

Please note: This is being updated in real-time. The intent is to make sense of lots of simultaneous discoverieshttps://boehs.org/node/everything-i-know-about-the-xz-backdoor
























$ALIYUN_CLI --profile nini alidns UpdateDomainRecord --RecordId $RECORD_ID --RR $RR --Type $TYPE --Value $INTERNAL_IP --Line default但事后发现这个事情其实很蠢。在 macOS 上,你的电脑默认就会通过 Bonjour 广播它的 hostname,格式通常是 `[hostname].local`,别人自己通过这个 host 就可以了(所以我是多此一举)

There is obviously a balance to all of this, but given that there are real consequences to “doing stuff on the internet” there has to be a way to get in contact with the person behind it. So as far as “naming a person” here is concerned it's not so much about a particular name, but as in being able to identify the human being behind it.To anonymize, or not to anonymize, that is the question. 我认为界限在于,我是否愿意并为我在网络上的所作所为承担责任。不过让我烦脑的是,很多时候会有误会,我本没有那个意思的,然后被解读为那个意思,于是就被请走了。这种特殊情况下 anonymize 是有必要的。 当然了,我觉得我的反侦查能力并没有高超到真的 anonymize,只能说是提高别人的开盒成本。 https://lucumr.pocoo.org/2024/3/31/skin-in-the-game/


