Skip to content

Commit 504579d

Browse files
committed
update
1 parent f3c6a36 commit 504579d

10 files changed

+411
-1
lines changed

blog/4.6-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Slug: adapter-4-6
99

1010
> 今天的一点小小裂痕,将如用针尖在一棵小栋树的嫩皮上刻出一个名字一样,这道伤痕将随着树木生长而扩大。 -- 托马斯·潘恩《常识》
1111
12-
以下是自 4.6 版本以来的主要改进。 具体细节参考[changelog](https://adapter.codelab.club/changelog/)
12+
以下是自 4.5 版本以来的主要改进。 具体细节参考[changelog](https://adapter.codelab.club/changelog/)
1313

1414
<!--truncate-->
1515

blog/4.7-release.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: "发布 CodeLab Adapter 4.7"
3+
date: 2021-04-09
4+
tags: ["CodeLab"]
5+
Slug: adapter-4-7
6+
---
7+
8+
![](/img/41b098456c93452a1e345eaef84f0ee7.png)
9+
10+
> 构建软件很容易,使它生长很困难。一个婴儿一年长6英寸,无需使其停下来更新;但你却无法让波音474动态生长,因为它的设计是固定的 -- Alan Kay 《计算机革命尚未发生》
11+
12+
以下是自 4.6 版本以来的主要改进。 具体细节参考[changelog](https://adapter.codelab.club/changelog/)
13+
14+
<!--truncate-->
15+
16+
# 内核(core)更新
17+
18+
## 增量更新
19+
这是当前版本最重要的新特性: 支持增量更新。
20+
21+
典型的用例是,用户安装过 Adapter 之后,可以动态更新软件和数据包,诸如新发布的 notebooks 课程或新插件,甚至对 UI 的升级,避免重新下载新的 Adapter ,这对于一些网络不便利的用户(学习、落后山区、部分机构)大有帮助。
22+
23+
我们也允许第三方机构,在二次分发 Adapter 时,增量发布自己的软件功能和内容, 参考[增量更新](https://adapter.codelab.club/dev_guide/%E5%AE%9A%E5%88%B6%E4%B8%8E%E5%88%86%E5%8F%91/#_2)
24+
25+
26+
## webUI 更新
27+
### CodeLab 社区创作平台
28+
3.7 之后,使用 [CodeLab 社区创作平台](https://create.codelab.club/projects/editor/) 替代 [scratch beta](https://scratch-beta.codelab.club/)
29+
30+
### 增量更新软件包
31+
webUI 提供了增量更新按钮(`环境 > 增量更新软件包`)
32+
33+
![](/img/0df224e92b9ce3bdb8746422fa0394f5.png)
34+
35+
## 修复 Linux 平台初次启动失败的问题
36+
由于Adapter主目录创建时间晚于 Adapter client settings初始化时间所致(与打包工具的有关)。
37+
38+
# 修复 Linda 相关 bug
39+
受 Alan Kay影响, [Linda](https://adapter.codelab.club/user_guide/Linda/) 是我们非常重视的协作机制,对于异构系统之间的对象协作很有用.
40+
41+
当前版本修复了两个 bug, 大家可以更加放心地使用它。
42+
43+
* 修复 linda RD 无法同时读到新的匹配数据的 bug
44+
* 修复 Python 脚本中 当linda IN取消(或程序崩溃)后,后台依然挂载的问题(目前是临时方案)
45+
46+
# [codelab_adapter_client](https://github.com/CodeLabClub/codelab_adapter_client_python) 升级到 4.2.3
47+
48+
* 递归包含数据(nodes/extensions/notebooks/src), 以支持增量更新, 使用 python package 作为数据分发机制
49+
* message node 不响应不等待风格的 eim 积木(服务于 CodeLab 交互计算课程)
50+
51+
# 插件更新
52+
修复 Overdrive 和 LEGO Mario 的蓝牙扫描机制(每次扫描5秒),避免一直运行在后台,导致数据层叠。
53+
54+
# 优化软件包
55+
减小软件包的大小,减少用户的下载和解压缩时间(尤其是windows下), 具体而言是以下两项优化:
56+
57+
* 递归移除所有pyc缓存目录(`__pycache__`)(减小30%-50%的碎片文件量)
58+
* windows 默认不内置 pyOpenGL库 (3000+文件,影响解压时间)
59+
60+
# 其他更新
61+
## 物理引擎发布了 2.0 版本
62+
![](/img/46113d59ca5ffd623e0be109bd40f1b1.png)
63+
64+
可以在 [addon](https://addon.codelab.club/editor.html) 体验
65+
66+
## 英荔 & CodeLab 联合小组
67+
下周开始,[英荔](https://aimaker.space/home) & CodeLab 将成立联合小组,对 Scratch/Python 编程环境做深入而大胆的改进。
68+
69+
终于可以把我们长期积累的,对当前编程教育和基础设施的不满,以及改进想法,一起付诸实践。

blog/jupyter-message-extension.md

Lines changed: 302 additions & 0 deletions
Large diffs are not rendered by default.

blog/tools.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ v4.3.0:
4343
* Android: /system/etc/hosts
4444
* Mac/Linux: /etc/hosts
4545

46+
### 代理
47+
`127.0.0.1` 可以是局域网内运行 Scratch Link 的IP,此时,该IP设备上的Scratch Link将为你服务. 你需要先信任 `https://device-manager.scratch.mit.edu:20110/scratch/ble`
48+
4649
## Chrome
4750

4851
- [Windows](http://scratch3-files.just4fun.site/ChromeSetup.exe)
143 KB
Loading
1.19 MB
Loading
939 KB
Loading
387 KB
Loading

static/img/proxy-yetu.jpeg

35.8 KB
Loading

static/video_config.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,34 @@
4545
"tags": ["Neverland2"],
4646
"weight": ""
4747
},
48+
{
49+
"src": "https://adapter.codelab.club/video/d8ef88b3386eacfb5f37f81cd3ba8c.MP4",
50+
"title": "addons & beats",
51+
"id": "3",
52+
"tags": [""],
53+
"weight": ""
54+
},
55+
{
56+
"src": "https://adapter.codelab.club/video/231b6206d9dd70a4656d3126f298d3.MP4",
57+
"title": "接入小火车",
58+
"id": "3",
59+
"tags": [""],
60+
"weight": ""
61+
},
62+
{
63+
"src": "https://adapter.codelab.club/video/d1772718fc1292975b2ec0531f244d.MP4",
64+
"title": "摇晃魔方控制智能灯",
65+
"id": "3",
66+
"tags": [""],
67+
"weight": ""
68+
},
69+
{
70+
"src": "https://adapter.codelab.club/video/a6b6c0576c150144e1ae0226b7bee8.MP4",
71+
"title": "召唤!",
72+
"id": "3",
73+
"tags": [""],
74+
"weight": ""
75+
},
4876
{
4977
"src": "https://adapter.codelab.club/video/1615793877192664.mp4",
5078
"title": "可编程沙盘",
@@ -101,6 +129,14 @@
101129
"tags": ["Neverland2"],
102130
"weight": ""
103131
},
132+
{
133+
"src": "https://adapter.codelab.club/video/0373483608052c3f6b63098392f826.MP4",
134+
"title": "行为艺术",
135+
"id": "3",
136+
"tags": ["Neverland2"],
137+
"weight": ""
138+
},
139+
104140
{
105141
"src": "https://adapter.codelab.club/video/fe5fb1d3ce1d311740faf31eb7cb1f.MP4",
106142
"title": "Overdrive",

0 commit comments

Comments
 (0)