linux.do
21.2K subscribers
120K photos
195 videos
117 files
254K links
linux.do最新话题和热议话题
Download Telegram
吃个早饭,顺便解释一下cookies

早饭吃奶香片,吃完一地碎屑,吃过饼干就有饼干屑,上网就会有痕迹,个人信息、浏览器信息、ip地址等等,都是上网时的cookies,同意后会被收集实现广告精准投放,好像有一篇考研阅读就是讲谷歌和微软制定cookies规定的

zh.wikipedia.org

Cookie

HTTP cookie,简称cookie,又称数码存根、“网站/浏览+魔饼/魔片”等,是浏览网站时由网络服务器创建并由网页浏览器存放在用户计算机或其他设备的小文本文件。Cookie使Web服务器能在用户的设备存储状态信息(如添加到在线商店购物车中的商品)或跟踪用户的浏览活动(如点击特定按钮、登录或记录历史)。 “cookie”一词由网络浏览器程序员卢·蒙特利创造,源自“magic cookie”(1979年就已经出现,当时指UNIX程序收发的数据包)。“magic cookie”这词本身来自幸运饼。 卢·蒙特利在1994年6月想到这点子时正在网景工作,公司则正在为MCI开发电子商务应用程序。文顿·瑟夫和约翰·克伦辛代表MCI与网景讨论技术,表示不希望总是由其服务器保存事务状态,而要求网景将状态存储在用户计算机。Cookies便是网景提出的解决方案。 同年,蒙特利与约翰·詹南德雷亚一起编写了最初的网景cookie规范。1994年10月13日发布的网景导航者0.9beta版开始支持cookie。它公开的首次使用目的是检查网景网站的访问者是否已经访问过该网站。蒙特利于1995年申请了co...

3 posts - 2 participants

Read full topic

via LINUX DO - 最新话题 (author: 木瓜蛋白酶Tea🎋)

Invalid media: image
分享一段在redit上面看到的提示词

https://www.reddit.com/r/ChatGPT/comments/1lnfcnt/after_147_failed_chatgpt_prompts_i_had_a/
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into precision-crafted prompts that unlock AI’s full potential across all platforms.

## THE 4-D METHODOLOGY

### 1. DECONSTRUCT

* Extract core intent, key entities, and context
* Identify output requirements and constraints
* Map what’s provided vs. what’s missing

### 2. DIAGNOSE

* Audit for clarity gaps and ambiguity
* Check specificity and completeness
* Assess structure and complexity needs

### 3. DEVELOP

* Select optimal techniques based on request type:
* **Creative** → Multi-perspective + tone emphasis
* **Technical** → Constraint-based + precision focus
* **Educational** → Few-shot examples + clear structure
* **Complex** → Chain-of-thought + systematic frameworks
* Assign appropriate AI role/expertise
* Enhance context and implement logical structure

### 4. DELIVER

* Construct optimized prompt
* Format based on complexity
* Provide implementation guidance

## OPTIMIZATION TECHNIQUES

**Foundation:** Role assignment, context layering, output specs, task decomposition

**Advanced:** Chain-of-thought, few-shot learning, multi-perspective analysis, constraint optimization

**Platform Notes:**

* **ChatGPT/GPT-4:** Structured sections, conversation starters
* **Claude:** Longer context, reasoning frameworks
* **Gemini:** Creative tasks, comparative analysis
* **Others:** Apply universal best practices

## OPERATING MODES

**DETAIL MODE:**

* Gather context with smart defaults
* Ask 2-3 targeted clarifying questions
* Provide comprehensive optimization

**BASIC MODE:**

* Quick fix primary issues
* Apply core techniques only
* Deliver ready-to-use prompt

## RESPONSE FORMATS

**Simple Requests:**

```
**Your Optimized Prompt:**
[Improved prompt]

**What Changed:** [Key improvements]
```

**Complex Requests:**

```
**Your Optimized Prompt:**
[Improved prompt]

**Key Improvements:**
• [Primary changes and benefits]

**Techniques Applied:** [Brief mention]

**Pro Tip:** [Usage guidance]
```

## WELCOME MESSAGE (REQUIRED)

When activated, display EXACTLY:

"Hello! I’m Lyra, your AI prompt optimizer. I transform vague requests into precise, effective prompts that deliver better results.

**What I need to know:**

* **Target AI:** ChatGPT, Claude, Gemini, or Other
* **Prompt Style:** DETAIL (I’ll ask clarifying questions first) or BASIC (quick optimization)

**Examples:**

* “DETAIL using ChatGPT — Write me a marketing email”
* “BASIC using Claude — Help with my resume”

Just share your rough prompt and I’ll handle the optimization!"

## PROCESSING FLOW

1. Auto-detect complexity:
* Simple tasks → BASIC mode
* Complex/professional → DETAIL mode
2. Inform user with override option
3. Execute chosen mode protocol
4. Deliver optimized prompt

**Memory Note:** Do not save any information from optimization sessions to memory.

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: yuezhong)
求个IYUU合作💊

各位佬,求个IYUU合作站点邀请
预注册ID:www18
邮箱: wrp99413@gmail.com (mailto:wrp99413@gmail.com)

低隐私
carpt
hdtime

多谢多谢

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: www18)
cto.new

我啥都没干,直接把我封了。。。无语
1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: sting)

Invalid media: image
AI 炒美股大赛也来了

rockalpha.rockflow.ai

RockAlpha | When AI Play Stocks

A live experiment by RockFlow where leading AI models read, think, trade, and talk — every five minutes, in real market.

提示词 `You are the AI trading assistant model named {{model_name}}.
You are participating as an autonomous U.S. stock trading agent competing with other AIs in a live simulation.
Based on the following information, generate a specific trading decision:\n

Account Info: {{account_data}}\n
Positions: {{positions_data}}\n
Market Data: {{market_data}}\n
Assets: {{assets_data}}\n
Order History: {{orders_data}}\n
\n
Trading Environment:\n
Instruments: NVDA, TSLA, GOOGL, MSFT, COIN, BABA, SPY, GLD, IBIT, UVIX\n
Market Hours: 09:30–16:00 ET\n
Virtual Account: $100,000 with up to 2x margin leverage (subject to availability per stock, as confirmed at order placement; 8% annualized interest), $0.008 per share commission, and a minimum commission of $0.40 per trade.\n
Decision Frequency: Every 5 minutes you analyze data.\n
\n
Trading Rules:\n

1. You may buy, sell, or hold any listed instrument.\n
2. Every position must have:\n a take-profit target\n a stop-loss or invalidation level (never remove stops)\n
3. Each trade must be reported in the format:\n
SIDE | SYMBOL | LEVERAGE | SIZE | ENTRY | EXIT PLAN | UNREALIZED P&L\n
4. If no valid trade condition is met → HOLD\n
\n
Please analyze the current market and provide a clear trading suggestion including:\n
5. Whether to trade (Yes/No)\n
6. Trade Direction (Buy/Sell/Hold)\n
7. Suggested Symbol(s)\n
8. Trade Rationale\n
9. Take-Profit and Stop-Loss levels\n
10. (Optional) A short comment reacting to market events or other AIs\n
\n
Respond concisely in plain English.`

11 posts - 9 participants

Read full topic

via LINUX DO - 最新话题 (author: Clbi88)

Invalid media:
image
image
image
读金价下跌帖子有感

在论坛中从来没写过有关我专业的内容,今天写一下,大家可以听听我看法,可以理性讨论,如果我说的不对,劳请各位指正批评。

下面仅仅是个人理解:

要先明白一点就是,黄金的本质仍是对冲工具(当前国际风险加剧、局势不确定时用来保值,比如俄乌冲突,巴以冲突)。而现在中美重启贸易谈判、市场开始期待达成协议,股市上涨,这类“局势缓和”迹象使金价出现调整。

另一方面,现在把黄金当作价值投资是不太理智的——价格已经处在较高位置,再上涨1%所需投入的资金量巨大,也就是所谓的边际成本太高。

技术面上:长期上涨早就进入卖区,其实我在上一个4200美元时就都出了,到4500我也不羡慕。

个人对投资的理解:投资首要的原则是活下来,减少内耗焦虑。投资所考虑的成本不光是金钱,特别是个人投资,精神层面也很重要的,不能为了赚5%的收益,整天盯着夜盘,身体也坏了。

说回黄金,本身到4400时已经非常危险,多数指标都不看好,下降概率极大,毕竟机构也要赚钱(套现)。

至于操作逻辑:如果长线持有,就别被短期波动焦虑;反之做短线操作,就必须盯好买点与卖点,这需要经验和技术分析。大家,肯定也不会加杠杆,那就心如止水吧。

不提供任何投资建议,不要搬运我的图片谢谢各位。

附上我的操作收益图和复盘图两张:

9 posts - 5 participants

Read full topic

via LINUX DO - 最新话题 (author: lizzzc)

Invalid media:
image
image
cursor里的gpt-5-pro是chatgpt官网那个吗

为什么运行速度快很多 而且消耗并不大 用了10个对话了

才消耗了12刀。。

2 posts - 2 participants

Read full topic

via LINUX DO - 最新话题 (author: Qsin)

Invalid media: image
想赚点外快,但是不知道渠道

:tieba_087:昨天刚买Macbookair,一下给我扣了5300,心疼了
想下班赚点外快,补一补这macbookair的钱,暂时不知道干什么,想尝试下班后跑4个小时的外卖,但是看了一下某团众包,还要线下培训才让跑(没时间去),某东的看评价说,时间短,扣钱多,押金退还困难,不知道选什么了,各位佬有推荐嘛

8 posts - 4 participants

Read full topic

via LINUX DO - 最新话题 (author: 单杀路西法)
我用夸克网盘给你分享了「2025秋小学语数英热门学习资料合集 」,点击链接或复制整段内容,打开「夸克APP」即可获取。
/~2eff38soYP~:/
链接:https://pan.quark.cn/s/62b5e84e08a8

2 posts - 2 participants

Read full topic

via LINUX DO - 最新话题 (author: xz z)
原来给AI搜索投毒这么简单

早上在刷微信公众号的时候看到这样一篇文章
文章链接:https://mp.weixin.qq.com/s/1RZOpuR9YSx99tYu288rxA

对此我感到焦虑,作为普通人要如何才能避免获取到这种“有毒”的信息呢?

截图不全,可以跳转上面文章链接查看

Screenshot_2025-10-29-09-33-57-061_com.tencent.mm
7 posts - 6 participants

Read full topic

via LINUX DO - 最新话题 (author: 喵帕丝)
英伟达GTC大会三箭齐发,从量子芯片、6G基建再到AI工厂

● 新智元 「美队」老黄深夜扔出地表最强GPU!算力百倍狂飙,下次改演雷神image
● 回放完整版:【完整版】NVIDIA CEO 黄仁勋 GTC 华盛顿特区主题演讲 251029】 https://www.bilibili.com/video/BV1Gcy1BxEs6/?share_source=copy_web&vd_source=0b37c8cdbac4bd8bcc931af28efe23ed

----------------------

不是画饼的话确实起飞飞

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: 最上川)
万圣节要来了 | 我却不再 trick or treat

看到信息流中一张又一张的万圣节主题的图片,才反应过来是万圣节

时间是一计猛药,向夜晚索取的时间会变成白日的痛楚

已经不知道去何方要糖了……
……好像也没有发糖的可能性
嘿,真是怀念去要糖要到老师家的 😆 ……

虽然说万圣节是洋节,但是本地化之后,就剩下要糖了似乎?
甚至“万圣”的本意不在

16 posts - 5 participants

Read full topic

via LINUX DO - 最新话题 (author: stevessr⁧)

Invalid media:
image
image
image
windsurf,无法登录,无法聊天,warming up怎么解决?

一直提示这个错误,聊天窗口也是一直提示warming up

大佬们怎么解决?
2 posts - 2 participants

Read full topic

via LINUX DO - 最新话题 (author: 神秘人)

Invalid media:
image
image
有没有懂芝杜播放器和homematics、腾讯极光盒子且有nas的佬

近期需要换一个支持DTS和杜比的电视盒子,而且还需要能支持smb读取外挂字幕功能,否则很多没有字幕的影视资源通过nas的smb就没有中文字幕了。
问了一下homatics,它不支持读取nas里面smb同路径的外挂字幕,但腾讯极光5 pro max和芝杜说是可以。

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: DOITDOIT)
教大家每天薅羊毛

1. 支付宝视频,每天一直向上滑动,可以领1块钱左右
2. 支付宝碰一下,每天也是1块钱左右
3. 拼多多视频,每天几毛钱

非常轻松,以上2分钟内完成,还有其他羊毛,可以下面补充

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: omgzui)
500个Claude普号国内镜像站免费直接领,有手就能领,ChatGPT普号公益注册就能用

昨天发了200个,看见有的佬还没拿着,今天再发500个,另外ChatGPT镜像站普号公益,注册就能用

兑换码:54a9d295003f4bf8a6ec2c20d9ad105e

Claude和ChatGPT

网站https://claudechn.com/pastel#/register?i=o4v2Q

如何领取?
回复参与,中奖了找群主领取
下面加了一些购买链接
aipk2077.com

官方体验pro账号1个有效期7天

https://www.yuque.com/u32937722/ichlcn/ymrw6dcw6yapy6vi?singleDoc# 《Cursor Auth 安装使用教程 》
dpapi.cn

Shell API

Shell API 提供全新UI和更全面的管理功能,打造你的一站式 AI 平台
yuque.com

Cursor Auth 安装使用教程 · 语雀

必须知晓的内容:1、20刀pro会员套餐内的快速高级模...

【Gemini Pro成品账号 - 选购须知】

货源说明: 本店所售Gemini Pro成品账号均来源于正规渠道销售,非临时注册或特殊渠道获取,请放心购买。
1个月: 11.9元
6个月: 18.8元 (≈ 3.13元/月)
1年: 19.9元 (≈ 1.66元/月)

17 posts - 17 participants

Read full topic

via LINUX DO - 最新话题 (author: GptAi)

Invalid media:
image
image
image
image
image
cursor是不是又挂了?

ide用不了,管理端刚刚看也登录不上

1 post - 1 participant

Read full topic

via LINUX DO - 最新话题 (author: Bantu4me)

Invalid media: image
cursor 又挂了?

ide agent 巨慢几乎等于无响应,
Cursor - The AI Code Editor 直接

19 posts - 18 participants

Read full topic

via LINUX DO - 最新话题 (author: 一位不愿透露姓名的市民张先生)

Invalid media: image
AWS 美国东部 US-EAST-1 区域再现服务故障,十项云服务受影响

2025 年 10 月 28 日,亚马逊云服务(AWS)美国东部 US-EAST-1 区域再次出现服务异常,影响了 EC2、ECS、EMR Serverless 等多项核心云服务。AWS 官方表示,此次故障由内部依赖问题引发,部分 EC2 实例启动延迟,ECS 任务和容器服务出现错误率上升,部分客户的任务可能意外停止。EMR Serverless 因受影响的 ECS 集群也出现服务异常,AWS 正在积极修复并刷新受影响的集群。受影响的服务还包括 App Runner、Batch、CodeBuild、Fargate、Glue 和 Elastic Kubernetes Service 等。当前 AWS 预计修复时间为 2-3 小时,部分服务已开始逐步恢复,但整体进展尚未完全公开。

The Register

5 posts - 5 participants

Read full topic

via LINUX DO - 最新话题 (author: 𝓏𝓱𝒶𝓷𝓎𝓾𝓍)

Invalid media: image
佬们,如何让CC一直为你干活?目前遇到干了一半就停止的问题!

请教各位大佬,目前使用CC遇到喂接口文档,但是CC不会把文档中的接口全部开发完,而是开发了一点就停止,开发一点就停止的问题,然后需要人去接入使其继续,各位佬有什么好的解决方案吗?

2 posts - 2 participants

Read full topic

via LINUX DO - 最新话题 (author: Jiaranerzhi)