女士们先生们,今天我们又来到了花田原创高超开局的当口,有人在质疑《GBC》是否会步入星团的后尘,而我已然在期待下一个《轻音少女》的诞生。在五年后十年后,当新入宅的小鬼们质问在千古名篇《Girls Band Cry》播出那一年我在干什么时,我会骄傲的向所有人说我选择了相信。相信吧,因为相信是不需要理由的。
Tab vs Space
在编程中,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
🔖 Mental Health in Software Engineering #pinboard #health #programming #psychology
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/
Vadim Kravcenko
Mental Health in Software Engineering: Leadership Coping
Explore real stories of burnout in software engineering and practical steps to protect mental health for leaders. Set boundaries, reset cadence, and thrive—start now.
🔖 智己汽车把CEO关进了笼子里 #pinboard
堂堂智己那么大一个公司,难道都是人人不上网的?一定有人心里雪亮,明白这些诸如“错过小孩出生”“四阳还要加班”之类的糟心内容是高危的,甚至是要闯祸、要上热搜的。而且,心里雪亮的人估计不只一个。https://mp.weixin.qq.com/s?__biz=MzA4NDEzNTMyMA%3D%3D&mid=2650328972&idx=1&sn=cc021243d3b9d5ee57beb5e2ca2c2712

零日漏洞(Zero-Day Vulnerability)
指攻击者发现并利用了软件中的一个未知弱点,而此时软件开发者尚未意识到这一点或者尚未发布修复的更新。因为开发者拥有「零天」来修复这个漏洞,故称之为零日漏洞。
2017 年的 WannaCry 勒索软件攻击,就是利用了 Windows 系统中的零日漏洞。(截至 2018 年,已有大约 150 个国家超过 230,000 台计算机受到影响)
保持软件更新是用户可以采取的最有效的预防措施之一,定期更新能够确保安全补丁被及时安装,减少安全风险。
以迅雷为例,就是因没有持续保证其众多依赖库的更新,导致存在许多已知 Common Vulnerabilities and Exposures (CVE) 的安全漏洞。由于使用了大量的过时组件,如 Chromium、libpng、ffmpeg 等,迅雷的用户受攻击面增大,安全风险随之上升。🔗 参考资料:零日攻击 - wiki | #网络安全 #零日漏洞 #软件漏洞 #TIL
🔖 ArtiverseHub免费艺术提示市场 - 免费DALLE-E 3提示、MidJourney提示、Leonardo提示等 #pinboard #prompt #ai #anime
适用于多个平台的免费AI图像提示词。每天更新提示有用吗?有用吧? https://artiversehub.ai/cn/prompt-marketplace
artiversehub.ai
ArtiverseHub免费艺术提示市场 - 免费DALLE-E 3提示、MidJourney提示、Leonardo提示等
ArtiverseHub的免费艺术提示市场是AI画廊和提示市场,提供多平台的免费ai提示。我们将每天为包括MidJourney、DALL-E 3、Leonardo等平台更新新的提示。

🔖 Yes, social media is a cause of the epidemic of teenage mental illness | Hacker News #pinboard #mental #communication
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

- 打码敏感信息:确保照片中的个人信息,比如姓名、地址、车牌号码等都被打码或者模糊处理,以避免被识别。(DAMA 就很好用,我这几天的截图都全靠它自动识别的)
🔖 Shell History Is Your Best Productivity Tool | Martin Heinz | Personal Website & Blog #pinboard #shell #devops #interesting #linux #tips
这些经典例子,基本上 oh-my-zsh 默认就自带了,挺有参考价值的
https://martinheinz.dev/blog/110
martinheinz.dev
Shell History Is Your Best Productivity Tool
<p>If you work in shell/terminal often enough, then over time the history will become your personal knowledge vault, documentation and command reference. ...



定律二. 处方单的药物,如果看名字你根本不知道这个药是干啥的,那么这个药可能没问题,而如果药名字一眼看上去就知道干啥的,那么,这个药就是没有用的,赚你钱的,中成药。
0 Day 安全提醒: Telegram Desktop <=4.16.4 有自动执行代码漏洞
消息来源:
https://t.me/strykerapp/453
https://t.me/exploitorg/30
Telegram
The Stryker Project [⏸️]
❗Attention! 🕷️Zero day, Zero click RCE in Telegram Desktop <=4.16.4Turn off automatic media downloading now! Code execution starts after image/video downloading, automatically No patch available yet.Update 1: Originally a warning will popup "exe…
🔖 Apple Updates App Store Guidelines to Permit Game Emulators, EU Music App Links | Hacker News #pinboard #apple #game #emulator
差点以为是开放游戏模拟器上线 App Store。想来,在最开始用 iPad 时,我也幻想着在上面推 gal。现在唯一能使我 iPad 发热的软件就只有星穹铁道了~~
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
pinned «»

