网页增加亮暗主题切换按钮的方式

shuzijumin:

以 discuz 论坛为例:

后台 -> 界面 -> 导航设置 -> 顶部导航,添加新导航,名称:暗色主题,链接:#switch-theme

后台 -> 全局 -> SEO 设置 -> 其它 -> 其他头部信息,添加如下代码:



这个方法适用于任何不支持暗色主题的亮色网站,只需在自己网页增加 href 为 #switch-theme 的 a 标签,然后将上述代码放到网页的 head 标签内即可

测试:点击 演示网站 左上角的按钮切换

Read More

↩️ 这下期待一波 OpenAI 和迪士尼米老鼠谁对美国政界影响力大了… 促进人工智能发展 保护版权© 这两个议题听起来都挺正确 谁大于谁,拭目以待(

LetITFly News:

OpenAI 希望使用版权材料训练 AI 属于合理使用 2025-03-14 17:19 by 无敌号 OpenAI 希望特朗普政府于 7 月公布 AI Action Plan 时通过宣布使用版权材料训练 AI 属于合理使用去解决相关版权分歧,从而为 AI 公司不受限制获取训练数据铺平道路,OpenAI 声称这对于在 AI 竞赛中打败中国至关重要。包括 OpenAI 在内的众多 AI 公司都遭到起诉被控侵犯版权,法庭正在斟酌 AI 训练是否属于合理使用,而版权方主张基于创意作品训练的 AI 模型可能在…

这下期待一波 OpenAI 和迪士尼米老鼠谁对美国政界影响力大了…

促进人工智能发展
保护版权©

这两个议题听起来都挺正确

谁大于谁,拭目以待(

Read More

🔁 OpenAI 希望使用版权材料训练 AI 属于合理使用 2025-03-14 17:19 by 无敌号 OpenAI 希望特朗普政府于 7 月公布 AI Action Plan 时通过宣布使用版权材料训练...

Forwarded From Solidot

OpenAI 希望使用版权材料训练 AI 属于合理使用

2025-03-14 17:19 by 无敌号

OpenAI 希望特朗普政府于 7 月公布 AI Action Plan 时通过宣布使用版权材料训练 AI 属于合理使用去解决相关版权分歧,从而为 AI 公司不受限制获取训练数据铺平道路,OpenAI 声称这对于在 AI 竞赛中打败中国至关重要。包括 OpenAI 在内的众多 AI 公司都遭到起诉被控侵犯版权,法庭正在斟酌 AI 训练是否属于合理使用,而版权方主张基于创意作品训练的 AI 模型可能在市场上取代它们,削弱人类整体的创意产出。OpenAI 主张是:OpenAI 的模型经过训练不会复制作品提供给公众消费,相反模型会从作品中学习并提取模式、语言结构和上下文见解,这意味着 AI 模型训练符合版权和合理使用原则的核心目标,利用现有作品创造全新而不同的东西,不会损害现有作品的商业价值。

Ars:OpenAI declares AI race “over” if training on copyrighted works isn’t fair use

#百度

Read More

🔁🖼 拿到了两只Pixel Watch 2演示机,准备研究如何干掉演示模式。 目前已经搞明白了怎么进入Recovery模式和系统设置,发现用的是比官网出的还早的版本。 数...

Forwarded From 光卡的网络斗士培训班

拿到了两只Pixel Watch 2演示机,准备研究如何干掉演示模式。

目前已经搞明白了怎么进入Recovery模式和系统设置,发现用的是比官网出的还早的版本。
数据线给的也是TypeC口的,只好翻出Switch来操作。

Read More

Radeon RX 9070 Fan Speed Reporting & Other Last Minute AMD Changes For Linux 6.15

Additional AMDGPU and AMDKFD kernel driver updates were sent out today for collecting ahead of the upcoming Linux 6.15 merge window. As we are late in the cycle, most of the new AMDGPU kernel graphics driver and AMDKFD compute driver changes are fixes, but there are some minor feature changes particularly for the new RDNA4 GPUs.

Of interest to some readers will be fan speed reporting for the SMU 14.0.2... This gets fan speed reporting to work with the new Radeon RX 9070 series graphics cards. The RX 9070 graphics card fan speeds are exposed via the HWMON subsystem just like with prior generations of AMD GPUs. It seems to have been an oversight that the fan speed report for the RDNA4's SMU was lacking until now. The lack of fan speed reporting was discovered from the amdgpu_top program and the bug report this week got it quickly corrected in time for Linux 6.15.

Radeon RX 9070 graphics card fans


Also for RDNA4 (GFX12) hardware is enabling the unique chip ID reporting support, MQD clean-ups, Delta Color Compression (DCC) fixes, PTE fixes, and other work.

There is also now VCN engine activity reporting that works for the RDNA 4 GPUs with SMU 14.0.2 as well as VCN activity reporting for older RDNA3 hardware, CDNA GFX9.3, and Renoir.

amdgpu:
- GC 12.x DCC fixes
- VCN 2.5 fix
- Replay/PSR fixes
- HPD fixes
- DMUB fixes
- Backlight fixes
- DM suspend/resume cleanup
- Misc DC fixes
- HDCP UAF fix
- Misc code cleanups
- VCE 2.x fix
- Wedged event support
- GC 12.x PTE fixes
- Misc multimedia cap fixes
- Enable unique id support for GC 12.x
- XGMI code cleanup
- GC 11.x and 12.x MQD cleanups
- SMU 13.x updates
- SMU 14.x fan speed reporting
- Enable VCN activity reporting for additional chips
- SR-IOV fixes
- RAS fixes
- MES fixes

amdkfd:
- Dequeue wait count API cleanups
- Queue eviction cleanup fixes
- Retry fault fixes
- Dequeue retry timeout adjustments
- GC 12.x trap handler fixes
- GC 9.5.x updates

radeon:
- VCE command parser fix

There are also SR-IOV fixes, RAS fixes, and other improvements. See this pull request to DRM-Next for the full list of changes in this pull request ahead of Linux 6.15.

Read More