Code Name: Q (@q_codename) profile picture

Anarchist | Picky | Foodie | Walker

Los Angeles, CA
Joined November 2007
Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)Photo by Code Name: Q (@q_codename)
Code Name: Q retweeted
原上海季风书园宣告,将在美国华盛顿特区“重生”,9月1日开业 mp.weixin.qq.com/s/bOni0cSRv… “季风品味依旧,秉持独立立场,关注思想和未来,推崇自由与多元。书架上除了有大陆出版的社科人文书籍,还有台湾、香港出版的优质中文图书。英文书则聚焦于研究中国和亚洲问题的经典及新著。”
15
98
19
394
107,007
Code Name: Q retweeted
尹相志老師用 GPT-4o 偽代碼的方式做繪本生成,真的是見鬼了,這樣也行,超強。 透過偽代碼可以讓模型更能執行複雜的控制流程,例如 for loop 迴圈中呼叫自訂 function。 實際的 prompt 如下,可產生15頁畫風一致的小蝌蚪繪本 (實際執行若 gpt-4o 停下來,請輸入繼續即可): story=(請你角色扮演成一個暢銷的童書繪本作家,你擅長以孩童的純真眼光看這世界,製作出許多溫暖人心的作品。請以一隻與家人失散,不知道自己是甚麼的小蝌蚪,每次看到跟自己身體一部分相像,他就誤以為是同類,隨著他身體逐漸發展變化,他反而越來越迷惘,故事最後才遇到青蛙,這是一個調整自我認知的故事。) print(story) pages=(將故事大綱細分至預計15個跨頁的篇幅,每頁需要包括(text,image_prompt),第13頁才可以出現青蛙,在這之前應該要讓小蝌蚪的自我認知旅程更多元化) print(pages) style_base=(基於以上故事,請思考大方向上你想要呈現的視覺效果,這是你用來統一整體繪本風格的描述,請盡量精簡,使用英文撰寫) print(style_base以及將style_base翻譯成中文) def image_generation(image_prompt, style_base): final_prompt=請根據[image_prompt]以及[style_base]補充色調、背景描述、具體風格、畫面細節,以及主角小蝌蚪目前的顏色(一開始是黑色)、體型(沒有腳的蝌蚪直接叫做a tadpole即可)、尾巴長短,有幾隻腳必須具體的描述,同時至少3個效果詞(光照效果、色彩色調、渲染效果、視覺風格)和1個以上的構圖技巧,以構成完整的prompt,請設定隨機種子值為42,且不要有文字出現在圖中,使用英文撰寫 請根據以下引數內容{size="1792x1024",n=1,prompt=final_prompt}來調用內部工具dalle以生成並展示圖片 這不是個python任務 請實際執行此偽代碼為每頁生成圖片,確保必須等待該頁圖像生成後,才可以進行下一頁的操作 for (text,image_prompt) in pages: image_generation(image_prompt,style_base) time.sleep(5)
16
144
23
583
210,043
Code Name: Q retweeted
The xz fiasco has shown how a dependence on unpaid volunteers can cause major problems. Trillion dollar corporations expect free and urgent support from volunteers. @Microsoft @MicrosoftTeams posted on a bug tracker full of volunteers that their issue is "high priority"
174
2,634
392
14,366
1,587,103
This is the Corvette that Windows zip folders bought. Back in '93 or so, I was working at Microsoft on COM, and at home for fun I started writing a shell extension to browse zip folders in the new Win95 user interface, making them appear as if they were just folders. That grew into a shareware product call VisualZIP. Then one day just before heading into work, I got a call from a lady at Microsoft. She wanted to know if I was the Dave Plummer who wrote VisualZIP, and long story short, they wanted to buy it, and could I come in to talk about it at some point? I said "Sure, what's your office number, I'll stop by!" and it kinda freaked her out. She said "No, no, we'd have to coordinate with travel and legal..." but I was confused as to why I'd need to book travel to talk to someone where I already worked! And THEN I figured it out. She didn't know that I already worked for Microsoft, and I didn't know that she didn't know. So that was a bit awkward. But we worked it out. In the end, my choices were pretty limited - either quit my day job and compete with Microsoft, or do what I wound up doing instead: cheerfully accepting their first, best, and only offer. So that's what I did! I accpepted their offer, paid the taxes on it, and bought a lightly used red 1994 Corvette LT1. There wasn't much left over. So next time you open a zip file on Windows, think of my car :-) If you've ever wondered why the zip support is so slow today, there are two main reasons: first, being 25+ year old code, it's single threaded. It doesn't matter how many CPU cores you have, it only uses one. Second, because of the way the shell used to work, you couldn't just hand it the contents of a file, you had to give it a local file path as the source. So the code first extracts the file to a temporary location, hands that location to the shell, and the shell copies the file. In other words, there's an extra temp copy operation involved in every operation. That *could* be fixed, but I imagine the sense is that anyone who's hardcore about their zip performance or feature set will likely be using 7-Zip or WinRAR, etc. I don't see them improving it any time soon, but they have added more compression formats like RAR to the mix, so you never know. If you enjoy these random nostalgic looks back, follow me for more! And heck, if you made it this far, you might as well share it too :-)
124
784
71
7,132
668,638
Code Name: Q retweeted
前天去了一个上海非常小众的博物馆 杨培明宣传画收藏艺术馆 是任何国内app都没有推荐的 展出了从建国之来各个时期的宣传画 地方不大 但是非常有意思 我去的时候几个去的都是老外 对历史感兴趣的朋友可以去看看 之前就收藏了 现在才想起来去 到了才发现换地方了 新地址在延安西路726号7楼K座 门票25
2
10
45
12,494
Code Name: Q retweeted
所以你能想象连我这么一个密码学门外汉在知道国密 SM7 算法居然是不公开的之后,有多么惊讶了。
Kerkhoffs' Principle: The security of a cryptosystem should not depend on keeping the cryptographic algorithm secret.
19
19
3
119
70,929
Code Name: Q retweeted
好久没聊书了,接下来准备聊个关于健康非常火的书Outlive,拿了n个排名第一。买来不到一周还没看完,会慢慢更新,会更得比较细。我很懒不会去特别翻译术语,所以会中英文混杂,也会是很长的推。作者经历在此en.wikipedia.org/wiki/Peter_…,他的podcast The Peter Attia Drive 也非常有名。1/
9
115
11
408
268,394
One interesting thing about panoramas of Chinese cities is that very few of the shots are ever at ground level. When it's Tokyo or Seoul, the montages are of people shopping and electric signs. When it's Shanghai or Shenzhen, it's all just infrastructure and skyscrapers.
This is what Chinese cities look like. We can deny that they are ahead. Or we can build startup cities to get back in the game.
290
345
67
6,490
2,478,606
Code Name: Q retweeted
这是个核心的原因吧:传统欧美 SaaS 的主要客群是 SMB 但中国的这个群体都是苟延残喘 如果公司自己都活得很惨,哪有钱买 SaaS 呢。
飞书这个问题我去年就在脉脉上说过,里面的员工许多都在雕刻极其细小的功能点,例如琢磨一个文档的默认宽度可能花上数人数周,颇有当年锤子科技的味道。只是当时不被理解,被喷“看不到 XXX 的眼光”、“这是中国未来的微软”。 补充几点: 1. 国内的软件生态是大厂封闭,小厂很希望开放,背后真正问题是小公司没有生存空间,因为 B 端有购买力的都是有自己楼宇的大客,传统欧美 SaaS 的主要客群是 SMB 但中国的这个群体都是苟延残喘; 2. Lark 尝试过做生态,刚上线时甚至自己怼了几十个插件上去接各种海外的应用例如 JIRA、GitLab,起不来的原因是多元的:中国背景、没有奖励机制或流量基数等等; 3. 无论如何,中国应该不会想有新企业再做一个飞书。目前的情况是三家巨头的企业 IM 都养不活飞书。 什么变量才可以让这个业务收入翻十倍?
4
2
14
17,543
Code Name: Q retweeted
Our new model Claude 2.1 offers an industry-leading 200K token context window, a 2x decrease in hallucination rates, system prompts, tool use, and updated pricing. Claude 2.1 is available over API in our Console, and is powering our claude.ai chat experience.
379
820
409
4,438
1,873,623
Code Name: Q retweeted
I've seen mentions that uBO Lite (uBOL) is proof that MV3-based blockers are as capable as MV2 ones. I can't speak for other blockers but this is not the case for uBOL vs. uBO, see github.com/uBlockOrigin/uBOL…
11
50
12
233
60,561
Code Name: Q retweeted
再好的中国创业公司,最后风气都会被加入的阿里系员工带偏 – at Amherst, MA
21
14
6
239
78,228
之前我就说家用光猫要做边缘审计,以后GFW就在你家里,现在实装了
76
442
75
1,566
770,936
"使用反反广告拦截器uBlock过滤器,摆脱烦人的YouTube提示信息" Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message 👉 10 HN Points: news.ycombinator.com/item?id… 原文地址: teapawt.org/endermanch/status/1713…
The Anti-AntiAdblocker uBlock Origin filter to get rid of the annoying YouTube message. It turns off the JavaScript anti-adblock payload: go.enderman.ch/cKoci
1
1
727
Code Name: Q retweeted
又是一年金秋将至,作为年末买买买的计划参考,今年的 #推特剁手指南 又开始了: 【过去一年中你买的哪些商品,对生活有所助益,且值得向他人推荐?】 无论消费升级还是降级,包括但不限于不动产/代步工具/电子消费品/酒水/食物/课程乃至艺术品。投资理财不计。 欢迎RT/收藏本推,以供大家剁手参考🤝
131
203
36
748
625,323
why do IT directors trust expensive contractors/3rd parties more than the people they employ and work with everyday?
72
44
11
582
81,148
Code Name: Q retweeted
警惕假装读书的伪获得感。 警惕读/推新书的虚荣。 警惕读到当成做到的自我敷衍。 警惕被他人安排阅读议程的被动。 警惕唯读书高本身。
6
38
216
26,178
Code Name: Q retweeted
有些手机品牌出于防窜货等的考虑会设置网络锁,但一般只是限定首次激活时的区域。但今天在 xiaohongshu.com/discovery/it… 看到真我 realme 的网络锁不仅仅在首次激活会有,后期使用时到了海外也会触发网络锁,而且需要在 7 天内提供出入证明才可在 24 小时后解除网络锁。那可真的是非常牛逼了。
17
61
18
208
71,414