
Security News
OpenCode User Hit with Hostile Backlash After Reporting Free AI Loophole
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.
slidev-theme-miracle
Advanced tools
A beautiful theme for lecture, work report and so on. Inspired by Slidev Theme Academic.

npm install -g @iconify-json/mdi
Add the following frontmatter to your slides.md. Start Slidev then it will prompt you to install the theme automatically.
---
theme: miracle
---
Learn more about how to use a theme.
---
theme: miracle
layout: cover
class: text-white
logoUrl: https://picx.zhimg.com/80/v2-32c67121f7b3b7395aec3ad20fb97713_1440w.png
topic: 《影像与智能科研实践》课程讲义
coverOrganization: Miracle Lab
coverAuthor: [Kevin Zhou, 锦恢]
coverAuthorUrl: [https://baike.baidu.com/item/%E5%91%A8%E5%B0%91%E5%8D%8E/61922413, https://kirigaya.cn/about]
coverOccasion: 明德楼 C307
coverMedia: https://picx.zhimg.com/80/v2-a9d1b704a4302f984012a03a67ffa61c_1440w.png
---
# 科研实践讲演
## AI Agent 基础技术讲解

---
layout: table-of-contents
hideInToc: false
---
# 讲演大纲

---
layout: index
indexEntries:
- { title: "image 布局", uri: 4 }
- { title: "text-image 布局", uri: 5 }
- { title: "GitHub", uri: "https://github.com/alexanderdavide/slidev-theme-academic" }
- { title: "npm", uri: "https://www.npmjs.com/package/slidev-theme-academic" }
- { title: "Slidev", uri: "https://sli.dev" }
---
# index 布局
`index` 用作列表,`uri` 可以是 slidev 的页面 id,也可以是外部链接。

---
layout: image
caption: Ender Magnolia Development
footnodeNumber: 1
media: https://pica.zhimg.com/80/v2-9df4eb94bfda11be1874fc6af61087ac_1440w.jpeg
---
# image 布局

---
layout: text-image
caption: Curated cover image for Slidev
footnodeNumber: 1
media: https://pic1.zhimg.com/80/v2-ca2a555a68993804ed948795aa5ea4f2_1440w.webp
---
# text-image 布局
- 确保图表默认展示美观
- 支持将图表放置在左侧或右侧
- 提供可选的图表标题功能
## frontmatter
```yaml
layout: text-image
caption: Curated cover image for Slidev
footnodeNumber: 1
media: https://pic1.zhimg.com/80/v2-ca2a555a68993804ed948795aa5ea4f2_1440w.webp
\```

---
layout: default
---
# 默认布局
今天,我们学习如何使用 numpy 进行数组运算
```python
import numpy as np
# 创建数组
a = np.array([1, 2, 3, 4])
b = np.array([10, 20, 30, 40])
# 基本运算
print("a + b =", a + b) # 向量加法
print("a - b =", a - b) # 向量减法
print("a * b =", a * b) # 元素逐个相乘
print("b / a =", b / a) # 元素逐个相除
# 广播机制
c = np.array([[1], [2], [3]]) # 3x1 向量
d = np.array([10, 20, 30]) # 1x3 向量
print("Broadcasting:\n", c + d)
# 矩阵运算
A = np.array([[1, 2], [3, 4]])
B = np.array([[2, 0], [1, 2]])
print("矩阵乘法:\n", A @ B)
# 统计运算
print("a 的和 =", a.sum())
print("b 的平均值 =", b.mean())
print("A 的最大值 =", A.max())
\```

npm run setupnpm run dev to start theme preview of example.mdexample.md and style to see the changesnpm run export to generate the preview PDFnpm run screenshot to generate the preview PNGFAQs
Academic slidev theme for USTC Miracle Lab 🎓
We found that slidev-theme-miracle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
An OpenCode user faced harassment after reporting a free AI usage loophole, drawing a bitter backlash in a GitHub thread that has since been deleted.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.